prime/asm/MetroidPrime/ScriptObjects/CScriptSpindleCamera.s

2169 lines
109 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_CScriptSpindleCamera_cpp
.section .data
.balign 8
.global lbl_803E8670
lbl_803E8670:
# ROM: 0x3E5670
.4byte 0
.4byte 0
.4byte __dt__20CScriptSpindleCameraFv
.4byte Accept__20CScriptSpindleCameraFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__20CScriptSpindleCameraFfR13CStateManager
.4byte AcceptScriptMsg__20CScriptSpindleCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__11CGameCameraFb
.4byte PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__20CScriptSpindleCameraCFRC13CStateManager
.4byte CanRenderUnsorted__6CActorCFRC13CStateManager
.4byte CalculateRenderBounds__6CActorFv
.4byte HealthInfo__6CActorFR13CStateManager
.4byte GetDamageVulnerability__6CActorCFv
.4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo
.4byte GetTouchBounds__6CActorCFv
.4byte Touch__6CActorFR6CActorR13CStateManager
.4byte GetOrbitPosition__6CActorCFRC13CStateManager
.4byte GetAimPosition__6CActorCFRC13CStateManagerf
.4byte GetHomingPosition__6CActorCFRC13CStateManagerf
.4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager
.4byte GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
.4byte FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
.4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager
.4byte GetSortingBounds__6CActorCFRC13CStateManager
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
.4byte ProcessInput__20CScriptSpindleCameraFRC11CFinalInputR13CStateManager
.4byte Reset__20CScriptSpindleCameraFRC12CTransform4fR13CStateManager
.4byte 0
.section .sdata
.balign 8
.global lbl_805A8270
lbl_805A8270:
# ROM: 0x3F5C10
.4byte 0x00000013
.global lbl_805A8274
lbl_805A8274:
# ROM: 0x3F5C14
.4byte 0x00000012
.global lbl_805A8278
lbl_805A8278:
# ROM: 0x3F5C18
.4byte 0x00000020
.global lbl_805A827C
lbl_805A827C:
# ROM: 0x3F5C1C
.4byte 0x00000021
.global lbl_805A8280
lbl_805A8280:
# ROM: 0x3F5C20
.4byte 0x00000015
.global lbl_805A8284
lbl_805A8284:
# ROM: 0x3F5C24
.4byte 0
.global lbl_805A8288
lbl_805A8288:
# ROM: 0x3F5C28
.4byte 0
.global lbl_805A828C
lbl_805A828C:
# ROM: 0x3F5C2C
.float 1.0
.section .bss
.balign 8
.lcomm lbl_8046D390, 0x18, 4
.section .sbss, "wa"
.balign 8
.global lbl_805A90F8
lbl_805A90F8:
.skip 0x4
.global lbl_805A90FC
lbl_805A90FC:
.skip 0x4
.global lbl_805A9100
lbl_805A9100:
.skip 0x4
.global lbl_805A9104
lbl_805A9104:
.skip 0x4
.section .text, "ax"
.global AcceptScriptMsg__20CScriptSpindleCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__20CScriptSpindleCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8023FC00 0023CB60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023FC04 0023CB64 7C 08 02 A6 */ mflr r0
/* 8023FC08 0023CB68 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023FC0C 0023CB6C A0 05 00 00 */ lhz r0, 0(r5)
/* 8023FC10 0023CB70 38 A1 00 08 */ addi r5, r1, 8
/* 8023FC14 0023CB74 B0 01 00 08 */ sth r0, 8(r1)
/* 8023FC18 0023CB78 4B E1 B7 31 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8023FC1C 0023CB7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023FC20 0023CB80 7C 08 03 A6 */ mtlr r0
/* 8023FC24 0023CB84 38 21 00 10 */ addi r1, r1, 0x10
/* 8023FC28 0023CB88 4E 80 00 20 */ blr
.global Render__20CScriptSpindleCameraCFRC13CStateManager
Render__20CScriptSpindleCameraCFRC13CStateManager:
/* 8023FC2C 0023CB8C 4E 80 00 20 */ blr
.global Accept__20CScriptSpindleCameraFR8IVisitor
Accept__20CScriptSpindleCameraFR8IVisitor:
/* 8023FC30 0023CB90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023FC34 0023CB94 7C 08 02 A6 */ mflr r0
/* 8023FC38 0023CB98 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023FC3C 0023CB9C 7C 60 1B 78 */ mr r0, r3
/* 8023FC40 0023CBA0 7C 83 23 78 */ mr r3, r4
/* 8023FC44 0023CBA4 81 84 00 00 */ lwz r12, 0(r4)
/* 8023FC48 0023CBA8 7C 04 03 78 */ mr r4, r0
/* 8023FC4C 0023CBAC 81 8C 00 E0 */ lwz r12, 0xe0(r12)
/* 8023FC50 0023CBB0 7D 89 03 A6 */ mtctr r12
/* 8023FC54 0023CBB4 4E 80 04 21 */ bctrl
/* 8023FC58 0023CBB8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023FC5C 0023CBBC 7C 08 03 A6 */ mtlr r0
/* 8023FC60 0023CBC0 38 21 00 10 */ addi r1, r1, 0x10
/* 8023FC64 0023CBC4 4E 80 00 20 */ blr
.global ProcessInput__20CScriptSpindleCameraFRC11CFinalInputR13CStateManager
ProcessInput__20CScriptSpindleCameraFRC11CFinalInputR13CStateManager:
/* 8023FC68 0023CBC8 4E 80 00 20 */ blr
.global Think__20CScriptSpindleCameraFfR13CStateManager
Think__20CScriptSpindleCameraFfR13CStateManager:
/* 8023FC6C 0023CBCC 94 21 FC A0 */ stwu r1, -0x360(r1)
/* 8023FC70 0023CBD0 7C 08 02 A6 */ mflr r0
/* 8023FC74 0023CBD4 90 01 03 64 */ stw r0, 0x364(r1)
/* 8023FC78 0023CBD8 DB E1 03 50 */ stfd f31, 0x350(r1)
/* 8023FC7C 0023CBDC F3 E1 03 58 */ psq_st f31, 856(r1), 0, qr0
/* 8023FC80 0023CBE0 DB C1 03 40 */ stfd f30, 0x340(r1)
/* 8023FC84 0023CBE4 F3 C1 03 48 */ psq_st f30, 840(r1), 0, qr0
/* 8023FC88 0023CBE8 DB A1 03 30 */ stfd f29, 0x330(r1)
/* 8023FC8C 0023CBEC F3 A1 03 38 */ psq_st f29, 824(r1), 0, qr0
/* 8023FC90 0023CBF0 DB 81 03 20 */ stfd f28, 0x320(r1)
/* 8023FC94 0023CBF4 F3 81 03 28 */ psq_st f28, 808(r1), 0, qr0
/* 8023FC98 0023CBF8 DB 61 03 10 */ stfd f27, 0x310(r1)
/* 8023FC9C 0023CBFC F3 61 03 18 */ psq_st f27, 792(r1), 0, qr0
/* 8023FCA0 0023CC00 DB 41 03 00 */ stfd f26, 0x300(r1)
/* 8023FCA4 0023CC04 F3 41 03 08 */ psq_st f26, 776(r1), 0, qr0
/* 8023FCA8 0023CC08 DB 21 02 F0 */ stfd f25, 0x2f0(r1)
/* 8023FCAC 0023CC0C F3 21 02 F8 */ psq_st f25, 760(r1), 0, qr0
/* 8023FCB0 0023CC10 DB 01 02 E0 */ stfd f24, 0x2e0(r1)
/* 8023FCB4 0023CC14 F3 01 02 E8 */ psq_st f24, 744(r1), 0, qr0
/* 8023FCB8 0023CC18 DA E1 02 D0 */ stfd f23, 0x2d0(r1)
/* 8023FCBC 0023CC1C F2 E1 02 D8 */ psq_st f23, 728(r1), 0, qr0
/* 8023FCC0 0023CC20 DA C1 02 C0 */ stfd f22, 0x2c0(r1)
/* 8023FCC4 0023CC24 F2 C1 02 C8 */ psq_st f22, 712(r1), 0, qr0
/* 8023FCC8 0023CC28 DA A1 02 B0 */ stfd f21, 0x2b0(r1)
/* 8023FCCC 0023CC2C F2 A1 02 B8 */ psq_st f21, 696(r1), 0, qr0
/* 8023FCD0 0023CC30 DA 81 02 A0 */ stfd f20, 0x2a0(r1)
/* 8023FCD4 0023CC34 F2 81 02 A8 */ psq_st f20, 680(r1), 0, qr0
/* 8023FCD8 0023CC38 DA 61 02 90 */ stfd f19, 0x290(r1)
/* 8023FCDC 0023CC3C F2 61 02 98 */ psq_st f19, 664(r1), 0, qr0
/* 8023FCE0 0023CC40 DA 41 02 80 */ stfd f18, 0x280(r1)
/* 8023FCE4 0023CC44 F2 41 02 88 */ psq_st f18, 648(r1), 0, qr0
/* 8023FCE8 0023CC48 93 E1 02 7C */ stw r31, 0x27c(r1)
/* 8023FCEC 0023CC4C 93 C1 02 78 */ stw r30, 0x278(r1)
/* 8023FCF0 0023CC50 93 A1 02 74 */ stw r29, 0x274(r1)
/* 8023FCF4 0023CC54 93 81 02 70 */ stw r28, 0x270(r1)
/* 8023FCF8 0023CC58 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8023FCFC 0023CC5C FE C0 08 90 */ fmr f22, f1
/* 8023FD00 0023CC60 7C 7C 1B 78 */ mr r28, r3
/* 8023FD04 0023CC64 7C 9D 23 78 */ mr r29, r4
/* 8023FD08 0023CC68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8023FD0C 0023CC6C 41 82 12 38 */ beq lbl_80240F44
/* 8023FD10 0023CC70 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 8023FD14 0023CC74 83 C3 00 80 */ lwz r30, 0x80(r3)
/* 8023FD18 0023CC78 4B DC 96 B9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager
/* 8023FD1C 0023CC7C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8023FD20 0023CC80 41 82 12 24 */ beq lbl_80240F44
/* 8023FD24 0023CC84 C3 FF 00 60 */ lfs f31, 0x60(r31)
/* 8023FD28 0023CC88 38 61 01 80 */ addi r3, r1, 0x180
/* 8023FD2C 0023CC8C C0 1C 00 60 */ lfs f0, 0x60(r28)
/* 8023FD30 0023CC90 C3 DF 00 50 */ lfs f30, 0x50(r31)
/* 8023FD34 0023CC94 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8023FD38 0023CC98 EC 40 F8 28 */ fsubs f2, f0, f31
/* 8023FD3C 0023CC9C C3 BF 00 40 */ lfs f29, 0x40(r31)
/* 8023FD40 0023CCA0 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8023FD44 0023CCA4 EC 61 F0 28 */ fsubs f3, f1, f30
/* 8023FD48 0023CCA8 C3 7E 01 C0 */ lfs f27, 0x1c0(r30)
/* 8023FD4C 0023CCAC C3 9E 01 C4 */ lfs f28, 0x1c4(r30)
/* 8023FD50 0023CCB0 EC 20 E8 28 */ fsubs f1, f0, f29
/* 8023FD54 0023CCB4 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 8023FD58 0023CCB8 D0 41 02 38 */ stfs f2, 0x238(r1)
/* 8023FD5C 0023CCBC D0 21 02 30 */ stfs f1, 0x230(r1)
/* 8023FD60 0023CCC0 D0 61 02 34 */ stfs f3, 0x234(r1)
/* 8023FD64 0023CCC4 D0 01 02 38 */ stfs f0, 0x238(r1)
/* 8023FD68 0023CCC8 80 9D 08 4C */ lwz r4, 0x84c(r29)
/* 8023FD6C 0023CCCC 48 04 4F DD */ bl GetBallPosition__7CPlayerCFv
/* 8023FD70 0023CCD0 C3 41 01 88 */ lfs f26, 0x188(r1)
/* 8023FD74 0023CCD4 38 61 02 18 */ addi r3, r1, 0x218
/* 8023FD78 0023CCD8 C3 01 01 80 */ lfs f24, 0x180(r1)
/* 8023FD7C 0023CCDC EE 5A F8 28 */ fsubs f18, f26, f31
/* 8023FD80 0023CCE0 C2 E1 01 84 */ lfs f23, 0x184(r1)
/* 8023FD84 0023CCE4 EC 58 E8 28 */ fsubs f2, f24, f29
/* 8023FD88 0023CCE8 C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2)
/* 8023FD8C 0023CCEC EC 17 F0 28 */ fsubs f0, f23, f30
/* 8023FD90 0023CCF0 D2 41 02 2C */ stfs f18, 0x22c(r1)
/* 8023FD94 0023CCF4 FE 80 08 90 */ fmr f20, f1
/* 8023FD98 0023CCF8 D0 41 02 24 */ stfs f2, 0x224(r1)
/* 8023FD9C 0023CCFC D0 01 02 28 */ stfs f0, 0x228(r1)
/* 8023FDA0 0023CD00 D0 21 02 2C */ stfs f1, 0x22c(r1)
/* 8023FDA4 0023CD04 C0 7F 00 58 */ lfs f3, 0x58(r31)
/* 8023FDA8 0023CD08 C0 5F 00 48 */ lfs f2, 0x48(r31)
/* 8023FDAC 0023CD0C C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8023FDB0 0023CD10 D0 61 02 20 */ stfs f3, 0x220(r1)
/* 8023FDB4 0023CD14 D0 01 02 18 */ stfs f0, 0x218(r1)
/* 8023FDB8 0023CD18 D0 41 02 1C */ stfs f2, 0x21c(r1)
/* 8023FDBC 0023CD1C D0 21 02 20 */ stfs f1, 0x220(r1)
/* 8023FDC0 0023CD20 48 0D 49 39 */ bl CanBeNormalized__9CVector3fCFv
/* 8023FDC4 0023CD24 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023FDC8 0023CD28 41 82 00 10 */ beq lbl_8023FDD8
/* 8023FDCC 0023CD2C 38 61 02 18 */ addi r3, r1, 0x218
/* 8023FDD0 0023CD30 48 0D 4B 29 */ bl Normalize__9CVector3fFv
/* 8023FDD4 0023CD34 48 00 00 18 */ b lbl_8023FDEC
lbl_8023FDD8:
/* 8023FDD8 0023CD38 C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2)
/* 8023FDDC 0023CD3C C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2)
/* 8023FDE0 0023CD40 D0 21 02 18 */ stfs f1, 0x218(r1)
/* 8023FDE4 0023CD44 D0 01 02 1C */ stfs f0, 0x21c(r1)
/* 8023FDE8 0023CD48 D0 21 02 20 */ stfs f1, 0x220(r1)
lbl_8023FDEC:
/* 8023FDEC 0023CD4C 38 61 02 24 */ addi r3, r1, 0x224
/* 8023FDF0 0023CD50 48 0D 49 09 */ bl CanBeNormalized__9CVector3fCFv
/* 8023FDF4 0023CD54 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023FDF8 0023CD58 41 82 00 1C */ beq lbl_8023FE14
/* 8023FDFC 0023CD5C 38 61 02 24 */ addi r3, r1, 0x224
/* 8023FE00 0023CD60 48 0D 4A B9 */ bl Magnitude__9CVector3fCFv
/* 8023FE04 0023CD64 FE 80 08 90 */ fmr f20, f1
/* 8023FE08 0023CD68 38 61 02 24 */ addi r3, r1, 0x224
/* 8023FE0C 0023CD6C 48 0D 4A ED */ bl Normalize__9CVector3fFv
/* 8023FE10 0023CD70 48 00 00 1C */ b lbl_8023FE2C
lbl_8023FE14:
/* 8023FE14 0023CD74 C0 41 02 18 */ lfs f2, 0x218(r1)
/* 8023FE18 0023CD78 C0 21 02 1C */ lfs f1, 0x21c(r1)
/* 8023FE1C 0023CD7C C0 01 02 20 */ lfs f0, 0x220(r1)
/* 8023FE20 0023CD80 D0 41 02 24 */ stfs f2, 0x224(r1)
/* 8023FE24 0023CD84 D0 21 02 28 */ stfs f1, 0x228(r1)
/* 8023FE28 0023CD88 D0 01 02 2C */ stfs f0, 0x22c(r1)
lbl_8023FE2C:
/* 8023FE2C 0023CD8C 80 BC 01 8C */ lwz r5, 0x18c(r28)
/* 8023FE30 0023CD90 3B DC 01 90 */ addi r30, r28, 0x190
/* 8023FE34 0023CD94 38 60 00 00 */ li r3, 0
/* 8023FE38 0023CD98 2C 05 00 00 */ cmpwi r5, 0
/* 8023FE3C 0023CD9C 40 81 00 40 */ ble lbl_8023FE7C
/* 8023FE40 0023CDA0 2C 05 00 08 */ cmpwi r5, 8
/* 8023FE44 0023CDA4 38 85 FF F8 */ addi r4, r5, -8
/* 8023FE48 0023CDA8 40 81 00 20 */ ble lbl_8023FE68
/* 8023FE4C 0023CDAC 38 04 00 07 */ addi r0, r4, 7
/* 8023FE50 0023CDB0 54 00 E8 FE */ srwi r0, r0, 3
/* 8023FE54 0023CDB4 7C 09 03 A6 */ mtctr r0
/* 8023FE58 0023CDB8 2C 04 00 00 */ cmpwi r4, 0
/* 8023FE5C 0023CDBC 40 81 00 0C */ ble lbl_8023FE68
lbl_8023FE60:
/* 8023FE60 0023CDC0 38 63 00 08 */ addi r3, r3, 8
/* 8023FE64 0023CDC4 42 00 FF FC */ bdnz lbl_8023FE60
lbl_8023FE68:
/* 8023FE68 0023CDC8 7C 03 28 50 */ subf r0, r3, r5
/* 8023FE6C 0023CDCC 7C 09 03 A6 */ mtctr r0
/* 8023FE70 0023CDD0 7C 03 28 00 */ cmpw r3, r5
/* 8023FE74 0023CDD4 40 80 00 08 */ bge lbl_8023FE7C
lbl_8023FE78:
/* 8023FE78 0023CDD8 42 00 00 00 */ bdnz lbl_8023FE78
lbl_8023FE7C:
/* 8023FE7C 0023CDDC 38 00 00 00 */ li r0, 0
/* 8023FE80 0023CDE0 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FE84 0023CDE4 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FE88 0023CDE8 54 00 10 3A */ slwi r0, r0, 2
/* 8023FE8C 0023CDEC 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FE90 0023CDF0 41 82 00 0C */ beq lbl_8023FE9C
/* 8023FE94 0023CDF4 C0 0D 96 C4 */ lfs f0, lbl_805A8284@sda21(r13)
/* 8023FE98 0023CDF8 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8023FE9C:
/* 8023FE9C 0023CDFC 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FEA0 0023CE00 38 03 00 01 */ addi r0, r3, 1
/* 8023FEA4 0023CE04 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FEA8 0023CE08 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FEAC 0023CE0C 54 00 10 3A */ slwi r0, r0, 2
/* 8023FEB0 0023CE10 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FEB4 0023CE14 41 82 00 08 */ beq lbl_8023FEBC
/* 8023FEB8 0023CE18 D2 83 00 00 */ stfs f20, 0(r3)
lbl_8023FEBC:
/* 8023FEBC 0023CE1C 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FEC0 0023CE20 FC 00 92 10 */ fabs f0, f18
/* 8023FEC4 0023CE24 38 03 00 01 */ addi r0, r3, 1
/* 8023FEC8 0023CE28 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FECC 0023CE2C FC 00 00 18 */ frsp f0, f0
/* 8023FED0 0023CE30 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FED4 0023CE34 54 00 10 3A */ slwi r0, r0, 2
/* 8023FED8 0023CE38 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FEDC 0023CE3C 41 82 00 08 */ beq lbl_8023FEE4
/* 8023FEE0 0023CE40 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8023FEE4:
/* 8023FEE4 0023CE44 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FEE8 0023CE48 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 8023FEEC 0023CE4C 38 03 00 01 */ addi r0, r3, 1
/* 8023FEF0 0023CE50 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FEF4 0023CE54 C0 41 02 28 */ lfs f2, 0x228(r1)
/* 8023FEF8 0023CE58 C0 21 02 1C */ lfs f1, 0x21c(r1)
/* 8023FEFC 0023CE5C C0 61 02 24 */ lfs f3, 0x224(r1)
/* 8023FF00 0023CE60 EC 22 00 72 */ fmuls f1, f2, f1
/* 8023FF04 0023CE64 C0 41 02 18 */ lfs f2, 0x218(r1)
/* 8023FF08 0023CE68 C0 A1 02 2C */ lfs f5, 0x22c(r1)
/* 8023FF0C 0023CE6C C0 81 02 20 */ lfs f4, 0x220(r1)
/* 8023FF10 0023CE70 EC 23 08 BA */ fmadds f1, f3, f2, f1
/* 8023FF14 0023CE74 EC 25 09 3A */ fmadds f1, f5, f4, f1
/* 8023FF18 0023CE78 FC 40 0A 10 */ fabs f2, f1
/* 8023FF1C 0023CE7C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8023FF20 0023CE80 40 81 00 14 */ ble lbl_8023FF34
/* 8023FF24 0023CE84 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 8023FF28 0023CE88 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2)
/* 8023FF2C 0023CE8C FC 01 00 AE */ fsel f0, f1, f2, f0
/* 8023FF30 0023CE90 EC 22 00 32 */ fmuls f1, f2, f0
lbl_8023FF34:
/* 8023FF34 0023CE94 48 15 4C F9 */ bl acos
/* 8023FF38 0023CE98 FC 00 08 18 */ frsp f0, f1
/* 8023FF3C 0023CE9C 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FF40 0023CEA0 54 00 10 3A */ slwi r0, r0, 2
/* 8023FF44 0023CEA4 FC 00 02 10 */ fabs f0, f0
/* 8023FF48 0023CEA8 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FF4C 0023CEAC FE 60 00 18 */ frsp f19, f0
/* 8023FF50 0023CEB0 41 82 00 08 */ beq lbl_8023FF58
/* 8023FF54 0023CEB4 D2 63 00 00 */ stfs f19, 0(r3)
lbl_8023FF58:
/* 8023FF58 0023CEB8 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FF5C 0023CEBC C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 8023FF60 0023CEC0 38 03 00 01 */ addi r0, r3, 1
/* 8023FF64 0023CEC4 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FF68 0023CEC8 C0 41 02 18 */ lfs f2, 0x218(r1)
/* 8023FF6C 0023CECC C0 21 02 28 */ lfs f1, 0x228(r1)
/* 8023FF70 0023CED0 C0 61 02 24 */ lfs f3, 0x224(r1)
/* 8023FF74 0023CED4 EC 22 00 72 */ fmuls f1, f2, f1
/* 8023FF78 0023CED8 C0 41 02 1C */ lfs f2, 0x21c(r1)
/* 8023FF7C 0023CEDC EE A3 08 B8 */ fmsubs f21, f3, f2, f1
/* 8023FF80 0023CEE0 FC 15 00 40 */ fcmpo cr0, f21, f0
/* 8023FF84 0023CEE4 4C 41 13 82 */ cror 2, 1, 2
/* 8023FF88 0023CEE8 40 82 00 50 */ bne lbl_8023FFD8
/* 8023FF8C 0023CEEC 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FF90 0023CEF0 54 00 10 3A */ slwi r0, r0, 2
/* 8023FF94 0023CEF4 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FF98 0023CEF8 41 82 00 08 */ beq lbl_8023FFA0
/* 8023FF9C 0023CEFC D2 63 00 00 */ stfs f19, 0(r3)
lbl_8023FFA0:
/* 8023FFA0 0023CF00 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FFA4 0023CF04 C0 02 B7 E4 */ lfs f0, lbl_805AD504@sda21(r2)
/* 8023FFA8 0023CF08 38 03 00 01 */ addi r0, r3, 1
/* 8023FFAC 0023CF0C 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FFB0 0023CF10 EC 00 98 28 */ fsubs f0, f0, f19
/* 8023FFB4 0023CF14 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FFB8 0023CF18 54 00 10 3A */ slwi r0, r0, 2
/* 8023FFBC 0023CF1C 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FFC0 0023CF20 41 82 00 08 */ beq lbl_8023FFC8
/* 8023FFC4 0023CF24 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8023FFC8:
/* 8023FFC8 0023CF28 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FFCC 0023CF2C 38 03 00 01 */ addi r0, r3, 1
/* 8023FFD0 0023CF30 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 8023FFD4 0023CF34 48 00 00 4C */ b lbl_80240020
lbl_8023FFD8:
/* 8023FFD8 0023CF38 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 8023FFDC 0023CF3C C0 02 B7 E4 */ lfs f0, lbl_805AD504@sda21(r2)
/* 8023FFE0 0023CF40 54 00 10 3A */ slwi r0, r0, 2
/* 8023FFE4 0023CF44 EC 00 98 28 */ fsubs f0, f0, f19
/* 8023FFE8 0023CF48 7C 7E 02 15 */ add. r3, r30, r0
/* 8023FFEC 0023CF4C 41 82 00 08 */ beq lbl_8023FFF4
/* 8023FFF0 0023CF50 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8023FFF4:
/* 8023FFF4 0023CF54 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 8023FFF8 0023CF58 38 03 00 01 */ addi r0, r3, 1
/* 8023FFFC 0023CF5C 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 80240000 0023CF60 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 80240004 0023CF64 54 00 10 3A */ slwi r0, r0, 2
/* 80240008 0023CF68 7C 7E 02 15 */ add. r3, r30, r0
/* 8024000C 0023CF6C 41 82 00 08 */ beq lbl_80240014
/* 80240010 0023CF70 D2 63 00 00 */ stfs f19, 0(r3)
lbl_80240014:
/* 80240014 0023CF74 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 80240018 0023CF78 38 03 00 01 */ addi r0, r3, 1
/* 8024001C 0023CF7C 90 1C 01 8C */ stw r0, 0x18c(r28)
lbl_80240020:
/* 80240020 0023CF80 C0 5F 00 60 */ lfs f2, 0x60(r31)
/* 80240024 0023CF84 38 61 02 0C */ addi r3, r1, 0x20c
/* 80240028 0023CF88 C0 3F 01 94 */ lfs f1, 0x194(r31)
/* 8024002C 0023CF8C C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240030 0023CF90 EC A2 08 28 */ fsubs f5, f2, f1
/* 80240034 0023CF94 C0 9F 00 50 */ lfs f4, 0x50(r31)
/* 80240038 0023CF98 C0 7F 01 84 */ lfs f3, 0x184(r31)
/* 8024003C 0023CF9C FF 20 00 90 */ fmr f25, f0
/* 80240040 0023CFA0 C0 5F 00 40 */ lfs f2, 0x40(r31)
/* 80240044 0023CFA4 C0 3F 01 74 */ lfs f1, 0x174(r31)
/* 80240048 0023CFA8 FC C0 2A 10 */ fabs f6, f5
/* 8024004C 0023CFAC EC 64 18 28 */ fsubs f3, f4, f3
/* 80240050 0023CFB0 D0 A1 02 14 */ stfs f5, 0x214(r1)
/* 80240054 0023CFB4 EC 22 08 28 */ fsubs f1, f2, f1
/* 80240058 0023CFB8 FE 40 30 18 */ frsp f18, f6
/* 8024005C 0023CFBC D0 01 02 14 */ stfs f0, 0x214(r1)
/* 80240060 0023CFC0 D0 21 02 0C */ stfs f1, 0x20c(r1)
/* 80240064 0023CFC4 D0 61 02 10 */ stfs f3, 0x210(r1)
/* 80240068 0023CFC8 48 0D 46 91 */ bl CanBeNormalized__9CVector3fCFv
/* 8024006C 0023CFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240070 0023CFD0 41 82 00 10 */ beq lbl_80240080
/* 80240074 0023CFD4 38 61 02 0C */ addi r3, r1, 0x20c
/* 80240078 0023CFD8 48 0D 48 41 */ bl Magnitude__9CVector3fCFv
/* 8024007C 0023CFDC FF 20 08 90 */ fmr f25, f1
lbl_80240080:
/* 80240080 0023CFE0 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 80240084 0023CFE4 54 00 10 3A */ slwi r0, r0, 2
/* 80240088 0023CFE8 7C 7E 02 15 */ add. r3, r30, r0
/* 8024008C 0023CFEC 41 82 00 08 */ beq lbl_80240094
/* 80240090 0023CFF0 D3 23 00 00 */ stfs f25, 0(r3)
lbl_80240094:
/* 80240094 0023CFF4 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 80240098 0023CFF8 38 03 00 01 */ addi r0, r3, 1
/* 8024009C 0023CFFC 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 802400A0 0023D000 80 1C 01 8C */ lwz r0, 0x18c(r28)
/* 802400A4 0023D004 54 00 10 3A */ slwi r0, r0, 2
/* 802400A8 0023D008 7C 7E 02 15 */ add. r3, r30, r0
/* 802400AC 0023D00C 41 82 00 08 */ beq lbl_802400B4
/* 802400B0 0023D010 D2 43 00 00 */ stfs f18, 0(r3)
lbl_802400B4:
/* 802400B4 0023D014 80 7C 01 8C */ lwz r3, 0x18c(r28)
/* 802400B8 0023D018 38 03 00 01 */ addi r0, r3, 1
/* 802400BC 0023D01C 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 802400C0 0023D020 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 802400C4 0023D024 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12
/* 802400C8 0023D028 41 82 00 50 */ beq lbl_80240118
/* 802400CC 0023D02C 7F 83 E3 78 */ mr r3, r28
/* 802400D0 0023D030 38 9C 02 F8 */ addi r4, r28, 0x2f8
/* 802400D4 0023D034 48 00 0F 01 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802400D8 0023D038 38 7C 02 F8 */ addi r3, r28, 0x2f8
/* 802400DC 0023D03C 48 00 14 FD */ bl GetValue__16SSpindlePropertyCFf
/* 802400E0 0023D040 FC 14 08 40 */ fcmpo cr0, f20, f1
/* 802400E4 0023D044 40 81 00 34 */ ble lbl_80240118
/* 802400E8 0023D048 A0 7F 01 64 */ lhz r3, 0x164(r31)
/* 802400EC 0023D04C A0 1C 00 08 */ lhz r0, 8(r28)
/* 802400F0 0023D050 7C 03 00 40 */ cmplw r3, r0
/* 802400F4 0023D054 40 82 0E 50 */ bne lbl_80240F44
/* 802400F8 0023D058 A0 1F 00 08 */ lhz r0, 8(r31)
/* 802400FC 0023D05C 7F A5 EB 78 */ mr r5, r29
/* 80240100 0023D060 38 81 00 0C */ addi r4, r1, 0xc
/* 80240104 0023D064 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80240108 0023D068 B0 01 00 08 */ sth r0, 8(r1)
/* 8024010C 0023D06C 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 80240110 0023D070 4B DC 94 6D */ bl DeleteCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager
/* 80240114 0023D074 48 00 0E 30 */ b lbl_80240F44
lbl_80240118:
/* 80240118 0023D078 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 8024011C 0023D07C 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 80240120 0023D080 40 82 00 1C */ bne lbl_8024013C
/* 80240124 0023D084 C0 41 02 18 */ lfs f2, 0x218(r1)
/* 80240128 0023D088 C0 21 02 1C */ lfs f1, 0x21c(r1)
/* 8024012C 0023D08C C0 01 02 20 */ lfs f0, 0x220(r1)
/* 80240130 0023D090 D0 41 02 24 */ stfs f2, 0x224(r1)
/* 80240134 0023D094 D0 21 02 28 */ stfs f1, 0x228(r1)
/* 80240138 0023D098 D0 01 02 2C */ stfs f0, 0x22c(r1)
lbl_8024013C:
/* 8024013C 0023D09C 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240140 0023D0A0 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a
/* 80240144 0023D0A4 41 82 00 E8 */ beq lbl_8024022C
/* 80240148 0023D0A8 88 1C 03 2C */ lbz r0, 0x32c(r28)
/* 8024014C 0023D0AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80240150 0023D0B0 40 82 00 4C */ bne lbl_8024019C
/* 80240154 0023D0B4 7F 83 E3 78 */ mr r3, r28
/* 80240158 0023D0B8 38 9C 02 B0 */ addi r4, r28, 0x2b0
/* 8024015C 0023D0BC 48 00 0E 79 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240160 0023D0C0 38 7C 02 B0 */ addi r3, r28, 0x2b0
/* 80240164 0023D0C4 48 00 14 75 */ bl GetValue__16SSpindlePropertyCFf
/* 80240168 0023D0C8 FC 13 08 40 */ fcmpo cr0, f19, f1
/* 8024016C 0023D0CC 40 81 00 C0 */ ble lbl_8024022C
/* 80240170 0023D0D0 C0 01 02 24 */ lfs f0, 0x224(r1)
/* 80240174 0023D0D4 38 60 00 01 */ li r3, 1
/* 80240178 0023D0D8 D0 1C 03 30 */ stfs f0, 0x330(r28)
/* 8024017C 0023D0DC C0 01 02 28 */ lfs f0, 0x228(r1)
/* 80240180 0023D0E0 D0 1C 03 34 */ stfs f0, 0x334(r28)
/* 80240184 0023D0E4 C0 01 02 2C */ lfs f0, 0x22c(r1)
/* 80240188 0023D0E8 D0 1C 03 38 */ stfs f0, 0x338(r28)
/* 8024018C 0023D0EC 88 1C 03 2C */ lbz r0, 0x32c(r28)
/* 80240190 0023D0F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80240194 0023D0F4 98 1C 03 2C */ stb r0, 0x32c(r28)
/* 80240198 0023D0F8 48 00 00 94 */ b lbl_8024022C
lbl_8024019C:
/* 8024019C 0023D0FC C0 21 02 18 */ lfs f1, 0x218(r1)
/* 802401A0 0023D100 7F 83 E3 78 */ mr r3, r28
/* 802401A4 0023D104 C0 01 02 34 */ lfs f0, 0x234(r1)
/* 802401A8 0023D108 38 9C 03 10 */ addi r4, r28, 0x310
/* 802401AC 0023D10C C0 41 02 30 */ lfs f2, 0x230(r1)
/* 802401B0 0023D110 EC 01 00 32 */ fmuls f0, f1, f0
/* 802401B4 0023D114 C0 21 02 1C */ lfs f1, 0x21c(r1)
/* 802401B8 0023D118 EE 42 00 78 */ fmsubs f18, f2, f1, f0
/* 802401BC 0023D11C 48 00 0E 19 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802401C0 0023D120 38 7C 03 10 */ addi r3, r28, 0x310
/* 802401C4 0023D124 48 00 14 15 */ bl GetValue__16SSpindlePropertyCFf
/* 802401C8 0023D128 FC 13 08 40 */ fcmpo cr0, f19, f1
/* 802401CC 0023D12C 40 80 00 14 */ bge lbl_802401E0
/* 802401D0 0023D130 EC 35 04 B2 */ fmuls f1, f21, f18
/* 802401D4 0023D134 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 802401D8 0023D138 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802401DC 0023D13C 41 80 00 24 */ blt lbl_80240200
lbl_802401E0:
/* 802401E0 0023D140 7F 83 E3 78 */ mr r3, r28
/* 802401E4 0023D144 38 9C 02 B0 */ addi r4, r28, 0x2b0
/* 802401E8 0023D148 48 00 0D ED */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802401EC 0023D14C 38 7C 02 B0 */ addi r3, r28, 0x2b0
/* 802401F0 0023D150 48 00 13 E9 */ bl GetValue__16SSpindlePropertyCFf
/* 802401F4 0023D154 FC 13 08 40 */ fcmpo cr0, f19, f1
/* 802401F8 0023D158 4C 40 13 82 */ cror 2, 0, 2
/* 802401FC 0023D15C 40 82 00 18 */ bne lbl_80240214
lbl_80240200:
/* 80240200 0023D160 88 1C 03 2C */ lbz r0, 0x32c(r28)
/* 80240204 0023D164 38 60 00 00 */ li r3, 0
/* 80240208 0023D168 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8024020C 0023D16C 98 1C 03 2C */ stb r0, 0x32c(r28)
/* 80240210 0023D170 48 00 00 1C */ b lbl_8024022C
lbl_80240214:
/* 80240214 0023D174 C0 1C 03 30 */ lfs f0, 0x330(r28)
/* 80240218 0023D178 D0 01 02 24 */ stfs f0, 0x224(r1)
/* 8024021C 0023D17C C0 1C 03 34 */ lfs f0, 0x334(r28)
/* 80240220 0023D180 D0 01 02 28 */ stfs f0, 0x228(r1)
/* 80240224 0023D184 C0 1C 03 38 */ lfs f0, 0x338(r28)
/* 80240228 0023D188 D0 01 02 2C */ stfs f0, 0x22c(r1)
lbl_8024022C:
/* 8024022C 0023D18C 7F 83 E3 78 */ mr r3, r28
/* 80240230 0023D190 38 9C 01 F0 */ addi r4, r28, 0x1f0
/* 80240234 0023D194 48 00 0D A1 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240238 0023D198 38 7C 01 F0 */ addi r3, r28, 0x1f0
/* 8024023C 0023D19C 48 00 13 9D */ bl GetValue__16SSpindlePropertyCFf
/* 80240240 0023D1A0 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80240244 0023D1A4 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240248 0023D1A8 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19
/* 8024024C 0023D1AC 41 82 00 20 */ beq lbl_8024026C
/* 80240250 0023D1B0 7F 83 E3 78 */ mr r3, r28
/* 80240254 0023D1B4 38 9C 02 08 */ addi r4, r28, 0x208
/* 80240258 0023D1B8 48 00 0D 7D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 8024025C 0023D1BC 38 7C 02 08 */ addi r3, r28, 0x208
/* 80240260 0023D1C0 48 00 13 79 */ bl GetValue__16SSpindlePropertyCFf
/* 80240264 0023D1C4 EC 14 08 2A */ fadds f0, f20, f1
/* 80240268 0023D1C8 D0 01 00 34 */ stfs f0, 0x34(r1)
lbl_8024026C:
/* 8024026C 0023D1CC 38 7C 01 B0 */ addi r3, r28, 0x1b0
/* 80240270 0023D1D0 38 81 00 34 */ addi r4, r1, 0x34
/* 80240274 0023D1D4 38 BC 01 B4 */ addi r5, r28, 0x1b4
/* 80240278 0023D1D8 4B DC C0 3D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8024027C 0023D1DC C0 03 00 00 */ lfs f0, 0(r3)
/* 80240280 0023D1E0 38 61 02 30 */ addi r3, r1, 0x230
/* 80240284 0023D1E4 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80240288 0023D1E8 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 8024028C 0023D1EC C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 80240290 0023D1F0 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 80240294 0023D1F4 D0 01 02 00 */ stfs f0, 0x200(r1)
/* 80240298 0023D1F8 D0 21 02 04 */ stfs f1, 0x204(r1)
/* 8024029C 0023D1FC D0 41 02 08 */ stfs f2, 0x208(r1)
/* 802402A0 0023D200 48 0D 46 19 */ bl Magnitude__9CVector3fCFv
/* 802402A4 0023D204 FE A0 08 90 */ fmr f21, f1
/* 802402A8 0023D208 38 61 02 30 */ addi r3, r1, 0x230
/* 802402AC 0023D20C 48 0D 44 4D */ bl CanBeNormalized__9CVector3fCFv
/* 802402B0 0023D210 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802402B4 0023D214 41 82 00 10 */ beq lbl_802402C4
/* 802402B8 0023D218 38 61 02 30 */ addi r3, r1, 0x230
/* 802402BC 0023D21C 48 0D 46 3D */ bl Normalize__9CVector3fFv
/* 802402C0 0023D220 48 00 00 34 */ b lbl_802402F4
lbl_802402C4:
/* 802402C4 0023D224 C0 41 02 18 */ lfs f2, 0x218(r1)
/* 802402C8 0023D228 7F 83 E3 78 */ mr r3, r28
/* 802402CC 0023D22C C0 21 02 1C */ lfs f1, 0x21c(r1)
/* 802402D0 0023D230 38 9C 01 F0 */ addi r4, r28, 0x1f0
/* 802402D4 0023D234 C0 01 02 20 */ lfs f0, 0x220(r1)
/* 802402D8 0023D238 D0 41 02 30 */ stfs f2, 0x230(r1)
/* 802402DC 0023D23C D0 21 02 34 */ stfs f1, 0x234(r1)
/* 802402E0 0023D240 D0 01 02 38 */ stfs f0, 0x238(r1)
/* 802402E4 0023D244 48 00 0C F1 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802402E8 0023D248 38 7C 01 F0 */ addi r3, r28, 0x1f0
/* 802402EC 0023D24C 48 00 12 ED */ bl GetValue__16SSpindlePropertyCFf
/* 802402F0 0023D250 FE A0 08 90 */ fmr f21, f1
lbl_802402F4:
/* 802402F4 0023D254 7F 83 E3 78 */ mr r3, r28
/* 802402F8 0023D258 38 9C 02 20 */ addi r4, r28, 0x220
/* 802402FC 0023D25C 48 00 0C D9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240300 0023D260 38 7C 02 20 */ addi r3, r28, 0x220
/* 80240304 0023D264 48 00 12 D5 */ bl GetValue__16SSpindlePropertyCFf
/* 80240308 0023D268 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 8024030C 0023D26C FF 20 08 90 */ fmr f25, f1
/* 80240310 0023D270 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 80240314 0023D274 40 82 00 54 */ bne lbl_80240368
/* 80240318 0023D278 C0 81 02 34 */ lfs f4, 0x234(r1)
/* 8024031C 0023D27C C0 E1 02 24 */ lfs f7, 0x224(r1)
/* 80240320 0023D280 C0 A1 02 38 */ lfs f5, 0x238(r1)
/* 80240324 0023D284 C0 21 02 28 */ lfs f1, 0x228(r1)
/* 80240328 0023D288 EC 07 01 32 */ fmuls f0, f7, f4
/* 8024032C 0023D28C C0 41 02 30 */ lfs f2, 0x230(r1)
/* 80240330 0023D290 C0 C1 02 2C */ lfs f6, 0x22c(r1)
/* 80240334 0023D294 EC 61 01 72 */ fmuls f3, f1, f5
/* 80240338 0023D298 EC 22 00 78 */ fmsubs f1, f2, f1, f0
/* 8024033C 0023D29C C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240340 0023D2A0 EC 46 00 B2 */ fmuls f2, f6, f2
/* 80240344 0023D2A4 EC 64 19 B8 */ fmsubs f3, f4, f6, f3
/* 80240348 0023D2A8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8024034C 0023D2AC D0 21 01 7C */ stfs f1, 0x17c(r1)
/* 80240350 0023D2B0 EC 05 11 F8 */ fmsubs f0, f5, f7, f2
/* 80240354 0023D2B4 D0 61 01 74 */ stfs f3, 0x174(r1)
/* 80240358 0023D2B8 D0 01 01 78 */ stfs f0, 0x178(r1)
/* 8024035C 0023D2BC 4C 41 13 82 */ cror 2, 1, 2
/* 80240360 0023D2C0 40 82 00 08 */ bne lbl_80240368
/* 80240364 0023D2C4 FF 20 C8 50 */ fneg f25, f25
lbl_80240368:
/* 80240368 0023D2C8 D3 21 00 2C */ stfs f25, 0x2c(r1)
/* 8024036C 0023D2CC 38 61 01 64 */ addi r3, r1, 0x164
/* 80240370 0023D2D0 38 81 00 2C */ addi r4, r1, 0x2c
/* 80240374 0023D2D4 48 0D 0D 85 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 80240378 0023D2D8 C0 61 01 64 */ lfs f3, 0x164(r1)
/* 8024037C 0023D2DC 38 61 01 58 */ addi r3, r1, 0x158
/* 80240380 0023D2E0 C0 41 01 68 */ lfs f2, 0x168(r1)
/* 80240384 0023D2E4 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 80240388 0023D2E8 C0 21 01 6C */ lfs f1, 0x16c(r1)
/* 8024038C 0023D2EC 38 A1 02 24 */ addi r5, r1, 0x224
/* 80240390 0023D2F0 C0 01 01 70 */ lfs f0, 0x170(r1)
/* 80240394 0023D2F4 D0 61 01 F0 */ stfs f3, 0x1f0(r1)
/* 80240398 0023D2F8 D0 41 01 F4 */ stfs f2, 0x1f4(r1)
/* 8024039C 0023D2FC D0 21 01 F8 */ stfs f1, 0x1f8(r1)
/* 802403A0 0023D300 D0 01 01 FC */ stfs f0, 0x1fc(r1)
/* 802403A4 0023D304 48 0D 0E C1 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 802403A8 0023D308 C0 61 01 5C */ lfs f3, 0x15c(r1)
/* 802403AC 0023D30C C0 A1 02 34 */ lfs f5, 0x234(r1)
/* 802403B0 0023D310 C0 81 01 58 */ lfs f4, 0x158(r1)
/* 802403B4 0023D314 C0 C1 02 30 */ lfs f6, 0x230(r1)
/* 802403B8 0023D318 EC 05 00 F2 */ fmuls f0, f5, f3
/* 802403BC 0023D31C C0 41 01 60 */ lfs f2, 0x160(r1)
/* 802403C0 0023D320 C0 E1 02 38 */ lfs f7, 0x238(r1)
/* 802403C4 0023D324 EC 26 01 3A */ fmadds f1, f6, f4, f0
/* 802403C8 0023D328 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 802403CC 0023D32C D0 81 01 E4 */ stfs f4, 0x1e4(r1)
/* 802403D0 0023D330 EC 27 08 BA */ fmadds f1, f7, f2, f1
/* 802403D4 0023D334 D0 61 01 E8 */ stfs f3, 0x1e8(r1)
/* 802403D8 0023D338 D0 41 01 EC */ stfs f2, 0x1ec(r1)
/* 802403DC 0023D33C FC 40 0A 10 */ fabs f2, f1
/* 802403E0 0023D340 D0 C1 01 D8 */ stfs f6, 0x1d8(r1)
/* 802403E4 0023D344 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802403E8 0023D348 D0 A1 01 DC */ stfs f5, 0x1dc(r1)
/* 802403EC 0023D34C D0 E1 01 E0 */ stfs f7, 0x1e0(r1)
/* 802403F0 0023D350 40 81 00 14 */ ble lbl_80240404
/* 802403F4 0023D354 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 802403F8 0023D358 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2)
/* 802403FC 0023D35C FC 01 00 AE */ fsel f0, f1, f2, f0
/* 80240400 0023D360 EC 22 00 32 */ fmuls f1, f2, f0
lbl_80240404:
/* 80240404 0023D364 48 15 48 29 */ bl acos
/* 80240408 0023D368 FC 00 08 18 */ frsp f0, f1
/* 8024040C 0023D36C 7F 83 E3 78 */ mr r3, r28
/* 80240410 0023D370 38 9C 02 C8 */ addi r4, r28, 0x2c8
/* 80240414 0023D374 FC 00 02 10 */ fabs f0, f0
/* 80240418 0023D378 FE 80 00 18 */ frsp f20, f0
/* 8024041C 0023D37C 48 00 0B B9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240420 0023D380 38 7C 02 C8 */ addi r3, r28, 0x2c8
/* 80240424 0023D384 48 00 11 B5 */ bl GetValue__16SSpindlePropertyCFf
/* 80240428 0023D388 EE 54 08 24 */ fdivs f18, f20, f1
/* 8024042C 0023D38C C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 80240430 0023D390 FC 20 92 10 */ fabs f1, f18
/* 80240434 0023D394 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80240438 0023D398 40 81 00 14 */ ble lbl_8024044C
/* 8024043C 0023D39C C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240440 0023D3A0 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2)
/* 80240444 0023D3A4 FC 12 00 6E */ fsel f0, f18, f1, f0
/* 80240448 0023D3A8 EE 41 00 32 */ fmuls f18, f1, f0
lbl_8024044C:
/* 8024044C 0023D3AC 7F 83 E3 78 */ mr r3, r28
/* 80240450 0023D3B0 38 9C 01 C0 */ addi r4, r28, 0x1c0
/* 80240454 0023D3B4 48 00 0B 81 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240458 0023D3B8 38 7C 01 C0 */ addi r3, r28, 0x1c0
/* 8024045C 0023D3BC 48 00 11 7D */ bl GetValue__16SSpindlePropertyCFf
/* 80240460 0023D3C0 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240464 0023D3C4 FE 60 08 90 */ fmr f19, f1
/* 80240468 0023D3C8 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17
/* 8024046C 0023D3CC 40 82 00 3C */ bne lbl_802404A8
/* 80240470 0023D3D0 7F 83 E3 78 */ mr r3, r28
/* 80240474 0023D3D4 38 9C 01 D8 */ addi r4, r28, 0x1d8
/* 80240478 0023D3D8 48 00 0B 5D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 8024047C 0023D3DC 38 7C 01 D8 */ addi r3, r28, 0x1d8
/* 80240480 0023D3E0 48 00 11 59 */ bl GetValue__16SSpindlePropertyCFf
/* 80240484 0023D3E4 EC 21 A8 24 */ fdivs f1, f1, f21
/* 80240488 0023D3E8 FC 00 0A 10 */ fabs f0, f1
/* 8024048C 0023D3EC FC 00 98 40 */ fcmpo cr0, f0, f19
/* 80240490 0023D3F0 40 81 00 14 */ ble lbl_802404A4
/* 80240494 0023D3F4 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2)
/* 80240498 0023D3F8 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2)
/* 8024049C 0023D3FC FC 01 10 2E */ fsel f0, f1, f0, f2
/* 802404A0 0023D400 EC 33 00 32 */ fmuls f1, f19, f0
lbl_802404A4:
/* 802404A4 0023D404 FE 60 08 90 */ fmr f19, f1
lbl_802404A8:
/* 802404A8 0023D408 C0 81 02 28 */ lfs f4, 0x228(r1)
/* 802404AC 0023D40C C0 01 02 30 */ lfs f0, 0x230(r1)
/* 802404B0 0023D410 C0 A1 02 2C */ lfs f5, 0x22c(r1)
/* 802404B4 0023D414 C0 41 02 34 */ lfs f2, 0x234(r1)
/* 802404B8 0023D418 EC C0 01 32 */ fmuls f6, f0, f4
/* 802404BC 0023D41C C0 21 02 24 */ lfs f1, 0x224(r1)
/* 802404C0 0023D420 C0 61 02 38 */ lfs f3, 0x238(r1)
/* 802404C4 0023D424 ED 02 01 72 */ fmuls f8, f2, f5
/* 802404C8 0023D428 EC C1 30 B8 */ fmsubs f6, f1, f2, f6
/* 802404CC 0023D42C C1 22 B7 D0 */ lfs f9, lbl_805AD4F0@sda21(r2)
/* 802404D0 0023D430 EC E3 00 72 */ fmuls f7, f3, f1
/* 802404D4 0023D434 ED 04 40 F8 */ fmsubs f8, f4, f3, f8
/* 802404D8 0023D438 FC 06 48 40 */ fcmpo cr0, f6, f9
/* 802404DC 0023D43C D0 C1 01 54 */ stfs f6, 0x154(r1)
/* 802404E0 0023D440 EC C5 38 38 */ fmsubs f6, f5, f0, f7
/* 802404E4 0023D444 D1 01 01 4C */ stfs f8, 0x14c(r1)
/* 802404E8 0023D448 D0 C1 01 50 */ stfs f6, 0x150(r1)
/* 802404EC 0023D44C 4C 41 13 82 */ cror 2, 1, 2
/* 802404F0 0023D450 40 82 00 3C */ bne lbl_8024052C
/* 802404F4 0023D454 C1 41 01 E8 */ lfs f10, 0x1e8(r1)
/* 802404F8 0023D458 C1 61 01 EC */ lfs f11, 0x1ec(r1)
/* 802404FC 0023D45C C1 81 01 E4 */ lfs f12, 0x1e4(r1)
/* 80240500 0023D460 EC C0 02 B2 */ fmuls f6, f0, f10
/* 80240504 0023D464 ED 02 02 F2 */ fmuls f8, f2, f11
/* 80240508 0023D468 EC E3 03 32 */ fmuls f7, f3, f12
/* 8024050C 0023D46C EC CC 30 B8 */ fmsubs f6, f12, f2, f6
/* 80240510 0023D470 ED 0A 40 F8 */ fmsubs f8, f10, f3, f8
/* 80240514 0023D474 EC EB 38 38 */ fmsubs f7, f11, f0, f7
/* 80240518 0023D478 FC 06 48 40 */ fcmpo cr0, f6, f9
/* 8024051C 0023D47C D0 C1 01 48 */ stfs f6, 0x148(r1)
/* 80240520 0023D480 D1 01 01 40 */ stfs f8, 0x140(r1)
/* 80240524 0023D484 D0 E1 01 44 */ stfs f7, 0x144(r1)
/* 80240528 0023D488 41 80 00 70 */ blt lbl_80240598
lbl_8024052C:
/* 8024052C 0023D48C EC E0 01 32 */ fmuls f7, f0, f4
/* 80240530 0023D490 C0 C2 B7 D0 */ lfs f6, lbl_805AD4F0@sda21(r2)
/* 80240534 0023D494 ED 22 01 72 */ fmuls f9, f2, f5
/* 80240538 0023D498 ED 03 00 72 */ fmuls f8, f3, f1
/* 8024053C 0023D49C EC 21 38 B8 */ fmsubs f1, f1, f2, f7
/* 80240540 0023D4A0 EC E4 48 F8 */ fmsubs f7, f4, f3, f9
/* 80240544 0023D4A4 EC 85 40 38 */ fmsubs f4, f5, f0, f8
/* 80240548 0023D4A8 FC 01 30 40 */ fcmpo cr0, f1, f6
/* 8024054C 0023D4AC D0 21 01 3C */ stfs f1, 0x13c(r1)
/* 80240550 0023D4B0 D0 E1 01 34 */ stfs f7, 0x134(r1)
/* 80240554 0023D4B4 D0 81 01 38 */ stfs f4, 0x138(r1)
/* 80240558 0023D4B8 40 80 00 7C */ bge lbl_802405D4
/* 8024055C 0023D4BC C0 E1 01 E8 */ lfs f7, 0x1e8(r1)
/* 80240560 0023D4C0 C1 01 01 EC */ lfs f8, 0x1ec(r1)
/* 80240564 0023D4C4 C1 21 01 E4 */ lfs f9, 0x1e4(r1)
/* 80240568 0023D4C8 EC 20 01 F2 */ fmuls f1, f0, f7
/* 8024056C 0023D4CC EC A2 02 32 */ fmuls f5, f2, f8
/* 80240570 0023D4D0 EC 83 02 72 */ fmuls f4, f3, f9
/* 80240574 0023D4D4 EC 29 08 B8 */ fmsubs f1, f9, f2, f1
/* 80240578 0023D4D8 EC 47 28 F8 */ fmsubs f2, f7, f3, f5
/* 8024057C 0023D4DC EC 08 20 38 */ fmsubs f0, f8, f0, f4
/* 80240580 0023D4E0 FC 01 30 40 */ fcmpo cr0, f1, f6
/* 80240584 0023D4E4 D0 21 01 30 */ stfs f1, 0x130(r1)
/* 80240588 0023D4E8 D0 41 01 28 */ stfs f2, 0x128(r1)
/* 8024058C 0023D4EC D0 01 01 2C */ stfs f0, 0x12c(r1)
/* 80240590 0023D4F0 4C 41 13 82 */ cror 2, 1, 2
/* 80240594 0023D4F4 40 82 00 40 */ bne lbl_802405D4
lbl_80240598:
/* 80240598 0023D4F8 7F 83 E3 78 */ mr r3, r28
/* 8024059C 0023D4FC 38 9C 02 E0 */ addi r4, r28, 0x2e0
/* 802405A0 0023D500 48 00 0A 35 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802405A4 0023D504 38 7C 02 E0 */ addi r3, r28, 0x2e0
/* 802405A8 0023D508 48 00 10 31 */ bl GetValue__16SSpindlePropertyCFf
/* 802405AC 0023D50C FC 00 9A 10 */ fabs f0, f19
/* 802405B0 0023D510 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802405B4 0023D514 40 81 00 18 */ ble lbl_802405CC
/* 802405B8 0023D518 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2)
/* 802405BC 0023D51C C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2)
/* 802405C0 0023D520 FC 13 10 2E */ fsel f0, f19, f0, f2
/* 802405C4 0023D524 EC 01 00 32 */ fmuls f0, f1, f0
/* 802405C8 0023D528 48 00 00 08 */ b lbl_802405D0
lbl_802405CC:
/* 802405CC 0023D52C FC 00 98 90 */ fmr f0, f19
lbl_802405D0:
/* 802405D0 0023D530 FE 60 00 90 */ fmr f19, f0
lbl_802405D4:
/* 802405D4 0023D534 C0 3C 00 60 */ lfs f1, 0x60(r28)
/* 802405D8 0023D538 EC 76 04 B2 */ fmuls f3, f22, f18
/* 802405DC 0023D53C C0 5C 00 50 */ lfs f2, 0x50(r28)
/* 802405E0 0023D540 38 61 01 CC */ addi r3, r1, 0x1cc
/* 802405E4 0023D544 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 802405E8 0023D548 EC 9A 08 28 */ fsubs f4, f26, f1
/* 802405EC 0023D54C EC 57 10 28 */ fsubs f2, f23, f2
/* 802405F0 0023D550 EC 38 00 28 */ fsubs f1, f24, f0
/* 802405F4 0023D554 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 802405F8 0023D558 D0 81 01 D4 */ stfs f4, 0x1d4(r1)
/* 802405FC 0023D55C EE 73 00 F2 */ fmuls f19, f19, f3
/* 80240600 0023D560 FE 40 00 90 */ fmr f18, f0
/* 80240604 0023D564 D0 21 01 CC */ stfs f1, 0x1cc(r1)
/* 80240608 0023D568 D0 41 01 D0 */ stfs f2, 0x1d0(r1)
/* 8024060C 0023D56C D0 01 01 D4 */ stfs f0, 0x1d4(r1)
/* 80240610 0023D570 48 0D 40 E9 */ bl CanBeNormalized__9CVector3fCFv
/* 80240614 0023D574 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240618 0023D578 41 82 00 10 */ beq lbl_80240628
/* 8024061C 0023D57C 38 61 01 CC */ addi r3, r1, 0x1cc
/* 80240620 0023D580 48 0D 42 99 */ bl Magnitude__9CVector3fCFv
/* 80240624 0023D584 FE 40 08 90 */ fmr f18, f1
lbl_80240628:
/* 80240628 0023D588 C0 22 B7 E8 */ lfs f1, lbl_805AD508@sda21(r2)
/* 8024062C 0023D58C 38 81 00 28 */ addi r4, r1, 0x28
/* 80240630 0023D590 C0 02 B7 EC */ lfs f0, lbl_805AD50C@sda21(r2)
/* 80240634 0023D594 38 6D 96 C8 */ addi r3, r13, lbl_805A8288@sda21
/* 80240638 0023D598 EC 32 08 28 */ fsubs f1, f18, f1
/* 8024063C 0023D59C 38 AD 96 CC */ addi r5, r13, lbl_805A828C@sda21
/* 80240640 0023D5A0 EC 01 00 32 */ fmuls f0, f1, f0
/* 80240644 0023D5A4 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80240648 0023D5A8 4B DC BC 6D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8024064C 0023D5AC C0 43 00 00 */ lfs f2, 0(r3)
/* 80240650 0023D5B0 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2)
/* 80240654 0023D5B4 C0 02 B7 F0 */ lfs f0, lbl_805AD510@sda21(r2)
/* 80240658 0023D5B8 EC 41 10 28 */ fsubs f2, f1, f2
/* 8024065C 0023D5BC EC 00 08 BA */ fmadds f0, f0, f2, f1
/* 80240660 0023D5C0 EE 73 00 32 */ fmuls f19, f19, f0
/* 80240664 0023D5C4 FC 00 9A 10 */ fabs f0, f19
/* 80240668 0023D5C8 FC 00 A0 40 */ fcmpo cr0, f0, f20
/* 8024066C 0023D5CC 40 81 00 14 */ ble lbl_80240680
/* 80240670 0023D5D0 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240674 0023D5D4 FC 13 00 6E */ fsel f0, f19, f1, f0
/* 80240678 0023D5D8 EC B4 00 32 */ fmuls f5, f20, f0
/* 8024067C 0023D5DC 48 00 00 08 */ b lbl_80240684
lbl_80240680:
/* 80240680 0023D5E0 FC A0 98 90 */ fmr f5, f19
lbl_80240684:
/* 80240684 0023D5E4 C0 21 02 34 */ lfs f1, 0x234(r1)
/* 80240688 0023D5E8 C0 01 01 E8 */ lfs f0, 0x1e8(r1)
/* 8024068C 0023D5EC C0 41 02 30 */ lfs f2, 0x230(r1)
/* 80240690 0023D5F0 EC 01 00 32 */ fmuls f0, f1, f0
/* 80240694 0023D5F4 C0 21 01 E4 */ lfs f1, 0x1e4(r1)
/* 80240698 0023D5F8 C0 81 02 38 */ lfs f4, 0x238(r1)
/* 8024069C 0023D5FC C0 61 01 EC */ lfs f3, 0x1ec(r1)
/* 802406A0 0023D600 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 802406A4 0023D604 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 802406A8 0023D608 EC 44 08 FA */ fmadds f2, f4, f3, f1
/* 802406AC 0023D60C FC 20 12 10 */ fabs f1, f2
/* 802406B0 0023D610 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802406B4 0023D614 40 81 00 14 */ ble lbl_802406C8
/* 802406B8 0023D618 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 802406BC 0023D61C C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2)
/* 802406C0 0023D620 FC 02 00 6E */ fsel f0, f2, f1, f0
/* 802406C4 0023D624 EC 41 00 32 */ fmuls f2, f1, f0
lbl_802406C8:
/* 802406C8 0023D628 FC 20 12 10 */ fabs f1, f2
/* 802406CC 0023D62C C0 02 B7 F4 */ lfs f0, lbl_805AD514@sda21(r2)
/* 802406D0 0023D630 FC 20 08 18 */ frsp f1, f1
/* 802406D4 0023D634 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802406D8 0023D638 40 80 00 80 */ bge lbl_80240758
/* 802406DC 0023D63C D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 802406E0 0023D640 38 61 01 00 */ addi r3, r1, 0x100
/* 802406E4 0023D644 38 81 01 E4 */ addi r4, r1, 0x1e4
/* 802406E8 0023D648 48 0D 36 E9 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 802406EC 0023D64C 7C 7D 1B 78 */ mr r29, r3
/* 802406F0 0023D650 38 61 01 0C */ addi r3, r1, 0x10c
/* 802406F4 0023D654 38 81 02 30 */ addi r4, r1, 0x230
/* 802406F8 0023D658 48 0D 36 D9 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 802406FC 0023D65C 7C 64 1B 78 */ mr r4, r3
/* 80240700 0023D660 7F A5 EB 78 */ mr r5, r29
/* 80240704 0023D664 38 61 01 18 */ addi r3, r1, 0x118
/* 80240708 0023D668 38 C1 00 24 */ addi r6, r1, 0x24
/* 8024070C 0023D66C 48 0D 0F 89 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 80240710 0023D670 C0 01 01 18 */ lfs f0, 0x118(r1)
/* 80240714 0023D674 38 61 00 F4 */ addi r3, r1, 0xf4
/* 80240718 0023D678 80 E1 01 1C */ lwz r7, 0x11c(r1)
/* 8024071C 0023D67C 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 80240720 0023D680 80 C1 01 20 */ lwz r6, 0x120(r1)
/* 80240724 0023D684 38 A1 02 30 */ addi r5, r1, 0x230
/* 80240728 0023D688 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8024072C 0023D68C D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 80240730 0023D690 90 E1 01 F4 */ stw r7, 0x1f4(r1)
/* 80240734 0023D694 90 C1 01 F8 */ stw r6, 0x1f8(r1)
/* 80240738 0023D698 90 01 01 FC */ stw r0, 0x1fc(r1)
/* 8024073C 0023D69C 48 0D 0B 29 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80240740 0023D6A0 C0 41 00 F4 */ lfs f2, 0xf4(r1)
/* 80240744 0023D6A4 C0 21 00 F8 */ lfs f1, 0xf8(r1)
/* 80240748 0023D6A8 C0 01 00 FC */ lfs f0, 0xfc(r1)
/* 8024074C 0023D6AC D0 41 01 D8 */ stfs f2, 0x1d8(r1)
/* 80240750 0023D6B0 D0 21 01 DC */ stfs f1, 0x1dc(r1)
/* 80240754 0023D6B4 D0 01 01 E0 */ stfs f0, 0x1e0(r1)
lbl_80240758:
/* 80240758 0023D6B8 C0 21 02 28 */ lfs f1, 0x228(r1)
/* 8024075C 0023D6BC C0 01 01 DC */ lfs f0, 0x1dc(r1)
/* 80240760 0023D6C0 C0 41 02 24 */ lfs f2, 0x224(r1)
/* 80240764 0023D6C4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80240768 0023D6C8 C0 21 01 D8 */ lfs f1, 0x1d8(r1)
/* 8024076C 0023D6CC C0 81 02 2C */ lfs f4, 0x22c(r1)
/* 80240770 0023D6D0 C0 61 01 E0 */ lfs f3, 0x1e0(r1)
/* 80240774 0023D6D4 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 80240778 0023D6D8 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 8024077C 0023D6DC EC 24 08 FA */ fmadds f1, f4, f3, f1
/* 80240780 0023D6E0 FC 40 0A 10 */ fabs f2, f1
/* 80240784 0023D6E4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80240788 0023D6E8 40 81 00 14 */ ble lbl_8024079C
/* 8024078C 0023D6EC C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240790 0023D6F0 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2)
/* 80240794 0023D6F4 FC 01 00 AE */ fsel f0, f1, f2, f0
/* 80240798 0023D6F8 EC 22 00 32 */ fmuls f1, f2, f0
lbl_8024079C:
/* 8024079C 0023D6FC 48 15 44 91 */ bl acos
/* 802407A0 0023D700 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 802407A4 0023D704 FE 40 08 18 */ frsp f18, f1
/* 802407A8 0023D708 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 802407AC 0023D70C 41 82 00 28 */ beq lbl_802407D4
/* 802407B0 0023D710 FE 60 92 10 */ fabs f19, f18
/* 802407B4 0023D714 7F 83 E3 78 */ mr r3, r28
/* 802407B8 0023D718 38 9C 02 20 */ addi r4, r28, 0x220
/* 802407BC 0023D71C 48 00 08 19 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 802407C0 0023D720 38 7C 02 20 */ addi r3, r28, 0x220
/* 802407C4 0023D724 48 00 0E 15 */ bl GetValue__16SSpindlePropertyCFf
/* 802407C8 0023D728 FC 00 98 18 */ frsp f0, f19
/* 802407CC 0023D72C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802407D0 0023D730 41 80 00 1C */ blt lbl_802407EC
lbl_802407D4:
/* 802407D4 0023D734 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 802407D8 0023D738 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c
/* 802407DC 0023D73C 40 82 00 10 */ bne lbl_802407EC
/* 802407E0 0023D740 88 1C 03 3C */ lbz r0, 0x33c(r28)
/* 802407E4 0023D744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 802407E8 0023D748 41 82 00 1C */ beq lbl_80240804
lbl_802407EC:
/* 802407EC 0023D74C C0 41 01 E4 */ lfs f2, 0x1e4(r1)
/* 802407F0 0023D750 C0 21 01 E8 */ lfs f1, 0x1e8(r1)
/* 802407F4 0023D754 C0 01 01 EC */ lfs f0, 0x1ec(r1)
/* 802407F8 0023D758 D0 41 01 D8 */ stfs f2, 0x1d8(r1)
/* 802407FC 0023D75C D0 21 01 DC */ stfs f1, 0x1dc(r1)
/* 80240800 0023D760 D0 01 01 E0 */ stfs f0, 0x1e0(r1)
lbl_80240804:
/* 80240804 0023D764 7F 83 E3 78 */ mr r3, r28
/* 80240808 0023D768 38 9C 02 50 */ addi r4, r28, 0x250
/* 8024080C 0023D76C 48 00 07 C9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240810 0023D770 38 7C 02 50 */ addi r3, r28, 0x250
/* 80240814 0023D774 48 00 0D C5 */ bl GetValue__16SSpindlePropertyCFf
/* 80240818 0023D778 FC 00 92 10 */ fabs f0, f18
/* 8024081C 0023D77C FC 00 00 18 */ frsp f0, f0
/* 80240820 0023D780 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80240824 0023D784 40 81 01 9C */ ble lbl_802409C0
/* 80240828 0023D788 C0 5C 03 28 */ lfs f2, 0x328(r28)
/* 8024082C 0023D78C C0 02 B7 F8 */ lfs f0, lbl_805AD518@sda21(r2)
/* 80240830 0023D790 EC 42 B0 2A */ fadds f2, f2, f22
/* 80240834 0023D794 D0 5C 03 28 */ stfs f2, 0x328(r28)
/* 80240838 0023D798 C0 5C 03 28 */ lfs f2, 0x328(r28)
/* 8024083C 0023D79C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80240840 0023D7A0 40 80 00 E0 */ bge lbl_80240920
/* 80240844 0023D7A4 EC 82 00 24 */ fdivs f4, f2, f0
/* 80240848 0023D7A8 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 8024084C 0023D7AC FC 40 22 10 */ fabs f2, f4
/* 80240850 0023D7B0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80240854 0023D7B4 40 81 00 14 */ ble lbl_80240868
/* 80240858 0023D7B8 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 8024085C 0023D7BC C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2)
/* 80240860 0023D7C0 FC 04 00 AE */ fsel f0, f4, f2, f0
/* 80240864 0023D7C4 EC 82 00 32 */ fmuls f4, f2, f0
lbl_80240868:
/* 80240868 0023D7C8 EC 01 90 28 */ fsubs f0, f1, f18
/* 8024086C 0023D7CC C0 C1 02 28 */ lfs f6, 0x228(r1)
/* 80240870 0023D7D0 C1 41 01 D8 */ lfs f10, 0x1d8(r1)
/* 80240874 0023D7D4 C0 E1 02 2C */ lfs f7, 0x22c(r1)
/* 80240878 0023D7D8 C1 01 01 DC */ lfs f8, 0x1dc(r1)
/* 8024087C 0023D7DC FC 00 02 10 */ fabs f0, f0
/* 80240880 0023D7E0 C1 21 01 E0 */ lfs f9, 0x1e0(r1)
/* 80240884 0023D7E4 EC 2A 01 B2 */ fmuls f1, f10, f6
/* 80240888 0023D7E8 C1 61 02 24 */ lfs f11, 0x224(r1)
/* 8024088C 0023D7EC EC 68 01 F2 */ fmuls f3, f8, f7
/* 80240890 0023D7F0 FC A0 00 18 */ frsp f5, f0
/* 80240894 0023D7F4 EC 49 02 F2 */ fmuls f2, f9, f11
/* 80240898 0023D7F8 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 8024089C 0023D7FC EC 2B 0A 38 */ fmsubs f1, f11, f8, f1
/* 802408A0 0023D800 EC 66 1A 78 */ fmsubs f3, f6, f9, f3
/* 802408A4 0023D804 EC 47 12 B8 */ fmsubs f2, f7, f10, f2
/* 802408A8 0023D808 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802408AC 0023D80C D0 21 00 F0 */ stfs f1, 0xf0(r1)
/* 802408B0 0023D810 D0 61 00 E8 */ stfs f3, 0xe8(r1)
/* 802408B4 0023D814 D0 41 00 EC */ stfs f2, 0xec(r1)
/* 802408B8 0023D818 40 81 00 08 */ ble lbl_802408C0
/* 802408BC 0023D81C FC A0 28 50 */ fneg f5, f5
lbl_802408C0:
/* 802408C0 0023D820 EC 05 01 32 */ fmuls f0, f5, f4
/* 802408C4 0023D824 38 61 00 D8 */ addi r3, r1, 0xd8
/* 802408C8 0023D828 38 81 00 20 */ addi r4, r1, 0x20
/* 802408CC 0023D82C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 802408D0 0023D830 48 0D 08 29 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 802408D4 0023D834 C0 01 00 D8 */ lfs f0, 0xd8(r1)
/* 802408D8 0023D838 38 61 00 CC */ addi r3, r1, 0xcc
/* 802408DC 0023D83C 80 E1 00 DC */ lwz r7, 0xdc(r1)
/* 802408E0 0023D840 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 802408E4 0023D844 80 C1 00 E0 */ lwz r6, 0xe0(r1)
/* 802408E8 0023D848 38 A1 01 D8 */ addi r5, r1, 0x1d8
/* 802408EC 0023D84C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 802408F0 0023D850 D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 802408F4 0023D854 90 E1 01 F4 */ stw r7, 0x1f4(r1)
/* 802408F8 0023D858 90 C1 01 F8 */ stw r6, 0x1f8(r1)
/* 802408FC 0023D85C 90 01 01 FC */ stw r0, 0x1fc(r1)
/* 80240900 0023D860 48 0D 09 65 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80240904 0023D864 C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 80240908 0023D868 C0 21 00 D0 */ lfs f1, 0xd0(r1)
/* 8024090C 0023D86C C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 80240910 0023D870 D0 41 01 D8 */ stfs f2, 0x1d8(r1)
/* 80240914 0023D874 D0 21 01 DC */ stfs f1, 0x1dc(r1)
/* 80240918 0023D878 D0 01 01 E0 */ stfs f0, 0x1e0(r1)
/* 8024091C 0023D87C 48 00 00 AC */ b lbl_802409C8
lbl_80240920:
/* 80240920 0023D880 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240924 0023D884 FC 19 00 40 */ fcmpo cr0, f25, f0
/* 80240928 0023D888 40 81 00 38 */ ble lbl_80240960
/* 8024092C 0023D88C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80240930 0023D890 38 61 00 BC */ addi r3, r1, 0xbc
/* 80240934 0023D894 38 81 00 1C */ addi r4, r1, 0x1c
/* 80240938 0023D898 48 0D 07 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 8024093C 0023D89C C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 80240940 0023D8A0 80 81 00 C0 */ lwz r4, 0xc0(r1)
/* 80240944 0023D8A4 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 80240948 0023D8A8 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8024094C 0023D8AC D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 80240950 0023D8B0 90 81 01 F4 */ stw r4, 0x1f4(r1)
/* 80240954 0023D8B4 90 61 01 F8 */ stw r3, 0x1f8(r1)
/* 80240958 0023D8B8 90 01 01 FC */ stw r0, 0x1fc(r1)
/* 8024095C 0023D8BC 48 00 00 38 */ b lbl_80240994
lbl_80240960:
/* 80240960 0023D8C0 FC 00 08 50 */ fneg f0, f1
/* 80240964 0023D8C4 38 61 00 AC */ addi r3, r1, 0xac
/* 80240968 0023D8C8 38 81 00 18 */ addi r4, r1, 0x18
/* 8024096C 0023D8CC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80240970 0023D8D0 48 0D 07 89 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 80240974 0023D8D4 C0 01 00 AC */ lfs f0, 0xac(r1)
/* 80240978 0023D8D8 80 81 00 B0 */ lwz r4, 0xb0(r1)
/* 8024097C 0023D8DC 80 61 00 B4 */ lwz r3, 0xb4(r1)
/* 80240980 0023D8E0 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 80240984 0023D8E4 D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 80240988 0023D8E8 90 81 01 F4 */ stw r4, 0x1f4(r1)
/* 8024098C 0023D8EC 90 61 01 F8 */ stw r3, 0x1f8(r1)
/* 80240990 0023D8F0 90 01 01 FC */ stw r0, 0x1fc(r1)
lbl_80240994:
/* 80240994 0023D8F4 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80240998 0023D8F8 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 8024099C 0023D8FC 38 A1 02 24 */ addi r5, r1, 0x224
/* 802409A0 0023D900 48 0D 08 C5 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 802409A4 0023D904 C0 41 00 A0 */ lfs f2, 0xa0(r1)
/* 802409A8 0023D908 C0 21 00 A4 */ lfs f1, 0xa4(r1)
/* 802409AC 0023D90C C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 802409B0 0023D910 D0 41 01 D8 */ stfs f2, 0x1d8(r1)
/* 802409B4 0023D914 D0 21 01 DC */ stfs f1, 0x1dc(r1)
/* 802409B8 0023D918 D0 01 01 E0 */ stfs f0, 0x1e0(r1)
/* 802409BC 0023D91C 48 00 00 0C */ b lbl_802409C8
lbl_802409C0:
/* 802409C0 0023D920 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 802409C4 0023D924 D0 1C 03 28 */ stfs f0, 0x328(r28)
lbl_802409C8:
/* 802409C8 0023D928 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 802409CC 0023D92C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a
/* 802409D0 0023D930 41 82 01 68 */ beq lbl_80240B38
/* 802409D4 0023D934 C0 7F 00 58 */ lfs f3, 0x58(r31)
/* 802409D8 0023D938 38 61 01 C0 */ addi r3, r1, 0x1c0
/* 802409DC 0023D93C C0 5F 00 48 */ lfs f2, 0x48(r31)
/* 802409E0 0023D940 C0 3F 00 38 */ lfs f1, 0x38(r31)
/* 802409E4 0023D944 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 802409E8 0023D948 D0 61 01 C8 */ stfs f3, 0x1c8(r1)
/* 802409EC 0023D94C D0 21 01 C0 */ stfs f1, 0x1c0(r1)
/* 802409F0 0023D950 D0 41 01 C4 */ stfs f2, 0x1c4(r1)
/* 802409F4 0023D954 D0 01 01 C8 */ stfs f0, 0x1c8(r1)
/* 802409F8 0023D958 48 0D 3D 01 */ bl CanBeNormalized__9CVector3fCFv
/* 802409FC 0023D95C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240A00 0023D960 41 82 01 38 */ beq lbl_80240B38
/* 80240A04 0023D964 38 61 01 C0 */ addi r3, r1, 0x1c0
/* 80240A08 0023D968 48 0D 3E F1 */ bl Normalize__9CVector3fFv
/* 80240A0C 0023D96C C0 21 01 C4 */ lfs f1, 0x1c4(r1)
/* 80240A10 0023D970 C0 01 01 DC */ lfs f0, 0x1dc(r1)
/* 80240A14 0023D974 C0 41 01 C0 */ lfs f2, 0x1c0(r1)
/* 80240A18 0023D978 EC 01 00 32 */ fmuls f0, f1, f0
/* 80240A1C 0023D97C C0 21 01 D8 */ lfs f1, 0x1d8(r1)
/* 80240A20 0023D980 C0 81 01 C8 */ lfs f4, 0x1c8(r1)
/* 80240A24 0023D984 C0 61 01 E0 */ lfs f3, 0x1e0(r1)
/* 80240A28 0023D988 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 80240A2C 0023D98C C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 80240A30 0023D990 EC 24 08 FA */ fmadds f1, f4, f3, f1
/* 80240A34 0023D994 FC 40 0A 10 */ fabs f2, f1
/* 80240A38 0023D998 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80240A3C 0023D99C 40 81 00 14 */ ble lbl_80240A50
/* 80240A40 0023D9A0 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240A44 0023D9A4 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2)
/* 80240A48 0023D9A8 FC 01 00 AE */ fsel f0, f1, f2, f0
/* 80240A4C 0023D9AC EC 22 00 32 */ fmuls f1, f2, f0
lbl_80240A50:
/* 80240A50 0023D9B0 48 15 41 DD */ bl acos
/* 80240A54 0023D9B4 FC 00 08 18 */ frsp f0, f1
/* 80240A58 0023D9B8 7F 83 E3 78 */ mr r3, r28
/* 80240A5C 0023D9BC 38 9C 02 B0 */ addi r4, r28, 0x2b0
/* 80240A60 0023D9C0 FC 00 02 10 */ fabs f0, f0
/* 80240A64 0023D9C4 FE 40 00 18 */ frsp f18, f0
/* 80240A68 0023D9C8 48 00 05 6D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240A6C 0023D9CC 38 7C 02 B0 */ addi r3, r28, 0x2b0
/* 80240A70 0023D9D0 48 00 0B 69 */ bl GetValue__16SSpindlePropertyCFf
/* 80240A74 0023D9D4 FC 00 92 10 */ fabs f0, f18
/* 80240A78 0023D9D8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80240A7C 0023D9DC 40 81 00 14 */ ble lbl_80240A90
/* 80240A80 0023D9E0 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2)
/* 80240A84 0023D9E4 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2)
/* 80240A88 0023D9E8 FC 12 10 2E */ fsel f0, f18, f0, f2
/* 80240A8C 0023D9EC EE 41 00 32 */ fmuls f18, f1, f0
lbl_80240A90:
/* 80240A90 0023D9F0 C0 81 01 C4 */ lfs f4, 0x1c4(r1)
/* 80240A94 0023D9F4 FD 00 90 90 */ fmr f8, f18
/* 80240A98 0023D9F8 C0 E1 01 D8 */ lfs f7, 0x1d8(r1)
/* 80240A9C 0023D9FC C0 A1 01 C8 */ lfs f5, 0x1c8(r1)
/* 80240AA0 0023DA00 C0 21 01 DC */ lfs f1, 0x1dc(r1)
/* 80240AA4 0023DA04 EC 07 01 32 */ fmuls f0, f7, f4
/* 80240AA8 0023DA08 C0 41 01 C0 */ lfs f2, 0x1c0(r1)
/* 80240AAC 0023DA0C C0 C1 01 E0 */ lfs f6, 0x1e0(r1)
/* 80240AB0 0023DA10 EC 61 01 72 */ fmuls f3, f1, f5
/* 80240AB4 0023DA14 EC 22 00 78 */ fmsubs f1, f2, f1, f0
/* 80240AB8 0023DA18 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240ABC 0023DA1C EC 46 00 B2 */ fmuls f2, f6, f2
/* 80240AC0 0023DA20 EC 64 19 B8 */ fmsubs f3, f4, f6, f3
/* 80240AC4 0023DA24 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80240AC8 0023DA28 D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 80240ACC 0023DA2C EC 05 11 F8 */ fmsubs f0, f5, f7, f2
/* 80240AD0 0023DA30 D0 61 00 94 */ stfs f3, 0x94(r1)
/* 80240AD4 0023DA34 D0 01 00 98 */ stfs f0, 0x98(r1)
/* 80240AD8 0023DA38 40 80 00 08 */ bge lbl_80240AE0
/* 80240ADC 0023DA3C FD 00 90 50 */ fneg f8, f18
lbl_80240AE0:
/* 80240AE0 0023DA40 D1 01 00 14 */ stfs f8, 0x14(r1)
/* 80240AE4 0023DA44 38 61 00 84 */ addi r3, r1, 0x84
/* 80240AE8 0023DA48 38 81 00 14 */ addi r4, r1, 0x14
/* 80240AEC 0023DA4C 48 0D 06 0D */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 80240AF0 0023DA50 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80240AF4 0023DA54 38 61 00 78 */ addi r3, r1, 0x78
/* 80240AF8 0023DA58 80 E1 00 88 */ lwz r7, 0x88(r1)
/* 80240AFC 0023DA5C 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 80240B00 0023DA60 80 C1 00 8C */ lwz r6, 0x8c(r1)
/* 80240B04 0023DA64 38 A1 01 C0 */ addi r5, r1, 0x1c0
/* 80240B08 0023DA68 80 01 00 90 */ lwz r0, 0x90(r1)
/* 80240B0C 0023DA6C D0 01 01 F0 */ stfs f0, 0x1f0(r1)
/* 80240B10 0023DA70 90 E1 01 F4 */ stw r7, 0x1f4(r1)
/* 80240B14 0023DA74 90 C1 01 F8 */ stw r6, 0x1f8(r1)
/* 80240B18 0023DA78 90 01 01 FC */ stw r0, 0x1fc(r1)
/* 80240B1C 0023DA7C 48 0D 07 49 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80240B20 0023DA80 C0 41 00 78 */ lfs f2, 0x78(r1)
/* 80240B24 0023DA84 C0 21 00 7C */ lfs f1, 0x7c(r1)
/* 80240B28 0023DA88 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 80240B2C 0023DA8C D0 41 01 D8 */ stfs f2, 0x1d8(r1)
/* 80240B30 0023DA90 D0 21 01 DC */ stfs f1, 0x1dc(r1)
/* 80240B34 0023DA94 D0 01 01 E0 */ stfs f0, 0x1e0(r1)
lbl_80240B38:
/* 80240B38 0023DA98 C0 81 00 34 */ lfs f4, 0x34(r1)
/* 80240B3C 0023DA9C C0 01 01 D8 */ lfs f0, 0x1d8(r1)
/* 80240B40 0023DAA0 C0 21 01 DC */ lfs f1, 0x1dc(r1)
/* 80240B44 0023DAA4 EC 60 01 32 */ fmuls f3, f0, f4
/* 80240B48 0023DAA8 C0 01 01 E0 */ lfs f0, 0x1e0(r1)
/* 80240B4C 0023DAAC EC 41 01 32 */ fmuls f2, f1, f4
/* 80240B50 0023DAB0 EC 20 01 32 */ fmuls f1, f0, f4
/* 80240B54 0023DAB4 EC 1D 18 2A */ fadds f0, f29, f3
/* 80240B58 0023DAB8 D0 61 01 D8 */ stfs f3, 0x1d8(r1)
/* 80240B5C 0023DABC EC 9E 10 2A */ fadds f4, f30, f2
/* 80240B60 0023DAC0 EC 7F 08 2A */ fadds f3, f31, f1
/* 80240B64 0023DAC4 D0 41 01 DC */ stfs f2, 0x1dc(r1)
/* 80240B68 0023DAC8 D0 21 01 E0 */ stfs f1, 0x1e0(r1)
/* 80240B6C 0023DACC D0 01 02 00 */ stfs f0, 0x200(r1)
/* 80240B70 0023DAD0 D0 81 02 04 */ stfs f4, 0x204(r1)
/* 80240B74 0023DAD4 D0 61 02 08 */ stfs f3, 0x208(r1)
/* 80240B78 0023DAD8 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240B7C 0023DADC 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18
/* 80240B80 0023DAE0 41 82 00 24 */ beq lbl_80240BA4
/* 80240B84 0023DAE4 7F 83 E3 78 */ mr r3, r28
/* 80240B88 0023DAE8 38 9C 02 98 */ addi r4, r28, 0x298
/* 80240B8C 0023DAEC 48 00 04 49 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240B90 0023DAF0 38 7C 02 98 */ addi r3, r28, 0x298
/* 80240B94 0023DAF4 48 00 0A 45 */ bl GetValue__16SSpindlePropertyCFf
/* 80240B98 0023DAF8 EC 1A 08 2A */ fadds f0, f26, f1
/* 80240B9C 0023DAFC D0 01 02 08 */ stfs f0, 0x208(r1)
/* 80240BA0 0023DB00 48 00 00 20 */ b lbl_80240BC0
lbl_80240BA4:
/* 80240BA4 0023DB04 7F 83 E3 78 */ mr r3, r28
/* 80240BA8 0023DB08 38 9C 02 98 */ addi r4, r28, 0x298
/* 80240BAC 0023DB0C 48 00 04 29 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240BB0 0023DB10 38 7C 02 98 */ addi r3, r28, 0x298
/* 80240BB4 0023DB14 48 00 0A 25 */ bl GetValue__16SSpindlePropertyCFf
/* 80240BB8 0023DB18 EC 1F 08 2A */ fadds f0, f31, f1
/* 80240BBC 0023DB1C D0 01 02 08 */ stfs f0, 0x208(r1)
lbl_80240BC0:
/* 80240BC0 0023DB20 C0 01 02 08 */ lfs f0, 0x208(r1)
/* 80240BC4 0023DB24 38 7C 01 B8 */ addi r3, r28, 0x1b8
/* 80240BC8 0023DB28 38 81 00 30 */ addi r4, r1, 0x30
/* 80240BCC 0023DB2C 38 BC 01 BC */ addi r5, r28, 0x1bc
/* 80240BD0 0023DB30 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80240BD4 0023DB34 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80240BD8 0023DB38 4B DC B6 DD */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80240BDC 0023DB3C C0 23 00 00 */ lfs f1, 0(r3)
/* 80240BE0 0023DB40 EC 01 F8 2A */ fadds f0, f1, f31
/* 80240BE4 0023DB44 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80240BE8 0023DB48 D0 01 02 08 */ stfs f0, 0x208(r1)
/* 80240BEC 0023DB4C 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240BF0 0023DB50 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 80240BF4 0023DB54 41 82 00 20 */ beq lbl_80240C14
/* 80240BF8 0023DB58 7F 83 E3 78 */ mr r3, r28
/* 80240BFC 0023DB5C 38 9C 02 80 */ addi r4, r28, 0x280
/* 80240C00 0023DB60 48 00 03 D5 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240C04 0023DB64 38 7C 02 80 */ addi r3, r28, 0x280
/* 80240C08 0023DB68 48 00 09 D1 */ bl GetValue__16SSpindlePropertyCFf
/* 80240C0C 0023DB6C EE 5A 08 2A */ fadds f18, f26, f1
/* 80240C10 0023DB70 48 00 00 1C */ b lbl_80240C2C
lbl_80240C14:
/* 80240C14 0023DB74 7F 83 E3 78 */ mr r3, r28
/* 80240C18 0023DB78 38 9C 02 80 */ addi r4, r28, 0x280
/* 80240C1C 0023DB7C 48 00 03 B9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240C20 0023DB80 38 7C 02 80 */ addi r3, r28, 0x280
/* 80240C24 0023DB84 48 00 09 B5 */ bl GetValue__16SSpindlePropertyCFf
/* 80240C28 0023DB88 EE 5F 08 2A */ fadds f18, f31, f1
lbl_80240C2C:
/* 80240C2C 0023DB8C C0 01 02 08 */ lfs f0, 0x208(r1)
/* 80240C30 0023DB90 FE 80 90 90 */ fmr f20, f18
/* 80240C34 0023DB94 C0 21 02 04 */ lfs f1, 0x204(r1)
/* 80240C38 0023DB98 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80240C3C 0023DB9C EC 52 00 28 */ fsubs f2, f18, f0
/* 80240C40 0023DBA0 C0 01 02 00 */ lfs f0, 0x200(r1)
/* 80240C44 0023DBA4 EC 7C 08 28 */ fsubs f3, f28, f1
/* 80240C48 0023DBA8 EC 3B 00 28 */ fsubs f1, f27, f0
/* 80240C4C 0023DBAC C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240C50 0023DBB0 D0 41 01 B0 */ stfs f2, 0x1b0(r1)
/* 80240C54 0023DBB4 D0 21 01 B4 */ stfs f1, 0x1b4(r1)
/* 80240C58 0023DBB8 D0 61 01 B8 */ stfs f3, 0x1b8(r1)
/* 80240C5C 0023DBBC D0 41 01 BC */ stfs f2, 0x1bc(r1)
/* 80240C60 0023DBC0 D0 21 01 A8 */ stfs f1, 0x1a8(r1)
/* 80240C64 0023DBC4 D0 61 01 AC */ stfs f3, 0x1ac(r1)
/* 80240C68 0023DBC8 D0 01 01 B0 */ stfs f0, 0x1b0(r1)
/* 80240C6C 0023DBCC 48 0D 3A 8D */ bl CanBeNormalized__9CVector3fCFv
/* 80240C70 0023DBD0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240C74 0023DBD4 41 82 01 C8 */ beq lbl_80240E3C
/* 80240C78 0023DBD8 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80240C7C 0023DBDC 48 0D 3C 3D */ bl Magnitude__9CVector3fCFv
/* 80240C80 0023DBE0 FE 60 08 90 */ fmr f19, f1
/* 80240C84 0023DBE4 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80240C88 0023DBE8 48 0D 3C 71 */ bl Normalize__9CVector3fFv
/* 80240C8C 0023DBEC 7F 83 E3 78 */ mr r3, r28
/* 80240C90 0023DBF0 38 9C 02 68 */ addi r4, r28, 0x268
/* 80240C94 0023DBF4 48 00 03 41 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
/* 80240C98 0023DBF8 38 7C 02 68 */ addi r3, r28, 0x268
/* 80240C9C 0023DBFC 48 00 09 3D */ bl GetValue__16SSpindlePropertyCFf
/* 80240CA0 0023DC00 C0 01 02 08 */ lfs f0, 0x208(r1)
/* 80240CA4 0023DC04 FE 80 08 50 */ fneg f20, f1
/* 80240CA8 0023DC08 C0 21 02 04 */ lfs f1, 0x204(r1)
/* 80240CAC 0023DC0C 38 61 01 9C */ addi r3, r1, 0x19c
/* 80240CB0 0023DC10 EC 40 F8 28 */ fsubs f2, f0, f31
/* 80240CB4 0023DC14 C0 01 02 00 */ lfs f0, 0x200(r1)
/* 80240CB8 0023DC18 EC 61 F0 28 */ fsubs f3, f1, f30
/* 80240CBC 0023DC1C EC 20 E8 28 */ fsubs f1, f0, f29
/* 80240CC0 0023DC20 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240CC4 0023DC24 D0 41 01 A4 */ stfs f2, 0x1a4(r1)
/* 80240CC8 0023DC28 D0 21 01 9C */ stfs f1, 0x19c(r1)
/* 80240CCC 0023DC2C D0 61 01 A0 */ stfs f3, 0x1a0(r1)
/* 80240CD0 0023DC30 D0 01 01 A4 */ stfs f0, 0x1a4(r1)
/* 80240CD4 0023DC34 48 0D 3A 25 */ bl CanBeNormalized__9CVector3fCFv
/* 80240CD8 0023DC38 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240CDC 0023DC3C 41 82 00 10 */ beq lbl_80240CEC
/* 80240CE0 0023DC40 38 61 01 9C */ addi r3, r1, 0x19c
/* 80240CE4 0023DC44 48 0D 3C 15 */ bl Normalize__9CVector3fFv
/* 80240CE8 0023DC48 48 00 00 18 */ b lbl_80240D00
lbl_80240CEC:
/* 80240CEC 0023DC4C C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2)
/* 80240CF0 0023DC50 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2)
/* 80240CF4 0023DC54 D0 21 01 9C */ stfs f1, 0x19c(r1)
/* 80240CF8 0023DC58 D0 01 01 A0 */ stfs f0, 0x1a0(r1)
/* 80240CFC 0023DC5C D0 21 01 A4 */ stfs f1, 0x1a4(r1)
lbl_80240D00:
/* 80240D00 0023DC60 C0 C1 01 A0 */ lfs f6, 0x1a0(r1)
/* 80240D04 0023DC64 C0 81 02 24 */ lfs f4, 0x224(r1)
/* 80240D08 0023DC68 C1 01 01 A4 */ lfs f8, 0x1a4(r1)
/* 80240D0C 0023DC6C C0 E1 02 28 */ lfs f7, 0x228(r1)
/* 80240D10 0023DC70 EC 04 01 B2 */ fmuls f0, f4, f6
/* 80240D14 0023DC74 C0 A1 01 9C */ lfs f5, 0x19c(r1)
/* 80240D18 0023DC78 C1 21 02 2C */ lfs f9, 0x22c(r1)
/* 80240D1C 0023DC7C EC 67 02 32 */ fmuls f3, f7, f8
/* 80240D20 0023DC80 EC 25 01 F8 */ fmsubs f1, f5, f7, f0
/* 80240D24 0023DC84 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 80240D28 0023DC88 EC 49 01 72 */ fmuls f2, f9, f5
/* 80240D2C 0023DC8C EC 66 1A 78 */ fmsubs f3, f6, f9, f3
/* 80240D30 0023DC90 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80240D34 0023DC94 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 80240D38 0023DC98 EC 08 11 38 */ fmsubs f0, f8, f4, f2
/* 80240D3C 0023DC9C D0 61 00 6C */ stfs f3, 0x6c(r1)
/* 80240D40 0023DCA0 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80240D44 0023DCA4 4C 41 13 82 */ cror 2, 1, 2
/* 80240D48 0023DCA8 40 82 00 08 */ bne lbl_80240D50
/* 80240D4C 0023DCAC FE 80 A0 50 */ fneg f20, f20
lbl_80240D50:
/* 80240D50 0023DCB0 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240D54 0023DCB4 54 00 04 E7 */ rlwinm. r0, r0, 0, 0x13, 0x13
/* 80240D58 0023DCB8 41 82 00 6C */ beq lbl_80240DC4
/* 80240D5C 0023DCBC EC 27 01 B2 */ fmuls f1, f7, f6
/* 80240D60 0023DCC0 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 80240D64 0023DCC4 EC 24 09 7A */ fmadds f1, f4, f5, f1
/* 80240D68 0023DCC8 EC 49 0A 3A */ fmadds f2, f9, f8, f1
/* 80240D6C 0023DCCC FC 20 12 10 */ fabs f1, f2
/* 80240D70 0023DCD0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80240D74 0023DCD4 40 81 00 14 */ ble lbl_80240D88
/* 80240D78 0023DCD8 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240D7C 0023DCDC C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2)
/* 80240D80 0023DCE0 FC 02 00 6E */ fsel f0, f2, f1, f0
/* 80240D84 0023DCE4 EC 41 00 32 */ fmuls f2, f1, f0
lbl_80240D88:
/* 80240D88 0023DCE8 FC 00 12 10 */ fabs f0, f2
/* 80240D8C 0023DCEC FC 20 00 18 */ frsp f1, f0
/* 80240D90 0023DCF0 48 15 3E 9D */ bl acos
/* 80240D94 0023DCF4 FC 40 08 18 */ frsp f2, f1
/* 80240D98 0023DCF8 C0 22 B7 FC */ lfs f1, lbl_805AD51C@sda21(r2)
/* 80240D9C 0023DCFC C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2)
/* 80240DA0 0023DD00 EC 42 08 24 */ fdivs f2, f2, f1
/* 80240DA4 0023DD04 FC 20 12 10 */ fabs f1, f2
/* 80240DA8 0023DD08 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80240DAC 0023DD0C 40 81 00 14 */ ble lbl_80240DC0
/* 80240DB0 0023DD10 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2)
/* 80240DB4 0023DD14 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2)
/* 80240DB8 0023DD18 FC 02 00 6E */ fsel f0, f2, f1, f0
/* 80240DBC 0023DD1C EC 41 00 32 */ fmuls f2, f1, f0
lbl_80240DC0:
/* 80240DC0 0023DD20 EE 94 00 B2 */ fmuls f20, f20, f2
lbl_80240DC4:
/* 80240DC4 0023DD24 D2 81 00 10 */ stfs f20, 0x10(r1)
/* 80240DC8 0023DD28 38 61 00 5C */ addi r3, r1, 0x5c
/* 80240DCC 0023DD2C 38 81 00 10 */ addi r4, r1, 0x10
/* 80240DD0 0023DD30 48 0D 03 29 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 80240DD4 0023DD34 C0 61 00 5C */ lfs f3, 0x5c(r1)
/* 80240DD8 0023DD38 38 61 00 50 */ addi r3, r1, 0x50
/* 80240DDC 0023DD3C C0 41 00 60 */ lfs f2, 0x60(r1)
/* 80240DE0 0023DD40 38 81 01 8C */ addi r4, r1, 0x18c
/* 80240DE4 0023DD44 C0 21 00 64 */ lfs f1, 0x64(r1)
/* 80240DE8 0023DD48 38 A1 01 A8 */ addi r5, r1, 0x1a8
/* 80240DEC 0023DD4C C0 01 00 68 */ lfs f0, 0x68(r1)
/* 80240DF0 0023DD50 D0 61 01 8C */ stfs f3, 0x18c(r1)
/* 80240DF4 0023DD54 D0 41 01 90 */ stfs f2, 0x190(r1)
/* 80240DF8 0023DD58 D0 21 01 94 */ stfs f1, 0x194(r1)
/* 80240DFC 0023DD5C D0 01 01 98 */ stfs f0, 0x198(r1)
/* 80240E00 0023DD60 48 0D 04 65 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80240E04 0023DD64 FC 20 A0 90 */ fmr f1, f20
/* 80240E08 0023DD68 C2 A1 00 50 */ lfs f21, 0x50(r1)
/* 80240E0C 0023DD6C C2 C1 00 54 */ lfs f22, 0x54(r1)
/* 80240E10 0023DD70 48 15 35 E1 */ bl cos
/* 80240E14 0023DD74 FC 00 08 18 */ frsp f0, f1
/* 80240E18 0023DD78 C0 61 02 00 */ lfs f3, 0x200(r1)
/* 80240E1C 0023DD7C C0 21 02 04 */ lfs f1, 0x204(r1)
/* 80240E20 0023DD80 FE 80 90 90 */ fmr f20, f18
/* 80240E24 0023DD84 EC 40 05 72 */ fmuls f2, f0, f21
/* 80240E28 0023DD88 EC 00 05 B2 */ fmuls f0, f0, f22
/* 80240E2C 0023DD8C EC 53 00 B2 */ fmuls f2, f19, f2
/* 80240E30 0023DD90 EC 13 00 32 */ fmuls f0, f19, f0
/* 80240E34 0023DD94 EF 63 10 2A */ fadds f27, f3, f2
/* 80240E38 0023DD98 EF 81 00 2A */ fadds f28, f1, f0
lbl_80240E3C:
/* 80240E3C 0023DD9C C0 61 02 00 */ lfs f3, 0x200(r1)
/* 80240E40 0023DDA0 C0 81 02 04 */ lfs f4, 0x204(r1)
/* 80240E44 0023DDA4 C0 01 02 08 */ lfs f0, 0x208(r1)
/* 80240E48 0023DDA8 EC 5B 18 28 */ fsubs f2, f27, f3
/* 80240E4C 0023DDAC EC 3C 20 28 */ fsubs f1, f28, f4
/* 80240E50 0023DDB0 EC 14 00 28 */ fsubs f0, f20, f0
/* 80240E54 0023DDB4 D0 41 01 B4 */ stfs f2, 0x1b4(r1)
/* 80240E58 0023DDB8 D0 21 01 B8 */ stfs f1, 0x1b8(r1)
/* 80240E5C 0023DDBC D0 01 01 BC */ stfs f0, 0x1bc(r1)
/* 80240E60 0023DDC0 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240E64 0023DDC4 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80240E68 0023DDC8 41 82 00 20 */ beq lbl_80240E88
/* 80240E6C 0023DDCC EC 3D 18 28 */ fsubs f1, f29, f3
/* 80240E70 0023DDD0 D0 01 01 BC */ stfs f0, 0x1bc(r1)
/* 80240E74 0023DDD4 EC 1E 20 28 */ fsubs f0, f30, f4
/* 80240E78 0023DDD8 FF 60 E8 90 */ fmr f27, f29
/* 80240E7C 0023DDDC FF 80 F0 90 */ fmr f28, f30
/* 80240E80 0023DDE0 D0 21 01 B4 */ stfs f1, 0x1b4(r1)
/* 80240E84 0023DDE4 D0 01 01 B8 */ stfs f0, 0x1b8(r1)
lbl_80240E88:
/* 80240E88 0023DDE8 80 1C 01 88 */ lwz r0, 0x188(r28)
/* 80240E8C 0023DDEC 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
/* 80240E90 0023DDF0 41 82 00 1C */ beq lbl_80240EAC
/* 80240E94 0023DDF4 EC 5B E8 28 */ fsubs f2, f27, f29
/* 80240E98 0023DDF8 EC 3C F0 28 */ fsubs f1, f28, f30
/* 80240E9C 0023DDFC EC 14 A0 28 */ fsubs f0, f20, f20
/* 80240EA0 0023DE00 D0 41 01 B4 */ stfs f2, 0x1b4(r1)
/* 80240EA4 0023DE04 D0 21 01 B8 */ stfs f1, 0x1b8(r1)
/* 80240EA8 0023DE08 D0 01 01 BC */ stfs f0, 0x1bc(r1)
lbl_80240EAC:
/* 80240EAC 0023DE0C 38 61 01 B4 */ addi r3, r1, 0x1b4
/* 80240EB0 0023DE10 48 0D 38 49 */ bl CanBeNormalized__9CVector3fCFv
/* 80240EB4 0023DE14 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80240EB8 0023DE18 41 82 00 8C */ beq lbl_80240F44
/* 80240EBC 0023DE1C 38 61 00 38 */ addi r3, r1, 0x38
/* 80240EC0 0023DE20 38 81 01 B4 */ addi r4, r1, 0x1b4
/* 80240EC4 0023DE24 48 0D 39 8D */ bl AsNormalized__9CVector3fCFv
/* 80240EC8 0023DE28 C0 21 02 04 */ lfs f1, 0x204(r1)
/* 80240ECC 0023DE2C 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 80240ED0 0023DE30 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80240ED4 0023DE34 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@l
/* 80240ED8 0023DE38 C0 61 02 08 */ lfs f3, 0x208(r1)
/* 80240EDC 0023DE3C 38 61 02 3C */ addi r3, r1, 0x23c
/* 80240EE0 0023DE40 EC 81 00 2A */ fadds f4, f1, f0
/* 80240EE4 0023DE44 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 80240EE8 0023DE48 C0 21 02 00 */ lfs f1, 0x200(r1)
/* 80240EEC 0023DE4C 38 81 02 00 */ addi r4, r1, 0x200
/* 80240EF0 0023DE50 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 80240EF4 0023DE54 EC 43 10 2A */ fadds f2, f3, f2
/* 80240EF8 0023DE58 EC 01 00 2A */ fadds f0, f1, f0
/* 80240EFC 0023DE5C D0 81 00 48 */ stfs f4, 0x48(r1)
/* 80240F00 0023DE60 38 A1 00 44 */ addi r5, r1, 0x44
/* 80240F04 0023DE64 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 80240F08 0023DE68 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80240F0C 0023DE6C 48 0D 2C 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80240F10 0023DE70 38 7C 00 34 */ addi r3, r28, 0x34
/* 80240F14 0023DE74 38 81 02 3C */ addi r4, r1, 0x23c
/* 80240F18 0023DE78 48 0D 1C 29 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80240F1C 0023DE7C 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 80240F20 0023DE80 38 60 00 01 */ li r3, 1
/* 80240F24 0023DE84 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 80240F28 0023DE88 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 80240F2C 0023DE8C 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 80240F30 0023DE90 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 80240F34 0023DE94 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 80240F38 0023DE98 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 80240F3C 0023DE9C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80240F40 0023DEA0 98 1C 00 E4 */ stb r0, 0xe4(r28)
lbl_80240F44:
/* 80240F44 0023DEA4 E3 E1 03 58 */ psq_l f31, 856(r1), 0, qr0
/* 80240F48 0023DEA8 CB E1 03 50 */ lfd f31, 0x350(r1)
/* 80240F4C 0023DEAC E3 C1 03 48 */ psq_l f30, 840(r1), 0, qr0
/* 80240F50 0023DEB0 CB C1 03 40 */ lfd f30, 0x340(r1)
/* 80240F54 0023DEB4 E3 A1 03 38 */ psq_l f29, 824(r1), 0, qr0
/* 80240F58 0023DEB8 CB A1 03 30 */ lfd f29, 0x330(r1)
/* 80240F5C 0023DEBC E3 81 03 28 */ psq_l f28, 808(r1), 0, qr0
/* 80240F60 0023DEC0 CB 81 03 20 */ lfd f28, 0x320(r1)
/* 80240F64 0023DEC4 E3 61 03 18 */ psq_l f27, 792(r1), 0, qr0
/* 80240F68 0023DEC8 CB 61 03 10 */ lfd f27, 0x310(r1)
/* 80240F6C 0023DECC E3 41 03 08 */ psq_l f26, 776(r1), 0, qr0
/* 80240F70 0023DED0 CB 41 03 00 */ lfd f26, 0x300(r1)
/* 80240F74 0023DED4 E3 21 02 F8 */ psq_l f25, 760(r1), 0, qr0
/* 80240F78 0023DED8 CB 21 02 F0 */ lfd f25, 0x2f0(r1)
/* 80240F7C 0023DEDC E3 01 02 E8 */ psq_l f24, 744(r1), 0, qr0
/* 80240F80 0023DEE0 CB 01 02 E0 */ lfd f24, 0x2e0(r1)
/* 80240F84 0023DEE4 E2 E1 02 D8 */ psq_l f23, 728(r1), 0, qr0
/* 80240F88 0023DEE8 CA E1 02 D0 */ lfd f23, 0x2d0(r1)
/* 80240F8C 0023DEEC E2 C1 02 C8 */ psq_l f22, 712(r1), 0, qr0
/* 80240F90 0023DEF0 CA C1 02 C0 */ lfd f22, 0x2c0(r1)
/* 80240F94 0023DEF4 E2 A1 02 B8 */ psq_l f21, 696(r1), 0, qr0
/* 80240F98 0023DEF8 CA A1 02 B0 */ lfd f21, 0x2b0(r1)
/* 80240F9C 0023DEFC E2 81 02 A8 */ psq_l f20, 680(r1), 0, qr0
/* 80240FA0 0023DF00 CA 81 02 A0 */ lfd f20, 0x2a0(r1)
/* 80240FA4 0023DF04 E2 61 02 98 */ psq_l f19, 664(r1), 0, qr0
/* 80240FA8 0023DF08 CA 61 02 90 */ lfd f19, 0x290(r1)
/* 80240FAC 0023DF0C E2 41 02 88 */ psq_l f18, 648(r1), 0, qr0
/* 80240FB0 0023DF10 CA 41 02 80 */ lfd f18, 0x280(r1)
/* 80240FB4 0023DF14 83 E1 02 7C */ lwz r31, 0x27c(r1)
/* 80240FB8 0023DF18 83 C1 02 78 */ lwz r30, 0x278(r1)
/* 80240FBC 0023DF1C 83 A1 02 74 */ lwz r29, 0x274(r1)
/* 80240FC0 0023DF20 80 01 03 64 */ lwz r0, 0x364(r1)
/* 80240FC4 0023DF24 83 81 02 70 */ lwz r28, 0x270(r1)
/* 80240FC8 0023DF28 7C 08 03 A6 */ mtlr r0
/* 80240FCC 0023DF2C 38 21 03 60 */ addi r1, r1, 0x360
/* 80240FD0 0023DF30 4E 80 00 20 */ blr
.global GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty
GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty:
/* 80240FD4 0023DF34 80 04 00 04 */ lwz r0, 4(r4)
/* 80240FD8 0023DF38 54 00 10 3A */ slwi r0, r0, 2
/* 80240FDC 0023DF3C 7C 63 02 14 */ add r3, r3, r0
/* 80240FE0 0023DF40 C0 23 01 90 */ lfs f1, 0x190(r3)
/* 80240FE4 0023DF44 4E 80 00 20 */ blr
.global Reset__20CScriptSpindleCameraFRC12CTransform4fR13CStateManager
Reset__20CScriptSpindleCameraFRC12CTransform4fR13CStateManager:
/* 80240FE8 0023DF48 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80240FEC 0023DF4C 7C 08 02 A6 */ mflr r0
/* 80240FF0 0023DF50 90 01 00 14 */ stw r0, 0x14(r1)
/* 80240FF4 0023DF54 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80240FF8 0023DF58 7C BF 2B 78 */ mr r31, r5
/* 80240FFC 0023DF5C 7F E4 FB 78 */ mr r4, r31
/* 80241000 0023DF60 93 C1 00 08 */ stw r30, 8(r1)
/* 80241004 0023DF64 7C 7E 1B 78 */ mr r30, r3
/* 80241008 0023DF68 80 65 08 70 */ lwz r3, 0x870(r5)
/* 8024100C 0023DF6C 4B DC 83 C5 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager
/* 80241010 0023DF70 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80241014 0023DF74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80241018 0023DF78 41 82 00 60 */ beq lbl_80241078
/* 8024101C 0023DF7C 28 03 00 00 */ cmplwi r3, 0
/* 80241020 0023DF80 40 82 00 08 */ bne lbl_80241028
/* 80241024 0023DF84 48 00 00 54 */ b lbl_80241078
lbl_80241028:
/* 80241028 0023DF88 88 1E 03 3C */ lbz r0, 0x33c(r30)
/* 8024102C 0023DF8C 38 60 00 01 */ li r3, 1
/* 80241030 0023DF90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80241034 0023DF94 C0 22 B8 00 */ lfs f1, lbl_805AD520@sda21(r2)
/* 80241038 0023DF98 98 1E 03 3C */ stb r0, 0x33c(r30)
/* 8024103C 0023DF9C 7F E4 FB 78 */ mr r4, r31
/* 80241040 0023DFA0 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80241044 0023DFA4 80 63 00 80 */ lwz r3, 0x80(r3)
/* 80241048 0023DFA8 4B E4 2A 1D */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager
/* 8024104C 0023DFAC 7F C3 F3 78 */ mr r3, r30
/* 80241050 0023DFB0 7F E4 FB 78 */ mr r4, r31
/* 80241054 0023DFB4 81 9E 00 00 */ lwz r12, 0(r30)
/* 80241058 0023DFB8 C0 22 B8 00 */ lfs f1, lbl_805AD520@sda21(r2)
/* 8024105C 0023DFBC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80241060 0023DFC0 7D 89 03 A6 */ mtctr r12
/* 80241064 0023DFC4 4E 80 04 21 */ bctrl
/* 80241068 0023DFC8 88 1E 03 3C */ lbz r0, 0x33c(r30)
/* 8024106C 0023DFCC 38 60 00 00 */ li r3, 0
/* 80241070 0023DFD0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80241074 0023DFD4 98 1E 03 3C */ stb r0, 0x33c(r30)
lbl_80241078:
/* 80241078 0023DFD8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024107C 0023DFDC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80241080 0023DFE0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80241084 0023DFE4 7C 08 03 A6 */ mtlr r0
/* 80241088 0023DFE8 38 21 00 10 */ addi r1, r1, 0x10
/* 8024108C 0023DFEC 4E 80 00 20 */ blr
.global __dt__20CScriptSpindleCameraFv
__dt__20CScriptSpindleCameraFv:
/* 80241090 0023DFF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80241094 0023DFF4 7C 08 02 A6 */ mflr r0
/* 80241098 0023DFF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024109C 0023DFFC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802410A0 0023E000 7C 9F 23 78 */ mr r31, r4
/* 802410A4 0023E004 93 C1 00 08 */ stw r30, 8(r1)
/* 802410A8 0023E008 7C 7E 1B 79 */ or. r30, r3, r3
/* 802410AC 0023E00C 41 82 00 88 */ beq lbl_80241134
/* 802410B0 0023E010 3C 60 80 3F */ lis r3, lbl_803E8670@ha
/* 802410B4 0023E014 34 1E 01 8C */ addic. r0, r30, 0x18c
/* 802410B8 0023E018 38 03 86 70 */ addi r0, r3, lbl_803E8670@l
/* 802410BC 0023E01C 90 1E 00 00 */ stw r0, 0(r30)
/* 802410C0 0023E020 41 82 00 58 */ beq lbl_80241118
/* 802410C4 0023E024 80 BE 01 8C */ lwz r5, 0x18c(r30)
/* 802410C8 0023E028 38 60 00 00 */ li r3, 0
/* 802410CC 0023E02C 2C 05 00 00 */ cmpwi r5, 0
/* 802410D0 0023E030 40 81 00 40 */ ble lbl_80241110
/* 802410D4 0023E034 2C 05 00 08 */ cmpwi r5, 8
/* 802410D8 0023E038 38 85 FF F8 */ addi r4, r5, -8
/* 802410DC 0023E03C 40 81 00 20 */ ble lbl_802410FC
/* 802410E0 0023E040 38 04 00 07 */ addi r0, r4, 7
/* 802410E4 0023E044 54 00 E8 FE */ srwi r0, r0, 3
/* 802410E8 0023E048 7C 09 03 A6 */ mtctr r0
/* 802410EC 0023E04C 2C 04 00 00 */ cmpwi r4, 0
/* 802410F0 0023E050 40 81 00 0C */ ble lbl_802410FC
lbl_802410F4:
/* 802410F4 0023E054 38 63 00 08 */ addi r3, r3, 8
/* 802410F8 0023E058 42 00 FF FC */ bdnz lbl_802410F4
lbl_802410FC:
/* 802410FC 0023E05C 7C 03 28 50 */ subf r0, r3, r5
/* 80241100 0023E060 7C 09 03 A6 */ mtctr r0
/* 80241104 0023E064 7C 03 28 00 */ cmpw r3, r5
/* 80241108 0023E068 40 80 00 08 */ bge lbl_80241110
lbl_8024110C:
/* 8024110C 0023E06C 42 00 00 00 */ bdnz lbl_8024110C
lbl_80241110:
/* 80241110 0023E070 38 00 00 00 */ li r0, 0
/* 80241114 0023E074 90 1E 01 8C */ stw r0, 0x18c(r30)
lbl_80241118:
/* 80241118 0023E078 7F C3 F3 78 */ mr r3, r30
/* 8024111C 0023E07C 38 80 00 00 */ li r4, 0
/* 80241120 0023E080 4B E1 C9 3D */ bl __dt__11CGameCameraFv
/* 80241124 0023E084 7F E0 07 35 */ extsh. r0, r31
/* 80241128 0023E088 40 81 00 0C */ ble lbl_80241134
/* 8024112C 0023E08C 7F C3 F3 78 */ mr r3, r30
/* 80241130 0023E090 48 0D 48 01 */ bl Free__7CMemoryFPCv
lbl_80241134:
/* 80241134 0023E094 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80241138 0023E098 7F C3 F3 78 */ mr r3, r30
/* 8024113C 0023E09C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80241140 0023E0A0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80241144 0023E0A4 7C 08 03 A6 */ mtlr r0
/* 80241148 0023E0A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8024114C 0023E0AC 4E 80 00 20 */ blr
.global __ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox
__ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox:
/* 80241150 0023E0B0 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80241154 0023E0B4 7C 08 02 A6 */ mflr r0
/* 80241158 0023E0B8 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8024115C 0023E0BC DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 80241160 0023E0C0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 80241164 0023E0C4 DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 80241168 0023E0C8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0
/* 8024116C 0023E0CC DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 80241170 0023E0D0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0
/* 80241174 0023E0D4 DB 81 00 A0 */ stfd f28, 0xa0(r1)
/* 80241178 0023E0D8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0
/* 8024117C 0023E0DC DB 61 00 90 */ stfd f27, 0x90(r1)
/* 80241180 0023E0E0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0
/* 80241184 0023E0E4 DB 41 00 80 */ stfd f26, 0x80(r1)
/* 80241188 0023E0E8 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0
/* 8024118C 0023E0EC DB 21 00 70 */ stfd f25, 0x70(r1)
/* 80241190 0023E0F0 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0
/* 80241194 0023E0F4 BD C1 00 28 */ stmw r14, 0x28(r1)
/* 80241198 0023E0F8 A1 6D A3 8C */ lhz r11, kInvalidUniqueId@sda21(r13)
/* 8024119C 0023E0FC FF 20 08 90 */ fmr f25, f1
/* 802411A0 0023E100 A0 04 00 00 */ lhz r0, 0(r4)
/* 802411A4 0023E104 FF 40 10 90 */ fmr f26, f2
/* 802411A8 0023E108 FF 60 18 90 */ fmr f27, f3
/* 802411AC 0023E10C B1 61 00 1C */ sth r11, 0x1c(r1)
/* 802411B0 0023E110 FF 80 20 90 */ fmr f28, f4
/* 802411B4 0023E114 B0 01 00 20 */ sth r0, 0x20(r1)
/* 802411B8 0023E118 7C 6F 1B 78 */ mr r15, r3
/* 802411BC 0023E11C 82 41 00 E8 */ lwz r18, 0xe8(r1)
/* 802411C0 0023E120 82 61 00 EC */ lwz r19, 0xec(r1)
/* 802411C4 0023E124 7C AE 2B 78 */ mr r14, r5
/* 802411C8 0023E128 82 81 00 F0 */ lwz r20, 0xf0(r1)
/* 802411CC 0023E12C 7C F0 3B 78 */ mr r16, r7
/* 802411D0 0023E130 90 C1 00 10 */ stw r6, 0x10(r1)
/* 802411D4 0023E134 7D 51 53 78 */ mr r17, r10
/* 802411D8 0023E138 82 A1 00 F4 */ lwz r21, 0xf4(r1)
/* 802411DC 0023E13C 82 C1 00 F8 */ lwz r22, 0xf8(r1)
/* 802411E0 0023E140 99 01 00 14 */ stb r8, 0x14(r1)
/* 802411E4 0023E144 82 E1 00 FC */ lwz r23, 0xfc(r1)
/* 802411E8 0023E148 91 21 00 18 */ stw r9, 0x18(r1)
/* 802411EC 0023E14C 83 01 01 00 */ lwz r24, 0x100(r1)
/* 802411F0 0023E150 83 21 01 04 */ lwz r25, 0x104(r1)
/* 802411F4 0023E154 83 41 01 08 */ lwz r26, 0x108(r1)
/* 802411F8 0023E158 83 61 01 0C */ lwz r27, 0x10c(r1)
/* 802411FC 0023E15C 83 81 01 10 */ lwz r28, 0x110(r1)
/* 80241200 0023E160 83 A1 01 14 */ lwz r29, 0x114(r1)
/* 80241204 0023E164 83 C1 01 18 */ lwz r30, 0x118(r1)
/* 80241208 0023E168 83 E1 01 1C */ lwz r31, 0x11c(r1)
/* 8024120C 0023E16C 4B DC AE AD */ bl DefaultAspect__14CCameraManagerFv
/* 80241210 0023E170 FF A0 08 90 */ fmr f29, f1
/* 80241214 0023E174 4B DC AE AD */ bl DefaultFarPlane__14CCameraManagerFv
/* 80241218 0023E178 FF C0 08 90 */ fmr f30, f1
/* 8024121C 0023E17C 4B DC AE AD */ bl DefaultNearPlane__14CCameraManagerFv
/* 80241220 0023E180 FF E0 08 90 */ fmr f31, f1
/* 80241224 0023E184 4B DC AE B5 */ bl DefaultThirdPersonFov__14CCameraManagerFv
/* 80241228 0023E188 38 00 00 00 */ li r0, 0
/* 8024122C 0023E18C FC 40 F8 90 */ fmr f2, f31
/* 80241230 0023E190 FC 60 F0 90 */ fmr f3, f30
/* 80241234 0023E194 90 01 00 08 */ stw r0, 8(r1)
/* 80241238 0023E198 FC 80 E8 90 */ fmr f4, f29
/* 8024123C 0023E19C 88 A1 00 14 */ lbz r5, 0x14(r1)
/* 80241240 0023E1A0 80 E1 00 10 */ lwz r7, 0x10(r1)
/* 80241244 0023E1A4 7D E3 7B 78 */ mr r3, r15
/* 80241248 0023E1A8 7D C6 73 78 */ mr r6, r14
/* 8024124C 0023E1AC 7E 08 83 78 */ mr r8, r16
/* 80241250 0023E1B0 38 81 00 20 */ addi r4, r1, 0x20
/* 80241254 0023E1B4 39 21 00 1C */ addi r9, r1, 0x1c
/* 80241258 0023E1B8 39 40 00 00 */ li r10, 0
/* 8024125C 0023E1BC 4B E1 C8 61 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi"
/* 80241260 0023E1C0 3C 60 80 3F */ lis r3, lbl_803E8670@ha
/* 80241264 0023E1C4 38 00 00 00 */ li r0, 0
/* 80241268 0023E1C8 38 63 86 70 */ addi r3, r3, lbl_803E8670@l
/* 8024126C 0023E1CC 90 6F 00 00 */ stw r3, 0(r15)
/* 80241270 0023E1D0 80 61 00 18 */ lwz r3, 0x18(r1)
/* 80241274 0023E1D4 90 6F 01 88 */ stw r3, 0x188(r15)
/* 80241278 0023E1D8 90 0F 01 8C */ stw r0, 0x18c(r15)
/* 8024127C 0023E1DC D3 2F 01 B0 */ stfs f25, 0x1b0(r15)
/* 80241280 0023E1E0 D3 4F 01 B4 */ stfs f26, 0x1b4(r15)
/* 80241284 0023E1E4 D3 6F 01 B8 */ stfs f27, 0x1b8(r15)
/* 80241288 0023E1E8 D3 8F 01 BC */ stfs f28, 0x1bc(r15)
/* 8024128C 0023E1EC 80 71 00 00 */ lwz r3, 0(r17)
/* 80241290 0023E1F0 90 6F 01 C0 */ stw r3, 0x1c0(r15)
/* 80241294 0023E1F4 80 71 00 04 */ lwz r3, 4(r17)
/* 80241298 0023E1F8 90 6F 01 C4 */ stw r3, 0x1c4(r15)
/* 8024129C 0023E1FC C0 11 00 08 */ lfs f0, 8(r17)
/* 802412A0 0023E200 D0 0F 01 C8 */ stfs f0, 0x1c8(r15)
/* 802412A4 0023E204 C0 11 00 0C */ lfs f0, 0xc(r17)
/* 802412A8 0023E208 D0 0F 01 CC */ stfs f0, 0x1cc(r15)
/* 802412AC 0023E20C C0 11 00 10 */ lfs f0, 0x10(r17)
/* 802412B0 0023E210 D0 0F 01 D0 */ stfs f0, 0x1d0(r15)
/* 802412B4 0023E214 C0 11 00 14 */ lfs f0, 0x14(r17)
/* 802412B8 0023E218 D0 0F 01 D4 */ stfs f0, 0x1d4(r15)
/* 802412BC 0023E21C 80 72 00 00 */ lwz r3, 0(r18)
/* 802412C0 0023E220 90 6F 01 D8 */ stw r3, 0x1d8(r15)
/* 802412C4 0023E224 80 72 00 04 */ lwz r3, 4(r18)
/* 802412C8 0023E228 90 6F 01 DC */ stw r3, 0x1dc(r15)
/* 802412CC 0023E22C C0 12 00 08 */ lfs f0, 8(r18)
/* 802412D0 0023E230 D0 0F 01 E0 */ stfs f0, 0x1e0(r15)
/* 802412D4 0023E234 C0 12 00 0C */ lfs f0, 0xc(r18)
/* 802412D8 0023E238 D0 0F 01 E4 */ stfs f0, 0x1e4(r15)
/* 802412DC 0023E23C C0 12 00 10 */ lfs f0, 0x10(r18)
/* 802412E0 0023E240 D0 0F 01 E8 */ stfs f0, 0x1e8(r15)
/* 802412E4 0023E244 C0 12 00 14 */ lfs f0, 0x14(r18)
/* 802412E8 0023E248 D0 0F 01 EC */ stfs f0, 0x1ec(r15)
/* 802412EC 0023E24C 80 73 00 00 */ lwz r3, 0(r19)
/* 802412F0 0023E250 90 6F 01 F0 */ stw r3, 0x1f0(r15)
/* 802412F4 0023E254 80 73 00 04 */ lwz r3, 4(r19)
/* 802412F8 0023E258 90 6F 01 F4 */ stw r3, 0x1f4(r15)
/* 802412FC 0023E25C C0 13 00 08 */ lfs f0, 8(r19)
/* 80241300 0023E260 D0 0F 01 F8 */ stfs f0, 0x1f8(r15)
/* 80241304 0023E264 C0 13 00 0C */ lfs f0, 0xc(r19)
/* 80241308 0023E268 D0 0F 01 FC */ stfs f0, 0x1fc(r15)
/* 8024130C 0023E26C C0 13 00 10 */ lfs f0, 0x10(r19)
/* 80241310 0023E270 D0 0F 02 00 */ stfs f0, 0x200(r15)
/* 80241314 0023E274 C0 13 00 14 */ lfs f0, 0x14(r19)
/* 80241318 0023E278 D0 0F 02 04 */ stfs f0, 0x204(r15)
/* 8024131C 0023E27C 80 74 00 00 */ lwz r3, 0(r20)
/* 80241320 0023E280 90 6F 02 08 */ stw r3, 0x208(r15)
/* 80241324 0023E284 80 74 00 04 */ lwz r3, 4(r20)
/* 80241328 0023E288 90 6F 02 0C */ stw r3, 0x20c(r15)
/* 8024132C 0023E28C C0 14 00 08 */ lfs f0, 8(r20)
/* 80241330 0023E290 D0 0F 02 10 */ stfs f0, 0x210(r15)
/* 80241334 0023E294 C0 14 00 0C */ lfs f0, 0xc(r20)
/* 80241338 0023E298 D0 0F 02 14 */ stfs f0, 0x214(r15)
/* 8024133C 0023E29C C0 14 00 10 */ lfs f0, 0x10(r20)
/* 80241340 0023E2A0 D0 0F 02 18 */ stfs f0, 0x218(r15)
/* 80241344 0023E2A4 C0 14 00 14 */ lfs f0, 0x14(r20)
/* 80241348 0023E2A8 D0 0F 02 1C */ stfs f0, 0x21c(r15)
/* 8024134C 0023E2AC 80 75 00 00 */ lwz r3, 0(r21)
/* 80241350 0023E2B0 90 6F 02 20 */ stw r3, 0x220(r15)
/* 80241354 0023E2B4 80 75 00 04 */ lwz r3, 4(r21)
/* 80241358 0023E2B8 90 6F 02 24 */ stw r3, 0x224(r15)
/* 8024135C 0023E2BC C0 15 00 08 */ lfs f0, 8(r21)
/* 80241360 0023E2C0 D0 0F 02 28 */ stfs f0, 0x228(r15)
/* 80241364 0023E2C4 C0 15 00 0C */ lfs f0, 0xc(r21)
/* 80241368 0023E2C8 D0 0F 02 2C */ stfs f0, 0x22c(r15)
/* 8024136C 0023E2CC C0 15 00 10 */ lfs f0, 0x10(r21)
/* 80241370 0023E2D0 D0 0F 02 30 */ stfs f0, 0x230(r15)
/* 80241374 0023E2D4 C0 15 00 14 */ lfs f0, 0x14(r21)
/* 80241378 0023E2D8 D0 0F 02 34 */ stfs f0, 0x234(r15)
/* 8024137C 0023E2DC 80 76 00 00 */ lwz r3, 0(r22)
/* 80241380 0023E2E0 90 6F 02 38 */ stw r3, 0x238(r15)
/* 80241384 0023E2E4 80 76 00 04 */ lwz r3, 4(r22)
/* 80241388 0023E2E8 90 6F 02 3C */ stw r3, 0x23c(r15)
/* 8024138C 0023E2EC C0 16 00 08 */ lfs f0, 8(r22)
/* 80241390 0023E2F0 D0 0F 02 40 */ stfs f0, 0x240(r15)
/* 80241394 0023E2F4 C0 16 00 0C */ lfs f0, 0xc(r22)
/* 80241398 0023E2F8 D0 0F 02 44 */ stfs f0, 0x244(r15)
/* 8024139C 0023E2FC C0 16 00 10 */ lfs f0, 0x10(r22)
/* 802413A0 0023E300 D0 0F 02 48 */ stfs f0, 0x248(r15)
/* 802413A4 0023E304 C0 16 00 14 */ lfs f0, 0x14(r22)
/* 802413A8 0023E308 D0 0F 02 4C */ stfs f0, 0x24c(r15)
/* 802413AC 0023E30C 80 77 00 00 */ lwz r3, 0(r23)
/* 802413B0 0023E310 90 6F 02 50 */ stw r3, 0x250(r15)
/* 802413B4 0023E314 80 77 00 04 */ lwz r3, 4(r23)
/* 802413B8 0023E318 90 6F 02 54 */ stw r3, 0x254(r15)
/* 802413BC 0023E31C C0 17 00 08 */ lfs f0, 8(r23)
/* 802413C0 0023E320 D0 0F 02 58 */ stfs f0, 0x258(r15)
/* 802413C4 0023E324 C0 17 00 0C */ lfs f0, 0xc(r23)
/* 802413C8 0023E328 D0 0F 02 5C */ stfs f0, 0x25c(r15)
/* 802413CC 0023E32C C0 17 00 10 */ lfs f0, 0x10(r23)
/* 802413D0 0023E330 D0 0F 02 60 */ stfs f0, 0x260(r15)
/* 802413D4 0023E334 C0 17 00 14 */ lfs f0, 0x14(r23)
/* 802413D8 0023E338 D0 0F 02 64 */ stfs f0, 0x264(r15)
/* 802413DC 0023E33C 80 78 00 00 */ lwz r3, 0(r24)
/* 802413E0 0023E340 90 6F 02 68 */ stw r3, 0x268(r15)
/* 802413E4 0023E344 80 78 00 04 */ lwz r3, 4(r24)
/* 802413E8 0023E348 90 6F 02 6C */ stw r3, 0x26c(r15)
/* 802413EC 0023E34C C0 18 00 08 */ lfs f0, 8(r24)
/* 802413F0 0023E350 D0 0F 02 70 */ stfs f0, 0x270(r15)
/* 802413F4 0023E354 C0 38 00 0C */ lfs f1, 0xc(r24)
/* 802413F8 0023E358 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2)
/* 802413FC 0023E35C D0 2F 02 74 */ stfs f1, 0x274(r15)
/* 80241400 0023E360 C0 38 00 10 */ lfs f1, 0x10(r24)
/* 80241404 0023E364 D0 2F 02 78 */ stfs f1, 0x278(r15)
/* 80241408 0023E368 C0 38 00 14 */ lfs f1, 0x14(r24)
/* 8024140C 0023E36C D0 2F 02 7C */ stfs f1, 0x27c(r15)
/* 80241410 0023E370 80 79 00 00 */ lwz r3, 0(r25)
/* 80241414 0023E374 90 6F 02 80 */ stw r3, 0x280(r15)
/* 80241418 0023E378 80 79 00 04 */ lwz r3, 4(r25)
/* 8024141C 0023E37C 90 6F 02 84 */ stw r3, 0x284(r15)
/* 80241420 0023E380 C0 39 00 08 */ lfs f1, 8(r25)
/* 80241424 0023E384 D0 2F 02 88 */ stfs f1, 0x288(r15)
/* 80241428 0023E388 C0 39 00 0C */ lfs f1, 0xc(r25)
/* 8024142C 0023E38C D0 2F 02 8C */ stfs f1, 0x28c(r15)
/* 80241430 0023E390 C0 39 00 10 */ lfs f1, 0x10(r25)
/* 80241434 0023E394 D0 2F 02 90 */ stfs f1, 0x290(r15)
/* 80241438 0023E398 C0 39 00 14 */ lfs f1, 0x14(r25)
/* 8024143C 0023E39C D0 2F 02 94 */ stfs f1, 0x294(r15)
/* 80241440 0023E3A0 80 7A 00 00 */ lwz r3, 0(r26)
/* 80241444 0023E3A4 90 6F 02 98 */ stw r3, 0x298(r15)
/* 80241448 0023E3A8 80 7A 00 04 */ lwz r3, 4(r26)
/* 8024144C 0023E3AC 90 6F 02 9C */ stw r3, 0x29c(r15)
/* 80241450 0023E3B0 C0 3A 00 08 */ lfs f1, 8(r26)
/* 80241454 0023E3B4 D0 2F 02 A0 */ stfs f1, 0x2a0(r15)
/* 80241458 0023E3B8 C0 3A 00 0C */ lfs f1, 0xc(r26)
/* 8024145C 0023E3BC D0 2F 02 A4 */ stfs f1, 0x2a4(r15)
/* 80241460 0023E3C0 C0 3A 00 10 */ lfs f1, 0x10(r26)
/* 80241464 0023E3C4 D0 2F 02 A8 */ stfs f1, 0x2a8(r15)
/* 80241468 0023E3C8 C0 3A 00 14 */ lfs f1, 0x14(r26)
/* 8024146C 0023E3CC D0 2F 02 AC */ stfs f1, 0x2ac(r15)
/* 80241470 0023E3D0 80 7B 00 00 */ lwz r3, 0(r27)
/* 80241474 0023E3D4 90 6F 02 B0 */ stw r3, 0x2b0(r15)
/* 80241478 0023E3D8 80 7B 00 04 */ lwz r3, 4(r27)
/* 8024147C 0023E3DC 90 6F 02 B4 */ stw r3, 0x2b4(r15)
/* 80241480 0023E3E0 C0 3B 00 08 */ lfs f1, 8(r27)
/* 80241484 0023E3E4 D0 2F 02 B8 */ stfs f1, 0x2b8(r15)
/* 80241488 0023E3E8 C0 3B 00 0C */ lfs f1, 0xc(r27)
/* 8024148C 0023E3EC D0 2F 02 BC */ stfs f1, 0x2bc(r15)
/* 80241490 0023E3F0 C0 3B 00 10 */ lfs f1, 0x10(r27)
/* 80241494 0023E3F4 D0 2F 02 C0 */ stfs f1, 0x2c0(r15)
/* 80241498 0023E3F8 C0 3B 00 14 */ lfs f1, 0x14(r27)
/* 8024149C 0023E3FC D0 2F 02 C4 */ stfs f1, 0x2c4(r15)
/* 802414A0 0023E400 80 7C 00 00 */ lwz r3, 0(r28)
/* 802414A4 0023E404 90 6F 02 C8 */ stw r3, 0x2c8(r15)
/* 802414A8 0023E408 80 7C 00 04 */ lwz r3, 4(r28)
/* 802414AC 0023E40C 90 6F 02 CC */ stw r3, 0x2cc(r15)
/* 802414B0 0023E410 C0 3C 00 08 */ lfs f1, 8(r28)
/* 802414B4 0023E414 D0 2F 02 D0 */ stfs f1, 0x2d0(r15)
/* 802414B8 0023E418 C0 3C 00 0C */ lfs f1, 0xc(r28)
/* 802414BC 0023E41C D0 2F 02 D4 */ stfs f1, 0x2d4(r15)
/* 802414C0 0023E420 C0 3C 00 10 */ lfs f1, 0x10(r28)
/* 802414C4 0023E424 D0 2F 02 D8 */ stfs f1, 0x2d8(r15)
/* 802414C8 0023E428 C0 3C 00 14 */ lfs f1, 0x14(r28)
/* 802414CC 0023E42C D0 2F 02 DC */ stfs f1, 0x2dc(r15)
/* 802414D0 0023E430 80 7D 00 00 */ lwz r3, 0(r29)
/* 802414D4 0023E434 90 6F 02 E0 */ stw r3, 0x2e0(r15)
/* 802414D8 0023E438 80 7D 00 04 */ lwz r3, 4(r29)
/* 802414DC 0023E43C 90 6F 02 E4 */ stw r3, 0x2e4(r15)
/* 802414E0 0023E440 C0 3D 00 08 */ lfs f1, 8(r29)
/* 802414E4 0023E444 D0 2F 02 E8 */ stfs f1, 0x2e8(r15)
/* 802414E8 0023E448 C0 3D 00 0C */ lfs f1, 0xc(r29)
/* 802414EC 0023E44C D0 2F 02 EC */ stfs f1, 0x2ec(r15)
/* 802414F0 0023E450 C0 3D 00 10 */ lfs f1, 0x10(r29)
/* 802414F4 0023E454 D0 2F 02 F0 */ stfs f1, 0x2f0(r15)
/* 802414F8 0023E458 C0 3D 00 14 */ lfs f1, 0x14(r29)
/* 802414FC 0023E45C D0 2F 02 F4 */ stfs f1, 0x2f4(r15)
/* 80241500 0023E460 80 7E 00 00 */ lwz r3, 0(r30)
/* 80241504 0023E464 90 6F 02 F8 */ stw r3, 0x2f8(r15)
/* 80241508 0023E468 80 7E 00 04 */ lwz r3, 4(r30)
/* 8024150C 0023E46C 90 6F 02 FC */ stw r3, 0x2fc(r15)
/* 80241510 0023E470 C0 3E 00 08 */ lfs f1, 8(r30)
/* 80241514 0023E474 D0 2F 03 00 */ stfs f1, 0x300(r15)
/* 80241518 0023E478 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8024151C 0023E47C D0 2F 03 04 */ stfs f1, 0x304(r15)
/* 80241520 0023E480 C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 80241524 0023E484 D0 2F 03 08 */ stfs f1, 0x308(r15)
/* 80241528 0023E488 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 8024152C 0023E48C D0 2F 03 0C */ stfs f1, 0x30c(r15)
/* 80241530 0023E490 80 7F 00 00 */ lwz r3, 0(r31)
/* 80241534 0023E494 90 6F 03 10 */ stw r3, 0x310(r15)
/* 80241538 0023E498 80 7F 00 04 */ lwz r3, 4(r31)
/* 8024153C 0023E49C 90 6F 03 14 */ stw r3, 0x314(r15)
/* 80241540 0023E4A0 C0 3F 00 08 */ lfs f1, 8(r31)
/* 80241544 0023E4A4 D0 2F 03 18 */ stfs f1, 0x318(r15)
/* 80241548 0023E4A8 C0 3F 00 0C */ lfs f1, 0xc(r31)
/* 8024154C 0023E4AC D0 2F 03 1C */ stfs f1, 0x31c(r15)
/* 80241550 0023E4B0 C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 80241554 0023E4B4 D0 2F 03 20 */ stfs f1, 0x320(r15)
/* 80241558 0023E4B8 C0 3F 00 14 */ lfs f1, 0x14(r31)
/* 8024155C 0023E4BC D0 2F 03 24 */ stfs f1, 0x324(r15)
/* 80241560 0023E4C0 D0 0F 03 28 */ stfs f0, 0x328(r15)
/* 80241564 0023E4C4 88 6F 03 2C */ lbz r3, 0x32c(r15)
/* 80241568 0023E4C8 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18
/* 8024156C 0023E4CC 98 6F 03 2C */ stb r3, 0x32c(r15)
/* 80241570 0023E4D0 C0 50 00 24 */ lfs f2, 0x24(r16)
/* 80241574 0023E4D4 C0 30 00 14 */ lfs f1, 0x14(r16)
/* 80241578 0023E4D8 C0 10 00 04 */ lfs f0, 4(r16)
/* 8024157C 0023E4DC D0 0F 03 30 */ stfs f0, 0x330(r15)
/* 80241580 0023E4E0 D0 2F 03 34 */ stfs f1, 0x334(r15)
/* 80241584 0023E4E4 D0 4F 03 38 */ stfs f2, 0x338(r15)
/* 80241588 0023E4E8 7D E3 7B 78 */ mr r3, r15
/* 8024158C 0023E4EC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 80241590 0023E4F0 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 80241594 0023E4F4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0
/* 80241598 0023E4F8 CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 8024159C 0023E4FC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0
/* 802415A0 0023E500 CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 802415A4 0023E504 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0
/* 802415A8 0023E508 CB 81 00 A0 */ lfd f28, 0xa0(r1)
/* 802415AC 0023E50C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0
/* 802415B0 0023E510 CB 61 00 90 */ lfd f27, 0x90(r1)
/* 802415B4 0023E514 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0
/* 802415B8 0023E518 CB 41 00 80 */ lfd f26, 0x80(r1)
/* 802415BC 0023E51C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0
/* 802415C0 0023E520 CB 21 00 70 */ lfd f25, 0x70(r1)
/* 802415C4 0023E524 B9 C1 00 28 */ lmw r14, 0x28(r1)
/* 802415C8 0023E528 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 802415CC 0023E52C 7C 08 03 A6 */ mtlr r0
/* 802415D0 0023E530 38 21 00 E0 */ addi r1, r1, 0xe0
/* 802415D4 0023E534 4E 80 00 20 */ blr
.global GetValue__16SSpindlePropertyCFf
GetValue__16SSpindlePropertyCFf:
/* 802415D8 0023E538 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802415DC 0023E53C 7C 08 02 A6 */ mflr r0
/* 802415E0 0023E540 7C 65 1B 78 */ mr r5, r3
/* 802415E4 0023E544 90 01 00 14 */ stw r0, 0x14(r1)
/* 802415E8 0023E548 80 03 00 04 */ lwz r0, 4(r3)
/* 802415EC 0023E54C 2C 00 00 00 */ cmpwi r0, 0
/* 802415F0 0023E550 40 82 00 0C */ bne lbl_802415FC
/* 802415F4 0023E554 C0 25 00 08 */ lfs f1, 8(r5)
/* 802415F8 0023E558 48 00 00 D4 */ b lbl_802416CC
lbl_802415FC:
/* 802415FC 0023E55C C0 65 00 14 */ lfs f3, 0x14(r5)
/* 80241600 0023E560 C0 05 00 10 */ lfs f0, 0x10(r5)
/* 80241604 0023E564 C0 42 B7 D0 */ lfs f2, lbl_805AD4F0@sda21(r2)
/* 80241608 0023E568 EC A3 00 28 */ fsubs f5, f3, f0
/* 8024160C 0023E56C C0 02 B8 04 */ lfs f0, lbl_805AD524@sda21(r2)
/* 80241610 0023E570 EC 45 10 28 */ fsubs f2, f5, f2
/* 80241614 0023E574 FC 40 12 10 */ fabs f2, f2
/* 80241618 0023E578 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8024161C 0023E57C 40 80 00 0C */ bge lbl_80241628
/* 80241620 0023E580 C0 25 00 08 */ lfs f1, 8(r5)
/* 80241624 0023E584 48 00 00 A8 */ b lbl_802416CC
lbl_80241628:
/* 80241628 0023E588 80 65 00 00 */ lwz r3, 0(r5)
/* 8024162C 0023E58C FC E0 08 90 */ fmr f7, f1
/* 80241630 0023E590 C0 05 00 0C */ lfs f0, 0xc(r5)
/* 80241634 0023E594 C0 85 00 08 */ lfs f4, 8(r5)
/* 80241638 0023E598 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 8024163C 0023E59C EC C0 20 28 */ fsubs f6, f0, f4
/* 80241640 0023E5A0 41 82 00 14 */ beq lbl_80241654
/* 80241644 0023E5A4 FC 01 18 40 */ fcmpo cr0, f1, f3
/* 80241648 0023E5A8 40 81 00 0C */ ble lbl_80241654
/* 8024164C 0023E5AC EC 01 18 28 */ fsubs f0, f1, f3
/* 80241650 0023E5B0 EC E3 00 28 */ fsubs f7, f3, f0
lbl_80241654:
/* 80241654 0023E5B4 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 80241658 0023E5B8 41 82 00 18 */ beq lbl_80241670
/* 8024165C 0023E5BC C0 45 00 10 */ lfs f2, 0x10(r5)
/* 80241660 0023E5C0 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 80241664 0023E5C4 40 80 00 0C */ bge lbl_80241670
/* 80241668 0023E5C8 EC 02 08 28 */ fsubs f0, f2, f1
/* 8024166C 0023E5CC EC E2 00 2A */ fadds f7, f2, f0
lbl_80241670:
/* 80241670 0023E5D0 C0 05 00 10 */ lfs f0, 0x10(r5)
/* 80241674 0023E5D4 C0 25 00 08 */ lfs f1, 8(r5)
/* 80241678 0023E5D8 EC 47 00 28 */ fsubs f2, f7, f0
/* 8024167C 0023E5DC C0 05 00 0C */ lfs f0, 0xc(r5)
/* 80241680 0023E5E0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80241684 0023E5E4 EC 06 00 B2 */ fmuls f0, f6, f2
/* 80241688 0023E5E8 EC 00 28 24 */ fdivs f0, f0, f5
/* 8024168C 0023E5EC EC 04 00 2A */ fadds f0, f4, f0
/* 80241690 0023E5F0 D0 01 00 08 */ stfs f0, 8(r1)
/* 80241694 0023E5F4 40 80 00 1C */ bge lbl_802416B0
/* 80241698 0023E5F8 38 65 00 08 */ addi r3, r5, 8
/* 8024169C 0023E5FC 38 81 00 08 */ addi r4, r1, 8
/* 802416A0 0023E600 38 A5 00 0C */ addi r5, r5, 0xc
/* 802416A4 0023E604 4B DC AC 11 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 802416A8 0023E608 C0 03 00 00 */ lfs f0, 0(r3)
/* 802416AC 0023E60C 48 00 00 18 */ b lbl_802416C4
lbl_802416B0:
/* 802416B0 0023E610 38 65 00 0C */ addi r3, r5, 0xc
/* 802416B4 0023E614 38 81 00 08 */ addi r4, r1, 8
/* 802416B8 0023E618 38 A5 00 08 */ addi r5, r5, 8
/* 802416BC 0023E61C 4B DC AB F9 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 802416C0 0023E620 C0 03 00 00 */ lfs f0, 0(r3)
lbl_802416C4:
/* 802416C4 0023E624 D0 01 00 08 */ stfs f0, 8(r1)
/* 802416C8 0023E628 FC 20 00 18 */ frsp f1, f0
lbl_802416CC:
/* 802416CC 0023E62C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802416D0 0023E630 7C 08 03 A6 */ mtlr r0
/* 802416D4 0023E634 38 21 00 10 */ addi r1, r1, 0x10
/* 802416D8 0023E638 4E 80 00 20 */ blr
.global FixupAngles__15SSpindleSegmentFv
FixupAngles__15SSpindleSegmentFv:
/* 802416DC 0023E63C C0 03 00 08 */ lfs f0, 8(r3)
/* 802416E0 0023E640 C0 22 B8 08 */ lfs f1, lbl_805AD528@sda21(r2)
/* 802416E4 0023E644 EC 00 00 72 */ fmuls f0, f0, f1
/* 802416E8 0023E648 D0 03 00 08 */ stfs f0, 8(r3)
/* 802416EC 0023E64C C0 03 00 0C */ lfs f0, 0xc(r3)
/* 802416F0 0023E650 EC 00 00 72 */ fmuls f0, f0, f1
/* 802416F4 0023E654 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802416F8 0023E658 4E 80 00 20 */ blr
.global LoadSpindleSegment__FR12CInputStream
LoadSpindleSegment__FR12CInputStream:
/* 802416FC 0023E65C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80241700 0023E660 7C 08 02 A6 */ mflr r0
/* 80241704 0023E664 90 01 00 54 */ stw r0, 0x54(r1)
/* 80241708 0023E668 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8024170C 0023E66C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 80241710 0023E670 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 80241714 0023E674 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 80241718 0023E678 DB A1 00 20 */ stfd f29, 0x20(r1)
/* 8024171C 0023E67C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0
/* 80241720 0023E680 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80241724 0023E684 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80241728 0023E688 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8024172C 0023E68C 93 81 00 10 */ stw r28, 0x10(r1)
/* 80241730 0023E690 7C 9D 23 78 */ mr r29, r4
/* 80241734 0023E694 7C 7C 1B 78 */ mr r28, r3
/* 80241738 0023E698 7F A3 EB 78 */ mr r3, r29
/* 8024173C 0023E69C 48 0F D5 49 */ bl ReadLong__12CInputStreamFv
/* 80241740 0023E6A0 7C 60 1B 78 */ mr r0, r3
/* 80241744 0023E6A4 7F A3 EB 78 */ mr r3, r29
/* 80241748 0023E6A8 7C 1F 03 78 */ mr r31, r0
/* 8024174C 0023E6AC 4B E9 84 B1 */ bl LoadParameterFlags__FR12CInputStream
/* 80241750 0023E6B0 7C 60 1B 78 */ mr r0, r3
/* 80241754 0023E6B4 7F A3 EB 78 */ mr r3, r29
/* 80241758 0023E6B8 7C 1E 03 78 */ mr r30, r0
/* 8024175C 0023E6BC 48 0F D4 CD */ bl ReadFloat__12CInputStreamFv
/* 80241760 0023E6C0 FF E0 08 90 */ fmr f31, f1
/* 80241764 0023E6C4 7F A3 EB 78 */ mr r3, r29
/* 80241768 0023E6C8 48 0F D4 C1 */ bl ReadFloat__12CInputStreamFv
/* 8024176C 0023E6CC FF C0 08 90 */ fmr f30, f1
/* 80241770 0023E6D0 7F A3 EB 78 */ mr r3, r29
/* 80241774 0023E6D4 48 0F D4 B5 */ bl ReadFloat__12CInputStreamFv
/* 80241778 0023E6D8 FF A0 08 90 */ fmr f29, f1
/* 8024177C 0023E6DC 7F A3 EB 78 */ mr r3, r29
/* 80241780 0023E6E0 48 0F D4 A9 */ bl ReadFloat__12CInputStreamFv
/* 80241784 0023E6E4 2C 1F 00 06 */ cmpwi r31, 6
/* 80241788 0023E6E8 FC 80 08 90 */ fmr f4, f1
/* 8024178C 0023E6EC 40 80 00 1C */ bge lbl_802417A8
/* 80241790 0023E6F0 2C 1F 00 03 */ cmpwi r31, 3
/* 80241794 0023E6F4 40 80 00 08 */ bge lbl_8024179C
/* 80241798 0023E6F8 48 00 00 10 */ b lbl_802417A8
lbl_8024179C:
/* 8024179C 0023E6FC C0 02 B8 08 */ lfs f0, lbl_805AD528@sda21(r2)
/* 802417A0 0023E700 EF BD 00 32 */ fmuls f29, f29, f0
/* 802417A4 0023E704 EC 84 00 32 */ fmuls f4, f4, f0
lbl_802417A8:
/* 802417A8 0023E708 FC 20 F8 90 */ fmr f1, f31
/* 802417AC 0023E70C 7F 83 E3 78 */ mr r3, r28
/* 802417B0 0023E710 FC 40 F0 90 */ fmr f2, f30
/* 802417B4 0023E714 7F E4 FB 78 */ mr r4, r31
/* 802417B8 0023E718 FC 60 E8 90 */ fmr f3, f29
/* 802417BC 0023E71C 7F C5 F3 78 */ mr r5, r30
/* 802417C0 0023E720 48 00 00 3D */ bl sub_802417fc
/* 802417C4 0023E724 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 802417C8 0023E728 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 802417CC 0023E72C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 802417D0 0023E730 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 802417D4 0023E734 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0
/* 802417D8 0023E738 CB A1 00 20 */ lfd f29, 0x20(r1)
/* 802417DC 0023E73C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802417E0 0023E740 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802417E4 0023E744 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802417E8 0023E748 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802417EC 0023E74C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 802417F0 0023E750 7C 08 03 A6 */ mtlr r0
/* 802417F4 0023E754 38 21 00 50 */ addi r1, r1, 0x50
/* 802417F8 0023E758 4E 80 00 20 */ blr
.global sub_802417fc
sub_802417fc:
/* 802417FC 0023E75C 90 A3 00 00 */ stw r5, 0(r3)
/* 80241800 0023E760 90 83 00 04 */ stw r4, 4(r3)
/* 80241804 0023E764 D0 23 00 08 */ stfs f1, 8(r3)
/* 80241808 0023E768 D0 43 00 0C */ stfs f2, 0xc(r3)
/* 8024180C 0023E76C D0 63 00 10 */ stfs f3, 0x10(r3)
/* 80241810 0023E770 D0 83 00 14 */ stfs f4, 0x14(r3)
/* 80241814 0023E774 4E 80 00 20 */ blr
.global __sinit_CScriptSpindleCamera_cpp
__sinit_CScriptSpindleCamera_cpp:
/* 80241818 0023E778 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8024181C 0023E77C 7C 08 02 A6 */ mflr r0
/* 80241820 0023E780 38 60 00 00 */ li r3, 0
/* 80241824 0023E784 38 80 00 01 */ li r4, 1
/* 80241828 0023E788 90 01 00 34 */ stw r0, 0x34(r1)
/* 8024182C 0023E78C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80241830 0023E790 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80241834 0023E794 80 AD 96 B0 */ lwz r5, lbl_805A8270@sda21(r13)
/* 80241838 0023E798 48 14 86 BD */ bl __shl2i
/* 8024183C 0023E79C 90 8D A5 3C */ stw r4, lbl_805A90FC@sda21(r13)
/* 80241840 0023E7A0 38 80 00 01 */ li r4, 1
/* 80241844 0023E7A4 80 AD 96 B4 */ lwz r5, lbl_805A8274@sda21(r13)
/* 80241848 0023E7A8 90 6D A5 38 */ stw r3, lbl_805A90F8@sda21(r13)
/* 8024184C 0023E7AC 38 60 00 00 */ li r3, 0
/* 80241850 0023E7B0 48 14 86 A5 */ bl __shl2i
/* 80241854 0023E7B4 80 AD 96 B8 */ lwz r5, lbl_805A8278@sda21(r13)
/* 80241858 0023E7B8 7C 9E 23 78 */ mr r30, r4
/* 8024185C 0023E7BC 7C 7F 1B 78 */ mr r31, r3
/* 80241860 0023E7C0 38 60 00 00 */ li r3, 0
/* 80241864 0023E7C4 38 80 00 01 */ li r4, 1
/* 80241868 0023E7C8 48 14 86 8D */ bl __shl2i
/* 8024186C 0023E7CC 80 AD 96 BC */ lwz r5, lbl_805A827C@sda21(r13)
/* 80241870 0023E7D0 7F DE 23 78 */ or r30, r30, r4
/* 80241874 0023E7D4 7F FF 1B 78 */ or r31, r31, r3
/* 80241878 0023E7D8 38 60 00 00 */ li r3, 0
/* 8024187C 0023E7DC 38 80 00 01 */ li r4, 1
/* 80241880 0023E7E0 48 14 86 75 */ bl __shl2i
/* 80241884 0023E7E4 80 AD 96 C0 */ lwz r5, lbl_805A8280@sda21(r13)
/* 80241888 0023E7E8 7F DE 23 78 */ or r30, r30, r4
/* 8024188C 0023E7EC 7F FF 1B 78 */ or r31, r31, r3
/* 80241890 0023E7F0 38 60 00 00 */ li r3, 0
/* 80241894 0023E7F4 38 80 00 01 */ li r4, 1
/* 80241898 0023E7F8 48 14 86 5D */ bl __shl2i
/* 8024189C 0023E7FC 3C A0 80 47 */ lis r5, lbl_8046D390@ha
/* 802418A0 0023E800 80 0D A5 38 */ lwz r0, lbl_805A90F8@sda21(r13)
/* 802418A4 0023E804 7F DE 23 78 */ or r30, r30, r4
/* 802418A8 0023E808 7F FF 1B 78 */ or r31, r31, r3
/* 802418AC 0023E80C 38 65 D3 90 */ addi r3, r5, lbl_8046D390@l
/* 802418B0 0023E810 38 A0 00 03 */ li r5, 3
/* 802418B4 0023E814 80 8D A5 3C */ lwz r4, lbl_805A90FC@sda21(r13)
/* 802418B8 0023E818 93 CD A5 44 */ stw r30, lbl_805A9104@sda21(r13)
/* 802418BC 0023E81C 93 ED A5 40 */ stw r31, lbl_805A9100@sda21(r13)
/* 802418C0 0023E820 90 A1 00 18 */ stw r5, 0x18(r1)
/* 802418C4 0023E824 90 83 00 04 */ stw r4, 4(r3)
/* 802418C8 0023E828 90 03 00 00 */ stw r0, 0(r3)
/* 802418CC 0023E82C 93 C3 00 0C */ stw r30, 0xc(r3)
/* 802418D0 0023E830 93 E3 00 08 */ stw r31, 8(r3)
/* 802418D4 0023E834 90 A3 00 10 */ stw r5, 0x10(r3)
/* 802418D8 0023E838 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802418DC 0023E83C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802418E0 0023E840 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802418E4 0023E844 7C 08 03 A6 */ mtlr r0
/* 802418E8 0023E848 38 21 00 30 */ addi r1, r1, 0x30
/* 802418EC 0023E84C 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AD4F0
lbl_805AD4F0:
# ROM: 0x3F9D90
.4byte 0
.global lbl_805AD4F4
lbl_805AD4F4:
# ROM: 0x3F9D94
.float 1.0
.global lbl_805AD4F8
lbl_805AD4F8:
# ROM: 0x3F9D98
.double 1.0
.global lbl_805AD500
lbl_805AD500:
# ROM: 0x3F9DA0
.float -1.0
.global lbl_805AD504
lbl_805AD504:
# ROM: 0x3F9DA4
.float 6.2831855
.global lbl_805AD508
lbl_805AD508:
# ROM: 0x3F9DA8
.float 2.0
.global lbl_805AD50C
lbl_805AD50C:
# ROM: 0x3F9DAC
.float 0.5
.global lbl_805AD510
lbl_805AD510:
# ROM: 0x3F9DB0
.4byte 0x41200000
.global lbl_805AD514
lbl_805AD514:
# ROM: 0x3F9DB4
.4byte 0x3F7FFF58
.global lbl_805AD518
lbl_805AD518:
# ROM: 0x3F9DB8
.4byte 0x40400000
.global lbl_805AD51C
lbl_805AD51C:
# ROM: 0x3F9DBC
.4byte 0x3E32B8C2
.global lbl_805AD520
lbl_805AD520:
# ROM: 0x3F9DC0
.float 0.01
.global lbl_805AD524
lbl_805AD524:
# ROM: 0x3F9DC4
.4byte 0x3727C5AC
.global lbl_805AD528
lbl_805AD528:
# ROM: 0x3F9DC8
.float 0.017453292
.4byte 0