prime/asm/MetroidPrime/Cameras/CInterpolationCamera.s

1243 lines
63 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
2022-04-18 04:19:18 +00:00
.section .data
.balign 8
2022-04-18 04:19:18 +00:00
.global lbl_803E9D80
lbl_803E9D80:
# ROM: 0x3E6D80
.4byte 0
.4byte 0
.4byte __dt__20CInterpolationCamera
.4byte Accept__20CInterpolationCameraFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__20CInterpolationCameraFfR13CStateManager
.4byte AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__11CGameCameraFb
.4byte PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__20CInterpolationCameraCFRC13CStateManager
.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__6CActorCFRC12CTransform4f
2022-08-15 04:51:06 +00:00
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
2022-04-18 04:19:18 +00:00
.4byte ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager
.4byte Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager
.4byte 0
2022-07-14 05:48:03 +00:00
2022-07-14 05:36:41 +00:00
.section .text, "ax"
.global AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80264FBC 00261F1C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80264FC0 00261F20 7C 08 02 A6 */ mflr r0
/* 80264FC4 00261F24 90 01 00 14 */ stw r0, 0x14(r1)
/* 80264FC8 00261F28 A0 05 00 00 */ lhz r0, 0(r5)
/* 80264FCC 00261F2C 38 A1 00 08 */ addi r5, r1, 8
/* 80264FD0 00261F30 B0 01 00 08 */ sth r0, 8(r1)
/* 80264FD4 00261F34 4B DF 63 75 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80264FD8 00261F38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80264FDC 00261F3C 7C 08 03 A6 */ mtlr r0
/* 80264FE0 00261F40 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80264FE4 00261F44 4E 80 00 20 */ blr
.global Render__20CInterpolationCameraCFRC13CStateManager
Render__20CInterpolationCameraCFRC13CStateManager:
2022-07-14 05:48:03 +00:00
/* 80264FE8 00261F48 4E 80 00 20 */ blr
.global Accept__20CInterpolationCameraFR8IVisitor
Accept__20CInterpolationCameraFR8IVisitor:
/* 80264FEC 00261F4C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80264FF0 00261F50 7C 08 02 A6 */ mflr r0
/* 80264FF4 00261F54 90 01 00 14 */ stw r0, 0x14(r1)
/* 80264FF8 00261F58 7C 60 1B 78 */ mr r0, r3
/* 80264FFC 00261F5C 7C 83 23 78 */ mr r3, r4
/* 80265000 00261F60 81 84 00 00 */ lwz r12, 0(r4)
/* 80265004 00261F64 7C 04 03 78 */ mr r4, r0
/* 80265008 00261F68 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8026500C 00261F6C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80265010 00261F70 4E 80 04 21 */ bctrl
/* 80265014 00261F74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80265018 00261F78 7C 08 03 A6 */ mtlr r0
/* 8026501C 00261F7C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80265020 00261F80 4E 80 00 20 */ blr
.global ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager
ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager:
2022-07-14 05:48:03 +00:00
/* 80265024 00261F84 4E 80 00 20 */ blr
.global Think__20CInterpolationCameraFfR13CStateManager
Think__20CInterpolationCameraFfR13CStateManager:
/* 80265028 00261F88 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8026502C 00261F8C 7C 08 02 A6 */ mflr r0
/* 80265030 00261F90 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80265034 00261F94 DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 80265038 00261F98 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
/* 8026503C 00261F9C DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 80265040 00261FA0 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0
/* 80265044 00261FA4 DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 80265048 00261FA8 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0
/* 8026504C 00261FAC DB 81 00 B0 */ stfd f28, 0xb0(r1)
/* 80265050 00261FB0 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0
/* 80265054 00261FB4 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80265058 00261FB8 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8026505C 00261FBC 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80265060 00261FC0 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80265064 00261FC4 FF E0 08 90 */ fmr f31, f1
/* 80265068 00261FC8 7C 7E 1B 78 */ mr r30, r3
/* 8026506C 00261FCC 7C 9F 23 78 */ mr r31, r4
/* 80265070 00261FD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80265074 00261FD4 41 82 02 64 */ beq lbl_802652D8
/* 80265078 00261FD8 80 DF 08 70 */ lwz r6, 0x870(r31)
/* 8026507C 00261FDC 38 A0 00 01 */ li r5, 1
/* 80265080 00261FE0 80 C6 00 80 */ lwz r6, 0x80(r6)
/* 80265084 00261FE4 C0 06 01 5C */ lfs f0, 0x15c(r6)
/* 80265088 00261FE8 D0 1E 01 5C */ stfs f0, 0x15c(r30)
/* 8026508C 00261FEC 88 1E 01 70 */ lbz r0, 0x170(r30)
/* 80265090 00261FF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80265094 00261FF4 98 1E 01 70 */ stb r0, 0x170(r30)
/* 80265098 00261FF8 80 BF 08 4C */ lwz r5, 0x84c(r31)
/* 8026509C 00261FFC 80 05 02 F8 */ lwz r0, 0x2f8(r5)
/* 802650A0 00262000 2C 00 00 03 */ cmpwi r0, 3
/* 802650A4 00262004 40 82 00 08 */ bne lbl_802650AC
/* 802650A8 00262008 48 00 02 6D */ bl sub_80265314
lbl_802650AC:
/* 802650AC 0026200C C0 1E 01 8C */ lfs f0, 0x18c(r30)
/* 802650B0 00262010 EC 00 F8 2A */ fadds f0, f0, f31
/* 802650B4 00262014 D0 1E 01 8C */ stfs f0, 0x18c(r30)
/* 802650B8 00262018 C0 1E 01 8C */ lfs f0, 0x18c(r30)
/* 802650BC 0026201C C0 3E 01 90 */ lfs f1, 0x190(r30)
/* 802650C0 00262020 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802650C4 00262024 40 81 00 08 */ ble lbl_802650CC
/* 802650C8 00262028 D0 3E 01 8C */ stfs f1, 0x18c(r30)
lbl_802650CC:
/* 802650CC 0026202C 38 61 00 6C */ addi r3, r1, 0x6c
/* 802650D0 00262030 38 9E 00 34 */ addi r4, r30, 0x34
/* 802650D4 00262034 48 0A DA A1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 802650D8 00262038 A0 1E 01 88 */ lhz r0, 0x188(r30)
/* 802650DC 0026203C 7F E3 FB 78 */ mr r3, r31
/* 802650E0 00262040 38 81 00 10 */ addi r4, r1, 0x10
/* 802650E4 00262044 B0 01 00 10 */ sth r0, 0x10(r1)
/* 802650E8 00262048 4B DE 74 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 802650EC 0026204C 7C 64 1B 78 */ mr r4, r3
/* 802650F0 00262050 38 61 00 1C */ addi r3, r1, 0x1c
/* 802650F4 00262054 4B E4 8C F5 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity"
/* 802650F8 00262058 80 63 00 04 */ lwz r3, 4(r3)
/* 802650FC 0026205C 28 03 00 00 */ cmplwi r3, 0
/* 80265100 00262060 40 82 00 14 */ bne lbl_80265114
/* 80265104 00262064 7F C3 F3 78 */ mr r3, r30
/* 80265108 00262068 7F E4 FB 78 */ mr r4, r31
/* 8026510C 0026206C 48 00 02 09 */ bl sub_80265314
/* 80265110 00262070 48 00 01 C8 */ b lbl_802652D8
lbl_80265114:
/* 80265114 00262074 C0 43 00 60 */ lfs f2, 0x60(r3)
/* 80265118 00262078 C0 23 00 50 */ lfs f1, 0x50(r3)
/* 8026511C 0026207C C0 03 00 40 */ lfs f0, 0x40(r3)
/* 80265120 00262080 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80265124 00262084 D0 21 00 64 */ stfs f1, 0x64(r1)
/* 80265128 00262088 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 8026512C 0026208C 80 9F 08 70 */ lwz r4, 0x870(r31)
/* 80265130 00262090 80 64 00 80 */ lwz r3, 0x80(r4)
/* 80265134 00262094 C0 03 01 D8 */ lfs f0, 0x1d8(r3)
/* 80265138 00262098 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8026513C 0026209C C0 03 01 DC */ lfs f0, 0x1dc(r3)
/* 80265140 002620A0 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80265144 002620A4 C0 03 01 E0 */ lfs f0, 0x1e0(r3)
/* 80265148 002620A8 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8026514C 002620AC 80 03 01 88 */ lwz r0, 0x188(r3)
/* 80265150 002620B0 2C 00 00 08 */ cmpwi r0, 8
/* 80265154 002620B4 41 82 00 08 */ beq lbl_8026515C
/* 80265158 002620B8 48 00 00 C4 */ b lbl_8026521C
lbl_8026515C:
/* 8026515C 002620BC 38 61 00 08 */ addi r3, r1, 8
/* 80265160 002620C0 4B DA 40 A5 */ bl GetSpindleCameraId__14CCameraManagerCFv
/* 80265164 002620C4 A0 01 00 08 */ lhz r0, 8(r1)
/* 80265168 002620C8 7F E3 FB 78 */ mr r3, r31
/* 8026516C 002620CC 38 81 00 0C */ addi r4, r1, 0xc
/* 80265170 002620D0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80265174 002620D4 4B DE 74 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80265178 002620D8 7C 64 1B 78 */ mr r4, r3
/* 8026517C 002620DC 38 61 00 14 */ addi r3, r1, 0x14
/* 80265180 002620E0 4B E4 0D A5 */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity"
/* 80265184 002620E4 83 A3 00 04 */ lwz r29, 4(r3)
/* 80265188 002620E8 28 1D 00 00 */ cmplwi r29, 0
/* 8026518C 002620EC 41 82 00 90 */ beq lbl_8026521C
/* 80265190 002620F0 C3 9D 00 60 */ lfs f28, 0x60(r29)
/* 80265194 002620F4 38 61 00 30 */ addi r3, r1, 0x30
/* 80265198 002620F8 C3 BD 00 50 */ lfs f29, 0x50(r29)
/* 8026519C 002620FC C3 DD 00 40 */ lfs f30, 0x40(r29)
/* 802651A0 00262100 80 9F 08 4C */ lwz r4, 0x84c(r31)
/* 802651A4 00262104 48 01 FB A5 */ bl GetBallPosition__7CPlayerCFv
/* 802651A8 00262108 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 802651AC 0026210C 38 61 00 48 */ addi r3, r1, 0x48
/* 802651B0 00262110 C0 21 00 30 */ lfs f1, 0x30(r1)
/* 802651B4 00262114 EC 40 E0 28 */ fsubs f2, f0, f28
/* 802651B8 00262118 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 802651BC 0026211C EC 21 F0 28 */ fsubs f1, f1, f30
/* 802651C0 00262120 EC 00 E8 28 */ fsubs f0, f0, f29
/* 802651C4 00262124 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 802651C8 00262128 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 802651CC 0026212C D0 01 00 40 */ stfs f0, 0x40(r1)
/* 802651D0 00262130 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 802651D4 00262134 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 802651D8 00262138 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 802651DC 0026213C 48 0A F6 DD */ bl Magnitude__9CVector3fCFv
/* 802651E0 00262140 C0 7D 00 48 */ lfs f3, 0x48(r29)
/* 802651E4 00262144 C0 5D 00 58 */ lfs f2, 0x58(r29)
/* 802651E8 00262148 C0 1D 00 38 */ lfs f0, 0x38(r29)
/* 802651EC 0026214C EC 81 00 F2 */ fmuls f4, f1, f3
/* 802651F0 00262150 C0 BD 00 50 */ lfs f5, 0x50(r29)
/* 802651F4 00262154 EC 41 00 B2 */ fmuls f2, f1, f2
/* 802651F8 00262158 C0 7D 00 60 */ lfs f3, 0x60(r29)
/* 802651FC 0026215C EC 01 00 32 */ fmuls f0, f1, f0
/* 80265200 00262160 C0 3D 00 40 */ lfs f1, 0x40(r29)
/* 80265204 00262164 EC 85 20 2A */ fadds f4, f5, f4
/* 80265208 00262168 EC 43 10 2A */ fadds f2, f3, f2
/* 8026520C 0026216C EC 01 00 2A */ fadds f0, f1, f0
/* 80265210 00262170 D0 81 00 58 */ stfs f4, 0x58(r1)
/* 80265214 00262174 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80265218 00262178 D0 41 00 5C */ stfs f2, 0x5c(r1)
lbl_8026521C:
/* 8026521C 0026217C 88 1E 01 D8 */ lbz r0, 0x1d8(r30)
/* 80265220 00262180 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80265224 00262184 41 82 00 40 */ beq lbl_80265264
/* 80265228 00262188 80 C1 00 54 */ lwz r6, 0x54(r1)
/* 8026522C 0026218C 7F C3 F3 78 */ mr r3, r30
/* 80265230 00262190 80 E1 00 58 */ lwz r7, 0x58(r1)
/* 80265234 00262194 38 81 00 6C */ addi r4, r1, 0x6c
/* 80265238 00262198 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8026523C 0026219C 38 A1 00 60 */ addi r5, r1, 0x60
/* 80265240 002621A0 90 C1 00 24 */ stw r6, 0x24(r1)
/* 80265244 002621A4 38 C1 00 24 */ addi r6, r1, 0x24
/* 80265248 002621A8 90 E1 00 28 */ stw r7, 0x28(r1)
/* 8026524C 002621AC 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80265250 002621B0 C0 3E 01 90 */ lfs f1, 0x190(r30)
/* 80265254 002621B4 C0 5E 01 8C */ lfs f2, 0x18c(r30)
/* 80265258 002621B8 48 00 02 81 */ bl InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff
/* 8026525C 002621BC 7C 7D 1B 78 */ mr r29, r3
/* 80265260 002621C0 48 00 00 30 */ b lbl_80265290
lbl_80265264:
/* 80265264 002621C4 FC 60 F8 90 */ fmr f3, f31
/* 80265268 002621C8 C0 3E 01 D0 */ lfs f1, 0x1d0(r30)
/* 8026526C 002621CC C0 5E 01 D4 */ lfs f2, 0x1d4(r30)
/* 80265270 002621D0 7F C3 F3 78 */ mr r3, r30
/* 80265274 002621D4 C0 9E 01 90 */ lfs f4, 0x190(r30)
/* 80265278 002621D8 38 81 00 6C */ addi r4, r1, 0x6c
/* 8026527C 002621DC C0 BE 01 8C */ lfs f5, 0x18c(r30)
/* 80265280 002621E0 38 A1 00 60 */ addi r5, r1, 0x60
/* 80265284 002621E4 38 C1 00 54 */ addi r6, r1, 0x54
/* 80265288 002621E8 48 00 06 39 */ bl InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff
/* 8026528C 002621EC 7C 7D 1B 78 */ mr r29, r3
lbl_80265290:
/* 80265290 002621F0 38 7E 00 34 */ addi r3, r30, 0x34
/* 80265294 002621F4 38 81 00 6C */ addi r4, r1, 0x6c
/* 80265298 002621F8 48 0A D8 A9 */ bl __as__12CTransform4fFRC12CTransform4f
/* 8026529C 002621FC 88 7E 00 E4 */ lbz r3, 0xe4(r30)
/* 802652A0 00262200 38 80 00 01 */ li r4, 1
/* 802652A4 00262204 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b
/* 802652A8 00262208 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 802652AC 0026220C 98 7E 00 E4 */ stb r3, 0xe4(r30)
/* 802652B0 00262210 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 802652B4 00262214 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 802652B8 00262218 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 802652BC 0026221C 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 802652C0 00262220 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 802652C4 00262224 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 802652C8 00262228 41 82 00 10 */ beq lbl_802652D8
/* 802652CC 0026222C 7F C3 F3 78 */ mr r3, r30
/* 802652D0 00262230 7F E4 FB 78 */ mr r4, r31
/* 802652D4 00262234 48 00 00 41 */ bl sub_80265314
lbl_802652D8:
/* 802652D8 00262238 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
/* 802652DC 0026223C CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 802652E0 00262240 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0
/* 802652E4 00262244 CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 802652E8 00262248 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0
/* 802652EC 0026224C CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 802652F0 00262250 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0
/* 802652F4 00262254 CB 81 00 B0 */ lfd f28, 0xb0(r1)
/* 802652F8 00262258 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 802652FC 0026225C 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 80265300 00262260 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 80265304 00262264 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 80265308 00262268 7C 08 03 A6 */ mtlr r0
/* 8026530C 0026226C 38 21 00 F0 */ addi r1, r1, 0xf0
2022-07-14 05:48:03 +00:00
/* 80265310 00262270 4E 80 00 20 */ blr
.global sub_80265314
sub_80265314:
/* 80265314 00262274 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80265318 00262278 7C 08 02 A6 */ mflr r0
/* 8026531C 0026227C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80265320 00262280 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80265324 00262284 7C 9F 23 78 */ mr r31, r4
/* 80265328 00262288 38 80 00 00 */ li r4, 0
/* 8026532C 0026228C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80265330 00262290 7C 7E 1B 78 */ mr r30, r3
/* 80265334 00262294 81 83 00 00 */ lwz r12, 0(r3)
/* 80265338 00262298 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8026533C 0026229C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80265340 002622A0 4E 80 04 21 */ bctrl
/* 80265344 002622A4 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80265348 002622A8 4B DA 55 85 */ bl ShouldBypassInterpolationCamera__14CCameraManagerCFv
/* 8026534C 002622AC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80265350 002622B0 40 82 00 18 */ bne lbl_80265368
/* 80265354 002622B4 A0 1E 01 88 */ lhz r0, 0x188(r30)
/* 80265358 002622B8 38 81 00 08 */ addi r4, r1, 8
/* 8026535C 002622BC B0 01 00 08 */ sth r0, 8(r1)
/* 80265360 002622C0 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80265364 002622C4 4B DA 67 61 */ bl SetCurrentCameraId__14CCameraManagerF9TUniqueIdR13CStateManager
lbl_80265368:
/* 80265368 002622C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026536C 002622CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80265370 002622D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80265374 002622D4 7C 08 03 A6 */ mtlr r0
/* 80265378 002622D8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8026537C 002622DC 4E 80 00 20 */ blr
.global SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager
SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager:
/* 80265380 002622E0 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80265384 002622E4 7C 08 02 A6 */ mflr r0
/* 80265388 002622E8 90 01 00 64 */ stw r0, 0x64(r1)
/* 8026538C 002622EC DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80265390 002622F0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80265394 002622F4 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 80265398 002622F8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 8026539C 002622FC DB A1 00 30 */ stfd f29, 0x30(r1)
/* 802653A0 00262300 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
/* 802653A4 00262304 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 802653A8 00262308 81 83 00 00 */ lwz r12, 0(r3)
/* 802653AC 0026230C 7C 9A 23 78 */ mr r26, r4
/* 802653B0 00262310 FF A0 08 90 */ fmr f29, f1
/* 802653B4 00262314 7C 7F 1B 78 */ mr r31, r3
/* 802653B8 00262318 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802653BC 0026231C FF C0 10 90 */ fmr f30, f2
/* 802653C0 00262320 FF E0 18 90 */ fmr f31, f3
/* 802653C4 00262324 7C BB 2B 78 */ mr r27, r5
/* 802653C8 00262328 7C DC 33 78 */ mr r28, r6
/* 802653CC 0026232C 7C FD 3B 78 */ mr r29, r7
/* 802653D0 00262330 7D 1E 43 78 */ mr r30, r8
/* 802653D4 00262334 38 80 00 01 */ li r4, 1
/* 802653D8 00262338 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 802653DC 0026233C 4E 80 04 21 */ bctrl
/* 802653E0 00262340 7F 44 D3 78 */ mr r4, r26
/* 802653E4 00262344 38 7F 00 34 */ addi r3, r31, 0x34
/* 802653E8 00262348 48 0A D7 59 */ bl __as__12CTransform4fFRC12CTransform4f
/* 802653EC 0026234C 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 802653F0 00262350 38 A0 00 01 */ li r5, 1
/* 802653F4 00262354 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 802653F8 00262358 7F 44 D3 78 */ mr r4, r26
/* 802653FC 0026235C 98 1F 00 E4 */ stb r0, 0xe4(r31)
/* 80265400 00262360 38 7F 01 94 */ addi r3, r31, 0x194
/* 80265404 00262364 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 80265408 00262368 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 8026540C 0026236C 98 1F 00 E4 */ stb r0, 0xe4(r31)
/* 80265410 00262370 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 80265414 00262374 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 80265418 00262378 98 1F 00 E4 */ stb r0, 0xe4(r31)
/* 8026541C 0026237C 48 0A D7 25 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265420 00262380 C0 1B 00 00 */ lfs f0, 0(r27)
/* 80265424 00262384 7F C3 F3 78 */ mr r3, r30
/* 80265428 00262388 C0 22 BA 98 */ lfs f1, lbl_805AD7B8@sda21(r2)
/* 8026542C 0026238C 38 81 00 08 */ addi r4, r1, 8
/* 80265430 00262390 D0 1F 01 C4 */ stfs f0, 0x1c4(r31)
/* 80265434 00262394 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2)
/* 80265438 00262398 C0 5B 00 04 */ lfs f2, 4(r27)
/* 8026543C 0026239C D0 5F 01 C8 */ stfs f2, 0x1c8(r31)
/* 80265440 002623A0 C0 5B 00 08 */ lfs f2, 8(r27)
/* 80265444 002623A4 D0 5F 01 CC */ stfs f2, 0x1cc(r31)
/* 80265448 002623A8 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8026544C 002623AC B0 1F 01 88 */ sth r0, 0x188(r31)
/* 80265450 002623B0 88 1F 01 D8 */ lbz r0, 0x1d8(r31)
/* 80265454 002623B4 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 80265458 002623B8 98 1F 01 D8 */ stb r0, 0x1d8(r31)
/* 8026545C 002623BC D3 BF 01 90 */ stfs f29, 0x190(r31)
/* 80265460 002623C0 D3 DF 01 D0 */ stfs f30, 0x1d0(r31)
/* 80265464 002623C4 D3 FF 01 D4 */ stfs f31, 0x1d4(r31)
/* 80265468 002623C8 D0 3F 01 DC */ stfs f1, 0x1dc(r31)
/* 8026546C 002623CC D0 1F 01 8C */ stfs f0, 0x18c(r31)
/* 80265470 002623D0 A0 1C 00 00 */ lhz r0, 0(r28)
/* 80265474 002623D4 B0 01 00 08 */ sth r0, 8(r1)
/* 80265478 002623D8 4B DE 71 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8026547C 002623DC 7C 64 1B 78 */ mr r4, r3
/* 80265480 002623E0 38 61 00 0C */ addi r3, r1, 0xc
/* 80265484 002623E4 4B E4 89 65 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity"
/* 80265488 002623E8 80 63 00 04 */ lwz r3, 4(r3)
/* 8026548C 002623EC 28 03 00 00 */ cmplwi r3, 0
/* 80265490 002623F0 41 82 00 1C */ beq lbl_802654AC
/* 80265494 002623F4 C0 03 01 5C */ lfs f0, 0x15c(r3)
/* 80265498 002623F8 38 60 00 01 */ li r3, 1
/* 8026549C 002623FC D0 1F 01 5C */ stfs f0, 0x15c(r31)
/* 802654A0 00262400 88 1F 01 70 */ lbz r0, 0x170(r31)
/* 802654A4 00262404 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802654A8 00262408 98 1F 01 70 */ stb r0, 0x170(r31)
lbl_802654AC:
/* 802654AC 0026240C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 802654B0 00262410 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 802654B4 00262414 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 802654B8 00262418 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 802654BC 0026241C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
/* 802654C0 00262420 CB A1 00 30 */ lfd f29, 0x30(r1)
/* 802654C4 00262424 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 802654C8 00262428 80 01 00 64 */ lwz r0, 0x64(r1)
/* 802654CC 0026242C 7C 08 03 A6 */ mtlr r0
/* 802654D0 00262430 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 802654D4 00262434 4E 80 00 20 */ blr
.global InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff
InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff:
/* 802654D8 00262438 94 21 FE 80 */ stwu r1, -0x180(r1)
/* 802654DC 0026243C 7C 08 02 A6 */ mflr r0
/* 802654E0 00262440 90 01 01 84 */ stw r0, 0x184(r1)
/* 802654E4 00262444 DB E1 01 70 */ stfd f31, 0x170(r1)
/* 802654E8 00262448 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
/* 802654EC 0026244C DB C1 01 60 */ stfd f30, 0x160(r1)
/* 802654F0 00262450 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
/* 802654F4 00262454 DB A1 01 50 */ stfd f29, 0x150(r1)
/* 802654F8 00262458 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0
/* 802654FC 0026245C DB 81 01 40 */ stfd f28, 0x140(r1)
/* 80265500 00262460 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0
/* 80265504 00262464 93 E1 01 3C */ stw r31, 0x13c(r1)
/* 80265508 00262468 93 C1 01 38 */ stw r30, 0x138(r1)
/* 8026550C 0026246C 93 A1 01 34 */ stw r29, 0x134(r1)
/* 80265510 00262470 93 81 01 30 */ stw r28, 0x130(r1)
/* 80265514 00262474 FF 80 08 90 */ fmr f28, f1
/* 80265518 00262478 7C 7C 1B 78 */ mr r28, r3
/* 8026551C 0026247C FF A0 10 90 */ fmr f29, f2
/* 80265520 00262480 7C 9D 23 78 */ mr r29, r4
/* 80265524 00262484 7C BE 2B 78 */ mr r30, r5
/* 80265528 00262488 7C DF 33 78 */ mr r31, r6
/* 8026552C 0026248C FC 1D E0 40 */ fcmpo cr0, f29, f28
/* 80265530 00262490 40 81 00 08 */ ble lbl_80265538
/* 80265534 00262494 FF A0 E0 90 */ fmr f29, f28
lbl_80265538:
/* 80265538 00262498 EF DD E0 24 */ fdivs f30, f29, f28
/* 8026553C 0026249C C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265540 002624A0 FC 20 F2 10 */ fabs f1, f30
/* 80265544 002624A4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265548 002624A8 40 81 00 14 */ ble lbl_8026555C
/* 8026554C 002624AC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 80265550 002624B0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 80265554 002624B4 FC 1E 00 6E */ fsel f0, f30, f1, f0
/* 80265558 002624B8 EF C1 00 32 */ fmuls f30, f1, f0
lbl_8026555C:
/* 8026555C 002624BC C0 02 BA B0 */ lfs f0, lbl_805AD7D0@sda21(r2)
/* 80265560 002624C0 EC 20 07 B2 */ fmuls f1, f0, f30
/* 80265564 002624C4 48 12 F5 79 */ bl sin
/* 80265568 002624C8 FC 40 08 18 */ frsp f2, f1
/* 8026556C 002624CC C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265570 002624D0 FC 20 12 10 */ fabs f1, f2
/* 80265574 002624D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265578 002624D8 40 81 00 14 */ ble lbl_8026558C
/* 8026557C 002624DC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 80265580 002624E0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 80265584 002624E4 FC 02 00 6E */ fsel f0, f2, f1, f0
/* 80265588 002624E8 EC 41 00 32 */ fmuls f2, f1, f0
lbl_8026558C:
/* 8026558C 002624EC C0 22 BA B4 */ lfs f1, lbl_805AD7D4@sda21(r2)
/* 80265590 002624F0 38 61 00 80 */ addi r3, r1, 0x80
/* 80265594 002624F4 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 80265598 002624F8 EF C1 07 B2 */ fmuls f30, f1, f30
/* 8026559C 002624FC C0 FE 00 00 */ lfs f7, 0(r30)
/* 802655A0 00262500 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 802655A4 00262504 C1 1E 00 04 */ lfs f8, 4(r30)
/* 802655A8 00262508 EC A0 38 28 */ fsubs f5, f0, f7
/* 802655AC 0026250C EC 5E 10 28 */ fsubs f2, f30, f2
/* 802655B0 00262510 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2)
/* 802655B4 00262514 EC 81 40 28 */ fsubs f4, f1, f8
/* 802655B8 00262518 C0 3C 00 60 */ lfs f1, 0x60(r28)
/* 802655BC 0026251C EC C0 10 28 */ fsubs f6, f0, f2
/* 802655C0 00262520 C1 3E 00 08 */ lfs f9, 8(r30)
/* 802655C4 00262524 C0 5F 00 04 */ lfs f2, 4(r31)
/* 802655C8 00262528 EC 61 48 28 */ fsubs f3, f1, f9
/* 802655CC 0026252C C0 3F 00 08 */ lfs f1, 8(r31)
/* 802655D0 00262530 EC A6 01 72 */ fmuls f5, f6, f5
/* 802655D4 00262534 EC 86 01 32 */ fmuls f4, f6, f4
/* 802655D8 00262538 C0 1F 00 00 */ lfs f0, 0(r31)
/* 802655DC 0026253C EC 66 00 F2 */ fmuls f3, f6, f3
/* 802655E0 00262540 EC A7 28 2A */ fadds f5, f7, f5
/* 802655E4 00262544 EC 88 20 2A */ fadds f4, f8, f4
/* 802655E8 00262548 EC 69 18 2A */ fadds f3, f9, f3
/* 802655EC 0026254C EC 00 28 28 */ fsubs f0, f0, f5
/* 802655F0 00262550 D0 A1 00 8C */ stfs f5, 0x8c(r1)
/* 802655F4 00262554 EC 42 20 28 */ fsubs f2, f2, f4
/* 802655F8 00262558 EC 21 18 28 */ fsubs f1, f1, f3
/* 802655FC 0026255C D0 81 00 90 */ stfs f4, 0x90(r1)
/* 80265600 00262560 D0 61 00 94 */ stfs f3, 0x94(r1)
/* 80265604 00262564 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 80265608 00262568 D0 41 00 84 */ stfs f2, 0x84(r1)
/* 8026560C 0026256C D0 21 00 88 */ stfs f1, 0x88(r1)
/* 80265610 00262570 48 0A F0 E9 */ bl CanBeNormalized__9CVector3fCFv
/* 80265614 00262574 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80265618 00262578 41 82 00 10 */ beq lbl_80265628
/* 8026561C 0026257C 38 61 00 80 */ addi r3, r1, 0x80
/* 80265620 00262580 48 0A F2 D9 */ bl Normalize__9CVector3fFv
/* 80265624 00262584 48 00 00 1C */ b lbl_80265640
lbl_80265628:
/* 80265628 00262588 C0 5C 00 58 */ lfs f2, 0x58(r28)
/* 8026562C 0026258C C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 80265630 00262590 C0 1C 00 38 */ lfs f0, 0x38(r28)
/* 80265634 00262594 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 80265638 00262598 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 8026563C 0026259C D0 41 00 88 */ stfs f2, 0x88(r1)
lbl_80265640:
/* 80265640 002625A0 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 80265644 002625A4 38 61 00 74 */ addi r3, r1, 0x74
/* 80265648 002625A8 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 8026564C 002625AC C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80265650 002625B0 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80265654 002625B4 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2)
/* 80265658 002625B8 D0 41 00 74 */ stfs f2, 0x74(r1)
/* 8026565C 002625BC D0 21 00 78 */ stfs f1, 0x78(r1)
/* 80265660 002625C0 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80265664 002625C4 48 0A F0 95 */ bl CanBeNormalized__9CVector3fCFv
/* 80265668 002625C8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8026566C 002625CC 41 82 01 E0 */ beq lbl_8026584C
/* 80265670 002625D0 C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 80265674 002625D4 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80265678 002625D8 C0 5C 00 38 */ lfs f2, 0x38(r28)
/* 8026567C 002625DC EC 01 00 32 */ fmuls f0, f1, f0
/* 80265680 002625E0 C0 21 00 80 */ lfs f1, 0x80(r1)
/* 80265684 002625E4 C0 9C 00 58 */ lfs f4, 0x58(r28)
/* 80265688 002625E8 C0 61 00 88 */ lfs f3, 0x88(r1)
/* 8026568C 002625EC EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 80265690 002625F0 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265694 002625F4 EF E4 08 FA */ fmadds f31, f4, f3, f1
/* 80265698 002625F8 FC 20 FA 10 */ fabs f1, f31
/* 8026569C 002625FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802656A0 00262600 40 81 00 14 */ ble lbl_802656B4
/* 802656A4 00262604 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 802656A8 00262608 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 802656AC 0026260C FC 1F 00 6E */ fsel f0, f31, f1, f0
/* 802656B0 00262610 EF E1 00 32 */ fmuls f31, f1, f0
lbl_802656B4:
/* 802656B4 00262614 FC 20 F8 90 */ fmr f1, f31
/* 802656B8 00262618 48 12 F5 75 */ bl acos
/* 802656BC 0026261C FC 40 F2 10 */ fabs f2, f30
/* 802656C0 00262620 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 802656C4 00262624 FC 20 08 18 */ frsp f1, f1
/* 802656C8 00262628 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802656CC 0026262C 40 81 00 14 */ ble lbl_802656E0
/* 802656D0 00262630 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 802656D4 00262634 C0 42 BA AC */ lfs f2, lbl_805AD7CC@sda21(r2)
/* 802656D8 00262638 FC 1E 00 AE */ fsel f0, f30, f2, f0
/* 802656DC 0026263C EF C2 00 32 */ fmuls f30, f2, f0
lbl_802656E0:
/* 802656E0 00262640 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2)
/* 802656E4 00262644 C0 5C 01 DC */ lfs f2, 0x1dc(r28)
/* 802656E8 00262648 EC 00 F0 28 */ fsubs f0, f0, f30
/* 802656EC 0026264C EF C1 00 32 */ fmuls f30, f1, f0
/* 802656F0 00262650 FC 1E 10 40 */ fcmpo cr0, f30, f2
/* 802656F4 00262654 40 81 00 0C */ ble lbl_80265700
/* 802656F8 00262658 FF C0 10 90 */ fmr f30, f2
/* 802656FC 0026265C 48 00 00 08 */ b lbl_80265704
lbl_80265700:
/* 80265700 00262660 D3 DC 01 DC */ stfs f30, 0x1dc(r28)
lbl_80265704:
/* 80265704 00262664 C0 21 00 90 */ lfs f1, 0x90(r1)
/* 80265708 00262668 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 8026570C 0026266C C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80265710 00262670 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@l
/* 80265714 00262674 C0 61 00 94 */ lfs f3, 0x94(r1)
/* 80265718 00262678 38 61 00 C8 */ addi r3, r1, 0xc8
/* 8026571C 0026267C EC 81 00 2A */ fadds f4, f1, f0
/* 80265720 00262680 C0 41 00 88 */ lfs f2, 0x88(r1)
/* 80265724 00262684 C0 21 00 8C */ lfs f1, 0x8c(r1)
/* 80265728 00262688 38 81 00 8C */ addi r4, r1, 0x8c
/* 8026572C 0026268C C0 01 00 80 */ lfs f0, 0x80(r1)
/* 80265730 00262690 EC 43 10 2A */ fadds f2, f3, f2
/* 80265734 00262694 EC 01 00 2A */ fadds f0, f1, f0
/* 80265738 00262698 D0 81 00 5C */ stfs f4, 0x5c(r1)
/* 8026573C 0026269C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80265740 002626A0 D0 41 00 60 */ stfs f2, 0x60(r1)
/* 80265744 002626A4 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80265748 002626A8 48 0A E3 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 8026574C 002626AC 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80265750 002626B0 38 81 00 C8 */ addi r4, r1, 0xc8
/* 80265754 002626B4 48 0A D4 21 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80265758 002626B8 FC 20 FA 10 */ fabs f1, f31
/* 8026575C 002626BC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2)
/* 80265760 002626C0 FC 20 08 18 */ frsp f1, f1
/* 80265764 002626C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265768 002626C8 40 80 00 D4 */ bge lbl_8026583C
/* 8026576C 002626CC D3 C1 00 08 */ stfs f30, 8(r1)
/* 80265770 002626D0 38 61 00 30 */ addi r3, r1, 0x30
/* 80265774 002626D4 38 81 00 24 */ addi r4, r1, 0x24
/* 80265778 002626D8 C0 5C 00 58 */ lfs f2, 0x58(r28)
/* 8026577C 002626DC C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 80265780 002626E0 C0 1C 00 38 */ lfs f0, 0x38(r28)
/* 80265784 002626E4 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80265788 002626E8 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8026578C 002626EC D0 41 00 2C */ stfs f2, 0x2c(r1)
2022-04-16 07:50:32 +00:00
/* 80265790 002626F0 48 0A E6 41 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80265794 002626F4 7C 7F 1B 78 */ mr r31, r3
/* 80265798 002626F8 38 61 00 3C */ addi r3, r1, 0x3c
/* 8026579C 002626FC 38 81 00 80 */ addi r4, r1, 0x80
2022-04-16 07:50:32 +00:00
/* 802657A0 00262700 48 0A E6 31 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 802657A4 00262704 7C 64 1B 78 */ mr r4, r3
/* 802657A8 00262708 7F E5 FB 78 */ mr r5, r31
/* 802657AC 0026270C 38 61 00 48 */ addi r3, r1, 0x48
/* 802657B0 00262710 38 C1 00 08 */ addi r6, r1, 8
/* 802657B4 00262714 48 0A BE E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 802657B8 00262718 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 802657BC 0026271C 38 61 00 18 */ addi r3, r1, 0x18
/* 802657C0 00262720 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 802657C4 00262724 38 81 00 64 */ addi r4, r1, 0x64
/* 802657C8 00262728 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 802657CC 0026272C 38 A1 00 80 */ addi r5, r1, 0x80
/* 802657D0 00262730 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 802657D4 00262734 D0 61 00 64 */ stfs f3, 0x64(r1)
/* 802657D8 00262738 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 802657DC 0026273C D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 802657E0 00262740 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 802657E4 00262744 48 0A BA 81 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 802657E8 00262748 C0 21 00 90 */ lfs f1, 0x90(r1)
/* 802657EC 0026274C 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 802657F0 00262750 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 802657F4 00262754 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@l
/* 802657F8 00262758 C0 61 00 94 */ lfs f3, 0x94(r1)
/* 802657FC 0026275C 38 61 00 98 */ addi r3, r1, 0x98
/* 80265800 00262760 EC 81 00 2A */ fadds f4, f1, f0
/* 80265804 00262764 C0 41 00 20 */ lfs f2, 0x20(r1)
/* 80265808 00262768 C0 21 00 8C */ lfs f1, 0x8c(r1)
/* 8026580C 0026276C 38 81 00 8C */ addi r4, r1, 0x8c
/* 80265810 00262770 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80265814 00262774 EC 43 10 2A */ fadds f2, f3, f2
/* 80265818 00262778 EC 01 00 2A */ fadds f0, f1, f0
/* 8026581C 0026277C D0 81 00 10 */ stfs f4, 0x10(r1)
/* 80265820 00262780 38 A1 00 0C */ addi r5, r1, 0xc
/* 80265824 00262784 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80265828 00262788 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8026582C 0026278C 48 0A E2 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80265830 00262790 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80265834 00262794 38 81 00 98 */ addi r4, r1, 0x98
/* 80265838 00262798 48 0A D3 09 */ bl __as__12CTransform4fFRC12CTransform4f
lbl_8026583C:
/* 8026583C 0026279C 7F A3 EB 78 */ mr r3, r29
/* 80265840 002627A0 38 81 00 F8 */ addi r4, r1, 0xf8
/* 80265844 002627A4 48 0A D2 FD */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265848 002627A8 48 00 00 28 */ b lbl_80265870
lbl_8026584C:
/* 8026584C 002627AC 7F A3 EB 78 */ mr r3, r29
/* 80265850 002627B0 38 9C 00 34 */ addi r4, r28, 0x34
/* 80265854 002627B4 48 0A D2 ED */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265858 002627B8 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 8026585C 002627BC D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 80265860 002627C0 C0 01 00 90 */ lfs f0, 0x90(r1)
/* 80265864 002627C4 D0 1D 00 1C */ stfs f0, 0x1c(r29)
/* 80265868 002627C8 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 8026586C 002627CC D0 1D 00 2C */ stfs f0, 0x2c(r29)
lbl_80265870:
/* 80265870 002627D0 FC 1D E0 40 */ fcmpo cr0, f29, f28
/* 80265874 002627D4 4C 41 13 82 */ cror 2, 1, 2
/* 80265878 002627D8 7C 00 00 26 */ mfcr r0
/* 8026587C 002627DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
/* 80265880 002627E0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
/* 80265884 002627E4 CB E1 01 70 */ lfd f31, 0x170(r1)
/* 80265888 002627E8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
/* 8026588C 002627EC CB C1 01 60 */ lfd f30, 0x160(r1)
/* 80265890 002627F0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0
/* 80265894 002627F4 CB A1 01 50 */ lfd f29, 0x150(r1)
/* 80265898 002627F8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0
/* 8026589C 002627FC CB 81 01 40 */ lfd f28, 0x140(r1)
/* 802658A0 00262800 83 E1 01 3C */ lwz r31, 0x13c(r1)
/* 802658A4 00262804 83 C1 01 38 */ lwz r30, 0x138(r1)
/* 802658A8 00262808 83 A1 01 34 */ lwz r29, 0x134(r1)
/* 802658AC 0026280C 80 01 01 84 */ lwz r0, 0x184(r1)
/* 802658B0 00262810 83 81 01 30 */ lwz r28, 0x130(r1)
/* 802658B4 00262814 7C 08 03 A6 */ mtlr r0
/* 802658B8 00262818 38 21 01 80 */ addi r1, r1, 0x180
2022-07-14 05:48:03 +00:00
/* 802658BC 0026281C 4E 80 00 20 */ blr
.global InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff
InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff:
/* 802658C0 00262820 94 21 FE 00 */ stwu r1, -0x200(r1)
/* 802658C4 00262824 7C 08 02 A6 */ mflr r0
/* 802658C8 00262828 90 01 02 04 */ stw r0, 0x204(r1)
/* 802658CC 0026282C DB E1 01 F0 */ stfd f31, 0x1f0(r1)
/* 802658D0 00262830 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0
/* 802658D4 00262834 DB C1 01 E0 */ stfd f30, 0x1e0(r1)
/* 802658D8 00262838 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0
/* 802658DC 0026283C DB A1 01 D0 */ stfd f29, 0x1d0(r1)
/* 802658E0 00262840 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0
/* 802658E4 00262844 DB 81 01 C0 */ stfd f28, 0x1c0(r1)
/* 802658E8 00262848 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0
/* 802658EC 0026284C DB 61 01 B0 */ stfd f27, 0x1b0(r1)
/* 802658F0 00262850 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0
/* 802658F4 00262854 DB 41 01 A0 */ stfd f26, 0x1a0(r1)
/* 802658F8 00262858 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0
/* 802658FC 0026285C BF 41 01 88 */ stmw r26, 0x188(r1)
/* 80265900 00262860 7C 9B 23 78 */ mr r27, r4
/* 80265904 00262864 7C BF 2B 78 */ mr r31, r5
/* 80265908 00262868 C1 05 00 04 */ lfs f8, 4(r5)
/* 8026590C 0026286C FF 80 18 90 */ fmr f28, f3
/* 80265910 00262870 C0 E4 00 1C */ lfs f7, 0x1c(r4)
/* 80265914 00262874 7C 7A 1B 78 */ mr r26, r3
/* 80265918 00262878 C0 C5 00 08 */ lfs f6, 8(r5)
/* 8026591C 0026287C FF 60 10 90 */ fmr f27, f2
/* 80265920 00262880 C0 64 00 2C */ lfs f3, 0x2c(r4)
/* 80265924 00262884 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80265928 00262888 ED 08 38 28 */ fsubs f8, f8, f7
/* 8026592C 0026288C C0 45 00 00 */ lfs f2, 0(r5)
/* 80265930 00262890 EC C6 18 28 */ fsubs f6, f6, f3
/* 80265934 00262894 FF A0 20 90 */ fmr f29, f4
/* 80265938 00262898 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 8026593C 0026289C EC 02 00 28 */ fsubs f0, f2, f0
/* 80265940 002628A0 FF C0 28 90 */ fmr f30, f5
/* 80265944 002628A4 D1 01 00 90 */ stfs f8, 0x90(r1)
/* 80265948 002628A8 EF E1 07 32 */ fmuls f31, f1, f28
/* 8026594C 002628AC D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80265950 002628B0 7C DC 33 78 */ mr r28, r6
/* 80265954 002628B4 38 61 00 8C */ addi r3, r1, 0x8c
/* 80265958 002628B8 D0 C1 00 94 */ stfs f6, 0x94(r1)
/* 8026595C 002628BC 3B C0 00 00 */ li r30, 0
/* 80265960 002628C0 3B A0 00 00 */ li r29, 0
/* 80265964 002628C4 D0 E1 00 84 */ stfs f7, 0x84(r1)
/* 80265968 002628C8 D0 61 00 88 */ stfs f3, 0x88(r1)
/* 8026596C 002628CC 48 0A ED 8D */ bl CanBeNormalized__9CVector3fCFv
/* 80265970 002628D0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80265974 002628D4 41 82 00 B8 */ beq lbl_80265A2C
/* 80265978 002628D8 38 61 00 8C */ addi r3, r1, 0x8c
/* 8026597C 002628DC 48 0A EF 3D */ bl Magnitude__9CVector3fCFv
/* 80265980 002628E0 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 80265984 002628E4 40 81 00 A8 */ ble lbl_80265A2C
/* 80265988 002628E8 38 61 00 8C */ addi r3, r1, 0x8c
/* 8026598C 002628EC 48 0A EF 2D */ bl Magnitude__9CVector3fCFv
/* 80265990 002628F0 FF 40 08 90 */ fmr f26, f1
/* 80265994 002628F4 38 61 00 8C */ addi r3, r1, 0x8c
/* 80265998 002628F8 48 0A EF 61 */ bl Normalize__9CVector3fFv
/* 8026599C 002628FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2)
/* 802659A0 00262900 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 802659A4 00262904 EC 5A 08 24 */ fdivs f2, f26, f1
/* 802659A8 00262908 FC 20 12 10 */ fabs f1, f2
/* 802659AC 0026290C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802659B0 00262910 40 81 00 14 */ ble lbl_802659C4
/* 802659B4 00262914 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 802659B8 00262918 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 802659BC 0026291C FC 02 00 6E */ fsel f0, f2, f1, f0
/* 802659C0 00262920 EC 41 00 32 */ fmuls f2, f1, f0
lbl_802659C4:
/* 802659C4 00262924 EC C2 07 F2 */ fmuls f6, f2, f31
/* 802659C8 00262928 C0 41 00 8C */ lfs f2, 0x8c(r1)
/* 802659CC 0026292C C0 21 00 90 */ lfs f1, 0x90(r1)
/* 802659D0 00262930 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 802659D4 00262934 EC A6 00 B2 */ fmuls f5, f6, f2
/* 802659D8 00262938 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 802659DC 0026293C EC 86 00 72 */ fmuls f4, f6, f1
/* 802659E0 00262940 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 802659E4 00262944 EC 66 00 32 */ fmuls f3, f6, f0
/* 802659E8 00262948 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 802659EC 0026294C EC 42 28 2A */ fadds f2, f2, f5
/* 802659F0 00262950 EC 21 20 2A */ fadds f1, f1, f4
/* 802659F4 00262954 EC 00 18 2A */ fadds f0, f0, f3
/* 802659F8 00262958 FC 1A 30 40 */ fcmpo cr0, f26, f6
/* 802659FC 0026295C D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80265A00 00262960 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 80265A04 00262964 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80265A08 00262968 40 80 00 40 */ bge lbl_80265A48
/* 80265A0C 0026296C C0 5F 00 00 */ lfs f2, 0(r31)
/* 80265A10 00262970 3B A0 00 01 */ li r29, 1
/* 80265A14 00262974 C0 3F 00 04 */ lfs f1, 4(r31)
/* 80265A18 00262978 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80265A1C 0026297C D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80265A20 00262980 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 80265A24 00262984 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80265A28 00262988 48 00 00 20 */ b lbl_80265A48
lbl_80265A2C:
/* 80265A2C 0026298C C0 5F 00 00 */ lfs f2, 0(r31)
/* 80265A30 00262990 3B A0 00 01 */ li r29, 1
/* 80265A34 00262994 C0 3F 00 04 */ lfs f1, 4(r31)
/* 80265A38 00262998 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80265A3C 0026299C D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80265A40 002629A0 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 80265A44 002629A4 D0 01 00 88 */ stfs f0, 0x88(r1)
lbl_80265A48:
/* 80265A48 002629A8 C0 3C 00 04 */ lfs f1, 4(r28)
/* 80265A4C 002629AC 38 61 00 74 */ addi r3, r1, 0x74
/* 80265A50 002629B0 C0 1A 01 C8 */ lfs f0, 0x1c8(r26)
/* 80265A54 002629B4 C0 7C 00 08 */ lfs f3, 8(r28)
/* 80265A58 002629B8 C0 5A 01 CC */ lfs f2, 0x1cc(r26)
/* 80265A5C 002629BC EC 81 00 28 */ fsubs f4, f1, f0
/* 80265A60 002629C0 C0 1A 01 C4 */ lfs f0, 0x1c4(r26)
/* 80265A64 002629C4 C0 3C 00 00 */ lfs f1, 0(r28)
/* 80265A68 002629C8 EC 43 10 28 */ fsubs f2, f3, f2
/* 80265A6C 002629CC D0 81 00 78 */ stfs f4, 0x78(r1)
/* 80265A70 002629D0 EC 01 00 28 */ fsubs f0, f1, f0
/* 80265A74 002629D4 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80265A78 002629D8 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80265A7C 002629DC 48 0A EE 3D */ bl Magnitude__9CVector3fCFv
/* 80265A80 002629E0 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 80265A84 002629E4 40 81 00 84 */ ble lbl_80265B08
/* 80265A88 002629E8 38 61 00 74 */ addi r3, r1, 0x74
/* 80265A8C 002629EC 48 0A EE 2D */ bl Magnitude__9CVector3fCFv
/* 80265A90 002629F0 FF 40 08 90 */ fmr f26, f1
/* 80265A94 002629F4 38 61 00 74 */ addi r3, r1, 0x74
/* 80265A98 002629F8 48 0A EE 61 */ bl Normalize__9CVector3fFv
/* 80265A9C 002629FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2)
/* 80265AA0 00262A00 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265AA4 00262A04 EC 5A 08 24 */ fdivs f2, f26, f1
/* 80265AA8 00262A08 FC 20 12 10 */ fabs f1, f2
/* 80265AAC 00262A0C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265AB0 00262A10 40 81 00 14 */ ble lbl_80265AC4
/* 80265AB4 00262A14 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 80265AB8 00262A18 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 80265ABC 00262A1C FC 02 00 6E */ fsel f0, f2, f1, f0
/* 80265AC0 00262A20 EC 41 00 32 */ fmuls f2, f1, f0
lbl_80265AC4:
/* 80265AC4 00262A24 EC 82 07 F2 */ fmuls f4, f2, f31
/* 80265AC8 00262A28 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 80265ACC 00262A2C C0 41 00 78 */ lfs f2, 0x78(r1)
/* 80265AD0 00262A30 C0 21 00 7C */ lfs f1, 0x7c(r1)
/* 80265AD4 00262A34 EC 64 00 32 */ fmuls f3, f4, f0
/* 80265AD8 00262A38 C0 1A 01 C4 */ lfs f0, 0x1c4(r26)
/* 80265ADC 00262A3C EC 44 00 B2 */ fmuls f2, f4, f2
/* 80265AE0 00262A40 EC 24 00 72 */ fmuls f1, f4, f1
/* 80265AE4 00262A44 EC 00 18 2A */ fadds f0, f0, f3
/* 80265AE8 00262A48 D0 1A 01 C4 */ stfs f0, 0x1c4(r26)
/* 80265AEC 00262A4C C0 1A 01 C8 */ lfs f0, 0x1c8(r26)
/* 80265AF0 00262A50 EC 00 10 2A */ fadds f0, f0, f2
/* 80265AF4 00262A54 D0 1A 01 C8 */ stfs f0, 0x1c8(r26)
/* 80265AF8 00262A58 C0 1A 01 CC */ lfs f0, 0x1cc(r26)
/* 80265AFC 00262A5C EC 00 08 2A */ fadds f0, f0, f1
/* 80265B00 00262A60 D0 1A 01 CC */ stfs f0, 0x1cc(r26)
/* 80265B04 00262A64 48 00 00 1C */ b lbl_80265B20
lbl_80265B08:
/* 80265B08 00262A68 C0 1C 00 00 */ lfs f0, 0(r28)
/* 80265B0C 00262A6C D0 1A 01 C4 */ stfs f0, 0x1c4(r26)
/* 80265B10 00262A70 C0 1C 00 04 */ lfs f0, 4(r28)
/* 80265B14 00262A74 D0 1A 01 C8 */ stfs f0, 0x1c8(r26)
/* 80265B18 00262A78 C0 1C 00 08 */ lfs f0, 8(r28)
/* 80265B1C 00262A7C D0 1A 01 CC */ stfs f0, 0x1cc(r26)
lbl_80265B20:
/* 80265B20 00262A80 C0 3A 01 C8 */ lfs f1, 0x1c8(r26)
/* 80265B24 00262A84 38 61 00 68 */ addi r3, r1, 0x68
/* 80265B28 00262A88 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80265B2C 00262A8C C0 7A 01 CC */ lfs f3, 0x1cc(r26)
/* 80265B30 00262A90 C0 41 00 88 */ lfs f2, 0x88(r1)
/* 80265B34 00262A94 EC 81 00 28 */ fsubs f4, f1, f0
/* 80265B38 00262A98 C0 3A 01 C4 */ lfs f1, 0x1c4(r26)
/* 80265B3C 00262A9C C0 01 00 80 */ lfs f0, 0x80(r1)
/* 80265B40 00262AA0 EC 43 10 28 */ fsubs f2, f3, f2
/* 80265B44 00262AA4 D0 81 00 6C */ stfs f4, 0x6c(r1)
/* 80265B48 00262AA8 EC 01 00 28 */ fsubs f0, f1, f0
/* 80265B4C 00262AAC D0 41 00 70 */ stfs f2, 0x70(r1)
/* 80265B50 00262AB0 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 80265B54 00262AB4 48 0A EB A5 */ bl CanBeNormalized__9CVector3fCFv
/* 80265B58 00262AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80265B5C 00262ABC 41 82 00 10 */ beq lbl_80265B6C
/* 80265B60 00262AC0 38 61 00 68 */ addi r3, r1, 0x68
/* 80265B64 00262AC4 48 0A ED 95 */ bl Normalize__9CVector3fFv
/* 80265B68 00262AC8 48 00 00 1C */ b lbl_80265B84
lbl_80265B6C:
/* 80265B6C 00262ACC C0 5A 00 58 */ lfs f2, 0x58(r26)
/* 80265B70 00262AD0 C0 3A 00 48 */ lfs f1, 0x48(r26)
/* 80265B74 00262AD4 C0 1A 00 38 */ lfs f0, 0x38(r26)
/* 80265B78 00262AD8 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 80265B7C 00262ADC D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 80265B80 00262AE0 D0 41 00 70 */ stfs f2, 0x70(r1)
lbl_80265B84:
/* 80265B84 00262AE4 C0 3B 00 14 */ lfs f1, 0x14(r27)
/* 80265B88 00262AE8 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 80265B8C 00262AEC C0 5B 00 04 */ lfs f2, 4(r27)
/* 80265B90 00262AF0 EC 01 00 32 */ fmuls f0, f1, f0
/* 80265B94 00262AF4 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 80265B98 00262AF8 C0 9B 00 24 */ lfs f4, 0x24(r27)
/* 80265B9C 00262AFC C0 61 00 70 */ lfs f3, 0x70(r1)
/* 80265BA0 00262B00 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 80265BA4 00262B04 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265BA8 00262B08 EF E4 08 FA */ fmadds f31, f4, f3, f1
/* 80265BAC 00262B0C FC 20 FA 10 */ fabs f1, f31
/* 80265BB0 00262B10 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265BB4 00262B14 40 81 00 14 */ ble lbl_80265BC8
/* 80265BB8 00262B18 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 80265BBC 00262B1C C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 80265BC0 00262B20 FC 1F 00 6E */ fsel f0, f31, f1, f0
/* 80265BC4 00262B24 EF E1 00 32 */ fmuls f31, f1, f0
lbl_80265BC8:
/* 80265BC8 00262B28 FC 20 F8 90 */ fmr f1, f31
/* 80265BCC 00262B2C 48 12 F0 61 */ bl acos
/* 80265BD0 00262B30 FC 40 08 18 */ frsp f2, f1
/* 80265BD4 00262B34 C0 22 BA C0 */ lfs f1, lbl_805AD7E0@sda21(r2)
/* 80265BD8 00262B38 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2)
/* 80265BDC 00262B3C EC 82 08 24 */ fdivs f4, f2, f1
/* 80265BE0 00262B40 FC 20 22 10 */ fabs f1, f4
/* 80265BE4 00262B44 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80265BE8 00262B48 40 81 00 14 */ ble lbl_80265BFC
/* 80265BEC 00262B4C C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2)
/* 80265BF0 00262B50 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2)
/* 80265BF4 00262B54 FC 04 00 6E */ fsel f0, f4, f1, f0
/* 80265BF8 00262B58 EC 81 00 32 */ fmuls f4, f1, f0
lbl_80265BFC:
/* 80265BFC 00262B5C EC 7B 07 32 */ fmuls f3, f27, f28
/* 80265C00 00262B60 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80265C04 00262B64 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 80265C08 00262B68 38 61 00 5C */ addi r3, r1, 0x5c
/* 80265C0C 00262B6C C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 80265C10 00262B70 3B 80 00 00 */ li r28, 0
/* 80265C14 00262B74 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80265C18 00262B78 EF 44 00 F2 */ fmuls f26, f4, f3
/* 80265C1C 00262B7C C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2)
/* 80265C20 00262B80 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 80265C24 00262B84 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 80265C28 00262B88 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80265C2C 00262B8C 48 0A EA CD */ bl CanBeNormalized__9CVector3fCFv
/* 80265C30 00262B90 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80265C34 00262B94 41 82 01 34 */ beq lbl_80265D68
/* 80265C38 00262B98 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80265C3C 00262B9C 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 80265C40 00262BA0 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 80265C44 00262BA4 38 C3 66 F4 */ addi r6, r3, sUpVector__9CVector3f@l
/* 80265C48 00262BA8 C0 61 00 88 */ lfs f3, 0x88(r1)
/* 80265C4C 00262BAC 38 61 01 28 */ addi r3, r1, 0x128
/* 80265C50 00262BB0 EC 81 00 2A */ fadds f4, f1, f0
/* 80265C54 00262BB4 C0 41 00 70 */ lfs f2, 0x70(r1)
/* 80265C58 00262BB8 C0 21 00 80 */ lfs f1, 0x80(r1)
/* 80265C5C 00262BBC 38 81 00 80 */ addi r4, r1, 0x80
/* 80265C60 00262BC0 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 80265C64 00262BC4 EC 43 10 2A */ fadds f2, f3, f2
/* 80265C68 00262BC8 EC 01 00 2A */ fadds f0, f1, f0
/* 80265C6C 00262BCC D0 81 00 44 */ stfs f4, 0x44(r1)
/* 80265C70 00262BD0 38 A1 00 40 */ addi r5, r1, 0x40
/* 80265C74 00262BD4 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 80265C78 00262BD8 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80265C7C 00262BDC 48 0A DE 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80265C80 00262BE0 38 61 01 58 */ addi r3, r1, 0x158
/* 80265C84 00262BE4 38 81 01 28 */ addi r4, r1, 0x128
/* 80265C88 00262BE8 48 0A CE ED */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80265C8C 00262BEC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2)
/* 80265C90 00262BF0 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80265C94 00262BF4 40 80 00 A8 */ bge lbl_80265D3C
/* 80265C98 00262BF8 D3 41 00 08 */ stfs f26, 8(r1)
/* 80265C9C 00262BFC 38 61 00 0C */ addi r3, r1, 0xc
/* 80265CA0 00262C00 38 81 00 68 */ addi r4, r1, 0x68
/* 80265CA4 00262C04 C0 5B 00 24 */ lfs f2, 0x24(r27)
/* 80265CA8 00262C08 C0 3B 00 14 */ lfs f1, 0x14(r27)
/* 80265CAC 00262C0C C0 1B 00 04 */ lfs f0, 4(r27)
/* 80265CB0 00262C10 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80265CB4 00262C14 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80265CB8 00262C18 D0 41 00 20 */ stfs f2, 0x20(r1)
2022-04-16 07:50:32 +00:00
/* 80265CBC 00262C1C 48 0A E1 15 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80265CC0 00262C20 7C 7F 1B 78 */ mr r31, r3
/* 80265CC4 00262C24 38 61 00 24 */ addi r3, r1, 0x24
/* 80265CC8 00262C28 38 81 00 18 */ addi r4, r1, 0x18
2022-04-16 07:50:32 +00:00
/* 80265CCC 00262C2C 48 0A E1 05 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80265CD0 00262C30 7C 64 1B 78 */ mr r4, r3
/* 80265CD4 00262C34 7F E5 FB 78 */ mr r5, r31
/* 80265CD8 00262C38 38 61 00 30 */ addi r3, r1, 0x30
/* 80265CDC 00262C3C 38 C1 00 08 */ addi r6, r1, 8
/* 80265CE0 00262C40 48 0A B9 B5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 80265CE4 00262C44 C0 61 00 30 */ lfs f3, 0x30(r1)
/* 80265CE8 00262C48 7F 64 DB 78 */ mr r4, r27
/* 80265CEC 00262C4C C0 41 00 34 */ lfs f2, 0x34(r1)
/* 80265CF0 00262C50 38 61 00 98 */ addi r3, r1, 0x98
/* 80265CF4 00262C54 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 80265CF8 00262C58 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80265CFC 00262C5C D0 61 00 4C */ stfs f3, 0x4c(r1)
/* 80265D00 00262C60 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 80265D04 00262C64 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 80265D08 00262C68 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80265D0C 00262C6C 48 0A CF 35 */ bl GetRotation__12CTransform4fCFv
/* 80265D10 00262C70 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80265D14 00262C74 38 81 00 4C */ addi r4, r1, 0x4c
/* 80265D18 00262C78 48 0A C2 A1 */ bl BuildTransform4f__11CQuaternionCFv
/* 80265D1C 00262C7C 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80265D20 00262C80 38 81 00 C8 */ addi r4, r1, 0xc8
/* 80265D24 00262C84 38 A1 00 98 */ addi r5, r1, 0x98
/* 80265D28 00262C88 48 0A CC 29 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80265D2C 00262C8C 38 61 01 58 */ addi r3, r1, 0x158
/* 80265D30 00262C90 38 81 00 F8 */ addi r4, r1, 0xf8
/* 80265D34 00262C94 48 0A CE 0D */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265D38 00262C98 48 00 00 08 */ b lbl_80265D40
lbl_80265D3C:
/* 80265D3C 00262C9C 3B 80 00 01 */ li r28, 1
lbl_80265D40:
/* 80265D40 00262CA0 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80265D44 00262CA4 7F 63 DB 78 */ mr r3, r27
/* 80265D48 00262CA8 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80265D4C 00262CAC 38 81 01 58 */ addi r4, r1, 0x158
/* 80265D50 00262CB0 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 80265D54 00262CB4 D0 41 01 64 */ stfs f2, 0x164(r1)
/* 80265D58 00262CB8 D0 21 01 74 */ stfs f1, 0x174(r1)
/* 80265D5C 00262CBC D0 01 01 84 */ stfs f0, 0x184(r1)
/* 80265D60 00262CC0 48 0A CD E1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265D64 00262CC4 48 00 00 2C */ b lbl_80265D90
lbl_80265D68:
/* 80265D68 00262CC8 7F 63 DB 78 */ mr r3, r27
/* 80265D6C 00262CCC 38 9A 00 34 */ addi r4, r26, 0x34
/* 80265D70 00262CD0 48 0A CD D1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80265D74 00262CD4 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 80265D78 00262CD8 3B 80 00 01 */ li r28, 1
/* 80265D7C 00262CDC D0 1B 00 0C */ stfs f0, 0xc(r27)
/* 80265D80 00262CE0 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80265D84 00262CE4 D0 1B 00 1C */ stfs f0, 0x1c(r27)
/* 80265D88 00262CE8 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 80265D8C 00262CEC D0 1B 00 2C */ stfs f0, 0x2c(r27)
lbl_80265D90:
/* 80265D90 00262CF0 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80265D94 00262CF4 41 82 00 10 */ beq lbl_80265DA4
/* 80265D98 00262CF8 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80265D9C 00262CFC 41 82 00 08 */ beq lbl_80265DA4
/* 80265DA0 00262D00 3B C0 00 01 */ li r30, 1
lbl_80265DA4:
/* 80265DA4 00262D04 FC 1E E8 40 */ fcmpo cr0, f30, f29
/* 80265DA8 00262D08 4C 41 13 82 */ cror 2, 1, 2
/* 80265DAC 00262D0C 40 82 00 18 */ bne lbl_80265DC4
/* 80265DB0 00262D10 C0 02 BA C4 */ lfs f0, lbl_805AD7E4@sda21(r2)
/* 80265DB4 00262D14 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80265DB8 00262D18 4C 41 13 82 */ cror 2, 1, 2
/* 80265DBC 00262D1C 40 82 00 08 */ bne lbl_80265DC4
/* 80265DC0 00262D20 3B C0 00 01 */ li r30, 1
lbl_80265DC4:
/* 80265DC4 00262D24 57 C3 06 3E */ clrlwi r3, r30, 0x18
/* 80265DC8 00262D28 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0
/* 80265DCC 00262D2C CB E1 01 F0 */ lfd f31, 0x1f0(r1)
/* 80265DD0 00262D30 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0
/* 80265DD4 00262D34 CB C1 01 E0 */ lfd f30, 0x1e0(r1)
/* 80265DD8 00262D38 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0
/* 80265DDC 00262D3C CB A1 01 D0 */ lfd f29, 0x1d0(r1)
/* 80265DE0 00262D40 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0
/* 80265DE4 00262D44 CB 81 01 C0 */ lfd f28, 0x1c0(r1)
/* 80265DE8 00262D48 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0
/* 80265DEC 00262D4C CB 61 01 B0 */ lfd f27, 0x1b0(r1)
/* 80265DF0 00262D50 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0
/* 80265DF4 00262D54 CB 41 01 A0 */ lfd f26, 0x1a0(r1)
/* 80265DF8 00262D58 BB 41 01 88 */ lmw r26, 0x188(r1)
/* 80265DFC 00262D5C 80 01 02 04 */ lwz r0, 0x204(r1)
/* 80265E00 00262D60 7C 08 03 A6 */ mtlr r0
/* 80265E04 00262D64 38 21 02 00 */ addi r1, r1, 0x200
2022-07-14 05:48:03 +00:00
/* 80265E08 00262D68 4E 80 00 20 */ blr
.global Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager
Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager:
2022-07-14 05:48:03 +00:00
/* 80265E0C 00262D6C 4E 80 00 20 */ blr
.global __dt__20CInterpolationCamera
__dt__20CInterpolationCamera:
/* 80265E10 00262D70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80265E14 00262D74 7C 08 02 A6 */ mflr r0
/* 80265E18 00262D78 90 01 00 14 */ stw r0, 0x14(r1)
/* 80265E1C 00262D7C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80265E20 00262D80 7C 9F 23 78 */ mr r31, r4
/* 80265E24 00262D84 93 C1 00 08 */ stw r30, 8(r1)
/* 80265E28 00262D88 7C 7E 1B 79 */ or. r30, r3, r3
/* 80265E2C 00262D8C 41 82 00 28 */ beq lbl_80265E54
/* 80265E30 00262D90 3C A0 80 3F */ lis r5, lbl_803E9D80@ha
/* 80265E34 00262D94 38 80 00 00 */ li r4, 0
/* 80265E38 00262D98 38 05 9D 80 */ addi r0, r5, lbl_803E9D80@l
/* 80265E3C 00262D9C 90 1E 00 00 */ stw r0, 0(r30)
/* 80265E40 00262DA0 4B DF 7C 1D */ bl __dt__11CGameCameraFv
/* 80265E44 00262DA4 7F E0 07 35 */ extsh. r0, r31
/* 80265E48 00262DA8 40 81 00 0C */ ble lbl_80265E54
/* 80265E4C 00262DAC 7F C3 F3 78 */ mr r3, r30
/* 80265E50 00262DB0 48 0A FA E1 */ bl Free__7CMemoryFPCv
lbl_80265E54:
/* 80265E54 00262DB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80265E58 00262DB8 7F C3 F3 78 */ mr r3, r30
/* 80265E5C 00262DBC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80265E60 00262DC0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80265E64 00262DC4 7C 08 03 A6 */ mtlr r0
/* 80265E68 00262DC8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80265E6C 00262DCC 4E 80 00 20 */ blr
.global __ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f
__ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f:
/* 80265E70 00262DD0 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80265E74 00262DD4 7C 08 02 A6 */ mflr r0
/* 80265E78 00262DD8 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80265E7C 00262DDC DB E1 00 90 */ stfd f31, 0x90(r1)
/* 80265E80 00262DE0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80265E84 00262DE4 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 80265E88 00262DE8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 80265E8C 00262DEC DB A1 00 70 */ stfd f29, 0x70(r1)
/* 80265E90 00262DF0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 80265E94 00262DF4 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80265E98 00262DF8 93 C1 00 68 */ stw r30, 0x68(r1)
/* 80265E9C 00262DFC 93 A1 00 64 */ stw r29, 0x64(r1)
/* 80265EA0 00262E00 3C C0 80 3D */ lis r6, lbl_803D5298@ha
/* 80265EA4 00262E04 7C 7F 1B 78 */ mr r31, r3
/* 80265EA8 00262E08 38 06 52 98 */ addi r0, r6, lbl_803D5298@l
/* 80265EAC 00262E0C 7C 9D 23 78 */ mr r29, r4
/* 80265EB0 00262E10 7C BE 2B 78 */ mr r30, r5
/* 80265EB4 00262E14 38 61 00 30 */ addi r3, r1, 0x30
/* 80265EB8 00262E18 7C 04 03 78 */ mr r4, r0
/* 80265EBC 00262E1C 4B D9 ED FD */ bl string_l__4rstlFPCc
2022-04-24 01:54:45 +00:00
/* 80265EC0 00262E20 80 8D A3 88 */ lwz r4, kInvalidEditorId@sda21(r13)
2022-08-10 23:45:31 +00:00
/* 80265EC4 00262E24 3C 60 80 57 */ lis r3, NullConnectionList__7CEntity@ha
2022-04-24 01:54:45 +00:00
/* 80265EC8 00262E28 80 0D A3 90 */ lwz r0, kInvalidAreaId@sda21(r13)
2022-08-10 23:45:31 +00:00
/* 80265ECC 00262E2C 38 A3 D4 10 */ addi r5, r3, NullConnectionList__7CEntity@l
/* 80265ED0 00262E30 90 81 00 28 */ stw r4, 0x28(r1)
/* 80265ED4 00262E34 38 61 00 40 */ addi r3, r1, 0x40
/* 80265ED8 00262E38 38 81 00 2C */ addi r4, r1, 0x2c
/* 80265EDC 00262E3C 38 C1 00 28 */ addi r6, r1, 0x28
/* 80265EE0 00262E40 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80265EE4 00262E44 4B DE B5 A1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
2022-04-24 01:54:45 +00:00
/* 80265EE8 00262E48 A0 6D A3 8C */ lhz r3, kInvalidUniqueId@sda21(r13)
/* 80265EEC 00262E4C A0 1D 00 00 */ lhz r0, 0(r29)
/* 80265EF0 00262E50 B0 61 00 10 */ sth r3, 0x10(r1)
/* 80265EF4 00262E54 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80265EF8 00262E58 4B DA 61 C1 */ bl DefaultAspect__14CCameraManagerFv
/* 80265EFC 00262E5C FF A0 08 90 */ fmr f29, f1
/* 80265F00 00262E60 4B DA 61 C1 */ bl DefaultFarPlane__14CCameraManagerFv
/* 80265F04 00262E64 FF C0 08 90 */ fmr f30, f1
/* 80265F08 00262E68 4B DA 61 C1 */ bl DefaultNearPlane__14CCameraManagerFv
/* 80265F0C 00262E6C FF E0 08 90 */ fmr f31, f1
/* 80265F10 00262E70 4B DA 61 C9 */ bl DefaultThirdPersonFov__14CCameraManagerFv
/* 80265F14 00262E74 38 00 00 00 */ li r0, 0
/* 80265F18 00262E78 FC 40 F8 90 */ fmr f2, f31
/* 80265F1C 00262E7C FC 60 F0 90 */ fmr f3, f30
/* 80265F20 00262E80 90 01 00 08 */ stw r0, 8(r1)
/* 80265F24 00262E84 FC 80 E8 90 */ fmr f4, f29
/* 80265F28 00262E88 7F E3 FB 78 */ mr r3, r31
/* 80265F2C 00262E8C 7F C8 F3 78 */ mr r8, r30
/* 80265F30 00262E90 38 81 00 14 */ addi r4, r1, 0x14
/* 80265F34 00262E94 38 C1 00 30 */ addi r6, r1, 0x30
/* 80265F38 00262E98 38 E1 00 40 */ addi r7, r1, 0x40
/* 80265F3C 00262E9C 39 21 00 10 */ addi r9, r1, 0x10
/* 80265F40 00262EA0 38 A0 00 00 */ li r5, 0
/* 80265F44 00262EA4 39 40 00 00 */ li r10, 0
/* 80265F48 00262EA8 4B DF 7B 75 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi"
/* 80265F4C 00262EAC 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80265F50 00262EB0 80 61 00 50 */ lwz r3, 0x50(r1)
/* 80265F54 00262EB4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80265F58 00262EB8 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80265F5C 00262EBC 7C 64 1B 78 */ mr r4, r3
/* 80265F60 00262EC0 7C 03 02 14 */ add r0, r3, r0
/* 80265F64 00262EC4 90 61 00 18 */ stw r3, 0x18(r1)
/* 80265F68 00262EC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80265F6C 00262ECC 90 01 00 20 */ stw r0, 0x20(r1)
/* 80265F70 00262ED0 48 00 00 08 */ b lbl_80265F78
lbl_80265F74:
/* 80265F74 00262ED4 38 84 00 0C */ addi r4, r4, 0xc
lbl_80265F78:
/* 80265F78 00262ED8 7C 04 00 40 */ cmplw r4, r0
/* 80265F7C 00262EDC 40 82 FF F8 */ bne lbl_80265F74
/* 80265F80 00262EE0 28 03 00 00 */ cmplwi r3, 0
/* 80265F84 00262EE4 41 82 00 08 */ beq lbl_80265F8C
/* 80265F88 00262EE8 48 0A F9 A9 */ bl Free__7CMemoryFPCv
lbl_80265F8C:
/* 80265F8C 00262EEC 38 61 00 30 */ addi r3, r1, 0x30
/* 80265F90 00262EF0 48 0D 7B 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80265F94 00262EF4 3C 80 80 3F */ lis r4, lbl_803E9D80@ha
/* 80265F98 00262EF8 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2)
/* 80265F9C 00262EFC 38 04 9D 80 */ addi r0, r4, lbl_803E9D80@l
/* 80265FA0 00262F00 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
/* 80265FA4 00262F04 90 1F 00 00 */ stw r0, 0(r31)
/* 80265FA8 00262F08 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@l
/* 80265FAC 00262F0C 38 7F 01 94 */ addi r3, r31, 0x194
2022-04-24 01:54:45 +00:00
/* 80265FB0 00262F10 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80265FB4 00262F14 B0 1F 01 88 */ sth r0, 0x188(r31)
/* 80265FB8 00262F18 D0 1F 01 8C */ stfs f0, 0x18c(r31)
/* 80265FBC 00262F1C D0 1F 01 90 */ stfs f0, 0x190(r31)
/* 80265FC0 00262F20 48 0A CB B5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80265FC4 00262F24 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80265FC8 00262F28 C0 22 BA 9C */ lfs f1, lbl_805AD7BC@sda21(r2)
/* 80265FCC 00262F2C 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
/* 80265FD0 00262F30 38 80 00 00 */ li r4, 0
/* 80265FD4 00262F34 C0 45 00 00 */ lfs f2, 0(r5)
/* 80265FD8 00262F38 7F E3 FB 78 */ mr r3, r31
/* 80265FDC 00262F3C C0 02 BA 98 */ lfs f0, lbl_805AD7B8@sda21(r2)
/* 80265FE0 00262F40 D0 5F 01 C4 */ stfs f2, 0x1c4(r31)
/* 80265FE4 00262F44 C0 45 00 04 */ lfs f2, 4(r5)
/* 80265FE8 00262F48 D0 5F 01 C8 */ stfs f2, 0x1c8(r31)
/* 80265FEC 00262F4C C0 45 00 08 */ lfs f2, 8(r5)
/* 80265FF0 00262F50 D0 5F 01 CC */ stfs f2, 0x1cc(r31)
/* 80265FF4 00262F54 D0 3F 01 D0 */ stfs f1, 0x1d0(r31)
/* 80265FF8 00262F58 D0 3F 01 D4 */ stfs f1, 0x1d4(r31)
/* 80265FFC 00262F5C 88 1F 01 D8 */ lbz r0, 0x1d8(r31)
/* 80266000 00262F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80266004 00262F64 98 1F 01 D8 */ stb r0, 0x1d8(r31)
/* 80266008 00262F68 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 8026600C 00262F6C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80266010 00262F70 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80266014 00262F74 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 80266018 00262F78 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 8026601C 00262F7C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 80266020 00262F80 CB A1 00 70 */ lfd f29, 0x70(r1)
/* 80266024 00262F84 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 80266028 00262F88 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8026602C 00262F8C 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80266030 00262F90 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 80266034 00262F94 7C 08 03 A6 */ mtlr r0
/* 80266038 00262F98 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8026603C 00262F9C 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805AD7B8
lbl_805AD7B8:
# ROM: 0x3FA058
.float 6.2831855
.global lbl_805AD7BC
lbl_805AD7BC:
# ROM: 0x3FA05C
.4byte 0
.global lbl_805AD7C0
lbl_805AD7C0:
# ROM: 0x3FA060
.double 1.0
.global lbl_805AD7C8
lbl_805AD7C8:
# ROM: 0x3FA068
.float -1.0
.global lbl_805AD7CC
lbl_805AD7CC:
# ROM: 0x3FA06C
.float 1.0
.global lbl_805AD7D0
lbl_805AD7D0:
# ROM: 0x3FA070
.4byte 0x3FC90FDB
.global lbl_805AD7D4
lbl_805AD7D4:
# ROM: 0x3FA074
.float 2.0
.global lbl_805AD7D8
lbl_805AD7D8:
# ROM: 0x3FA078
.4byte 0x3F7FFFEF
.global lbl_805AD7DC
lbl_805AD7DC:
# ROM: 0x3FA07C
.float 0.5
.global lbl_805AD7E0
lbl_805AD7E0:
# ROM: 0x3FA080
.4byte 0x3F060A92
.global lbl_805AD7E4
lbl_805AD7E4:
# ROM: 0x3FA084
.4byte 0x3F7FF972
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D5298
lbl_803D5298:
# ROM: 0x3D2298
.asciz "Interpolation Camera"
.balign 4