prime/asm/MetroidPrime/BodyState/CBSSlide.s

402 lines
18 KiB
ArmAsm

.include "macros.inc"
.section .data
.global lbl_803E1F78
lbl_803E1F78:
# ROM: 0x3DEF78
.4byte 0
.4byte 0
.4byte __dt__8CBSSlideFv
.4byte IsInAir__10CBodyStateCFRC15CBodyController
.4byte IsDead__10CBodyStateCFv
.4byte IsDying__10CBodyStateCFv
.4byte IsMoving__8CBSSlideCFv
.4byte ApplyGravity__10CBodyStateCFv
.4byte ApplyHeadTracking__8CBSSlideCFv
.4byte ApplyAnimationDeltas__10CBodyStateCFv
.4byte CanShoot__10CBodyStateCFv
.4byte Start__8CBSSlideFR15CBodyControllerR13CStateManager
.4byte UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager
.4byte Shutdown__8CBSSlideFR15CBodyController
.section .text, "ax"
.global __dt__8CBSSlideFv
__dt__8CBSSlideFv:
/* 80143F84 00140EE4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80143F88 00140EE8 7C 08 02 A6 */ mflr r0
/* 80143F8C 00140EEC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80143F90 00140EF0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80143F94 00140EF4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80143F98 00140EF8 41 82 00 30 */ beq lbl_80143FC8
/* 80143F9C 00140EFC 3C 60 80 3E */ lis r3, lbl_803E1F78@ha
/* 80143FA0 00140F00 38 03 1F 78 */ addi r0, r3, lbl_803E1F78@l
/* 80143FA4 00140F04 90 1F 00 00 */ stw r0, 0(r31)
/* 80143FA8 00140F08 41 82 00 10 */ beq lbl_80143FB8
/* 80143FAC 00140F0C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80143FB0 00140F10 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80143FB4 00140F14 90 1F 00 00 */ stw r0, 0(r31)
lbl_80143FB8:
/* 80143FB8 00140F18 7C 80 07 35 */ extsh. r0, r4
/* 80143FBC 00140F1C 40 81 00 0C */ ble lbl_80143FC8
/* 80143FC0 00140F20 7F E3 FB 78 */ mr r3, r31
/* 80143FC4 00140F24 48 1D 19 6D */ bl Free__7CMemoryFPCv
lbl_80143FC8:
/* 80143FC8 00140F28 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80143FCC 00140F2C 7F E3 FB 78 */ mr r3, r31
/* 80143FD0 00140F30 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80143FD4 00140F34 7C 08 03 A6 */ mtlr r0
/* 80143FD8 00140F38 38 21 00 10 */ addi r1, r1, 0x10
/* 80143FDC 00140F3C 4E 80 00 20 */ blr
.global IsMoving__8CBSSlideCFv
IsMoving__8CBSSlideCFv:
/* 80143FE0 00140F40 38 60 00 01 */ li r3, 1
/* 80143FE4 00140F44 4E 80 00 20 */ blr
.global ApplyHeadTracking__8CBSSlideCFv
ApplyHeadTracking__8CBSSlideCFv:
/* 80143FE8 00140F48 38 60 00 00 */ li r3, 0
/* 80143FEC 00140F4C 4E 80 00 20 */ blr
.global GetBodyStateTransition__8CBSSlideFfR15CBodyController
GetBodyStateTransition__8CBSSlideFfR15CBodyController:
/* 80143FF0 00140F50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80143FF4 00140F54 7C 08 02 A6 */ mflr r0
/* 80143FF8 00140F58 90 01 00 14 */ stw r0, 0x14(r1)
/* 80143FFC 00140F5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80144000 00140F60 93 C1 00 08 */ stw r30, 8(r1)
/* 80144004 00140F64 7C 9E 23 78 */ mr r30, r4
/* 80144008 00140F68 3B FE 00 04 */ addi r31, r30, 4
/* 8014400C 00140F6C 38 80 00 0F */ li r4, 0xf
/* 80144010 00140F70 7F E3 FB 78 */ mr r3, r31
/* 80144014 00140F74 4B FE D4 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144018 00140F78 28 03 00 00 */ cmplwi r3, 0
/* 8014401C 00140F7C 41 82 00 0C */ beq lbl_80144028
/* 80144020 00140F80 38 60 00 0E */ li r3, 0xe
/* 80144024 00140F84 48 00 00 6C */ b lbl_80144090
lbl_80144028:
/* 80144028 00140F88 7F E3 FB 78 */ mr r3, r31
/* 8014402C 00140F8C 38 80 00 03 */ li r4, 3
/* 80144030 00140F90 4B FE D4 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144034 00140F94 28 03 00 00 */ cmplwi r3, 0
/* 80144038 00140F98 41 82 00 0C */ beq lbl_80144044
/* 8014403C 00140F9C 38 60 00 00 */ li r3, 0
/* 80144040 00140FA0 48 00 00 50 */ b lbl_80144090
lbl_80144044:
/* 80144044 00140FA4 7F E3 FB 78 */ mr r3, r31
/* 80144048 00140FA8 38 80 00 09 */ li r4, 9
/* 8014404C 00140FAC 4B FE D4 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144050 00140FB0 28 03 00 00 */ cmplwi r3, 0
/* 80144054 00140FB4 41 82 00 0C */ beq lbl_80144060
/* 80144058 00140FB8 38 60 00 0A */ li r3, 0xa
/* 8014405C 00140FBC 48 00 00 34 */ b lbl_80144090
lbl_80144060:
/* 80144060 00140FC0 7F E3 FB 78 */ mr r3, r31
/* 80144064 00140FC4 38 80 00 04 */ li r4, 4
/* 80144068 00140FC8 4B FE D3 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014406C 00140FCC 28 03 00 00 */ cmplwi r3, 0
/* 80144070 00140FD0 41 82 00 0C */ beq lbl_8014407C
/* 80144074 00140FD4 38 60 00 06 */ li r3, 6
/* 80144078 00140FD8 48 00 00 18 */ b lbl_80144090
lbl_8014407C:
/* 8014407C 00140FDC 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80144080 00140FE0 38 60 FF FF */ li r3, -1
/* 80144084 00140FE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80144088 00140FE8 41 82 00 08 */ beq lbl_80144090
/* 8014408C 00140FEC 38 60 00 05 */ li r3, 5
lbl_80144090:
/* 80144090 00140FF0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80144094 00140FF4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80144098 00140FF8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014409C 00140FFC 7C 08 03 A6 */ mtlr r0
/* 801440A0 00141000 38 21 00 10 */ addi r1, r1, 0x10
/* 801440A4 00141004 4E 80 00 20 */ blr
.global Shutdown__8CBSSlideFR15CBodyController
Shutdown__8CBSSlideFR15CBodyController:
/* 801440A8 00141008 4E 80 00 20 */ blr
.global UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager
UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager:
/* 801440AC 0014100C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801440B0 00141010 7C 08 02 A6 */ mflr r0
/* 801440B4 00141014 90 01 00 44 */ stw r0, 0x44(r1)
/* 801440B8 00141018 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801440BC 0014101C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 801440C0 00141020 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801440C4 00141024 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801440C8 00141028 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801440CC 0014102C FF E0 08 90 */ fmr f31, f1
/* 801440D0 00141030 7C 7D 1B 78 */ mr r29, r3
/* 801440D4 00141034 7C 9E 23 78 */ mr r30, r4
/* 801440D8 00141038 4B FF FF 19 */ bl GetBodyStateTransition__8CBSSlideFfR15CBodyController
/* 801440DC 0014103C 7C 7F 1B 78 */ mr r31, r3
/* 801440E0 00141040 2C 1F FF FF */ cmpwi r31, -1
/* 801440E4 00141044 40 82 00 34 */ bne lbl_80144118
/* 801440E8 00141048 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 801440EC 0014104C C0 3D 00 04 */ lfs f1, 4(r29)
/* 801440F0 00141050 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 801440F4 00141054 41 82 00 24 */ beq lbl_80144118
/* 801440F8 00141058 EC 1F 00 72 */ fmuls f0, f31, f1
/* 801440FC 0014105C 38 61 00 0C */ addi r3, r1, 0xc
/* 80144100 00141060 38 81 00 08 */ addi r4, r1, 8
/* 80144104 00141064 D0 01 00 08 */ stfs f0, 8(r1)
/* 80144108 00141068 48 1C CF F1 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 8014410C 0014106C 7F C3 F3 78 */ mr r3, r30
/* 80144110 00141070 38 81 00 0C */ addi r4, r1, 0xc
/* 80144114 00141074 4B FF 66 F5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
lbl_80144118:
/* 80144118 00141078 7F E3 FB 78 */ mr r3, r31
/* 8014411C 0014107C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80144120 00141080 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80144124 00141084 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80144128 00141088 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8014412C 0014108C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80144130 00141090 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80144134 00141094 7C 08 03 A6 */ mtlr r0
/* 80144138 00141098 38 21 00 40 */ addi r1, r1, 0x40
/* 8014413C 0014109C 4E 80 00 20 */ blr
.global Start__8CBSSlideFR15CBodyControllerR13CStateManager
Start__8CBSSlideFR15CBodyControllerR13CStateManager:
/* 80144140 001410A0 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 80144144 001410A4 7C 08 02 A6 */ mflr r0
/* 80144148 001410A8 90 01 01 34 */ stw r0, 0x134(r1)
/* 8014414C 001410AC DB E1 01 20 */ stfd f31, 0x120(r1)
/* 80144150 001410B0 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0
/* 80144154 001410B4 DB C1 01 10 */ stfd f30, 0x110(r1)
/* 80144158 001410B8 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0
/* 8014415C 001410BC BF 61 00 FC */ stmw r27, 0xfc(r1)
/* 80144160 001410C0 7C 9B 23 78 */ mr r27, r4
/* 80144164 001410C4 7C 7F 1B 78 */ mr r31, r3
/* 80144168 001410C8 7C BC 2B 78 */ mr r28, r5
/* 8014416C 001410CC 38 80 00 11 */ li r4, 0x11
/* 80144170 001410D0 38 7B 00 04 */ addi r3, r27, 4
/* 80144174 001410D4 4B FE D2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144178 001410D8 80 9B 00 00 */ lwz r4, 0(r27)
/* 8014417C 001410DC 7C 7E 1B 78 */ mr r30, r3
/* 80144180 001410E0 38 61 00 68 */ addi r3, r1, 0x68
/* 80144184 001410E4 38 84 00 34 */ addi r4, r4, 0x34
/* 80144188 001410E8 38 BE 00 0C */ addi r5, r30, 0xc
/* 8014418C 001410EC 48 1C E8 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80144190 001410F0 C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 80144194 001410F4 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 80144198 001410F8 48 25 0A D5 */ bl atan2
/* 8014419C 001410FC FF C0 08 18 */ frsp f30, f1
/* 801441A0 00141100 7F 63 DB 78 */ mr r3, r27
/* 801441A4 00141104 4B FF 62 B1 */ bl GetPASDatabase__15CBodyControllerCFv
/* 801441A8 00141108 83 DE 00 08 */ lwz r30, 8(r30)
/* 801441AC 0014110C 7C 7D 1B 78 */ mr r29, r3
/* 801441B0 00141110 38 61 00 20 */ addi r3, r1, 0x20
/* 801441B4 00141114 48 19 EE C9 */ bl NoParameter__12CPASAnimParmFv
/* 801441B8 00141118 38 61 00 28 */ addi r3, r1, 0x28
/* 801441BC 0014111C 48 19 EE C1 */ bl NoParameter__12CPASAnimParmFv
/* 801441C0 00141120 38 61 00 30 */ addi r3, r1, 0x30
/* 801441C4 00141124 48 19 EE B9 */ bl NoParameter__12CPASAnimParmFv
/* 801441C8 00141128 38 61 00 38 */ addi r3, r1, 0x38
/* 801441CC 0014112C 48 19 EE B1 */ bl NoParameter__12CPASAnimParmFv
/* 801441D0 00141130 38 61 00 40 */ addi r3, r1, 0x40
/* 801441D4 00141134 48 19 EE A9 */ bl NoParameter__12CPASAnimParmFv
/* 801441D8 00141138 38 61 00 48 */ addi r3, r1, 0x48
/* 801441DC 0014113C 48 19 EE A1 */ bl NoParameter__12CPASAnimParmFv
/* 801441E0 00141140 C0 02 9B F4 */ lfs f0, lbl_805AB914@sda21(r2)
/* 801441E4 00141144 38 61 00 50 */ addi r3, r1, 0x50
/* 801441E8 00141148 EC 20 07 B2 */ fmuls f1, f0, f30
/* 801441EC 0014114C 48 19 ED FD */ bl FromReal32__12CPASAnimParmFf
/* 801441F0 00141150 7F C4 F3 78 */ mr r4, r30
/* 801441F4 00141154 38 61 00 58 */ addi r3, r1, 0x58
/* 801441F8 00141158 48 19 ED 8D */ bl FromEnum__12CPASAnimParmFi
/* 801441FC 0014115C 38 61 00 28 */ addi r3, r1, 0x28
/* 80144200 00141160 38 01 00 20 */ addi r0, r1, 0x20
/* 80144204 00141164 90 61 00 08 */ stw r3, 8(r1)
/* 80144208 00141168 38 61 00 9C */ addi r3, r1, 0x9c
/* 8014420C 0014116C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80144210 00141170 38 C1 00 50 */ addi r6, r1, 0x50
/* 80144214 00141174 90 01 00 0C */ stw r0, 0xc(r1)
/* 80144218 00141178 38 E1 00 48 */ addi r7, r1, 0x48
/* 8014421C 0014117C 39 01 00 40 */ addi r8, r1, 0x40
/* 80144220 00141180 39 21 00 38 */ addi r9, r1, 0x38
/* 80144224 00141184 39 41 00 30 */ addi r10, r1, 0x30
/* 80144228 00141188 38 80 00 0F */ li r4, 0xf
/* 8014422C 0014118C 4B F3 90 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80144230 00141190 80 DC 09 00 */ lwz r6, 0x900(r28)
/* 80144234 00141194 7F A4 EB 78 */ mr r4, r29
/* 80144238 00141198 38 61 00 18 */ addi r3, r1, 0x18
/* 8014423C 0014119C 38 A1 00 9C */ addi r5, r1, 0x9c
/* 80144240 001411A0 38 E0 FF FF */ li r7, -1
/* 80144244 001411A4 48 1A 0E 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80144248 001411A8 83 C1 00 1C */ lwz r30, 0x1c(r1)
/* 8014424C 001411AC 38 00 00 00 */ li r0, 0
/* 80144250 001411B0 C0 02 9B F8 */ lfs f0, lbl_805AB918@sda21(r2)
/* 80144254 001411B4 38 A0 FF FF */ li r5, -1
/* 80144258 001411B8 38 E0 00 01 */ li r7, 1
/* 8014425C 001411BC 93 C1 00 74 */ stw r30, 0x74(r1)
/* 80144260 001411C0 7F 63 DB 78 */ mr r3, r27
/* 80144264 001411C4 38 81 00 74 */ addi r4, r1, 0x74
/* 80144268 001411C8 90 A1 00 78 */ stw r5, 0x78(r1)
/* 8014426C 001411CC 38 A0 00 00 */ li r5, 0
/* 80144270 001411D0 38 C0 00 00 */ li r6, 0
/* 80144274 001411D4 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80144278 001411D8 98 E1 00 80 */ stb r7, 0x80(r1)
/* 8014427C 001411DC 90 01 00 84 */ stw r0, 0x84(r1)
/* 80144280 001411E0 90 01 00 88 */ stw r0, 0x88(r1)
/* 80144284 001411E4 98 01 00 8C */ stb r0, 0x8c(r1)
/* 80144288 001411E8 90 01 00 90 */ stw r0, 0x90(r1)
/* 8014428C 001411EC 90 01 00 94 */ stw r0, 0x94(r1)
/* 80144290 001411F0 90 01 00 98 */ stw r0, 0x98(r1)
/* 80144294 001411F4 4B FF 66 89 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80144298 001411F8 7F 63 DB 78 */ mr r3, r27
/* 8014429C 001411FC 4B FF 66 1D */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 801442A0 00141200 FF E0 08 90 */ fmr f31, f1
/* 801442A4 00141204 C0 02 9B FC */ lfs f0, lbl_805AB91C@sda21(r2)
/* 801442A8 00141208 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 801442AC 0014120C 40 81 00 B4 */ ble lbl_80144360
/* 801442B0 00141210 7F A3 EB 78 */ mr r3, r29
/* 801442B4 00141214 38 80 00 0F */ li r4, 0xf
/* 801442B8 00141218 48 1A 0C 0D */ bl GetAnimState__12CPASDatabaseCFi
/* 801442BC 0014121C 7C 64 1B 78 */ mr r4, r3
/* 801442C0 00141220 7F C5 F3 78 */ mr r5, r30
/* 801442C4 00141224 38 61 00 10 */ addi r3, r1, 0x10
/* 801442C8 00141228 38 C0 00 01 */ li r6, 1
/* 801442CC 0014122C 48 19 FD 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 801442D0 00141230 80 81 00 10 */ lwz r4, 0x10(r1)
/* 801442D4 00141234 38 61 00 60 */ addi r3, r1, 0x60
/* 801442D8 00141238 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801442DC 0014123C 90 81 00 60 */ stw r4, 0x60(r1)
/* 801442E0 00141240 90 01 00 64 */ stw r0, 0x64(r1)
/* 801442E4 00141244 48 19 EC 89 */ bl GetReal32Value__12CPASAnimParmCFv
/* 801442E8 00141248 C0 02 9C 00 */ lfs f0, lbl_805AB920@sda21(r2)
/* 801442EC 0014124C 3C 00 43 30 */ lis r0, 0x4330
/* 801442F0 00141250 C0 42 9C 04 */ lfs f2, lbl_805AB924@sda21(r2)
/* 801442F4 00141254 EC 00 00 72 */ fmuls f0, f0, f1
/* 801442F8 00141258 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 801442FC 0014125C C8 62 9C 10 */ lfd f3, lbl_805AB930@sda21(r2)
/* 80144300 00141260 C0 22 9C 08 */ lfs f1, lbl_805AB928@sda21(r2)
/* 80144304 00141264 EC 9E 00 28 */ fsubs f4, f30, f0
/* 80144308 00141268 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 8014430C 0014126C EC 44 00 B2 */ fmuls f2, f4, f2
/* 80144310 00141270 FC 40 10 1E */ fctiwz f2, f2
/* 80144314 00141274 D8 41 00 E8 */ stfd f2, 0xe8(r1)
/* 80144318 00141278 80 01 00 EC */ lwz r0, 0xec(r1)
/* 8014431C 0014127C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80144320 00141280 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80144324 00141284 C8 41 00 F0 */ lfd f2, 0xf0(r1)
/* 80144328 00141288 EC 42 18 28 */ fsubs f2, f2, f3
/* 8014432C 0014128C EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 80144330 00141290 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80144334 00141294 40 80 00 08 */ bge lbl_8014433C
/* 80144338 00141298 EC 42 08 2A */ fadds f2, f2, f1
lbl_8014433C:
/* 8014433C 0014129C C0 02 9C 0C */ lfs f0, lbl_805AB92C@sda21(r2)
/* 80144340 001412A0 FC 20 10 90 */ fmr f1, f2
/* 80144344 001412A4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80144348 001412A8 40 81 00 0C */ ble lbl_80144354
/* 8014434C 001412AC C0 02 9C 08 */ lfs f0, lbl_805AB928@sda21(r2)
/* 80144350 001412B0 EC 22 00 28 */ fsubs f1, f2, f0
lbl_80144354:
/* 80144354 001412B4 EC 01 F8 24 */ fdivs f0, f1, f31
/* 80144358 001412B8 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8014435C 001412BC 48 00 00 0C */ b lbl_80144368
lbl_80144360:
/* 80144360 001412C0 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 80144364 001412C4 D0 1F 00 04 */ stfs f0, 4(r31)
lbl_80144368:
/* 80144368 001412C8 34 A1 00 A0 */ addic. r5, r1, 0xa0
/* 8014436C 001412CC 41 82 00 58 */ beq lbl_801443C4
/* 80144370 001412D0 80 C5 00 00 */ lwz r6, 0(r5)
/* 80144374 001412D4 38 60 00 00 */ li r3, 0
/* 80144378 001412D8 2C 06 00 00 */ cmpwi r6, 0
/* 8014437C 001412DC 40 81 00 40 */ ble lbl_801443BC
/* 80144380 001412E0 2C 06 00 08 */ cmpwi r6, 8
/* 80144384 001412E4 38 86 FF F8 */ addi r4, r6, -8
/* 80144388 001412E8 40 81 00 20 */ ble lbl_801443A8
/* 8014438C 001412EC 38 04 00 07 */ addi r0, r4, 7
/* 80144390 001412F0 54 00 E8 FE */ srwi r0, r0, 3
/* 80144394 001412F4 7C 09 03 A6 */ mtctr r0
/* 80144398 001412F8 2C 04 00 00 */ cmpwi r4, 0
/* 8014439C 001412FC 40 81 00 0C */ ble lbl_801443A8
lbl_801443A0:
/* 801443A0 00141300 38 63 00 08 */ addi r3, r3, 8
/* 801443A4 00141304 42 00 FF FC */ bdnz lbl_801443A0
lbl_801443A8:
/* 801443A8 00141308 7C 03 30 50 */ subf r0, r3, r6
/* 801443AC 0014130C 7C 09 03 A6 */ mtctr r0
/* 801443B0 00141310 7C 03 30 00 */ cmpw r3, r6
/* 801443B4 00141314 40 80 00 08 */ bge lbl_801443BC
lbl_801443B8:
/* 801443B8 00141318 42 00 00 00 */ bdnz lbl_801443B8
lbl_801443BC:
/* 801443BC 0014131C 38 00 00 00 */ li r0, 0
/* 801443C0 00141320 90 05 00 00 */ stw r0, 0(r5)
lbl_801443C4:
/* 801443C4 00141324 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0
/* 801443C8 00141328 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 801443CC 0014132C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0
/* 801443D0 00141330 CB C1 01 10 */ lfd f30, 0x110(r1)
/* 801443D4 00141334 BB 61 00 FC */ lmw r27, 0xfc(r1)
/* 801443D8 00141338 80 01 01 34 */ lwz r0, 0x134(r1)
/* 801443DC 0014133C 7C 08 03 A6 */ mtlr r0
/* 801443E0 00141340 38 21 01 30 */ addi r1, r1, 0x130
/* 801443E4 00141344 4E 80 00 20 */ blr
.global __ct__8CBSSlideFv
__ct__8CBSSlideFv:
/* 801443E8 00141348 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801443EC 0014134C 3C 80 80 3E */ lis r4, lbl_803E1F78@ha
/* 801443F0 00141350 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801443F4 00141354 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 801443F8 00141358 90 A3 00 00 */ stw r5, 0(r3)
/* 801443FC 0014135C 38 04 1F 78 */ addi r0, r4, lbl_803E1F78@l
/* 80144400 00141360 90 03 00 00 */ stw r0, 0(r3)
/* 80144404 00141364 D0 03 00 04 */ stfs f0, 4(r3)
/* 80144408 00141368 4E 80 00 20 */ blr
.section .sdata2, "a"
.global lbl_805AB910
lbl_805AB910:
# ROM: 0x3F81B0
.4byte 0
.global lbl_805AB914
lbl_805AB914:
# ROM: 0x3F81B4
.4byte 0x42652EE0
.global lbl_805AB918
lbl_805AB918:
# ROM: 0x3F81B8
.float 1.0
.global lbl_805AB91C
lbl_805AB91C:
# ROM: 0x3F81BC
.float 1.1920929E-7
.global lbl_805AB920
lbl_805AB920:
# ROM: 0x3F81C0
.float 0.017453292
.global lbl_805AB924
lbl_805AB924:
# ROM: 0x3F81C4
.4byte 0x3E22F983
.global lbl_805AB928
lbl_805AB928:
# ROM: 0x3F81C8
.float 6.2831855
.global lbl_805AB92C
lbl_805AB92C:
# ROM: 0x3F81CC
.4byte 0x40490FDB
.global lbl_805AB930
lbl_805AB930:
# ROM: 0x3F81D0
.double 4.503601774854144E15