prime/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.s

2535 lines
132 KiB
ArmAsm
Raw Normal View History

.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__21TReservedAverage<f,8>CFv"
/* 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__21TReservedAverage<f,8>CFv"
"GetAverage__21TReservedAverage<f,8>CFv":
/* 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<f>__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<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb"
"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,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<c,Q24rstl14char_traits<c>,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<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb"
"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,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<c,Q24rstl14char_traits<c>,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<f>__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