prime/asm/MetroidPrime/CSteeringBehaviors.s

2570 lines
128 KiB
ArmAsm
Raw Permalink Normal View History

2022-04-13 06:53:45 +00:00
.include "macros.inc"
2022-04-21 06:32:43 +00:00
.section .sdata
.balign 8
2022-04-21 06:32:43 +00:00
.global lbl_805A7748
lbl_805A7748:
# ROM: 0x3F50E8
2022-07-18 05:20:04 +00:00
.float -1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A774C
lbl_805A774C:
# ROM: 0x3F50EC
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-21 06:32:43 +00:00
.global lbl_805A7750
lbl_805A7750:
# ROM: 0x3F50F0
2022-07-18 05:20:04 +00:00
.float 8.0
2022-04-21 06:32:43 +00:00
.4byte 0
2022-07-14 05:36:41 +00:00
.section .text, "ax"
2022-04-13 06:53:45 +00:00
.global ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff
ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff:
/* 8013CA58 001399B8 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 8013CA5C 001399BC 7C 08 02 A6 */ mflr r0
/* 8013CA60 001399C0 90 01 01 34 */ stw r0, 0x134(r1)
/* 8013CA64 001399C4 DB E1 01 20 */ stfd f31, 0x120(r1)
/* 8013CA68 001399C8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0
/* 8013CA6C 001399CC DB C1 01 10 */ stfd f30, 0x110(r1)
/* 8013CA70 001399D0 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0
/* 8013CA74 001399D4 DB A1 01 00 */ stfd f29, 0x100(r1)
/* 8013CA78 001399D8 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0
/* 8013CA7C 001399DC DB 81 00 F0 */ stfd f28, 0xf0(r1)
/* 8013CA80 001399E0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0
/* 8013CA84 001399E4 DB 61 00 E0 */ stfd f27, 0xe0(r1)
/* 8013CA88 001399E8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0
/* 8013CA8C 001399EC DB 41 00 D0 */ stfd f26, 0xd0(r1)
/* 8013CA90 001399F0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0
/* 8013CA94 001399F4 DB 21 00 C0 */ stfd f25, 0xc0(r1)
/* 8013CA98 001399F8 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0
/* 8013CA9C 001399FC DB 01 00 B0 */ stfd f24, 0xb0(r1)
/* 8013CAA0 00139A00 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0
/* 8013CAA4 00139A04 DA E1 00 A0 */ stfd f23, 0xa0(r1)
/* 8013CAA8 00139A08 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0
/* 8013CAAC 00139A0C DA C1 00 90 */ stfd f22, 0x90(r1)
/* 8013CAB0 00139A10 F2 C1 00 98 */ psq_st f22, 152(r1), 0, qr0
/* 8013CAB4 00139A14 DA A1 00 80 */ stfd f21, 0x80(r1)
/* 8013CAB8 00139A18 F2 A1 00 88 */ psq_st f21, 136(r1), 0, qr0
/* 8013CABC 00139A1C DA 81 00 70 */ stfd f20, 0x70(r1)
/* 8013CAC0 00139A20 F2 81 00 78 */ psq_st f20, 120(r1), 0, qr0
/* 8013CAC4 00139A24 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8013CAC8 00139A28 93 C1 00 68 */ stw r30, 0x68(r1)
/* 8013CACC 00139A2C 93 A1 00 64 */ stw r29, 0x64(r1)
/* 8013CAD0 00139A30 93 81 00 60 */ stw r28, 0x60(r1)
/* 8013CAD4 00139A34 7C 9D 23 78 */ mr r29, r4
/* 8013CAD8 00139A38 FE 80 08 90 */ fmr f20, f1
/* 8013CADC 00139A3C FE A0 10 90 */ fmr f21, f2
/* 8013CAE0 00139A40 7C BF 2B 78 */ mr r31, r5
/* 8013CAE4 00139A44 7C 7C 1B 78 */ mr r28, r3
/* 8013CAE8 00139A48 C3 84 00 00 */ lfs f28, 0(r4)
/* 8013CAEC 00139A4C C3 64 00 04 */ lfs f27, 4(r4)
/* 8013CAF0 00139A50 C3 44 00 08 */ lfs f26, 8(r4)
/* 8013CAF4 00139A54 7C DE 33 78 */ mr r30, r6
/* 8013CAF8 00139A58 7F E3 FB 78 */ mr r3, r31
/* 8013CAFC 00139A5C 48 1D 7B FD */ bl CanBeNormalized__9CVector3fCFv
/* 8013CB00 00139A60 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013CB04 00139A64 41 82 01 C0 */ beq lbl_8013CCC4
/* 8013CB08 00139A68 C0 5D 00 04 */ lfs f2, 4(r29)
/* 8013CB0C 00139A6C 38 61 00 10 */ addi r3, r1, 0x10
/* 8013CB10 00139A70 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013CB14 00139A74 C0 3D 00 00 */ lfs f1, 0(r29)
/* 8013CB18 00139A78 EC 42 00 28 */ fsubs f2, f2, f0
/* 8013CB1C 00139A7C C0 1E 00 00 */ lfs f0, 0(r30)
/* 8013CB20 00139A80 C0 7D 00 08 */ lfs f3, 8(r29)
/* 8013CB24 00139A84 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013CB28 00139A88 C0 1E 00 08 */ lfs f0, 8(r30)
/* 8013CB2C 00139A8C D0 41 00 40 */ stfs f2, 0x40(r1)
/* 8013CB30 00139A90 EC 03 00 28 */ fsubs f0, f3, f0
/* 8013CB34 00139A94 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 8013CB38 00139A98 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8013CB3C 00139A9C 48 1D 76 C5 */ bl __ct__9CVector2fFff
/* 8013CB40 00139AA0 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8013CB44 00139AA4 38 61 00 48 */ addi r3, r1, 0x48
/* 8013CB48 00139AA8 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8013CB4C 00139AAC C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013CB50 00139AB0 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8013CB54 00139AB4 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8013CB58 00139AB8 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8013CB5C 00139ABC 48 1D 7B 9D */ bl CanBeNormalized__9CVector3fCFv
/* 8013CB60 00139AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013CB64 00139AC4 41 82 01 60 */ beq lbl_8013CCC4
/* 8013CB68 00139AC8 C3 3F 00 00 */ lfs f25, 0(r31)
/* 8013CB6C 00139ACC 38 61 00 30 */ addi r3, r1, 0x30
/* 8013CB70 00139AD0 C3 1F 00 04 */ lfs f24, 4(r31)
/* 8013CB74 00139AD4 38 81 00 48 */ addi r4, r1, 0x48
/* 8013CB78 00139AD8 C2 FF 00 08 */ lfs f23, 8(r31)
/* 8013CB7C 00139ADC C2 C2 9A B8 */ lfs f22, lbl_805AB7D8@sda21(r2)
/* 8013CB80 00139AE0 48 1D 7C D1 */ bl AsNormalized__9CVector3fCFv
/* 8013CB84 00139AE4 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013CB88 00139AE8 C0 C1 00 34 */ lfs f6, 0x34(r1)
/* 8013CB8C 00139AEC 3B E3 66 F4 */ addi r31, r3, sUpVector__9CVector3f@l
2022-04-13 06:53:45 +00:00
/* 8013CB90 00139AF0 C1 01 00 30 */ lfs f8, 0x30(r1)
/* 8013CB94 00139AF4 C0 BF 00 08 */ lfs f5, 8(r31)
/* 8013CB98 00139AF8 EC 18 01 B2 */ fmuls f0, f24, f6
/* 8013CB9C 00139AFC C1 3F 00 00 */ lfs f9, 0(r31)
/* 8013CBA0 00139B00 EC 25 02 32 */ fmuls f1, f5, f8
/* 8013CBA4 00139B04 C0 E1 00 38 */ lfs f7, 0x38(r1)
/* 8013CBA8 00139B08 C0 9F 00 04 */ lfs f4, 4(r31)
/* 8013CBAC 00139B0C EC 69 01 B2 */ fmuls f3, f9, f6
/* 8013CBB0 00139B10 EC 19 02 3A */ fmadds f0, f25, f8, f0
/* 8013CBB4 00139B14 C3 E2 9A B8 */ lfs f31, lbl_805AB7D8@sda21(r2)
/* 8013CBB8 00139B18 EC 44 01 F2 */ fmuls f2, f4, f7
/* 8013CBBC 00139B1C EC 27 0A 78 */ fmsubs f1, f7, f9, f1
/* 8013CBC0 00139B20 EC 68 19 38 */ fmsubs f3, f8, f4, f3
/* 8013CBC4 00139B24 EC 46 11 78 */ fmsubs f2, f6, f5, f2
/* 8013CBC8 00139B28 EC 38 00 72 */ fmuls f1, f24, f1
/* 8013CBCC 00139B2C EF B7 01 FA */ fmadds f29, f23, f7, f0
/* 8013CBD0 00139B30 EC 19 08 BA */ fmadds f0, f25, f2, f1
/* 8013CBD4 00139B34 EF D7 00 FA */ fmadds f30, f23, f3, f0
/* 8013CBD8 00139B38 48 00 00 E4 */ b lbl_8013CCBC
lbl_8013CBDC:
/* 8013CBDC 00139B3C EC B5 06 72 */ fmuls f5, f21, f25
/* 8013CBE0 00139B40 C0 5E 00 04 */ lfs f2, 4(r30)
/* 8013CBE4 00139B44 EC 95 06 32 */ fmuls f4, f21, f24
/* 8013CBE8 00139B48 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8013CBEC 00139B4C EC 35 05 F2 */ fmuls f1, f21, f23
/* 8013CBF0 00139B50 C0 7E 00 08 */ lfs f3, 8(r30)
/* 8013CBF4 00139B54 EF 7B 20 2A */ fadds f27, f27, f4
/* 8013CBF8 00139B58 38 61 00 08 */ addi r3, r1, 8
/* 8013CBFC 00139B5C EF 9C 28 2A */ fadds f28, f28, f5
/* 8013CC00 00139B60 EF 5A 08 2A */ fadds f26, f26, f1
/* 8013CC04 00139B64 EC 5B 10 28 */ fsubs f2, f27, f2
/* 8013CC08 00139B68 EC 3C 00 28 */ fsubs f1, f28, f0
/* 8013CC0C 00139B6C EC 1A 18 28 */ fsubs f0, f26, f3
/* 8013CC10 00139B70 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 8013CC14 00139B74 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013CC18 00139B78 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8013CC1C 00139B7C 48 1D 75 E5 */ bl __ct__9CVector2fFff
/* 8013CC20 00139B80 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8013CC24 00139B84 38 61 00 48 */ addi r3, r1, 0x48
/* 8013CC28 00139B88 C0 01 00 08 */ lfs f0, 8(r1)
/* 8013CC2C 00139B8C D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8013CC30 00139B90 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013CC34 00139B94 D3 E1 00 50 */ stfs f31, 0x50(r1)
/* 8013CC38 00139B98 48 1D 7A C1 */ bl CanBeNormalized__9CVector3fCFv
/* 8013CC3C 00139B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013CC40 00139BA0 41 82 00 68 */ beq lbl_8013CCA8
/* 8013CC44 00139BA4 38 61 00 18 */ addi r3, r1, 0x18
/* 8013CC48 00139BA8 38 81 00 48 */ addi r4, r1, 0x48
/* 8013CC4C 00139BAC 48 1D 7C 05 */ bl AsNormalized__9CVector3fCFv
/* 8013CC50 00139BB0 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013CC54 00139BB4 C1 21 00 1C */ lfs f9, 0x1c(r1)
/* 8013CC58 00139BB8 C1 41 00 20 */ lfs f10, 0x20(r1)
/* 8013CC5C 00139BBC C0 BF 00 04 */ lfs f5, 4(r31)
/* 8013CC60 00139BC0 EC 5D 02 72 */ fmuls f2, f29, f9
/* 8013CC64 00139BC4 C1 03 66 F4 */ lfs f8, sUpVector__9CVector3f@l(r3)
2022-04-13 06:53:45 +00:00
/* 8013CC68 00139BC8 EC 1D 02 B2 */ fmuls f0, f29, f10
/* 8013CC6C 00139BCC C0 E1 00 18 */ lfs f7, 0x18(r1)
/* 8013CC70 00139BD0 EC 65 02 B2 */ fmuls f3, f5, f10
/* 8013CC74 00139BD4 C0 DF 00 08 */ lfs f6, 8(r31)
/* 8013CC78 00139BD8 EC 88 02 72 */ fmuls f4, f8, f9
/* 8013CC7C 00139BDC EC 26 01 F2 */ fmuls f1, f6, f7
/* 8013CC80 00139BE0 EC 69 19 B8 */ fmsubs f3, f9, f6, f3
/* 8013CC84 00139BE4 EC C7 21 78 */ fmsubs f6, f7, f5, f4
/* 8013CC88 00139BE8 EC 2A 0A 38 */ fmsubs f1, f10, f8, f1
/* 8013CC8C 00139BEC EC BE 00 F2 */ fmuls f5, f30, f3
/* 8013CC90 00139BF0 EC 9D 01 F2 */ fmuls f4, f29, f7
/* 8013CC94 00139BF4 EC 7E 00 72 */ fmuls f3, f30, f1
/* 8013CC98 00139BF8 EC 3E 01 B2 */ fmuls f1, f30, f6
/* 8013CC9C 00139BFC EF 25 20 2A */ fadds f25, f5, f4
/* 8013CCA0 00139C00 EF 03 10 2A */ fadds f24, f3, f2
/* 8013CCA4 00139C04 EE E1 00 2A */ fadds f23, f1, f0
lbl_8013CCA8:
/* 8013CCA8 00139C08 EC 14 B0 28 */ fsubs f0, f20, f22
/* 8013CCAC 00139C0C FC 00 A8 40 */ fcmpo cr0, f0, f21
/* 8013CCB0 00139C10 40 81 00 08 */ ble lbl_8013CCB8
/* 8013CCB4 00139C14 FC 00 A8 90 */ fmr f0, f21
lbl_8013CCB8:
/* 8013CCB8 00139C18 EE D6 00 2A */ fadds f22, f22, f0
lbl_8013CCBC:
/* 8013CCBC 00139C1C FC 16 A0 40 */ fcmpo cr0, f22, f20
/* 8013CCC0 00139C20 41 80 FF 1C */ blt lbl_8013CBDC
lbl_8013CCC4:
/* 8013CCC4 00139C24 D3 9C 00 00 */ stfs f28, 0(r28)
/* 8013CCC8 00139C28 D3 7C 00 04 */ stfs f27, 4(r28)
/* 8013CCCC 00139C2C D3 5C 00 08 */ stfs f26, 8(r28)
/* 8013CCD0 00139C30 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0
/* 8013CCD4 00139C34 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 8013CCD8 00139C38 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0
/* 8013CCDC 00139C3C CB C1 01 10 */ lfd f30, 0x110(r1)
/* 8013CCE0 00139C40 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0
/* 8013CCE4 00139C44 CB A1 01 00 */ lfd f29, 0x100(r1)
/* 8013CCE8 00139C48 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0
/* 8013CCEC 00139C4C CB 81 00 F0 */ lfd f28, 0xf0(r1)
/* 8013CCF0 00139C50 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0
/* 8013CCF4 00139C54 CB 61 00 E0 */ lfd f27, 0xe0(r1)
/* 8013CCF8 00139C58 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0
/* 8013CCFC 00139C5C CB 41 00 D0 */ lfd f26, 0xd0(r1)
/* 8013CD00 00139C60 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0
/* 8013CD04 00139C64 CB 21 00 C0 */ lfd f25, 0xc0(r1)
/* 8013CD08 00139C68 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0
/* 8013CD0C 00139C6C CB 01 00 B0 */ lfd f24, 0xb0(r1)
/* 8013CD10 00139C70 E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0
/* 8013CD14 00139C74 CA E1 00 A0 */ lfd f23, 0xa0(r1)
/* 8013CD18 00139C78 E2 C1 00 98 */ psq_l f22, 152(r1), 0, qr0
/* 8013CD1C 00139C7C CA C1 00 90 */ lfd f22, 0x90(r1)
/* 8013CD20 00139C80 E2 A1 00 88 */ psq_l f21, 136(r1), 0, qr0
/* 8013CD24 00139C84 CA A1 00 80 */ lfd f21, 0x80(r1)
/* 8013CD28 00139C88 E2 81 00 78 */ psq_l f20, 120(r1), 0, qr0
/* 8013CD2C 00139C8C CA 81 00 70 */ lfd f20, 0x70(r1)
/* 8013CD30 00139C90 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8013CD34 00139C94 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8013CD38 00139C98 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 8013CD3C 00139C9C 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8013CD40 00139CA0 83 81 00 60 */ lwz r28, 0x60(r1)
/* 8013CD44 00139CA4 7C 08 03 A6 */ mtlr r0
/* 8013CD48 00139CA8 38 21 01 30 */ addi r1, r1, 0x130
2022-07-14 05:48:03 +00:00
/* 8013CD4C 00139CAC 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
2022-10-20 11:18:42 +00:00
.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3fffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f
ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3fffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f:
2022-04-13 06:53:45 +00:00
/* 8013CD50 00139CB0 94 21 FE 80 */ stwu r1, -0x180(r1)
/* 8013CD54 00139CB4 7C 08 02 A6 */ mflr r0
/* 8013CD58 00139CB8 90 01 01 84 */ stw r0, 0x184(r1)
/* 8013CD5C 00139CBC DB E1 01 70 */ stfd f31, 0x170(r1)
/* 8013CD60 00139CC0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
/* 8013CD64 00139CC4 DB C1 01 60 */ stfd f30, 0x160(r1)
/* 8013CD68 00139CC8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
/* 8013CD6C 00139CCC DB A1 01 50 */ stfd f29, 0x150(r1)
/* 8013CD70 00139CD0 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0
/* 8013CD74 00139CD4 DB 81 01 40 */ stfd f28, 0x140(r1)
/* 8013CD78 00139CD8 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0
/* 8013CD7C 00139CDC DB 61 01 30 */ stfd f27, 0x130(r1)
/* 8013CD80 00139CE0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0
/* 8013CD84 00139CE4 DB 41 01 20 */ stfd f26, 0x120(r1)
/* 8013CD88 00139CE8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0
/* 8013CD8C 00139CEC DB 21 01 10 */ stfd f25, 0x110(r1)
/* 8013CD90 00139CF0 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0
/* 8013CD94 00139CF4 DB 01 01 00 */ stfd f24, 0x100(r1)
/* 8013CD98 00139CF8 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0
/* 8013CD9C 00139CFC DA E1 00 F0 */ stfd f23, 0xf0(r1)
/* 8013CDA0 00139D00 F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0
/* 8013CDA4 00139D04 DA C1 00 E0 */ stfd f22, 0xe0(r1)
/* 8013CDA8 00139D08 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0
/* 8013CDAC 00139D0C DA A1 00 D0 */ stfd f21, 0xd0(r1)
/* 8013CDB0 00139D10 F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0
/* 8013CDB4 00139D14 DA 81 00 C0 */ stfd f20, 0xc0(r1)
/* 8013CDB8 00139D18 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0
/* 8013CDBC 00139D1C DA 61 00 B0 */ stfd f19, 0xb0(r1)
/* 8013CDC0 00139D20 F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0
/* 8013CDC4 00139D24 DA 41 00 A0 */ stfd f18, 0xa0(r1)
/* 8013CDC8 00139D28 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0
/* 8013CDCC 00139D2C DA 21 00 90 */ stfd f17, 0x90(r1)
/* 8013CDD0 00139D30 F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0
/* 8013CDD4 00139D34 DA 01 00 80 */ stfd f16, 0x80(r1)
/* 8013CDD8 00139D38 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0
/* 8013CDDC 00139D3C BF 21 00 64 */ stmw r25, 0x64(r1)
/* 8013CDE0 00139D40 FF C0 08 90 */ fmr f30, f1
/* 8013CDE4 00139D44 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013CDE8 00139D48 FF E0 10 90 */ fmr f31, f2
/* 8013CDEC 00139D4C 7C 79 1B 78 */ mr r25, r3
/* 8013CDF0 00139D50 7C 9A 23 78 */ mr r26, r4
/* 8013CDF4 00139D54 7C BF 2B 78 */ mr r31, r5
/* 8013CDF8 00139D58 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8013CDFC 00139D5C 7C DB 33 78 */ mr r27, r6
/* 8013CE00 00139D60 7C FC 3B 78 */ mr r28, r7
/* 8013CE04 00139D64 7D 1D 43 78 */ mr r29, r8
/* 8013CE08 00139D68 3B C0 00 00 */ li r30, 0
/* 8013CE0C 00139D6C 40 81 02 C8 */ ble lbl_8013D0D4
/* 8013CE10 00139D70 C0 5A 00 04 */ lfs f2, 4(r26)
/* 8013CE14 00139D74 38 61 00 10 */ addi r3, r1, 0x10
/* 8013CE18 00139D78 C0 1C 00 04 */ lfs f0, 4(r28)
/* 8013CE1C 00139D7C C0 3A 00 00 */ lfs f1, 0(r26)
/* 8013CE20 00139D80 EC 42 00 28 */ fsubs f2, f2, f0
/* 8013CE24 00139D84 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8013CE28 00139D88 C0 7A 00 08 */ lfs f3, 8(r26)
/* 8013CE2C 00139D8C EC 21 00 28 */ fsubs f1, f1, f0
/* 8013CE30 00139D90 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8013CE34 00139D94 D0 41 00 40 */ stfs f2, 0x40(r1)
/* 8013CE38 00139D98 EC 03 00 28 */ fsubs f0, f3, f0
/* 8013CE3C 00139D9C D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 8013CE40 00139DA0 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8013CE44 00139DA4 48 1D 73 BD */ bl __ct__9CVector2fFff
/* 8013CE48 00139DA8 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8013CE4C 00139DAC 7F E3 FB 78 */ mr r3, r31
/* 8013CE50 00139DB0 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8013CE54 00139DB4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013CE58 00139DB8 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 8013CE5C 00139DBC D0 21 00 58 */ stfs f1, 0x58(r1)
/* 8013CE60 00139DC0 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8013CE64 00139DC4 48 1D 78 95 */ bl CanBeNormalized__9CVector3fCFv
/* 8013CE68 00139DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013CE6C 00139DCC 41 82 02 48 */ beq lbl_8013D0B4
/* 8013CE70 00139DD0 38 61 00 54 */ addi r3, r1, 0x54
/* 8013CE74 00139DD4 48 1D 78 85 */ bl CanBeNormalized__9CVector3fCFv
/* 8013CE78 00139DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013CE7C 00139DDC 41 82 02 38 */ beq lbl_8013D0B4
/* 8013CE80 00139DE0 C3 1A 00 00 */ lfs f24, 0(r26)
/* 8013CE84 00139DE4 38 61 00 48 */ addi r3, r1, 0x48
/* 8013CE88 00139DE8 C0 19 00 00 */ lfs f0, 0(r25)
/* 8013CE8C 00139DEC C2 FA 00 04 */ lfs f23, 4(r26)
/* 8013CE90 00139DF0 C0 59 00 04 */ lfs f2, 4(r25)
/* 8013CE94 00139DF4 EC 18 00 28 */ fsubs f0, f24, f0
/* 8013CE98 00139DF8 C2 DA 00 08 */ lfs f22, 8(r26)
/* 8013CE9C 00139DFC C0 39 00 08 */ lfs f1, 8(r25)
/* 8013CEA0 00139E00 EC 57 10 28 */ fsubs f2, f23, f2
/* 8013CEA4 00139E04 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013CEA8 00139E08 EC 16 08 28 */ fsubs f0, f22, f1
/* 8013CEAC 00139E0C C2 BF 00 00 */ lfs f21, 0(r31)
/* 8013CEB0 00139E10 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8013CEB4 00139E14 C2 9F 00 04 */ lfs f20, 4(r31)
/* 8013CEB8 00139E18 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8013CEBC 00139E1C C2 7F 00 08 */ lfs f19, 8(r31)
/* 8013CEC0 00139E20 48 1D 79 F9 */ bl Magnitude__9CVector3fCFv
/* 8013CEC4 00139E24 EC 01 F0 24 */ fdivs f0, f1, f30
/* 8013CEC8 00139E28 C2 42 9A B8 */ lfs f18, lbl_805AB7D8@sda21(r2)
/* 8013CECC 00139E2C C2 22 9A BC */ lfs f17, lbl_805AB7DC@sda21(r2)
/* 8013CED0 00139E30 38 61 00 30 */ addi r3, r1, 0x30
/* 8013CED4 00139E34 38 81 00 54 */ addi r4, r1, 0x54
/* 8013CED8 00139E38 EE 00 90 28 */ fsubs f16, f0, f18
/* 8013CEDC 00139E3C 48 1D 79 75 */ bl AsNormalized__9CVector3fCFv
/* 8013CEE0 00139E40 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013CEE4 00139E44 C0 C1 00 34 */ lfs f6, 0x34(r1)
/* 8013CEE8 00139E48 3B E3 66 F4 */ addi r31, r3, sUpVector__9CVector3f@l
2022-04-13 06:53:45 +00:00
/* 8013CEEC 00139E4C C1 01 00 30 */ lfs f8, 0x30(r1)
/* 8013CEF0 00139E50 C0 BF 00 08 */ lfs f5, 8(r31)
/* 8013CEF4 00139E54 EC 14 01 B2 */ fmuls f0, f20, f6
/* 8013CEF8 00139E58 C1 3F 00 00 */ lfs f9, 0(r31)
/* 8013CEFC 00139E5C EC 25 02 32 */ fmuls f1, f5, f8
/* 8013CF00 00139E60 C0 E1 00 38 */ lfs f7, 0x38(r1)
/* 8013CF04 00139E64 C0 9F 00 04 */ lfs f4, 4(r31)
/* 8013CF08 00139E68 EC 69 01 B2 */ fmuls f3, f9, f6
/* 8013CF0C 00139E6C EC 15 02 3A */ fmadds f0, f21, f8, f0
/* 8013CF10 00139E70 C3 A2 9A C4 */ lfs f29, lbl_805AB7E4@sda21(r2)
/* 8013CF14 00139E74 EC 44 01 F2 */ fmuls f2, f4, f7
/* 8013CF18 00139E78 C3 62 9A C0 */ lfs f27, lbl_805AB7E0@sda21(r2)
/* 8013CF1C 00139E7C EC 27 0A 78 */ fmsubs f1, f7, f9, f1
/* 8013CF20 00139E80 C3 82 9A B8 */ lfs f28, lbl_805AB7D8@sda21(r2)
/* 8013CF24 00139E84 EC 68 19 38 */ fmsubs f3, f8, f4, f3
/* 8013CF28 00139E88 EC 46 11 78 */ fmsubs f2, f6, f5, f2
/* 8013CF2C 00139E8C EC 34 00 72 */ fmuls f1, f20, f1
/* 8013CF30 00139E90 EF 33 01 FA */ fmadds f25, f19, f7, f0
/* 8013CF34 00139E94 EC 15 08 BA */ fmadds f0, f21, f2, f1
/* 8013CF38 00139E98 EF 53 00 FA */ fmadds f26, f19, f3, f0
/* 8013CF3C 00139E9C 48 00 01 64 */ b lbl_8013D0A0
lbl_8013CF40:
/* 8013CF40 00139EA0 EC 10 F8 28 */ fsubs f0, f16, f31
/* 8013CF44 00139EA4 FC 00 02 10 */ fabs f0, f0
/* 8013CF48 00139EA8 FC 00 D8 40 */ fcmpo cr0, f0, f27
/* 8013CF4C 00139EAC 41 80 00 0C */ blt lbl_8013CF58
/* 8013CF50 00139EB0 FC 10 E0 40 */ fcmpo cr0, f16, f28
/* 8013CF54 00139EB4 40 80 00 18 */ bge lbl_8013CF6C
lbl_8013CF58:
/* 8013CF58 00139EB8 D3 1D 00 00 */ stfs f24, 0(r29)
/* 8013CF5C 00139EBC 3B C0 00 01 */ li r30, 1
/* 8013CF60 00139EC0 D2 FD 00 04 */ stfs f23, 4(r29)
/* 8013CF64 00139EC4 D2 DD 00 08 */ stfs f22, 8(r29)
/* 8013CF68 00139EC8 48 00 01 6C */ b lbl_8013D0D4
lbl_8013CF6C:
/* 8013CF6C 00139ECC EC BF 05 72 */ fmuls f5, f31, f21
/* 8013CF70 00139ED0 C0 59 00 04 */ lfs f2, 4(r25)
/* 8013CF74 00139ED4 EC 9F 05 32 */ fmuls f4, f31, f20
/* 8013CF78 00139ED8 C0 39 00 08 */ lfs f1, 8(r25)
/* 8013CF7C 00139EDC EC 7F 04 F2 */ fmuls f3, f31, f19
/* 8013CF80 00139EE0 C0 19 00 00 */ lfs f0, 0(r25)
/* 8013CF84 00139EE4 EF 18 28 2A */ fadds f24, f24, f5
/* 8013CF88 00139EE8 38 61 00 48 */ addi r3, r1, 0x48
/* 8013CF8C 00139EEC EE F7 20 2A */ fadds f23, f23, f4
/* 8013CF90 00139EF0 EE D6 18 2A */ fadds f22, f22, f3
/* 8013CF94 00139EF4 EC 18 00 28 */ fsubs f0, f24, f0
/* 8013CF98 00139EF8 EC 57 10 28 */ fsubs f2, f23, f2
/* 8013CF9C 00139EFC EC 36 08 28 */ fsubs f1, f22, f1
/* 8013CFA0 00139F00 FE 20 80 90 */ fmr f17, f16
/* 8013CFA4 00139F04 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013CFA8 00139F08 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8013CFAC 00139F0C D0 21 00 50 */ stfs f1, 0x50(r1)
/* 8013CFB0 00139F10 48 1D 79 09 */ bl Magnitude__9CVector3fCFv
/* 8013CFB4 00139F14 EC 81 F0 24 */ fdivs f4, f1, f30
/* 8013CFB8 00139F18 C0 3C 00 04 */ lfs f1, 4(r28)
/* 8013CFBC 00139F1C C0 1C 00 00 */ lfs f0, 0(r28)
/* 8013CFC0 00139F20 38 61 00 08 */ addi r3, r1, 8
/* 8013CFC4 00139F24 C0 7C 00 08 */ lfs f3, 8(r28)
/* 8013CFC8 00139F28 EC 57 08 28 */ fsubs f2, f23, f1
/* 8013CFCC 00139F2C EC 38 00 28 */ fsubs f1, f24, f0
/* 8013CFD0 00139F30 EE 52 F8 2A */ fadds f18, f18, f31
/* 8013CFD4 00139F34 EC 16 18 28 */ fsubs f0, f22, f3
/* 8013CFD8 00139F38 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 8013CFDC 00139F3C EE 04 90 28 */ fsubs f16, f4, f18
/* 8013CFE0 00139F40 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013CFE4 00139F44 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8013CFE8 00139F48 48 1D 72 19 */ bl __ct__9CVector2fFff
/* 8013CFEC 00139F4C C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8013CFF0 00139F50 38 61 00 54 */ addi r3, r1, 0x54
/* 8013CFF4 00139F54 C0 01 00 08 */ lfs f0, 8(r1)
/* 8013CFF8 00139F58 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 8013CFFC 00139F5C D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8013D000 00139F60 D3 81 00 5C */ stfs f28, 0x5c(r1)
/* 8013D004 00139F64 48 1D 76 F5 */ bl CanBeNormalized__9CVector3fCFv
/* 8013D008 00139F68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D00C 00139F6C 41 82 00 C8 */ beq lbl_8013D0D4
/* 8013D010 00139F70 38 61 00 18 */ addi r3, r1, 0x18
/* 8013D014 00139F74 38 81 00 54 */ addi r4, r1, 0x54
/* 8013D018 00139F78 48 1D 78 39 */ bl AsNormalized__9CVector3fCFv
/* 8013D01C 00139F7C C1 61 00 1C */ lfs f11, 0x1c(r1)
/* 8013D020 00139F80 C1 81 00 20 */ lfs f12, 0x20(r1)
/* 8013D024 00139F84 C1 3F 00 04 */ lfs f9, 4(r31)
/* 8013D028 00139F88 EC 79 02 F2 */ fmuls f3, f25, f11
/* 8013D02C 00139F8C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8013D030 00139F90 EC 39 03 32 */ fmuls f1, f25, f12
/* 8013D034 00139F94 C0 BF 00 08 */ lfs f5, 8(r31)
/* 8013D038 00139F98 EC 89 03 32 */ fmuls f4, f9, f12
/* 8013D03C 00139F9C C1 5F 00 00 */ lfs f10, 0(r31)
/* 8013D040 00139FA0 EC 45 00 32 */ fmuls f2, f5, f0
/* 8013D044 00139FA4 C0 FB 00 00 */ lfs f7, 0(r27)
/* 8013D048 00139FA8 ED 0A 02 F2 */ fmuls f8, f10, f11
/* 8013D04C 00139FAC C0 DB 00 04 */ lfs f6, 4(r27)
/* 8013D050 00139FB0 EC AB 21 78 */ fmsubs f5, f11, f5, f4
/* 8013D054 00139FB4 C0 9B 00 08 */ lfs f4, 8(r27)
/* 8013D058 00139FB8 ED 20 42 78 */ fmsubs f9, f0, f9, f8
/* 8013D05C 00139FBC EC 4C 12 B8 */ fmsubs f2, f12, f10, f2
/* 8013D060 00139FC0 ED 1F 01 F2 */ fmuls f8, f31, f7
/* 8013D064 00139FC4 EC FF 01 B2 */ fmuls f7, f31, f6
/* 8013D068 00139FC8 EC DF 01 32 */ fmuls f6, f31, f4
/* 8013D06C 00139FCC EC 9A 00 B2 */ fmuls f4, f26, f2
/* 8013D070 00139FD0 EC 5A 02 72 */ fmuls f2, f26, f9
/* 8013D074 00139FD4 EC BA 01 72 */ fmuls f5, f26, f5
/* 8013D078 00139FD8 EC 19 00 32 */ fmuls f0, f25, f0
/* 8013D07C 00139FDC EE BC 40 2A */ fadds f21, f28, f8
/* 8013D080 00139FE0 EE 9C 38 2A */ fadds f20, f28, f7
/* 8013D084 00139FE4 EC A5 00 2A */ fadds f5, f5, f0
/* 8013D088 00139FE8 EC 64 18 2A */ fadds f3, f4, f3
/* 8013D08C 00139FEC EE 73 30 2A */ fadds f19, f19, f6
/* 8013D090 00139FF0 EC 02 08 2A */ fadds f0, f2, f1
/* 8013D094 00139FF4 EE B5 28 2A */ fadds f21, f21, f5
/* 8013D098 00139FF8 EE 94 18 2A */ fadds f20, f20, f3
/* 8013D09C 00139FFC EE 73 00 2A */ fadds f19, f19, f0
lbl_8013D0A0:
/* 8013D0A0 0013A000 FC 10 88 40 */ fcmpo cr0, f16, f17
/* 8013D0A4 0013A004 40 80 00 30 */ bge lbl_8013D0D4
/* 8013D0A8 0013A008 FC 12 E8 40 */ fcmpo cr0, f18, f29
/* 8013D0AC 0013A00C 41 80 FE 94 */ blt lbl_8013CF40
/* 8013D0B0 0013A010 48 00 00 24 */ b lbl_8013D0D4
lbl_8013D0B4:
/* 8013D0B4 0013A014 FC 20 F0 90 */ fmr f1, f30
/* 8013D0B8 0013A018 7F 23 CB 78 */ mr r3, r25
/* 8013D0BC 0013A01C 7F 44 D3 78 */ mr r4, r26
/* 8013D0C0 0013A020 7F E5 FB 78 */ mr r5, r31
/* 8013D0C4 0013A024 7F 66 DB 78 */ mr r6, r27
/* 8013D0C8 0013A028 7F A7 EB 78 */ mr r7, r29
/* 8013D0CC 0013A02C 48 00 04 A1 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f
/* 8013D0D0 0013A030 48 00 00 08 */ b lbl_8013D0D8
lbl_8013D0D4:
/* 8013D0D4 0013A034 57 C3 06 3E */ clrlwi r3, r30, 0x18
lbl_8013D0D8:
/* 8013D0D8 0013A038 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
/* 8013D0DC 0013A03C CB E1 01 70 */ lfd f31, 0x170(r1)
/* 8013D0E0 0013A040 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
/* 8013D0E4 0013A044 CB C1 01 60 */ lfd f30, 0x160(r1)
/* 8013D0E8 0013A048 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0
/* 8013D0EC 0013A04C CB A1 01 50 */ lfd f29, 0x150(r1)
/* 8013D0F0 0013A050 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0
/* 8013D0F4 0013A054 CB 81 01 40 */ lfd f28, 0x140(r1)
/* 8013D0F8 0013A058 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0
/* 8013D0FC 0013A05C CB 61 01 30 */ lfd f27, 0x130(r1)
/* 8013D100 0013A060 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0
/* 8013D104 0013A064 CB 41 01 20 */ lfd f26, 0x120(r1)
/* 8013D108 0013A068 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0
/* 8013D10C 0013A06C CB 21 01 10 */ lfd f25, 0x110(r1)
/* 8013D110 0013A070 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0
/* 8013D114 0013A074 CB 01 01 00 */ lfd f24, 0x100(r1)
/* 8013D118 0013A078 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0
/* 8013D11C 0013A07C CA E1 00 F0 */ lfd f23, 0xf0(r1)
/* 8013D120 0013A080 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0
/* 8013D124 0013A084 CA C1 00 E0 */ lfd f22, 0xe0(r1)
/* 8013D128 0013A088 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0
/* 8013D12C 0013A08C CA A1 00 D0 */ lfd f21, 0xd0(r1)
/* 8013D130 0013A090 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0
/* 8013D134 0013A094 CA 81 00 C0 */ lfd f20, 0xc0(r1)
/* 8013D138 0013A098 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0
/* 8013D13C 0013A09C CA 61 00 B0 */ lfd f19, 0xb0(r1)
/* 8013D140 0013A0A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0
/* 8013D144 0013A0A4 CA 41 00 A0 */ lfd f18, 0xa0(r1)
/* 8013D148 0013A0A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0
/* 8013D14C 0013A0AC CA 21 00 90 */ lfd f17, 0x90(r1)
/* 8013D150 0013A0B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0
/* 8013D154 0013A0B4 CA 01 00 80 */ lfd f16, 0x80(r1)
/* 8013D158 0013A0B8 BB 21 00 64 */ lmw r25, 0x64(r1)
/* 8013D15C 0013A0BC 80 01 01 84 */ lwz r0, 0x184(r1)
/* 8013D160 0013A0C0 7C 08 03 A6 */ mtlr r0
/* 8013D164 0013A0C4 38 21 01 80 */ addi r1, r1, 0x180
2022-07-14 05:48:03 +00:00
/* 8013D168 0013A0C8 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
2022-10-20 11:18:42 +00:00
.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3fffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f
ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3fffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f:
2022-04-13 06:53:45 +00:00
/* 8013D16C 0013A0CC 94 21 FE 80 */ stwu r1, -0x180(r1)
/* 8013D170 0013A0D0 7C 08 02 A6 */ mflr r0
/* 8013D174 0013A0D4 90 01 01 84 */ stw r0, 0x184(r1)
/* 8013D178 0013A0D8 DB E1 01 70 */ stfd f31, 0x170(r1)
/* 8013D17C 0013A0DC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
/* 8013D180 0013A0E0 DB C1 01 60 */ stfd f30, 0x160(r1)
/* 8013D184 0013A0E4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
/* 8013D188 0013A0E8 DB A1 01 50 */ stfd f29, 0x150(r1)
/* 8013D18C 0013A0EC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0
/* 8013D190 0013A0F0 DB 81 01 40 */ stfd f28, 0x140(r1)
/* 8013D194 0013A0F4 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0
/* 8013D198 0013A0F8 DB 61 01 30 */ stfd f27, 0x130(r1)
/* 8013D19C 0013A0FC F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0
/* 8013D1A0 0013A100 DB 41 01 20 */ stfd f26, 0x120(r1)
/* 8013D1A4 0013A104 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0
/* 8013D1A8 0013A108 DB 21 01 10 */ stfd f25, 0x110(r1)
/* 8013D1AC 0013A10C F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0
/* 8013D1B0 0013A110 DB 01 01 00 */ stfd f24, 0x100(r1)
/* 8013D1B4 0013A114 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0
/* 8013D1B8 0013A118 DA E1 00 F0 */ stfd f23, 0xf0(r1)
/* 8013D1BC 0013A11C F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0
/* 8013D1C0 0013A120 DA C1 00 E0 */ stfd f22, 0xe0(r1)
/* 8013D1C4 0013A124 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0
/* 8013D1C8 0013A128 DA A1 00 D0 */ stfd f21, 0xd0(r1)
/* 8013D1CC 0013A12C F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0
/* 8013D1D0 0013A130 DA 81 00 C0 */ stfd f20, 0xc0(r1)
/* 8013D1D4 0013A134 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0
/* 8013D1D8 0013A138 DA 61 00 B0 */ stfd f19, 0xb0(r1)
/* 8013D1DC 0013A13C F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0
/* 8013D1E0 0013A140 DA 41 00 A0 */ stfd f18, 0xa0(r1)
/* 8013D1E4 0013A144 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0
/* 8013D1E8 0013A148 DA 21 00 90 */ stfd f17, 0x90(r1)
/* 8013D1EC 0013A14C F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0
/* 8013D1F0 0013A150 DA 01 00 80 */ stfd f16, 0x80(r1)
/* 8013D1F4 0013A154 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0
/* 8013D1F8 0013A158 BF 61 00 6C */ stmw r27, 0x6c(r1)
/* 8013D1FC 0013A15C FF C0 08 90 */ fmr f30, f1
/* 8013D200 0013A160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013D204 0013A164 FF E0 10 90 */ fmr f31, f2
/* 8013D208 0013A168 7C 7B 1B 78 */ mr r27, r3
/* 8013D20C 0013A16C 7C 9C 23 78 */ mr r28, r4
/* 8013D210 0013A170 7C BF 2B 78 */ mr r31, r5
/* 8013D214 0013A174 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8013D218 0013A178 7C DD 33 78 */ mr r29, r6
/* 8013D21C 0013A17C 7C FE 3B 78 */ mr r30, r7
/* 8013D220 0013A180 40 81 02 B4 */ ble lbl_8013D4D4
/* 8013D224 0013A184 7F E3 FB 78 */ mr r3, r31
/* 8013D228 0013A188 48 1D 74 D1 */ bl CanBeNormalized__9CVector3fCFv
/* 8013D22C 0013A18C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D230 0013A190 41 82 02 84 */ beq lbl_8013D4B4
/* 8013D234 0013A194 C0 5C 00 04 */ lfs f2, 4(r28)
/* 8013D238 0013A198 38 61 00 10 */ addi r3, r1, 0x10
/* 8013D23C 0013A19C C0 1D 00 04 */ lfs f0, 4(r29)
/* 8013D240 0013A1A0 C0 3C 00 00 */ lfs f1, 0(r28)
/* 8013D244 0013A1A4 EC 42 00 28 */ fsubs f2, f2, f0
/* 8013D248 0013A1A8 C0 1D 00 00 */ lfs f0, 0(r29)
/* 8013D24C 0013A1AC C0 7C 00 08 */ lfs f3, 8(r28)
/* 8013D250 0013A1B0 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013D254 0013A1B4 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8013D258 0013A1B8 D0 41 00 40 */ stfs f2, 0x40(r1)
/* 8013D25C 0013A1BC EC 03 00 28 */ fsubs f0, f3, f0
/* 8013D260 0013A1C0 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 8013D264 0013A1C4 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8013D268 0013A1C8 48 1D 6F 99 */ bl __ct__9CVector2fFff
/* 8013D26C 0013A1CC C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8013D270 0013A1D0 38 61 00 54 */ addi r3, r1, 0x54
/* 8013D274 0013A1D4 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8013D278 0013A1D8 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013D27C 0013A1DC D0 41 00 54 */ stfs f2, 0x54(r1)
/* 8013D280 0013A1E0 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 8013D284 0013A1E4 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8013D288 0013A1E8 48 1D 74 71 */ bl CanBeNormalized__9CVector3fCFv
/* 8013D28C 0013A1EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D290 0013A1F0 41 82 02 08 */ beq lbl_8013D498
/* 8013D294 0013A1F4 C3 3C 00 00 */ lfs f25, 0(r28)
/* 8013D298 0013A1F8 38 61 00 48 */ addi r3, r1, 0x48
/* 8013D29C 0013A1FC C0 1B 00 00 */ lfs f0, 0(r27)
/* 8013D2A0 0013A200 C3 1C 00 04 */ lfs f24, 4(r28)
/* 8013D2A4 0013A204 C0 5B 00 04 */ lfs f2, 4(r27)
/* 8013D2A8 0013A208 EC 19 00 28 */ fsubs f0, f25, f0
/* 8013D2AC 0013A20C C2 FC 00 08 */ lfs f23, 8(r28)
/* 8013D2B0 0013A210 C0 3B 00 08 */ lfs f1, 8(r27)
/* 8013D2B4 0013A214 EC 58 10 28 */ fsubs f2, f24, f2
/* 8013D2B8 0013A218 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013D2BC 0013A21C EC 17 08 28 */ fsubs f0, f23, f1
/* 8013D2C0 0013A220 C2 DF 00 00 */ lfs f22, 0(r31)
/* 8013D2C4 0013A224 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8013D2C8 0013A228 C2 BF 00 04 */ lfs f21, 4(r31)
/* 8013D2CC 0013A22C D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8013D2D0 0013A230 C2 9F 00 08 */ lfs f20, 8(r31)
/* 8013D2D4 0013A234 48 1D 75 E5 */ bl Magnitude__9CVector3fCFv
/* 8013D2D8 0013A238 EC 01 F0 24 */ fdivs f0, f1, f30
/* 8013D2DC 0013A23C C2 62 9A B8 */ lfs f19, lbl_805AB7D8@sda21(r2)
/* 8013D2E0 0013A240 C2 42 9A BC */ lfs f18, lbl_805AB7DC@sda21(r2)
/* 8013D2E4 0013A244 38 61 00 30 */ addi r3, r1, 0x30
/* 8013D2E8 0013A248 38 81 00 54 */ addi r4, r1, 0x54
/* 8013D2EC 0013A24C EE 20 98 28 */ fsubs f17, f0, f19
/* 8013D2F0 0013A250 48 1D 75 61 */ bl AsNormalized__9CVector3fCFv
/* 8013D2F4 0013A254 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013D2F8 0013A258 C0 C1 00 34 */ lfs f6, 0x34(r1)
/* 8013D2FC 0013A25C 3B E3 66 F4 */ addi r31, r3, sUpVector__9CVector3f@l
2022-04-13 06:53:45 +00:00
/* 8013D300 0013A260 C1 01 00 30 */ lfs f8, 0x30(r1)
/* 8013D304 0013A264 C0 BF 00 08 */ lfs f5, 8(r31)
/* 8013D308 0013A268 EC 15 01 B2 */ fmuls f0, f21, f6
/* 8013D30C 0013A26C C1 3F 00 00 */ lfs f9, 0(r31)
/* 8013D310 0013A270 EC 25 02 32 */ fmuls f1, f5, f8
/* 8013D314 0013A274 C0 E1 00 38 */ lfs f7, 0x38(r1)
/* 8013D318 0013A278 C0 9F 00 04 */ lfs f4, 4(r31)
/* 8013D31C 0013A27C EC 69 01 B2 */ fmuls f3, f9, f6
/* 8013D320 0013A280 EC 16 02 3A */ fmadds f0, f22, f8, f0
/* 8013D324 0013A284 C2 02 9A C4 */ lfs f16, lbl_805AB7E4@sda21(r2)
/* 8013D328 0013A288 EC 44 01 F2 */ fmuls f2, f4, f7
/* 8013D32C 0013A28C C3 82 9A C0 */ lfs f28, lbl_805AB7E0@sda21(r2)
/* 8013D330 0013A290 EC 27 0A 78 */ fmsubs f1, f7, f9, f1
/* 8013D334 0013A294 C3 A2 9A B8 */ lfs f29, lbl_805AB7D8@sda21(r2)
/* 8013D338 0013A298 EC 68 19 38 */ fmsubs f3, f8, f4, f3
/* 8013D33C 0013A29C EC 46 11 78 */ fmsubs f2, f6, f5, f2
/* 8013D340 0013A2A0 EC 35 00 72 */ fmuls f1, f21, f1
/* 8013D344 0013A2A4 EF 54 01 FA */ fmadds f26, f20, f7, f0
/* 8013D348 0013A2A8 EC 16 08 BA */ fmadds f0, f22, f2, f1
/* 8013D34C 0013A2AC EF 74 00 FA */ fmadds f27, f20, f3, f0
/* 8013D350 0013A2B0 48 00 01 34 */ b lbl_8013D484
lbl_8013D354:
/* 8013D354 0013A2B4 EC 11 F8 28 */ fsubs f0, f17, f31
/* 8013D358 0013A2B8 FC 00 02 10 */ fabs f0, f0
/* 8013D35C 0013A2BC FC 00 E0 40 */ fcmpo cr0, f0, f28
/* 8013D360 0013A2C0 41 80 00 0C */ blt lbl_8013D36C
/* 8013D364 0013A2C4 FC 11 E8 40 */ fcmpo cr0, f17, f29
/* 8013D368 0013A2C8 40 80 00 18 */ bge lbl_8013D380
lbl_8013D36C:
/* 8013D36C 0013A2CC D3 3E 00 00 */ stfs f25, 0(r30)
/* 8013D370 0013A2D0 38 60 00 01 */ li r3, 1
/* 8013D374 0013A2D4 D3 1E 00 04 */ stfs f24, 4(r30)
/* 8013D378 0013A2D8 D2 FE 00 08 */ stfs f23, 8(r30)
/* 8013D37C 0013A2DC 48 00 01 5C */ b lbl_8013D4D8
lbl_8013D380:
/* 8013D380 0013A2E0 EC BF 05 B2 */ fmuls f5, f31, f22
/* 8013D384 0013A2E4 C0 5D 00 04 */ lfs f2, 4(r29)
/* 8013D388 0013A2E8 EC 9F 05 72 */ fmuls f4, f31, f21
/* 8013D38C 0013A2EC C0 1D 00 00 */ lfs f0, 0(r29)
/* 8013D390 0013A2F0 EC 3F 05 32 */ fmuls f1, f31, f20
/* 8013D394 0013A2F4 C0 7D 00 08 */ lfs f3, 8(r29)
/* 8013D398 0013A2F8 EF 18 20 2A */ fadds f24, f24, f4
/* 8013D39C 0013A2FC 38 61 00 08 */ addi r3, r1, 8
/* 8013D3A0 0013A300 EF 39 28 2A */ fadds f25, f25, f5
/* 8013D3A4 0013A304 EE F7 08 2A */ fadds f23, f23, f1
/* 8013D3A8 0013A308 EC 58 10 28 */ fsubs f2, f24, f2
/* 8013D3AC 0013A30C EC 39 00 28 */ fsubs f1, f25, f0
/* 8013D3B0 0013A310 EC 17 18 28 */ fsubs f0, f23, f3
/* 8013D3B4 0013A314 FE 40 88 90 */ fmr f18, f17
/* 8013D3B8 0013A318 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 8013D3BC 0013A31C D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013D3C0 0013A320 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8013D3C4 0013A324 48 1D 6E 3D */ bl __ct__9CVector2fFff
/* 8013D3C8 0013A328 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8013D3CC 0013A32C 38 61 00 54 */ addi r3, r1, 0x54
/* 8013D3D0 0013A330 C0 01 00 08 */ lfs f0, 8(r1)
/* 8013D3D4 0013A334 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 8013D3D8 0013A338 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8013D3DC 0013A33C D3 A1 00 5C */ stfs f29, 0x5c(r1)
/* 8013D3E0 0013A340 48 1D 73 19 */ bl CanBeNormalized__9CVector3fCFv
/* 8013D3E4 0013A344 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D3E8 0013A348 41 82 00 EC */ beq lbl_8013D4D4
/* 8013D3EC 0013A34C 38 61 00 18 */ addi r3, r1, 0x18
/* 8013D3F0 0013A350 38 81 00 54 */ addi r4, r1, 0x54
/* 8013D3F4 0013A354 48 1D 74 5D */ bl AsNormalized__9CVector3fCFv
/* 8013D3F8 0013A358 C1 61 00 1C */ lfs f11, 0x1c(r1)
/* 8013D3FC 0013A35C 38 61 00 48 */ addi r3, r1, 0x48
/* 8013D400 0013A360 C1 81 00 20 */ lfs f12, 0x20(r1)
/* 8013D404 0013A364 C1 1F 00 04 */ lfs f8, 4(r31)
/* 8013D408 0013A368 EC 9A 02 F2 */ fmuls f4, f26, f11
/* 8013D40C 0013A36C C1 21 00 18 */ lfs f9, 0x18(r1)
/* 8013D410 0013A370 EC 7A 03 32 */ fmuls f3, f26, f12
/* 8013D414 0013A374 C0 DF 00 08 */ lfs f6, 8(r31)
/* 8013D418 0013A378 EC 08 03 32 */ fmuls f0, f8, f12
/* 8013D41C 0013A37C C1 5F 00 00 */ lfs f10, 0(r31)
/* 8013D420 0013A380 EC A6 02 72 */ fmuls f5, f6, f9
/* 8013D424 0013A384 C0 5B 00 04 */ lfs f2, 4(r27)
/* 8013D428 0013A388 EC EA 02 F2 */ fmuls f7, f10, f11
/* 8013D42C 0013A38C C0 3B 00 08 */ lfs f1, 8(r27)
/* 8013D430 0013A390 EC CB 01 B8 */ fmsubs f6, f11, f6, f0
/* 8013D434 0013A394 C0 1B 00 00 */ lfs f0, 0(r27)
/* 8013D438 0013A398 EC E9 3A 38 */ fmsubs f7, f9, f8, f7
/* 8013D43C 0013A39C EC AC 2A B8 */ fmsubs f5, f12, f10, f5
/* 8013D440 0013A3A0 ED 18 10 28 */ fsubs f8, f24, f2
/* 8013D444 0013A3A4 EC 5B 01 F2 */ fmuls f2, f27, f7
/* 8013D448 0013A3A8 EC BB 01 72 */ fmuls f5, f27, f5
/* 8013D44C 0013A3AC EC F7 08 28 */ fsubs f7, f23, f1
/* 8013D450 0013A3B0 D1 01 00 4C */ stfs f8, 0x4c(r1)
/* 8013D454 0013A3B4 EC 19 00 28 */ fsubs f0, f25, f0
/* 8013D458 0013A3B8 EC DB 01 B2 */ fmuls f6, f27, f6
/* 8013D45C 0013A3BC EC 3A 02 72 */ fmuls f1, f26, f9
/* 8013D460 0013A3C0 D0 E1 00 50 */ stfs f7, 0x50(r1)
/* 8013D464 0013A3C4 EE A5 20 2A */ fadds f21, f5, f4
/* 8013D468 0013A3C8 EE 82 18 2A */ fadds f20, f2, f3
/* 8013D46C 0013A3CC D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013D470 0013A3D0 EE C6 08 2A */ fadds f22, f6, f1
/* 8013D474 0013A3D4 48 1D 74 45 */ bl Magnitude__9CVector3fCFv
/* 8013D478 0013A3D8 EC 01 F0 24 */ fdivs f0, f1, f30
/* 8013D47C 0013A3DC EE 73 F8 2A */ fadds f19, f19, f31
/* 8013D480 0013A3E0 EE 20 98 28 */ fsubs f17, f0, f19
lbl_8013D484:
/* 8013D484 0013A3E4 FC 11 90 40 */ fcmpo cr0, f17, f18
/* 8013D488 0013A3E8 40 80 00 4C */ bge lbl_8013D4D4
/* 8013D48C 0013A3EC FC 13 80 40 */ fcmpo cr0, f19, f16
/* 8013D490 0013A3F0 41 80 FE C4 */ blt lbl_8013D354
/* 8013D494 0013A3F4 48 00 00 40 */ b lbl_8013D4D4
lbl_8013D498:
/* 8013D498 0013A3F8 FC 20 F0 90 */ fmr f1, f30
/* 8013D49C 0013A3FC 7F 63 DB 78 */ mr r3, r27
/* 8013D4A0 0013A400 7F 84 E3 78 */ mr r4, r28
/* 8013D4A4 0013A404 7F E5 FB 78 */ mr r5, r31
/* 8013D4A8 0013A408 7F C6 F3 78 */ mr r6, r30
/* 8013D4AC 0013A40C 48 00 03 CD */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f
/* 8013D4B0 0013A410 48 00 00 28 */ b lbl_8013D4D8
lbl_8013D4B4:
/* 8013D4B4 0013A414 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8013D4B8 0013A418 38 60 00 01 */ li r3, 1
/* 8013D4BC 0013A41C D0 1E 00 00 */ stfs f0, 0(r30)
/* 8013D4C0 0013A420 C0 1C 00 04 */ lfs f0, 4(r28)
/* 8013D4C4 0013A424 D0 1E 00 04 */ stfs f0, 4(r30)
/* 8013D4C8 0013A428 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8013D4CC 0013A42C D0 1E 00 08 */ stfs f0, 8(r30)
/* 8013D4D0 0013A430 48 00 00 08 */ b lbl_8013D4D8
lbl_8013D4D4:
/* 8013D4D4 0013A434 38 60 00 00 */ li r3, 0
lbl_8013D4D8:
/* 8013D4D8 0013A438 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
/* 8013D4DC 0013A43C CB E1 01 70 */ lfd f31, 0x170(r1)
/* 8013D4E0 0013A440 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
/* 8013D4E4 0013A444 CB C1 01 60 */ lfd f30, 0x160(r1)
/* 8013D4E8 0013A448 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0
/* 8013D4EC 0013A44C CB A1 01 50 */ lfd f29, 0x150(r1)
/* 8013D4F0 0013A450 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0
/* 8013D4F4 0013A454 CB 81 01 40 */ lfd f28, 0x140(r1)
/* 8013D4F8 0013A458 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0
/* 8013D4FC 0013A45C CB 61 01 30 */ lfd f27, 0x130(r1)
/* 8013D500 0013A460 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0
/* 8013D504 0013A464 CB 41 01 20 */ lfd f26, 0x120(r1)
/* 8013D508 0013A468 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0
/* 8013D50C 0013A46C CB 21 01 10 */ lfd f25, 0x110(r1)
/* 8013D510 0013A470 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0
/* 8013D514 0013A474 CB 01 01 00 */ lfd f24, 0x100(r1)
/* 8013D518 0013A478 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0
/* 8013D51C 0013A47C CA E1 00 F0 */ lfd f23, 0xf0(r1)
/* 8013D520 0013A480 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0
/* 8013D524 0013A484 CA C1 00 E0 */ lfd f22, 0xe0(r1)
/* 8013D528 0013A488 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0
/* 8013D52C 0013A48C CA A1 00 D0 */ lfd f21, 0xd0(r1)
/* 8013D530 0013A490 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0
/* 8013D534 0013A494 CA 81 00 C0 */ lfd f20, 0xc0(r1)
/* 8013D538 0013A498 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0
/* 8013D53C 0013A49C CA 61 00 B0 */ lfd f19, 0xb0(r1)
/* 8013D540 0013A4A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0
/* 8013D544 0013A4A4 CA 41 00 A0 */ lfd f18, 0xa0(r1)
/* 8013D548 0013A4A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0
/* 8013D54C 0013A4AC CA 21 00 90 */ lfd f17, 0x90(r1)
/* 8013D550 0013A4B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0
/* 8013D554 0013A4B4 CA 01 00 80 */ lfd f16, 0x80(r1)
/* 8013D558 0013A4B8 BB 61 00 6C */ lmw r27, 0x6c(r1)
/* 8013D55C 0013A4BC 80 01 01 84 */ lwz r0, 0x184(r1)
/* 8013D560 0013A4C0 7C 08 03 A6 */ mtlr r0
/* 8013D564 0013A4C4 38 21 01 80 */ addi r1, r1, 0x180
2022-07-14 05:48:03 +00:00
/* 8013D568 0013A4C8 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f
ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f:
/* 8013D56C 0013A4CC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013D570 0013A4D0 7C 08 02 A6 */ mflr r0
/* 8013D574 0013A4D4 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013D578 0013A4D8 39 21 00 20 */ addi r9, r1, 0x20
/* 8013D57C 0013A4DC BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 8013D580 0013A4E0 7C 9B 23 78 */ mr r27, r4
/* 8013D584 0013A4E4 38 80 00 00 */ li r4, 0
/* 8013D588 0013A4E8 7C BC 2B 78 */ mr r28, r5
/* 8013D58C 0013A4EC 54 80 10 3A */ slwi r0, r4, 2
/* 8013D590 0013A4F0 7C DD 33 78 */ mr r29, r6
/* 8013D594 0013A4F4 7D 09 02 15 */ add. r8, r9, r0
/* 8013D598 0013A4F8 7C FE 3B 78 */ mr r30, r7
/* 8013D59C 0013A4FC 3B E0 00 00 */ li r31, 0
/* 8013D5A0 0013A500 C0 5B 00 04 */ lfs f2, 4(r27)
/* 8013D5A4 0013A504 C0 03 00 04 */ lfs f0, 4(r3)
/* 8013D5A8 0013A508 C0 9B 00 00 */ lfs f4, 0(r27)
/* 8013D5AC 0013A50C EC A2 00 28 */ fsubs f5, f2, f0
/* 8013D5B0 0013A510 C0 03 00 00 */ lfs f0, 0(r3)
/* 8013D5B4 0013A514 C0 7B 00 08 */ lfs f3, 8(r27)
/* 8013D5B8 0013A518 EC E4 00 28 */ fsubs f7, f4, f0
/* 8013D5BC 0013A51C C0 43 00 08 */ lfs f2, 8(r3)
/* 8013D5C0 0013A520 EC 05 01 72 */ fmuls f0, f5, f5
/* 8013D5C4 0013A524 EC C3 10 28 */ fsubs f6, f3, f2
/* 8013D5C8 0013A528 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8013D5CC 0013A52C EC 07 01 FA */ fmadds f0, f7, f7, f0
/* 8013D5D0 0013A530 90 81 00 08 */ stw r4, 8(r1)
/* 8013D5D4 0013A534 EC 06 01 BA */ fmadds f0, f6, f6, f0
/* 8013D5D8 0013A538 41 82 00 08 */ beq lbl_8013D5E0
/* 8013D5DC 0013A53C D0 08 00 00 */ stfs f0, 0(r8)
lbl_8013D5E0:
/* 8013D5E0 0013A540 C0 1C 00 04 */ lfs f0, 4(r28)
/* 8013D5E4 0013A544 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013D5E8 0013A548 EC 05 00 32 */ fmuls f0, f5, f0
/* 8013D5EC 0013A54C C0 5C 00 00 */ lfs f2, 0(r28)
/* 8013D5F0 0013A550 38 63 00 01 */ addi r3, r3, 1
/* 8013D5F4 0013A554 C0 7C 00 08 */ lfs f3, 8(r28)
/* 8013D5F8 0013A558 54 60 10 3A */ slwi r0, r3, 2
/* 8013D5FC 0013A55C C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2)
/* 8013D600 0013A560 EC 07 00 BA */ fmadds f0, f7, f2, f0
/* 8013D604 0013A564 7C 89 02 15 */ add. r4, r9, r0
/* 8013D608 0013A568 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013D60C 0013A56C EC 06 00 FA */ fmadds f0, f6, f3, f0
/* 8013D610 0013A570 EC 04 00 32 */ fmuls f0, f4, f0
/* 8013D614 0013A574 41 82 00 08 */ beq lbl_8013D61C
/* 8013D618 0013A578 D0 04 00 00 */ stfs f0, 0(r4)
lbl_8013D61C:
/* 8013D61C 0013A57C C0 7C 00 00 */ lfs f3, 0(r28)
/* 8013D620 0013A580 C0 5C 00 04 */ lfs f2, 4(r28)
/* 8013D624 0013A584 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8013D628 0013A588 EC 83 00 F2 */ fmuls f4, f3, f3
/* 8013D62C 0013A58C EC 62 00 B2 */ fmuls f3, f2, f2
/* 8013D630 0013A590 C1 1C 00 08 */ lfs f8, 8(r28)
/* 8013D634 0013A594 EC 05 00 32 */ fmuls f0, f5, f0
/* 8013D638 0013A598 C0 5D 00 00 */ lfs f2, 0(r29)
/* 8013D63C 0013A59C EC A8 02 32 */ fmuls f5, f8, f8
/* 8013D640 0013A5A0 EC 64 18 2A */ fadds f3, f4, f3
/* 8013D644 0013A5A4 EC 07 00 BA */ fmadds f0, f7, f2, f0
/* 8013D648 0013A5A8 C0 5D 00 08 */ lfs f2, 8(r29)
/* 8013D64C 0013A5AC 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013D650 0013A5B0 EC 65 18 2A */ fadds f3, f5, f3
/* 8013D654 0013A5B4 EC 06 00 BA */ fmadds f0, f6, f2, f0
/* 8013D658 0013A5B8 38 63 00 01 */ addi r3, r3, 1
/* 8013D65C 0013A5BC 54 60 10 3A */ slwi r0, r3, 2
/* 8013D660 0013A5C0 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013D664 0013A5C4 7C 69 02 15 */ add. r3, r9, r0
/* 8013D668 0013A5C8 EC 03 00 2A */ fadds f0, f3, f0
/* 8013D66C 0013A5CC EC 01 00 7C */ fnmsubs f0, f1, f1, f0
/* 8013D670 0013A5D0 41 82 00 08 */ beq lbl_8013D678
/* 8013D674 0013A5D4 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013D678:
/* 8013D678 0013A5D8 C0 3C 00 04 */ lfs f1, 4(r28)
/* 8013D67C 0013A5DC C0 1D 00 04 */ lfs f0, 4(r29)
/* 8013D680 0013A5E0 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013D684 0013A5E4 EC 01 00 32 */ fmuls f0, f1, f0
/* 8013D688 0013A5E8 C0 5C 00 00 */ lfs f2, 0(r28)
/* 8013D68C 0013A5EC C0 3D 00 00 */ lfs f1, 0(r29)
/* 8013D690 0013A5F0 38 63 00 01 */ addi r3, r3, 1
/* 8013D694 0013A5F4 54 60 10 3A */ slwi r0, r3, 2
/* 8013D698 0013A5F8 C0 7C 00 08 */ lfs f3, 8(r28)
/* 8013D69C 0013A5FC EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 8013D6A0 0013A600 C0 3D 00 08 */ lfs f1, 8(r29)
/* 8013D6A4 0013A604 7C 89 02 15 */ add. r4, r9, r0
/* 8013D6A8 0013A608 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013D6AC 0013A60C EC 03 00 7A */ fmadds f0, f3, f1, f0
/* 8013D6B0 0013A610 41 82 00 08 */ beq lbl_8013D6B8
/* 8013D6B4 0013A614 D0 04 00 00 */ stfs f0, 0(r4)
lbl_8013D6B8:
/* 8013D6B8 0013A618 C0 3D 00 00 */ lfs f1, 0(r29)
/* 8013D6BC 0013A61C C0 1D 00 04 */ lfs f0, 4(r29)
/* 8013D6C0 0013A620 EC 21 00 72 */ fmuls f1, f1, f1
/* 8013D6C4 0013A624 C0 5D 00 08 */ lfs f2, 8(r29)
/* 8013D6C8 0013A628 EC 00 00 32 */ fmuls f0, f0, f0
/* 8013D6CC 0013A62C 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013D6D0 0013A630 EC 42 00 B2 */ fmuls f2, f2, f2
/* 8013D6D4 0013A634 C0 62 9A CC */ lfs f3, lbl_805AB7EC@sda21(r2)
/* 8013D6D8 0013A638 EC 01 00 2A */ fadds f0, f1, f0
/* 8013D6DC 0013A63C 38 63 00 01 */ addi r3, r3, 1
/* 8013D6E0 0013A640 54 60 10 3A */ slwi r0, r3, 2
/* 8013D6E4 0013A644 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013D6E8 0013A648 7C 69 02 15 */ add. r3, r9, r0
/* 8013D6EC 0013A64C EC 02 00 2A */ fadds f0, f2, f0
/* 8013D6F0 0013A650 EC 03 00 32 */ fmuls f0, f3, f0
/* 8013D6F4 0013A654 41 82 00 08 */ beq lbl_8013D6FC
/* 8013D6F8 0013A658 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013D6FC:
/* 8013D6FC 0013A65C 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 8013D700 0013A660 38 61 00 1C */ addi r3, r1, 0x1c
/* 8013D704 0013A664 38 81 00 08 */ addi r4, r1, 8
/* 8013D708 0013A668 38 05 00 01 */ addi r0, r5, 1
/* 8013D70C 0013A66C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013D710 0013A670 48 00 02 75 */ bl "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,5>RQ24rstl20reserved_vector<f,4>"
/* 8013D714 0013A674 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D718 0013A678 41 82 00 A4 */ beq lbl_8013D7BC
/* 8013D71C 0013A67C C0 E2 9A B8 */ lfs f7, lbl_805AB7D8@sda21(r2)
/* 8013D720 0013A680 38 61 00 0C */ addi r3, r1, 0xc
/* 8013D724 0013A684 38 80 00 00 */ li r4, 0
/* 8013D728 0013A688 48 00 00 88 */ b lbl_8013D7B0
lbl_8013D72C:
/* 8013D72C 0013A68C C1 03 00 00 */ lfs f8, 0(r3)
/* 8013D730 0013A690 FC 08 38 40 */ fcmpo cr0, f8, f7
/* 8013D734 0013A694 40 81 00 74 */ ble lbl_8013D7A8
/* 8013D738 0013A698 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2)
/* 8013D73C 0013A69C 3B E0 00 01 */ li r31, 1
/* 8013D740 0013A6A0 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8013D744 0013A6A4 EC 81 02 32 */ fmuls f4, f1, f8
/* 8013D748 0013A6A8 C0 7C 00 04 */ lfs f3, 4(r28)
/* 8013D74C 0013A6AC C0 5C 00 08 */ lfs f2, 8(r28)
/* 8013D750 0013A6B0 EC 08 00 32 */ fmuls f0, f8, f0
/* 8013D754 0013A6B4 C0 3B 00 00 */ lfs f1, 0(r27)
/* 8013D758 0013A6B8 EC A8 00 F2 */ fmuls f5, f8, f3
/* 8013D75C 0013A6BC ED 24 02 32 */ fmuls f9, f4, f8
/* 8013D760 0013A6C0 C0 7D 00 00 */ lfs f3, 0(r29)
/* 8013D764 0013A6C4 C0 DB 00 04 */ lfs f6, 4(r27)
/* 8013D768 0013A6C8 EC 01 00 2A */ fadds f0, f1, f0
/* 8013D76C 0013A6CC C0 9D 00 04 */ lfs f4, 4(r29)
/* 8013D770 0013A6D0 EC 48 00 B2 */ fmuls f2, f8, f2
/* 8013D774 0013A6D4 ED 09 00 F2 */ fmuls f8, f9, f3
/* 8013D778 0013A6D8 C0 7B 00 08 */ lfs f3, 8(r27)
/* 8013D77C 0013A6DC C0 3D 00 08 */ lfs f1, 8(r29)
/* 8013D780 0013A6E0 EC A6 28 2A */ fadds f5, f6, f5
/* 8013D784 0013A6E4 EC 89 01 32 */ fmuls f4, f9, f4
/* 8013D788 0013A6E8 EC 00 40 2A */ fadds f0, f0, f8
/* 8013D78C 0013A6EC EC 43 10 2A */ fadds f2, f3, f2
/* 8013D790 0013A6F0 EC 29 00 72 */ fmuls f1, f9, f1
/* 8013D794 0013A6F4 EC 65 20 2A */ fadds f3, f5, f4
/* 8013D798 0013A6F8 D0 1E 00 00 */ stfs f0, 0(r30)
/* 8013D79C 0013A6FC EC 02 08 2A */ fadds f0, f2, f1
/* 8013D7A0 0013A700 D0 7E 00 04 */ stfs f3, 4(r30)
/* 8013D7A4 0013A704 D0 1E 00 08 */ stfs f0, 8(r30)
lbl_8013D7A8:
/* 8013D7A8 0013A708 38 63 00 04 */ addi r3, r3, 4
/* 8013D7AC 0013A70C 38 84 00 01 */ addi r4, r4, 1
lbl_8013D7B0:
/* 8013D7B0 0013A710 80 01 00 08 */ lwz r0, 8(r1)
/* 8013D7B4 0013A714 7C 04 00 00 */ cmpw r4, r0
/* 8013D7B8 0013A718 41 80 FF 74 */ blt lbl_8013D72C
lbl_8013D7BC:
/* 8013D7BC 0013A71C 80 C1 00 08 */ lwz r6, 8(r1)
/* 8013D7C0 0013A720 57 E3 06 3E */ clrlwi r3, r31, 0x18
/* 8013D7C4 0013A724 38 80 00 00 */ li r4, 0
/* 8013D7C8 0013A728 2C 06 00 00 */ cmpwi r6, 0
/* 8013D7CC 0013A72C 40 81 00 40 */ ble lbl_8013D80C
/* 8013D7D0 0013A730 2C 06 00 08 */ cmpwi r6, 8
/* 8013D7D4 0013A734 38 A6 FF F8 */ addi r5, r6, -8
/* 8013D7D8 0013A738 40 81 00 20 */ ble lbl_8013D7F8
/* 8013D7DC 0013A73C 38 05 00 07 */ addi r0, r5, 7
/* 8013D7E0 0013A740 54 00 E8 FE */ srwi r0, r0, 3
/* 8013D7E4 0013A744 7C 09 03 A6 */ mtctr r0
/* 8013D7E8 0013A748 2C 05 00 00 */ cmpwi r5, 0
/* 8013D7EC 0013A74C 40 81 00 0C */ ble lbl_8013D7F8
lbl_8013D7F0:
/* 8013D7F0 0013A750 38 84 00 08 */ addi r4, r4, 8
/* 8013D7F4 0013A754 42 00 FF FC */ bdnz lbl_8013D7F0
lbl_8013D7F8:
/* 8013D7F8 0013A758 7C 04 30 50 */ subf r0, r4, r6
/* 8013D7FC 0013A75C 7C 09 03 A6 */ mtctr r0
/* 8013D800 0013A760 7C 04 30 00 */ cmpw r4, r6
/* 8013D804 0013A764 40 80 00 08 */ bge lbl_8013D80C
lbl_8013D808:
/* 8013D808 0013A768 42 00 00 00 */ bdnz lbl_8013D808
lbl_8013D80C:
/* 8013D80C 0013A76C 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8013D810 0013A770 38 80 00 00 */ li r4, 0
/* 8013D814 0013A774 90 81 00 08 */ stw r4, 8(r1)
/* 8013D818 0013A778 2C 06 00 00 */ cmpwi r6, 0
/* 8013D81C 0013A77C 40 81 00 40 */ ble lbl_8013D85C
/* 8013D820 0013A780 2C 06 00 08 */ cmpwi r6, 8
/* 8013D824 0013A784 38 A6 FF F8 */ addi r5, r6, -8
/* 8013D828 0013A788 40 81 00 20 */ ble lbl_8013D848
/* 8013D82C 0013A78C 38 05 00 07 */ addi r0, r5, 7
/* 8013D830 0013A790 54 00 E8 FE */ srwi r0, r0, 3
/* 8013D834 0013A794 7C 09 03 A6 */ mtctr r0
/* 8013D838 0013A798 2C 05 00 00 */ cmpwi r5, 0
/* 8013D83C 0013A79C 40 81 00 0C */ ble lbl_8013D848
lbl_8013D840:
/* 8013D840 0013A7A0 38 84 00 08 */ addi r4, r4, 8
/* 8013D844 0013A7A4 42 00 FF FC */ bdnz lbl_8013D840
lbl_8013D848:
/* 8013D848 0013A7A8 7C 04 30 50 */ subf r0, r4, r6
/* 8013D84C 0013A7AC 7C 09 03 A6 */ mtctr r0
/* 8013D850 0013A7B0 7C 04 30 00 */ cmpw r4, r6
/* 8013D854 0013A7B4 40 80 00 08 */ bge lbl_8013D85C
lbl_8013D858:
/* 8013D858 0013A7B8 42 00 00 00 */ bdnz lbl_8013D858
lbl_8013D85C:
/* 8013D85C 0013A7BC 38 00 00 00 */ li r0, 0
/* 8013D860 0013A7C0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013D864 0013A7C4 BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 8013D868 0013A7C8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013D86C 0013A7CC 7C 08 03 A6 */ mtlr r0
/* 8013D870 0013A7D0 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013D874 0013A7D4 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f
ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f:
/* 8013D878 0013A7D8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D87C 0013A7DC 7C 08 02 A6 */ mflr r0
/* 8013D880 0013A7E0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D884 0013A7E4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013D888 0013A7E8 7C DF 33 78 */ mr r31, r6
/* 8013D88C 0013A7EC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013D890 0013A7F0 7C BE 2B 78 */ mr r30, r5
/* 8013D894 0013A7F4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013D898 0013A7F8 7C 9D 23 78 */ mr r29, r4
/* 8013D89C 0013A7FC C0 44 00 04 */ lfs f2, 4(r4)
/* 8013D8A0 0013A800 38 81 00 08 */ addi r4, r1, 8
/* 8013D8A4 0013A804 C0 03 00 04 */ lfs f0, 4(r3)
/* 8013D8A8 0013A808 C0 A5 00 04 */ lfs f5, 4(r5)
/* 8013D8AC 0013A80C EC E2 00 28 */ fsubs f7, f2, f0
/* 8013D8B0 0013A810 C0 DD 00 00 */ lfs f6, 0(r29)
/* 8013D8B4 0013A814 C0 03 00 00 */ lfs f0, 0(r3)
/* 8013D8B8 0013A818 EC 65 01 72 */ fmuls f3, f5, f5
/* 8013D8BC 0013A81C C0 83 00 08 */ lfs f4, 8(r3)
/* 8013D8C0 0013A820 38 61 00 0C */ addi r3, r1, 0xc
/* 8013D8C4 0013A824 EC 45 01 F2 */ fmuls f2, f5, f7
/* 8013D8C8 0013A828 C1 25 00 00 */ lfs f9, 0(r5)
/* 8013D8CC 0013A82C ED 06 00 28 */ fsubs f8, f6, f0
/* 8013D8D0 0013A830 C0 BD 00 08 */ lfs f5, 8(r29)
/* 8013D8D4 0013A834 EC 07 01 F2 */ fmuls f0, f7, f7
/* 8013D8D8 0013A838 C0 E5 00 08 */ lfs f7, 8(r5)
/* 8013D8DC 0013A83C EC C5 20 28 */ fsubs f6, f5, f4
/* 8013D8E0 0013A840 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2)
/* 8013D8E4 0013A844 EC 69 1A 7A */ fmadds f3, f9, f9, f3
/* 8013D8E8 0013A848 EC 49 12 3A */ fmadds f2, f9, f8, f2
/* 8013D8EC 0013A84C EC 08 02 3A */ fmadds f0, f8, f8, f0
/* 8013D8F0 0013A850 EC A7 19 FA */ fmadds f5, f7, f7, f3
/* 8013D8F4 0013A854 EC 47 11 BA */ fmadds f2, f7, f6, f2
/* 8013D8F8 0013A858 EC 66 01 BA */ fmadds f3, f6, f6, f0
/* 8013D8FC 0013A85C EC 21 28 7C */ fnmsubs f1, f1, f1, f5
/* 8013D900 0013A860 EC 44 00 B2 */ fmuls f2, f4, f2
/* 8013D904 0013A864 48 00 0A F1 */ bl SolveQuadratic__18CSteeringBehaviorsFfffRfRf
/* 8013D908 0013A868 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013D90C 0013A86C 41 82 00 58 */ beq lbl_8013D964
/* 8013D910 0013A870 C0 C1 00 08 */ lfs f6, 8(r1)
/* 8013D914 0013A874 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013D918 0013A878 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 8013D91C 0013A87C 40 81 00 48 */ ble lbl_8013D964
/* 8013D920 0013A880 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8013D924 0013A884 38 60 00 01 */ li r3, 1
/* 8013D928 0013A888 C0 7E 00 04 */ lfs f3, 4(r30)
/* 8013D92C 0013A88C EC 06 00 32 */ fmuls f0, f6, f0
/* 8013D930 0013A890 C0 3D 00 00 */ lfs f1, 0(r29)
/* 8013D934 0013A894 C0 5E 00 08 */ lfs f2, 8(r30)
/* 8013D938 0013A898 EC 86 00 F2 */ fmuls f4, f6, f3
/* 8013D93C 0013A89C C0 BD 00 04 */ lfs f5, 4(r29)
/* 8013D940 0013A8A0 EC 01 00 2A */ fadds f0, f1, f0
/* 8013D944 0013A8A4 C0 7D 00 08 */ lfs f3, 8(r29)
/* 8013D948 0013A8A8 EC 26 00 B2 */ fmuls f1, f6, f2
/* 8013D94C 0013A8AC EC 45 20 2A */ fadds f2, f5, f4
/* 8013D950 0013A8B0 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8013D954 0013A8B4 EC 03 08 2A */ fadds f0, f3, f1
/* 8013D958 0013A8B8 D0 5F 00 04 */ stfs f2, 4(r31)
/* 8013D95C 0013A8BC D0 1F 00 08 */ stfs f0, 8(r31)
/* 8013D960 0013A8C0 48 00 00 08 */ b lbl_8013D968
lbl_8013D964:
/* 8013D964 0013A8C4 38 60 00 00 */ li r3, 0
lbl_8013D968:
/* 8013D968 0013A8C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D96C 0013A8CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013D970 0013A8D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013D974 0013A8D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013D978 0013A8D8 7C 08 03 A6 */ mtlr r0
/* 8013D97C 0013A8DC 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8013D980 0013A8E0 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,5>RQ24rstl20reserved_vector<f,4>"
"SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,5>RQ24rstl20reserved_vector<f,4>":
/* 8013D984 0013A8E4 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8013D988 0013A8E8 7C 08 02 A6 */ mflr r0
/* 8013D98C 0013A8EC 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8013D990 0013A8F0 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 8013D994 0013A8F4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 8013D998 0013A8F8 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 8013D99C 0013A8FC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 8013D9A0 0013A900 DB A1 00 80 */ stfd f29, 0x80(r1)
/* 8013D9A4 0013A904 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0
/* 8013D9A8 0013A908 DB 81 00 70 */ stfd f28, 0x70(r1)
/* 8013D9AC 0013A90C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0
/* 8013D9B0 0013A910 DB 61 00 60 */ stfd f27, 0x60(r1)
/* 8013D9B4 0013A914 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0
/* 8013D9B8 0013A918 DB 41 00 50 */ stfd f26, 0x50(r1)
/* 8013D9BC 0013A91C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0
/* 8013D9C0 0013A920 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8013D9C4 0013A924 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8013D9C8 0013A928 7C 7E 1B 78 */ mr r30, r3
/* 8013D9CC 0013A92C C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013D9D0 0013A930 C1 63 00 14 */ lfs f11, 0x14(r3)
/* 8013D9D4 0013A934 7C 9F 23 78 */ mr r31, r4
/* 8013D9D8 0013A938 FC 00 58 00 */ fcmpu cr0, f0, f11
/* 8013D9DC 0013A93C 40 82 00 F4 */ bne lbl_8013DAD0
/* 8013D9E0 0013A940 38 60 00 00 */ li r3, 0
/* 8013D9E4 0013A944 38 81 00 34 */ addi r4, r1, 0x34
/* 8013D9E8 0013A948 54 60 10 3A */ slwi r0, r3, 2
/* 8013D9EC 0013A94C 90 61 00 30 */ stw r3, 0x30(r1)
/* 8013D9F0 0013A950 7C 64 02 15 */ add. r3, r4, r0
/* 8013D9F4 0013A954 41 82 00 0C */ beq lbl_8013DA00
/* 8013D9F8 0013A958 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013D9FC 0013A95C D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DA00:
/* 8013DA00 0013A960 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8013DA04 0013A964 38 63 00 01 */ addi r3, r3, 1
/* 8013DA08 0013A968 54 60 10 3A */ slwi r0, r3, 2
/* 8013DA0C 0013A96C 90 61 00 30 */ stw r3, 0x30(r1)
/* 8013DA10 0013A970 7C 64 02 15 */ add. r3, r4, r0
/* 8013DA14 0013A974 41 82 00 0C */ beq lbl_8013DA20
/* 8013DA18 0013A978 C0 1E 00 08 */ lfs f0, 8(r30)
/* 8013DA1C 0013A97C D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DA20:
/* 8013DA20 0013A980 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8013DA24 0013A984 38 63 00 01 */ addi r3, r3, 1
/* 8013DA28 0013A988 54 60 10 3A */ slwi r0, r3, 2
/* 8013DA2C 0013A98C 90 61 00 30 */ stw r3, 0x30(r1)
/* 8013DA30 0013A990 7C 64 02 15 */ add. r3, r4, r0
/* 8013DA34 0013A994 41 82 00 0C */ beq lbl_8013DA40
/* 8013DA38 0013A998 C0 1E 00 0C */ lfs f0, 0xc(r30)
/* 8013DA3C 0013A99C D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DA40:
/* 8013DA40 0013A9A0 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8013DA44 0013A9A4 38 63 00 01 */ addi r3, r3, 1
/* 8013DA48 0013A9A8 54 60 10 3A */ slwi r0, r3, 2
/* 8013DA4C 0013A9AC 90 61 00 30 */ stw r3, 0x30(r1)
/* 8013DA50 0013A9B0 7C 64 02 15 */ add. r3, r4, r0
/* 8013DA54 0013A9B4 41 82 00 0C */ beq lbl_8013DA60
/* 8013DA58 0013A9B8 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8013DA5C 0013A9BC D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DA60:
/* 8013DA60 0013A9C0 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 8013DA64 0013A9C4 7F E4 FB 78 */ mr r4, r31
/* 8013DA68 0013A9C8 38 61 00 30 */ addi r3, r1, 0x30
/* 8013DA6C 0013A9CC 38 05 00 01 */ addi r0, r5, 1
/* 8013DA70 0013A9D0 90 01 00 30 */ stw r0, 0x30(r1)
/* 8013DA74 0013A9D4 48 00 05 81 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,4>RQ24rstl20reserved_vector<f,4>"
/* 8013DA78 0013A9D8 80 C1 00 30 */ lwz r6, 0x30(r1)
/* 8013DA7C 0013A9DC 38 80 00 00 */ li r4, 0
/* 8013DA80 0013A9E0 2C 06 00 00 */ cmpwi r6, 0
/* 8013DA84 0013A9E4 40 81 00 40 */ ble lbl_8013DAC4
/* 8013DA88 0013A9E8 2C 06 00 08 */ cmpwi r6, 8
/* 8013DA8C 0013A9EC 38 A6 FF F8 */ addi r5, r6, -8
/* 8013DA90 0013A9F0 40 81 00 20 */ ble lbl_8013DAB0
/* 8013DA94 0013A9F4 38 05 00 07 */ addi r0, r5, 7
/* 8013DA98 0013A9F8 54 00 E8 FE */ srwi r0, r0, 3
/* 8013DA9C 0013A9FC 7C 09 03 A6 */ mtctr r0
/* 8013DAA0 0013AA00 2C 05 00 00 */ cmpwi r5, 0
/* 8013DAA4 0013AA04 40 81 00 0C */ ble lbl_8013DAB0
lbl_8013DAA8:
/* 8013DAA8 0013AA08 38 84 00 08 */ addi r4, r4, 8
/* 8013DAAC 0013AA0C 42 00 FF FC */ bdnz lbl_8013DAA8
lbl_8013DAB0:
/* 8013DAB0 0013AA10 7C 04 30 50 */ subf r0, r4, r6
/* 8013DAB4 0013AA14 7C 09 03 A6 */ mtctr r0
/* 8013DAB8 0013AA18 7C 04 30 00 */ cmpw r4, r6
/* 8013DABC 0013AA1C 40 80 00 08 */ bge lbl_8013DAC4
lbl_8013DAC0:
/* 8013DAC0 0013AA20 42 00 00 00 */ bdnz lbl_8013DAC0
lbl_8013DAC4:
/* 8013DAC4 0013AA24 38 00 00 00 */ li r0, 0
/* 8013DAC8 0013AA28 90 01 00 30 */ stw r0, 0x30(r1)
/* 8013DACC 0013AA2C 48 00 04 E0 */ b lbl_8013DFAC
lbl_8013DAD0:
/* 8013DAD0 0013AA30 C1 22 9A C4 */ lfs f9, lbl_805AB7E4@sda21(r2)
/* 8013DAD4 0013AA34 38 60 00 00 */ li r3, 0
/* 8013DAD8 0013AA38 C0 DE 00 0C */ lfs f6, 0xc(r30)
/* 8013DADC 0013AA3C 38 A1 00 20 */ addi r5, r1, 0x20
/* 8013DAE0 0013AA40 ED 09 02 F2 */ fmuls f8, f9, f11
/* 8013DAE4 0013AA44 C1 5E 00 10 */ lfs f10, 0x10(r30)
/* 8013DAE8 0013AA48 C0 62 9A C8 */ lfs f3, lbl_805AB7E8@sda21(r2)
/* 8013DAEC 0013AA4C 54 60 10 3A */ slwi r0, r3, 2
/* 8013DAF0 0013AA50 C0 5E 00 08 */ lfs f2, 8(r30)
/* 8013DAF4 0013AA54 EC A6 58 24 */ fdivs f5, f6, f11
/* 8013DAF8 0013AA58 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013DAFC 0013AA5C 7C 85 02 15 */ add. r4, r5, r0
/* 8013DB00 0013AA60 C0 22 9A DC */ lfs f1, lbl_805AB7FC@sda21(r2)
/* 8013DB04 0013AA64 C0 82 9A D8 */ lfs f4, lbl_805AB7F8@sda21(r2)
/* 8013DB08 0013AA68 C0 E2 9A D4 */ lfs f7, lbl_805AB7F4@sda21(r2)
/* 8013DB0C 0013AA6C EF CA 40 24 */ fdivs f30, f10, f8
/* 8013DB10 0013AA70 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013DB14 0013AA74 EC 63 01 B2 */ fmuls f3, f3, f6
/* 8013DB18 0013AA78 EC 21 07 B2 */ fmuls f1, f1, f30
/* 8013DB1C 0013AA7C EC C7 07 B2 */ fmuls f6, f7, f30
/* 8013DB20 0013AA80 EC 63 58 24 */ fdivs f3, f3, f11
/* 8013DB24 0013AA84 EC 84 07 B2 */ fmuls f4, f4, f30
/* 8013DB28 0013AA88 EC 42 58 24 */ fdivs f2, f2, f11
/* 8013DB2C 0013AA8C EC 21 2F BA */ fmadds f1, f1, f30, f5
/* 8013DB30 0013AA90 EC 64 1F B8 */ fmsubs f3, f4, f30, f3
/* 8013DB34 0013AA94 EC 00 58 24 */ fdivs f0, f0, f11
/* 8013DB38 0013AA98 EC 3E 10 78 */ fmsubs f1, f30, f1, f2
/* 8013DB3C 0013AA9C EF BE 10 FA */ fmadds f29, f30, f3, f2
/* 8013DB40 0013AAA0 EF E6 2F BA */ fmadds f31, f6, f30, f5
/* 8013DB44 0013AAA4 EF 9E 00 7A */ fmadds f28, f30, f1, f0
/* 8013DB48 0013AAA8 EC 1D 07 72 */ fmuls f0, f29, f29
/* 8013DB4C 0013AAAC EC 29 07 32 */ fmuls f1, f9, f28
/* 8013DB50 0013AAB0 EC 01 07 F8 */ fmsubs f0, f1, f31, f0
/* 8013DB54 0013AAB4 41 82 00 08 */ beq lbl_8013DB5C
/* 8013DB58 0013AAB8 D0 04 00 00 */ stfs f0, 0(r4)
lbl_8013DB5C:
/* 8013DB5C 0013AABC 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013DB60 0013AAC0 C0 02 9A E0 */ lfs f0, lbl_805AB800@sda21(r2)
/* 8013DB64 0013AAC4 38 63 00 01 */ addi r3, r3, 1
/* 8013DB68 0013AAC8 54 60 10 3A */ slwi r0, r3, 2
/* 8013DB6C 0013AACC EC 00 07 32 */ fmuls f0, f0, f28
/* 8013DB70 0013AAD0 7C 85 02 15 */ add. r4, r5, r0
/* 8013DB74 0013AAD4 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013DB78 0013AAD8 41 82 00 08 */ beq lbl_8013DB80
/* 8013DB7C 0013AADC D0 04 00 00 */ stfs f0, 0(r4)
lbl_8013DB80:
/* 8013DB80 0013AAE0 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013DB84 0013AAE4 C0 02 9A E4 */ lfs f0, lbl_805AB804@sda21(r2)
/* 8013DB88 0013AAE8 38 63 00 01 */ addi r3, r3, 1
/* 8013DB8C 0013AAEC 54 60 10 3A */ slwi r0, r3, 2
/* 8013DB90 0013AAF0 EC 00 07 F2 */ fmuls f0, f0, f31
/* 8013DB94 0013AAF4 7C 85 02 15 */ add. r4, r5, r0
/* 8013DB98 0013AAF8 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013DB9C 0013AAFC 41 82 00 08 */ beq lbl_8013DBA4
/* 8013DBA0 0013AB00 D0 04 00 00 */ stfs f0, 0(r4)
lbl_8013DBA4:
/* 8013DBA4 0013AB04 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8013DBA8 0013AB08 38 63 00 01 */ addi r3, r3, 1
/* 8013DBAC 0013AB0C 54 60 10 3A */ slwi r0, r3, 2
/* 8013DBB0 0013AB10 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013DBB4 0013AB14 7C 65 02 15 */ add. r3, r5, r0
/* 8013DBB8 0013AB18 41 82 00 0C */ beq lbl_8013DBC4
/* 8013DBBC 0013AB1C C0 0D 8B 90 */ lfs f0, lbl_805A7750@sda21(r13)
/* 8013DBC0 0013AB20 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DBC4:
/* 8013DBC4 0013AB24 80 81 00 1C */ lwz r4, 0x1c(r1)
/* 8013DBC8 0013AB28 38 00 00 00 */ li r0, 0
/* 8013DBCC 0013AB2C 90 01 00 08 */ stw r0, 8(r1)
/* 8013DBD0 0013AB30 38 61 00 1C */ addi r3, r1, 0x1c
/* 8013DBD4 0013AB34 38 04 00 01 */ addi r0, r4, 1
/* 8013DBD8 0013AB38 38 81 00 08 */ addi r4, r1, 8
/* 8013DBDC 0013AB3C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013DBE0 0013AB40 48 00 04 15 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,4>RQ24rstl20reserved_vector<f,4>"
/* 8013DBE4 0013AB44 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013DBE8 0013AB48 41 82 03 10 */ beq lbl_8013DEF8
/* 8013DBEC 0013AB4C 80 81 00 08 */ lwz r4, 8(r1)
/* 8013DBF0 0013AB50 38 61 00 0C */ addi r3, r1, 0xc
/* 8013DBF4 0013AB54 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2)
/* 8013DBF8 0013AB58 38 04 FF FF */ addi r0, r4, -1
/* 8013DBFC 0013AB5C 54 00 10 3A */ slwi r0, r0, 2
/* 8013DC00 0013AB60 7F 63 04 2E */ lfsx f27, r3, r0
/* 8013DC04 0013AB64 EF 40 FE F8 */ fmsubs f26, f0, f27, f31
/* 8013DC08 0013AB68 FC 20 D0 90 */ fmr f1, f26
/* 8013DC0C 0013AB6C 48 1D 78 F5 */ bl SqrtF__5CMathFf
/* 8013DC10 0013AB70 FF E0 08 90 */ fmr f31, f1
/* 8013DC14 0013AB74 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013DC18 0013AB78 FC 00 F8 00 */ fcmpu cr0, f0, f31
/* 8013DC1C 0013AB7C 40 82 00 C4 */ bne lbl_8013DCE0
/* 8013DC20 0013AB80 EC 3B E6 F8 */ fmsubs f1, f27, f27, f28
/* 8013DC24 0013AB84 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DC28 0013AB88 40 80 00 B0 */ bge lbl_8013DCD8
/* 8013DC2C 0013AB8C 80 A1 00 08 */ lwz r5, 8(r1)
/* 8013DC30 0013AB90 38 60 00 00 */ li r3, 0
/* 8013DC34 0013AB94 2C 05 00 00 */ cmpwi r5, 0
/* 8013DC38 0013AB98 40 81 00 40 */ ble lbl_8013DC78
/* 8013DC3C 0013AB9C 2C 05 00 08 */ cmpwi r5, 8
/* 8013DC40 0013ABA0 38 85 FF F8 */ addi r4, r5, -8
/* 8013DC44 0013ABA4 40 81 00 20 */ ble lbl_8013DC64
/* 8013DC48 0013ABA8 38 04 00 07 */ addi r0, r4, 7
/* 8013DC4C 0013ABAC 54 00 E8 FE */ srwi r0, r0, 3
/* 8013DC50 0013ABB0 7C 09 03 A6 */ mtctr r0
/* 8013DC54 0013ABB4 2C 04 00 00 */ cmpwi r4, 0
/* 8013DC58 0013ABB8 40 81 00 0C */ ble lbl_8013DC64
lbl_8013DC5C:
/* 8013DC5C 0013ABBC 38 63 00 08 */ addi r3, r3, 8
/* 8013DC60 0013ABC0 42 00 FF FC */ bdnz lbl_8013DC5C
lbl_8013DC64:
/* 8013DC64 0013ABC4 7C 03 28 50 */ subf r0, r3, r5
/* 8013DC68 0013ABC8 7C 09 03 A6 */ mtctr r0
/* 8013DC6C 0013ABCC 7C 03 28 00 */ cmpw r3, r5
/* 8013DC70 0013ABD0 40 80 00 08 */ bge lbl_8013DC78
lbl_8013DC74:
/* 8013DC74 0013ABD4 42 00 00 00 */ bdnz lbl_8013DC74
lbl_8013DC78:
/* 8013DC78 0013ABD8 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 8013DC7C 0013ABDC 38 60 00 00 */ li r3, 0
/* 8013DC80 0013ABE0 90 61 00 08 */ stw r3, 8(r1)
/* 8013DC84 0013ABE4 2C 05 00 00 */ cmpwi r5, 0
/* 8013DC88 0013ABE8 40 81 00 40 */ ble lbl_8013DCC8
/* 8013DC8C 0013ABEC 2C 05 00 08 */ cmpwi r5, 8
/* 8013DC90 0013ABF0 38 85 FF F8 */ addi r4, r5, -8
/* 8013DC94 0013ABF4 40 81 00 20 */ ble lbl_8013DCB4
/* 8013DC98 0013ABF8 38 04 00 07 */ addi r0, r4, 7
/* 8013DC9C 0013ABFC 54 00 E8 FE */ srwi r0, r0, 3
/* 8013DCA0 0013AC00 7C 09 03 A6 */ mtctr r0
/* 8013DCA4 0013AC04 2C 04 00 00 */ cmpwi r4, 0
/* 8013DCA8 0013AC08 40 81 00 0C */ ble lbl_8013DCB4
lbl_8013DCAC:
/* 8013DCAC 0013AC0C 38 63 00 08 */ addi r3, r3, 8
/* 8013DCB0 0013AC10 42 00 FF FC */ bdnz lbl_8013DCAC
lbl_8013DCB4:
/* 8013DCB4 0013AC14 7C 03 28 50 */ subf r0, r3, r5
/* 8013DCB8 0013AC18 7C 09 03 A6 */ mtctr r0
/* 8013DCBC 0013AC1C 7C 03 28 00 */ cmpw r3, r5
/* 8013DCC0 0013AC20 40 80 00 08 */ bge lbl_8013DCC8
lbl_8013DCC4:
/* 8013DCC4 0013AC24 42 00 00 00 */ bdnz lbl_8013DCC4
lbl_8013DCC8:
/* 8013DCC8 0013AC28 38 00 00 00 */ li r0, 0
/* 8013DCCC 0013AC2C 38 60 00 00 */ li r3, 0
/* 8013DCD0 0013AC30 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013DCD4 0013AC34 48 00 02 D8 */ b lbl_8013DFAC
lbl_8013DCD8:
/* 8013DCD8 0013AC38 48 1D 78 29 */ bl SqrtF__5CMathFf
/* 8013DCDC 0013AC3C 48 00 00 10 */ b lbl_8013DCEC
lbl_8013DCE0:
/* 8013DCE0 0013AC40 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2)
/* 8013DCE4 0013AC44 EC 00 07 F2 */ fmuls f0, f0, f31
/* 8013DCE8 0013AC48 EC 3D 00 24 */ fdivs f1, f29, f0
lbl_8013DCEC:
/* 8013DCEC 0013AC4C EC 7B 08 2A */ fadds f3, f27, f1
/* 8013DCF0 0013AC50 C0 82 9A C4 */ lfs f4, lbl_805AB7E4@sda21(r2)
/* 8013DCF4 0013AC54 EC 5B 08 28 */ fsubs f2, f27, f1
/* 8013DCF8 0013AC58 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013DCFC 0013AC5C EC 24 D0 FC */ fnmsubs f1, f4, f3, f26
/* 8013DD00 0013AC60 EF 44 D0 BC */ fnmsubs f26, f4, f2, f26
/* 8013DD04 0013AC64 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DD08 0013AC68 4C 41 13 82 */ cror 2, 1, 2
/* 8013DD0C 0013AC6C 40 82 00 68 */ bne lbl_8013DD74
/* 8013DD10 0013AC70 48 1D 77 F1 */ bl SqrtF__5CMathFf
/* 8013DD14 0013AC74 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013DD18 0013AC78 EC 1F 08 28 */ fsubs f0, f31, f1
/* 8013DD1C 0013AC7C C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2)
/* 8013DD20 0013AC80 54 00 10 3A */ slwi r0, r0, 2
/* 8013DD24 0013AC84 7C 7F 02 14 */ add r3, r31, r0
/* 8013DD28 0013AC88 EC 02 F0 38 */ fmsubs f0, f2, f0, f30
/* 8013DD2C 0013AC8C 34 63 00 04 */ addic. r3, r3, 4
/* 8013DD30 0013AC90 41 82 00 08 */ beq lbl_8013DD38
/* 8013DD34 0013AC94 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DD38:
/* 8013DD38 0013AC98 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013DD3C 0013AC9C EC 1F 08 2A */ fadds f0, f31, f1
/* 8013DD40 0013ACA0 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2)
/* 8013DD44 0013ACA4 38 03 00 01 */ addi r0, r3, 1
/* 8013DD48 0013ACA8 90 1F 00 00 */ stw r0, 0(r31)
/* 8013DD4C 0013ACAC EC 01 F0 38 */ fmsubs f0, f1, f0, f30
/* 8013DD50 0013ACB0 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013DD54 0013ACB4 54 00 10 3A */ slwi r0, r0, 2
/* 8013DD58 0013ACB8 7C 7F 02 14 */ add r3, r31, r0
/* 8013DD5C 0013ACBC 34 63 00 04 */ addic. r3, r3, 4
/* 8013DD60 0013ACC0 41 82 00 08 */ beq lbl_8013DD68
/* 8013DD64 0013ACC4 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DD68:
/* 8013DD68 0013ACC8 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013DD6C 0013ACCC 38 03 00 01 */ addi r0, r3, 1
/* 8013DD70 0013ACD0 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013DD74:
/* 8013DD74 0013ACD4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013DD78 0013ACD8 FC 1A 00 40 */ fcmpo cr0, f26, f0
/* 8013DD7C 0013ACDC 4C 41 13 82 */ cror 2, 1, 2
/* 8013DD80 0013ACE0 40 82 00 70 */ bne lbl_8013DDF0
/* 8013DD84 0013ACE4 FC 20 D0 90 */ fmr f1, f26
/* 8013DD88 0013ACE8 48 1D 77 79 */ bl SqrtF__5CMathFf
/* 8013DD8C 0013ACEC FC 60 F8 50 */ fneg f3, f31
/* 8013DD90 0013ACF0 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013DD94 0013ACF4 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2)
/* 8013DD98 0013ACF8 54 00 10 3A */ slwi r0, r0, 2
/* 8013DD9C 0013ACFC EC 03 08 28 */ fsubs f0, f3, f1
/* 8013DDA0 0013AD00 7C 7F 02 14 */ add r3, r31, r0
/* 8013DDA4 0013AD04 34 63 00 04 */ addic. r3, r3, 4
/* 8013DDA8 0013AD08 EC 02 F0 38 */ fmsubs f0, f2, f0, f30
/* 8013DDAC 0013AD0C 41 82 00 08 */ beq lbl_8013DDB4
/* 8013DDB0 0013AD10 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DDB4:
/* 8013DDB4 0013AD14 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013DDB8 0013AD18 EC 03 08 2A */ fadds f0, f3, f1
/* 8013DDBC 0013AD1C C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2)
/* 8013DDC0 0013AD20 38 03 00 01 */ addi r0, r3, 1
/* 8013DDC4 0013AD24 90 1F 00 00 */ stw r0, 0(r31)
/* 8013DDC8 0013AD28 EC 01 F0 38 */ fmsubs f0, f1, f0, f30
/* 8013DDCC 0013AD2C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013DDD0 0013AD30 54 00 10 3A */ slwi r0, r0, 2
/* 8013DDD4 0013AD34 7C 7F 02 14 */ add r3, r31, r0
/* 8013DDD8 0013AD38 34 63 00 04 */ addic. r3, r3, 4
/* 8013DDDC 0013AD3C 41 82 00 08 */ beq lbl_8013DDE4
/* 8013DDE0 0013AD40 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DDE4:
/* 8013DDE4 0013AD44 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013DDE8 0013AD48 38 03 00 01 */ addi r0, r3, 1
/* 8013DDEC 0013AD4C 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013DDF0:
/* 8013DDF0 0013AD50 C0 A2 9A C8 */ lfs f5, lbl_805AB7E8@sda21(r2)
/* 8013DDF4 0013AD54 38 7F 00 04 */ addi r3, r31, 4
/* 8013DDF8 0013AD58 C0 82 9A E8 */ lfs f4, lbl_805AB808@sda21(r2)
/* 8013DDFC 0013AD5C 38 80 00 00 */ li r4, 0
/* 8013DE00 0013AD60 C0 62 9A C4 */ lfs f3, lbl_805AB7E4@sda21(r2)
/* 8013DE04 0013AD64 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2)
/* 8013DE08 0013AD68 48 00 00 64 */ b lbl_8013DE6C
lbl_8013DE0C:
/* 8013DE0C 0013AD6C C0 C3 00 00 */ lfs f6, 0(r3)
/* 8013DE10 0013AD70 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 8013DE14 0013AD74 EC 03 01 B2 */ fmuls f0, f3, f6
/* 8013DE18 0013AD78 C0 FE 00 10 */ lfs f7, 0x10(r30)
/* 8013DE1C 0013AD7C C1 1E 00 0C */ lfs f8, 0xc(r30)
/* 8013DE20 0013AD80 C1 3E 00 08 */ lfs f9, 8(r30)
/* 8013DE24 0013AD84 EC 00 00 72 */ fmuls f0, f0, f1
/* 8013DE28 0013AD88 EC 04 01 FA */ fmadds f0, f4, f7, f0
/* 8013DE2C 0013AD8C EC 06 00 32 */ fmuls f0, f6, f0
/* 8013DE30 0013AD90 EC 05 02 3A */ fmadds f0, f5, f8, f0
/* 8013DE34 0013AD94 EC 06 00 32 */ fmuls f0, f6, f0
/* 8013DE38 0013AD98 ED 49 00 2A */ fadds f10, f9, f0
/* 8013DE3C 0013AD9C FC 02 50 00 */ fcmpu cr0, f2, f10
/* 8013DE40 0013ADA0 41 82 00 24 */ beq lbl_8013DE64
/* 8013DE44 0013ADA4 EC 26 38 7A */ fmadds f1, f6, f1, f7
/* 8013DE48 0013ADA8 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013DE4C 0013ADAC EC 26 40 7A */ fmadds f1, f6, f1, f8
/* 8013DE50 0013ADB0 EC 26 48 7A */ fmadds f1, f6, f1, f9
/* 8013DE54 0013ADB4 EC 06 00 7A */ fmadds f0, f6, f1, f0
/* 8013DE58 0013ADB8 EC 00 50 24 */ fdivs f0, f0, f10
/* 8013DE5C 0013ADBC EC 06 00 28 */ fsubs f0, f6, f0
/* 8013DE60 0013ADC0 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013DE64:
/* 8013DE64 0013ADC4 38 63 00 04 */ addi r3, r3, 4
/* 8013DE68 0013ADC8 38 84 00 01 */ addi r4, r4, 1
lbl_8013DE6C:
/* 8013DE6C 0013ADCC 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013DE70 0013ADD0 7C 04 00 00 */ cmpw r4, r0
/* 8013DE74 0013ADD4 41 80 FF 98 */ blt lbl_8013DE0C
/* 8013DE78 0013ADD8 2C 00 00 02 */ cmpwi r0, 2
/* 8013DE7C 0013ADDC 40 81 00 7C */ ble lbl_8013DEF8
/* 8013DE80 0013ADE0 C0 3F 00 0C */ lfs f1, 0xc(r31)
/* 8013DE84 0013ADE4 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013DE88 0013ADE8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DE8C 0013ADEC 40 80 00 0C */ bge lbl_8013DE98
/* 8013DE90 0013ADF0 D0 3F 00 04 */ stfs f1, 4(r31)
/* 8013DE94 0013ADF4 D0 1F 00 0C */ stfs f0, 0xc(r31)
lbl_8013DE98:
/* 8013DE98 0013ADF8 C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 8013DE9C 0013ADFC C0 1F 00 08 */ lfs f0, 8(r31)
/* 8013DEA0 0013AE00 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DEA4 0013AE04 40 80 00 0C */ bge lbl_8013DEB0
/* 8013DEA8 0013AE08 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8013DEAC 0013AE0C D0 1F 00 10 */ stfs f0, 0x10(r31)
lbl_8013DEB0:
/* 8013DEB0 0013AE10 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8013DEB4 0013AE14 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013DEB8 0013AE18 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DEBC 0013AE1C 40 80 00 0C */ bge lbl_8013DEC8
/* 8013DEC0 0013AE20 D0 3F 00 04 */ stfs f1, 4(r31)
/* 8013DEC4 0013AE24 D0 1F 00 08 */ stfs f0, 8(r31)
lbl_8013DEC8:
/* 8013DEC8 0013AE28 C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 8013DECC 0013AE2C C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8013DED0 0013AE30 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DED4 0013AE34 40 80 00 0C */ bge lbl_8013DEE0
/* 8013DED8 0013AE38 D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 8013DEDC 0013AE3C D0 1F 00 10 */ stfs f0, 0x10(r31)
lbl_8013DEE0:
/* 8013DEE0 0013AE40 C0 3F 00 0C */ lfs f1, 0xc(r31)
/* 8013DEE4 0013AE44 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8013DEE8 0013AE48 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013DEEC 0013AE4C 40 80 00 0C */ bge lbl_8013DEF8
/* 8013DEF0 0013AE50 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8013DEF4 0013AE54 D0 1F 00 0C */ stfs f0, 0xc(r31)
lbl_8013DEF8:
/* 8013DEF8 0013AE58 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013DEFC 0013AE5C 38 80 00 00 */ li r4, 0
/* 8013DF00 0013AE60 80 C1 00 08 */ lwz r6, 8(r1)
/* 8013DF04 0013AE64 7C 03 00 D0 */ neg r0, r3
/* 8013DF08 0013AE68 7C 00 18 78 */ andc r0, r0, r3
/* 8013DF0C 0013AE6C 2C 06 00 00 */ cmpwi r6, 0
/* 8013DF10 0013AE70 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8013DF14 0013AE74 40 81 00 40 */ ble lbl_8013DF54
/* 8013DF18 0013AE78 2C 06 00 08 */ cmpwi r6, 8
/* 8013DF1C 0013AE7C 38 A6 FF F8 */ addi r5, r6, -8
/* 8013DF20 0013AE80 40 81 00 20 */ ble lbl_8013DF40
/* 8013DF24 0013AE84 38 05 00 07 */ addi r0, r5, 7
/* 8013DF28 0013AE88 54 00 E8 FE */ srwi r0, r0, 3
/* 8013DF2C 0013AE8C 7C 09 03 A6 */ mtctr r0
/* 8013DF30 0013AE90 2C 05 00 00 */ cmpwi r5, 0
/* 8013DF34 0013AE94 40 81 00 0C */ ble lbl_8013DF40
lbl_8013DF38:
/* 8013DF38 0013AE98 38 84 00 08 */ addi r4, r4, 8
/* 8013DF3C 0013AE9C 42 00 FF FC */ bdnz lbl_8013DF38
lbl_8013DF40:
/* 8013DF40 0013AEA0 7C 04 30 50 */ subf r0, r4, r6
/* 8013DF44 0013AEA4 7C 09 03 A6 */ mtctr r0
/* 8013DF48 0013AEA8 7C 04 30 00 */ cmpw r4, r6
/* 8013DF4C 0013AEAC 40 80 00 08 */ bge lbl_8013DF54
lbl_8013DF50:
/* 8013DF50 0013AEB0 42 00 00 00 */ bdnz lbl_8013DF50
lbl_8013DF54:
/* 8013DF54 0013AEB4 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8013DF58 0013AEB8 38 80 00 00 */ li r4, 0
/* 8013DF5C 0013AEBC 90 81 00 08 */ stw r4, 8(r1)
/* 8013DF60 0013AEC0 2C 06 00 00 */ cmpwi r6, 0
/* 8013DF64 0013AEC4 40 81 00 40 */ ble lbl_8013DFA4
/* 8013DF68 0013AEC8 2C 06 00 08 */ cmpwi r6, 8
/* 8013DF6C 0013AECC 38 A6 FF F8 */ addi r5, r6, -8
/* 8013DF70 0013AED0 40 81 00 20 */ ble lbl_8013DF90
/* 8013DF74 0013AED4 38 05 00 07 */ addi r0, r5, 7
/* 8013DF78 0013AED8 54 00 E8 FE */ srwi r0, r0, 3
/* 8013DF7C 0013AEDC 7C 09 03 A6 */ mtctr r0
/* 8013DF80 0013AEE0 2C 05 00 00 */ cmpwi r5, 0
/* 8013DF84 0013AEE4 40 81 00 0C */ ble lbl_8013DF90
lbl_8013DF88:
/* 8013DF88 0013AEE8 38 84 00 08 */ addi r4, r4, 8
/* 8013DF8C 0013AEEC 42 00 FF FC */ bdnz lbl_8013DF88
lbl_8013DF90:
/* 8013DF90 0013AEF0 7C 04 30 50 */ subf r0, r4, r6
/* 8013DF94 0013AEF4 7C 09 03 A6 */ mtctr r0
/* 8013DF98 0013AEF8 7C 04 30 00 */ cmpw r4, r6
/* 8013DF9C 0013AEFC 40 80 00 08 */ bge lbl_8013DFA4
lbl_8013DFA0:
/* 8013DFA0 0013AF00 42 00 00 00 */ bdnz lbl_8013DFA0
lbl_8013DFA4:
/* 8013DFA4 0013AF04 38 00 00 00 */ li r0, 0
/* 8013DFA8 0013AF08 90 01 00 1C */ stw r0, 0x1c(r1)
lbl_8013DFAC:
/* 8013DFAC 0013AF0C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 8013DFB0 0013AF10 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 8013DFB4 0013AF14 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 8013DFB8 0013AF18 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 8013DFBC 0013AF1C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0
/* 8013DFC0 0013AF20 CB A1 00 80 */ lfd f29, 0x80(r1)
/* 8013DFC4 0013AF24 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0
/* 8013DFC8 0013AF28 CB 81 00 70 */ lfd f28, 0x70(r1)
/* 8013DFCC 0013AF2C E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0
/* 8013DFD0 0013AF30 CB 61 00 60 */ lfd f27, 0x60(r1)
/* 8013DFD4 0013AF34 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0
/* 8013DFD8 0013AF38 CB 41 00 50 */ lfd f26, 0x50(r1)
/* 8013DFDC 0013AF3C 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8013DFE0 0013AF40 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8013DFE4 0013AF44 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8013DFE8 0013AF48 7C 08 03 A6 */ mtlr r0
/* 8013DFEC 0013AF4C 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 8013DFF0 0013AF50 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,4>RQ24rstl20reserved_vector<f,4>"
"SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vector<f,4>RQ24rstl20reserved_vector<f,4>":
/* 8013DFF4 0013AF54 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8013DFF8 0013AF58 7C 08 02 A6 */ mflr r0
/* 8013DFFC 0013AF5C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8013E000 0013AF60 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 8013E004 0013AF64 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 8013E008 0013AF68 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 8013E00C 0013AF6C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 8013E010 0013AF70 DB A1 00 80 */ stfd f29, 0x80(r1)
/* 8013E014 0013AF74 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0
/* 8013E018 0013AF78 DB 81 00 70 */ stfd f28, 0x70(r1)
/* 8013E01C 0013AF7C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0
/* 8013E020 0013AF80 DB 61 00 60 */ stfd f27, 0x60(r1)
/* 8013E024 0013AF84 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0
/* 8013E028 0013AF88 DB 41 00 50 */ stfd f26, 0x50(r1)
/* 8013E02C 0013AF8C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0
/* 8013E030 0013AF90 DB 21 00 40 */ stfd f25, 0x40(r1)
/* 8013E034 0013AF94 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0
/* 8013E038 0013AF98 DB 01 00 30 */ stfd f24, 0x30(r1)
/* 8013E03C 0013AF9C F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0
/* 8013E040 0013AFA0 DA E1 00 20 */ stfd f23, 0x20(r1)
/* 8013E044 0013AFA4 F2 E1 00 28 */ psq_st f23, 40(r1), 0, qr0
/* 8013E048 0013AFA8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013E04C 0013AFAC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013E050 0013AFB0 7C 7E 1B 78 */ mr r30, r3
/* 8013E054 0013AFB4 C0 C2 9A B8 */ lfs f6, lbl_805AB7D8@sda21(r2)
/* 8013E058 0013AFB8 C0 A3 00 10 */ lfs f5, 0x10(r3)
/* 8013E05C 0013AFBC 7C 9F 23 78 */ mr r31, r4
/* 8013E060 0013AFC0 FC 06 28 00 */ fcmpu cr0, f6, f5
/* 8013E064 0013AFC4 41 82 02 54 */ beq lbl_8013E2B8
/* 8013E068 0013AFC8 C0 02 9A E8 */ lfs f0, lbl_805AB808@sda21(r2)
/* 8013E06C 0013AFCC C0 5E 00 0C */ lfs f2, 0xc(r30)
/* 8013E070 0013AFD0 EC 60 01 72 */ fmuls f3, f0, f5
/* 8013E074 0013AFD4 C0 9E 00 08 */ lfs f4, 8(r30)
/* 8013E078 0013AFD8 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013E07C 0013AFDC C0 22 9A C8 */ lfs f1, lbl_805AB7E8@sda21(r2)
/* 8013E080 0013AFE0 EF E2 18 24 */ fdivs f31, f2, f3
/* 8013E084 0013AFE4 C0 42 9A EC */ lfs f2, lbl_805AB80C@sda21(r2)
/* 8013E088 0013AFE8 EC 64 18 24 */ fdivs f3, f4, f3
/* 8013E08C 0013AFEC EC 1F 01 38 */ fmsubs f0, f31, f4, f0
/* 8013E090 0013AFF0 EC 21 07 F2 */ fmuls f1, f1, f31
/* 8013E094 0013AFF4 EC 9F 1F FC */ fnmsubs f4, f31, f31, f3
/* 8013E098 0013AFF8 EC 00 28 24 */ fdivs f0, f0, f5
/* 8013E09C 0013AFFC EC 21 07 F2 */ fmuls f1, f1, f31
/* 8013E0A0 0013B000 EC 64 01 32 */ fmuls f3, f4, f4
/* 8013E0A4 0013B004 EC 1F 00 78 */ fmsubs f0, f31, f1, f0
/* 8013E0A8 0013B008 EC 64 00 F2 */ fmuls f3, f4, f3
/* 8013E0AC 0013B00C EF 02 00 32 */ fmuls f24, f2, f0
/* 8013E0B0 0013B010 EC 38 1E 3A */ fmadds f1, f24, f24, f3
/* 8013E0B4 0013B014 FC 01 30 40 */ fcmpo cr0, f1, f6
/* 8013E0B8 0013B018 40 80 00 FC */ bge lbl_8013E1B4
/* 8013E0BC 0013B01C FF 40 18 50 */ fneg f26, f3
/* 8013E0C0 0013B020 FC 20 D0 90 */ fmr f1, f26
/* 8013E0C4 0013B024 48 1D 74 3D */ bl SqrtF__5CMathFf
/* 8013E0C8 0013B028 EC 18 08 24 */ fdivs f0, f24, f1
/* 8013E0CC 0013B02C 38 81 00 08 */ addi r4, r1, 8
/* 8013E0D0 0013B030 38 6D 8B 88 */ addi r3, r13, lbl_805A7748@sda21
/* 8013E0D4 0013B034 38 AD 8B 8C */ addi r5, r13, lbl_805A774C@sda21
/* 8013E0D8 0013B038 D0 01 00 08 */ stfs f0, 8(r1)
/* 8013E0DC 0013B03C 4B EC E1 D9 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8013E0E0 0013B040 C0 23 00 00 */ lfs f1, 0(r3)
/* 8013E0E4 0013B044 D0 21 00 08 */ stfs f1, 8(r1)
/* 8013E0E8 0013B048 48 25 6B 45 */ bl acos
/* 8013E0EC 0013B04C FF 20 08 18 */ frsp f25, f1
/* 8013E0F0 0013B050 C8 42 9A F0 */ lfd f2, lbl_805AB810@sda21(r2)
/* 8013E0F4 0013B054 FC 20 D0 90 */ fmr f1, f26
/* 8013E0F8 0013B058 48 25 6B F5 */ bl pow
/* 8013E0FC 0013B05C FC 00 08 18 */ frsp f0, f1
/* 8013E100 0013B060 C3 42 9A C8 */ lfs f26, lbl_805AB7E8@sda21(r2)
/* 8013E104 0013B064 C2 E2 9A B8 */ lfs f23, lbl_805AB7D8@sda21(r2)
/* 8013E108 0013B068 C3 62 9A F8 */ lfs f27, lbl_805AB818@sda21(r2)
/* 8013E10C 0013B06C EF 1A 00 32 */ fmuls f24, f26, f0
/* 8013E110 0013B070 C3 82 9A E8 */ lfs f28, lbl_805AB808@sda21(r2)
/* 8013E114 0013B074 C3 A2 9A FC */ lfs f29, lbl_805AB81C@sda21(r2)
/* 8013E118 0013B078 C3 C2 9B 00 */ lfs f30, lbl_805AB820@sda21(r2)
/* 8013E11C 0013B07C 48 00 00 44 */ b lbl_8013E160
lbl_8013E120:
/* 8013E120 0013B080 EC 1A 05 F2 */ fmuls f0, f26, f23
/* 8013E124 0013B084 EC 1B C8 3A */ fmadds f0, f27, f0, f25
/* 8013E128 0013B088 EC 20 E0 24 */ fdivs f1, f0, f28
/* 8013E12C 0013B08C 48 25 62 C5 */ bl cos
/* 8013E130 0013B090 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E134 0013B094 FC 00 08 18 */ frsp f0, f1
/* 8013E138 0013B098 54 00 10 3A */ slwi r0, r0, 2
/* 8013E13C 0013B09C 7C 7F 02 14 */ add r3, r31, r0
/* 8013E140 0013B0A0 EC 18 F8 38 */ fmsubs f0, f24, f0, f31
/* 8013E144 0013B0A4 34 63 00 04 */ addic. r3, r3, 4
/* 8013E148 0013B0A8 41 82 00 08 */ beq lbl_8013E150
/* 8013E14C 0013B0AC D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E150:
/* 8013E150 0013B0B0 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E154 0013B0B4 EE F7 E8 2A */ fadds f23, f23, f29
/* 8013E158 0013B0B8 38 03 00 01 */ addi r0, r3, 1
/* 8013E15C 0013B0BC 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013E160:
/* 8013E160 0013B0C0 FC 17 F0 40 */ fcmpo cr0, f23, f30
/* 8013E164 0013B0C4 41 80 FF BC */ blt lbl_8013E120
/* 8013E168 0013B0C8 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8013E16C 0013B0CC C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013E170 0013B0D0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013E174 0013B0D4 40 80 00 0C */ bge lbl_8013E180
/* 8013E178 0013B0D8 D0 3F 00 04 */ stfs f1, 4(r31)
/* 8013E17C 0013B0DC D0 1F 00 08 */ stfs f0, 8(r31)
lbl_8013E180:
/* 8013E180 0013B0E0 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8013E184 0013B0E4 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8013E188 0013B0E8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013E18C 0013B0EC 40 80 00 0C */ bge lbl_8013E198
/* 8013E190 0013B0F0 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8013E194 0013B0F4 D0 3F 00 0C */ stfs f1, 0xc(r31)
lbl_8013E198:
/* 8013E198 0013B0F8 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8013E19C 0013B0FC C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013E1A0 0013B100 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013E1A4 0013B104 40 80 00 9C */ bge lbl_8013E240
/* 8013E1A8 0013B108 D0 3F 00 04 */ stfs f1, 4(r31)
/* 8013E1AC 0013B10C D0 1F 00 08 */ stfs f0, 8(r31)
/* 8013E1B0 0013B110 48 00 00 90 */ b lbl_8013E240
lbl_8013E1B4:
/* 8013E1B4 0013B114 48 1D 73 4D */ bl SqrtF__5CMathFf
/* 8013E1B8 0013B118 FF C0 08 90 */ fmr f30, f1
/* 8013E1BC 0013B11C C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2)
/* 8013E1C0 0013B120 EF 78 F0 2A */ fadds f27, f24, f30
/* 8013E1C4 0013B124 FC 00 DA 10 */ fabs f0, f27
/* 8013E1C8 0013B128 FC 20 00 18 */ frsp f1, f0
/* 8013E1CC 0013B12C 48 25 6B 21 */ bl pow
/* 8013E1D0 0013B130 EF 58 F0 28 */ fsubs f26, f24, f30
/* 8013E1D4 0013B134 C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2)
/* 8013E1D8 0013B138 FF 20 08 18 */ frsp f25, f1
/* 8013E1DC 0013B13C FC 00 D2 10 */ fabs f0, f26
/* 8013E1E0 0013B140 FC 20 00 18 */ frsp f1, f0
/* 8013E1E4 0013B144 48 25 6B 09 */ bl pow
/* 8013E1E8 0013B148 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013E1EC 0013B14C FC 20 08 18 */ frsp f1, f1
/* 8013E1F0 0013B150 FC 1A 00 40 */ fcmpo cr0, f26, f0
/* 8013E1F4 0013B154 40 81 00 08 */ ble lbl_8013E1FC
/* 8013E1F8 0013B158 48 00 00 08 */ b lbl_8013E200
lbl_8013E1FC:
/* 8013E1FC 0013B15C FC 20 08 50 */ fneg f1, f1
lbl_8013E200:
/* 8013E200 0013B160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2)
/* 8013E204 0013B164 FC 1B 00 40 */ fcmpo cr0, f27, f0
/* 8013E208 0013B168 40 81 00 08 */ ble lbl_8013E210
/* 8013E20C 0013B16C 48 00 00 08 */ b lbl_8013E214
lbl_8013E210:
/* 8013E210 0013B170 FF 20 C8 50 */ fneg f25, f25
lbl_8013E214:
/* 8013E214 0013B174 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E218 0013B178 EC 19 08 2A */ fadds f0, f25, f1
/* 8013E21C 0013B17C 54 00 10 3A */ slwi r0, r0, 2
/* 8013E220 0013B180 7C 7F 02 14 */ add r3, r31, r0
/* 8013E224 0013B184 EC 00 F8 28 */ fsubs f0, f0, f31
/* 8013E228 0013B188 34 63 00 04 */ addic. r3, r3, 4
/* 8013E22C 0013B18C 41 82 00 08 */ beq lbl_8013E234
/* 8013E230 0013B190 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E234:
/* 8013E234 0013B194 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E238 0013B198 38 03 00 01 */ addi r0, r3, 1
/* 8013E23C 0013B19C 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013E240:
/* 8013E240 0013B1A0 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2)
/* 8013E244 0013B1A4 38 7F 00 04 */ addi r3, r31, 4
/* 8013E248 0013B1A8 C0 62 9A E8 */ lfs f3, lbl_805AB808@sda21(r2)
/* 8013E24C 0013B1AC 38 80 00 00 */ li r4, 0
/* 8013E250 0013B1B0 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2)
/* 8013E254 0013B1B4 48 00 00 54 */ b lbl_8013E2A8
lbl_8013E258:
/* 8013E258 0013B1B8 C0 A3 00 00 */ lfs f5, 0(r3)
/* 8013E25C 0013B1BC C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 8013E260 0013B1C0 EC 03 01 72 */ fmuls f0, f3, f5
/* 8013E264 0013B1C4 C0 DE 00 0C */ lfs f6, 0xc(r30)
/* 8013E268 0013B1C8 C0 FE 00 08 */ lfs f7, 8(r30)
/* 8013E26C 0013B1CC EC 00 00 72 */ fmuls f0, f0, f1
/* 8013E270 0013B1D0 EC 04 01 BA */ fmadds f0, f4, f6, f0
/* 8013E274 0013B1D4 EC 05 00 32 */ fmuls f0, f5, f0
/* 8013E278 0013B1D8 ED 07 00 2A */ fadds f8, f7, f0
/* 8013E27C 0013B1DC FC 02 40 00 */ fcmpu cr0, f2, f8
/* 8013E280 0013B1E0 41 82 00 20 */ beq lbl_8013E2A0
/* 8013E284 0013B1E4 EC 25 30 7A */ fmadds f1, f5, f1, f6
/* 8013E288 0013B1E8 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013E28C 0013B1EC EC 25 38 7A */ fmadds f1, f5, f1, f7
/* 8013E290 0013B1F0 EC 05 00 7A */ fmadds f0, f5, f1, f0
/* 8013E294 0013B1F4 EC 00 40 24 */ fdivs f0, f0, f8
/* 8013E298 0013B1F8 EC 05 00 28 */ fsubs f0, f5, f0
/* 8013E29C 0013B1FC D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E2A0:
/* 8013E2A0 0013B200 38 63 00 04 */ addi r3, r3, 4
/* 8013E2A4 0013B204 38 84 00 01 */ addi r4, r4, 1
lbl_8013E2A8:
/* 8013E2A8 0013B208 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E2AC 0013B20C 7C 04 00 00 */ cmpw r4, r0
/* 8013E2B0 0013B210 41 80 FF A8 */ blt lbl_8013E258
/* 8013E2B4 0013B214 48 00 00 D0 */ b lbl_8013E384
lbl_8013E2B8:
/* 8013E2B8 0013B218 C0 7E 00 0C */ lfs f3, 0xc(r30)
/* 8013E2BC 0013B21C FC 06 18 00 */ fcmpu cr0, f6, f3
/* 8013E2C0 0013B220 41 82 00 88 */ beq lbl_8013E348
/* 8013E2C4 0013B224 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2)
/* 8013E2C8 0013B228 C0 3E 00 08 */ lfs f1, 8(r30)
/* 8013E2CC 0013B22C C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013E2D0 0013B230 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013E2D4 0013B234 EC 00 18 24 */ fdivs f0, f0, f3
/* 8013E2D8 0013B238 EE E1 18 24 */ fdivs f23, f1, f3
/* 8013E2DC 0013B23C EC 37 05 F8 */ fmsubs f1, f23, f23, f0
/* 8013E2E0 0013B240 FC 01 30 40 */ fcmpo cr0, f1, f6
/* 8013E2E4 0013B244 4C 41 13 82 */ cror 2, 1, 2
/* 8013E2E8 0013B248 40 82 00 9C */ bne lbl_8013E384
/* 8013E2EC 0013B24C 48 1D 72 15 */ bl SqrtF__5CMathFf
/* 8013E2F0 0013B250 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E2F4 0013B254 FC 40 B8 50 */ fneg f2, f23
/* 8013E2F8 0013B258 54 00 10 3A */ slwi r0, r0, 2
/* 8013E2FC 0013B25C 7C 7F 02 14 */ add r3, r31, r0
/* 8013E300 0013B260 EC 02 08 28 */ fsubs f0, f2, f1
/* 8013E304 0013B264 34 63 00 04 */ addic. r3, r3, 4
/* 8013E308 0013B268 41 82 00 08 */ beq lbl_8013E310
/* 8013E30C 0013B26C D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E310:
/* 8013E310 0013B270 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E314 0013B274 EC 02 08 2A */ fadds f0, f2, f1
/* 8013E318 0013B278 38 03 00 01 */ addi r0, r3, 1
/* 8013E31C 0013B27C 90 1F 00 00 */ stw r0, 0(r31)
/* 8013E320 0013B280 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E324 0013B284 54 00 10 3A */ slwi r0, r0, 2
/* 8013E328 0013B288 7C 7F 02 14 */ add r3, r31, r0
/* 8013E32C 0013B28C 34 63 00 04 */ addic. r3, r3, 4
/* 8013E330 0013B290 41 82 00 08 */ beq lbl_8013E338
/* 8013E334 0013B294 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E338:
/* 8013E338 0013B298 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E33C 0013B29C 38 03 00 01 */ addi r0, r3, 1
/* 8013E340 0013B2A0 90 1F 00 00 */ stw r0, 0(r31)
/* 8013E344 0013B2A4 48 00 00 40 */ b lbl_8013E384
lbl_8013E348:
/* 8013E348 0013B2A8 C0 3E 00 08 */ lfs f1, 8(r30)
/* 8013E34C 0013B2AC FC 06 08 00 */ fcmpu cr0, f6, f1
/* 8013E350 0013B2B0 41 82 00 34 */ beq lbl_8013E384
/* 8013E354 0013B2B4 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8013E358 0013B2B8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013E35C 0013B2BC FC 00 00 50 */ fneg f0, f0
/* 8013E360 0013B2C0 54 00 10 3A */ slwi r0, r0, 2
/* 8013E364 0013B2C4 7C 7F 02 14 */ add r3, r31, r0
/* 8013E368 0013B2C8 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013E36C 0013B2CC 34 63 00 04 */ addic. r3, r3, 4
/* 8013E370 0013B2D0 41 82 00 08 */ beq lbl_8013E378
/* 8013E374 0013B2D4 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8013E378:
/* 8013E378 0013B2D8 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E37C 0013B2DC 38 03 00 01 */ addi r0, r3, 1
/* 8013E380 0013B2E0 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013E384:
/* 8013E384 0013B2E4 80 7F 00 00 */ lwz r3, 0(r31)
/* 8013E388 0013B2E8 7C 03 00 D0 */ neg r0, r3
/* 8013E38C 0013B2EC 7C 00 18 78 */ andc r0, r0, r3
/* 8013E390 0013B2F0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8013E394 0013B2F4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 8013E398 0013B2F8 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 8013E39C 0013B2FC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 8013E3A0 0013B300 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 8013E3A4 0013B304 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0
/* 8013E3A8 0013B308 CB A1 00 80 */ lfd f29, 0x80(r1)
/* 8013E3AC 0013B30C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0
/* 8013E3B0 0013B310 CB 81 00 70 */ lfd f28, 0x70(r1)
/* 8013E3B4 0013B314 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0
/* 8013E3B8 0013B318 CB 61 00 60 */ lfd f27, 0x60(r1)
/* 8013E3BC 0013B31C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0
/* 8013E3C0 0013B320 CB 41 00 50 */ lfd f26, 0x50(r1)
/* 8013E3C4 0013B324 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0
/* 8013E3C8 0013B328 CB 21 00 40 */ lfd f25, 0x40(r1)
/* 8013E3CC 0013B32C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0
/* 8013E3D0 0013B330 CB 01 00 30 */ lfd f24, 0x30(r1)
/* 8013E3D4 0013B334 E2 E1 00 28 */ psq_l f23, 40(r1), 0, qr0
/* 8013E3D8 0013B338 CA E1 00 20 */ lfd f23, 0x20(r1)
/* 8013E3DC 0013B33C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013E3E0 0013B340 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8013E3E4 0013B344 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013E3E8 0013B348 7C 08 03 A6 */ mtlr r0
/* 8013E3EC 0013B34C 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 8013E3F0 0013B350 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global SolveQuadratic__18CSteeringBehaviorsFfffRfRf
SolveQuadratic__18CSteeringBehaviorsFfffRfRf:
/* 8013E3F4 0013B354 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013E3F8 0013B358 7C 08 02 A6 */ mflr r0
/* 8013E3FC 0013B35C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013E400 0013B360 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8013E404 0013B364 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8013E408 0013B368 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 8013E40C 0013B36C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 8013E410 0013B370 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013E414 0013B374 93 C1 00 08 */ stw r30, 8(r1)
/* 8013E418 0013B378 FF C0 08 90 */ fmr f30, f1
/* 8013E41C 0013B37C C0 02 9A C4 */ lfs f0, lbl_805AB7E4@sda21(r2)
/* 8013E420 0013B380 FF E0 10 90 */ fmr f31, f2
/* 8013E424 0013B384 C0 42 9B 10 */ lfs f2, lbl_805AB830@sda21(r2)
/* 8013E428 0013B388 7C 7E 1B 78 */ mr r30, r3
/* 8013E42C 0013B38C 7C 9F 23 78 */ mr r31, r4
/* 8013E430 0013B390 EC 00 07 B2 */ fmuls f0, f0, f30
/* 8013E434 0013B394 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8013E438 0013B398 EC 3F 07 F8 */ fmsubs f1, f31, f31, f0
/* 8013E43C 0013B39C FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8013E440 0013B3A0 41 80 00 14 */ blt lbl_8013E454
/* 8013E444 0013B3A4 FC 00 F2 10 */ fabs f0, f30
/* 8013E448 0013B3A8 FC 00 00 18 */ frsp f0, f0
/* 8013E44C 0013B3AC FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8013E450 0013B3B0 40 80 00 0C */ bge lbl_8013E45C
lbl_8013E454:
/* 8013E454 0013B3B4 38 60 00 00 */ li r3, 0
/* 8013E458 0013B3B8 48 00 00 30 */ b lbl_8013E488
lbl_8013E45C:
/* 8013E45C 0013B3BC 48 1D 70 A5 */ bl SqrtF__5CMathFf
/* 8013E460 0013B3C0 FC 60 F8 50 */ fneg f3, f31
/* 8013E464 0013B3C4 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2)
/* 8013E468 0013B3C8 38 60 00 01 */ li r3, 1
/* 8013E46C 0013B3CC EC 80 07 B2 */ fmuls f4, f0, f30
/* 8013E470 0013B3D0 EC 43 08 2A */ fadds f2, f3, f1
/* 8013E474 0013B3D4 EC 03 08 28 */ fsubs f0, f3, f1
/* 8013E478 0013B3D8 EC 22 20 24 */ fdivs f1, f2, f4
/* 8013E47C 0013B3DC EC 00 20 24 */ fdivs f0, f0, f4
/* 8013E480 0013B3E0 D0 3E 00 00 */ stfs f1, 0(r30)
/* 8013E484 0013B3E4 D0 1F 00 00 */ stfs f0, 0(r31)
lbl_8013E488:
/* 8013E488 0013B3E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8013E48C 0013B3EC CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8013E490 0013B3F0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 8013E494 0013B3F4 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 8013E498 0013B3F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013E49C 0013B3FC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8013E4A0 0013B400 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013E4A4 0013B404 7C 08 03 A6 */ mtlr r0
/* 8013E4A8 0013B408 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8013E4AC 0013B40C 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff
Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff:
/* 8013E4B0 0013B410 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8013E4B4 0013B414 7C 08 02 A6 */ mflr r0
/* 8013E4B8 0013B418 90 01 00 44 */ stw r0, 0x44(r1)
/* 8013E4BC 0013B41C 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8013E4C0 0013B420 7C DF 33 78 */ mr r31, r6
/* 8013E4C4 0013B424 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8013E4C8 0013B428 7C 7E 1B 78 */ mr r30, r3
/* 8013E4CC 0013B42C 38 61 00 08 */ addi r3, r1, 8
/* 8013E4D0 0013B430 C0 45 00 50 */ lfs f2, 0x50(r5)
/* 8013E4D4 0013B434 C0 25 00 40 */ lfs f1, 0x40(r5)
/* 8013E4D8 0013B438 C0 05 00 60 */ lfs f0, 0x60(r5)
/* 8013E4DC 0013B43C D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8013E4E0 0013B440 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8013E4E4 0013B444 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8013E4E8 0013B448 48 1D 5D 19 */ bl __ct__9CVector2fFff
/* 8013E4EC 0013B44C 7F E4 FB 78 */ mr r4, r31
/* 8013E4F0 0013B450 38 61 00 10 */ addi r3, r1, 0x10
/* 8013E4F4 0013B454 38 A1 00 08 */ addi r5, r1, 8
/* 8013E4F8 0013B458 48 1D 5A 41 */ bl __mi__FRC9CVector2fRC9CVector2f
/* 8013E4FC 0013B45C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013E500 0013B460 38 61 00 18 */ addi r3, r1, 0x18
/* 8013E504 0013B464 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013E508 0013B468 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8013E50C 0013B46C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8013E510 0013B470 48 1D 5B CD */ bl MagSquared__9CVector2fCFv
/* 8013E514 0013B474 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2)
/* 8013E518 0013B478 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013E51C 0013B47C 40 81 00 14 */ ble lbl_8013E530
/* 8013E520 0013B480 7F C3 F3 78 */ mr r3, r30
/* 8013E524 0013B484 38 81 00 18 */ addi r4, r1, 0x18
/* 8013E528 0013B488 48 1D 5B 59 */ bl AsNormalized__9CVector2fCFv
/* 8013E52C 0013B48C 48 00 00 18 */ b lbl_8013E544
lbl_8013E530:
2022-10-04 21:00:16 +00:00
/* 8013E530 0013B490 C0 0D A8 98 */ lfs f0, skZeroVector__9CVector2f@sda21(r13)
/* 8013E534 0013B494 38 6D A8 98 */ addi r3, r13, skZeroVector__9CVector2f@sda21
2022-04-13 06:53:45 +00:00
/* 8013E538 0013B498 D0 1E 00 00 */ stfs f0, 0(r30)
/* 8013E53C 0013B49C C0 03 00 04 */ lfs f0, 4(r3)
/* 8013E540 0013B4A0 D0 1E 00 04 */ stfs f0, 4(r30)
lbl_8013E544:
/* 8013E544 0013B4A4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8013E548 0013B4A8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8013E54C 0013B4AC 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8013E550 0013B4B0 7C 08 03 A6 */ mtlr r0
/* 8013E554 0013B4B4 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 8013E558 0013B4B8 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f
Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f:
/* 8013E55C 0013B4BC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013E560 0013B4C0 7C 08 02 A6 */ mflr r0
/* 8013E564 0013B4C4 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013E568 0013B4C8 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8013E56C 0013B4CC 7C DF 33 78 */ mr r31, r6
/* 8013E570 0013B4D0 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8013E574 0013B4D4 7C BE 2B 78 */ mr r30, r5
/* 8013E578 0013B4D8 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8013E57C 0013B4DC 7C 7D 1B 78 */ mr r29, r3
/* 8013E580 0013B4E0 38 61 00 08 */ addi r3, r1, 8
/* 8013E584 0013B4E4 C0 45 00 50 */ lfs f2, 0x50(r5)
/* 8013E588 0013B4E8 C0 25 00 40 */ lfs f1, 0x40(r5)
/* 8013E58C 0013B4EC C0 05 00 60 */ lfs f0, 0x60(r5)
/* 8013E590 0013B4F0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 8013E594 0013B4F4 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 8013E598 0013B4F8 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8013E59C 0013B4FC 48 1D 5C 65 */ bl __ct__9CVector2fFff
/* 8013E5A0 0013B500 7F E5 FB 78 */ mr r5, r31
/* 8013E5A4 0013B504 38 61 00 10 */ addi r3, r1, 0x10
/* 8013E5A8 0013B508 38 81 00 08 */ addi r4, r1, 8
/* 8013E5AC 0013B50C 48 1D 59 8D */ bl __mi__FRC9CVector2fRC9CVector2f
/* 8013E5B0 0013B510 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013E5B4 0013B514 38 61 00 18 */ addi r3, r1, 0x18
/* 8013E5B8 0013B518 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013E5BC 0013B51C D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8013E5C0 0013B520 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8013E5C4 0013B524 48 1D 5B 19 */ bl MagSquared__9CVector2fCFv
/* 8013E5C8 0013B528 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2)
/* 8013E5CC 0013B52C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013E5D0 0013B530 40 81 00 14 */ ble lbl_8013E5E4
/* 8013E5D4 0013B534 7F A3 EB 78 */ mr r3, r29
/* 8013E5D8 0013B538 38 81 00 18 */ addi r4, r1, 0x18
/* 8013E5DC 0013B53C 48 1D 5A A5 */ bl AsNormalized__9CVector2fCFv
/* 8013E5E0 0013B540 48 00 00 24 */ b lbl_8013E604
lbl_8013E5E4:
/* 8013E5E4 0013B544 C0 5E 00 48 */ lfs f2, 0x48(r30)
/* 8013E5E8 0013B548 7F A3 EB 78 */ mr r3, r29
/* 8013E5EC 0013B54C C0 3E 00 38 */ lfs f1, 0x38(r30)
/* 8013E5F0 0013B550 C0 1E 00 58 */ lfs f0, 0x58(r30)
/* 8013E5F4 0013B554 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8013E5F8 0013B558 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8013E5FC 0013B55C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8013E600 0013B560 48 1D 5C 01 */ bl __ct__9CVector2fFff
lbl_8013E604:
/* 8013E604 0013B564 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013E608 0013B568 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8013E60C 0013B56C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8013E610 0013B570 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8013E614 0013B574 7C 08 03 A6 */ mtlr r0
/* 8013E618 0013B578 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013E61C 0013B57C 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global "Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager"
"Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager":
/* 8013E620 0013B580 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013E624 0013B584 7C 08 02 A6 */ mflr r0
/* 8013E628 0013B588 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013E62C 0013B58C DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8013E630 0013B590 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8013E634 0013B594 BF 21 00 24 */ stmw r25, 0x24(r1)
/* 8013E638 0013B598 3D 00 80 5A */ lis r8, sZeroVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013E63C 0013B59C 7C DC 33 78 */ mr r28, r6
/* 8013E640 0013B5A0 38 C8 66 A0 */ addi r6, r8, sZeroVector__9CVector3f@l
2022-04-13 06:53:45 +00:00
/* 8013E644 0013B5A4 FF E0 08 90 */ fmr f31, f1
/* 8013E648 0013B5A8 C0 46 00 00 */ lfs f2, 0(r6)
/* 8013E64C 0013B5AC 7C 79 1B 78 */ mr r25, r3
/* 8013E650 0013B5B0 C0 26 00 04 */ lfs f1, 4(r6)
/* 8013E654 0013B5B4 7C 9A 23 78 */ mr r26, r4
/* 8013E658 0013B5B8 C0 06 00 08 */ lfs f0, 8(r6)
/* 8013E65C 0013B5BC D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8013E660 0013B5C0 7C BB 2B 78 */ mr r27, r5
/* 8013E664 0013B5C4 7C FD 3B 78 */ mr r29, r7
/* 8013E668 0013B5C8 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8013E66C 0013B5CC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013E670 0013B5D0 80 1C 00 00 */ lwz r0, 0(r28)
/* 8013E674 0013B5D4 2C 00 00 00 */ cmpwi r0, 0
/* 8013E678 0013B5D8 41 82 00 D4 */ beq lbl_8013E74C
/* 8013E67C 0013B5DC 3B FC 00 04 */ addi r31, r28, 4
/* 8013E680 0013B5E0 3B C0 00 00 */ li r30, 0
/* 8013E684 0013B5E4 48 00 00 58 */ b lbl_8013E6DC
lbl_8013E688:
/* 8013E688 0013B5E8 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8013E68C 0013B5EC 7F A3 EB 78 */ mr r3, r29
/* 8013E690 0013B5F0 38 81 00 08 */ addi r4, r1, 8
/* 8013E694 0013B5F4 B0 01 00 08 */ sth r0, 8(r1)
/* 8013E698 0013B5F8 4B F0 DF 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8013E69C 0013B5FC 28 03 00 00 */ cmplwi r3, 0
/* 8013E6A0 0013B600 41 82 00 34 */ beq lbl_8013E6D4
/* 8013E6A4 0013B604 C0 43 00 60 */ lfs f2, 0x60(r3)
/* 8013E6A8 0013B608 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013E6AC 0013B60C C0 83 00 50 */ lfs f4, 0x50(r3)
/* 8013E6B0 0013B610 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013E6B4 0013B614 EC 00 10 2A */ fadds f0, f0, f2
/* 8013E6B8 0013B618 C0 43 00 40 */ lfs f2, 0x40(r3)
/* 8013E6BC 0013B61C C0 61 00 0C */ lfs f3, 0xc(r1)
/* 8013E6C0 0013B620 EC 21 20 2A */ fadds f1, f1, f4
/* 8013E6C4 0013B624 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013E6C8 0013B628 EC 03 10 2A */ fadds f0, f3, f2
/* 8013E6CC 0013B62C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8013E6D0 0013B630 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_8013E6D4:
/* 8013E6D4 0013B634 3B FF 00 02 */ addi r31, r31, 2
/* 8013E6D8 0013B638 3B DE 00 01 */ addi r30, r30, 1
lbl_8013E6DC:
/* 8013E6DC 0013B63C 80 1C 00 00 */ lwz r0, 0(r28)
/* 8013E6E0 0013B640 7C 1E 00 00 */ cmpw r30, r0
/* 8013E6E4 0013B644 41 80 FF A4 */ blt lbl_8013E688
/* 8013E6E8 0013B648 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 8013E6EC 0013B64C 3C 00 43 30 */ lis r0, 0x4330
/* 8013E6F0 0013B650 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8013E6F4 0013B654 FC 20 F8 90 */ fmr f1, f31
/* 8013E6F8 0013B658 C8 42 9B 18 */ lfd f2, lbl_805AB838@sda21(r2)
/* 8013E6FC 0013B65C 7F 23 CB 78 */ mr r3, r25
/* 8013E700 0013B660 90 01 00 18 */ stw r0, 0x18(r1)
/* 8013E704 0013B664 7F 44 D3 78 */ mr r4, r26
/* 8013E708 0013B668 C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2)
/* 8013E70C 0013B66C C8 01 00 18 */ lfd f0, 0x18(r1)
/* 8013E710 0013B670 7F 65 DB 78 */ mr r5, r27
/* 8013E714 0013B674 C0 61 00 0C */ lfs f3, 0xc(r1)
/* 8013E718 0013B678 38 C1 00 0C */ addi r6, r1, 0xc
/* 8013E71C 0013B67C EC 80 10 28 */ fsubs f4, f0, f2
/* 8013E720 0013B680 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8013E724 0013B684 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013E728 0013B688 EC 85 20 24 */ fdivs f4, f5, f4
/* 8013E72C 0013B68C EC 63 01 32 */ fmuls f3, f3, f4
/* 8013E730 0013B690 EC 42 01 32 */ fmuls f2, f2, f4
/* 8013E734 0013B694 EC 00 01 32 */ fmuls f0, f0, f4
/* 8013E738 0013B698 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 8013E73C 0013B69C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013E740 0013B6A0 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013E744 0013B6A4 48 00 03 D9 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff
/* 8013E748 0013B6A8 48 00 00 18 */ b lbl_8013E760
lbl_8013E74C:
/* 8013E74C 0013B6AC D0 59 00 00 */ stfs f2, 0(r25)
/* 8013E750 0013B6B0 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8013E754 0013B6B4 D0 19 00 04 */ stfs f0, 4(r25)
/* 8013E758 0013B6B8 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013E75C 0013B6BC D0 19 00 08 */ stfs f0, 8(r25)
lbl_8013E760:
/* 8013E760 0013B6C0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8013E764 0013B6C4 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8013E768 0013B6C8 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 8013E76C 0013B6CC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013E770 0013B6D0 7C 08 03 A6 */ mtlr r0
/* 8013E774 0013B6D4 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013E778 0013B6D8 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global "Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager"
"Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager":
/* 8013E77C 0013B6DC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013E780 0013B6E0 7C 08 02 A6 */ mflr r0
/* 8013E784 0013B6E4 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013E788 0013B6E8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013E78C 0013B6EC BF 41 00 38 */ stmw r26, 0x38(r1)
/* 8013E790 0013B6F0 7C DC 33 78 */ mr r28, r6
/* 8013E794 0013B6F4 7C 7A 1B 78 */ mr r26, r3
/* 8013E798 0013B6F8 7C BB 2B 78 */ mr r27, r5
/* 8013E79C 0013B6FC 7C FD 3B 78 */ mr r29, r7
/* 8013E7A0 0013B700 C4 44 66 A0 */ lfsu f2, sZeroVector__9CVector3f@l(r4)
2022-04-13 06:53:45 +00:00
/* 8013E7A4 0013B704 C0 24 00 04 */ lfs f1, 4(r4)
/* 8013E7A8 0013B708 C0 04 00 08 */ lfs f0, 8(r4)
/* 8013E7AC 0013B70C D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8013E7B0 0013B710 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8013E7B4 0013B714 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8013E7B8 0013B718 80 06 00 00 */ lwz r0, 0(r6)
/* 8013E7BC 0013B71C 2C 00 00 00 */ cmpwi r0, 0
/* 8013E7C0 0013B720 41 82 00 B8 */ beq lbl_8013E878
/* 8013E7C4 0013B724 3B FC 00 04 */ addi r31, r28, 4
/* 8013E7C8 0013B728 3B C0 00 00 */ li r30, 0
/* 8013E7CC 0013B72C 48 00 00 58 */ b lbl_8013E824
lbl_8013E7D0:
/* 8013E7D0 0013B730 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8013E7D4 0013B734 7F A3 EB 78 */ mr r3, r29
/* 8013E7D8 0013B738 38 81 00 08 */ addi r4, r1, 8
/* 8013E7DC 0013B73C B0 01 00 08 */ sth r0, 8(r1)
/* 8013E7E0 0013B740 4B F0 DD C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8013E7E4 0013B744 28 03 00 00 */ cmplwi r3, 0
/* 8013E7E8 0013B748 41 82 00 34 */ beq lbl_8013E81C
/* 8013E7EC 0013B74C C0 43 00 58 */ lfs f2, 0x58(r3)
/* 8013E7F0 0013B750 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8013E7F4 0013B754 C0 83 00 48 */ lfs f4, 0x48(r3)
/* 8013E7F8 0013B758 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8013E7FC 0013B75C EC 00 10 2A */ fadds f0, f0, f2
/* 8013E800 0013B760 C0 43 00 38 */ lfs f2, 0x38(r3)
/* 8013E804 0013B764 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 8013E808 0013B768 EC 21 20 2A */ fadds f1, f1, f4
/* 8013E80C 0013B76C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8013E810 0013B770 EC 03 10 2A */ fadds f0, f3, f2
/* 8013E814 0013B774 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8013E818 0013B778 D0 01 00 18 */ stfs f0, 0x18(r1)
lbl_8013E81C:
/* 8013E81C 0013B77C 3B FF 00 02 */ addi r31, r31, 2
/* 8013E820 0013B780 3B DE 00 01 */ addi r30, r30, 1
lbl_8013E824:
/* 8013E824 0013B784 80 1C 00 00 */ lwz r0, 0(r28)
/* 8013E828 0013B788 7C 1E 00 00 */ cmpw r30, r0
/* 8013E82C 0013B78C 41 80 FF A4 */ blt lbl_8013E7D0
/* 8013E830 0013B790 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 8013E834 0013B794 3C 00 43 30 */ lis r0, 0x4330
/* 8013E838 0013B798 90 61 00 2C */ stw r3, 0x2c(r1)
/* 8013E83C 0013B79C C8 22 9B 18 */ lfd f1, lbl_805AB838@sda21(r2)
/* 8013E840 0013B7A0 90 01 00 28 */ stw r0, 0x28(r1)
/* 8013E844 0013B7A4 C0 82 9A FC */ lfs f4, lbl_805AB81C@sda21(r2)
/* 8013E848 0013B7A8 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 8013E84C 0013B7AC C0 41 00 18 */ lfs f2, 0x18(r1)
/* 8013E850 0013B7B0 EC 60 08 28 */ fsubs f3, f0, f1
/* 8013E854 0013B7B4 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8013E858 0013B7B8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8013E85C 0013B7BC EC 64 18 24 */ fdivs f3, f4, f3
/* 8013E860 0013B7C0 EC 42 00 F2 */ fmuls f2, f2, f3
/* 8013E864 0013B7C4 EC 21 00 F2 */ fmuls f1, f1, f3
/* 8013E868 0013B7C8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8013E86C 0013B7CC D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8013E870 0013B7D0 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8013E874 0013B7D4 D0 01 00 20 */ stfs f0, 0x20(r1)
lbl_8013E878:
/* 8013E878 0013B7D8 C0 5B 00 58 */ lfs f2, 0x58(r27)
/* 8013E87C 0013B7DC 38 61 00 0C */ addi r3, r1, 0xc
/* 8013E880 0013B7E0 C0 3B 00 48 */ lfs f1, 0x48(r27)
/* 8013E884 0013B7E4 38 81 00 18 */ addi r4, r1, 0x18
/* 8013E888 0013B7E8 C0 1B 00 38 */ lfs f0, 0x38(r27)
/* 8013E88C 0013B7EC D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8013E890 0013B7F0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8013E894 0013B7F4 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8013E898 0013B7F8 48 1D 5D 99 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f
/* 8013E89C 0013B7FC C0 02 9A F8 */ lfs f0, lbl_805AB818@sda21(r2)
/* 8013E8A0 0013B800 C0 41 00 18 */ lfs f2, 0x18(r1)
/* 8013E8A4 0013B804 EC 61 00 24 */ fdivs f3, f1, f0
/* 8013E8A8 0013B808 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8013E8AC 0013B80C C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8013E8B0 0013B810 EC 42 00 F2 */ fmuls f2, f2, f3
/* 8013E8B4 0013B814 EC 21 00 F2 */ fmuls f1, f1, f3
/* 8013E8B8 0013B818 EC 00 00 F2 */ fmuls f0, f0, f3
/* 8013E8BC 0013B81C D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8013E8C0 0013B820 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8013E8C4 0013B824 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8013E8C8 0013B828 D0 5A 00 00 */ stfs f2, 0(r26)
/* 8013E8CC 0013B82C C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8013E8D0 0013B830 D0 1A 00 04 */ stfs f0, 4(r26)
/* 8013E8D4 0013B834 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8013E8D8 0013B838 D0 1A 00 08 */ stfs f0, 8(r26)
/* 8013E8DC 0013B83C BB 41 00 38 */ lmw r26, 0x38(r1)
/* 8013E8E0 0013B840 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013E8E4 0013B844 7C 08 03 A6 */ mtlr r0
/* 8013E8E8 0013B848 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013E8EC 0013B84C 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff
Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff:
/* 8013E8F0 0013B850 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013E8F4 0013B854 7C 08 02 A6 */ mflr r0
/* 8013E8F8 0013B858 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013E8FC 0013B85C DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8013E900 0013B860 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8013E904 0013B864 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8013E908 0013B868 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8013E90C 0013B86C C0 45 00 50 */ lfs f2, 0x50(r5)
/* 8013E910 0013B870 EC A1 00 72 */ fmuls f5, f1, f1
/* 8013E914 0013B874 C0 06 00 04 */ lfs f0, 4(r6)
/* 8013E918 0013B878 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013E91C 0013B87C C0 25 00 40 */ lfs f1, 0x40(r5)
/* 8013E920 0013B880 7C BF 2B 78 */ mr r31, r5
/* 8013E924 0013B884 EC 82 00 28 */ fsubs f4, f2, f0
/* 8013E928 0013B888 C0 06 00 00 */ lfs f0, 0(r6)
/* 8013E92C 0013B88C 7C 7E 1B 78 */ mr r30, r3
/* 8013E930 0013B890 C0 65 00 60 */ lfs f3, 0x60(r5)
/* 8013E934 0013B894 EC 41 00 28 */ fsubs f2, f1, f0
/* 8013E938 0013B898 C0 26 00 08 */ lfs f1, 8(r6)
/* 8013E93C 0013B89C EC 04 01 32 */ fmuls f0, f4, f4
/* 8013E940 0013B8A0 D0 81 00 30 */ stfs f4, 0x30(r1)
/* 8013E944 0013B8A4 EC 63 08 28 */ fsubs f3, f3, f1
/* 8013E948 0013B8A8 C4 84 66 A0 */ lfsu f4, sZeroVector__9CVector3f@l(r4)
2022-04-13 06:53:45 +00:00
/* 8013E94C 0013B8AC EC 22 00 B2 */ fmuls f1, f2, f2
/* 8013E950 0013B8B0 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8013E954 0013B8B4 EC 43 00 F2 */ fmuls f2, f3, f3
/* 8013E958 0013B8B8 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 8013E95C 0013B8BC EC 01 00 2A */ fadds f0, f1, f0
/* 8013E960 0013B8C0 C0 24 00 04 */ lfs f1, 4(r4)
/* 8013E964 0013B8C4 C0 64 00 08 */ lfs f3, 8(r4)
/* 8013E968 0013B8C8 EC 02 00 2A */ fadds f0, f2, f0
/* 8013E96C 0013B8CC FC 00 28 40 */ fcmpo cr0, f0, f5
/* 8013E970 0013B8D0 40 80 00 80 */ bge lbl_8013E9F0
/* 8013E974 0013B8D4 EC 00 28 24 */ fdivs f0, f0, f5
/* 8013E978 0013B8D8 C0 22 9A FC */ lfs f1, lbl_805AB81C@sda21(r2)
/* 8013E97C 0013B8DC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8013E980 0013B8E0 EF E1 00 28 */ fsubs f31, f1, f0
/* 8013E984 0013B8E4 48 1D 5D 75 */ bl CanBeNormalized__9CVector3fCFv
/* 8013E988 0013B8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013E98C 0013B8EC 41 82 00 3C */ beq lbl_8013E9C8
/* 8013E990 0013B8F0 38 61 00 20 */ addi r3, r1, 0x20
/* 8013E994 0013B8F4 38 81 00 2C */ addi r4, r1, 0x2c
/* 8013E998 0013B8F8 48 1D 5E B9 */ bl AsNormalized__9CVector3fCFv
/* 8013E99C 0013B8FC C0 41 00 20 */ lfs f2, 0x20(r1)
/* 8013E9A0 0013B900 38 61 00 14 */ addi r3, r1, 0x14
/* 8013E9A4 0013B904 C0 21 00 24 */ lfs f1, 0x24(r1)
/* 8013E9A8 0013B908 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8013E9AC 0013B90C EC 5F 00 B2 */ fmuls f2, f31, f2
/* 8013E9B0 0013B910 EC 3F 00 72 */ fmuls f1, f31, f1
/* 8013E9B4 0013B914 EC 1F 00 32 */ fmuls f0, f31, f0
/* 8013E9B8 0013B918 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8013E9BC 0013B91C D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8013E9C0 0013B920 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8013E9C4 0013B924 48 00 00 20 */ b lbl_8013E9E4
lbl_8013E9C8:
/* 8013E9C8 0013B928 C0 5F 00 58 */ lfs f2, 0x58(r31)
/* 8013E9CC 0013B92C 38 61 00 08 */ addi r3, r1, 8
/* 8013E9D0 0013B930 C0 3F 00 48 */ lfs f1, 0x48(r31)
/* 8013E9D4 0013B934 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8013E9D8 0013B938 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8013E9DC 0013B93C D0 01 00 08 */ stfs f0, 8(r1)
/* 8013E9E0 0013B940 D0 41 00 10 */ stfs f2, 0x10(r1)
lbl_8013E9E4:
/* 8013E9E4 0013B944 C0 83 00 00 */ lfs f4, 0(r3)
/* 8013E9E8 0013B948 C0 23 00 04 */ lfs f1, 4(r3)
/* 8013E9EC 0013B94C C0 63 00 08 */ lfs f3, 8(r3)
lbl_8013E9F0:
/* 8013E9F0 0013B950 D0 9E 00 00 */ stfs f4, 0(r30)
/* 8013E9F4 0013B954 D0 3E 00 04 */ stfs f1, 4(r30)
/* 8013E9F8 0013B958 D0 7E 00 08 */ stfs f3, 8(r30)
/* 8013E9FC 0013B95C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8013EA00 0013B960 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013EA04 0013B964 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8013EA08 0013B968 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8013EA0C 0013B96C 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8013EA10 0013B970 7C 08 03 A6 */ mtlr r0
/* 8013EA14 0013B974 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013EA18 0013B978 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f
Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f:
/* 8013EA1C 0013B97C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8013EA20 0013B980 7C 08 02 A6 */ mflr r0
/* 8013EA24 0013B984 3D 00 80 5A */ lis r8, sZeroVector__9CVector3f@ha
2022-04-13 06:53:45 +00:00
/* 8013EA28 0013B988 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013EA2C 0013B98C BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 8013EA30 0013B990 7C BD 2B 78 */ mr r29, r5
/* 8013EA34 0013B994 38 A8 66 A0 */ addi r5, r8, sZeroVector__9CVector3f@l
2022-04-13 06:53:45 +00:00
/* 8013EA38 0013B998 7C 7B 1B 78 */ mr r27, r3
/* 8013EA3C 0013B99C 7C 9C 23 78 */ mr r28, r4
/* 8013EA40 0013B9A0 7C DE 33 78 */ mr r30, r6
/* 8013EA44 0013B9A4 7C FF 3B 78 */ mr r31, r7
/* 8013EA48 0013B9A8 38 7D 01 38 */ addi r3, r29, 0x138
/* 8013EA4C 0013B9AC C0 45 00 00 */ lfs f2, 0(r5)
/* 8013EA50 0013B9B0 C0 25 00 04 */ lfs f1, 4(r5)
/* 8013EA54 0013B9B4 C0 05 00 08 */ lfs f0, 8(r5)
/* 8013EA58 0013B9B8 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8013EA5C 0013B9BC D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013EA60 0013B9C0 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8013EA64 0013B9C4 48 1D 5E 55 */ bl Magnitude__9CVector3fCFv
/* 8013EA68 0013B9C8 C0 7D 00 60 */ lfs f3, 0x60(r29)
/* 8013EA6C 0013B9CC 7F C4 F3 78 */ mr r4, r30
/* 8013EA70 0013B9D0 C0 5D 00 50 */ lfs f2, 0x50(r29)
/* 8013EA74 0013B9D4 7F E5 FB 78 */ mr r5, r31
/* 8013EA78 0013B9D8 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8013EA7C 0013B9DC 38 61 00 14 */ addi r3, r1, 0x14
/* 8013EA80 0013B9E0 D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8013EA84 0013B9E4 38 C1 00 20 */ addi r6, r1, 0x20
/* 8013EA88 0013B9E8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013EA8C 0013B9EC D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8013EA90 0013B9F0 4B FF ED E9 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f
/* 8013EA94 0013B9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013EA98 0013B9F8 40 82 00 44 */ bne lbl_8013EADC
/* 8013EA9C 0013B9FC C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2)
/* 8013EAA0 0013BA00 C0 5F 00 04 */ lfs f2, 4(r31)
/* 8013EAA4 0013BA04 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8013EAA8 0013BA08 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8013EAAC 0013BA0C EC 85 00 B2 */ fmuls f4, f5, f2
/* 8013EAB0 0013BA10 C0 DE 00 04 */ lfs f6, 4(r30)
/* 8013EAB4 0013BA14 EC 45 00 72 */ fmuls f2, f5, f1
/* 8013EAB8 0013BA18 C0 7E 00 08 */ lfs f3, 8(r30)
/* 8013EABC 0013BA1C EC 05 00 32 */ fmuls f0, f5, f0
/* 8013EAC0 0013BA20 C0 3E 00 00 */ lfs f1, 0(r30)
/* 8013EAC4 0013BA24 EC 86 20 2A */ fadds f4, f6, f4
/* 8013EAC8 0013BA28 EC 43 10 2A */ fadds f2, f3, f2
/* 8013EACC 0013BA2C EC 01 00 2A */ fadds f0, f1, f0
/* 8013EAD0 0013BA30 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 8013EAD4 0013BA34 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8013EAD8 0013BA38 D0 41 00 28 */ stfs f2, 0x28(r1)
lbl_8013EADC:
/* 8013EADC 0013BA3C 7F 84 E3 78 */ mr r4, r28
/* 8013EAE0 0013BA40 7F A5 EB 78 */ mr r5, r29
/* 8013EAE4 0013BA44 38 61 00 08 */ addi r3, r1, 8
/* 8013EAE8 0013BA48 38 C1 00 20 */ addi r6, r1, 0x20
/* 8013EAEC 0013BA4C 48 00 01 35 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f
/* 8013EAF0 0013BA50 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8013EAF4 0013BA54 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8013EAF8 0013BA58 C0 01 00 08 */ lfs f0, 8(r1)
/* 8013EAFC 0013BA5C D0 1B 00 00 */ stfs f0, 0(r27)
/* 8013EB00 0013BA60 D0 3B 00 04 */ stfs f1, 4(r27)
/* 8013EB04 0013BA64 D0 5B 00 08 */ stfs f2, 8(r27)
/* 8013EB08 0013BA68 BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 8013EB0C 0013BA6C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8013EB10 0013BA70 7C 08 03 A6 */ mtlr r0
/* 8013EB14 0013BA74 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 8013EB18 0013BA78 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff
Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff:
/* 8013EB1C 0013BA7C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8013EB20 0013BA80 7C 08 02 A6 */ mflr r0
/* 8013EB24 0013BA84 90 01 00 44 */ stw r0, 0x44(r1)
/* 8013EB28 0013BA88 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8013EB2C 0013BA8C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8013EB30 0013BA90 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8013EB34 0013BA94 C0 86 00 04 */ lfs f4, 4(r6)
/* 8013EB38 0013BA98 7C 7F 1B 78 */ mr r31, r3
/* 8013EB3C 0013BA9C C0 05 00 50 */ lfs f0, 0x50(r5)
/* 8013EB40 0013BAA0 FF E0 08 90 */ fmr f31, f1
/* 8013EB44 0013BAA4 C0 66 00 08 */ lfs f3, 8(r6)
/* 8013EB48 0013BAA8 38 61 00 14 */ addi r3, r1, 0x14
/* 8013EB4C 0013BAAC C0 45 00 60 */ lfs f2, 0x60(r5)
/* 8013EB50 0013BAB0 EC 84 00 28 */ fsubs f4, f4, f0
/* 8013EB54 0013BAB4 C0 26 00 00 */ lfs f1, 0(r6)
/* 8013EB58 0013BAB8 C0 05 00 40 */ lfs f0, 0x40(r5)
/* 8013EB5C 0013BABC EC 43 10 28 */ fsubs f2, f3, f2
/* 8013EB60 0013BAC0 D0 81 00 18 */ stfs f4, 0x18(r1)
/* 8013EB64 0013BAC4 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013EB68 0013BAC8 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8013EB6C 0013BACC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013EB70 0013BAD0 48 1D 5B 89 */ bl CanBeNormalized__9CVector3fCFv
/* 8013EB74 0013BAD4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013EB78 0013BAD8 41 82 00 70 */ beq lbl_8013EBE8
/* 8013EB7C 0013BADC C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8013EB80 0013BAE0 EC 7F 07 F2 */ fmuls f3, f31, f31
/* 8013EB84 0013BAE4 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8013EB88 0013BAE8 EC 21 00 72 */ fmuls f1, f1, f1
/* 8013EB8C 0013BAEC C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 8013EB90 0013BAF0 EC 00 00 32 */ fmuls f0, f0, f0
/* 8013EB94 0013BAF4 EC 42 00 B2 */ fmuls f2, f2, f2
/* 8013EB98 0013BAF8 EC 01 00 2A */ fadds f0, f1, f0
/* 8013EB9C 0013BAFC EC 02 00 2A */ fadds f0, f2, f0
/* 8013EBA0 0013BB00 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 8013EBA4 0013BB04 40 80 00 0C */ bge lbl_8013EBB0
/* 8013EBA8 0013BB08 EF E0 18 24 */ fdivs f31, f0, f3
/* 8013EBAC 0013BB0C 48 00 00 08 */ b lbl_8013EBB4
lbl_8013EBB0:
/* 8013EBB0 0013BB10 C3 E2 9A FC */ lfs f31, lbl_805AB81C@sda21(r2)
lbl_8013EBB4:
/* 8013EBB4 0013BB14 38 61 00 08 */ addi r3, r1, 8
/* 8013EBB8 0013BB18 38 81 00 14 */ addi r4, r1, 0x14
/* 8013EBBC 0013BB1C 48 1D 5C 95 */ bl AsNormalized__9CVector3fCFv
/* 8013EBC0 0013BB20 C0 01 00 08 */ lfs f0, 8(r1)
/* 8013EBC4 0013BB24 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 8013EBC8 0013BB28 EC 1F 00 32 */ fmuls f0, f31, f0
/* 8013EBCC 0013BB2C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013EBD0 0013BB30 EC 5F 00 B2 */ fmuls f2, f31, f2
/* 8013EBD4 0013BB34 EC 3F 00 72 */ fmuls f1, f31, f1
/* 8013EBD8 0013BB38 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8013EBDC 0013BB3C D0 5F 00 04 */ stfs f2, 4(r31)
/* 8013EBE0 0013BB40 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8013EBE4 0013BB44 48 00 00 20 */ b lbl_8013EC04
lbl_8013EBE8:
/* 8013EBE8 0013BB48 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 8013EBEC 0013BB4C C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3)
2022-04-13 06:53:45 +00:00
/* 8013EBF0 0013BB50 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8013EBF4 0013BB54 C0 03 00 04 */ lfs f0, 4(r3)
/* 8013EBF8 0013BB58 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8013EBFC 0013BB5C C0 03 00 08 */ lfs f0, 8(r3)
/* 8013EC00 0013BB60 D0 1F 00 08 */ stfs f0, 8(r31)
lbl_8013EC04:
/* 8013EC04 0013BB64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8013EC08 0013BB68 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8013EC0C 0013BB6C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8013EC10 0013BB70 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8013EC14 0013BB74 7C 08 03 A6 */ mtlr r0
/* 8013EC18 0013BB78 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 8013EC1C 0013BB7C 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f
Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f:
/* 8013EC20 0013BB80 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013EC24 0013BB84 7C 08 02 A6 */ mflr r0
/* 8013EC28 0013BB88 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013EC2C 0013BB8C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013EC30 0013BB90 7C 7F 1B 78 */ mr r31, r3
/* 8013EC34 0013BB94 38 61 00 08 */ addi r3, r1, 8
/* 8013EC38 0013BB98 C0 26 00 04 */ lfs f1, 4(r6)
/* 8013EC3C 0013BB9C C0 05 00 50 */ lfs f0, 0x50(r5)
/* 8013EC40 0013BBA0 C0 66 00 08 */ lfs f3, 8(r6)
/* 8013EC44 0013BBA4 EC 81 00 28 */ fsubs f4, f1, f0
/* 8013EC48 0013BBA8 C0 45 00 60 */ lfs f2, 0x60(r5)
/* 8013EC4C 0013BBAC C0 26 00 00 */ lfs f1, 0(r6)
/* 8013EC50 0013BBB0 C0 05 00 40 */ lfs f0, 0x40(r5)
/* 8013EC54 0013BBB4 EC 43 10 28 */ fsubs f2, f3, f2
/* 8013EC58 0013BBB8 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8013EC5C 0013BBBC EC 01 00 28 */ fsubs f0, f1, f0
/* 8013EC60 0013BBC0 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013EC64 0013BBC4 D0 01 00 08 */ stfs f0, 8(r1)
/* 8013EC68 0013BBC8 48 1D 5A 91 */ bl CanBeNormalized__9CVector3fCFv
/* 8013EC6C 0013BBCC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013EC70 0013BBD0 41 82 00 14 */ beq lbl_8013EC84
/* 8013EC74 0013BBD4 7F E3 FB 78 */ mr r3, r31
/* 8013EC78 0013BBD8 38 81 00 08 */ addi r4, r1, 8
/* 8013EC7C 0013BBDC 48 1D 5B D5 */ bl AsNormalized__9CVector3fCFv
/* 8013EC80 0013BBE0 48 00 00 20 */ b lbl_8013ECA0
lbl_8013EC84:
/* 8013EC84 0013BBE4 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 8013EC88 0013BBE8 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3)
2022-04-13 06:53:45 +00:00
/* 8013EC8C 0013BBEC D0 1F 00 00 */ stfs f0, 0(r31)
/* 8013EC90 0013BBF0 C0 03 00 04 */ lfs f0, 4(r3)
/* 8013EC94 0013BBF4 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8013EC98 0013BBF8 C0 03 00 08 */ lfs f0, 8(r3)
/* 8013EC9C 0013BBFC D0 1F 00 08 */ stfs f0, 8(r31)
lbl_8013ECA0:
/* 8013ECA0 0013BC00 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013ECA4 0013BC04 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013ECA8 0013BC08 7C 08 03 A6 */ mtlr r0
/* 8013ECAC 0013BC0C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8013ECB0 0013BC10 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f
Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f:
/* 8013ECB4 0013BC14 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013ECB8 0013BC18 7C 08 02 A6 */ mflr r0
/* 8013ECBC 0013BC1C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013ECC0 0013BC20 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013ECC4 0013BC24 7C BF 2B 78 */ mr r31, r5
/* 8013ECC8 0013BC28 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013ECCC 0013BC2C 7C 7E 1B 78 */ mr r30, r3
/* 8013ECD0 0013BC30 38 61 00 08 */ addi r3, r1, 8
/* 8013ECD4 0013BC34 C0 25 00 50 */ lfs f1, 0x50(r5)
/* 8013ECD8 0013BC38 C0 06 00 04 */ lfs f0, 4(r6)
/* 8013ECDC 0013BC3C C0 65 00 60 */ lfs f3, 0x60(r5)
/* 8013ECE0 0013BC40 EC 81 00 28 */ fsubs f4, f1, f0
/* 8013ECE4 0013BC44 C0 46 00 08 */ lfs f2, 8(r6)
/* 8013ECE8 0013BC48 C0 25 00 40 */ lfs f1, 0x40(r5)
/* 8013ECEC 0013BC4C C0 06 00 00 */ lfs f0, 0(r6)
/* 8013ECF0 0013BC50 EC 43 10 28 */ fsubs f2, f3, f2
/* 8013ECF4 0013BC54 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8013ECF8 0013BC58 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013ECFC 0013BC5C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013ED00 0013BC60 D0 01 00 08 */ stfs f0, 8(r1)
/* 8013ED04 0013BC64 48 1D 59 F5 */ bl CanBeNormalized__9CVector3fCFv
/* 8013ED08 0013BC68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013ED0C 0013BC6C 41 82 00 14 */ beq lbl_8013ED20
/* 8013ED10 0013BC70 7F C3 F3 78 */ mr r3, r30
/* 8013ED14 0013BC74 38 81 00 08 */ addi r4, r1, 8
/* 8013ED18 0013BC78 48 1D 5B 39 */ bl AsNormalized__9CVector3fCFv
/* 8013ED1C 0013BC7C 48 00 00 1C */ b lbl_8013ED38
lbl_8013ED20:
/* 8013ED20 0013BC80 C0 5F 00 58 */ lfs f2, 0x58(r31)
/* 8013ED24 0013BC84 C0 3F 00 48 */ lfs f1, 0x48(r31)
/* 8013ED28 0013BC88 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8013ED2C 0013BC8C D0 1E 00 00 */ stfs f0, 0(r30)
/* 8013ED30 0013BC90 D0 3E 00 04 */ stfs f1, 4(r30)
/* 8013ED34 0013BC94 D0 5E 00 08 */ stfs f2, 8(r30)
lbl_8013ED38:
/* 8013ED38 0013BC98 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013ED3C 0013BC9C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013ED40 0013BCA0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013ED44 0013BCA4 7C 08 03 A6 */ mtlr r0
/* 8013ED48 0013BCA8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8013ED4C 0013BCAC 4E 80 00 20 */ blr
2022-04-13 06:53:45 +00:00
.global __ct__18CSteeringBehaviorsFv
__ct__18CSteeringBehaviorsFv:
/* 8013ED50 0013BCB0 C0 02 9B 20 */ lfs f0, lbl_805AB840@sda21(r2)
/* 8013ED54 0013BCB4 D0 03 00 00 */ stfs f0, 0(r3)
/* 8013ED58 0013BCB8 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805AB7D8
lbl_805AB7D8:
# ROM: 0x3F8078
.4byte 0
.global lbl_805AB7DC
lbl_805AB7DC:
# ROM: 0x3F807C
.4byte 0x7F7FFFFF
.global lbl_805AB7E0
lbl_805AB7E0:
# ROM: 0x3F8080
.4byte 0x3727C5AC
.global lbl_805AB7E4
lbl_805AB7E4:
# ROM: 0x3F8084
.float 4.0
.global lbl_805AB7E8
lbl_805AB7E8:
# ROM: 0x3F8088
.float 2.0
.global lbl_805AB7EC
lbl_805AB7EC:
# ROM: 0x3F808C
.float 0.25
.global lbl_805AB7F0
lbl_805AB7F0:
# ROM: 0x3F8090
.float 0.5
.global lbl_805AB7F4
lbl_805AB7F4:
# ROM: 0x3F8094
.4byte 0xC0C00000
.global lbl_805AB7F8
lbl_805AB7F8:
# ROM: 0x3F8098
.float 8.0
.global lbl_805AB7FC
lbl_805AB7FC:
# ROM: 0x3F809C
.4byte 0xC0400000
.global lbl_805AB800
lbl_805AB800:
# ROM: 0x3F80A0
.4byte 0xC1000000
.global lbl_805AB804
lbl_805AB804:
# ROM: 0x3F80A4
.4byte 0xC0800000
.global lbl_805AB808
lbl_805AB808:
# ROM: 0x3F80A8
.4byte 0x40400000
.global lbl_805AB80C
lbl_805AB80C:
# ROM: 0x3F80AC
.4byte 0xBF000000
.global lbl_805AB810
lbl_805AB810:
# ROM: 0x3F80B0
.4byte 0x3FC55555
.4byte 0x60000000
.global lbl_805AB818
lbl_805AB818:
# ROM: 0x3F80B8
.4byte 0x40490FDB
.global lbl_805AB81C
lbl_805AB81C:
# ROM: 0x3F80BC
.float 1.0
.global lbl_805AB820
lbl_805AB820:
# ROM: 0x3F80C0
.4byte 0x4000A3D7
.4byte 0
.global lbl_805AB828
lbl_805AB828:
# ROM: 0x3F80C8
.4byte 0x3FD55555
.4byte 0x60000000
.global lbl_805AB830
lbl_805AB830:
# ROM: 0x3F80D0
.float 1.1920929E-7
.4byte 0
.global lbl_805AB838
lbl_805AB838:
# ROM: 0x3F80D8
.double 4.503601774854144E15
.global lbl_805AB840
lbl_805AB840:
# ROM: 0x3F80E0
.4byte 0x3FC90FDB
.4byte 0