mirror of https://github.com/PrimeDecomp/prime.git
1238 lines
62 KiB
ArmAsm
1238 lines
62 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .data
|
|
.balign 8
|
|
|
|
.global lbl_803E2008
|
|
lbl_803E2008:
|
|
# ROM: 0x3DF008
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte __dt__7CBSJumpFv
|
|
.4byte IsInAir__7CBSJumpCFRC15CBodyController
|
|
.4byte IsDead__10CBodyStateCFv
|
|
.4byte IsDying__10CBodyStateCFv
|
|
.4byte IsMoving__7CBSJumpCFv
|
|
.4byte ApplyGravity__10CBodyStateCFv
|
|
.4byte ApplyHeadTracking__7CBSJumpCFv
|
|
.4byte ApplyAnimationDeltas__7CBSJumpCFv
|
|
.4byte CanShoot__7CBSJumpCFv
|
|
.4byte Start__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
.4byte UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager
|
|
.4byte Shutdown__7CBSJumpFR15CBodyController
|
|
|
|
.section .text, "ax"
|
|
|
|
.global __dt__7CBSJumpFv
|
|
__dt__7CBSJumpFv:
|
|
/* 80145610 00142570 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80145614 00142574 7C 08 02 A6 */ mflr r0
|
|
/* 80145618 00142578 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8014561C 0014257C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80145620 00142580 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80145624 00142584 41 82 00 30 */ beq lbl_80145654
|
|
/* 80145628 00142588 3C 60 80 3E */ lis r3, lbl_803E2008@ha
|
|
/* 8014562C 0014258C 38 03 20 08 */ addi r0, r3, lbl_803E2008@l
|
|
/* 80145630 00142590 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 80145634 00142594 41 82 00 10 */ beq lbl_80145644
|
|
/* 80145638 00142598 3C 60 80 3E */ lis r3, lbl_803E1318@ha
|
|
/* 8014563C 0014259C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
|
|
/* 80145640 001425A0 90 1F 00 00 */ stw r0, 0(r31)
|
|
lbl_80145644:
|
|
/* 80145644 001425A4 7C 80 07 35 */ extsh. r0, r4
|
|
/* 80145648 001425A8 40 81 00 0C */ ble lbl_80145654
|
|
/* 8014564C 001425AC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80145650 001425B0 48 1D 02 E1 */ bl Free__7CMemoryFPCv
|
|
lbl_80145654:
|
|
/* 80145654 001425B4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80145658 001425B8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8014565C 001425BC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80145660 001425C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80145664 001425C4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80145668 001425C8 4E 80 00 20 */ blr
|
|
|
|
.global IsMoving__7CBSJumpCFv
|
|
IsMoving__7CBSJumpCFv:
|
|
/* 8014566C 001425CC 38 60 00 01 */ li r3, 1
|
|
/* 80145670 001425D0 4E 80 00 20 */ blr
|
|
|
|
.global ApplyHeadTracking__7CBSJumpCFv
|
|
ApplyHeadTracking__7CBSJumpCFv:
|
|
/* 80145674 001425D4 38 60 00 00 */ li r3, 0
|
|
/* 80145678 001425D8 4E 80 00 20 */ blr
|
|
|
|
.global GetBodyStateTransition__7CBSJumpFfR15CBodyController
|
|
GetBodyStateTransition__7CBSJumpFfR15CBodyController:
|
|
/* 8014567C 001425DC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80145680 001425E0 7C 08 02 A6 */ mflr r0
|
|
/* 80145684 001425E4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80145688 001425E8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8014568C 001425EC 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80145690 001425F0 7C 9E 23 78 */ mr r30, r4
|
|
/* 80145694 001425F4 3B FE 00 04 */ addi r31, r30, 4
|
|
/* 80145698 001425F8 38 80 00 0F */ li r4, 0xf
|
|
/* 8014569C 001425FC 7F E3 FB 78 */ mr r3, r31
|
|
/* 801456A0 00142600 4B FE BD DD */ bl GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd
|
|
/* 801456A4 00142604 28 03 00 00 */ cmplwi r3, 0
|
|
/* 801456A8 00142608 41 82 00 14 */ beq lbl_801456BC
|
|
/* 801456AC 0014260C 38 00 00 01 */ li r0, 1
|
|
/* 801456B0 00142610 98 03 00 20 */ stb r0, 0x20(r3)
|
|
/* 801456B4 00142614 38 60 00 0E */ li r3, 0xe
|
|
/* 801456B8 00142618 48 00 00 4C */ b lbl_80145704
|
|
lbl_801456BC:
|
|
/* 801456BC 0014261C 7F E3 FB 78 */ mr r3, r31
|
|
/* 801456C0 00142620 38 80 00 03 */ li r4, 3
|
|
/* 801456C4 00142624 4B FE BD 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
|
|
/* 801456C8 00142628 28 03 00 00 */ cmplwi r3, 0
|
|
/* 801456CC 0014262C 41 82 00 0C */ beq lbl_801456D8
|
|
/* 801456D0 00142630 38 60 00 00 */ li r3, 0
|
|
/* 801456D4 00142634 48 00 00 30 */ b lbl_80145704
|
|
lbl_801456D8:
|
|
/* 801456D8 00142638 7F E3 FB 78 */ mr r3, r31
|
|
/* 801456DC 0014263C 38 80 00 10 */ li r4, 0x10
|
|
/* 801456E0 00142640 4B FE BD 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
|
|
/* 801456E4 00142644 28 03 00 00 */ cmplwi r3, 0
|
|
/* 801456E8 00142648 41 82 00 18 */ beq lbl_80145700
|
|
/* 801456EC 0014264C 80 1E 02 F4 */ lwz r0, 0x2f4(r30)
|
|
/* 801456F0 00142650 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 801456F4 00142654 40 82 00 0C */ bne lbl_80145700
|
|
/* 801456F8 00142658 38 60 00 0D */ li r3, 0xd
|
|
/* 801456FC 0014265C 48 00 00 08 */ b lbl_80145704
|
|
lbl_80145700:
|
|
/* 80145700 00142660 38 60 FF FF */ li r3, -1
|
|
lbl_80145704:
|
|
/* 80145704 00142664 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80145708 00142668 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8014570C 0014266C 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80145710 00142670 7C 08 03 A6 */ mtlr r0
|
|
/* 80145714 00142674 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80145718 00142678 4E 80 00 20 */ blr
|
|
|
|
.global CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager:
|
|
/* 8014571C 0014267C 94 21 FF 10 */ stwu r1, -0xf0(r1)
|
|
/* 80145720 00142680 7C 08 02 A6 */ mflr r0
|
|
/* 80145724 00142684 90 01 00 F4 */ stw r0, 0xf4(r1)
|
|
/* 80145728 00142688 DB E1 00 E0 */ stfd f31, 0xe0(r1)
|
|
/* 8014572C 0014268C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
|
|
/* 80145730 00142690 BF 61 00 CC */ stmw r27, 0xcc(r1)
|
|
/* 80145734 00142694 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80145738 00142698 88 63 00 30 */ lbz r3, 0x30(r3)
|
|
/* 8014573C 0014269C 7C 9C 23 78 */ mr r28, r4
|
|
/* 80145740 001426A0 7C BD 2B 78 */ mr r29, r5
|
|
/* 80145744 001426A4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
|
|
/* 80145748 001426A8 3B C0 00 00 */ li r30, 0
|
|
/* 8014574C 001426AC 41 82 01 CC */ beq lbl_80145918
|
|
/* 80145750 001426B0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
|
|
/* 80145754 001426B4 40 82 01 C4 */ bne lbl_80145918
|
|
/* 80145758 001426B8 80 9C 00 00 */ lwz r4, 0(r28)
|
|
/* 8014575C 001426BC 38 61 00 54 */ addi r3, r1, 0x54
|
|
/* 80145760 001426C0 4B F6 72 FD */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
|
|
/* 80145764 001426C4 83 E3 00 04 */ lwz r31, 4(r3)
|
|
/* 80145768 001426C8 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8014576C 001426CC 41 82 01 AC */ beq lbl_80145918
|
|
/* 80145770 001426D0 C0 3B 00 10 */ lfs f1, 0x10(r27)
|
|
/* 80145774 001426D4 38 61 00 5C */ addi r3, r1, 0x5c
|
|
/* 80145778 001426D8 C0 1F 00 50 */ lfs f0, 0x50(r31)
|
|
/* 8014577C 001426DC C0 7B 00 14 */ lfs f3, 0x14(r27)
|
|
/* 80145780 001426E0 C0 5F 00 60 */ lfs f2, 0x60(r31)
|
|
/* 80145784 001426E4 EC 81 00 28 */ fsubs f4, f1, f0
|
|
/* 80145788 001426E8 C0 3B 00 0C */ lfs f1, 0xc(r27)
|
|
/* 8014578C 001426EC C0 1F 00 40 */ lfs f0, 0x40(r31)
|
|
/* 80145790 001426F0 EC 43 10 28 */ fsubs f2, f3, f2
|
|
/* 80145794 001426F4 EC 01 00 28 */ fsubs f0, f1, f0
|
|
/* 80145798 001426F8 D0 81 00 60 */ stfs f4, 0x60(r1)
|
|
/* 8014579C 001426FC D0 41 00 64 */ stfs f2, 0x64(r1)
|
|
/* 801457A0 00142700 D0 01 00 5C */ stfs f0, 0x5c(r1)
|
|
/* 801457A4 00142704 48 1C F1 15 */ bl Magnitude__9CVector3fCFv
|
|
/* 801457A8 00142708 FF E0 08 90 */ fmr f31, f1
|
|
/* 801457AC 0014270C 7F E4 FB 78 */ mr r4, r31
|
|
/* 801457B0 00142710 38 61 00 68 */ addi r3, r1, 0x68
|
|
/* 801457B4 00142714 4B FD 51 79 */ bl GetBoundingBox__13CPhysicsActorCFv
|
|
/* 801457B8 00142718 C0 21 00 74 */ lfs f1, 0x74(r1)
|
|
/* 801457BC 0014271C C0 01 00 68 */ lfs f0, 0x68(r1)
|
|
/* 801457C0 00142720 C0 42 9C 60 */ lfs f2, lbl_805AB980@sda21(r2)
|
|
/* 801457C4 00142724 EC 21 00 28 */ fsubs f1, f1, f0
|
|
/* 801457C8 00142728 C0 02 9C 64 */ lfs f0, lbl_805AB984@sda21(r2)
|
|
/* 801457CC 0014272C EC 22 00 72 */ fmuls f1, f2, f1
|
|
/* 801457D0 00142730 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 801457D4 00142734 FC 1F 00 40 */ fcmpo cr0, f31, f0
|
|
/* 801457D8 00142738 41 80 00 20 */ blt lbl_801457F8
|
|
/* 801457DC 0014273C 88 1F 03 28 */ lbz r0, 0x328(r31)
|
|
/* 801457E0 00142740 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 801457E4 00142744 41 82 01 34 */ beq lbl_80145918
|
|
/* 801457E8 00142748 C0 02 9C 68 */ lfs f0, lbl_805AB988@sda21(r2)
|
|
/* 801457EC 0014274C EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 801457F0 00142750 FC 1F 00 40 */ fcmpo cr0, f31, f0
|
|
/* 801457F4 00142754 40 80 01 24 */ bge lbl_80145918
|
|
lbl_801457F8:
|
|
/* 801457F8 00142758 88 1B 00 30 */ lbz r0, 0x30(r27)
|
|
/* 801457FC 0014275C 38 60 00 04 */ li r3, 4
|
|
/* 80145800 00142760 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 80145804 00142764 41 82 00 08 */ beq lbl_8014580C
|
|
/* 80145808 00142768 38 60 00 05 */ li r3, 5
|
|
lbl_8014580C:
|
|
/* 8014580C 0014276C 90 7B 00 04 */ stw r3, 4(r27)
|
|
/* 80145810 00142770 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80145814 00142774 48 19 D8 69 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145818 00142778 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 8014581C 0014277C 48 19 D8 61 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145820 00142780 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 80145824 00142784 48 19 D8 59 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145828 00142788 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 8014582C 0014278C 48 19 D8 51 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145830 00142790 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 80145834 00142794 48 19 D8 49 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145838 00142798 38 61 00 3C */ addi r3, r1, 0x3c
|
|
/* 8014583C 0014279C 48 19 D8 41 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145840 001427A0 80 9B 00 08 */ lwz r4, 8(r27)
|
|
/* 80145844 001427A4 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 80145848 001427A8 48 19 D7 3D */ bl FromEnum__12CPASAnimParmFi
|
|
/* 8014584C 001427AC 80 9B 00 04 */ lwz r4, 4(r27)
|
|
/* 80145850 001427B0 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80145854 001427B4 48 19 D7 31 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80145858 001427B8 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 8014585C 001427BC 38 01 00 14 */ addi r0, r1, 0x14
|
|
/* 80145860 001427C0 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80145864 001427C4 38 61 00 80 */ addi r3, r1, 0x80
|
|
/* 80145868 001427C8 38 A1 00 4C */ addi r5, r1, 0x4c
|
|
/* 8014586C 001427CC 38 C1 00 44 */ addi r6, r1, 0x44
|
|
/* 80145870 001427D0 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80145874 001427D4 38 E1 00 3C */ addi r7, r1, 0x3c
|
|
/* 80145878 001427D8 39 01 00 34 */ addi r8, r1, 0x34
|
|
/* 8014587C 001427DC 39 21 00 2C */ addi r9, r1, 0x2c
|
|
/* 80145880 001427E0 39 41 00 24 */ addi r10, r1, 0x24
|
|
/* 80145884 001427E4 38 80 00 0D */ li r4, 0xd
|
|
/* 80145888 001427E8 4B F3 7A 3D */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 8014588C 001427EC 80 BD 09 00 */ lwz r5, 0x900(r29)
|
|
/* 80145890 001427F0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145894 001427F4 38 81 00 80 */ addi r4, r1, 0x80
|
|
/* 80145898 001427F8 4B FF 4B 11 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 8014589C 001427FC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 801458A0 00142800 7F A3 EB 78 */ mr r3, r29
|
|
/* 801458A4 00142804 7F E4 FB 78 */ mr r4, r31
|
|
/* 801458A8 00142808 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 801458AC 0014280C B0 01 00 10 */ sth r0, 0x10(r1)
|
|
/* 801458B0 00142810 38 C0 00 17 */ li r6, 0x17
|
|
/* 801458B4 00142814 4B EF E6 1D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
|
|
/* 801458B8 00142818 34 A1 00 84 */ addic. r5, r1, 0x84
|
|
/* 801458BC 0014281C 3B C0 00 01 */ li r30, 1
|
|
/* 801458C0 00142820 41 82 00 58 */ beq lbl_80145918
|
|
/* 801458C4 00142824 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 801458C8 00142828 38 60 00 00 */ li r3, 0
|
|
/* 801458CC 0014282C 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 801458D0 00142830 40 81 00 40 */ ble lbl_80145910
|
|
/* 801458D4 00142834 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 801458D8 00142838 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 801458DC 0014283C 40 81 00 20 */ ble lbl_801458FC
|
|
/* 801458E0 00142840 38 04 00 07 */ addi r0, r4, 7
|
|
/* 801458E4 00142844 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 801458E8 00142848 7C 09 03 A6 */ mtctr r0
|
|
/* 801458EC 0014284C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 801458F0 00142850 40 81 00 0C */ ble lbl_801458FC
|
|
lbl_801458F4:
|
|
/* 801458F4 00142854 38 63 00 08 */ addi r3, r3, 8
|
|
/* 801458F8 00142858 42 00 FF FC */ bdnz lbl_801458F4
|
|
lbl_801458FC:
|
|
/* 801458FC 0014285C 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80145900 00142860 7C 09 03 A6 */ mtctr r0
|
|
/* 80145904 00142864 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80145908 00142868 40 80 00 08 */ bge lbl_80145910
|
|
lbl_8014590C:
|
|
/* 8014590C 0014286C 42 00 00 00 */ bdnz lbl_8014590C
|
|
lbl_80145910:
|
|
/* 80145910 00142870 38 00 00 00 */ li r0, 0
|
|
/* 80145914 00142874 90 05 00 00 */ stw r0, 0(r5)
|
|
lbl_80145918:
|
|
/* 80145918 00142878 57 C3 06 3E */ clrlwi r3, r30, 0x18
|
|
/* 8014591C 0014287C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
|
|
/* 80145920 00142880 CB E1 00 E0 */ lfd f31, 0xe0(r1)
|
|
/* 80145924 00142884 BB 61 00 CC */ lmw r27, 0xcc(r1)
|
|
/* 80145928 00142888 80 01 00 F4 */ lwz r0, 0xf4(r1)
|
|
/* 8014592C 0014288C 7C 08 03 A6 */ mtlr r0
|
|
/* 80145930 00142890 38 21 00 F0 */ addi r1, r1, 0xf0
|
|
/* 80145934 00142894 4E 80 00 20 */ blr
|
|
|
|
.global CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager:
|
|
/* 80145938 00142898 94 21 FF 40 */ stwu r1, -0xc0(r1)
|
|
/* 8014593C 0014289C 7C 08 02 A6 */ mflr r0
|
|
/* 80145940 001428A0 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
/* 80145944 001428A4 93 E1 00 BC */ stw r31, 0xbc(r1)
|
|
/* 80145948 001428A8 93 C1 00 B8 */ stw r30, 0xb8(r1)
|
|
/* 8014594C 001428AC 7C BE 2B 78 */ mr r30, r5
|
|
/* 80145950 001428B0 93 A1 00 B4 */ stw r29, 0xb4(r1)
|
|
/* 80145954 001428B4 7C 9D 23 78 */ mr r29, r4
|
|
/* 80145958 001428B8 93 81 00 B0 */ stw r28, 0xb0(r1)
|
|
/* 8014595C 001428BC 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80145960 001428C0 38 61 00 54 */ addi r3, r1, 0x54
|
|
/* 80145964 001428C4 80 84 00 00 */ lwz r4, 0(r4)
|
|
/* 80145968 001428C8 4B F6 70 F5 */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
|
|
/* 8014596C 001428CC 83 E3 00 04 */ lwz r31, 4(r3)
|
|
/* 80145970 001428D0 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80145974 001428D4 41 82 01 38 */ beq lbl_80145AAC
|
|
/* 80145978 001428D8 88 1F 03 28 */ lbz r0, 0x328(r31)
|
|
/* 8014597C 001428DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 80145980 001428E0 40 82 00 20 */ bne lbl_801459A0
|
|
/* 80145984 001428E4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80145988 001428E8 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 8014598C 001428EC 81 8C 02 B8 */ lwz r12, 0x2b8(r12)
|
|
/* 80145990 001428F0 7D 89 03 A6 */ mtctr r12
|
|
/* 80145994 001428F4 4E 80 04 21 */ bctrl
|
|
/* 80145998 001428F8 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8014599C 001428FC 41 82 01 10 */ beq lbl_80145AAC
|
|
lbl_801459A0:
|
|
/* 801459A0 00142900 38 00 00 03 */ li r0, 3
|
|
/* 801459A4 00142904 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 801459A8 00142908 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 801459AC 0014290C 48 19 D6 D1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459B0 00142910 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 801459B4 00142914 48 19 D6 C9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459B8 00142918 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 801459BC 0014291C 48 19 D6 C1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459C0 00142920 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 801459C4 00142924 48 19 D6 B9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459C8 00142928 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 801459CC 0014292C 48 19 D6 B1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459D0 00142930 38 61 00 3C */ addi r3, r1, 0x3c
|
|
/* 801459D4 00142934 48 19 D6 A9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801459D8 00142938 80 9C 00 08 */ lwz r4, 8(r28)
|
|
/* 801459DC 0014293C 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 801459E0 00142940 48 19 D5 A5 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 801459E4 00142944 80 9C 00 04 */ lwz r4, 4(r28)
|
|
/* 801459E8 00142948 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 801459EC 0014294C 48 19 D5 99 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 801459F0 00142950 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 801459F4 00142954 38 01 00 14 */ addi r0, r1, 0x14
|
|
/* 801459F8 00142958 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 801459FC 0014295C 38 61 00 5C */ addi r3, r1, 0x5c
|
|
/* 80145A00 00142960 38 A1 00 4C */ addi r5, r1, 0x4c
|
|
/* 80145A04 00142964 38 C1 00 44 */ addi r6, r1, 0x44
|
|
/* 80145A08 00142968 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80145A0C 0014296C 38 E1 00 3C */ addi r7, r1, 0x3c
|
|
/* 80145A10 00142970 39 01 00 34 */ addi r8, r1, 0x34
|
|
/* 80145A14 00142974 39 21 00 2C */ addi r9, r1, 0x2c
|
|
/* 80145A18 00142978 39 41 00 24 */ addi r10, r1, 0x24
|
|
/* 80145A1C 0014297C 38 80 00 0D */ li r4, 0xd
|
|
/* 80145A20 00142980 4B F3 78 A5 */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 80145A24 00142984 80 BE 09 00 */ lwz r5, 0x900(r30)
|
|
/* 80145A28 00142988 7F A3 EB 78 */ mr r3, r29
|
|
/* 80145A2C 0014298C 38 81 00 5C */ addi r4, r1, 0x5c
|
|
/* 80145A30 00142990 4B FF 49 79 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 80145A34 00142994 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 80145A38 00142998 7F C3 F3 78 */ mr r3, r30
|
|
/* 80145A3C 0014299C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80145A40 001429A0 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 80145A44 001429A4 B0 01 00 10 */ sth r0, 0x10(r1)
|
|
/* 80145A48 001429A8 38 C0 00 17 */ li r6, 0x17
|
|
/* 80145A4C 001429AC 4B EF E4 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
|
|
/* 80145A50 001429B0 34 A1 00 60 */ addic. r5, r1, 0x60
|
|
/* 80145A54 001429B4 41 82 00 58 */ beq lbl_80145AAC
|
|
/* 80145A58 001429B8 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 80145A5C 001429BC 38 60 00 00 */ li r3, 0
|
|
/* 80145A60 001429C0 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 80145A64 001429C4 40 81 00 40 */ ble lbl_80145AA4
|
|
/* 80145A68 001429C8 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 80145A6C 001429CC 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 80145A70 001429D0 40 81 00 20 */ ble lbl_80145A90
|
|
/* 80145A74 001429D4 38 04 00 07 */ addi r0, r4, 7
|
|
/* 80145A78 001429D8 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80145A7C 001429DC 7C 09 03 A6 */ mtctr r0
|
|
/* 80145A80 001429E0 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80145A84 001429E4 40 81 00 0C */ ble lbl_80145A90
|
|
lbl_80145A88:
|
|
/* 80145A88 001429E8 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80145A8C 001429EC 42 00 FF FC */ bdnz lbl_80145A88
|
|
lbl_80145A90:
|
|
/* 80145A90 001429F0 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80145A94 001429F4 7C 09 03 A6 */ mtctr r0
|
|
/* 80145A98 001429F8 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80145A9C 001429FC 40 80 00 08 */ bge lbl_80145AA4
|
|
lbl_80145AA0:
|
|
/* 80145AA0 00142A00 42 00 00 00 */ bdnz lbl_80145AA0
|
|
lbl_80145AA4:
|
|
/* 80145AA4 00142A04 38 00 00 00 */ li r0, 0
|
|
/* 80145AA8 00142A08 90 05 00 00 */ stw r0, 0(r5)
|
|
lbl_80145AAC:
|
|
/* 80145AAC 00142A0C 80 01 00 C4 */ lwz r0, 0xc4(r1)
|
|
/* 80145AB0 00142A10 83 E1 00 BC */ lwz r31, 0xbc(r1)
|
|
/* 80145AB4 00142A14 83 C1 00 B8 */ lwz r30, 0xb8(r1)
|
|
/* 80145AB8 00142A18 83 A1 00 B4 */ lwz r29, 0xb4(r1)
|
|
/* 80145ABC 00142A1C 83 81 00 B0 */ lwz r28, 0xb0(r1)
|
|
/* 80145AC0 00142A20 7C 08 03 A6 */ mtlr r0
|
|
/* 80145AC4 00142A24 38 21 00 C0 */ addi r1, r1, 0xc0
|
|
/* 80145AC8 00142A28 4E 80 00 20 */ blr
|
|
|
|
.global Shutdown__7CBSJumpFR15CBodyController
|
|
Shutdown__7CBSJumpFR15CBodyController:
|
|
/* 80145ACC 00142A2C 4E 80 00 20 */ blr
|
|
|
|
.global UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager
|
|
UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager:
|
|
/* 80145AD0 00142A30 94 21 FE 70 */ stwu r1, -0x190(r1)
|
|
/* 80145AD4 00142A34 7C 08 02 A6 */ mflr r0
|
|
/* 80145AD8 00142A38 90 01 01 94 */ stw r0, 0x194(r1)
|
|
/* 80145ADC 00142A3C DB E1 01 80 */ stfd f31, 0x180(r1)
|
|
/* 80145AE0 00142A40 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0
|
|
/* 80145AE4 00142A44 DB C1 01 70 */ stfd f30, 0x170(r1)
|
|
/* 80145AE8 00142A48 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0
|
|
/* 80145AEC 00142A4C BF 61 01 5C */ stmw r27, 0x15c(r1)
|
|
/* 80145AF0 00142A50 FF E0 08 90 */ fmr f31, f1
|
|
/* 80145AF4 00142A54 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80145AF8 00142A58 7C 9D 23 78 */ mr r29, r4
|
|
/* 80145AFC 00142A5C 7C BE 2B 78 */ mr r30, r5
|
|
/* 80145B00 00142A60 4B FF FB 7D */ bl GetBodyStateTransition__7CBSJumpFfR15CBodyController
|
|
/* 80145B04 00142A64 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80145B08 00142A68 2C 1F FF FF */ cmpwi r31, -1
|
|
/* 80145B0C 00142A6C 40 82 04 FC */ bne lbl_80146008
|
|
/* 80145B10 00142A70 80 1C 00 04 */ lwz r0, 4(r28)
|
|
/* 80145B14 00142A74 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80145B18 00142A78 41 82 02 1C */ beq lbl_80145D34
|
|
/* 80145B1C 00142A7C 40 80 00 14 */ bge lbl_80145B30
|
|
/* 80145B20 00142A80 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80145B24 00142A84 41 82 00 20 */ beq lbl_80145B44
|
|
/* 80145B28 00142A88 40 80 00 3C */ bge lbl_80145B64
|
|
/* 80145B2C 00142A8C 48 00 04 DC */ b lbl_80146008
|
|
lbl_80145B30:
|
|
/* 80145B30 00142A90 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 80145B34 00142A94 40 80 04 D4 */ bge lbl_80146008
|
|
/* 80145B38 00142A98 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 80145B3C 00142A9C 40 80 02 C8 */ bge lbl_80145E04
|
|
/* 80145B40 00142AA0 48 00 04 B0 */ b lbl_80145FF0
|
|
lbl_80145B44:
|
|
/* 80145B44 00142AA4 88 1D 03 00 */ lbz r0, 0x300(r29)
|
|
/* 80145B48 00142AA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145B4C 00142AAC 41 82 04 BC */ beq lbl_80146008
|
|
/* 80145B50 00142AB0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145B54 00142AB4 7F C4 F3 78 */ mr r4, r30
|
|
/* 80145B58 00142AB8 7F A5 EB 78 */ mr r5, r29
|
|
/* 80145B5C 00142ABC 48 00 04 D5 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController
|
|
/* 80145B60 00142AC0 48 00 04 A8 */ b lbl_80146008
|
|
lbl_80145B64:
|
|
/* 80145B64 00142AC4 88 1C 00 30 */ lbz r0, 0x30(r28)
|
|
/* 80145B68 00142AC8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145B6C 00142ACC 40 82 00 54 */ bne lbl_80145BC0
|
|
/* 80145B70 00142AD0 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80145B74 00142AD4 38 61 00 AC */ addi r3, r1, 0xac
|
|
/* 80145B78 00142AD8 4B F6 6B 6D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
|
|
/* 80145B7C 00142ADC 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 80145B80 00142AE0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80145B84 00142AE4 41 82 00 2C */ beq lbl_80145BB0
|
|
/* 80145B88 00142AE8 C0 63 00 E8 */ lfs f3, 0xe8(r3)
|
|
/* 80145B8C 00142AEC C0 1C 00 18 */ lfs f0, 0x18(r28)
|
|
/* 80145B90 00142AF0 C0 5C 00 1C */ lfs f2, 0x1c(r28)
|
|
/* 80145B94 00142AF4 C0 3C 00 20 */ lfs f1, 0x20(r28)
|
|
/* 80145B98 00142AF8 EC 03 00 32 */ fmuls f0, f3, f0
|
|
/* 80145B9C 00142AFC EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 80145BA0 00142B00 EC 23 00 72 */ fmuls f1, f3, f1
|
|
/* 80145BA4 00142B04 D0 03 00 FC */ stfs f0, 0xfc(r3)
|
|
/* 80145BA8 00142B08 D0 43 01 00 */ stfs f2, 0x100(r3)
|
|
/* 80145BAC 00142B0C D0 23 01 04 */ stfs f1, 0x104(r3)
|
|
lbl_80145BB0:
|
|
/* 80145BB0 00142B10 88 1C 00 30 */ lbz r0, 0x30(r28)
|
|
/* 80145BB4 00142B14 38 60 00 01 */ li r3, 1
|
|
/* 80145BB8 00142B18 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 80145BBC 00142B1C 98 1C 00 30 */ stb r0, 0x30(r28)
|
|
lbl_80145BC0:
|
|
/* 80145BC0 00142B20 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2)
|
|
/* 80145BC4 00142B24 38 00 00 00 */ li r0, 0
|
|
/* 80145BC8 00142B28 C0 1D 00 1C */ lfs f0, 0x1c(r29)
|
|
/* 80145BCC 00142B2C FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145BD0 00142B30 40 82 00 1C */ bne lbl_80145BEC
|
|
/* 80145BD4 00142B34 C0 1D 00 20 */ lfs f0, 0x20(r29)
|
|
/* 80145BD8 00142B38 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145BDC 00142B3C 40 82 00 10 */ bne lbl_80145BEC
|
|
/* 80145BE0 00142B40 C0 1D 00 24 */ lfs f0, 0x24(r29)
|
|
/* 80145BE4 00142B44 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145BE8 00142B48 41 82 00 08 */ beq lbl_80145BF0
|
|
lbl_80145BEC:
|
|
/* 80145BEC 00142B4C 38 00 00 01 */ li r0, 1
|
|
lbl_80145BF0:
|
|
/* 80145BF0 00142B50 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 80145BF4 00142B54 41 82 00 14 */ beq lbl_80145C08
|
|
/* 80145BF8 00142B58 FC 20 F8 90 */ fmr f1, f31
|
|
/* 80145BFC 00142B5C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80145C00 00142B60 38 9D 00 1C */ addi r4, r29, 0x1c
|
|
/* 80145C04 00142B64 4B FF 4A A1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
|
|
lbl_80145C08:
|
|
/* 80145C08 00142B68 88 1D 03 00 */ lbz r0, 0x300(r29)
|
|
/* 80145C0C 00142B6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145C10 00142B70 41 82 00 F8 */ beq lbl_80145D08
|
|
/* 80145C14 00142B74 38 00 00 02 */ li r0, 2
|
|
/* 80145C18 00142B78 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 80145C1C 00142B7C 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 80145C20 00142B80 48 19 D4 5D */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C24 00142B84 38 61 00 74 */ addi r3, r1, 0x74
|
|
/* 80145C28 00142B88 48 19 D4 55 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C2C 00142B8C 38 61 00 7C */ addi r3, r1, 0x7c
|
|
/* 80145C30 00142B90 48 19 D4 4D */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C34 00142B94 38 61 00 84 */ addi r3, r1, 0x84
|
|
/* 80145C38 00142B98 48 19 D4 45 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C3C 00142B9C 38 61 00 8C */ addi r3, r1, 0x8c
|
|
/* 80145C40 00142BA0 48 19 D4 3D */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C44 00142BA4 38 61 00 94 */ addi r3, r1, 0x94
|
|
/* 80145C48 00142BA8 48 19 D4 35 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145C4C 00142BAC 80 9C 00 08 */ lwz r4, 8(r28)
|
|
/* 80145C50 00142BB0 38 61 00 9C */ addi r3, r1, 0x9c
|
|
/* 80145C54 00142BB4 48 19 D3 31 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80145C58 00142BB8 80 9C 00 04 */ lwz r4, 4(r28)
|
|
/* 80145C5C 00142BBC 38 61 00 A4 */ addi r3, r1, 0xa4
|
|
/* 80145C60 00142BC0 48 19 D3 25 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80145C64 00142BC4 38 61 00 74 */ addi r3, r1, 0x74
|
|
/* 80145C68 00142BC8 38 01 00 6C */ addi r0, r1, 0x6c
|
|
/* 80145C6C 00142BCC 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80145C70 00142BD0 38 61 01 08 */ addi r3, r1, 0x108
|
|
/* 80145C74 00142BD4 38 A1 00 A4 */ addi r5, r1, 0xa4
|
|
/* 80145C78 00142BD8 38 C1 00 9C */ addi r6, r1, 0x9c
|
|
/* 80145C7C 00142BDC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80145C80 00142BE0 38 E1 00 94 */ addi r7, r1, 0x94
|
|
/* 80145C84 00142BE4 39 01 00 8C */ addi r8, r1, 0x8c
|
|
/* 80145C88 00142BE8 39 21 00 84 */ addi r9, r1, 0x84
|
|
/* 80145C8C 00142BEC 39 41 00 7C */ addi r10, r1, 0x7c
|
|
/* 80145C90 00142BF0 38 80 00 0D */ li r4, 0xd
|
|
/* 80145C94 00142BF4 4B F3 76 31 */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 80145C98 00142BF8 80 BE 09 00 */ lwz r5, 0x900(r30)
|
|
/* 80145C9C 00142BFC 7F A3 EB 78 */ mr r3, r29
|
|
/* 80145CA0 00142C00 38 81 01 08 */ addi r4, r1, 0x108
|
|
/* 80145CA4 00142C04 4B FF 46 59 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 80145CA8 00142C08 34 A1 01 0C */ addic. r5, r1, 0x10c
|
|
/* 80145CAC 00142C0C 41 82 03 5C */ beq lbl_80146008
|
|
/* 80145CB0 00142C10 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 80145CB4 00142C14 38 60 00 00 */ li r3, 0
|
|
/* 80145CB8 00142C18 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 80145CBC 00142C1C 40 81 00 40 */ ble lbl_80145CFC
|
|
/* 80145CC0 00142C20 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 80145CC4 00142C24 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 80145CC8 00142C28 40 81 00 20 */ ble lbl_80145CE8
|
|
/* 80145CCC 00142C2C 38 04 00 07 */ addi r0, r4, 7
|
|
/* 80145CD0 00142C30 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80145CD4 00142C34 7C 09 03 A6 */ mtctr r0
|
|
/* 80145CD8 00142C38 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80145CDC 00142C3C 40 81 00 0C */ ble lbl_80145CE8
|
|
lbl_80145CE0:
|
|
/* 80145CE0 00142C40 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80145CE4 00142C44 42 00 FF FC */ bdnz lbl_80145CE0
|
|
lbl_80145CE8:
|
|
/* 80145CE8 00142C48 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80145CEC 00142C4C 7C 09 03 A6 */ mtctr r0
|
|
/* 80145CF0 00142C50 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80145CF4 00142C54 40 80 00 08 */ bge lbl_80145CFC
|
|
lbl_80145CF8:
|
|
/* 80145CF8 00142C58 42 00 00 00 */ bdnz lbl_80145CF8
|
|
lbl_80145CFC:
|
|
/* 80145CFC 00142C5C 38 00 00 00 */ li r0, 0
|
|
/* 80145D00 00142C60 90 05 00 00 */ stw r0, 0(r5)
|
|
/* 80145D04 00142C64 48 00 03 04 */ b lbl_80146008
|
|
lbl_80145D08:
|
|
/* 80145D08 00142C68 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145D0C 00142C6C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80145D10 00142C70 7F C5 F3 78 */ mr r5, r30
|
|
/* 80145D14 00142C74 4B FF FA 09 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
/* 80145D18 00142C78 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80145D1C 00142C7C 40 82 02 EC */ bne lbl_80146008
|
|
/* 80145D20 00142C80 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145D24 00142C84 7F A4 EB 78 */ mr r4, r29
|
|
/* 80145D28 00142C88 7F C5 F3 78 */ mr r5, r30
|
|
/* 80145D2C 00142C8C 4B FF FC 0D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
/* 80145D30 00142C90 48 00 02 D8 */ b lbl_80146008
|
|
lbl_80145D34:
|
|
/* 80145D34 00142C94 88 1C 00 30 */ lbz r0, 0x30(r28)
|
|
/* 80145D38 00142C98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145D3C 00142C9C 40 82 00 54 */ bne lbl_80145D90
|
|
/* 80145D40 00142CA0 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80145D44 00142CA4 38 61 00 64 */ addi r3, r1, 0x64
|
|
/* 80145D48 00142CA8 4B F6 69 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
|
|
/* 80145D4C 00142CAC 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 80145D50 00142CB0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80145D54 00142CB4 41 82 00 2C */ beq lbl_80145D80
|
|
/* 80145D58 00142CB8 C0 63 00 E8 */ lfs f3, 0xe8(r3)
|
|
/* 80145D5C 00142CBC C0 1C 00 18 */ lfs f0, 0x18(r28)
|
|
/* 80145D60 00142CC0 C0 5C 00 1C */ lfs f2, 0x1c(r28)
|
|
/* 80145D64 00142CC4 C0 3C 00 20 */ lfs f1, 0x20(r28)
|
|
/* 80145D68 00142CC8 EC 03 00 32 */ fmuls f0, f3, f0
|
|
/* 80145D6C 00142CCC EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 80145D70 00142CD0 EC 23 00 72 */ fmuls f1, f3, f1
|
|
/* 80145D74 00142CD4 D0 03 00 FC */ stfs f0, 0xfc(r3)
|
|
/* 80145D78 00142CD8 D0 43 01 00 */ stfs f2, 0x100(r3)
|
|
/* 80145D7C 00142CDC D0 23 01 04 */ stfs f1, 0x104(r3)
|
|
lbl_80145D80:
|
|
/* 80145D80 00142CE0 88 1C 00 30 */ lbz r0, 0x30(r28)
|
|
/* 80145D84 00142CE4 38 60 00 01 */ li r3, 1
|
|
/* 80145D88 00142CE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 80145D8C 00142CEC 98 1C 00 30 */ stb r0, 0x30(r28)
|
|
lbl_80145D90:
|
|
/* 80145D90 00142CF0 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2)
|
|
/* 80145D94 00142CF4 38 00 00 00 */ li r0, 0
|
|
/* 80145D98 00142CF8 C0 1D 00 1C */ lfs f0, 0x1c(r29)
|
|
/* 80145D9C 00142CFC FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145DA0 00142D00 40 82 00 1C */ bne lbl_80145DBC
|
|
/* 80145DA4 00142D04 C0 1D 00 20 */ lfs f0, 0x20(r29)
|
|
/* 80145DA8 00142D08 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145DAC 00142D0C 40 82 00 10 */ bne lbl_80145DBC
|
|
/* 80145DB0 00142D10 C0 1D 00 24 */ lfs f0, 0x24(r29)
|
|
/* 80145DB4 00142D14 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80145DB8 00142D18 41 82 00 08 */ beq lbl_80145DC0
|
|
lbl_80145DBC:
|
|
/* 80145DBC 00142D1C 38 00 00 01 */ li r0, 1
|
|
lbl_80145DC0:
|
|
/* 80145DC0 00142D20 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 80145DC4 00142D24 41 82 00 14 */ beq lbl_80145DD8
|
|
/* 80145DC8 00142D28 FC 20 F8 90 */ fmr f1, f31
|
|
/* 80145DCC 00142D2C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80145DD0 00142D30 38 9D 00 1C */ addi r4, r29, 0x1c
|
|
/* 80145DD4 00142D34 4B FF 48 D1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
|
|
lbl_80145DD8:
|
|
/* 80145DD8 00142D38 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145DDC 00142D3C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80145DE0 00142D40 7F C5 F3 78 */ mr r5, r30
|
|
/* 80145DE4 00142D44 4B FF F9 39 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
/* 80145DE8 00142D48 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80145DEC 00142D4C 40 82 02 1C */ bne lbl_80146008
|
|
/* 80145DF0 00142D50 7F 83 E3 78 */ mr r3, r28
|
|
/* 80145DF4 00142D54 7F A4 EB 78 */ mr r4, r29
|
|
/* 80145DF8 00142D58 7F C5 F3 78 */ mr r5, r30
|
|
/* 80145DFC 00142D5C 4B FF FB 3D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
/* 80145E00 00142D60 48 00 02 08 */ b lbl_80146008
|
|
lbl_80145E04:
|
|
/* 80145E04 00142D64 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80145E08 00142D68 38 61 00 5C */ addi r3, r1, 0x5c
|
|
/* 80145E0C 00142D6C 4B F6 68 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
|
|
/* 80145E10 00142D70 83 63 00 04 */ lwz r27, 4(r3)
|
|
/* 80145E14 00142D74 28 1B 00 00 */ cmplwi r27, 0
|
|
/* 80145E18 00142D78 41 82 00 28 */ beq lbl_80145E40
|
|
/* 80145E1C 00142D7C 7F 63 DB 78 */ mr r3, r27
|
|
/* 80145E20 00142D80 4B FD 55 59 */ bl Stop__13CPhysicsActorFv
|
|
/* 80145E24 00142D84 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
|
|
/* 80145E28 00142D88 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3)
|
|
/* 80145E2C 00142D8C D0 1B 01 50 */ stfs f0, 0x150(r27)
|
|
/* 80145E30 00142D90 C0 03 00 04 */ lfs f0, 4(r3)
|
|
/* 80145E34 00142D94 D0 1B 01 54 */ stfs f0, 0x154(r27)
|
|
/* 80145E38 00142D98 C0 03 00 08 */ lfs f0, 8(r3)
|
|
/* 80145E3C 00142D9C D0 1B 01 58 */ stfs f0, 0x158(r27)
|
|
lbl_80145E40:
|
|
/* 80145E40 00142DA0 88 1D 03 00 */ lbz r0, 0x300(r29)
|
|
/* 80145E44 00142DA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145E48 00142DA8 41 82 01 C0 */ beq lbl_80146008
|
|
/* 80145E4C 00142DAC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 80145E50 00142DB0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80145E54 00142DB4 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 80145E58 00142DB8 38 C0 00 1A */ li r6, 0x1a
|
|
/* 80145E5C 00142DBC B0 01 00 10 */ sth r0, 0x10(r1)
|
|
/* 80145E60 00142DC0 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80145E64 00142DC4 4B EF E0 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
|
|
/* 80145E68 00142DC8 38 00 00 02 */ li r0, 2
|
|
/* 80145E6C 00142DCC 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 80145E70 00142DD0 90 1C 00 04 */ stw r0, 4(r28)
|
|
/* 80145E74 00142DD4 48 19 D2 09 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145E78 00142DD8 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 80145E7C 00142DDC 48 19 D2 01 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145E80 00142DE0 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 80145E84 00142DE4 48 19 D1 F9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145E88 00142DE8 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 80145E8C 00142DEC 48 19 D1 F1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145E90 00142DF0 38 61 00 3C */ addi r3, r1, 0x3c
|
|
/* 80145E94 00142DF4 48 19 D1 E9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145E98 00142DF8 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 80145E9C 00142DFC 48 19 D1 E1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80145EA0 00142E00 80 9C 00 08 */ lwz r4, 8(r28)
|
|
/* 80145EA4 00142E04 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80145EA8 00142E08 48 19 D0 DD */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80145EAC 00142E0C 80 9C 00 04 */ lwz r4, 4(r28)
|
|
/* 80145EB0 00142E10 38 61 00 54 */ addi r3, r1, 0x54
|
|
/* 80145EB4 00142E14 48 19 D0 D1 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80145EB8 00142E18 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 80145EBC 00142E1C 38 01 00 1C */ addi r0, r1, 0x1c
|
|
/* 80145EC0 00142E20 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80145EC4 00142E24 38 61 00 C0 */ addi r3, r1, 0xc0
|
|
/* 80145EC8 00142E28 38 A1 00 54 */ addi r5, r1, 0x54
|
|
/* 80145ECC 00142E2C 38 C1 00 4C */ addi r6, r1, 0x4c
|
|
/* 80145ED0 00142E30 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80145ED4 00142E34 38 E1 00 44 */ addi r7, r1, 0x44
|
|
/* 80145ED8 00142E38 39 01 00 3C */ addi r8, r1, 0x3c
|
|
/* 80145EDC 00142E3C 39 21 00 34 */ addi r9, r1, 0x34
|
|
/* 80145EE0 00142E40 39 41 00 2C */ addi r10, r1, 0x2c
|
|
/* 80145EE4 00142E44 38 80 00 0D */ li r4, 0xd
|
|
/* 80145EE8 00142E48 4B F3 73 DD */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 80145EEC 00142E4C 80 BE 09 00 */ lwz r5, 0x900(r30)
|
|
/* 80145EF0 00142E50 7F A3 EB 78 */ mr r3, r29
|
|
/* 80145EF4 00142E54 38 81 00 C0 */ addi r4, r1, 0xc0
|
|
/* 80145EF8 00142E58 4B FF 44 05 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 80145EFC 00142E5C 88 1C 00 30 */ lbz r0, 0x30(r28)
|
|
/* 80145F00 00142E60 38 60 00 01 */ li r3, 1
|
|
/* 80145F04 00142E64 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
|
|
/* 80145F08 00142E68 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80145F0C 00142E6C 98 1C 00 30 */ stb r0, 0x30(r28)
|
|
/* 80145F10 00142E70 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80145F14 00142E74 4B F6 6B 49 */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
|
|
/* 80145F18 00142E78 83 63 00 04 */ lwz r27, 4(r3)
|
|
/* 80145F1C 00142E7C 28 1B 00 00 */ cmplwi r27, 0
|
|
/* 80145F20 00142E80 41 82 00 70 */ beq lbl_80145F90
|
|
/* 80145F24 00142E84 7F 63 DB 78 */ mr r3, r27
|
|
/* 80145F28 00142E88 C0 7C 00 24 */ lfs f3, 0x24(r28)
|
|
/* 80145F2C 00142E8C 81 9B 00 00 */ lwz r12, 0(r27)
|
|
/* 80145F30 00142E90 C0 5B 00 40 */ lfs f2, 0x40(r27)
|
|
/* 80145F34 00142E94 C0 3C 00 28 */ lfs f1, 0x28(r28)
|
|
/* 80145F38 00142E98 C0 1B 00 50 */ lfs f0, 0x50(r27)
|
|
/* 80145F3C 00142E9C EF C3 10 28 */ fsubs f30, f3, f2
|
|
/* 80145F40 00142EA0 81 8C 02 BC */ lwz r12, 0x2bc(r12)
|
|
/* 80145F44 00142EA4 EF E1 00 28 */ fsubs f31, f1, f0
|
|
/* 80145F48 00142EA8 7D 89 03 A6 */ mtctr r12
|
|
/* 80145F4C 00142EAC 4E 80 04 21 */ bctrl
|
|
/* 80145F50 00142EB0 C0 5C 00 2C */ lfs f2, 0x2c(r28)
|
|
/* 80145F54 00142EB4 C0 1B 00 60 */ lfs f0, 0x60(r27)
|
|
/* 80145F58 00142EB8 C0 62 9C 70 */ lfs f3, lbl_805AB990@sda21(r2)
|
|
/* 80145F5C 00142EBC EC 02 00 28 */ fsubs f0, f2, f0
|
|
/* 80145F60 00142EC0 EC 03 00 32 */ fmuls f0, f3, f0
|
|
/* 80145F64 00142EC4 EC 21 00 24 */ fdivs f1, f1, f0
|
|
/* 80145F68 00142EC8 48 1C F5 99 */ bl SqrtF__5CMathFf
|
|
/* 80145F6C 00142ECC EC 41 07 B2 */ fmuls f2, f1, f30
|
|
/* 80145F70 00142ED0 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2)
|
|
/* 80145F74 00142ED4 EC 21 07 F2 */ fmuls f1, f1, f31
|
|
/* 80145F78 00142ED8 7F 63 DB 78 */ mr r3, r27
|
|
/* 80145F7C 00142EDC D0 01 00 BC */ stfs f0, 0xbc(r1)
|
|
/* 80145F80 00142EE0 38 81 00 B4 */ addi r4, r1, 0xb4
|
|
/* 80145F84 00142EE4 D0 41 00 B4 */ stfs f2, 0xb4(r1)
|
|
/* 80145F88 00142EE8 D0 21 00 B8 */ stfs f1, 0xb8(r1)
|
|
/* 80145F8C 00142EEC 4B FD 4D 15 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
|
|
lbl_80145F90:
|
|
/* 80145F90 00142EF0 34 A1 00 C4 */ addic. r5, r1, 0xc4
|
|
/* 80145F94 00142EF4 41 82 00 74 */ beq lbl_80146008
|
|
/* 80145F98 00142EF8 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 80145F9C 00142EFC 38 60 00 00 */ li r3, 0
|
|
/* 80145FA0 00142F00 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 80145FA4 00142F04 40 81 00 40 */ ble lbl_80145FE4
|
|
/* 80145FA8 00142F08 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 80145FAC 00142F0C 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 80145FB0 00142F10 40 81 00 20 */ ble lbl_80145FD0
|
|
/* 80145FB4 00142F14 38 04 00 07 */ addi r0, r4, 7
|
|
/* 80145FB8 00142F18 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80145FBC 00142F1C 7C 09 03 A6 */ mtctr r0
|
|
/* 80145FC0 00142F20 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80145FC4 00142F24 40 81 00 0C */ ble lbl_80145FD0
|
|
lbl_80145FC8:
|
|
/* 80145FC8 00142F28 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80145FCC 00142F2C 42 00 FF FC */ bdnz lbl_80145FC8
|
|
lbl_80145FD0:
|
|
/* 80145FD0 00142F30 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80145FD4 00142F34 7C 09 03 A6 */ mtctr r0
|
|
/* 80145FD8 00142F38 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80145FDC 00142F3C 40 80 00 08 */ bge lbl_80145FE4
|
|
lbl_80145FE0:
|
|
/* 80145FE0 00142F40 42 00 00 00 */ bdnz lbl_80145FE0
|
|
lbl_80145FE4:
|
|
/* 80145FE4 00142F44 38 00 00 00 */ li r0, 0
|
|
/* 80145FE8 00142F48 90 05 00 00 */ stw r0, 0(r5)
|
|
/* 80145FEC 00142F4C 48 00 00 1C */ b lbl_80146008
|
|
lbl_80145FF0:
|
|
/* 80145FF0 00142F50 88 1D 03 00 */ lbz r0, 0x300(r29)
|
|
/* 80145FF4 00142F54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80145FF8 00142F58 41 82 00 10 */ beq lbl_80146008
|
|
/* 80145FFC 00142F5C 38 00 FF FF */ li r0, -1
|
|
/* 80146000 00142F60 3B E0 00 05 */ li r31, 5
|
|
/* 80146004 00142F64 90 1C 00 04 */ stw r0, 4(r28)
|
|
lbl_80146008:
|
|
/* 80146008 00142F68 7F E3 FB 78 */ mr r3, r31
|
|
/* 8014600C 00142F6C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0
|
|
/* 80146010 00142F70 CB E1 01 80 */ lfd f31, 0x180(r1)
|
|
/* 80146014 00142F74 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0
|
|
/* 80146018 00142F78 CB C1 01 70 */ lfd f30, 0x170(r1)
|
|
/* 8014601C 00142F7C BB 61 01 5C */ lmw r27, 0x15c(r1)
|
|
/* 80146020 00142F80 80 01 01 94 */ lwz r0, 0x194(r1)
|
|
/* 80146024 00142F84 7C 08 03 A6 */ mtlr r0
|
|
/* 80146028 00142F88 38 21 01 90 */ addi r1, r1, 0x190
|
|
/* 8014602C 00142F8C 4E 80 00 20 */ blr
|
|
|
|
.global PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController
|
|
PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController:
|
|
/* 80146030 00142F90 94 21 FE 90 */ stwu r1, -0x170(r1)
|
|
/* 80146034 00142F94 7C 08 02 A6 */ mflr r0
|
|
/* 80146038 00142F98 90 01 01 74 */ stw r0, 0x174(r1)
|
|
/* 8014603C 00142F9C 93 E1 01 6C */ stw r31, 0x16c(r1)
|
|
/* 80146040 00142FA0 7C BF 2B 78 */ mr r31, r5
|
|
/* 80146044 00142FA4 93 C1 01 68 */ stw r30, 0x168(r1)
|
|
/* 80146048 00142FA8 7C 9E 23 78 */ mr r30, r4
|
|
/* 8014604C 00142FAC 93 A1 01 64 */ stw r29, 0x164(r1)
|
|
/* 80146050 00142FB0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80146054 00142FB4 38 61 00 68 */ addi r3, r1, 0x68
|
|
/* 80146058 00142FB8 48 19 D0 25 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 8014605C 00142FBC 38 61 00 70 */ addi r3, r1, 0x70
|
|
/* 80146060 00142FC0 48 19 D0 1D */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146064 00142FC4 38 61 00 78 */ addi r3, r1, 0x78
|
|
/* 80146068 00142FC8 48 19 D0 15 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 8014606C 00142FCC 38 61 00 80 */ addi r3, r1, 0x80
|
|
/* 80146070 00142FD0 48 19 D0 0D */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146074 00142FD4 38 61 00 88 */ addi r3, r1, 0x88
|
|
/* 80146078 00142FD8 48 19 D0 05 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 8014607C 00142FDC 38 61 00 90 */ addi r3, r1, 0x90
|
|
/* 80146080 00142FE0 48 19 CF FD */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146084 00142FE4 80 9D 00 08 */ lwz r4, 8(r29)
|
|
/* 80146088 00142FE8 38 61 00 98 */ addi r3, r1, 0x98
|
|
/* 8014608C 00142FEC 48 19 CE F9 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 80146090 00142FF0 38 61 00 A0 */ addi r3, r1, 0xa0
|
|
/* 80146094 00142FF4 38 80 00 01 */ li r4, 1
|
|
/* 80146098 00142FF8 48 19 CE ED */ bl FromEnum__12CPASAnimParmFi
|
|
/* 8014609C 00142FFC 38 61 00 70 */ addi r3, r1, 0x70
|
|
/* 801460A0 00143000 38 01 00 68 */ addi r0, r1, 0x68
|
|
/* 801460A4 00143004 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 801460A8 00143008 38 61 01 18 */ addi r3, r1, 0x118
|
|
/* 801460AC 0014300C 38 A1 00 A0 */ addi r5, r1, 0xa0
|
|
/* 801460B0 00143010 38 C1 00 98 */ addi r6, r1, 0x98
|
|
/* 801460B4 00143014 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 801460B8 00143018 38 E1 00 90 */ addi r7, r1, 0x90
|
|
/* 801460BC 0014301C 39 01 00 88 */ addi r8, r1, 0x88
|
|
/* 801460C0 00143020 39 21 00 80 */ addi r9, r1, 0x80
|
|
/* 801460C4 00143024 39 41 00 78 */ addi r10, r1, 0x78
|
|
/* 801460C8 00143028 38 80 00 0D */ li r4, 0xd
|
|
/* 801460CC 0014302C 4B F3 71 F9 */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 801460D0 00143030 7F E3 FB 78 */ mr r3, r31
|
|
/* 801460D4 00143034 4B FF 43 81 */ bl GetPASDatabase__15CBodyControllerCFv
|
|
/* 801460D8 00143038 80 DE 09 00 */ lwz r6, 0x900(r30)
|
|
/* 801460DC 0014303C 7C 64 1B 78 */ mr r4, r3
|
|
/* 801460E0 00143040 38 61 00 60 */ addi r3, r1, 0x60
|
|
/* 801460E4 00143044 38 A1 01 18 */ addi r5, r1, 0x118
|
|
/* 801460E8 00143048 38 E0 FF FF */ li r7, -1
|
|
/* 801460EC 0014304C 48 19 EF 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
|
|
/* 801460F0 00143050 C0 21 00 60 */ lfs f1, 0x60(r1)
|
|
/* 801460F4 00143054 C0 02 9C 74 */ lfs f0, lbl_805AB994@sda21(r2)
|
|
/* 801460F8 00143058 80 81 00 64 */ lwz r4, 0x64(r1)
|
|
/* 801460FC 0014305C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80146100 00143060 40 81 00 58 */ ble lbl_80146158
|
|
/* 80146104 00143064 39 00 00 01 */ li r8, 1
|
|
/* 80146108 00143068 C0 02 9C 78 */ lfs f0, lbl_805AB998@sda21(r2)
|
|
/* 8014610C 0014306C 91 1D 00 04 */ stw r8, 4(r29)
|
|
/* 80146110 00143070 38 00 00 00 */ li r0, 0
|
|
/* 80146114 00143074 38 E0 FF FF */ li r7, -1
|
|
/* 80146118 00143078 7F E3 FB 78 */ mr r3, r31
|
|
/* 8014611C 0014307C 90 81 00 A8 */ stw r4, 0xa8(r1)
|
|
/* 80146120 00143080 38 81 00 A8 */ addi r4, r1, 0xa8
|
|
/* 80146124 00143084 38 A0 00 00 */ li r5, 0
|
|
/* 80146128 00143088 38 C0 00 00 */ li r6, 0
|
|
/* 8014612C 0014308C 90 E1 00 AC */ stw r7, 0xac(r1)
|
|
/* 80146130 00143090 D0 01 00 B0 */ stfs f0, 0xb0(r1)
|
|
/* 80146134 00143094 99 01 00 B4 */ stb r8, 0xb4(r1)
|
|
/* 80146138 00143098 90 01 00 B8 */ stw r0, 0xb8(r1)
|
|
/* 8014613C 0014309C 90 01 00 BC */ stw r0, 0xbc(r1)
|
|
/* 80146140 001430A0 98 01 00 C0 */ stb r0, 0xc0(r1)
|
|
/* 80146144 001430A4 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
/* 80146148 001430A8 90 01 00 C8 */ stw r0, 0xc8(r1)
|
|
/* 8014614C 001430AC 90 01 00 CC */ stw r0, 0xcc(r1)
|
|
/* 80146150 001430B0 4B FF 47 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
|
|
/* 80146154 001430B4 48 00 00 F4 */ b lbl_80146248
|
|
lbl_80146158:
|
|
/* 80146158 001430B8 38 00 00 02 */ li r0, 2
|
|
/* 8014615C 001430BC 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80146160 001430C0 90 1D 00 04 */ stw r0, 4(r29)
|
|
/* 80146164 001430C4 48 19 CF 19 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146168 001430C8 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 8014616C 001430CC 48 19 CF 11 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146170 001430D0 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 80146174 001430D4 48 19 CF 09 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146178 001430D8 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 8014617C 001430DC 48 19 CF 01 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146180 001430E0 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80146184 001430E4 48 19 CE F9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146188 001430E8 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 8014618C 001430EC 48 19 CE F1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146190 001430F0 80 9D 00 08 */ lwz r4, 8(r29)
|
|
/* 80146194 001430F4 38 61 00 50 */ addi r3, r1, 0x50
|
|
/* 80146198 001430F8 48 19 CD ED */ bl FromEnum__12CPASAnimParmFi
|
|
/* 8014619C 001430FC 80 9D 00 04 */ lwz r4, 4(r29)
|
|
/* 801461A0 00143100 38 61 00 58 */ addi r3, r1, 0x58
|
|
/* 801461A4 00143104 48 19 CD E1 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 801461A8 00143108 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 801461AC 0014310C 38 01 00 20 */ addi r0, r1, 0x20
|
|
/* 801461B0 00143110 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 801461B4 00143114 38 61 00 D0 */ addi r3, r1, 0xd0
|
|
/* 801461B8 00143118 38 A1 00 58 */ addi r5, r1, 0x58
|
|
/* 801461BC 0014311C 38 C1 00 50 */ addi r6, r1, 0x50
|
|
/* 801461C0 00143120 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 801461C4 00143124 38 E1 00 48 */ addi r7, r1, 0x48
|
|
/* 801461C8 00143128 39 01 00 40 */ addi r8, r1, 0x40
|
|
/* 801461CC 0014312C 39 21 00 38 */ addi r9, r1, 0x38
|
|
/* 801461D0 00143130 39 41 00 30 */ addi r10, r1, 0x30
|
|
/* 801461D4 00143134 38 80 00 0D */ li r4, 0xd
|
|
/* 801461D8 00143138 4B F3 70 ED */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 801461DC 0014313C 80 BE 09 00 */ lwz r5, 0x900(r30)
|
|
/* 801461E0 00143140 7F E3 FB 78 */ mr r3, r31
|
|
/* 801461E4 00143144 38 81 00 D0 */ addi r4, r1, 0xd0
|
|
/* 801461E8 00143148 4B FF 41 15 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 801461EC 0014314C 34 A1 00 D4 */ addic. r5, r1, 0xd4
|
|
/* 801461F0 00143150 41 82 00 58 */ beq lbl_80146248
|
|
/* 801461F4 00143154 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 801461F8 00143158 38 60 00 00 */ li r3, 0
|
|
/* 801461FC 0014315C 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 80146200 00143160 40 81 00 40 */ ble lbl_80146240
|
|
/* 80146204 00143164 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 80146208 00143168 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 8014620C 0014316C 40 81 00 20 */ ble lbl_8014622C
|
|
/* 80146210 00143170 38 04 00 07 */ addi r0, r4, 7
|
|
/* 80146214 00143174 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80146218 00143178 7C 09 03 A6 */ mtctr r0
|
|
/* 8014621C 0014317C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80146220 00143180 40 81 00 0C */ ble lbl_8014622C
|
|
lbl_80146224:
|
|
/* 80146224 00143184 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80146228 00143188 42 00 FF FC */ bdnz lbl_80146224
|
|
lbl_8014622C:
|
|
/* 8014622C 0014318C 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80146230 00143190 7C 09 03 A6 */ mtctr r0
|
|
/* 80146234 00143194 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80146238 00143198 40 80 00 08 */ bge lbl_80146240
|
|
lbl_8014623C:
|
|
/* 8014623C 0014319C 42 00 00 00 */ bdnz lbl_8014623C
|
|
lbl_80146240:
|
|
/* 80146240 001431A0 38 00 00 00 */ li r0, 0
|
|
/* 80146244 001431A4 90 05 00 00 */ stw r0, 0(r5)
|
|
lbl_80146248:
|
|
/* 80146248 001431A8 80 9F 00 00 */ lwz r4, 0(r31)
|
|
/* 8014624C 001431AC 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80146250 001431B0 4B F6 64 95 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
|
|
/* 80146254 001431B4 83 E3 00 04 */ lwz r31, 4(r3)
|
|
/* 80146258 001431B8 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8014625C 001431BC 41 82 00 64 */ beq lbl_801462C0
|
|
/* 80146260 001431C0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 80146264 001431C4 7F C3 F3 78 */ mr r3, r30
|
|
/* 80146268 001431C8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8014626C 001431CC 38 A1 00 14 */ addi r5, r1, 0x14
|
|
/* 80146270 001431D0 B0 01 00 14 */ sth r0, 0x14(r1)
|
|
/* 80146274 001431D4 38 C0 00 1A */ li r6, 0x1a
|
|
/* 80146278 001431D8 4B EF DC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
|
|
/* 8014627C 001431DC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 80146280 001431E0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80146284 001431E4 7F E4 FB 78 */ mr r4, r31
|
|
/* 80146288 001431E8 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 8014628C 001431EC B0 01 00 10 */ sth r0, 0x10(r1)
|
|
/* 80146290 001431F0 38 C0 00 28 */ li r6, 0x28
|
|
/* 80146294 001431F4 4B EF DC 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
|
|
/* 80146298 001431F8 C0 1F 01 38 */ lfs f0, 0x138(r31)
|
|
/* 8014629C 001431FC 38 60 00 00 */ li r3, 0
|
|
/* 801462A0 00143200 88 1D 00 30 */ lbz r0, 0x30(r29)
|
|
/* 801462A4 00143204 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 801462A8 00143208 C0 3F 01 3C */ lfs f1, 0x13c(r31)
|
|
/* 801462AC 0014320C C0 5F 01 40 */ lfs f2, 0x140(r31)
|
|
/* 801462B0 00143210 98 1D 00 30 */ stb r0, 0x30(r29)
|
|
/* 801462B4 00143214 D0 1D 00 18 */ stfs f0, 0x18(r29)
|
|
/* 801462B8 00143218 D0 3D 00 1C */ stfs f1, 0x1c(r29)
|
|
/* 801462BC 0014321C D0 5D 00 20 */ stfs f2, 0x20(r29)
|
|
lbl_801462C0:
|
|
/* 801462C0 00143220 34 A1 01 1C */ addic. r5, r1, 0x11c
|
|
/* 801462C4 00143224 41 82 00 58 */ beq lbl_8014631C
|
|
/* 801462C8 00143228 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 801462CC 0014322C 38 60 00 00 */ li r3, 0
|
|
/* 801462D0 00143230 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 801462D4 00143234 40 81 00 40 */ ble lbl_80146314
|
|
/* 801462D8 00143238 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 801462DC 0014323C 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 801462E0 00143240 40 81 00 20 */ ble lbl_80146300
|
|
/* 801462E4 00143244 38 04 00 07 */ addi r0, r4, 7
|
|
/* 801462E8 00143248 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 801462EC 0014324C 7C 09 03 A6 */ mtctr r0
|
|
/* 801462F0 00143250 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 801462F4 00143254 40 81 00 0C */ ble lbl_80146300
|
|
lbl_801462F8:
|
|
/* 801462F8 00143258 38 63 00 08 */ addi r3, r3, 8
|
|
/* 801462FC 0014325C 42 00 FF FC */ bdnz lbl_801462F8
|
|
lbl_80146300:
|
|
/* 80146300 00143260 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80146304 00143264 7C 09 03 A6 */ mtctr r0
|
|
/* 80146308 00143268 7C 03 30 00 */ cmpw r3, r6
|
|
/* 8014630C 0014326C 40 80 00 08 */ bge lbl_80146314
|
|
lbl_80146310:
|
|
/* 80146310 00143270 42 00 00 00 */ bdnz lbl_80146310
|
|
lbl_80146314:
|
|
/* 80146314 00143274 38 00 00 00 */ li r0, 0
|
|
/* 80146318 00143278 90 05 00 00 */ stw r0, 0(r5)
|
|
lbl_8014631C:
|
|
/* 8014631C 0014327C 80 01 01 74 */ lwz r0, 0x174(r1)
|
|
/* 80146320 00143280 83 E1 01 6C */ lwz r31, 0x16c(r1)
|
|
/* 80146324 00143284 83 C1 01 68 */ lwz r30, 0x168(r1)
|
|
/* 80146328 00143288 83 A1 01 64 */ lwz r29, 0x164(r1)
|
|
/* 8014632C 0014328C 7C 08 03 A6 */ mtlr r0
|
|
/* 80146330 00143290 38 21 01 70 */ addi r1, r1, 0x170
|
|
/* 80146334 00143294 4E 80 00 20 */ blr
|
|
|
|
.global Start__7CBSJumpFR15CBodyControllerR13CStateManager
|
|
Start__7CBSJumpFR15CBodyControllerR13CStateManager:
|
|
/* 80146338 00143298 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
/* 8014633C 0014329C 7C 08 02 A6 */ mflr r0
|
|
/* 80146340 001432A0 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
/* 80146344 001432A4 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
/* 80146348 001432A8 7C BF 2B 78 */ mr r31, r5
|
|
/* 8014634C 001432AC 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
/* 80146350 001432B0 7C 9E 23 78 */ mr r30, r4
|
|
/* 80146354 001432B4 38 80 00 10 */ li r4, 0x10
|
|
/* 80146358 001432B8 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
/* 8014635C 001432BC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80146360 001432C0 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 80146364 001432C4 4B FE B0 ED */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
|
|
/* 80146368 001432C8 80 03 00 08 */ lwz r0, 8(r3)
|
|
/* 8014636C 001432CC 38 80 00 00 */ li r4, 0
|
|
/* 80146370 001432D0 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 80146374 001432D4 C0 03 00 0C */ lfs f0, 0xc(r3)
|
|
/* 80146378 001432D8 D0 1D 00 0C */ stfs f0, 0xc(r29)
|
|
/* 8014637C 001432DC C0 03 00 10 */ lfs f0, 0x10(r3)
|
|
/* 80146380 001432E0 D0 1D 00 10 */ stfs f0, 0x10(r29)
|
|
/* 80146384 001432E4 C0 03 00 14 */ lfs f0, 0x14(r3)
|
|
/* 80146388 001432E8 D0 1D 00 14 */ stfs f0, 0x14(r29)
|
|
/* 8014638C 001432EC C0 03 00 18 */ lfs f0, 0x18(r3)
|
|
/* 80146390 001432F0 D0 1D 00 24 */ stfs f0, 0x24(r29)
|
|
/* 80146394 001432F4 C0 03 00 1C */ lfs f0, 0x1c(r3)
|
|
/* 80146398 001432F8 D0 1D 00 28 */ stfs f0, 0x28(r29)
|
|
/* 8014639C 001432FC C0 03 00 20 */ lfs f0, 0x20(r3)
|
|
/* 801463A0 00143300 D0 1D 00 2C */ stfs f0, 0x2c(r29)
|
|
/* 801463A4 00143304 88 A3 00 24 */ lbz r5, 0x24(r3)
|
|
/* 801463A8 00143308 88 1D 00 30 */ lbz r0, 0x30(r29)
|
|
/* 801463AC 0014330C 50 A0 FE 72 */ rlwimi r0, r5, 0x1f, 0x19, 0x19
|
|
/* 801463B0 00143310 98 1D 00 30 */ stb r0, 0x30(r29)
|
|
/* 801463B4 00143314 88 A3 00 24 */ lbz r5, 0x24(r3)
|
|
/* 801463B8 00143318 88 1D 00 30 */ lbz r0, 0x30(r29)
|
|
/* 801463BC 0014331C 50 A0 EF 38 */ rlwimi r0, r5, 0x1d, 0x1c, 0x1c
|
|
/* 801463C0 00143320 98 1D 00 30 */ stb r0, 0x30(r29)
|
|
/* 801463C4 00143324 88 1D 00 30 */ lbz r0, 0x30(r29)
|
|
/* 801463C8 00143328 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
|
|
/* 801463CC 0014332C 98 1D 00 30 */ stb r0, 0x30(r29)
|
|
/* 801463D0 00143330 88 1D 00 30 */ lbz r0, 0x30(r29)
|
|
/* 801463D4 00143334 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
|
|
/* 801463D8 00143338 98 1D 00 30 */ stb r0, 0x30(r29)
|
|
/* 801463DC 0014333C 88 BD 00 30 */ lbz r5, 0x30(r29)
|
|
/* 801463E0 00143340 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f
|
|
/* 801463E4 00143344 41 82 00 90 */ beq lbl_80146474
|
|
/* 801463E8 00143348 80 DE 00 00 */ lwz r6, 0(r30)
|
|
/* 801463EC 0014334C 3C 80 80 5A */ lis r4, sUpVector__9CVector3f@ha
|
|
/* 801463F0 00143350 38 84 66 F4 */ addi r4, r4, sUpVector__9CVector3f@l
|
|
/* 801463F4 00143354 C0 5D 00 0C */ lfs f2, 0xc(r29)
|
|
/* 801463F8 00143358 C0 26 00 40 */ lfs f1, 0x40(r6)
|
|
/* 801463FC 0014335C C0 1D 00 24 */ lfs f0, 0x24(r29)
|
|
/* 80146400 00143360 ED 22 08 28 */ fsubs f9, f2, f1
|
|
/* 80146404 00143364 C1 64 00 08 */ lfs f11, 8(r4)
|
|
/* 80146408 00143368 EC 60 10 28 */ fsubs f3, f0, f2
|
|
/* 8014640C 0014336C C0 DD 00 14 */ lfs f6, 0x14(r29)
|
|
/* 80146410 00143370 C0 06 00 60 */ lfs f0, 0x60(r6)
|
|
/* 80146414 00143374 EC 2B 02 72 */ fmuls f1, f11, f9
|
|
/* 80146418 00143378 EC 46 00 28 */ fsubs f2, f6, f0
|
|
/* 8014641C 0014337C C1 44 00 04 */ lfs f10, 4(r4)
|
|
/* 80146420 00143380 C1 84 00 00 */ lfs f12, 0(r4)
|
|
/* 80146424 00143384 C0 FD 00 10 */ lfs f7, 0x10(r29)
|
|
/* 80146428 00143388 C0 A6 00 50 */ lfs f5, 0x50(r6)
|
|
/* 8014642C 0014338C EC 8A 00 B2 */ fmuls f4, f10, f2
|
|
/* 80146430 00143390 C0 1D 00 28 */ lfs f0, 0x28(r29)
|
|
/* 80146434 00143394 EC 42 0B 38 */ fmsubs f2, f2, f12, f1
|
|
/* 80146438 00143398 ED 07 28 28 */ fsubs f8, f7, f5
|
|
/* 8014643C 0014339C C0 BD 00 2C */ lfs f5, 0x2c(r29)
|
|
/* 80146440 001433A0 EC 20 38 28 */ fsubs f1, f0, f7
|
|
/* 80146444 001433A4 EC A5 30 28 */ fsubs f5, f5, f6
|
|
/* 80146448 001433A8 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2)
|
|
/* 8014644C 001433AC EC CC 02 32 */ fmuls f6, f12, f8
|
|
/* 80146450 001433B0 EC 22 00 72 */ fmuls f1, f2, f1
|
|
/* 80146454 001433B4 EC 88 22 F8 */ fmsubs f4, f8, f11, f4
|
|
/* 80146458 001433B8 EC 49 32 B8 */ fmsubs f2, f9, f10, f6
|
|
/* 8014645C 001433BC EC 24 08 FA */ fmadds f1, f4, f3, f1
|
|
/* 80146460 001433C0 EC 22 09 7A */ fmadds f1, f2, f5, f1
|
|
/* 80146464 001433C4 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80146468 001433C8 7C 00 00 26 */ mfcr r0
|
|
/* 8014646C 001433CC 50 05 36 B4 */ rlwimi r5, r0, 6, 0x1a, 0x1a
|
|
/* 80146470 001433D0 98 BD 00 30 */ stb r5, 0x30(r29)
|
|
lbl_80146474:
|
|
/* 80146474 001433D4 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80146478 001433D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
|
|
/* 8014647C 001433DC 40 82 00 F8 */ bne lbl_80146574
|
|
/* 80146480 001433E0 38 00 00 00 */ li r0, 0
|
|
/* 80146484 001433E4 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 80146488 001433E8 90 1D 00 04 */ stw r0, 4(r29)
|
|
/* 8014648C 001433EC 48 19 CB F1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146490 001433F0 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80146494 001433F4 48 19 CB E9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 80146498 001433F8 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 8014649C 001433FC 48 19 CB E1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801464A0 00143400 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 801464A4 00143404 48 19 CB D9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801464A8 00143408 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 801464AC 0014340C 48 19 CB D1 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801464B0 00143410 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 801464B4 00143414 48 19 CB C9 */ bl NoParameter__12CPASAnimParmFv
|
|
/* 801464B8 00143418 80 9D 00 08 */ lwz r4, 8(r29)
|
|
/* 801464BC 0014341C 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 801464C0 00143420 48 19 CA C5 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 801464C4 00143424 80 9D 00 04 */ lwz r4, 4(r29)
|
|
/* 801464C8 00143428 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 801464CC 0014342C 48 19 CA B9 */ bl FromEnum__12CPASAnimParmFi
|
|
/* 801464D0 00143430 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 801464D4 00143434 38 01 00 10 */ addi r0, r1, 0x10
|
|
/* 801464D8 00143438 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 801464DC 0014343C 38 61 00 50 */ addi r3, r1, 0x50
|
|
/* 801464E0 00143440 38 A1 00 48 */ addi r5, r1, 0x48
|
|
/* 801464E4 00143444 38 C1 00 40 */ addi r6, r1, 0x40
|
|
/* 801464E8 00143448 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 801464EC 0014344C 38 E1 00 38 */ addi r7, r1, 0x38
|
|
/* 801464F0 00143450 39 01 00 30 */ addi r8, r1, 0x30
|
|
/* 801464F4 00143454 39 21 00 28 */ addi r9, r1, 0x28
|
|
/* 801464F8 00143458 39 41 00 20 */ addi r10, r1, 0x20
|
|
/* 801464FC 0014345C 38 80 00 0D */ li r4, 0xd
|
|
/* 80146500 00143460 4B F3 6D C5 */ bl __ct__16CPASAnimParmDataFQ23pas15EAnimationStateRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
|
|
/* 80146504 00143464 80 BF 09 00 */ lwz r5, 0x900(r31)
|
|
/* 80146508 00143468 7F C3 F3 78 */ mr r3, r30
|
|
/* 8014650C 0014346C 38 81 00 50 */ addi r4, r1, 0x50
|
|
/* 80146510 00143470 4B FF 3E 99 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
|
|
/* 80146514 00143474 34 A1 00 54 */ addic. r5, r1, 0x54
|
|
/* 80146518 00143478 41 82 00 6C */ beq lbl_80146584
|
|
/* 8014651C 0014347C 80 C5 00 00 */ lwz r6, 0(r5)
|
|
/* 80146520 00143480 38 60 00 00 */ li r3, 0
|
|
/* 80146524 00143484 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 80146528 00143488 40 81 00 40 */ ble lbl_80146568
|
|
/* 8014652C 0014348C 2C 06 00 08 */ cmpwi r6, 8
|
|
/* 80146530 00143490 38 86 FF F8 */ addi r4, r6, -8
|
|
/* 80146534 00143494 40 81 00 20 */ ble lbl_80146554
|
|
/* 80146538 00143498 38 04 00 07 */ addi r0, r4, 7
|
|
/* 8014653C 0014349C 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 80146540 001434A0 7C 09 03 A6 */ mtctr r0
|
|
/* 80146544 001434A4 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80146548 001434A8 40 81 00 0C */ ble lbl_80146554
|
|
lbl_8014654C:
|
|
/* 8014654C 001434AC 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80146550 001434B0 42 00 FF FC */ bdnz lbl_8014654C
|
|
lbl_80146554:
|
|
/* 80146554 001434B4 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 80146558 001434B8 7C 09 03 A6 */ mtctr r0
|
|
/* 8014655C 001434BC 7C 03 30 00 */ cmpw r3, r6
|
|
/* 80146560 001434C0 40 80 00 08 */ bge lbl_80146568
|
|
lbl_80146564:
|
|
/* 80146564 001434C4 42 00 00 00 */ bdnz lbl_80146564
|
|
lbl_80146568:
|
|
/* 80146568 001434C8 38 00 00 00 */ li r0, 0
|
|
/* 8014656C 001434CC 90 05 00 00 */ stw r0, 0(r5)
|
|
/* 80146570 001434D0 48 00 00 14 */ b lbl_80146584
|
|
lbl_80146574:
|
|
/* 80146574 001434D4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80146578 001434D8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8014657C 001434DC 7F C5 F3 78 */ mr r5, r30
|
|
/* 80146580 001434E0 4B FF FA B1 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController
|
|
lbl_80146584:
|
|
/* 80146584 001434E4 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
/* 80146588 001434E8 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
/* 8014658C 001434EC 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
/* 80146590 001434F0 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
/* 80146594 001434F4 7C 08 03 A6 */ mtlr r0
|
|
/* 80146598 001434F8 38 21 00 B0 */ addi r1, r1, 0xb0
|
|
/* 8014659C 001434FC 4E 80 00 20 */ blr
|
|
|
|
.global CanShoot__7CBSJumpCFv
|
|
CanShoot__7CBSJumpCFv:
|
|
/* 801465A0 00143500 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 801465A4 00143504 38 60 00 00 */ li r3, 0
|
|
/* 801465A8 00143508 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 801465AC 0014350C 41 82 00 0C */ beq lbl_801465B8
|
|
/* 801465B0 00143510 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 801465B4 00143514 4C 82 00 20 */ bnelr
|
|
lbl_801465B8:
|
|
/* 801465B8 00143518 38 60 00 01 */ li r3, 1
|
|
/* 801465BC 0014351C 4E 80 00 20 */ blr
|
|
|
|
.global ApplyAnimationDeltas__7CBSJumpCFv
|
|
ApplyAnimationDeltas__7CBSJumpCFv:
|
|
/* 801465C0 00143520 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 801465C4 00143524 38 60 00 00 */ li r3, 0
|
|
/* 801465C8 00143528 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 801465CC 0014352C 4D 82 00 20 */ beqlr
|
|
/* 801465D0 00143530 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 801465D4 00143534 4D 82 00 20 */ beqlr
|
|
/* 801465D8 00143538 38 60 00 01 */ li r3, 1
|
|
/* 801465DC 0014353C 4E 80 00 20 */ blr
|
|
|
|
.global IsInAir__7CBSJumpCFRC15CBodyController
|
|
IsInAir__7CBSJumpCFRC15CBodyController:
|
|
/* 801465E0 00143540 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 801465E4 00143544 38 60 00 00 */ li r3, 0
|
|
/* 801465E8 00143548 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 801465EC 0014354C 41 82 00 0C */ beq lbl_801465F8
|
|
/* 801465F0 00143550 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 801465F4 00143554 4C 82 00 20 */ bnelr
|
|
lbl_801465F8:
|
|
/* 801465F8 00143558 38 60 00 01 */ li r3, 1
|
|
/* 801465FC 0014355C 4E 80 00 20 */ blr
|
|
|
|
.global __ct__7CBSJumpFv
|
|
__ct__7CBSJumpFv:
|
|
/* 80146600 00143560 3C C0 80 3E */ lis r6, lbl_803E1318@ha
|
|
/* 80146604 00143564 3C A0 80 3E */ lis r5, lbl_803E2008@ha
|
|
/* 80146608 00143568 38 06 13 18 */ addi r0, r6, lbl_803E1318@l
|
|
/* 8014660C 0014356C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
|
|
/* 80146610 00143570 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 80146614 00143574 38 C5 20 08 */ addi r6, r5, lbl_803E2008@l
|
|
/* 80146618 00143578 38 A4 66 A0 */ addi r5, r4, sZeroVector__9CVector3f@l
|
|
/* 8014661C 0014357C 38 00 FF FF */ li r0, -1
|
|
/* 80146620 00143580 90 C3 00 00 */ stw r6, 0(r3)
|
|
/* 80146624 00143584 38 80 00 00 */ li r4, 0
|
|
/* 80146628 00143588 90 03 00 04 */ stw r0, 4(r3)
|
|
/* 8014662C 0014358C C0 05 00 00 */ lfs f0, 0(r5)
|
|
/* 80146630 00143590 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
/* 80146634 00143594 C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 80146638 00143598 D0 03 00 10 */ stfs f0, 0x10(r3)
|
|
/* 8014663C 0014359C C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 80146640 001435A0 D0 03 00 14 */ stfs f0, 0x14(r3)
|
|
/* 80146644 001435A4 C0 05 00 00 */ lfs f0, 0(r5)
|
|
/* 80146648 001435A8 D0 03 00 18 */ stfs f0, 0x18(r3)
|
|
/* 8014664C 001435AC C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 80146650 001435B0 D0 03 00 1C */ stfs f0, 0x1c(r3)
|
|
/* 80146654 001435B4 C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 80146658 001435B8 D0 03 00 20 */ stfs f0, 0x20(r3)
|
|
/* 8014665C 001435BC C0 05 00 00 */ lfs f0, 0(r5)
|
|
/* 80146660 001435C0 D0 03 00 24 */ stfs f0, 0x24(r3)
|
|
/* 80146664 001435C4 C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 80146668 001435C8 D0 03 00 28 */ stfs f0, 0x28(r3)
|
|
/* 8014666C 001435CC C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 80146670 001435D0 D0 03 00 2C */ stfs f0, 0x2c(r3)
|
|
/* 80146674 001435D4 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 80146678 001435D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
|
|
/* 8014667C 001435DC 98 03 00 30 */ stb r0, 0x30(r3)
|
|
/* 80146680 001435E0 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 80146684 001435E4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
|
|
/* 80146688 001435E8 98 03 00 30 */ stb r0, 0x30(r3)
|
|
/* 8014668C 001435EC 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 80146690 001435F0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
|
|
/* 80146694 001435F4 98 03 00 30 */ stb r0, 0x30(r3)
|
|
/* 80146698 001435F8 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 8014669C 001435FC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
|
|
/* 801466A0 00143600 98 03 00 30 */ stb r0, 0x30(r3)
|
|
/* 801466A4 00143604 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 801466A8 00143608 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
|
|
/* 801466AC 0014360C 98 03 00 30 */ stb r0, 0x30(r3)
|
|
/* 801466B0 00143610 4E 80 00 20 */ blr
|
|
|
|
.section .sdata2, "a"
|
|
.balign 8
|
|
.global lbl_805AB980
|
|
lbl_805AB980:
|
|
# ROM: 0x3F8220
|
|
.float 0.5
|
|
|
|
.global lbl_805AB984
|
|
lbl_805AB984:
|
|
# ROM: 0x3F8224
|
|
.4byte 0x3FB4FDF4
|
|
|
|
.global lbl_805AB988
|
|
lbl_805AB988:
|
|
# ROM: 0x3F8228
|
|
.4byte 0x40400000
|
|
|
|
.global lbl_805AB98C
|
|
lbl_805AB98C:
|
|
# ROM: 0x3F822C
|
|
.4byte 0
|
|
|
|
.global lbl_805AB990
|
|
lbl_805AB990:
|
|
# ROM: 0x3F8230
|
|
.4byte 0xC0000000
|
|
|
|
.global lbl_805AB994
|
|
lbl_805AB994:
|
|
# ROM: 0x3F8234
|
|
.4byte 0x42C60000
|
|
|
|
.global lbl_805AB998
|
|
lbl_805AB998:
|
|
# ROM: 0x3F8238
|
|
.float 1.0
|
|
.4byte 0
|