.include "macros.inc" .section .data .balign 8 .global lbl_803DFD08 lbl_803DFD08: # ROM: 0x3DCD08 .4byte 0 .4byte 0 .4byte __dt__24CScriptDamageableTriggerFv .4byte Accept__24CScriptDamageableTriggerFR8IVisitor .4byte PreThink__7CEntityFfR13CStateManager .4byte Think__24CScriptDamageableTriggerFfR13CStateManager .4byte AcceptScriptMsg__24CScriptDamageableTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager .4byte SetActive__6CActorFUc .4byte PreRender__24CScriptDamageableTriggerFR13CStateManagerRC14CFrustumPlanes .4byte AddToRenderer__24CScriptDamageableTriggerCFRC14CFrustumPlanesRC13CStateManager .4byte Render__24CScriptDamageableTriggerCFRC13CStateManager .4byte CanRenderUnsorted__6CActorCFRC13CStateManager .4byte CalculateRenderBounds__6CActorFv .4byte GetHealthInfo__24CScriptDamageableTriggerCFRC13CStateManager .4byte GetDamageVulnerability__24CScriptDamageableTriggerCFv .4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo .4byte GetTouchBounds__24CScriptDamageableTriggerCFv .4byte Touch__6CActorFR6CActorR13CStateManager .4byte GetOrbitPosition__6CActorCFRC13CStateManager .4byte GetAimPosition__6CActorCFRC13CStateManagerf .4byte GetHomingPosition__6CActorCFRC13CStateManagerf .4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager .4byte GetCollisionResponseType__24CScriptDamageableTriggerCFRC9CVector3fRC9CVector3fRC11CWeaponModei .4byte FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager .4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager .4byte GetSortingBounds__6CActorCFRC13CStateManager .4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef .4byte 0 .section .sdata .balign 8 .global lbl_805A74B0 lbl_805A74B0: # ROM: 0x3F4E50 .4byte 0x00000029 .global lbl_805A74B4 lbl_805A74B4: # ROM: 0x3F4E54 .4byte 0x00000022 .global lbl_805A74B8 lbl_805A74B8: # ROM: 0x3F4E58 .4byte 0x0000002B .global lbl_805A74BC lbl_805A74BC: # ROM: 0x3F4E5C .4byte 0x00000032 .global lbl_805A74C0 lbl_805A74C0: # ROM: 0x3F4E60 .4byte 0x00000038 .global lbl_805A74C4 lbl_805A74C4: # ROM: 0x3F4E64 .4byte 0x00000022 .global lbl_805A74C8 lbl_805A74C8: # ROM: 0x3F4E68 .4byte 0x0000002B .global lbl_805A74CC lbl_805A74CC: # ROM: 0x3F4E6C .4byte 0x00000032 .global lbl_805A74D0 lbl_805A74D0: # ROM: 0x3F4E70 .4byte 0x00000038 .4byte 0 .section .sdata2, "a" .balign 8 .global lbl_805AB058 lbl_805AB058: # ROM: 0x3F78F8 .4byte 0 .global lbl_805AB05C lbl_805AB05C: # ROM: 0x3F78FC .4byte 0x3727C5AC .global lbl_805AB060 lbl_805AB060: # ROM: 0x3F7900 .float 0.75 .global lbl_805AB064 lbl_805AB064: # ROM: 0x3F7904 .float 0.2 .global lbl_805AB068 lbl_805AB068: # ROM: 0x3F7908 .float 1.0 .global lbl_805AB06C lbl_805AB06C: # ROM: 0x3F790C .float 0.5 .global lbl_805AB070 lbl_805AB070: # ROM: 0x3F7910 .4byte 0x40C00000 .global lbl_805AB074 lbl_805AB074: # ROM: 0x3F7914 .4byte 0xBFC90FDB .global lbl_805AB078 lbl_805AB078: # ROM: 0x3F7918 .4byte 0x3FC90FDB .global lbl_805AB07C lbl_805AB07C: # ROM: 0x3F791C .4byte 0x40490FDB .section .text, "ax" .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__20CDamageVulnerabilityCFRC11CWeaponModei /* 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, kInvalidUniqueId@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, sIdentity__12CTransform4f@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, sIdentity__12CTransform4f@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__6CActorCFRC13CStateManagerRC9CVector3fRC6CAABox 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__16CActorParametersCFRC16CVisorParameters /* 800FB2C8 000F8228 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@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__16CLightParametersFv /* 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__16CLightParametersFv /* 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, sIdentity__12CTransform4f@ha /* 800FB53C 000F849C 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@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, sIdentity__12CTransform4f@ha /* 800FB644 000F85A4 38 7F 02 14 */ addi r3, r31, 0x214 /* 800FB648 000F85A8 38 84 66 70 */ addi r4, r4, sIdentity__12CTransform4f@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, sIdentity__12CTransform4f@ha /* 800FB848 000F87A8 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) /* 800FB84C 000F87AC 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@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