mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-12-11 07:24:00 +00:00
75c3292df0
linkmap goes faster now
1151 lines
56 KiB
ArmAsm
1151 lines
56 KiB
ArmAsm
.include "macros.inc"
|
|
.section .sdata2, "a" # 0x80516360 - 0x80520E40
|
|
.balign 8
|
|
.global lbl_8051BFA0
|
|
lbl_8051BFA0:
|
|
.4byte 0x00000000
|
|
.global lbl_8051BFA4
|
|
lbl_8051BFA4:
|
|
.4byte 0x40000000
|
|
.global lbl_8051BFA8
|
|
lbl_8051BFA8:
|
|
.float 1.0
|
|
.global lbl_8051BFAC
|
|
lbl_8051BFAC:
|
|
.4byte 0xC6480000
|
|
.global lbl_8051BFB0
|
|
lbl_8051BFB0:
|
|
.4byte 0x40C90FDB
|
|
.global lbl_8051BFB4
|
|
lbl_8051BFB4:
|
|
.4byte 0x43A2F983
|
|
.global lbl_8051BFB8
|
|
lbl_8051BFB8:
|
|
.4byte 0xC3A2F983
|
|
.4byte 0x00000000
|
|
.global lbl_8051BFC0
|
|
lbl_8051BFC0:
|
|
.4byte 0x43300000
|
|
.4byte 0x80000000
|
|
.global lbl_8051BFC8
|
|
lbl_8051BFC8:
|
|
.4byte 0x3FAA3D71
|
|
.global lbl_8051BFCC
|
|
lbl_8051BFCC:
|
|
.float 0.25
|
|
.global lbl_8051BFD0
|
|
lbl_8051BFD0:
|
|
.4byte 0x42C80000
|
|
.global lbl_8051BFD4
|
|
lbl_8051BFD4:
|
|
.4byte 0xBF800000
|
|
|
|
.section .text, "ax" # 0x800056C0 - 0x80472F00
|
|
.global __ct__Q24Game12IKSystemBaseFv
|
|
__ct__Q24Game12IKSystemBaseFv:
|
|
/* 802A9E5C 002A6D9C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802A9E60 002A6DA0 7C 08 02 A6 */ mflr r0
|
|
/* 802A9E64 002A6DA4 3C 80 80 12 */ lis r4, "__ct__10Vector3<f>Fv"@ha
|
|
/* 802A9E68 002A6DA8 38 A0 00 00 */ li r5, 0
|
|
/* 802A9E6C 002A6DAC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802A9E70 002A6DB0 38 84 F3 48 */ addi r4, r4, "__ct__10Vector3<f>Fv"@l
|
|
/* 802A9E74 002A6DB4 38 C0 00 0C */ li r6, 0xc
|
|
/* 802A9E78 002A6DB8 38 E0 00 03 */ li r7, 3
|
|
/* 802A9E7C 002A6DBC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802A9E80 002A6DC0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802A9E84 002A6DC4 38 7F 00 28 */ addi r3, r31, 0x28
|
|
/* 802A9E88 002A6DC8 4B E1 79 B5 */ bl __construct_array
|
|
/* 802A9E8C 002A6DCC 38 80 00 00 */ li r4, 0
|
|
/* 802A9E90 002A6DD0 38 00 00 01 */ li r0, 1
|
|
/* 802A9E94 002A6DD4 98 9F 00 00 */ stb r4, 0(r31)
|
|
/* 802A9E98 002A6DD8 7F E3 FB 78 */ mr r3, r31
|
|
/* 802A9E9C 002A6DDC C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802A9EA0 002A6DE0 98 1F 00 03 */ stb r0, 3(r31)
|
|
/* 802A9EA4 002A6DE4 98 1F 00 02 */ stb r0, 2(r31)
|
|
/* 802A9EA8 002A6DE8 98 9F 00 04 */ stb r4, 4(r31)
|
|
/* 802A9EAC 002A6DEC D0 1F 00 08 */ stfs f0, 8(r31)
|
|
/* 802A9EB0 002A6DF0 D0 1F 00 0C */ stfs f0, 0xc(r31)
|
|
/* 802A9EB4 002A6DF4 90 9F 00 58 */ stw r4, 0x58(r31)
|
|
/* 802A9EB8 002A6DF8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802A9EBC 002A6DFC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802A9EC0 002A6E00 7C 08 03 A6 */ mtlr r0
|
|
/* 802A9EC4 002A6E04 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802A9EC8 002A6E08 4E 80 00 20 */ blr
|
|
|
|
.global init__Q24Game12IKSystemBaseFv
|
|
init__Q24Game12IKSystemBaseFv:
|
|
/* 802A9ECC 002A6E0C 38 80 00 00 */ li r4, 0
|
|
/* 802A9ED0 002A6E10 38 00 00 01 */ li r0, 1
|
|
/* 802A9ED4 002A6E14 98 83 00 00 */ stb r4, 0(r3)
|
|
/* 802A9ED8 002A6E18 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802A9EDC 002A6E1C 98 03 00 03 */ stb r0, 3(r3)
|
|
/* 802A9EE0 002A6E20 98 03 00 02 */ stb r0, 2(r3)
|
|
/* 802A9EE4 002A6E24 98 83 00 04 */ stb r4, 4(r3)
|
|
/* 802A9EE8 002A6E28 D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802A9EEC 002A6E2C D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
/* 802A9EF0 002A6E30 D0 03 00 10 */ stfs f0, 0x10(r3)
|
|
/* 802A9EF4 002A6E34 90 83 00 58 */ stw r4, 0x58(r3)
|
|
/* 802A9EF8 002A6E38 4E 80 00 20 */ blr
|
|
|
|
.global setLegJointMatrix__Q24Game12IKSystemBaseFiP7Matrixf
|
|
setLegJointMatrix__Q24Game12IKSystemBaseFiP7Matrixf:
|
|
/* 802A9EFC 002A6E3C 54 80 10 3A */ slwi r0, r4, 2
|
|
/* 802A9F00 002A6E40 7C 63 02 14 */ add r3, r3, r0
|
|
/* 802A9F04 002A6E44 90 A3 00 4C */ stw r5, 0x4c(r3)
|
|
/* 802A9F08 002A6E48 4E 80 00 20 */ blr
|
|
|
|
.global setParameters__Q24Game12IKSystemBaseFPQ24Game13IKSystemParms
|
|
setParameters__Q24Game12IKSystemBaseFPQ24Game13IKSystemParms:
|
|
/* 802A9F0C 002A6E4C 90 83 00 58 */ stw r4, 0x58(r3)
|
|
/* 802A9F10 002A6E50 4E 80 00 20 */ blr
|
|
|
|
.global startProgramedIK__Q24Game12IKSystemBaseFv
|
|
startProgramedIK__Q24Game12IKSystemBaseFv:
|
|
/* 802A9F14 002A6E54 38 80 00 01 */ li r4, 1
|
|
/* 802A9F18 002A6E58 38 00 00 00 */ li r0, 0
|
|
/* 802A9F1C 002A6E5C 98 83 00 00 */ stb r4, 0(r3)
|
|
/* 802A9F20 002A6E60 C0 42 DC 40 */ lfs f2, lbl_8051BFA0@sda21(r2)
|
|
/* 802A9F24 002A6E64 98 03 00 01 */ stb r0, 1(r3)
|
|
/* 802A9F28 002A6E68 C0 02 DC 44 */ lfs f0, lbl_8051BFA4@sda21(r2)
|
|
/* 802A9F2C 002A6E6C 98 03 00 04 */ stb r0, 4(r3)
|
|
/* 802A9F30 002A6E70 D0 43 00 08 */ stfs f2, 8(r3)
|
|
/* 802A9F34 002A6E74 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
/* 802A9F38 002A6E78 D0 43 00 10 */ stfs f2, 0x10(r3)
|
|
/* 802A9F3C 002A6E7C 80 83 00 54 */ lwz r4, 0x54(r3)
|
|
/* 802A9F40 002A6E80 C0 64 00 2C */ lfs f3, 0x2c(r4)
|
|
/* 802A9F44 002A6E84 C0 24 00 1C */ lfs f1, 0x1c(r4)
|
|
/* 802A9F48 002A6E88 C0 04 00 0C */ lfs f0, 0xc(r4)
|
|
/* 802A9F4C 002A6E8C D0 03 00 1C */ stfs f0, 0x1c(r3)
|
|
/* 802A9F50 002A6E90 D0 23 00 20 */ stfs f1, 0x20(r3)
|
|
/* 802A9F54 002A6E94 D0 63 00 24 */ stfs f3, 0x24(r3)
|
|
/* 802A9F58 002A6E98 80 83 00 4C */ lwz r4, 0x4c(r3)
|
|
/* 802A9F5C 002A6E9C 80 A3 00 50 */ lwz r5, 0x50(r3)
|
|
/* 802A9F60 002A6EA0 C0 04 00 1C */ lfs f0, 0x1c(r4)
|
|
/* 802A9F64 002A6EA4 C0 A5 00 1C */ lfs f5, 0x1c(r5)
|
|
/* 802A9F68 002A6EA8 C0 C5 00 2C */ lfs f6, 0x2c(r5)
|
|
/* 802A9F6C 002A6EAC EC 60 28 28 */ fsubs f3, f0, f5
|
|
/* 802A9F70 002A6EB0 C0 04 00 2C */ lfs f0, 0x2c(r4)
|
|
/* 802A9F74 002A6EB4 C0 85 00 0C */ lfs f4, 0xc(r5)
|
|
/* 802A9F78 002A6EB8 C0 24 00 0C */ lfs f1, 0xc(r4)
|
|
/* 802A9F7C 002A6EBC EC 00 30 28 */ fsubs f0, f0, f6
|
|
/* 802A9F80 002A6EC0 EC 63 00 F2 */ fmuls f3, f3, f3
|
|
/* 802A9F84 002A6EC4 EC 21 20 28 */ fsubs f1, f1, f4
|
|
/* 802A9F88 002A6EC8 EC E0 00 32 */ fmuls f7, f0, f0
|
|
/* 802A9F8C 002A6ECC EC 01 18 7A */ fmadds f0, f1, f1, f3
|
|
/* 802A9F90 002A6ED0 EC 07 00 2A */ fadds f0, f7, f0
|
|
/* 802A9F94 002A6ED4 FC 00 10 40 */ fcmpo cr0, f0, f2
|
|
/* 802A9F98 002A6ED8 40 81 00 14 */ ble .L_802A9FAC
|
|
/* 802A9F9C 002A6EDC 40 81 00 14 */ ble .L_802A9FB0
|
|
/* 802A9FA0 002A6EE0 FC 20 00 34 */ frsqrte f1, f0
|
|
/* 802A9FA4 002A6EE4 EC 01 00 32 */ fmuls f0, f1, f0
|
|
/* 802A9FA8 002A6EE8 48 00 00 08 */ b .L_802A9FB0
|
|
.L_802A9FAC:
|
|
/* 802A9FAC 002A6EEC FC 00 10 90 */ fmr f0, f2
|
|
.L_802A9FB0:
|
|
/* 802A9FB0 002A6EF0 D0 03 00 14 */ stfs f0, 0x14(r3)
|
|
/* 802A9FB4 002A6EF4 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802A9FB8 002A6EF8 C0 23 00 20 */ lfs f1, 0x20(r3)
|
|
/* 802A9FBC 002A6EFC C0 43 00 1C */ lfs f2, 0x1c(r3)
|
|
/* 802A9FC0 002A6F00 EC 65 08 28 */ fsubs f3, f5, f1
|
|
/* 802A9FC4 002A6F04 C0 23 00 24 */ lfs f1, 0x24(r3)
|
|
/* 802A9FC8 002A6F08 EC 44 10 28 */ fsubs f2, f4, f2
|
|
/* 802A9FCC 002A6F0C EC 26 08 28 */ fsubs f1, f6, f1
|
|
/* 802A9FD0 002A6F10 EC 63 00 F2 */ fmuls f3, f3, f3
|
|
/* 802A9FD4 002A6F14 EC 81 00 72 */ fmuls f4, f1, f1
|
|
/* 802A9FD8 002A6F18 EC 22 18 BA */ fmadds f1, f2, f2, f3
|
|
/* 802A9FDC 002A6F1C EC 24 08 2A */ fadds f1, f4, f1
|
|
/* 802A9FE0 002A6F20 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802A9FE4 002A6F24 40 81 00 14 */ ble .L_802A9FF8
|
|
/* 802A9FE8 002A6F28 40 81 00 14 */ ble .L_802A9FFC
|
|
/* 802A9FEC 002A6F2C FC 00 08 34 */ frsqrte f0, f1
|
|
/* 802A9FF0 002A6F30 EC 20 00 72 */ fmuls f1, f0, f1
|
|
/* 802A9FF4 002A6F34 48 00 00 08 */ b .L_802A9FFC
|
|
.L_802A9FF8:
|
|
/* 802A9FF8 002A6F38 FC 20 00 90 */ fmr f1, f0
|
|
.L_802A9FFC:
|
|
/* 802A9FFC 002A6F3C D0 23 00 18 */ stfs f1, 0x18(r3)
|
|
/* 802AA000 002A6F40 4E 80 00 20 */ blr
|
|
|
|
.global "startMovePosition__Q24Game12IKSystemBaseFR10Vector3<f>"
|
|
"startMovePosition__Q24Game12IKSystemBaseFR10Vector3<f>":
|
|
/* 802AA004 002A6F44 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802AA008 002A6F48 7C 08 02 A6 */ mflr r0
|
|
/* 802AA00C 002A6F4C C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA010 002A6F50 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802AA014 002A6F54 38 00 00 00 */ li r0, 0
|
|
/* 802AA018 002A6F58 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802AA01C 002A6F5C 7C 9F 23 78 */ mr r31, r4
|
|
/* 802AA020 002A6F60 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 802AA024 002A6F64 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802AA028 002A6F68 98 03 00 02 */ stb r0, 2(r3)
|
|
/* 802AA02C 002A6F6C D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802AA030 002A6F70 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
/* 802AA034 002A6F74 D0 03 00 10 */ stfs f0, 0x10(r3)
|
|
/* 802AA038 002A6F78 C0 03 00 1C */ lfs f0, 0x1c(r3)
|
|
/* 802AA03C 002A6F7C D0 03 00 28 */ stfs f0, 0x28(r3)
|
|
/* 802AA040 002A6F80 C0 03 00 20 */ lfs f0, 0x20(r3)
|
|
/* 802AA044 002A6F84 D0 03 00 2C */ stfs f0, 0x2c(r3)
|
|
/* 802AA048 002A6F88 C0 03 00 24 */ lfs f0, 0x24(r3)
|
|
/* 802AA04C 002A6F8C D0 03 00 30 */ stfs f0, 0x30(r3)
|
|
/* 802AA050 002A6F90 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13)
|
|
/* 802AA054 002A6F94 81 83 00 04 */ lwz r12, 4(r3)
|
|
/* 802AA058 002A6F98 81 8C 00 28 */ lwz r12, 0x28(r12)
|
|
/* 802AA05C 002A6F9C 7D 89 03 A6 */ mtctr r12
|
|
/* 802AA060 002A6FA0 4E 80 04 21 */ bctrl
|
|
/* 802AA064 002A6FA4 D0 3F 00 04 */ stfs f1, 4(r31)
|
|
/* 802AA068 002A6FA8 C0 42 DC 48 */ lfs f2, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA06C 002A6FAC C0 1F 00 00 */ lfs f0, 0(r31)
|
|
/* 802AA070 002A6FB0 D0 1E 00 40 */ stfs f0, 0x40(r30)
|
|
/* 802AA074 002A6FB4 C0 1F 00 04 */ lfs f0, 4(r31)
|
|
/* 802AA078 002A6FB8 D0 1E 00 44 */ stfs f0, 0x44(r30)
|
|
/* 802AA07C 002A6FBC C0 1F 00 08 */ lfs f0, 8(r31)
|
|
/* 802AA080 002A6FC0 D0 1E 00 48 */ stfs f0, 0x48(r30)
|
|
/* 802AA084 002A6FC4 80 7E 00 58 */ lwz r3, 0x58(r30)
|
|
/* 802AA088 002A6FC8 C0 1E 00 28 */ lfs f0, 0x28(r30)
|
|
/* 802AA08C 002A6FCC C0 63 00 0C */ lfs f3, 0xc(r3)
|
|
/* 802AA090 002A6FD0 C0 3E 00 40 */ lfs f1, 0x40(r30)
|
|
/* 802AA094 002A6FD4 EC 42 18 28 */ fsubs f2, f2, f3
|
|
/* 802AA098 002A6FD8 EC 02 00 32 */ fmuls f0, f2, f0
|
|
/* 802AA09C 002A6FDC EC 03 00 7A */ fmadds f0, f3, f1, f0
|
|
/* 802AA0A0 002A6FE0 D0 1E 00 34 */ stfs f0, 0x34(r30)
|
|
/* 802AA0A4 002A6FE4 C0 1E 00 2C */ lfs f0, 0x2c(r30)
|
|
/* 802AA0A8 002A6FE8 C0 3E 00 44 */ lfs f1, 0x44(r30)
|
|
/* 802AA0AC 002A6FEC EC 02 00 32 */ fmuls f0, f2, f0
|
|
/* 802AA0B0 002A6FF0 EC 03 00 7A */ fmadds f0, f3, f1, f0
|
|
/* 802AA0B4 002A6FF4 D0 1E 00 38 */ stfs f0, 0x38(r30)
|
|
/* 802AA0B8 002A6FF8 C0 1E 00 30 */ lfs f0, 0x30(r30)
|
|
/* 802AA0BC 002A6FFC C0 3E 00 48 */ lfs f1, 0x48(r30)
|
|
/* 802AA0C0 002A7000 EC 02 00 32 */ fmuls f0, f2, f0
|
|
/* 802AA0C4 002A7004 EC 03 00 7A */ fmadds f0, f3, f1, f0
|
|
/* 802AA0C8 002A7008 D0 1E 00 3C */ stfs f0, 0x3c(r30)
|
|
/* 802AA0CC 002A700C 80 7E 00 58 */ lwz r3, 0x58(r30)
|
|
/* 802AA0D0 002A7010 C0 3E 00 38 */ lfs f1, 0x38(r30)
|
|
/* 802AA0D4 002A7014 C0 03 00 10 */ lfs f0, 0x10(r3)
|
|
/* 802AA0D8 002A7018 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 802AA0DC 002A701C D0 1E 00 38 */ stfs f0, 0x38(r30)
|
|
/* 802AA0E0 002A7020 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802AA0E4 002A7024 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 802AA0E8 002A7028 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802AA0EC 002A702C 7C 08 03 A6 */ mtlr r0
|
|
/* 802AA0F0 002A7030 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802AA0F4 002A7034 4E 80 00 20 */ blr
|
|
|
|
.global startBlendMotion__Q24Game12IKSystemBaseFv
|
|
startBlendMotion__Q24Game12IKSystemBaseFv:
|
|
/* 802AA0F8 002A7038 38 00 00 01 */ li r0, 1
|
|
/* 802AA0FC 002A703C 98 03 00 01 */ stb r0, 1(r3)
|
|
/* 802AA100 002A7040 4E 80 00 20 */ blr
|
|
|
|
.global finishBlendMotion__Q24Game12IKSystemBaseFv
|
|
finishBlendMotion__Q24Game12IKSystemBaseFv:
|
|
/* 802AA104 002A7044 38 00 00 00 */ li r0, 0
|
|
/* 802AA108 002A7048 98 03 00 01 */ stb r0, 1(r3)
|
|
/* 802AA10C 002A704C 4E 80 00 20 */ blr
|
|
|
|
.global checkJointScaleOn__Q24Game12IKSystemBaseFv
|
|
checkJointScaleOn__Q24Game12IKSystemBaseFv:
|
|
/* 802AA110 002A7050 38 00 00 01 */ li r0, 1
|
|
/* 802AA114 002A7054 98 03 00 04 */ stb r0, 4(r3)
|
|
/* 802AA118 002A7058 4E 80 00 20 */ blr
|
|
|
|
.global update__Q24Game12IKSystemBaseFv
|
|
update__Q24Game12IKSystemBaseFv:
|
|
/* 802AA11C 002A705C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802AA120 002A7060 7C 08 02 A6 */ mflr r0
|
|
/* 802AA124 002A7064 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802AA128 002A7068 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802AA12C 002A706C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802AA130 002A7070 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 802AA134 002A7074 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA138 002A7078 41 82 00 4C */ beq .L_802AA184
|
|
/* 802AA13C 002A707C 88 1F 00 02 */ lbz r0, 2(r31)
|
|
/* 802AA140 002A7080 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA144 002A7084 40 82 00 30 */ bne .L_802AA174
|
|
/* 802AA148 002A7088 48 00 01 49 */ bl moveBottomJointPosition__Q24Game12IKSystemBaseFv
|
|
/* 802AA14C 002A708C C0 3F 00 0C */ lfs f1, 0xc(r31)
|
|
/* 802AA150 002A7090 C0 02 DC 48 */ lfs f0, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA154 002A7094 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AA158 002A7098 40 81 00 1C */ ble .L_802AA174
|
|
/* 802AA15C 002A709C 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA160 002A70A0 48 00 02 6D */ bl onGroundPosition__Q24Game12IKSystemBaseFv
|
|
/* 802AA164 002A70A4 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802AA168 002A70A8 41 82 00 0C */ beq .L_802AA174
|
|
/* 802AA16C 002A70AC 38 00 00 01 */ li r0, 1
|
|
/* 802AA170 002A70B0 98 1F 00 02 */ stb r0, 2(r31)
|
|
.L_802AA174:
|
|
/* 802AA174 002A70B4 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA178 002A70B8 48 00 04 D5 */ bl makeBendRatio__Q24Game12IKSystemBaseFv
|
|
/* 802AA17C 002A70BC 88 1F 00 02 */ lbz r0, 2(r31)
|
|
/* 802AA180 002A70C0 98 1F 00 03 */ stb r0, 3(r31)
|
|
.L_802AA184:
|
|
/* 802AA184 002A70C4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802AA188 002A70C8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802AA18C 002A70CC 7C 08 03 A6 */ mtlr r0
|
|
/* 802AA190 002A70D0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802AA194 002A70D4 4E 80 00 20 */ blr
|
|
|
|
.global makeMatrix__Q24Game12IKSystemBaseFv
|
|
makeMatrix__Q24Game12IKSystemBaseFv:
|
|
/* 802AA198 002A70D8 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 802AA19C 002A70DC 7C 08 02 A6 */ mflr r0
|
|
/* 802AA1A0 002A70E0 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 802AA1A4 002A70E4 93 E1 00 3C */ stw r31, 0x3c(r1)
|
|
/* 802AA1A8 002A70E8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802AA1AC 002A70EC 88 03 00 00 */ lbz r0, 0(r3)
|
|
/* 802AA1B0 002A70F0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA1B4 002A70F4 41 82 00 C8 */ beq .L_802AA27C
|
|
/* 802AA1B8 002A70F8 80 DF 00 4C */ lwz r6, 0x4c(r31)
|
|
/* 802AA1BC 002A70FC 7F E4 FB 78 */ mr r4, r31
|
|
/* 802AA1C0 002A7100 38 61 00 08 */ addi r3, r1, 8
|
|
/* 802AA1C4 002A7104 38 A1 00 2C */ addi r5, r1, 0x2c
|
|
/* 802AA1C8 002A7108 C0 46 00 2C */ lfs f2, 0x2c(r6)
|
|
/* 802AA1CC 002A710C C0 26 00 1C */ lfs f1, 0x1c(r6)
|
|
/* 802AA1D0 002A7110 C0 06 00 0C */ lfs f0, 0xc(r6)
|
|
/* 802AA1D4 002A7114 D0 01 00 2C */ stfs f0, 0x2c(r1)
|
|
/* 802AA1D8 002A7118 D0 21 00 30 */ stfs f1, 0x30(r1)
|
|
/* 802AA1DC 002A711C D0 41 00 34 */ stfs f2, 0x34(r1)
|
|
/* 802AA1E0 002A7120 48 00 04 F1 */ bl "getMiddleDirection__Q24Game12IKSystemBaseFR10Vector3<f>"
|
|
/* 802AA1E4 002A7124 C0 41 00 08 */ lfs f2, 8(r1)
|
|
/* 802AA1E8 002A7128 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 802AA1EC 002A712C C0 21 00 0C */ lfs f1, 0xc(r1)
|
|
/* 802AA1F0 002A7130 38 9F 00 1C */ addi r4, r31, 0x1c
|
|
/* 802AA1F4 002A7134 C0 01 00 10 */ lfs f0, 0x10(r1)
|
|
/* 802AA1F8 002A7138 38 A1 00 20 */ addi r5, r1, 0x20
|
|
/* 802AA1FC 002A713C D0 41 00 20 */ stfs f2, 0x20(r1)
|
|
/* 802AA200 002A7140 38 C1 00 14 */ addi r6, r1, 0x14
|
|
/* 802AA204 002A7144 D0 21 00 24 */ stfs f1, 0x24(r1)
|
|
/* 802AA208 002A7148 D0 01 00 28 */ stfs f0, 0x28(r1)
|
|
/* 802AA20C 002A714C C0 3F 00 14 */ lfs f1, 0x14(r31)
|
|
/* 802AA210 002A7150 C0 5F 00 18 */ lfs f2, 0x18(r31)
|
|
/* 802AA214 002A7154 4B F9 36 45 */ bl "calcJointPos__Q24Game9NsMathExpFRC10Vector3<f>RC10Vector3<f>ffR10Vector3<f>R10Vector3<f>"
|
|
/* 802AA218 002A7158 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA21C 002A715C 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 802AA220 002A7160 38 A1 00 14 */ addi r5, r1, 0x14
|
|
/* 802AA224 002A7164 48 00 05 49 */ bl "setTopJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>"
|
|
/* 802AA228 002A7168 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA22C 002A716C 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 802AA230 002A7170 38 A1 00 14 */ addi r5, r1, 0x14
|
|
/* 802AA234 002A7174 48 00 07 CD */ bl "setMiddleJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>"
|
|
/* 802AA238 002A7178 80 BF 00 50 */ lwz r5, 0x50(r31)
|
|
/* 802AA23C 002A717C 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA240 002A7180 C0 01 00 14 */ lfs f0, 0x14(r1)
|
|
/* 802AA244 002A7184 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 802AA248 002A7188 D0 05 00 0C */ stfs f0, 0xc(r5)
|
|
/* 802AA24C 002A718C C0 01 00 18 */ lfs f0, 0x18(r1)
|
|
/* 802AA250 002A7190 D0 05 00 1C */ stfs f0, 0x1c(r5)
|
|
/* 802AA254 002A7194 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 802AA258 002A7198 D0 05 00 2C */ stfs f0, 0x2c(r5)
|
|
/* 802AA25C 002A719C 80 BF 00 54 */ lwz r5, 0x54(r31)
|
|
/* 802AA260 002A71A0 C0 1F 00 1C */ lfs f0, 0x1c(r31)
|
|
/* 802AA264 002A71A4 D0 05 00 0C */ stfs f0, 0xc(r5)
|
|
/* 802AA268 002A71A8 C0 1F 00 20 */ lfs f0, 0x20(r31)
|
|
/* 802AA26C 002A71AC D0 05 00 1C */ stfs f0, 0x1c(r5)
|
|
/* 802AA270 002A71B0 C0 1F 00 24 */ lfs f0, 0x24(r31)
|
|
/* 802AA274 002A71B4 D0 05 00 2C */ stfs f0, 0x2c(r5)
|
|
/* 802AA278 002A71B8 48 00 0A 1D */ bl "makeBottomMatrix__Q24Game12IKSystemBaseFR10Vector3<f>"
|
|
.L_802AA27C:
|
|
/* 802AA27C 002A71BC 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 802AA280 002A71C0 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
|
/* 802AA284 002A71C4 7C 08 03 A6 */ mtlr r0
|
|
/* 802AA288 002A71C8 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 802AA28C 002A71CC 4E 80 00 20 */ blr
|
|
|
|
.global moveBottomJointPosition__Q24Game12IKSystemBaseFv
|
|
moveBottomJointPosition__Q24Game12IKSystemBaseFv:
|
|
/* 802AA290 002A71D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802AA294 002A71D4 7C 08 02 A6 */ mflr r0
|
|
/* 802AA298 002A71D8 C0 02 DC 48 */ lfs f0, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA29C 002A71DC 7C 67 1B 78 */ mr r7, r3
|
|
/* 802AA2A0 002A71E0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802AA2A4 002A71E4 C0 23 00 0C */ lfs f1, 0xc(r3)
|
|
/* 802AA2A8 002A71E8 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AA2AC 002A71EC 40 80 00 1C */ bge .L_802AA2C8
|
|
/* 802AA2B0 002A71F0 80 67 00 58 */ lwz r3, 0x58(r7)
|
|
/* 802AA2B4 002A71F4 C0 27 00 10 */ lfs f1, 0x10(r7)
|
|
/* 802AA2B8 002A71F8 C0 03 00 18 */ lfs f0, 0x18(r3)
|
|
/* 802AA2BC 002A71FC EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 802AA2C0 002A7200 D0 07 00 10 */ stfs f0, 0x10(r7)
|
|
/* 802AA2C4 002A7204 48 00 00 18 */ b .L_802AA2DC
|
|
.L_802AA2C8:
|
|
/* 802AA2C8 002A7208 80 67 00 58 */ lwz r3, 0x58(r7)
|
|
/* 802AA2CC 002A720C C0 27 00 10 */ lfs f1, 0x10(r7)
|
|
/* 802AA2D0 002A7210 C0 03 00 1C */ lfs f0, 0x1c(r3)
|
|
/* 802AA2D4 002A7214 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 802AA2D8 002A7218 D0 07 00 10 */ stfs f0, 0x10(r7)
|
|
.L_802AA2DC:
|
|
/* 802AA2DC 002A721C 80 67 00 58 */ lwz r3, 0x58(r7)
|
|
/* 802AA2E0 002A7220 C0 07 00 10 */ lfs f0, 0x10(r7)
|
|
/* 802AA2E4 002A7224 C0 23 00 24 */ lfs f1, 0x24(r3)
|
|
/* 802AA2E8 002A7228 C0 43 00 20 */ lfs f2, 0x20(r3)
|
|
/* 802AA2EC 002A722C FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 802AA2F0 002A7230 40 80 00 08 */ bge .L_802AA2F8
|
|
/* 802AA2F4 002A7234 48 00 00 18 */ b .L_802AA30C
|
|
.L_802AA2F8:
|
|
/* 802AA2F8 002A7238 FC 00 10 40 */ fcmpo cr0, f0, f2
|
|
/* 802AA2FC 002A723C 40 81 00 0C */ ble .L_802AA308
|
|
/* 802AA300 002A7240 FC 20 10 90 */ fmr f1, f2
|
|
/* 802AA304 002A7244 48 00 00 08 */ b .L_802AA30C
|
|
.L_802AA308:
|
|
/* 802AA308 002A7248 FC 20 00 90 */ fmr f1, f0
|
|
.L_802AA30C:
|
|
/* 802AA30C 002A724C D0 27 00 10 */ stfs f1, 0x10(r7)
|
|
/* 802AA310 002A7250 38 67 00 28 */ addi r3, r7, 0x28
|
|
/* 802AA314 002A7254 38 87 00 1C */ addi r4, r7, 0x1c
|
|
/* 802AA318 002A7258 80 C7 00 58 */ lwz r6, 0x58(r7)
|
|
/* 802AA31C 002A725C 80 AD 9A EC */ lwz r5, sys@sda21(r13)
|
|
/* 802AA320 002A7260 C0 46 00 14 */ lfs f2, 0x14(r6)
|
|
/* 802AA324 002A7264 C0 07 00 10 */ lfs f0, 0x10(r7)
|
|
/* 802AA328 002A7268 C0 25 00 54 */ lfs f1, 0x54(r5)
|
|
/* 802AA32C 002A726C EC 42 00 2A */ fadds f2, f2, f0
|
|
/* 802AA330 002A7270 C0 07 00 0C */ lfs f0, 0xc(r7)
|
|
/* 802AA334 002A7274 EC 02 00 7A */ fmadds f0, f2, f1, f0
|
|
/* 802AA338 002A7278 D0 07 00 0C */ stfs f0, 0xc(r7)
|
|
/* 802AA33C 002A727C C0 27 00 0C */ lfs f1, 0xc(r7)
|
|
/* 802AA340 002A7280 4B F9 34 71 */ bl "calcLagrange__Q24Game9NsMathExpFPC10Vector3<f>fR10Vector3<f>"
|
|
/* 802AA344 002A7284 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802AA348 002A7288 7C 08 03 A6 */ mtlr r0
|
|
/* 802AA34C 002A728C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802AA350 002A7290 4E 80 00 20 */ blr
|
|
|
|
.global onGround__Q24Game12IKSystemBaseFv
|
|
onGround__Q24Game12IKSystemBaseFv:
|
|
/* 802AA354 002A7294 88 63 00 02 */ lbz r3, 2(r3)
|
|
/* 802AA358 002A7298 4E 80 00 20 */ blr
|
|
|
|
.global getBottomJointPosition__Q24Game12IKSystemBaseFv
|
|
getBottomJointPosition__Q24Game12IKSystemBaseFv:
|
|
/* 802AA35C 002A729C C0 04 00 1C */ lfs f0, 0x1c(r4)
|
|
/* 802AA360 002A72A0 D0 03 00 00 */ stfs f0, 0(r3)
|
|
/* 802AA364 002A72A4 C0 04 00 20 */ lfs f0, 0x20(r4)
|
|
/* 802AA368 002A72A8 D0 03 00 04 */ stfs f0, 4(r3)
|
|
/* 802AA36C 002A72AC C0 04 00 24 */ lfs f0, 0x24(r4)
|
|
/* 802AA370 002A72B0 D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802AA374 002A72B4 4E 80 00 20 */ blr
|
|
|
|
.global getCollisionCentre__Q24Game12IKSystemBaseFv
|
|
getCollisionCentre__Q24Game12IKSystemBaseFv:
|
|
/* 802AA378 002A72B8 80 A4 00 54 */ lwz r5, 0x54(r4)
|
|
/* 802AA37C 002A72BC 80 84 00 58 */ lwz r4, 0x58(r4)
|
|
/* 802AA380 002A72C0 C0 65 00 00 */ lfs f3, 0(r5)
|
|
/* 802AA384 002A72C4 C0 44 00 04 */ lfs f2, 4(r4)
|
|
/* 802AA388 002A72C8 C0 85 00 10 */ lfs f4, 0x10(r5)
|
|
/* 802AA38C 002A72CC EC 63 00 B2 */ fmuls f3, f3, f2
|
|
/* 802AA390 002A72D0 C0 05 00 0C */ lfs f0, 0xc(r5)
|
|
/* 802AA394 002A72D4 C0 A5 00 20 */ lfs f5, 0x20(r5)
|
|
/* 802AA398 002A72D8 EC 84 00 B2 */ fmuls f4, f4, f2
|
|
/* 802AA39C 002A72DC C0 25 00 1C */ lfs f1, 0x1c(r5)
|
|
/* 802AA3A0 002A72E0 EC 63 00 2A */ fadds f3, f3, f0
|
|
/* 802AA3A4 002A72E4 C0 05 00 2C */ lfs f0, 0x2c(r5)
|
|
/* 802AA3A8 002A72E8 EC A5 00 B2 */ fmuls f5, f5, f2
|
|
/* 802AA3AC 002A72EC EC 84 08 2A */ fadds f4, f4, f1
|
|
/* 802AA3B0 002A72F0 D0 63 00 00 */ stfs f3, 0(r3)
|
|
/* 802AA3B4 002A72F4 EC A5 00 2A */ fadds f5, f5, f0
|
|
/* 802AA3B8 002A72F8 D0 83 00 04 */ stfs f4, 4(r3)
|
|
/* 802AA3BC 002A72FC D0 A3 00 08 */ stfs f5, 8(r3)
|
|
/* 802AA3C0 002A7300 4E 80 00 20 */ blr
|
|
|
|
.global getMoveRatio__Q24Game12IKSystemBaseFv
|
|
getMoveRatio__Q24Game12IKSystemBaseFv:
|
|
/* 802AA3C4 002A7304 C0 23 00 0C */ lfs f1, 0xc(r3)
|
|
/* 802AA3C8 002A7308 4E 80 00 20 */ blr
|
|
|
|
.global onGroundPosition__Q24Game12IKSystemBaseFv
|
|
onGroundPosition__Q24Game12IKSystemBaseFv:
|
|
/* 802AA3CC 002A730C 94 21 FF 30 */ stwu r1, -0xd0(r1)
|
|
/* 802AA3D0 002A7310 7C 08 02 A6 */ mflr r0
|
|
/* 802AA3D4 002A7314 90 01 00 D4 */ stw r0, 0xd4(r1)
|
|
/* 802AA3D8 002A7318 DB E1 00 C0 */ stfd f31, 0xc0(r1)
|
|
/* 802AA3DC 002A731C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
|
|
/* 802AA3E0 002A7320 DB C1 00 B0 */ stfd f30, 0xb0(r1)
|
|
/* 802AA3E4 002A7324 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
|
|
/* 802AA3E8 002A7328 DB A1 00 A0 */ stfd f29, 0xa0(r1)
|
|
/* 802AA3EC 002A732C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0
|
|
/* 802AA3F0 002A7330 DB 81 00 90 */ stfd f28, 0x90(r1)
|
|
/* 802AA3F4 002A7334 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0
|
|
/* 802AA3F8 002A7338 DB 61 00 80 */ stfd f27, 0x80(r1)
|
|
/* 802AA3FC 002A733C F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0
|
|
/* 802AA400 002A7340 DB 41 00 70 */ stfd f26, 0x70(r1)
|
|
/* 802AA404 002A7344 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0
|
|
/* 802AA408 002A7348 DB 21 00 60 */ stfd f25, 0x60(r1)
|
|
/* 802AA40C 002A734C F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0
|
|
/* 802AA410 002A7350 DB 01 00 50 */ stfd f24, 0x50(r1)
|
|
/* 802AA414 002A7354 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0
|
|
/* 802AA418 002A7358 DA E1 00 40 */ stfd f23, 0x40(r1)
|
|
/* 802AA41C 002A735C F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0
|
|
/* 802AA420 002A7360 93 E1 00 3C */ stw r31, 0x3c(r1)
|
|
/* 802AA424 002A7364 93 C1 00 38 */ stw r30, 0x38(r1)
|
|
/* 802AA428 002A7368 93 A1 00 34 */ stw r29, 0x34(r1)
|
|
/* 802AA42C 002A736C 93 81 00 30 */ stw r28, 0x30(r1)
|
|
/* 802AA430 002A7370 7C 7D 1B 78 */ mr r29, r3
|
|
/* 802AA434 002A7374 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13)
|
|
/* 802AA438 002A7378 38 9D 00 1C */ addi r4, r29, 0x1c
|
|
/* 802AA43C 002A737C C3 22 DC 4C */ lfs f25, lbl_8051BFAC@sda21(r2)
|
|
/* 802AA440 002A7380 81 83 00 04 */ lwz r12, 4(r3)
|
|
/* 802AA444 002A7384 3B E0 00 00 */ li r31, 0
|
|
/* 802AA448 002A7388 81 8C 00 28 */ lwz r12, 0x28(r12)
|
|
/* 802AA44C 002A738C 7D 89 03 A6 */ mtctr r12
|
|
/* 802AA450 002A7390 4E 80 04 21 */ bctrl
|
|
/* 802AA454 002A7394 C0 9D 00 20 */ lfs f4, 0x20(r29)
|
|
/* 802AA458 002A7398 FC 01 20 40 */ fcmpo cr0, f1, f4
|
|
/* 802AA45C 002A739C 40 81 00 0C */ ble .L_802AA468
|
|
/* 802AA460 002A73A0 FF 20 08 90 */ fmr f25, f1
|
|
/* 802AA464 002A73A4 3B E0 00 01 */ li r31, 1
|
|
.L_802AA468:
|
|
/* 802AA468 002A73A8 80 BD 00 58 */ lwz r5, 0x58(r29)
|
|
/* 802AA46C 002A73AC 80 05 00 00 */ lwz r0, 0(r5)
|
|
/* 802AA470 002A73B0 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 802AA474 002A73B4 40 81 01 60 */ ble .L_802AA5D4
|
|
/* 802AA478 002A73B8 6C 03 80 00 */ xoris r3, r0, 0x8000
|
|
/* 802AA47C 002A73BC 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 802AA480 002A73C0 90 61 00 1C */ stw r3, 0x1c(r1)
|
|
/* 802AA484 002A73C4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
|
|
/* 802AA488 002A73C8 80 9D 00 54 */ lwz r4, 0x54(r29)
|
|
/* 802AA48C 002A73CC 3B 83 71 A0 */ addi r28, r3, sincosTable___5JMath@l
|
|
/* 802AA490 002A73D0 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 802AA494 002A73D4 3B C0 00 00 */ li r30, 0
|
|
/* 802AA498 002A73D8 C8 22 DC 60 */ lfd f1, lbl_8051BFC0@sda21(r2)
|
|
/* 802AA49C 002A73DC C8 01 00 18 */ lfd f0, 0x18(r1)
|
|
/* 802AA4A0 002A73E0 C0 42 DC 50 */ lfs f2, lbl_8051BFB0@sda21(r2)
|
|
/* 802AA4A4 002A73E4 EC 00 08 28 */ fsubs f0, f0, f1
|
|
/* 802AA4A8 002A73E8 C3 02 DC 40 */ lfs f24, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA4AC 002A73EC C3 84 00 00 */ lfs f28, 0(r4)
|
|
/* 802AA4B0 002A73F0 C0 65 00 04 */ lfs f3, 4(r5)
|
|
/* 802AA4B4 002A73F4 FF A0 C0 90 */ fmr f29, f24
|
|
/* 802AA4B8 002A73F8 EE E2 00 24 */ fdivs f23, f2, f0
|
|
/* 802AA4BC 002A73FC C3 64 00 10 */ lfs f27, 0x10(r4)
|
|
/* 802AA4C0 002A7400 C3 44 00 20 */ lfs f26, 0x20(r4)
|
|
/* 802AA4C4 002A7404 C0 3D 00 1C */ lfs f1, 0x1c(r29)
|
|
/* 802AA4C8 002A7408 C0 1D 00 24 */ lfs f0, 0x24(r29)
|
|
/* 802AA4CC 002A740C C3 C2 DC 54 */ lfs f30, lbl_8051BFB4@sda21(r2)
|
|
/* 802AA4D0 002A7410 EF 9C 00 F2 */ fmuls f28, f28, f3
|
|
/* 802AA4D4 002A7414 EF 7B 00 F2 */ fmuls f27, f27, f3
|
|
/* 802AA4D8 002A7418 EF 5A 00 F2 */ fmuls f26, f26, f3
|
|
/* 802AA4DC 002A741C FF E0 C0 90 */ fmr f31, f24
|
|
/* 802AA4E0 002A7420 EF 9C 08 2A */ fadds f28, f28, f1
|
|
/* 802AA4E4 002A7424 EF 7B 20 2A */ fadds f27, f27, f4
|
|
/* 802AA4E8 002A7428 EF 5A 00 2A */ fadds f26, f26, f0
|
|
/* 802AA4EC 002A742C 48 00 00 D8 */ b .L_802AA5C4
|
|
.L_802AA4F0:
|
|
/* 802AA4F0 002A7430 FC 00 C0 90 */ fmr f0, f24
|
|
/* 802AA4F4 002A7434 FC 18 E8 40 */ fcmpo cr0, f24, f29
|
|
/* 802AA4F8 002A7438 40 80 00 08 */ bge .L_802AA500
|
|
/* 802AA4FC 002A743C FC 00 C0 50 */ fneg f0, f24
|
|
.L_802AA500:
|
|
/* 802AA500 002A7440 EC 00 07 B2 */ fmuls f0, f0, f30
|
|
/* 802AA504 002A7444 C0 43 00 08 */ lfs f2, 8(r3)
|
|
/* 802AA508 002A7448 FC 18 F8 40 */ fcmpo cr0, f24, f31
|
|
/* 802AA50C 002A744C FC 00 00 1E */ fctiwz f0, f0
|
|
/* 802AA510 002A7450 D8 01 00 18 */ stfd f0, 0x18(r1)
|
|
/* 802AA514 002A7454 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 802AA518 002A7458 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
|
|
/* 802AA51C 002A745C 7C 7C 02 14 */ add r3, r28, r0
|
|
/* 802AA520 002A7460 C0 03 00 04 */ lfs f0, 4(r3)
|
|
/* 802AA524 002A7464 EC 22 D0 3A */ fmadds f1, f2, f0, f26
|
|
/* 802AA528 002A7468 40 80 00 30 */ bge .L_802AA558
|
|
/* 802AA52C 002A746C C0 02 DC 58 */ lfs f0, lbl_8051BFB8@sda21(r2)
|
|
/* 802AA530 002A7470 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
|
|
/* 802AA534 002A7474 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l
|
|
/* 802AA538 002A7478 EC 18 00 32 */ fmuls f0, f24, f0
|
|
/* 802AA53C 002A747C FC 00 00 1E */ fctiwz f0, f0
|
|
/* 802AA540 002A7480 D8 01 00 20 */ stfd f0, 0x20(r1)
|
|
/* 802AA544 002A7484 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 802AA548 002A7488 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
|
|
/* 802AA54C 002A748C 7C 03 04 2E */ lfsx f0, r3, r0
|
|
/* 802AA550 002A7490 FC 00 00 50 */ fneg f0, f0
|
|
/* 802AA554 002A7494 48 00 00 24 */ b .L_802AA578
|
|
.L_802AA558:
|
|
/* 802AA558 002A7498 EC 18 07 B2 */ fmuls f0, f24, f30
|
|
/* 802AA55C 002A749C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
|
|
/* 802AA560 002A74A0 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l
|
|
/* 802AA564 002A74A4 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 802AA568 002A74A8 D8 01 00 28 */ stfd f0, 0x28(r1)
|
|
/* 802AA56C 002A74AC 80 01 00 2C */ lwz r0, 0x2c(r1)
|
|
/* 802AA570 002A74B0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
|
|
/* 802AA574 002A74B4 7C 03 04 2E */ lfsx f0, r3, r0
|
|
.L_802AA578:
|
|
/* 802AA578 002A74B8 EC 02 E0 3A */ fmadds f0, f2, f0, f28
|
|
/* 802AA57C 002A74BC D3 61 00 0C */ stfs f27, 0xc(r1)
|
|
/* 802AA580 002A74C0 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13)
|
|
/* 802AA584 002A74C4 38 81 00 08 */ addi r4, r1, 8
|
|
/* 802AA588 002A74C8 D0 21 00 10 */ stfs f1, 0x10(r1)
|
|
/* 802AA58C 002A74CC D0 01 00 08 */ stfs f0, 8(r1)
|
|
/* 802AA590 002A74D0 81 83 00 04 */ lwz r12, 4(r3)
|
|
/* 802AA594 002A74D4 81 8C 00 28 */ lwz r12, 0x28(r12)
|
|
/* 802AA598 002A74D8 7D 89 03 A6 */ mtctr r12
|
|
/* 802AA59C 002A74DC 4E 80 04 21 */ bctrl
|
|
/* 802AA5A0 002A74E0 C0 01 00 0C */ lfs f0, 0xc(r1)
|
|
/* 802AA5A4 002A74E4 EF 18 B8 2A */ fadds f24, f24, f23
|
|
/* 802AA5A8 002A74E8 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AA5AC 002A74EC 40 81 00 14 */ ble .L_802AA5C0
|
|
/* 802AA5B0 002A74F0 FC 01 C8 40 */ fcmpo cr0, f1, f25
|
|
/* 802AA5B4 002A74F4 40 81 00 0C */ ble .L_802AA5C0
|
|
/* 802AA5B8 002A74F8 FF 20 08 90 */ fmr f25, f1
|
|
/* 802AA5BC 002A74FC 3B E0 00 01 */ li r31, 1
|
|
.L_802AA5C0:
|
|
/* 802AA5C0 002A7500 3B DE 00 01 */ addi r30, r30, 1
|
|
.L_802AA5C4:
|
|
/* 802AA5C4 002A7504 80 7D 00 58 */ lwz r3, 0x58(r29)
|
|
/* 802AA5C8 002A7508 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 802AA5CC 002A750C 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 802AA5D0 002A7510 41 80 FF 20 */ blt .L_802AA4F0
|
|
.L_802AA5D4:
|
|
/* 802AA5D4 002A7514 57 E0 06 3F */ clrlwi. r0, r31, 0x18
|
|
/* 802AA5D8 002A7518 41 82 00 08 */ beq .L_802AA5E0
|
|
/* 802AA5DC 002A751C D3 3D 00 20 */ stfs f25, 0x20(r29)
|
|
.L_802AA5E0:
|
|
/* 802AA5E0 002A7520 7F E3 FB 78 */ mr r3, r31
|
|
/* 802AA5E4 002A7524 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
|
|
/* 802AA5E8 002A7528 CB E1 00 C0 */ lfd f31, 0xc0(r1)
|
|
/* 802AA5EC 002A752C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
|
|
/* 802AA5F0 002A7530 CB C1 00 B0 */ lfd f30, 0xb0(r1)
|
|
/* 802AA5F4 002A7534 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0
|
|
/* 802AA5F8 002A7538 CB A1 00 A0 */ lfd f29, 0xa0(r1)
|
|
/* 802AA5FC 002A753C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0
|
|
/* 802AA600 002A7540 CB 81 00 90 */ lfd f28, 0x90(r1)
|
|
/* 802AA604 002A7544 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0
|
|
/* 802AA608 002A7548 CB 61 00 80 */ lfd f27, 0x80(r1)
|
|
/* 802AA60C 002A754C E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0
|
|
/* 802AA610 002A7550 CB 41 00 70 */ lfd f26, 0x70(r1)
|
|
/* 802AA614 002A7554 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0
|
|
/* 802AA618 002A7558 CB 21 00 60 */ lfd f25, 0x60(r1)
|
|
/* 802AA61C 002A755C E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0
|
|
/* 802AA620 002A7560 CB 01 00 50 */ lfd f24, 0x50(r1)
|
|
/* 802AA624 002A7564 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0
|
|
/* 802AA628 002A7568 CA E1 00 40 */ lfd f23, 0x40(r1)
|
|
/* 802AA62C 002A756C 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
|
/* 802AA630 002A7570 83 C1 00 38 */ lwz r30, 0x38(r1)
|
|
/* 802AA634 002A7574 83 A1 00 34 */ lwz r29, 0x34(r1)
|
|
/* 802AA638 002A7578 80 01 00 D4 */ lwz r0, 0xd4(r1)
|
|
/* 802AA63C 002A757C 83 81 00 30 */ lwz r28, 0x30(r1)
|
|
/* 802AA640 002A7580 7C 08 03 A6 */ mtlr r0
|
|
/* 802AA644 002A7584 38 21 00 D0 */ addi r1, r1, 0xd0
|
|
/* 802AA648 002A7588 4E 80 00 20 */ blr
|
|
|
|
.global makeBendRatio__Q24Game12IKSystemBaseFv
|
|
makeBendRatio__Q24Game12IKSystemBaseFv:
|
|
/* 802AA64C 002A758C 88 03 00 02 */ lbz r0, 2(r3)
|
|
/* 802AA650 002A7590 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA654 002A7594 41 82 00 10 */ beq .L_802AA664
|
|
/* 802AA658 002A7598 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA65C 002A759C D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802AA660 002A75A0 4E 80 00 20 */ blr
|
|
.L_802AA664:
|
|
/* 802AA664 002A75A4 C0 42 DC 48 */ lfs f2, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA668 002A75A8 C0 23 00 0C */ lfs f1, 0xc(r3)
|
|
/* 802AA66C 002A75AC C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA670 002A75B0 EC 22 08 28 */ fsubs f1, f2, f1
|
|
/* 802AA674 002A75B4 C0 62 DC 68 */ lfs f3, lbl_8051BFC8@sda21(r2)
|
|
/* 802AA678 002A75B8 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AA67C 002A75BC 40 81 00 08 */ ble .L_802AA684
|
|
/* 802AA680 002A75C0 48 00 00 08 */ b .L_802AA688
|
|
.L_802AA684:
|
|
/* 802AA684 002A75C4 FC 20 08 50 */ fneg f1, f1
|
|
.L_802AA688:
|
|
/* 802AA688 002A75C8 EC 42 08 28 */ fsubs f2, f2, f1
|
|
/* 802AA68C 002A75CC C0 22 DC 6C */ lfs f1, lbl_8051BFCC@sda21(r2)
|
|
/* 802AA690 002A75D0 80 83 00 58 */ lwz r4, 0x58(r3)
|
|
/* 802AA694 002A75D4 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA698 002A75D8 EC 42 08 28 */ fsubs f2, f2, f1
|
|
/* 802AA69C 002A75DC C0 24 00 28 */ lfs f1, 0x28(r4)
|
|
/* 802AA6A0 002A75E0 EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 802AA6A4 002A75E4 FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 802AA6A8 002A75E8 40 80 00 08 */ bge .L_802AA6B0
|
|
/* 802AA6AC 002A75EC 48 00 00 18 */ b .L_802AA6C4
|
|
.L_802AA6B0:
|
|
/* 802AA6B0 002A75F0 C0 02 DC 48 */ lfs f0, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA6B4 002A75F4 FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 802AA6B8 002A75F8 40 81 00 08 */ ble .L_802AA6C0
|
|
/* 802AA6BC 002A75FC 48 00 00 08 */ b .L_802AA6C4
|
|
.L_802AA6C0:
|
|
/* 802AA6C0 002A7600 FC 00 10 90 */ fmr f0, f2
|
|
.L_802AA6C4:
|
|
/* 802AA6C4 002A7604 EC 01 00 32 */ fmuls f0, f1, f0
|
|
/* 802AA6C8 002A7608 D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802AA6CC 002A760C 4E 80 00 20 */ blr
|
|
|
|
.global "getMiddleDirection__Q24Game12IKSystemBaseFR10Vector3<f>"
|
|
"getMiddleDirection__Q24Game12IKSystemBaseFR10Vector3<f>":
|
|
/* 802AA6D0 002A7610 88 04 00 01 */ lbz r0, 1(r4)
|
|
/* 802AA6D4 002A7614 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA6D8 002A7618 41 82 00 18 */ beq .L_802AA6F0
|
|
/* 802AA6DC 002A761C 80 84 00 4C */ lwz r4, 0x4c(r4)
|
|
/* 802AA6E0 002A7620 C0 44 00 00 */ lfs f2, 0(r4)
|
|
/* 802AA6E4 002A7624 C0 64 00 10 */ lfs f3, 0x10(r4)
|
|
/* 802AA6E8 002A7628 C0 84 00 20 */ lfs f4, 0x20(r4)
|
|
/* 802AA6EC 002A762C 48 00 00 70 */ b .L_802AA75C
|
|
.L_802AA6F0:
|
|
/* 802AA6F0 002A7630 C0 64 00 1C */ lfs f3, 0x1c(r4)
|
|
/* 802AA6F4 002A7634 C0 45 00 00 */ lfs f2, 0(r5)
|
|
/* 802AA6F8 002A7638 C0 24 00 24 */ lfs f1, 0x24(r4)
|
|
/* 802AA6FC 002A763C C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 802AA700 002A7640 EC 43 10 28 */ fsubs f2, f3, f2
|
|
/* 802AA704 002A7644 C0 62 DC 40 */ lfs f3, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA708 002A7648 EC 81 00 28 */ fsubs f4, f1, f0
|
|
/* 802AA70C 002A764C EC 02 18 BA */ fmadds f0, f2, f2, f3
|
|
/* 802AA710 002A7650 EC 24 01 32 */ fmuls f1, f4, f4
|
|
/* 802AA714 002A7654 EC 21 00 2A */ fadds f1, f1, f0
|
|
/* 802AA718 002A7658 FC 01 18 40 */ fcmpo cr0, f1, f3
|
|
/* 802AA71C 002A765C 40 81 00 14 */ ble .L_802AA730
|
|
/* 802AA720 002A7660 40 81 00 14 */ ble .L_802AA734
|
|
/* 802AA724 002A7664 FC 00 08 34 */ frsqrte f0, f1
|
|
/* 802AA728 002A7668 EC 20 00 72 */ fmuls f1, f0, f1
|
|
/* 802AA72C 002A766C 48 00 00 08 */ b .L_802AA734
|
|
.L_802AA730:
|
|
/* 802AA730 002A7670 FC 20 18 90 */ fmr f1, f3
|
|
.L_802AA734:
|
|
/* 802AA734 002A7674 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA738 002A7678 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AA73C 002A767C 40 81 00 18 */ ble .L_802AA754
|
|
/* 802AA740 002A7680 C0 02 DC 48 */ lfs f0, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA744 002A7684 EC 00 08 24 */ fdivs f0, f0, f1
|
|
/* 802AA748 002A7688 EC 42 00 32 */ fmuls f2, f2, f0
|
|
/* 802AA74C 002A768C EC 63 00 32 */ fmuls f3, f3, f0
|
|
/* 802AA750 002A7690 EC 84 00 32 */ fmuls f4, f4, f0
|
|
.L_802AA754:
|
|
/* 802AA754 002A7694 C0 02 DC 70 */ lfs f0, lbl_8051BFD0@sda21(r2)
|
|
/* 802AA758 002A7698 EC 63 00 2A */ fadds f3, f3, f0
|
|
.L_802AA75C:
|
|
/* 802AA75C 002A769C D0 43 00 00 */ stfs f2, 0(r3)
|
|
/* 802AA760 002A76A0 D0 63 00 04 */ stfs f3, 4(r3)
|
|
/* 802AA764 002A76A4 D0 83 00 08 */ stfs f4, 8(r3)
|
|
/* 802AA768 002A76A8 4E 80 00 20 */ blr
|
|
|
|
.global "setTopJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>"
|
|
"setTopJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>":
|
|
/* 802AA76C 002A76AC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802AA770 002A76B0 DB E1 00 10 */ stfd f31, 0x10(r1)
|
|
/* 802AA774 002A76B4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
|
|
/* 802AA778 002A76B8 C0 25 00 04 */ lfs f1, 4(r5)
|
|
/* 802AA77C 002A76BC C0 04 00 04 */ lfs f0, 4(r4)
|
|
/* 802AA780 002A76C0 88 03 00 01 */ lbz r0, 1(r3)
|
|
/* 802AA784 002A76C4 EC 21 00 28 */ fsubs f1, f1, f0
|
|
/* 802AA788 002A76C8 C0 45 00 08 */ lfs f2, 8(r5)
|
|
/* 802AA78C 002A76CC C0 E4 00 08 */ lfs f7, 8(r4)
|
|
/* 802AA790 002A76D0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA794 002A76D4 C0 05 00 00 */ lfs f0, 0(r5)
|
|
/* 802AA798 002A76D8 C0 A4 00 00 */ lfs f5, 0(r4)
|
|
/* 802AA79C 002A76DC EC 42 38 28 */ fsubs f2, f2, f7
|
|
/* 802AA7A0 002A76E0 EC 00 28 28 */ fsubs f0, f0, f5
|
|
/* 802AA7A4 002A76E4 41 82 00 48 */ beq .L_802AA7EC
|
|
/* 802AA7A8 002A76E8 80 83 00 4C */ lwz r4, 0x4c(r3)
|
|
/* 802AA7AC 002A76EC C0 E4 00 04 */ lfs f7, 4(r4)
|
|
/* 802AA7B0 002A76F0 C0 A4 00 14 */ lfs f5, 0x14(r4)
|
|
/* 802AA7B4 002A76F4 C1 04 00 24 */ lfs f8, 0x24(r4)
|
|
/* 802AA7B8 002A76F8 EC 61 01 F2 */ fmuls f3, f1, f7
|
|
/* 802AA7BC 002A76FC EC C2 01 72 */ fmuls f6, f2, f5
|
|
/* 802AA7C0 002A7700 EC 80 02 32 */ fmuls f4, f0, f8
|
|
/* 802AA7C4 002A7704 EC A0 19 78 */ fmsubs f5, f0, f5, f3
|
|
/* 802AA7C8 002A7708 EC 61 32 38 */ fmsubs f3, f1, f8, f6
|
|
/* 802AA7CC 002A770C EC 82 21 F8 */ fmsubs f4, f2, f7, f4
|
|
/* 802AA7D0 002A7710 EC C5 00 72 */ fmuls f6, f5, f1
|
|
/* 802AA7D4 002A7714 EC E3 00 B2 */ fmuls f7, f3, f2
|
|
/* 802AA7D8 002A7718 ED 04 00 32 */ fmuls f8, f4, f0
|
|
/* 802AA7DC 002A771C EC C4 30 B8 */ fmsubs f6, f4, f2, f6
|
|
/* 802AA7E0 002A7720 EC E5 38 38 */ fmsubs f7, f5, f0, f7
|
|
/* 802AA7E4 002A7724 ED 03 40 78 */ fmsubs f8, f3, f1, f8
|
|
/* 802AA7E8 002A7728 48 00 00 48 */ b .L_802AA830
|
|
.L_802AA7EC:
|
|
/* 802AA7EC 002A772C C0 83 00 1C */ lfs f4, 0x1c(r3)
|
|
/* 802AA7F0 002A7730 C0 63 00 24 */ lfs f3, 0x24(r3)
|
|
/* 802AA7F4 002A7734 ED 25 20 28 */ fsubs f9, f5, f4
|
|
/* 802AA7F8 002A7738 C0 C2 DC 40 */ lfs f6, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA7FC 002A773C EC E3 38 28 */ fsubs f7, f3, f7
|
|
/* 802AA800 002A7740 EC 66 00 32 */ fmuls f3, f6, f0
|
|
/* 802AA804 002A7744 EC A9 00 72 */ fmuls f5, f9, f1
|
|
/* 802AA808 002A7748 EC 87 00 B2 */ fmuls f4, f7, f2
|
|
/* 802AA80C 002A774C ED 07 18 78 */ fmsubs f8, f7, f1, f3
|
|
/* 802AA810 002A7750 EC C6 28 B8 */ fmsubs f6, f6, f2, f5
|
|
/* 802AA814 002A7754 EC E9 20 38 */ fmsubs f7, f9, f0, f4
|
|
/* 802AA818 002A7758 EC 80 02 32 */ fmuls f4, f0, f8
|
|
/* 802AA81C 002A775C EC 61 01 B2 */ fmuls f3, f1, f6
|
|
/* 802AA820 002A7760 ED 22 01 F2 */ fmuls f9, f2, f7
|
|
/* 802AA824 002A7764 EC 82 21 B8 */ fmsubs f4, f2, f6, f4
|
|
/* 802AA828 002A7768 EC A0 19 F8 */ fmsubs f5, f0, f7, f3
|
|
/* 802AA82C 002A776C EC 61 4A 38 */ fmsubs f3, f1, f8, f9
|
|
.L_802AA830:
|
|
/* 802AA830 002A7770 ED 41 00 72 */ fmuls f10, f1, f1
|
|
/* 802AA834 002A7774 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA838 002A7778 ED 62 00 B2 */ fmuls f11, f2, f2
|
|
/* 802AA83C 002A777C ED 40 50 3A */ fmadds f10, f0, f0, f10
|
|
/* 802AA840 002A7780 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AA844 002A7784 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA848 002A7788 40 81 00 14 */ ble .L_802AA85C
|
|
/* 802AA84C 002A778C 40 81 00 14 */ ble .L_802AA860
|
|
/* 802AA850 002A7790 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AA854 002A7794 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AA858 002A7798 48 00 00 08 */ b .L_802AA860
|
|
.L_802AA85C:
|
|
/* 802AA85C 002A779C FD 40 48 90 */ fmr f10, f9
|
|
.L_802AA860:
|
|
/* 802AA860 002A77A0 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA864 002A77A4 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA868 002A77A8 40 81 00 18 */ ble .L_802AA880
|
|
/* 802AA86C 002A77AC C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA870 002A77B0 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AA874 002A77B4 EC 00 02 72 */ fmuls f0, f0, f9
|
|
/* 802AA878 002A77B8 EC 21 02 72 */ fmuls f1, f1, f9
|
|
/* 802AA87C 002A77BC EC 42 02 72 */ fmuls f2, f2, f9
|
|
.L_802AA880:
|
|
/* 802AA880 002A77C0 ED 47 01 F2 */ fmuls f10, f7, f7
|
|
/* 802AA884 002A77C4 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA888 002A77C8 ED 68 02 32 */ fmuls f11, f8, f8
|
|
/* 802AA88C 002A77CC ED 46 51 BA */ fmadds f10, f6, f6, f10
|
|
/* 802AA890 002A77D0 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AA894 002A77D4 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA898 002A77D8 40 81 00 14 */ ble .L_802AA8AC
|
|
/* 802AA89C 002A77DC 40 81 00 14 */ ble .L_802AA8B0
|
|
/* 802AA8A0 002A77E0 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AA8A4 002A77E4 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AA8A8 002A77E8 48 00 00 08 */ b .L_802AA8B0
|
|
.L_802AA8AC:
|
|
/* 802AA8AC 002A77EC FD 40 48 90 */ fmr f10, f9
|
|
.L_802AA8B0:
|
|
/* 802AA8B0 002A77F0 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA8B4 002A77F4 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA8B8 002A77F8 40 81 00 18 */ ble .L_802AA8D0
|
|
/* 802AA8BC 002A77FC C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA8C0 002A7800 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AA8C4 002A7804 EC C6 02 72 */ fmuls f6, f6, f9
|
|
/* 802AA8C8 002A7808 EC E7 02 72 */ fmuls f7, f7, f9
|
|
/* 802AA8CC 002A780C ED 08 02 72 */ fmuls f8, f8, f9
|
|
.L_802AA8D0:
|
|
/* 802AA8D0 002A7810 ED 44 01 32 */ fmuls f10, f4, f4
|
|
/* 802AA8D4 002A7814 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA8D8 002A7818 ED 65 01 72 */ fmuls f11, f5, f5
|
|
/* 802AA8DC 002A781C ED 43 50 FA */ fmadds f10, f3, f3, f10
|
|
/* 802AA8E0 002A7820 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AA8E4 002A7824 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA8E8 002A7828 40 81 00 14 */ ble .L_802AA8FC
|
|
/* 802AA8EC 002A782C 40 81 00 14 */ ble .L_802AA900
|
|
/* 802AA8F0 002A7830 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AA8F4 002A7834 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AA8F8 002A7838 48 00 00 08 */ b .L_802AA900
|
|
.L_802AA8FC:
|
|
/* 802AA8FC 002A783C FD 40 48 90 */ fmr f10, f9
|
|
.L_802AA900:
|
|
/* 802AA900 002A7840 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA904 002A7844 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA908 002A7848 40 81 00 18 */ ble .L_802AA920
|
|
/* 802AA90C 002A784C C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AA910 002A7850 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AA914 002A7854 EC 63 02 72 */ fmuls f3, f3, f9
|
|
/* 802AA918 002A7858 EC 84 02 72 */ fmuls f4, f4, f9
|
|
/* 802AA91C 002A785C EC A5 02 72 */ fmuls f5, f5, f9
|
|
.L_802AA920:
|
|
/* 802AA920 002A7860 88 03 00 04 */ lbz r0, 4(r3)
|
|
/* 802AA924 002A7864 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AA928 002A7868 41 82 00 98 */ beq .L_802AA9C0
|
|
/* 802AA92C 002A786C 80 83 00 4C */ lwz r4, 0x4c(r3)
|
|
/* 802AA930 002A7870 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA934 002A7874 C1 44 00 14 */ lfs f10, 0x14(r4)
|
|
/* 802AA938 002A7878 C1 64 00 24 */ lfs f11, 0x24(r4)
|
|
/* 802AA93C 002A787C EF EA 02 B2 */ fmuls f31, f10, f10
|
|
/* 802AA940 002A7880 C1 44 00 04 */ lfs f10, 4(r4)
|
|
/* 802AA944 002A7884 ED 6B 02 F2 */ fmuls f11, f11, f11
|
|
/* 802AA948 002A7888 C1 84 00 08 */ lfs f12, 8(r4)
|
|
/* 802AA94C 002A788C C1 A4 00 18 */ lfs f13, 0x18(r4)
|
|
/* 802AA950 002A7890 ED 4A FA BA */ fmadds f10, f10, f10, f31
|
|
/* 802AA954 002A7894 C3 E4 00 28 */ lfs f31, 0x28(r4)
|
|
/* 802AA958 002A7898 ED 6B 50 2A */ fadds f11, f11, f10
|
|
/* 802AA95C 002A789C FC 0B 48 40 */ fcmpo cr0, f11, f9
|
|
/* 802AA960 002A78A0 40 81 00 14 */ ble .L_802AA974
|
|
/* 802AA964 002A78A4 40 81 00 14 */ ble .L_802AA978
|
|
/* 802AA968 002A78A8 FD 20 58 34 */ frsqrte f9, f11
|
|
/* 802AA96C 002A78AC ED 69 02 F2 */ fmuls f11, f9, f11
|
|
/* 802AA970 002A78B0 48 00 00 08 */ b .L_802AA978
|
|
.L_802AA974:
|
|
/* 802AA974 002A78B4 FD 60 48 90 */ fmr f11, f9
|
|
.L_802AA978:
|
|
/* 802AA978 002A78B8 ED 4D 03 72 */ fmuls f10, f13, f13
|
|
/* 802AA97C 002A78BC C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AA980 002A78C0 ED BF 07 F2 */ fmuls f13, f31, f31
|
|
/* 802AA984 002A78C4 ED 4C 53 3A */ fmadds f10, f12, f12, f10
|
|
/* 802AA988 002A78C8 ED 4D 50 2A */ fadds f10, f13, f10
|
|
/* 802AA98C 002A78CC FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AA990 002A78D0 40 81 00 14 */ ble .L_802AA9A4
|
|
/* 802AA994 002A78D4 40 81 00 14 */ ble .L_802AA9A8
|
|
/* 802AA998 002A78D8 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AA99C 002A78DC ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AA9A0 002A78E0 48 00 00 08 */ b .L_802AA9A8
|
|
.L_802AA9A4:
|
|
/* 802AA9A4 002A78E4 FD 40 48 90 */ fmr f10, f9
|
|
.L_802AA9A8:
|
|
/* 802AA9A8 002A78E8 EC C6 02 F2 */ fmuls f6, f6, f11
|
|
/* 802AA9AC 002A78EC EC E7 02 F2 */ fmuls f7, f7, f11
|
|
/* 802AA9B0 002A78F0 ED 08 02 F2 */ fmuls f8, f8, f11
|
|
/* 802AA9B4 002A78F4 EC 63 02 B2 */ fmuls f3, f3, f10
|
|
/* 802AA9B8 002A78F8 EC 84 02 B2 */ fmuls f4, f4, f10
|
|
/* 802AA9BC 002A78FC EC A5 02 B2 */ fmuls f5, f5, f10
|
|
.L_802AA9C0:
|
|
/* 802AA9C0 002A7900 80 83 00 4C */ lwz r4, 0x4c(r3)
|
|
/* 802AA9C4 002A7904 D0 04 00 00 */ stfs f0, 0(r4)
|
|
/* 802AA9C8 002A7908 D0 24 00 10 */ stfs f1, 0x10(r4)
|
|
/* 802AA9CC 002A790C D0 44 00 20 */ stfs f2, 0x20(r4)
|
|
/* 802AA9D0 002A7910 80 83 00 4C */ lwz r4, 0x4c(r3)
|
|
/* 802AA9D4 002A7914 D0 C4 00 04 */ stfs f6, 4(r4)
|
|
/* 802AA9D8 002A7918 D0 E4 00 14 */ stfs f7, 0x14(r4)
|
|
/* 802AA9DC 002A791C D1 04 00 24 */ stfs f8, 0x24(r4)
|
|
/* 802AA9E0 002A7920 80 63 00 4C */ lwz r3, 0x4c(r3)
|
|
/* 802AA9E4 002A7924 D0 63 00 08 */ stfs f3, 8(r3)
|
|
/* 802AA9E8 002A7928 D0 83 00 18 */ stfs f4, 0x18(r3)
|
|
/* 802AA9EC 002A792C D0 A3 00 28 */ stfs f5, 0x28(r3)
|
|
/* 802AA9F0 002A7930 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
|
|
/* 802AA9F4 002A7934 CB E1 00 10 */ lfd f31, 0x10(r1)
|
|
/* 802AA9F8 002A7938 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 802AA9FC 002A793C 4E 80 00 20 */ blr
|
|
|
|
.global "setMiddleJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>"
|
|
"setMiddleJointRotation__Q24Game12IKSystemBaseFR10Vector3<f>R10Vector3<f>":
|
|
/* 802AAA00 002A7940 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802AAA04 002A7944 DB E1 00 10 */ stfd f31, 0x10(r1)
|
|
/* 802AAA08 002A7948 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
|
|
/* 802AAA0C 002A794C C0 23 00 20 */ lfs f1, 0x20(r3)
|
|
/* 802AAA10 002A7950 C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 802AAA14 002A7954 88 03 00 01 */ lbz r0, 1(r3)
|
|
/* 802AAA18 002A7958 EC 21 00 28 */ fsubs f1, f1, f0
|
|
/* 802AAA1C 002A795C C0 E3 00 24 */ lfs f7, 0x24(r3)
|
|
/* 802AAA20 002A7960 C0 45 00 08 */ lfs f2, 8(r5)
|
|
/* 802AAA24 002A7964 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AAA28 002A7968 C0 A3 00 1C */ lfs f5, 0x1c(r3)
|
|
/* 802AAA2C 002A796C C0 05 00 00 */ lfs f0, 0(r5)
|
|
/* 802AAA30 002A7970 EC 47 10 28 */ fsubs f2, f7, f2
|
|
/* 802AAA34 002A7974 EC 05 00 28 */ fsubs f0, f5, f0
|
|
/* 802AAA38 002A7978 41 82 00 48 */ beq .L_802AAA80
|
|
/* 802AAA3C 002A797C 80 83 00 50 */ lwz r4, 0x50(r3)
|
|
/* 802AAA40 002A7980 C0 E4 00 04 */ lfs f7, 4(r4)
|
|
/* 802AAA44 002A7984 C0 A4 00 14 */ lfs f5, 0x14(r4)
|
|
/* 802AAA48 002A7988 C1 04 00 24 */ lfs f8, 0x24(r4)
|
|
/* 802AAA4C 002A798C EC 61 01 F2 */ fmuls f3, f1, f7
|
|
/* 802AAA50 002A7990 EC C2 01 72 */ fmuls f6, f2, f5
|
|
/* 802AAA54 002A7994 EC 80 02 32 */ fmuls f4, f0, f8
|
|
/* 802AAA58 002A7998 EC A0 19 78 */ fmsubs f5, f0, f5, f3
|
|
/* 802AAA5C 002A799C EC 61 32 38 */ fmsubs f3, f1, f8, f6
|
|
/* 802AAA60 002A79A0 EC 82 21 F8 */ fmsubs f4, f2, f7, f4
|
|
/* 802AAA64 002A79A4 EC C5 00 72 */ fmuls f6, f5, f1
|
|
/* 802AAA68 002A79A8 EC E3 00 B2 */ fmuls f7, f3, f2
|
|
/* 802AAA6C 002A79AC ED 04 00 32 */ fmuls f8, f4, f0
|
|
/* 802AAA70 002A79B0 EC C4 30 B8 */ fmsubs f6, f4, f2, f6
|
|
/* 802AAA74 002A79B4 EC E5 38 38 */ fmsubs f7, f5, f0, f7
|
|
/* 802AAA78 002A79B8 ED 03 40 78 */ fmsubs f8, f3, f1, f8
|
|
/* 802AAA7C 002A79BC 48 00 00 48 */ b .L_802AAAC4
|
|
.L_802AAA80:
|
|
/* 802AAA80 002A79C0 C0 84 00 00 */ lfs f4, 0(r4)
|
|
/* 802AAA84 002A79C4 C0 64 00 08 */ lfs f3, 8(r4)
|
|
/* 802AAA88 002A79C8 ED 24 28 28 */ fsubs f9, f4, f5
|
|
/* 802AAA8C 002A79CC C0 C2 DC 40 */ lfs f6, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAA90 002A79D0 EC E7 18 28 */ fsubs f7, f7, f3
|
|
/* 802AAA94 002A79D4 EC 66 00 32 */ fmuls f3, f6, f0
|
|
/* 802AAA98 002A79D8 EC A9 00 72 */ fmuls f5, f9, f1
|
|
/* 802AAA9C 002A79DC EC 87 00 B2 */ fmuls f4, f7, f2
|
|
/* 802AAAA0 002A79E0 ED 07 18 78 */ fmsubs f8, f7, f1, f3
|
|
/* 802AAAA4 002A79E4 EC C6 28 B8 */ fmsubs f6, f6, f2, f5
|
|
/* 802AAAA8 002A79E8 EC E9 20 38 */ fmsubs f7, f9, f0, f4
|
|
/* 802AAAAC 002A79EC EC 80 02 32 */ fmuls f4, f0, f8
|
|
/* 802AAAB0 002A79F0 EC 61 01 B2 */ fmuls f3, f1, f6
|
|
/* 802AAAB4 002A79F4 ED 22 01 F2 */ fmuls f9, f2, f7
|
|
/* 802AAAB8 002A79F8 EC 82 21 B8 */ fmsubs f4, f2, f6, f4
|
|
/* 802AAABC 002A79FC EC A0 19 F8 */ fmsubs f5, f0, f7, f3
|
|
/* 802AAAC0 002A7A00 EC 61 4A 38 */ fmsubs f3, f1, f8, f9
|
|
.L_802AAAC4:
|
|
/* 802AAAC4 002A7A04 ED 41 00 72 */ fmuls f10, f1, f1
|
|
/* 802AAAC8 002A7A08 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAACC 002A7A0C ED 62 00 B2 */ fmuls f11, f2, f2
|
|
/* 802AAAD0 002A7A10 ED 40 50 3A */ fmadds f10, f0, f0, f10
|
|
/* 802AAAD4 002A7A14 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AAAD8 002A7A18 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAADC 002A7A1C 40 81 00 14 */ ble .L_802AAAF0
|
|
/* 802AAAE0 002A7A20 40 81 00 14 */ ble .L_802AAAF4
|
|
/* 802AAAE4 002A7A24 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AAAE8 002A7A28 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AAAEC 002A7A2C 48 00 00 08 */ b .L_802AAAF4
|
|
.L_802AAAF0:
|
|
/* 802AAAF0 002A7A30 FD 40 48 90 */ fmr f10, f9
|
|
.L_802AAAF4:
|
|
/* 802AAAF4 002A7A34 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAAF8 002A7A38 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAAFC 002A7A3C 40 81 00 18 */ ble .L_802AAB14
|
|
/* 802AAB00 002A7A40 C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AAB04 002A7A44 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AAB08 002A7A48 EC 00 02 72 */ fmuls f0, f0, f9
|
|
/* 802AAB0C 002A7A4C EC 21 02 72 */ fmuls f1, f1, f9
|
|
/* 802AAB10 002A7A50 EC 42 02 72 */ fmuls f2, f2, f9
|
|
.L_802AAB14:
|
|
/* 802AAB14 002A7A54 ED 47 01 F2 */ fmuls f10, f7, f7
|
|
/* 802AAB18 002A7A58 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAB1C 002A7A5C ED 68 02 32 */ fmuls f11, f8, f8
|
|
/* 802AAB20 002A7A60 ED 46 51 BA */ fmadds f10, f6, f6, f10
|
|
/* 802AAB24 002A7A64 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AAB28 002A7A68 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAB2C 002A7A6C 40 81 00 14 */ ble .L_802AAB40
|
|
/* 802AAB30 002A7A70 40 81 00 14 */ ble .L_802AAB44
|
|
/* 802AAB34 002A7A74 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AAB38 002A7A78 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AAB3C 002A7A7C 48 00 00 08 */ b .L_802AAB44
|
|
.L_802AAB40:
|
|
/* 802AAB40 002A7A80 FD 40 48 90 */ fmr f10, f9
|
|
.L_802AAB44:
|
|
/* 802AAB44 002A7A84 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAB48 002A7A88 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAB4C 002A7A8C 40 81 00 18 */ ble .L_802AAB64
|
|
/* 802AAB50 002A7A90 C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AAB54 002A7A94 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AAB58 002A7A98 EC C6 02 72 */ fmuls f6, f6, f9
|
|
/* 802AAB5C 002A7A9C EC E7 02 72 */ fmuls f7, f7, f9
|
|
/* 802AAB60 002A7AA0 ED 08 02 72 */ fmuls f8, f8, f9
|
|
.L_802AAB64:
|
|
/* 802AAB64 002A7AA4 ED 44 01 32 */ fmuls f10, f4, f4
|
|
/* 802AAB68 002A7AA8 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAB6C 002A7AAC ED 65 01 72 */ fmuls f11, f5, f5
|
|
/* 802AAB70 002A7AB0 ED 43 50 FA */ fmadds f10, f3, f3, f10
|
|
/* 802AAB74 002A7AB4 ED 4B 50 2A */ fadds f10, f11, f10
|
|
/* 802AAB78 002A7AB8 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAB7C 002A7ABC 40 81 00 14 */ ble .L_802AAB90
|
|
/* 802AAB80 002A7AC0 40 81 00 14 */ ble .L_802AAB94
|
|
/* 802AAB84 002A7AC4 FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AAB88 002A7AC8 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AAB8C 002A7ACC 48 00 00 08 */ b .L_802AAB94
|
|
.L_802AAB90:
|
|
/* 802AAB90 002A7AD0 FD 40 48 90 */ fmr f10, f9
|
|
.L_802AAB94:
|
|
/* 802AAB94 002A7AD4 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAB98 002A7AD8 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAB9C 002A7ADC 40 81 00 18 */ ble .L_802AABB4
|
|
/* 802AABA0 002A7AE0 C1 22 DC 48 */ lfs f9, lbl_8051BFA8@sda21(r2)
|
|
/* 802AABA4 002A7AE4 ED 29 50 24 */ fdivs f9, f9, f10
|
|
/* 802AABA8 002A7AE8 EC 63 02 72 */ fmuls f3, f3, f9
|
|
/* 802AABAC 002A7AEC EC 84 02 72 */ fmuls f4, f4, f9
|
|
/* 802AABB0 002A7AF0 EC A5 02 72 */ fmuls f5, f5, f9
|
|
.L_802AABB4:
|
|
/* 802AABB4 002A7AF4 88 03 00 04 */ lbz r0, 4(r3)
|
|
/* 802AABB8 002A7AF8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AABBC 002A7AFC 41 82 00 98 */ beq .L_802AAC54
|
|
/* 802AABC0 002A7B00 80 83 00 50 */ lwz r4, 0x50(r3)
|
|
/* 802AABC4 002A7B04 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AABC8 002A7B08 C1 44 00 14 */ lfs f10, 0x14(r4)
|
|
/* 802AABCC 002A7B0C C1 64 00 24 */ lfs f11, 0x24(r4)
|
|
/* 802AABD0 002A7B10 EF EA 02 B2 */ fmuls f31, f10, f10
|
|
/* 802AABD4 002A7B14 C1 44 00 04 */ lfs f10, 4(r4)
|
|
/* 802AABD8 002A7B18 ED 6B 02 F2 */ fmuls f11, f11, f11
|
|
/* 802AABDC 002A7B1C C1 84 00 08 */ lfs f12, 8(r4)
|
|
/* 802AABE0 002A7B20 C1 A4 00 18 */ lfs f13, 0x18(r4)
|
|
/* 802AABE4 002A7B24 ED 4A FA BA */ fmadds f10, f10, f10, f31
|
|
/* 802AABE8 002A7B28 C3 E4 00 28 */ lfs f31, 0x28(r4)
|
|
/* 802AABEC 002A7B2C ED 6B 50 2A */ fadds f11, f11, f10
|
|
/* 802AABF0 002A7B30 FC 0B 48 40 */ fcmpo cr0, f11, f9
|
|
/* 802AABF4 002A7B34 40 81 00 14 */ ble .L_802AAC08
|
|
/* 802AABF8 002A7B38 40 81 00 14 */ ble .L_802AAC0C
|
|
/* 802AABFC 002A7B3C FD 20 58 34 */ frsqrte f9, f11
|
|
/* 802AAC00 002A7B40 ED 69 02 F2 */ fmuls f11, f9, f11
|
|
/* 802AAC04 002A7B44 48 00 00 08 */ b .L_802AAC0C
|
|
.L_802AAC08:
|
|
/* 802AAC08 002A7B48 FD 60 48 90 */ fmr f11, f9
|
|
.L_802AAC0C:
|
|
/* 802AAC0C 002A7B4C ED 4D 03 72 */ fmuls f10, f13, f13
|
|
/* 802AAC10 002A7B50 C1 22 DC 40 */ lfs f9, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAC14 002A7B54 ED BF 07 F2 */ fmuls f13, f31, f31
|
|
/* 802AAC18 002A7B58 ED 4C 53 3A */ fmadds f10, f12, f12, f10
|
|
/* 802AAC1C 002A7B5C ED 4D 50 2A */ fadds f10, f13, f10
|
|
/* 802AAC20 002A7B60 FC 0A 48 40 */ fcmpo cr0, f10, f9
|
|
/* 802AAC24 002A7B64 40 81 00 14 */ ble .L_802AAC38
|
|
/* 802AAC28 002A7B68 40 81 00 14 */ ble .L_802AAC3C
|
|
/* 802AAC2C 002A7B6C FD 20 50 34 */ frsqrte f9, f10
|
|
/* 802AAC30 002A7B70 ED 49 02 B2 */ fmuls f10, f9, f10
|
|
/* 802AAC34 002A7B74 48 00 00 08 */ b .L_802AAC3C
|
|
.L_802AAC38:
|
|
/* 802AAC38 002A7B78 FD 40 48 90 */ fmr f10, f9
|
|
.L_802AAC3C:
|
|
/* 802AAC3C 002A7B7C EC C6 02 F2 */ fmuls f6, f6, f11
|
|
/* 802AAC40 002A7B80 EC E7 02 F2 */ fmuls f7, f7, f11
|
|
/* 802AAC44 002A7B84 ED 08 02 F2 */ fmuls f8, f8, f11
|
|
/* 802AAC48 002A7B88 EC 63 02 B2 */ fmuls f3, f3, f10
|
|
/* 802AAC4C 002A7B8C EC 84 02 B2 */ fmuls f4, f4, f10
|
|
/* 802AAC50 002A7B90 EC A5 02 B2 */ fmuls f5, f5, f10
|
|
.L_802AAC54:
|
|
/* 802AAC54 002A7B94 80 83 00 50 */ lwz r4, 0x50(r3)
|
|
/* 802AAC58 002A7B98 D0 04 00 00 */ stfs f0, 0(r4)
|
|
/* 802AAC5C 002A7B9C D0 24 00 10 */ stfs f1, 0x10(r4)
|
|
/* 802AAC60 002A7BA0 D0 44 00 20 */ stfs f2, 0x20(r4)
|
|
/* 802AAC64 002A7BA4 80 83 00 50 */ lwz r4, 0x50(r3)
|
|
/* 802AAC68 002A7BA8 D0 C4 00 04 */ stfs f6, 4(r4)
|
|
/* 802AAC6C 002A7BAC D0 E4 00 14 */ stfs f7, 0x14(r4)
|
|
/* 802AAC70 002A7BB0 D1 04 00 24 */ stfs f8, 0x24(r4)
|
|
/* 802AAC74 002A7BB4 80 63 00 50 */ lwz r3, 0x50(r3)
|
|
/* 802AAC78 002A7BB8 D0 63 00 08 */ stfs f3, 8(r3)
|
|
/* 802AAC7C 002A7BBC D0 83 00 18 */ stfs f4, 0x18(r3)
|
|
/* 802AAC80 002A7BC0 D0 A3 00 28 */ stfs f5, 0x28(r3)
|
|
/* 802AAC84 002A7BC4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
|
|
/* 802AAC88 002A7BC8 CB E1 00 10 */ lfd f31, 0x10(r1)
|
|
/* 802AAC8C 002A7BCC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 802AAC90 002A7BD0 4E 80 00 20 */ blr
|
|
|
|
.global "makeBottomMatrix__Q24Game12IKSystemBaseFR10Vector3<f>"
|
|
"makeBottomMatrix__Q24Game12IKSystemBaseFR10Vector3<f>":
|
|
/* 802AAC94 002A7BD4 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 802AAC98 002A7BD8 7C 08 02 A6 */ mflr r0
|
|
/* 802AAC9C 002A7BDC 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 802AACA0 002A7BE0 93 E1 00 3C */ stw r31, 0x3c(r1)
|
|
/* 802AACA4 002A7BE4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802AACA8 002A7BE8 88 03 00 01 */ lbz r0, 1(r3)
|
|
/* 802AACAC 002A7BEC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802AACB0 002A7BF0 40 82 00 D0 */ bne .L_802AAD80
|
|
/* 802AACB4 002A7BF4 C0 5F 00 24 */ lfs f2, 0x24(r31)
|
|
/* 802AACB8 002A7BF8 C0 04 00 08 */ lfs f0, 8(r4)
|
|
/* 802AACBC 002A7BFC C0 3F 00 1C */ lfs f1, 0x1c(r31)
|
|
/* 802AACC0 002A7C00 EC 82 00 28 */ fsubs f4, f2, f0
|
|
/* 802AACC4 002A7C04 C0 04 00 00 */ lfs f0, 0(r4)
|
|
/* 802AACC8 002A7C08 C0 62 DC 40 */ lfs f3, lbl_8051BFA0@sda21(r2)
|
|
/* 802AACCC 002A7C0C EC 41 00 28 */ fsubs f2, f1, f0
|
|
/* 802AACD0 002A7C10 EC 24 01 32 */ fmuls f1, f4, f4
|
|
/* 802AACD4 002A7C14 EC 02 18 BA */ fmadds f0, f2, f2, f3
|
|
/* 802AACD8 002A7C18 EC 21 00 2A */ fadds f1, f1, f0
|
|
/* 802AACDC 002A7C1C FC 01 18 40 */ fcmpo cr0, f1, f3
|
|
/* 802AACE0 002A7C20 40 81 00 14 */ ble .L_802AACF4
|
|
/* 802AACE4 002A7C24 40 81 00 14 */ ble .L_802AACF8
|
|
/* 802AACE8 002A7C28 FC 00 08 34 */ frsqrte f0, f1
|
|
/* 802AACEC 002A7C2C EC 20 00 72 */ fmuls f1, f0, f1
|
|
/* 802AACF0 002A7C30 48 00 00 08 */ b .L_802AACF8
|
|
.L_802AACF4:
|
|
/* 802AACF4 002A7C34 FC 20 18 90 */ fmr f1, f3
|
|
.L_802AACF8:
|
|
/* 802AACF8 002A7C38 C0 02 DC 40 */ lfs f0, lbl_8051BFA0@sda21(r2)
|
|
/* 802AACFC 002A7C3C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802AAD00 002A7C40 40 81 00 18 */ ble .L_802AAD18
|
|
/* 802AAD04 002A7C44 C0 02 DC 48 */ lfs f0, lbl_8051BFA8@sda21(r2)
|
|
/* 802AAD08 002A7C48 EC 00 08 24 */ fdivs f0, f0, f1
|
|
/* 802AAD0C 002A7C4C EC 42 00 32 */ fmuls f2, f2, f0
|
|
/* 802AAD10 002A7C50 EC 63 00 32 */ fmuls f3, f3, f0
|
|
/* 802AAD14 002A7C54 EC 84 00 32 */ fmuls f4, f4, f0
|
|
.L_802AAD18:
|
|
/* 802AAD18 002A7C58 80 BF 00 50 */ lwz r5, 0x50(r31)
|
|
/* 802AAD1C 002A7C5C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 802AAD20 002A7C60 80 DF 00 54 */ lwz r6, 0x54(r31)
|
|
/* 802AAD24 002A7C64 38 80 00 5A */ li r4, 0x5a
|
|
/* 802AAD28 002A7C68 C0 A5 00 08 */ lfs f5, 8(r5)
|
|
/* 802AAD2C 002A7C6C C0 C5 00 18 */ lfs f6, 0x18(r5)
|
|
/* 802AAD30 002A7C70 C0 E5 00 28 */ lfs f7, 0x28(r5)
|
|
/* 802AAD34 002A7C74 C0 22 DC 40 */ lfs f1, lbl_8051BFA0@sda21(r2)
|
|
/* 802AAD38 002A7C78 D0 46 00 00 */ stfs f2, 0(r6)
|
|
/* 802AAD3C 002A7C7C C0 02 DC 74 */ lfs f0, lbl_8051BFD4@sda21(r2)
|
|
/* 802AAD40 002A7C80 D0 66 00 10 */ stfs f3, 0x10(r6)
|
|
/* 802AAD44 002A7C84 D0 86 00 20 */ stfs f4, 0x20(r6)
|
|
/* 802AAD48 002A7C88 80 BF 00 54 */ lwz r5, 0x54(r31)
|
|
/* 802AAD4C 002A7C8C D0 25 00 04 */ stfs f1, 4(r5)
|
|
/* 802AAD50 002A7C90 D0 05 00 14 */ stfs f0, 0x14(r5)
|
|
/* 802AAD54 002A7C94 D0 25 00 24 */ stfs f1, 0x24(r5)
|
|
/* 802AAD58 002A7C98 80 BF 00 54 */ lwz r5, 0x54(r31)
|
|
/* 802AAD5C 002A7C9C D0 A5 00 08 */ stfs f5, 8(r5)
|
|
/* 802AAD60 002A7CA0 D0 C5 00 18 */ stfs f6, 0x18(r5)
|
|
/* 802AAD64 002A7CA4 D0 E5 00 28 */ stfs f7, 0x28(r5)
|
|
/* 802AAD68 002A7CA8 C0 3F 00 08 */ lfs f1, 8(r31)
|
|
/* 802AAD6C 002A7CAC 4B E3 F7 A9 */ bl PSMTXRotRad
|
|
/* 802AAD70 002A7CB0 80 7F 00 54 */ lwz r3, 0x54(r31)
|
|
/* 802AAD74 002A7CB4 38 81 00 08 */ addi r4, r1, 8
|
|
/* 802AAD78 002A7CB8 7C 65 1B 78 */ mr r5, r3
|
|
/* 802AAD7C 002A7CBC 4B E3 F5 85 */ bl PSMTXConcat
|
|
.L_802AAD80:
|
|
/* 802AAD80 002A7CC0 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 802AAD84 002A7CC4 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
|
/* 802AAD88 002A7CC8 7C 08 03 A6 */ mtlr r0
|
|
/* 802AAD8C 002A7CCC 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 802AAD90 002A7CD0 4E 80 00 20 */ blr
|