prime/asm/MetroidPrime/CGroundMovement.s

4912 lines
248 KiB
ArmAsm
Raw Permalink Normal View History

2022-04-13 08:02:06 +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_805A7A68
lbl_805A7A68:
# ROM: 0x3F5408
.4byte 0x3F7AE148
.global lbl_805A7A6C
lbl_805A7A6C:
# ROM: 0x3F540C
.4byte 0x00000013
.global lbl_805A7A70
lbl_805A7A70:
# ROM: 0x3F5410
.4byte 0x3BA3D70A
.global lbl_805A7A74
lbl_805A7A74:
# ROM: 0x3F5414
2022-07-18 05:20:04 +00:00
.float 0.02
2022-04-21 06:32:43 +00:00
.global lbl_805A7A78
lbl_805A7A78:
# ROM: 0x3F5418
2022-07-18 05:20:04 +00:00
.float 0.5
2022-04-21 06:32:43 +00:00
.global lbl_805A7A7C
lbl_805A7A7C:
# ROM: 0x3F541C
.4byte 0
.global lbl_805A7A80
lbl_805A7A80:
# ROM: 0x3F5420
.4byte 0
.4byte 0
.global lbl_805A7A88
lbl_805A7A88:
# ROM: 0x3F5428
.4byte 0
.4byte 0
.global lbl_805A7A90
lbl_805A7A90:
# ROM: 0x3F5430
.4byte 0
.4byte 0
.global lbl_805A7A98
lbl_805A7A98:
# ROM: 0x3F5438
.4byte 0
.4byte 0
2022-07-14 05:36:41 +00:00
.section .sbss, "wa"
.balign 8
2022-07-14 05:36:41 +00:00
.global lbl_805A9020
lbl_805A9020:
.skip 0x8
.global lbl_805A9028
lbl_805A9028:
.skip 0x4
.global lbl_805A902C
lbl_805A902C:
.skip 0x4
.global lbl_805A9030
lbl_805A9030:
.skip 0x4
.global lbl_805A9034
lbl_805A9034:
.skip 0x4
.global lbl_805A9038
lbl_805A9038:
.skip 0x4
.global lbl_805A903C
lbl_805A903C:
.skip 0x4
.section .text, "ax"
2022-04-13 08:02:06 +00:00
.global "MoveObjectAnalytical__15CGroundMovementFR13CStateManagerR13CPhysicsActorfRCQ24rstl32reserved_vector<9TUniqueId,1024>R19CAreaCollisionCacheRfRCQ215CGroundMovement16SMovementOptions"
"MoveObjectAnalytical__15CGroundMovementFR13CStateManagerR13CPhysicsActorfRCQ24rstl32reserved_vector<9TUniqueId,1024>R19CAreaCollisionCacheRfRCQ215CGroundMovement16SMovementOptions":
/* 80185A10 00182970 94 21 FD 00 */ stwu r1, -0x300(r1)
/* 80185A14 00182974 7C 08 02 A6 */ mflr r0
/* 80185A18 00182978 90 01 03 04 */ stw r0, 0x304(r1)
/* 80185A1C 0018297C DB E1 02 F0 */ stfd f31, 0x2f0(r1)
/* 80185A20 00182980 F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0
/* 80185A24 00182984 DB C1 02 E0 */ stfd f30, 0x2e0(r1)
/* 80185A28 00182988 F3 C1 02 E8 */ psq_st f30, 744(r1), 0, qr0
/* 80185A2C 0018298C DB A1 02 D0 */ stfd f29, 0x2d0(r1)
/* 80185A30 00182990 F3 A1 02 D8 */ psq_st f29, 728(r1), 0, qr0
/* 80185A34 00182994 DB 81 02 C0 */ stfd f28, 0x2c0(r1)
/* 80185A38 00182998 F3 81 02 C8 */ psq_st f28, 712(r1), 0, qr0
/* 80185A3C 0018299C DB 61 02 B0 */ stfd f27, 0x2b0(r1)
/* 80185A40 001829A0 F3 61 02 B8 */ psq_st f27, 696(r1), 0, qr0
/* 80185A44 001829A4 DB 41 02 A0 */ stfd f26, 0x2a0(r1)
/* 80185A48 001829A8 F3 41 02 A8 */ psq_st f26, 680(r1), 0, qr0
/* 80185A4C 001829AC DB 21 02 90 */ stfd f25, 0x290(r1)
/* 80185A50 001829B0 F3 21 02 98 */ psq_st f25, 664(r1), 0, qr0
/* 80185A54 001829B4 BE 01 02 50 */ stmw r16, 0x250(r1)
/* 80185A58 001829B8 3A 60 00 00 */ li r19, 0
/* 80185A5C 001829BC 7D 3D 4B 78 */ mr r29, r9
/* 80185A60 001829C0 92 69 00 6C */ stw r19, 0x6c(r9)
/* 80185A64 001829C4 FF 40 08 90 */ fmr f26, f1
/* 80185A68 001829C8 7D 1C 43 78 */ mr r28, r8
/* 80185A6C 001829CC 7C 77 1B 78 */ mr r23, r3
/* 80185A70 001829D0 88 08 00 48 */ lbz r0, 0x48(r8)
/* 80185A74 001829D4 7C 98 23 78 */ mr r24, r4
/* 80185A78 001829D8 FF 80 D0 90 */ fmr f28, f26
/* 80185A7C 001829DC 28 00 00 00 */ cmplwi r0, 0
/* 80185A80 001829E0 7C B9 2B 78 */ mr r25, r5
/* 80185A84 001829E4 7C DA 33 78 */ mr r26, r6
/* 80185A88 001829E8 7C FB 3B 78 */ mr r27, r7
/* 80185A8C 001829EC 7E 74 9B 78 */ mr r20, r19
/* 80185A90 001829F0 7C 1E 03 78 */ mr r30, r0
/* 80185A94 001829F4 3B E0 00 00 */ li r31, 0
/* 80185A98 001829F8 41 82 00 0C */ beq lbl_80185AA4
/* 80185A9C 001829FC 38 7C 00 3C */ addi r3, r28, 0x3c
/* 80185AA0 00182A00 48 00 00 0C */ b lbl_80185AAC
lbl_80185AA4:
/* 80185AA4 00182A04 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80185AA8 00182A08 38 63 66 A0 */ addi r3, r3, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
lbl_80185AAC:
/* 80185AAC 00182A0C C0 03 00 00 */ lfs f0, 0(r3)
/* 80185AB0 00182A10 3A 41 02 28 */ addi r18, r1, 0x228
/* 80185AB4 00182A14 C3 A2 A3 10 */ lfs f29, lbl_805AC030@sda21(r2)
/* 80185AB8 00182A18 D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 80185ABC 00182A1C C3 C2 A3 14 */ lfs f30, lbl_805AC034@sda21(r2)
/* 80185AC0 00182A20 C0 03 00 04 */ lfs f0, 4(r3)
/* 80185AC4 00182A24 C3 E2 A3 18 */ lfs f31, lbl_805AC038@sda21(r2)
/* 80185AC8 00182A28 D0 01 00 D4 */ stfs f0, 0xd4(r1)
/* 80185ACC 00182A2C C0 03 00 08 */ lfs f0, 8(r3)
/* 80185AD0 00182A30 D0 01 00 D8 */ stfs f0, 0xd8(r1)
/* 80185AD4 00182A34 48 00 07 C0 */ b lbl_80186294
lbl_80185AD8:
/* 80185AD8 00182A38 FF 60 E0 90 */ fmr f27, f28
/* 80185ADC 00182A3C 7F 24 CB 78 */ mr r4, r25
/* 80185AE0 00182A40 FC 20 E0 90 */ fmr f1, f28
/* 80185AE4 00182A44 38 61 01 88 */ addi r3, r1, 0x188
/* 80185AE8 00182A48 4B F9 5D 21 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80185AEC 00182A4C C1 81 01 88 */ lfs f12, 0x188(r1)
/* 80185AF0 00182A50 38 61 01 BC */ addi r3, r1, 0x1bc
/* 80185AF4 00182A54 C1 61 01 8C */ lfs f11, 0x18c(r1)
/* 80185AF8 00182A58 C1 41 01 90 */ lfs f10, 0x190(r1)
/* 80185AFC 00182A5C C1 21 01 94 */ lfs f9, 0x194(r1)
/* 80185B00 00182A60 C1 01 01 98 */ lfs f8, 0x198(r1)
/* 80185B04 00182A64 C0 E1 01 9C */ lfs f7, 0x19c(r1)
/* 80185B08 00182A68 C0 C1 01 A0 */ lfs f6, 0x1a0(r1)
/* 80185B0C 00182A6C C0 A1 01 A4 */ lfs f5, 0x1a4(r1)
/* 80185B10 00182A70 C0 81 01 A8 */ lfs f4, 0x1a8(r1)
/* 80185B14 00182A74 C0 61 01 AC */ lfs f3, 0x1ac(r1)
/* 80185B18 00182A78 C0 41 01 B0 */ lfs f2, 0x1b0(r1)
/* 80185B1C 00182A7C C0 21 01 B4 */ lfs f1, 0x1b4(r1)
/* 80185B20 00182A80 C0 01 01 B8 */ lfs f0, 0x1b8(r1)
/* 80185B24 00182A84 D1 81 01 BC */ stfs f12, 0x1bc(r1)
/* 80185B28 00182A88 D1 61 01 C0 */ stfs f11, 0x1c0(r1)
/* 80185B2C 00182A8C D1 41 01 C4 */ stfs f10, 0x1c4(r1)
/* 80185B30 00182A90 D1 21 01 C8 */ stfs f9, 0x1c8(r1)
/* 80185B34 00182A94 D1 01 01 CC */ stfs f8, 0x1cc(r1)
/* 80185B38 00182A98 D0 E1 01 D0 */ stfs f7, 0x1d0(r1)
/* 80185B3C 00182A9C D0 C1 01 D4 */ stfs f6, 0x1d4(r1)
/* 80185B40 00182AA0 D0 A1 01 D8 */ stfs f5, 0x1d8(r1)
/* 80185B44 00182AA4 D0 81 01 DC */ stfs f4, 0x1dc(r1)
/* 80185B48 00182AA8 D0 61 01 E0 */ stfs f3, 0x1e0(r1)
/* 80185B4C 00182AAC D0 41 01 E4 */ stfs f2, 0x1e4(r1)
/* 80185B50 00182AB0 D0 21 01 E8 */ stfs f1, 0x1e8(r1)
/* 80185B54 00182AB4 D0 01 01 EC */ stfs f0, 0x1ec(r1)
/* 80185B58 00182AB8 48 18 ED 61 */ bl Magnitude__9CVector3fCFv
/* 80185B5C 00182ABC FF 20 08 90 */ fmr f25, f1
/* 80185B60 00182AC0 FC 19 F0 40 */ fcmpo cr0, f25, f30
/* 80185B64 00182AC4 40 81 00 0C */ ble lbl_80185B70
/* 80185B68 00182AC8 FC 00 C8 90 */ fmr f0, f25
/* 80185B6C 00182ACC 48 00 00 08 */ b lbl_80185B74
lbl_80185B70:
/* 80185B70 00182AD0 FC 00 E8 90 */ fmr f0, f29
lbl_80185B74:
/* 80185B74 00182AD4 EC 7D 00 24 */ fdivs f3, f29, f0
/* 80185B78 00182AD8 C0 41 01 C0 */ lfs f2, 0x1c0(r1)
/* 80185B7C 00182ADC C0 21 01 C4 */ lfs f1, 0x1c4(r1)
/* 80185B80 00182AE0 7F 24 CB 78 */ mr r4, r25
/* 80185B84 00182AE4 C0 01 01 BC */ lfs f0, 0x1bc(r1)
/* 80185B88 00182AE8 38 61 01 58 */ addi r3, r1, 0x158
/* 80185B8C 00182AEC EC 43 00 B2 */ fmuls f2, f3, f2
/* 80185B90 00182AF0 EC 23 00 72 */ fmuls f1, f3, f1
/* 80185B94 00182AF4 EC 03 00 32 */ fmuls f0, f3, f0
/* 80185B98 00182AF8 D0 41 00 C8 */ stfs f2, 0xc8(r1)
/* 80185B9C 00182AFC D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 80185BA0 00182B00 D0 21 00 CC */ stfs f1, 0xcc(r1)
/* 80185BA4 00182B04 81 99 00 00 */ lwz r12, 0(r25)
/* 80185BA8 00182B08 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80185BAC 00182B0C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80185BB0 00182B10 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80185BB4 00182B14 7F 23 CB 78 */ mr r3, r25
/* 80185BB8 00182B18 81 99 00 00 */ lwz r12, 0(r25)
/* 80185BBC 00182B1C 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80185BC0 00182B20 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80185BC4 00182B24 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80185BC8 00182B28 7C 64 1B 78 */ mr r4, r3
/* 80185BCC 00182B2C 38 61 00 DC */ addi r3, r1, 0xdc
/* 80185BD0 00182B30 81 84 00 00 */ lwz r12, 0(r4)
/* 80185BD4 00182B34 38 A1 01 58 */ addi r5, r1, 0x158
/* 80185BD8 00182B38 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80185BDC 00182B3C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80185BE0 00182B40 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80185BE4 00182B44 DB 21 00 20 */ stfd f25, 0x20(r1)
/* 80185BE8 00182B48 38 61 01 F0 */ addi r3, r1, 0x1f0
/* 80185BEC 00182B4C 38 80 00 00 */ li r4, 0
/* 80185BF0 00182B50 48 14 85 99 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 80185BF4 00182B54 C0 1C 00 20 */ lfs f0, 0x20(r28)
/* 80185BF8 00182B58 FC 19 00 40 */ fcmpo cr0, f25, f0
/* 80185BFC 00182B5C 40 81 00 E4 */ ble lbl_80185CE0
2022-04-24 01:54:45 +00:00
/* 80185C00 00182B60 A0 CD A3 8C */ lhz r6, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80185C04 00182B64 7F 23 CB 78 */ mr r3, r25
/* 80185C08 00182B68 80 A1 00 C4 */ lwz r5, 0xc4(r1)
/* 80185C0C 00182B6C 80 81 00 C8 */ lwz r4, 0xc8(r1)
/* 80185C10 00182B70 80 01 00 CC */ lwz r0, 0xcc(r1)
/* 80185C14 00182B74 B0 C1 00 10 */ sth r6, 0x10(r1)
/* 80185C18 00182B78 90 A1 00 70 */ stw r5, 0x70(r1)
/* 80185C1C 00182B7C 90 81 00 74 */ stw r4, 0x74(r1)
/* 80185C20 00182B80 90 01 00 78 */ stw r0, 0x78(r1)
/* 80185C24 00182B84 4B EC DC 99 */ bl GetMaterialFilter__6CActorCFv
/* 80185C28 00182B88 7F 24 CB 78 */ mr r4, r25
/* 80185C2C 00182B8C 7C 70 1B 78 */ mr r16, r3
/* 80185C30 00182B90 81 99 00 00 */ lwz r12, 0(r25)
/* 80185C34 00182B94 38 61 01 28 */ addi r3, r1, 0x128
/* 80185C38 00182B98 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80185C3C 00182B9C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80185C40 00182BA0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80185C44 00182BA4 7F 23 CB 78 */ mr r3, r25
/* 80185C48 00182BA8 81 99 00 00 */ lwz r12, 0(r25)
/* 80185C4C 00182BAC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80185C50 00182BB0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80185C54 00182BB4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80185C58 00182BB8 38 01 01 F0 */ addi r0, r1, 0x1f0
/* 80185C5C 00182BBC 7C 65 1B 78 */ mr r5, r3
/* 80185C60 00182BC0 90 01 00 08 */ stw r0, 8(r1)
/* 80185C64 00182BC4 38 01 00 20 */ addi r0, r1, 0x20
/* 80185C68 00182BC8 7F 03 C3 78 */ mr r3, r24
/* 80185C6C 00182BCC 7F 64 DB 78 */ mr r4, r27
/* 80185C70 00182BD0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80185C74 00182BD4 7E 07 83 78 */ mr r7, r16
/* 80185C78 00182BD8 7F 48 D3 78 */ mr r8, r26
/* 80185C7C 00182BDC 38 C1 01 28 */ addi r6, r1, 0x128
/* 80185C80 00182BE0 39 21 00 70 */ addi r9, r1, 0x70
/* 80185C84 00182BE4 39 41 00 10 */ addi r10, r1, 0x10
/* 80185C88 00182BE8 4B FF E6 65 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd"
/* 80185C8C 00182BEC A0 61 00 10 */ lhz r3, 0x10(r1)
2022-04-24 01:54:45 +00:00
/* 80185C90 00182BF0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80185C94 00182BF4 7C 03 00 40 */ cmplw r3, r0
/* 80185C98 00182BF8 41 82 00 38 */ beq lbl_80185CD0
/* 80185C9C 00182BFC 88 1D 00 04 */ lbz r0, 4(r29)
/* 80185CA0 00182C00 28 00 00 00 */ cmplwi r0, 0
/* 80185CA4 00182C04 40 82 00 1C */ bne lbl_80185CC0
/* 80185CA8 00182C08 28 1D 00 00 */ cmplwi r29, 0
/* 80185CAC 00182C0C 41 82 00 08 */ beq lbl_80185CB4
/* 80185CB0 00182C10 B0 7D 00 00 */ sth r3, 0(r29)
lbl_80185CB4:
/* 80185CB4 00182C14 38 00 00 01 */ li r0, 1
/* 80185CB8 00182C18 98 1D 00 04 */ stb r0, 4(r29)
/* 80185CBC 00182C1C 48 00 00 08 */ b lbl_80185CC4
lbl_80185CC0:
/* 80185CC0 00182C20 B0 7D 00 00 */ sth r3, 0(r29)
lbl_80185CC4:
/* 80185CC4 00182C24 38 7D 00 08 */ addi r3, r29, 8
/* 80185CC8 00182C28 38 81 01 F0 */ addi r4, r1, 0x1f0
/* 80185CCC 00182C2C 48 00 06 2D */ bl sub_801862f8
lbl_80185CD0:
/* 80185CD0 00182C30 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80185CD4 00182C34 FC 00 C8 24 */ fdiv f0, f0, f25
/* 80185CD8 00182C38 FC 00 00 18 */ frsp f0, f0
/* 80185CDC 00182C3C EF 7C 00 32 */ fmuls f27, f28, f0
lbl_80185CE0:
/* 80185CE0 00182C40 C8 41 00 20 */ lfd f2, 0x20(r1)
/* 80185CE4 00182C44 C0 3C 00 20 */ lfs f1, 0x20(r28)
/* 80185CE8 00182C48 C0 0D 8E D8 */ lfs f0, lbl_805A7A98@sda21(r13)
/* 80185CEC 00182C4C FC 22 08 28 */ fsub f1, f2, f1
/* 80185CF0 00182C50 FC 20 08 18 */ frsp f1, f1
/* 80185CF4 00182C54 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80185CF8 00182C58 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80185CFC 00182C5C 40 80 00 0C */ bge lbl_80185D08
/* 80185D00 00182C60 38 6D 8E D8 */ addi r3, r13, lbl_805A7A98@sda21
/* 80185D04 00182C64 48 00 00 08 */ b lbl_80185D0C
lbl_80185D08:
/* 80185D08 00182C68 38 61 00 18 */ addi r3, r1, 0x18
lbl_80185D0C:
/* 80185D0C 00182C6C C3 23 00 00 */ lfs f25, 0(r3)
/* 80185D10 00182C70 7E 43 93 78 */ mr r3, r18
/* 80185D14 00182C74 C0 41 02 38 */ lfs f2, 0x238(r1)
/* 80185D18 00182C78 38 81 00 B8 */ addi r4, r1, 0xb8
/* 80185D1C 00182C7C C0 21 02 3C */ lfs f1, 0x23c(r1)
/* 80185D20 00182C80 C0 01 02 40 */ lfs f0, 0x240(r1)
/* 80185D24 00182C84 D0 41 00 B8 */ stfs f2, 0xb8(r1)
/* 80185D28 00182C88 D0 21 00 BC */ stfs f1, 0xbc(r1)
/* 80185D2C 00182C8C D0 01 00 C0 */ stfs f0, 0xc0(r1)
/* 80185D30 00182C90 4B FF CA D9 */ bl CanBlock__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80185D34 00182C94 88 1C 00 19 */ lbz r0, 0x19(r28)
/* 80185D38 00182C98 7C 76 1B 78 */ mr r22, r3
/* 80185D3C 00182C9C 3A A0 00 01 */ li r21, 1
/* 80185D40 00182CA0 28 00 00 00 */ cmplwi r0, 0
/* 80185D44 00182CA4 40 82 00 2C */ bne lbl_80185D70
/* 80185D48 00182CA8 88 1C 00 1A */ lbz r0, 0x1a(r28)
/* 80185D4C 00182CAC 38 60 00 00 */ li r3, 0
/* 80185D50 00182CB0 28 00 00 00 */ cmplwi r0, 0
/* 80185D54 00182CB4 41 82 00 10 */ beq lbl_80185D64
/* 80185D58 00182CB8 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 80185D5C 00182CBC 40 82 00 08 */ bne lbl_80185D64
/* 80185D60 00182CC0 7E A3 AB 78 */ mr r3, r21
lbl_80185D64:
/* 80185D64 00182CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80185D68 00182CC8 40 82 00 08 */ bne lbl_80185D70
/* 80185D6C 00182CCC 3A A0 00 00 */ li r21, 0
lbl_80185D70:
/* 80185D70 00182CD0 88 01 02 20 */ lbz r0, 0x220(r1)
/* 80185D74 00182CD4 D3 E1 00 1C */ stfs f31, 0x1c(r1)
/* 80185D78 00182CD8 28 00 00 00 */ cmplwi r0, 0
/* 80185D7C 00182CDC 41 82 01 0C */ beq lbl_80185E88
/* 80185D80 00182CE0 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 80185D84 00182CE4 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 80185D88 00182CE8 38 03 00 01 */ addi r0, r3, 1
/* 80185D8C 00182CEC 90 1D 00 6C */ stw r0, 0x6c(r29)
/* 80185D90 00182CF0 41 82 00 2C */ beq lbl_80185DBC
/* 80185D94 00182CF4 C0 41 02 38 */ lfs f2, 0x238(r1)
/* 80185D98 00182CF8 3C 00 80 00 */ lis r0, 0x8000
/* 80185D9C 00182CFC C0 21 02 3C */ lfs f1, 0x23c(r1)
/* 80185DA0 00182D00 7E 73 03 78 */ or r19, r19, r0
/* 80185DA4 00182D04 C0 01 02 40 */ lfs f0, 0x240(r1)
/* 80185DA8 00182D08 3B C0 00 01 */ li r30, 1
/* 80185DAC 00182D0C D0 41 00 D0 */ stfs f2, 0xd0(r1)
/* 80185DB0 00182D10 D0 21 00 D4 */ stfs f1, 0xd4(r1)
/* 80185DB4 00182D14 D0 01 00 D8 */ stfs f0, 0xd8(r1)
/* 80185DB8 00182D18 48 00 00 0C */ b lbl_80185DC4
lbl_80185DBC:
/* 80185DBC 00182D1C 3C 00 40 00 */ lis r0, 0x4000
/* 80185DC0 00182D20 7E 73 03 78 */ or r19, r19, r0
lbl_80185DC4:
/* 80185DC4 00182D24 56 A0 06 3F */ clrlwi. r0, r21, 0x18
/* 80185DC8 00182D28 41 82 00 48 */ beq lbl_80185E10
/* 80185DCC 00182D2C 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 80185DD0 00182D30 41 82 00 38 */ beq lbl_80185E08
/* 80185DD4 00182D34 38 61 00 D0 */ addi r3, r1, 0xd0
/* 80185DD8 00182D38 38 81 00 C4 */ addi r4, r1, 0xc4
/* 80185DDC 00182D3C 38 A1 00 B8 */ addi r5, r1, 0xb8
/* 80185DE0 00182D40 38 C1 00 1C */ addi r6, r1, 0x1c
/* 80185DE4 00182D44 48 00 06 D9 */ bl RemoveNormalComponent__15CGroundMovementFRC9CVector3fRC9CVector3fR9CVector3fRf
/* 80185DE8 00182D48 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80185DEC 00182D4C 40 82 00 10 */ bne lbl_80185DFC
/* 80185DF0 00182D50 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80185DF4 00182D54 48 00 08 81 */ bl RemovePositiveZComponentFromNormal__FR9CVector3f
/* 80185DF8 00182D58 48 00 00 18 */ b lbl_80185E10
lbl_80185DFC:
/* 80185DFC 00182D5C 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80185E00 00182D60 48 18 EA F9 */ bl Normalize__9CVector3fFv
/* 80185E04 00182D64 48 00 00 0C */ b lbl_80185E10
lbl_80185E08:
/* 80185E08 00182D68 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80185E0C 00182D6C 48 00 08 69 */ bl RemovePositiveZComponentFromNormal__FR9CVector3f
lbl_80185E10:
/* 80185E10 00182D70 FC 20 D8 90 */ fmr f1, f27
/* 80185E14 00182D74 7F 24 CB 78 */ mr r4, r25
/* 80185E18 00182D78 38 61 00 F4 */ addi r3, r1, 0xf4
/* 80185E1C 00182D7C 4B F9 59 ED */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80185E20 00182D80 82 01 00 F4 */ lwz r16, 0xf4(r1)
/* 80185E24 00182D84 82 21 00 F8 */ lwz r17, 0xf8(r1)
/* 80185E28 00182D88 81 81 00 FC */ lwz r12, 0xfc(r1)
/* 80185E2C 00182D8C 81 61 01 00 */ lwz r11, 0x100(r1)
/* 80185E30 00182D90 81 41 01 04 */ lwz r10, 0x104(r1)
/* 80185E34 00182D94 81 21 01 08 */ lwz r9, 0x108(r1)
/* 80185E38 00182D98 81 01 01 0C */ lwz r8, 0x10c(r1)
/* 80185E3C 00182D9C 80 E1 01 10 */ lwz r7, 0x110(r1)
/* 80185E40 00182DA0 80 C1 01 14 */ lwz r6, 0x114(r1)
/* 80185E44 00182DA4 80 A1 01 18 */ lwz r5, 0x118(r1)
/* 80185E48 00182DA8 80 81 01 1C */ lwz r4, 0x11c(r1)
/* 80185E4C 00182DAC 80 61 01 20 */ lwz r3, 0x120(r1)
/* 80185E50 00182DB0 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80185E54 00182DB4 92 01 01 BC */ stw r16, 0x1bc(r1)
/* 80185E58 00182DB8 92 21 01 C0 */ stw r17, 0x1c0(r1)
/* 80185E5C 00182DBC 91 81 01 C4 */ stw r12, 0x1c4(r1)
/* 80185E60 00182DC0 91 61 01 C8 */ stw r11, 0x1c8(r1)
/* 80185E64 00182DC4 91 41 01 CC */ stw r10, 0x1cc(r1)
/* 80185E68 00182DC8 91 21 01 D0 */ stw r9, 0x1d0(r1)
/* 80185E6C 00182DCC 91 01 01 D4 */ stw r8, 0x1d4(r1)
/* 80185E70 00182DD0 90 E1 01 D8 */ stw r7, 0x1d8(r1)
/* 80185E74 00182DD4 90 C1 01 DC */ stw r6, 0x1dc(r1)
/* 80185E78 00182DD8 90 A1 01 E0 */ stw r5, 0x1e0(r1)
/* 80185E7C 00182DDC 90 81 01 E4 */ stw r4, 0x1e4(r1)
/* 80185E80 00182DE0 90 61 01 E8 */ stw r3, 0x1e8(r1)
/* 80185E84 00182DE4 90 01 01 EC */ stw r0, 0x1ec(r1)
lbl_80185E88:
/* 80185E88 00182DE8 C0 41 00 C8 */ lfs f2, 0xc8(r1)
/* 80185E8C 00182DEC 7F 23 CB 78 */ mr r3, r25
/* 80185E90 00182DF0 C0 21 00 CC */ lfs f1, 0xcc(r1)
/* 80185E94 00182DF4 38 81 01 BC */ addi r4, r1, 0x1bc
/* 80185E98 00182DF8 C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 80185E9C 00182DFC EC 59 00 B2 */ fmuls f2, f25, f2
/* 80185EA0 00182E00 EC 39 00 72 */ fmuls f1, f25, f1
/* 80185EA4 00182E04 EC 19 00 32 */ fmuls f0, f25, f0
/* 80185EA8 00182E08 D0 41 01 C0 */ stfs f2, 0x1c0(r1)
/* 80185EAC 00182E0C D0 01 01 BC */ stfs f0, 0x1bc(r1)
/* 80185EB0 00182E10 D0 21 01 C4 */ stfs f1, 0x1c4(r1)
/* 80185EB4 00182E14 4B F9 56 61 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 80185EB8 00182E18 88 01 02 20 */ lbz r0, 0x220(r1)
/* 80185EBC 00182E1C 28 00 00 00 */ cmplwi r0, 0
/* 80185EC0 00182E20 41 82 03 6C */ beq lbl_8018622C
/* 80185EC4 00182E24 C0 19 01 38 */ lfs f0, 0x138(r25)
/* 80185EC8 00182E28 38 61 00 AC */ addi r3, r1, 0xac
/* 80185ECC 00182E2C D0 01 00 AC */ stfs f0, 0xac(r1)
/* 80185ED0 00182E30 C0 19 01 3C */ lfs f0, 0x13c(r25)
/* 80185ED4 00182E34 D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 80185ED8 00182E38 C0 19 01 40 */ lfs f0, 0x140(r25)
/* 80185EDC 00182E3C D0 01 00 B4 */ stfs f0, 0xb4(r1)
/* 80185EE0 00182E40 48 18 E8 19 */ bl CanBeNormalized__9CVector3fCFv
/* 80185EE4 00182E44 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80185EE8 00182E48 41 82 00 34 */ beq lbl_80185F1C
/* 80185EEC 00182E4C 38 61 00 64 */ addi r3, r1, 0x64
/* 80185EF0 00182E50 38 81 00 AC */ addi r4, r1, 0xac
/* 80185EF4 00182E54 48 18 E9 5D */ bl AsNormalized__9CVector3fCFv
/* 80185EF8 00182E58 C0 3C 00 24 */ lfs f1, 0x24(r28)
/* 80185EFC 00182E5C 38 61 00 58 */ addi r3, r1, 0x58
/* 80185F00 00182E60 C0 5C 00 28 */ lfs f2, 0x28(r28)
/* 80185F04 00182E64 38 81 00 AC */ addi r4, r1, 0xac
/* 80185F08 00182E68 38 A1 00 64 */ addi r5, r1, 0x64
/* 80185F0C 00182E6C 38 C1 00 B8 */ addi r6, r1, 0xb8
/* 80185F10 00182E70 48 00 20 FD */ bl CollisionDamping__15CGroundMovementFRC9CVector3fRC9CVector3fRC9CVector3fff
/* 80185F14 00182E74 38 61 00 58 */ addi r3, r1, 0x58
/* 80185F18 00182E78 48 00 00 0C */ b lbl_80185F24
lbl_80185F1C:
/* 80185F1C 00182E7C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80185F20 00182E80 38 63 66 A0 */ addi r3, r3, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
lbl_80185F24:
/* 80185F24 00182E84 C0 03 00 00 */ lfs f0, 0(r3)
/* 80185F28 00182E88 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 80185F2C 00182E8C D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 80185F30 00182E90 C0 03 00 04 */ lfs f0, 4(r3)
/* 80185F34 00182E94 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 80185F38 00182E98 C0 03 00 08 */ lfs f0, 8(r3)
/* 80185F3C 00182E9C D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 80185F40 00182EA0 41 82 00 0C */ beq lbl_80185F4C
/* 80185F44 00182EA4 C0 7C 00 2C */ lfs f3, 0x2c(r28)
/* 80185F48 00182EA8 48 00 00 14 */ b lbl_80185F5C
lbl_80185F4C:
/* 80185F4C 00182EAC C0 5C 00 34 */ lfs f2, 0x34(r28)
/* 80185F50 00182EB0 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 80185F54 00182EB4 C0 1C 00 30 */ lfs f0, 0x30(r28)
/* 80185F58 00182EB8 EC 62 00 7A */ fmadds f3, f2, f1, f0
lbl_80185F5C:
/* 80185F5C 00182EBC C0 C1 00 BC */ lfs f6, 0xbc(r1)
/* 80185F60 00182EC0 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 80185F64 00182EC4 C0 A1 00 B8 */ lfs f5, 0xb8(r1)
/* 80185F68 00182EC8 EC 06 00 32 */ fmuls f0, f6, f0
/* 80185F6C 00182ECC C0 21 00 A0 */ lfs f1, 0xa0(r1)
/* 80185F70 00182ED0 C0 E1 00 C0 */ lfs f7, 0xc0(r1)
/* 80185F74 00182ED4 C0 41 00 A8 */ lfs f2, 0xa8(r1)
/* 80185F78 00182ED8 EC 05 00 7A */ fmadds f0, f5, f1, f0
/* 80185F7C 00182EDC EC 07 00 BA */ fmadds f0, f7, f2, f0
/* 80185F80 00182EE0 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 80185F84 00182EE4 40 80 00 38 */ bge lbl_80185FBC
/* 80185F88 00182EE8 EC 03 00 28 */ fsubs f0, f3, f0
/* 80185F8C 00182EEC C0 81 00 A0 */ lfs f4, 0xa0(r1)
/* 80185F90 00182EF0 C0 61 00 A4 */ lfs f3, 0xa4(r1)
/* 80185F94 00182EF4 C0 21 00 A8 */ lfs f1, 0xa8(r1)
/* 80185F98 00182EF8 EC A0 01 72 */ fmuls f5, f0, f5
/* 80185F9C 00182EFC EC 40 01 B2 */ fmuls f2, f0, f6
/* 80185FA0 00182F00 EC 00 01 F2 */ fmuls f0, f0, f7
/* 80185FA4 00182F04 EC 84 28 2A */ fadds f4, f4, f5
/* 80185FA8 00182F08 EC 43 10 2A */ fadds f2, f3, f2
/* 80185FAC 00182F0C EC 01 00 2A */ fadds f0, f1, f0
/* 80185FB0 00182F10 D0 81 00 A0 */ stfs f4, 0xa0(r1)
/* 80185FB4 00182F14 D0 41 00 A4 */ stfs f2, 0xa4(r1)
/* 80185FB8 00182F18 D0 01 00 A8 */ stfs f0, 0xa8(r1)
lbl_80185FBC:
/* 80185FBC 00182F1C 56 A0 06 3F */ clrlwi. r0, r21, 0x18
/* 80185FC0 00182F20 41 82 00 28 */ beq lbl_80185FE8
/* 80185FC4 00182F24 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 80185FC8 00182F28 41 82 00 20 */ beq lbl_80185FE8
/* 80185FCC 00182F2C 38 61 00 D0 */ addi r3, r1, 0xd0
/* 80185FD0 00182F30 38 81 00 A0 */ addi r4, r1, 0xa0
/* 80185FD4 00182F34 48 00 04 71 */ bl RemoveNormalComponent__15CGroundMovementFRC9CVector3fR9CVector3f
/* 80185FD8 00182F38 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80185FDC 00182F3C 40 82 00 0C */ bne lbl_80185FE8
/* 80185FE0 00182F40 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80185FE4 00182F44 D0 01 00 A8 */ stfs f0, 0xa8(r1)
lbl_80185FE8:
/* 80185FE8 00182F48 C0 61 00 A8 */ lfs f3, 0xa8(r1)
/* 80185FEC 00182F4C C0 1C 00 38 */ lfs f0, 0x38(r28)
/* 80185FF0 00182F50 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 80185FF4 00182F54 40 81 00 28 */ ble lbl_8018601C
/* 80185FF8 00182F58 EC 80 18 24 */ fdivs f4, f0, f3
/* 80185FFC 00182F5C C0 21 00 A0 */ lfs f1, 0xa0(r1)
/* 80186000 00182F60 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 80186004 00182F64 EC 41 01 32 */ fmuls f2, f1, f4
/* 80186008 00182F68 EC 20 01 32 */ fmuls f1, f0, f4
/* 8018600C 00182F6C EC 03 01 32 */ fmuls f0, f3, f4
/* 80186010 00182F70 D0 41 00 A0 */ stfs f2, 0xa0(r1)
/* 80186014 00182F74 D0 21 00 A4 */ stfs f1, 0xa4(r1)
/* 80186018 00182F78 D0 01 00 A8 */ stfs f0, 0xa8(r1)
lbl_8018601C:
/* 8018601C 00182F7C 88 1C 00 18 */ lbz r0, 0x18(r28)
/* 80186020 00182F80 28 00 00 00 */ cmplwi r0, 0
/* 80186024 00182F84 41 82 00 FC */ beq lbl_80186120
/* 80186028 00182F88 C0 19 01 5C */ lfs f0, 0x15c(r25)
/* 8018602C 00182F8C 38 61 00 94 */ addi r3, r1, 0x94
/* 80186030 00182F90 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 80186034 00182F94 C0 19 01 60 */ lfs f0, 0x160(r25)
/* 80186038 00182F98 D0 01 00 98 */ stfs f0, 0x98(r1)
/* 8018603C 00182F9C C0 19 01 64 */ lfs f0, 0x164(r25)
/* 80186040 00182FA0 D0 01 00 9C */ stfs f0, 0x9c(r1)
/* 80186044 00182FA4 48 18 E6 B5 */ bl CanBeNormalized__9CVector3fCFv
/* 80186048 00182FA8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018604C 00182FAC 41 82 00 58 */ beq lbl_801860A4
/* 80186050 00182FB0 38 61 00 40 */ addi r3, r1, 0x40
/* 80186054 00182FB4 38 81 00 94 */ addi r4, r1, 0x94
/* 80186058 00182FB8 48 18 E7 F9 */ bl AsNormalized__9CVector3fCFv
/* 8018605C 00182FBC C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186060 00182FC0 38 61 00 4C */ addi r3, r1, 0x4c
/* 80186064 00182FC4 C0 42 A3 10 */ lfs f2, lbl_805AC030@sda21(r2)
/* 80186068 00182FC8 38 81 00 94 */ addi r4, r1, 0x94
/* 8018606C 00182FCC 38 A1 00 40 */ addi r5, r1, 0x40
/* 80186070 00182FD0 38 C1 00 B8 */ addi r6, r1, 0xb8
/* 80186074 00182FD4 48 00 1F 99 */ bl CollisionDamping__15CGroundMovementFRC9CVector3fRC9CVector3fRC9CVector3fff
/* 80186078 00182FD8 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 8018607C 00182FDC C0 21 00 50 */ lfs f1, 0x50(r1)
/* 80186080 00182FE0 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80186084 00182FE4 D0 41 00 94 */ stfs f2, 0x94(r1)
/* 80186088 00182FE8 D0 21 00 98 */ stfs f1, 0x98(r1)
/* 8018608C 00182FEC D0 01 00 9C */ stfs f0, 0x9c(r1)
/* 80186090 00182FF0 D0 59 01 5C */ stfs f2, 0x15c(r25)
/* 80186094 00182FF4 C0 01 00 98 */ lfs f0, 0x98(r1)
/* 80186098 00182FF8 D0 19 01 60 */ stfs f0, 0x160(r25)
/* 8018609C 00182FFC C0 01 00 9C */ lfs f0, 0x9c(r1)
/* 801860A0 00183000 D0 19 01 64 */ stfs f0, 0x164(r25)
lbl_801860A4:
/* 801860A4 00183004 C0 19 01 50 */ lfs f0, 0x150(r25)
/* 801860A8 00183008 38 61 00 88 */ addi r3, r1, 0x88
/* 801860AC 0018300C D0 01 00 88 */ stfs f0, 0x88(r1)
/* 801860B0 00183010 C0 19 01 54 */ lfs f0, 0x154(r25)
/* 801860B4 00183014 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 801860B8 00183018 C0 19 01 58 */ lfs f0, 0x158(r25)
/* 801860BC 0018301C D0 01 00 90 */ stfs f0, 0x90(r1)
/* 801860C0 00183020 48 18 E6 39 */ bl CanBeNormalized__9CVector3fCFv
/* 801860C4 00183024 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801860C8 00183028 41 82 00 58 */ beq lbl_80186120
/* 801860CC 0018302C 38 61 00 28 */ addi r3, r1, 0x28
/* 801860D0 00183030 38 81 00 88 */ addi r4, r1, 0x88
/* 801860D4 00183034 48 18 E7 7D */ bl AsNormalized__9CVector3fCFv
/* 801860D8 00183038 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 801860DC 0018303C 38 61 00 34 */ addi r3, r1, 0x34
/* 801860E0 00183040 C0 42 A3 10 */ lfs f2, lbl_805AC030@sda21(r2)
/* 801860E4 00183044 38 81 00 88 */ addi r4, r1, 0x88
/* 801860E8 00183048 38 A1 00 28 */ addi r5, r1, 0x28
/* 801860EC 0018304C 38 C1 00 B8 */ addi r6, r1, 0xb8
/* 801860F0 00183050 48 00 1F 1D */ bl CollisionDamping__15CGroundMovementFRC9CVector3fRC9CVector3fRC9CVector3fff
/* 801860F4 00183054 C0 41 00 34 */ lfs f2, 0x34(r1)
/* 801860F8 00183058 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 801860FC 0018305C C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80186100 00183060 D0 41 00 88 */ stfs f2, 0x88(r1)
/* 80186104 00183064 D0 21 00 8C */ stfs f1, 0x8c(r1)
/* 80186108 00183068 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 8018610C 0018306C D0 59 01 50 */ stfs f2, 0x150(r25)
/* 80186110 00183070 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 80186114 00183074 D0 19 01 54 */ stfs f0, 0x154(r25)
/* 80186118 00183078 C0 01 00 90 */ lfs f0, 0x90(r1)
/* 8018611C 0018307C D0 19 01 58 */ stfs f0, 0x158(r25)
lbl_80186120:
/* 80186120 00183080 88 1C 00 00 */ lbz r0, 0(r28)
/* 80186124 00183084 28 00 00 00 */ cmplwi r0, 0
/* 80186128 00183088 41 82 00 F4 */ beq lbl_8018621C
/* 8018612C 0018308C 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 80186130 00183090 40 82 00 EC */ bne lbl_8018621C
/* 80186134 00183094 C0 21 02 40 */ lfs f1, 0x240(r1)
/* 80186138 00183098 C0 02 A3 1C */ lfs f0, lbl_805AC03C@sda21(r2)
/* 8018613C 0018309C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186140 001830A0 40 80 00 20 */ bge lbl_80186160
/* 80186144 001830A4 C0 21 00 A8 */ lfs f1, 0xa8(r1)
/* 80186148 001830A8 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 8018614C 001830AC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186150 001830B0 40 81 00 10 */ ble lbl_80186160
/* 80186154 001830B4 C0 02 A3 20 */ lfs f0, lbl_805AC040@sda21(r2)
/* 80186158 001830B8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8018615C 001830BC D0 01 00 A8 */ stfs f0, 0xa8(r1)
lbl_80186160:
/* 80186160 001830C0 C0 21 02 40 */ lfs f1, 0x240(r1)
/* 80186164 001830C4 C0 1C 00 10 */ lfs f0, 0x10(r28)
/* 80186168 001830C8 FC 20 0A 10 */ fabs f1, f1
/* 8018616C 001830CC FC 40 08 18 */ frsp f2, f1
/* 80186170 001830D0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80186174 001830D4 40 81 00 14 */ ble lbl_80186188
/* 80186178 001830D8 C0 21 00 A8 */ lfs f1, 0xa8(r1)
/* 8018617C 001830DC C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80186180 001830E0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186184 001830E4 41 80 00 10 */ blt lbl_80186194
lbl_80186188:
/* 80186188 001830E8 C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 8018618C 001830EC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80186190 001830F0 40 81 00 8C */ ble lbl_8018621C
lbl_80186194:
/* 80186194 001830F4 C0 3C 00 04 */ lfs f1, 4(r28)
/* 80186198 001830F8 C0 1C 00 08 */ lfs f0, 8(r28)
/* 8018619C 001830FC EC 21 00 B2 */ fmuls f1, f1, f2
/* 801861A0 00183100 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801861A4 00183104 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 801861A8 00183108 40 80 00 0C */ bge lbl_801861B4
/* 801861AC 0018310C 38 9C 00 08 */ addi r4, r28, 8
/* 801861B0 00183110 48 00 00 08 */ b lbl_801861B8
lbl_801861B4:
/* 801861B4 00183114 38 81 00 14 */ addi r4, r1, 0x14
lbl_801861B8:
/* 801861B8 00183118 7F 23 CB 78 */ mr r3, r25
/* 801861BC 0018311C C3 24 00 00 */ lfs f25, 0(r4)
/* 801861C0 00183120 81 99 00 00 */ lwz r12, 0(r25)
/* 801861C4 00183124 81 8C 00 80 */ lwz r12, 0x80(r12)
/* 801861C8 00183128 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801861CC 0018312C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801861D0 00183130 C0 62 A3 10 */ lfs f3, lbl_805AC030@sda21(r2)
/* 801861D4 00183134 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 801861D8 00183138 EC 43 C8 2A */ fadds f2, f3, f25
/* 801861DC 0018313C D0 19 01 5C */ stfs f0, 0x15c(r25)
/* 801861E0 00183140 FC 40 10 50 */ fneg f2, f2
/* 801861E4 00183144 D0 19 01 60 */ stfs f0, 0x160(r25)
/* 801861E8 00183148 EC 02 00 72 */ fmuls f0, f2, f1
/* 801861EC 0018314C D0 19 01 64 */ stfs f0, 0x164(r25)
/* 801861F0 00183150 C0 1C 00 14 */ lfs f0, 0x14(r28)
/* 801861F4 00183154 C0 41 00 A0 */ lfs f2, 0xa0(r1)
/* 801861F8 00183158 EC 63 00 28 */ fsubs f3, f3, f0
/* 801861FC 0018315C C0 21 00 A4 */ lfs f1, 0xa4(r1)
/* 80186200 00183160 C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 80186204 00183164 EC 42 00 F2 */ fmuls f2, f2, f3
/* 80186208 00183168 EC 21 00 F2 */ fmuls f1, f1, f3
/* 8018620C 0018316C EC 00 00 F2 */ fmuls f0, f0, f3
/* 80186210 00183170 D0 41 00 A0 */ stfs f2, 0xa0(r1)
/* 80186214 00183174 D0 21 00 A4 */ stfs f1, 0xa4(r1)
/* 80186218 00183178 D0 01 00 A8 */ stfs f0, 0xa8(r1)
lbl_8018621C:
/* 8018621C 0018317C 7F 23 CB 78 */ mr r3, r25
/* 80186220 00183180 38 81 00 A0 */ addi r4, r1, 0xa0
/* 80186224 00183184 4B F9 4A 7D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 80186228 00183188 48 00 00 50 */ b lbl_80186278
lbl_8018622C:
/* 8018622C 0018318C C0 59 01 38 */ lfs f2, 0x138(r25)
/* 80186230 00183190 C0 7C 00 38 */ lfs f3, 0x38(r28)
/* 80186234 00183194 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80186238 00183198 C0 39 01 3C */ lfs f1, 0x13c(r25)
/* 8018623C 0018319C D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80186240 001831A0 C0 19 01 40 */ lfs f0, 0x140(r25)
/* 80186244 001831A4 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 80186248 001831A8 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 8018624C 001831AC 40 81 00 20 */ ble lbl_8018626C
/* 80186250 001831B0 EC 63 00 24 */ fdivs f3, f3, f0
/* 80186254 001831B4 EC 42 00 F2 */ fmuls f2, f2, f3
/* 80186258 001831B8 EC 21 00 F2 */ fmuls f1, f1, f3
/* 8018625C 001831BC EC 00 00 F2 */ fmuls f0, f0, f3
/* 80186260 001831C0 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80186264 001831C4 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80186268 001831C8 D0 01 00 84 */ stfs f0, 0x84(r1)
lbl_8018626C:
/* 8018626C 001831CC 7F 23 CB 78 */ mr r3, r25
/* 80186270 001831D0 38 81 00 7C */ addi r4, r1, 0x7c
/* 80186274 001831D4 4B F9 4A 2D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
lbl_80186278:
/* 80186278 001831D8 7F 23 CB 78 */ mr r3, r25
/* 8018627C 001831DC 4B F9 4F A5 */ bl ClearImpulses__13CPhysicsActorFv
/* 80186280 001831E0 80 1C 00 1C */ lwz r0, 0x1c(r28)
/* 80186284 001831E4 3B FF 00 01 */ addi r31, r31, 1
/* 80186288 001831E8 EF 9C D8 28 */ fsubs f28, f28, f27
/* 8018628C 001831EC 7C 1F 00 40 */ cmplw r31, r0
/* 80186290 001831F0 40 80 00 0C */ bge lbl_8018629C
lbl_80186294:
/* 80186294 001831F4 FC 1C F8 40 */ fcmpo cr0, f28, f31
/* 80186298 001831F8 41 81 F8 40 */ bgt lbl_80185AD8
lbl_8018629C:
/* 8018629C 001831FC EC 1A E0 28 */ fsubs f0, f26, f28
/* 801862A0 00183200 D0 1D 00 70 */ stfs f0, 0x70(r29)
/* 801862A4 00183204 92 77 00 04 */ stw r19, 4(r23)
/* 801862A8 00183208 92 97 00 00 */ stw r20, 0(r23)
/* 801862AC 0018320C E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0
/* 801862B0 00183210 CB E1 02 F0 */ lfd f31, 0x2f0(r1)
/* 801862B4 00183214 E3 C1 02 E8 */ psq_l f30, 744(r1), 0, qr0
/* 801862B8 00183218 CB C1 02 E0 */ lfd f30, 0x2e0(r1)
/* 801862BC 0018321C E3 A1 02 D8 */ psq_l f29, 728(r1), 0, qr0
/* 801862C0 00183220 CB A1 02 D0 */ lfd f29, 0x2d0(r1)
/* 801862C4 00183224 E3 81 02 C8 */ psq_l f28, 712(r1), 0, qr0
/* 801862C8 00183228 CB 81 02 C0 */ lfd f28, 0x2c0(r1)
/* 801862CC 0018322C E3 61 02 B8 */ psq_l f27, 696(r1), 0, qr0
/* 801862D0 00183230 CB 61 02 B0 */ lfd f27, 0x2b0(r1)
/* 801862D4 00183234 E3 41 02 A8 */ psq_l f26, 680(r1), 0, qr0
/* 801862D8 00183238 CB 41 02 A0 */ lfd f26, 0x2a0(r1)
/* 801862DC 0018323C E3 21 02 98 */ psq_l f25, 664(r1), 0, qr0
/* 801862E0 00183240 CB 21 02 90 */ lfd f25, 0x290(r1)
/* 801862E4 00183244 BA 01 02 50 */ lmw r16, 0x250(r1)
/* 801862E8 00183248 80 01 03 04 */ lwz r0, 0x304(r1)
/* 801862EC 0018324C 7C 08 03 A6 */ mtlr r0
/* 801862F0 00183250 38 21 03 00 */ addi r1, r1, 0x300
2022-07-14 05:48:03 +00:00
/* 801862F4 00183254 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_801862f8
sub_801862f8:
/* 801862F8 00183258 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801862FC 0018325C 7C 08 02 A6 */ mflr r0
/* 80186300 00183260 90 01 00 14 */ stw r0, 0x14(r1)
/* 80186304 00183264 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80186308 00183268 7C 7F 1B 78 */ mr r31, r3
/* 8018630C 0018326C 48 00 00 1D */ bl sub_80186328
/* 80186310 00183270 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80186314 00183274 7F E3 FB 78 */ mr r3, r31
/* 80186318 00183278 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8018631C 0018327C 7C 08 03 A6 */ mtlr r0
/* 80186320 00183280 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80186324 00183284 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80186328
sub_80186328:
/* 80186328 00183288 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018632C 0018328C 7C 08 02 A6 */ mflr r0
/* 80186330 00183290 90 01 00 14 */ stw r0, 0x14(r1)
/* 80186334 00183294 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80186338 00183298 7C 7F 1B 78 */ mr r31, r3
/* 8018633C 0018329C 88 03 00 60 */ lbz r0, 0x60(r3)
/* 80186340 001832A0 28 00 00 00 */ cmplwi r0, 0
/* 80186344 001832A4 40 82 00 14 */ bne lbl_80186358
/* 80186348 001832A8 48 00 00 D5 */ bl sub_8018641c
/* 8018634C 001832AC 38 00 00 01 */ li r0, 1
/* 80186350 001832B0 98 1F 00 60 */ stb r0, 0x60(r31)
/* 80186354 001832B4 48 00 00 B4 */ b lbl_80186408
lbl_80186358:
/* 80186358 001832B8 80 64 00 00 */ lwz r3, 0(r4)
/* 8018635C 001832BC 80 04 00 04 */ lwz r0, 4(r4)
/* 80186360 001832C0 90 7F 00 00 */ stw r3, 0(r31)
/* 80186364 001832C4 90 1F 00 04 */ stw r0, 4(r31)
/* 80186368 001832C8 80 04 00 08 */ lwz r0, 8(r4)
/* 8018636C 001832CC 90 1F 00 08 */ stw r0, 8(r31)
/* 80186370 001832D0 80 64 00 0C */ lwz r3, 0xc(r4)
/* 80186374 001832D4 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80186378 001832D8 90 7F 00 0C */ stw r3, 0xc(r31)
/* 8018637C 001832DC 90 1F 00 10 */ stw r0, 0x10(r31)
/* 80186380 001832E0 80 04 00 14 */ lwz r0, 0x14(r4)
/* 80186384 001832E4 90 1F 00 14 */ stw r0, 0x14(r31)
/* 80186388 001832E8 80 64 00 18 */ lwz r3, 0x18(r4)
/* 8018638C 001832EC 80 04 00 1C */ lwz r0, 0x1c(r4)
/* 80186390 001832F0 90 7F 00 18 */ stw r3, 0x18(r31)
/* 80186394 001832F4 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 80186398 001832F8 80 04 00 20 */ lwz r0, 0x20(r4)
/* 8018639C 001832FC 90 1F 00 20 */ stw r0, 0x20(r31)
/* 801863A0 00183300 80 64 00 24 */ lwz r3, 0x24(r4)
/* 801863A4 00183304 80 04 00 28 */ lwz r0, 0x28(r4)
/* 801863A8 00183308 90 7F 00 24 */ stw r3, 0x24(r31)
/* 801863AC 0018330C 90 1F 00 28 */ stw r0, 0x28(r31)
/* 801863B0 00183310 80 04 00 2C */ lwz r0, 0x2c(r4)
/* 801863B4 00183314 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 801863B8 00183318 88 04 00 30 */ lbz r0, 0x30(r4)
/* 801863BC 0018331C 98 1F 00 30 */ stb r0, 0x30(r31)
/* 801863C0 00183320 88 04 00 31 */ lbz r0, 0x31(r4)
/* 801863C4 00183324 98 1F 00 31 */ stb r0, 0x31(r31)
/* 801863C8 00183328 C8 04 00 38 */ lfd f0, 0x38(r4)
/* 801863CC 0018332C D8 1F 00 38 */ stfd f0, 0x38(r31)
/* 801863D0 00183330 C8 04 00 40 */ lfd f0, 0x40(r4)
/* 801863D4 00183334 D8 1F 00 40 */ stfd f0, 0x40(r31)
/* 801863D8 00183338 80 64 00 48 */ lwz r3, 0x48(r4)
/* 801863DC 0018333C 80 04 00 4C */ lwz r0, 0x4c(r4)
/* 801863E0 00183340 90 7F 00 48 */ stw r3, 0x48(r31)
/* 801863E4 00183344 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 801863E8 00183348 80 04 00 50 */ lwz r0, 0x50(r4)
/* 801863EC 0018334C 90 1F 00 50 */ stw r0, 0x50(r31)
/* 801863F0 00183350 80 64 00 54 */ lwz r3, 0x54(r4)
/* 801863F4 00183354 80 04 00 58 */ lwz r0, 0x58(r4)
/* 801863F8 00183358 90 7F 00 54 */ stw r3, 0x54(r31)
/* 801863FC 0018335C 90 1F 00 58 */ stw r0, 0x58(r31)
/* 80186400 00183360 80 04 00 5C */ lwz r0, 0x5c(r4)
/* 80186404 00183364 90 1F 00 5C */ stw r0, 0x5c(r31)
lbl_80186408:
/* 80186408 00183368 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018640C 0018336C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80186410 00183370 7C 08 03 A6 */ mtlr r0
/* 80186414 00183374 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80186418 00183378 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_8018641c
sub_8018641c:
/* 8018641C 0018337C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80186420 00183380 7C 08 02 A6 */ mflr r0
/* 80186424 00183384 28 03 00 00 */ cmplwi r3, 0
/* 80186428 00183388 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018642C 0018338C 41 82 00 08 */ beq lbl_80186434
/* 80186430 00183390 4B F6 B0 71 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo
lbl_80186434:
/* 80186434 00183394 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80186438 00183398 7C 08 03 A6 */ mtlr r0
/* 8018643C 0018339C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80186440 001833A0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RemoveNormalComponent__15CGroundMovementFRC9CVector3fR9CVector3f
RemoveNormalComponent__15CGroundMovementFRC9CVector3fR9CVector3f:
/* 80186444 001833A4 C0 43 00 04 */ lfs f2, 4(r3)
/* 80186448 001833A8 C0 04 00 04 */ lfs f0, 4(r4)
/* 8018644C 001833AC C0 63 00 00 */ lfs f3, 0(r3)
/* 80186450 001833B0 EC 02 00 32 */ fmuls f0, f2, f0
/* 80186454 001833B4 C0 24 00 00 */ lfs f1, 0(r4)
/* 80186458 001833B8 C0 A3 00 08 */ lfs f5, 8(r3)
/* 8018645C 001833BC C0 84 00 08 */ lfs f4, 8(r4)
/* 80186460 001833C0 EC 23 00 7A */ fmadds f1, f3, f1, f0
/* 80186464 001833C4 C0 02 A3 24 */ lfs f0, lbl_805AC044@sda21(r2)
/* 80186468 001833C8 EC 85 09 3A */ fmadds f4, f5, f4, f1
/* 8018646C 001833CC FC 20 22 10 */ fabs f1, f4
/* 80186470 001833D0 FC 20 08 18 */ frsp f1, f1
/* 80186474 001833D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186478 001833D8 40 81 00 0C */ ble lbl_80186484
/* 8018647C 001833DC 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80186480 001833E0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
lbl_80186484:
/* 80186484 001833E4 EC 04 00 F2 */ fmuls f0, f4, f3
/* 80186488 001833E8 C0 24 00 00 */ lfs f1, 0(r4)
/* 8018648C 001833EC EC 64 00 B2 */ fmuls f3, f4, f2
/* 80186490 001833F0 38 60 00 01 */ li r3, 1
/* 80186494 001833F4 EC 44 01 72 */ fmuls f2, f4, f5
/* 80186498 001833F8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8018649C 001833FC D0 04 00 00 */ stfs f0, 0(r4)
/* 801864A0 00183400 C0 04 00 04 */ lfs f0, 4(r4)
/* 801864A4 00183404 EC 00 18 28 */ fsubs f0, f0, f3
/* 801864A8 00183408 D0 04 00 04 */ stfs f0, 4(r4)
/* 801864AC 0018340C C0 04 00 08 */ lfs f0, 8(r4)
/* 801864B0 00183410 EC 00 10 28 */ fsubs f0, f0, f2
/* 801864B4 00183414 D0 04 00 08 */ stfs f0, 8(r4)
2022-07-14 05:48:03 +00:00
/* 801864B8 00183418 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RemoveNormalComponent__15CGroundMovementFRC9CVector3fRC9CVector3fR9CVector3fRf
RemoveNormalComponent__15CGroundMovementFRC9CVector3fRC9CVector3fR9CVector3fRf:
/* 801864BC 0018341C 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 801864C0 00183420 7C 08 02 A6 */ mflr r0
/* 801864C4 00183424 90 01 00 64 */ stw r0, 0x64(r1)
/* 801864C8 00183428 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 801864CC 0018342C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 801864D0 00183430 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 801864D4 00183434 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 801864D8 00183438 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 801864DC 0018343C 93 C1 00 38 */ stw r30, 0x38(r1)
/* 801864E0 00183440 93 A1 00 34 */ stw r29, 0x34(r1)
/* 801864E4 00183444 93 81 00 30 */ stw r28, 0x30(r1)
/* 801864E8 00183448 7C 7C 1B 78 */ mr r28, r3
/* 801864EC 0018344C 7C BE 2B 78 */ mr r30, r5
/* 801864F0 00183450 C0 43 00 04 */ lfs f2, 4(r3)
/* 801864F4 00183454 7C 9D 23 78 */ mr r29, r4
/* 801864F8 00183458 C0 85 00 04 */ lfs f4, 4(r5)
/* 801864FC 0018345C 7C DF 33 78 */ mr r31, r6
/* 80186500 00183460 C0 C3 00 00 */ lfs f6, 0(r3)
/* 80186504 00183464 EC 02 01 32 */ fmuls f0, f2, f4
/* 80186508 00183468 C0 A5 00 00 */ lfs f5, 0(r5)
/* 8018650C 0018346C C0 63 00 08 */ lfs f3, 8(r3)
/* 80186510 00183470 C0 E5 00 08 */ lfs f7, 8(r5)
/* 80186514 00183474 EC 26 01 7A */ fmadds f1, f6, f5, f0
/* 80186518 00183478 C0 02 A3 24 */ lfs f0, lbl_805AC044@sda21(r2)
/* 8018651C 0018347C EF E3 09 FA */ fmadds f31, f3, f7, f1
/* 80186520 00183480 FC 20 FA 10 */ fabs f1, f31
/* 80186524 00183484 FC 20 08 18 */ frsp f1, f1
/* 80186528 00183488 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018652C 0018348C 40 81 00 0C */ ble lbl_80186538
/* 80186530 00183490 38 60 00 00 */ li r3, 0
/* 80186534 00183494 48 00 01 10 */ b lbl_80186644
lbl_80186538:
/* 80186538 00183498 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8018653C 0018349C ED 3F 00 B2 */ fmuls f9, f31, f2
/* 80186540 001834A0 ED 1F 00 F2 */ fmuls f8, f31, f3
/* 80186544 001834A4 C0 5D 00 00 */ lfs f2, 0(r29)
/* 80186548 001834A8 EC 00 01 32 */ fmuls f0, f0, f4
/* 8018654C 001834AC C0 7D 00 08 */ lfs f3, 8(r29)
/* 80186550 001834B0 EC 3F 01 B2 */ fmuls f1, f31, f6
/* 80186554 001834B4 EC C4 48 28 */ fsubs f6, f4, f9
/* 80186558 001834B8 EC 42 01 7A */ fmadds f2, f2, f5, f0
/* 8018655C 001834BC D1 21 00 0C */ stfs f9, 0xc(r1)
/* 80186560 001834C0 EC 87 40 28 */ fsubs f4, f7, f8
/* 80186564 001834C4 38 61 00 20 */ addi r3, r1, 0x20
/* 80186568 001834C8 EC 05 08 28 */ fsubs f0, f5, f1
/* 8018656C 001834CC EF C3 11 FA */ fmadds f30, f3, f7, f2
/* 80186570 001834D0 D0 21 00 08 */ stfs f1, 8(r1)
/* 80186574 001834D4 38 81 00 14 */ addi r4, r1, 0x14
/* 80186578 001834D8 D1 01 00 10 */ stfs f8, 0x10(r1)
/* 8018657C 001834DC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80186580 001834E0 D0 C1 00 18 */ stfs f6, 0x18(r1)
/* 80186584 001834E4 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 80186588 001834E8 48 18 E2 C9 */ bl AsNormalized__9CVector3fCFv
/* 8018658C 001834EC C0 5D 00 04 */ lfs f2, 4(r29)
/* 80186590 001834F0 C0 21 00 24 */ lfs f1, 0x24(r1)
/* 80186594 001834F4 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80186598 001834F8 EC 22 00 72 */ fmuls f1, f2, f1
/* 8018659C 001834FC C0 7D 00 00 */ lfs f3, 0(r29)
/* 801865A0 00183500 C0 41 00 20 */ lfs f2, 0x20(r1)
/* 801865A4 00183504 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 801865A8 00183508 C0 9D 00 08 */ lfs f4, 8(r29)
/* 801865AC 0018350C EC 23 08 BA */ fmadds f1, f3, f2, f1
/* 801865B0 00183510 C0 41 00 28 */ lfs f2, 0x28(r1)
/* 801865B4 00183514 EC 44 08 BA */ fmadds f2, f4, f2, f1
/* 801865B8 00183518 40 81 00 14 */ ble lbl_801865CC
/* 801865BC 0018351C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801865C0 00183520 40 80 00 0C */ bge lbl_801865CC
/* 801865C4 00183524 38 60 00 00 */ li r3, 0
/* 801865C8 00183528 48 00 00 7C */ b lbl_80186644
lbl_801865CC:
/* 801865CC 0018352C FC 20 F2 10 */ fabs f1, f30
/* 801865D0 00183530 C0 02 A3 28 */ lfs f0, lbl_805AC048@sda21(r2)
/* 801865D4 00183534 FC 20 08 18 */ frsp f1, f1
/* 801865D8 00183538 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801865DC 0018353C 40 81 00 24 */ ble lbl_80186600
/* 801865E0 00183540 EC 22 F0 24 */ fdivs f1, f2, f30
/* 801865E4 00183544 C0 02 A3 2C */ lfs f0, lbl_805AC04C@sda21(r2)
/* 801865E8 00183548 FC 20 0A 10 */ fabs f1, f1
/* 801865EC 0018354C FC 20 08 18 */ frsp f1, f1
/* 801865F0 00183550 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801865F4 00183554 40 81 00 0C */ ble lbl_80186600
/* 801865F8 00183558 38 60 00 00 */ li r3, 0
/* 801865FC 0018355C 48 00 00 48 */ b lbl_80186644
lbl_80186600:
/* 80186600 00183560 C0 1C 00 00 */ lfs f0, 0(r28)
/* 80186604 00183564 38 60 00 01 */ li r3, 1
/* 80186608 00183568 C0 7C 00 04 */ lfs f3, 4(r28)
/* 8018660C 0018356C EC 1F 00 32 */ fmuls f0, f31, f0
/* 80186610 00183570 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80186614 00183574 C0 5C 00 08 */ lfs f2, 8(r28)
/* 80186618 00183578 EC 7F 00 F2 */ fmuls f3, f31, f3
/* 8018661C 0018357C EC 01 00 28 */ fsubs f0, f1, f0
/* 80186620 00183580 EC 3F 00 B2 */ fmuls f1, f31, f2
/* 80186624 00183584 D0 1E 00 00 */ stfs f0, 0(r30)
/* 80186628 00183588 C0 1E 00 04 */ lfs f0, 4(r30)
/* 8018662C 0018358C EC 00 18 28 */ fsubs f0, f0, f3
/* 80186630 00183590 D0 1E 00 04 */ stfs f0, 4(r30)
/* 80186634 00183594 C0 1E 00 08 */ lfs f0, 8(r30)
/* 80186638 00183598 EC 00 08 28 */ fsubs f0, f0, f1
/* 8018663C 0018359C D0 1E 00 08 */ stfs f0, 8(r30)
/* 80186640 001835A0 D3 FF 00 00 */ stfs f31, 0(r31)
lbl_80186644:
/* 80186644 001835A4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 80186648 001835A8 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8018664C 001835AC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 80186650 001835B0 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 80186654 001835B4 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80186658 001835B8 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8018665C 001835BC 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80186660 001835C0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80186664 001835C4 83 81 00 30 */ lwz r28, 0x30(r1)
/* 80186668 001835C8 7C 08 03 A6 */ mtlr r0
/* 8018666C 001835CC 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 80186670 001835D0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RemovePositiveZComponentFromNormal__FR9CVector3f
RemovePositiveZComponentFromNormal__FR9CVector3f:
/* 80186674 001835D4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80186678 001835D8 7C 08 02 A6 */ mflr r0
/* 8018667C 001835DC C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186680 001835E0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80186684 001835E4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80186688 001835E8 7C 7F 1B 78 */ mr r31, r3
/* 8018668C 001835EC C0 43 00 08 */ lfs f2, 8(r3)
/* 80186690 001835F0 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 80186694 001835F4 40 81 00 50 */ ble lbl_801866E4
/* 80186698 001835F8 C0 02 A3 24 */ lfs f0, lbl_805AC044@sda21(r2)
/* 8018669C 001835FC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801866A0 00183600 40 80 00 44 */ bge lbl_801866E4
/* 801866A4 00183604 C0 5F 00 04 */ lfs f2, 4(r31)
/* 801866A8 00183608 38 61 00 14 */ addi r3, r1, 0x14
/* 801866AC 0018360C C0 1F 00 00 */ lfs f0, 0(r31)
/* 801866B0 00183610 38 81 00 08 */ addi r4, r1, 8
/* 801866B4 00183614 D0 01 00 08 */ stfs f0, 8(r1)
/* 801866B8 00183618 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 801866BC 0018361C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 801866C0 00183620 48 18 E1 91 */ bl AsNormalized__9CVector3fCFv
/* 801866C4 00183624 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 801866C8 00183628 38 60 00 01 */ li r3, 1
/* 801866CC 0018362C D0 1F 00 00 */ stfs f0, 0(r31)
/* 801866D0 00183630 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 801866D4 00183634 D0 1F 00 04 */ stfs f0, 4(r31)
/* 801866D8 00183638 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 801866DC 0018363C D0 1F 00 08 */ stfs f0, 8(r31)
/* 801866E0 00183640 48 00 00 08 */ b lbl_801866E8
lbl_801866E4:
/* 801866E4 00183644 38 60 00 00 */ li r3, 0
lbl_801866E8:
/* 801866E8 00183648 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801866EC 0018364C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801866F0 00183650 7C 08 03 A6 */ mtlr r0
/* 801866F4 00183654 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801866F8 00183658 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MoveGroundCollider_New__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
"MoveGroundCollider_New__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 801866FC 0018365C 94 21 C5 60 */ stwu r1, -0x3aa0(r1)
/* 80186700 00183660 7C 08 02 A6 */ mflr r0
/* 80186704 00183664 90 01 3A A4 */ stw r0, 0x3aa4(r1)
/* 80186708 00183668 38 00 3A 98 */ li r0, 0x3a98
/* 8018670C 0018366C DB E1 3A 90 */ stfd f31, 0x3a90(r1)
/* 80186710 00183670 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0
/* 80186714 00183674 38 00 3A 88 */ li r0, 0x3a88
/* 80186718 00183678 DB C1 3A 80 */ stfd f30, 0x3a80(r1)
/* 8018671C 0018367C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0
/* 80186720 00183680 38 00 3A 78 */ li r0, 0x3a78
/* 80186724 00183684 DB A1 3A 70 */ stfd f29, 0x3a70(r1)
/* 80186728 00183688 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0
/* 8018672C 0018368C 38 00 3A 68 */ li r0, 0x3a68
/* 80186730 00183690 DB 81 3A 60 */ stfd f28, 0x3a60(r1)
/* 80186734 00183694 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0
/* 80186738 00183698 38 00 3A 58 */ li r0, 0x3a58
/* 8018673C 0018369C DB 61 3A 50 */ stfd f27, 0x3a50(r1)
/* 80186740 001836A0 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0
/* 80186744 001836A4 38 00 3A 48 */ li r0, 0x3a48
/* 80186748 001836A8 DB 41 3A 40 */ stfd f26, 0x3a40(r1)
/* 8018674C 001836AC 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0
/* 80186750 001836B0 38 00 3A 38 */ li r0, 0x3a38
/* 80186754 001836B4 DB 21 3A 30 */ stfd f25, 0x3a30(r1)
/* 80186758 001836B8 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0
/* 8018675C 001836BC 38 00 3A 28 */ li r0, 0x3a28
/* 80186760 001836C0 DB 01 3A 20 */ stfd f24, 0x3a20(r1)
/* 80186764 001836C4 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0
/* 80186768 001836C8 38 00 3A 18 */ li r0, 0x3a18
/* 8018676C 001836CC DA E1 3A 10 */ stfd f23, 0x3a10(r1)
/* 80186770 001836D0 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0
/* 80186774 001836D4 38 00 3A 08 */ li r0, 0x3a08
/* 80186778 001836D8 DA C1 3A 00 */ stfd f22, 0x3a00(r1)
/* 8018677C 001836DC 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0
/* 80186780 001836E0 38 00 39 F8 */ li r0, 0x39f8
/* 80186784 001836E4 DA A1 39 F0 */ stfd f21, 0x39f0(r1)
/* 80186788 001836E8 12 A1 00 0E */ psq_stx f21, r1, r0, 0, qr0
/* 8018678C 001836EC BD C1 39 A8 */ stmw r14, 0x39a8(r1)
/* 80186790 001836F0 38 00 00 00 */ li r0, 0
/* 80186794 001836F4 FE E0 08 90 */ fmr f23, f1
/* 80186798 001836F8 90 01 31 94 */ stw r0, 0x3194(r1)
/* 8018679C 001836FC 7C 70 1B 78 */ mr r16, r3
/* 801867A0 00183700 7C 91 23 78 */ mr r17, r4
/* 801867A4 00183704 7C AE 2B 78 */ mr r14, r5
/* 801867A8 00183708 38 61 02 28 */ addi r3, r1, 0x228
/* 801867AC 0018370C 4B F9 3F 09 */ bl GetMotionVolume__13CPhysicsActorCFf
/* 801867B0 00183710 C0 A1 02 28 */ lfs f5, 0x228(r1)
/* 801867B4 00183714 28 0E 00 00 */ cmplwi r14, 0
/* 801867B8 00183718 C0 81 02 2C */ lfs f4, 0x22c(r1)
/* 801867BC 0018371C C0 61 02 30 */ lfs f3, 0x230(r1)
/* 801867C0 00183720 C0 41 02 34 */ lfs f2, 0x234(r1)
/* 801867C4 00183724 C0 21 02 38 */ lfs f1, 0x238(r1)
/* 801867C8 00183728 C0 01 02 3C */ lfs f0, 0x23c(r1)
/* 801867CC 0018372C D0 A1 02 54 */ stfs f5, 0x254(r1)
/* 801867D0 00183730 D0 81 02 58 */ stfs f4, 0x258(r1)
/* 801867D4 00183734 D0 61 02 5C */ stfs f3, 0x25c(r1)
/* 801867D8 00183738 D0 41 02 60 */ stfs f2, 0x260(r1)
/* 801867DC 0018373C D0 21 02 64 */ stfs f1, 0x264(r1)
/* 801867E0 00183740 D0 01 02 68 */ stfs f0, 0x268(r1)
/* 801867E4 00183744 41 82 00 AC */ beq lbl_80186890
/* 801867E8 00183748 38 01 31 94 */ addi r0, r1, 0x3194
/* 801867EC 0018374C 7C 00 70 40 */ cmplw r0, r14
/* 801867F0 00183750 41 82 00 B4 */ beq lbl_801868A4
/* 801867F4 00183754 80 A1 31 94 */ lwz r5, 0x3194(r1)
/* 801867F8 00183758 38 C1 31 98 */ addi r6, r1, 0x3198
/* 801867FC 0018375C 38 60 00 00 */ li r3, 0
/* 80186800 00183760 2C 05 00 00 */ cmpwi r5, 0
/* 80186804 00183764 40 81 00 40 */ ble lbl_80186844
/* 80186808 00183768 2C 05 00 08 */ cmpwi r5, 8
/* 8018680C 0018376C 38 85 FF F8 */ addi r4, r5, -8
/* 80186810 00183770 40 81 00 20 */ ble lbl_80186830
/* 80186814 00183774 38 04 00 07 */ addi r0, r4, 7
/* 80186818 00183778 54 00 E8 FE */ srwi r0, r0, 3
/* 8018681C 0018377C 7C 09 03 A6 */ mtctr r0
/* 80186820 00183780 2C 04 00 00 */ cmpwi r4, 0
/* 80186824 00183784 40 81 00 0C */ ble lbl_80186830
lbl_80186828:
/* 80186828 00183788 38 63 00 08 */ addi r3, r3, 8
/* 8018682C 0018378C 42 00 FF FC */ bdnz lbl_80186828
lbl_80186830:
/* 80186830 00183790 7C 03 28 50 */ subf r0, r3, r5
/* 80186834 00183794 7C 09 03 A6 */ mtctr r0
/* 80186838 00183798 7C 03 28 00 */ cmpw r3, r5
/* 8018683C 0018379C 40 80 00 08 */ bge lbl_80186844
lbl_80186840:
/* 80186840 001837A0 42 00 00 00 */ bdnz lbl_80186840
lbl_80186844:
/* 80186844 001837A4 80 0E 00 00 */ lwz r0, 0(r14)
/* 80186848 001837A8 38 60 00 00 */ li r3, 0
/* 8018684C 001837AC 90 61 31 94 */ stw r3, 0x3194(r1)
/* 80186850 001837B0 38 6E 00 04 */ addi r3, r14, 4
/* 80186854 001837B4 54 00 08 3C */ slwi r0, r0, 1
/* 80186858 001837B8 7C 8E 02 14 */ add r4, r14, r0
/* 8018685C 001837BC 38 84 00 04 */ addi r4, r4, 4
/* 80186860 001837C0 48 00 00 1C */ b lbl_8018687C
lbl_80186864:
/* 80186864 001837C4 28 06 00 00 */ cmplwi r6, 0
/* 80186868 001837C8 41 82 00 0C */ beq lbl_80186874
/* 8018686C 001837CC A0 03 00 00 */ lhz r0, 0(r3)
/* 80186870 001837D0 B0 06 00 00 */ sth r0, 0(r6)
lbl_80186874:
/* 80186874 001837D4 38 C6 00 02 */ addi r6, r6, 2
/* 80186878 001837D8 38 63 00 02 */ addi r3, r3, 2
lbl_8018687C:
/* 8018687C 001837DC 7C 03 20 40 */ cmplw r3, r4
/* 80186880 001837E0 40 82 FF E4 */ bne lbl_80186864
/* 80186884 001837E4 80 0E 00 00 */ lwz r0, 0(r14)
/* 80186888 001837E8 90 01 31 94 */ stw r0, 0x3194(r1)
/* 8018688C 001837EC 48 00 00 18 */ b lbl_801868A4
lbl_80186890:
/* 80186890 001837F0 7E 03 83 78 */ mr r3, r16
/* 80186894 001837F4 7E 25 8B 78 */ mr r5, r17
/* 80186898 001837F8 38 81 31 94 */ addi r4, r1, 0x3194
/* 8018689C 001837FC 38 C1 02 54 */ addi r6, r1, 0x254
/* 801868A0 00183800 4B EC 5E 5D */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox"
lbl_801868A4:
/* 801868A4 00183804 38 61 16 50 */ addi r3, r1, 0x1650
/* 801868A8 00183808 38 81 02 54 */ addi r4, r1, 0x254
/* 801868AC 0018380C 48 11 D1 E5 */ bl __ct__19CAreaCollisionCacheFRC6CAABox
/* 801868B0 00183810 7E 03 83 78 */ mr r3, r16
/* 801868B4 00183814 38 81 16 50 */ addi r4, r1, 0x1650
/* 801868B8 00183818 4B FF DE 0D */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 801868BC 0018381C 7E 24 8B 78 */ mr r4, r17
/* 801868C0 00183820 38 61 00 80 */ addi r3, r1, 0x80
/* 801868C4 00183824 4B F2 5A D1 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity"
/* 801868C8 00183828 83 A3 00 04 */ lwz r29, 4(r3)
/* 801868CC 0018382C 39 C0 00 00 */ li r14, 0
/* 801868D0 00183830 88 1D 09 C5 */ lbz r0, 0x9c5(r29)
/* 801868D4 00183834 51 C0 1F 38 */ rlwimi r0, r14, 3, 0x1c, 0x1c
/* 801868D8 00183838 98 1D 09 C5 */ stb r0, 0x9c5(r29)
/* 801868DC 0018383C 88 1D 09 C4 */ lbz r0, 0x9c4(r29)
/* 801868E0 00183840 80 7D 02 58 */ lwz r3, 0x258(r29)
/* 801868E4 00183844 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 801868E8 00183848 20 63 00 02 */ subfic r3, r3, 2
/* 801868EC 0018384C 7C 63 00 34 */ cntlzw r3, r3
/* 801868F0 00183850 54 6F D9 7E */ srwi r15, r3, 5
/* 801868F4 00183854 41 82 00 20 */ beq lbl_80186914
/* 801868F8 00183858 80 70 08 B8 */ lwz r3, 0x8b8(r16)
/* 801868FC 0018385C 38 80 00 15 */ li r4, 0x15
/* 80186900 00183860 80 63 00 00 */ lwz r3, 0(r3)
/* 80186904 00183864 4B F0 B1 BD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80186908 00183868 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018690C 0018386C 40 82 00 08 */ bne lbl_80186914
/* 80186910 00183870 39 C0 00 01 */ li r14, 1
lbl_80186914:
/* 80186914 00183874 80 1D 02 58 */ lwz r0, 0x258(r29)
/* 80186918 00183878 3A 80 00 00 */ li r20, 0
/* 8018691C 0018387C 2C 00 00 02 */ cmpwi r0, 2
/* 80186920 00183880 41 82 00 10 */ beq lbl_80186930
/* 80186924 00183884 2C 00 00 01 */ cmpwi r0, 1
/* 80186928 00183888 41 82 00 08 */ beq lbl_80186930
/* 8018692C 0018388C 3A 80 00 01 */ li r20, 1
lbl_80186930:
/* 80186930 00183890 7E 23 8B 78 */ mr r3, r17
/* 80186934 00183894 81 91 00 00 */ lwz r12, 0(r17)
/* 80186938 00183898 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 8018693C 0018389C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80186940 001838A0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80186944 001838A4 7E 23 8B 78 */ mr r3, r17
/* 80186948 001838A8 FF 80 08 90 */ fmr f28, f1
/* 8018694C 001838AC 81 91 00 00 */ lwz r12, 0(r17)
/* 80186950 001838B0 81 8C 00 7C */ lwz r12, 0x7c(r12)
/* 80186954 001838B4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80186958 001838B8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018695C 001838BC 38 00 00 01 */ li r0, 1
/* 80186960 001838C0 FF 00 08 90 */ fmr f24, f1
/* 80186964 001838C4 80 AD 8E BC */ lwz r5, lbl_805A7A7C@sda21(r13)
/* 80186968 001838C8 38 60 00 00 */ li r3, 0
/* 8018696C 001838CC 98 01 39 98 */ stb r0, 0x3998(r1)
/* 80186970 001838D0 38 80 00 01 */ li r4, 1
/* 80186974 001838D4 48 20 35 81 */ bl __shl2i
/* 80186978 001838D8 38 A0 00 00 */ li r5, 0
/* 8018697C 001838DC 55 E0 06 3F */ clrlwi. r0, r15, 0x18
/* 80186980 001838E0 98 A1 08 34 */ stb r5, 0x834(r1)
/* 80186984 001838E4 7C 92 23 78 */ mr r18, r4
/* 80186988 001838E8 7C 6F 1B 78 */ mr r15, r3
/* 8018698C 001838EC 98 A1 08 98 */ stb r5, 0x898(r1)
/* 80186990 001838F0 40 82 0A 5C */ bne lbl_801873EC
/* 80186994 001838F4 C0 A2 A3 18 */ lfs f5, lbl_805AC038@sda21(r2)
/* 80186998 001838F8 38 D1 02 28 */ addi r6, r17, 0x228
/* 8018699C 001838FC C0 82 A3 30 */ lfs f4, lbl_805AC050@sda21(r2)
/* 801869A0 00183900 38 01 08 20 */ addi r0, r1, 0x820
/* 801869A4 00183904 C0 62 A3 34 */ lfs f3, lbl_805AC054@sda21(r2)
/* 801869A8 00183908 38 80 00 01 */ li r4, 1
/* 801869AC 0018390C C0 42 A3 38 */ lfs f2, lbl_805AC058@sda21(r2)
/* 801869B0 00183910 38 60 00 04 */ li r3, 4
/* 801869B4 00183914 C0 22 A3 10 */ lfs f1, lbl_805AC030@sda21(r2)
/* 801869B8 00183918 7C 00 30 40 */ cmplw r0, r6
/* 801869BC 0018391C C0 02 A3 3C */ lfs f0, lbl_805AC05C@sda21(r2)
/* 801869C0 00183920 56 93 06 3E */ clrlwi r19, r20, 0x18
/* 801869C4 00183924 98 A1 08 2C */ stb r5, 0x82c(r1)
/* 801869C8 00183928 98 A1 07 E4 */ stb r5, 0x7e4(r1)
/* 801869CC 0018392C D0 A1 07 E8 */ stfs f5, 0x7e8(r1)
/* 801869D0 00183930 D0 A1 07 EC */ stfs f5, 0x7ec(r1)
/* 801869D4 00183934 D0 81 07 F0 */ stfs f4, 0x7f0(r1)
/* 801869D8 00183938 D0 61 07 F4 */ stfs f3, 0x7f4(r1)
/* 801869DC 0018393C D0 A1 07 F8 */ stfs f5, 0x7f8(r1)
/* 801869E0 00183940 98 81 07 FC */ stb r4, 0x7fc(r1)
/* 801869E4 00183944 98 A1 07 FD */ stb r5, 0x7fd(r1)
/* 801869E8 00183948 9A 81 07 FE */ stb r20, 0x7fe(r1)
/* 801869EC 0018394C 90 61 08 00 */ stw r3, 0x800(r1)
/* 801869F0 00183950 D0 41 08 04 */ stfs f2, 0x804(r1)
/* 801869F4 00183954 D0 A1 08 08 */ stfs f5, 0x808(r1)
/* 801869F8 00183958 D0 21 08 0C */ stfs f1, 0x80c(r1)
/* 801869FC 0018395C D0 A1 08 10 */ stfs f5, 0x810(r1)
/* 80186A00 00183960 D0 01 08 14 */ stfs f0, 0x814(r1)
/* 80186A04 00183964 41 82 00 64 */ beq lbl_80186A68
/* 80186A08 00183968 88 06 00 0C */ lbz r0, 0xc(r6)
/* 80186A0C 0018396C 28 00 00 00 */ cmplwi r0, 0
/* 80186A10 00183970 41 82 00 54 */ beq lbl_80186A64
/* 80186A14 00183974 28 05 00 00 */ cmplwi r5, 0
/* 80186A18 00183978 40 82 00 30 */ bne lbl_80186A48
/* 80186A1C 0018397C 34 01 08 20 */ addic. r0, r1, 0x820
/* 80186A20 00183980 41 82 00 1C */ beq lbl_80186A3C
/* 80186A24 00183984 C0 06 00 00 */ lfs f0, 0(r6)
/* 80186A28 00183988 D0 01 08 20 */ stfs f0, 0x820(r1)
/* 80186A2C 0018398C C0 06 00 04 */ lfs f0, 4(r6)
/* 80186A30 00183990 D0 01 08 24 */ stfs f0, 0x824(r1)
/* 80186A34 00183994 C0 06 00 08 */ lfs f0, 8(r6)
/* 80186A38 00183998 D0 01 08 28 */ stfs f0, 0x828(r1)
lbl_80186A3C:
/* 80186A3C 0018399C 38 00 00 01 */ li r0, 1
/* 80186A40 001839A0 98 01 08 2C */ stb r0, 0x82c(r1)
/* 80186A44 001839A4 48 00 00 24 */ b lbl_80186A68
lbl_80186A48:
/* 80186A48 001839A8 C0 06 00 00 */ lfs f0, 0(r6)
/* 80186A4C 001839AC D0 01 08 20 */ stfs f0, 0x820(r1)
/* 80186A50 001839B0 C0 06 00 04 */ lfs f0, 4(r6)
/* 80186A54 001839B4 D0 01 08 24 */ stfs f0, 0x824(r1)
/* 80186A58 001839B8 C0 06 00 08 */ lfs f0, 8(r6)
/* 80186A5C 001839BC D0 01 08 28 */ stfs f0, 0x828(r1)
/* 80186A60 001839C0 48 00 00 08 */ b lbl_80186A68
lbl_80186A64:
/* 80186A64 001839C4 98 A1 08 2C */ stb r5, 0x82c(r1)
lbl_80186A68:
/* 80186A68 001839C8 C0 02 A3 40 */ lfs f0, lbl_805AC060@sda21(r2)
/* 80186A6C 001839CC 7F A3 EB 78 */ mr r3, r29
/* 80186A70 001839D0 7E 04 83 78 */ mr r4, r16
/* 80186A74 001839D4 D0 01 08 18 */ stfs f0, 0x818(r1)
/* 80186A78 001839D8 4B E8 E0 C9 */ bl GetMaximumPlayerPositiveVerticalVelocity__7CPlayerCFRC13CStateManager
/* 80186A7C 001839DC 56 80 06 3F */ clrlwi. r0, r20, 0x18
/* 80186A80 001839E0 D0 21 08 1C */ stfs f1, 0x81c(r1)
/* 80186A84 001839E4 41 82 00 40 */ beq lbl_80186AC4
/* 80186A88 001839E8 C0 31 01 38 */ lfs f1, 0x138(r17)
/* 80186A8C 001839EC 7E 23 8B 78 */ mr r3, r17
/* 80186A90 001839F0 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80186A94 001839F4 38 81 02 04 */ addi r4, r1, 0x204
/* 80186A98 001839F8 D0 21 02 04 */ stfs f1, 0x204(r1)
/* 80186A9C 001839FC C0 31 01 3C */ lfs f1, 0x13c(r17)
/* 80186AA0 00183A00 D0 21 02 08 */ stfs f1, 0x208(r1)
/* 80186AA4 00183A04 C0 31 01 40 */ lfs f1, 0x140(r17)
/* 80186AA8 00183A08 D0 21 02 0C */ stfs f1, 0x20c(r1)
/* 80186AAC 00183A0C D0 01 02 0C */ stfs f0, 0x20c(r1)
/* 80186AB0 00183A10 4B F9 41 F1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 80186AB4 00183A14 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186AB8 00183A18 D0 31 01 64 */ stfs f1, 0x164(r17)
/* 80186ABC 00183A1C D0 31 01 58 */ stfs f1, 0x158(r17)
/* 80186AC0 00183A20 D0 31 01 70 */ stfs f1, 0x170(r17)
lbl_80186AC4:
/* 80186AC4 00183A24 7E 24 8B 78 */ mr r4, r17
/* 80186AC8 00183A28 38 61 04 14 */ addi r3, r1, 0x414
/* 80186ACC 00183A2C 4B F9 55 21 */ bl GetPhysicsState__13CPhysicsActorCFv
/* 80186AD0 00183A30 38 61 07 74 */ addi r3, r1, 0x774
/* 80186AD4 00183A34 38 81 04 14 */ addi r4, r1, 0x414
/* 80186AD8 00183A38 4B F2 C9 E9 */ bl __ct__13CPhysicsStateFRC13CPhysicsState
/* 80186ADC 00183A3C FC 20 B8 90 */ fmr f1, f23
/* 80186AE0 00183A40 7E 04 83 78 */ mr r4, r16
/* 80186AE4 00183A44 7E 25 8B 78 */ mr r5, r17
/* 80186AE8 00183A48 38 61 00 78 */ addi r3, r1, 0x78
/* 80186AEC 00183A4C 38 C1 31 94 */ addi r6, r1, 0x3194
/* 80186AF0 00183A50 38 E1 16 50 */ addi r7, r1, 0x1650
/* 80186AF4 00183A54 39 01 07 E4 */ addi r8, r1, 0x7e4
/* 80186AF8 00183A58 39 21 08 30 */ addi r9, r1, 0x830
/* 80186AFC 00183A5C 4B FF EF 15 */ bl "MoveObjectAnalytical__15CGroundMovementFR13CStateManagerR13CPhysicsActorfRCQ24rstl32reserved_vector<9TUniqueId,1024>R19CAreaCollisionCacheRfRCQ215CGroundMovement16SMovementOptions"
/* 80186B00 00183A60 81 C1 00 78 */ lwz r14, 0x78(r1)
/* 80186B04 00183A64 7E 24 8B 78 */ mr r4, r17
/* 80186B08 00183A68 83 81 00 7C */ lwz r28, 0x7c(r1)
/* 80186B0C 00183A6C 38 61 03 A4 */ addi r3, r1, 0x3a4
/* 80186B10 00183A70 4B F9 54 DD */ bl GetPhysicsState__13CPhysicsActorCFv
/* 80186B14 00183A74 38 61 07 04 */ addi r3, r1, 0x704
/* 80186B18 00183A78 38 81 03 A4 */ addi r4, r1, 0x3a4
/* 80186B1C 00183A7C 4B F2 C9 A5 */ bl __ct__13CPhysicsStateFRC13CPhysicsState
/* 80186B20 00183A80 38 60 00 01 */ li r3, 1
/* 80186B24 00183A84 38 00 00 00 */ li r0, 0
/* 80186B28 00183A88 7F 83 1A 78 */ xor r3, r28, r3
/* 80186B2C 00183A8C 7D C0 02 78 */ xor r0, r14, r0
/* 80186B30 00183A90 7C 60 03 79 */ or. r0, r3, r0
/* 80186B34 00183A94 41 82 08 A4 */ beq lbl_801873D8
/* 80186B38 00183A98 38 61 06 B8 */ addi r3, r1, 0x6b8
/* 80186B3C 00183A9C 38 81 07 E4 */ addi r4, r1, 0x7e4
/* 80186B40 00183AA0 48 00 14 0D */ bl __ct__Q215CGroundMovement16SMovementOptionsFRCQ215CGroundMovement16SMovementOptions
/* 80186B44 00183AA4 C1 41 07 04 */ lfs f10, 0x704(r1)
/* 80186B48 00183AA8 38 00 00 00 */ li r0, 0
/* 80186B4C 00183AAC C0 E1 07 74 */ lfs f7, 0x774(r1)
/* 80186B50 00183AB0 3B 21 05 C8 */ addi r25, r1, 0x5c8
/* 80186B54 00183AB4 C1 21 07 08 */ lfs f9, 0x708(r1)
/* 80186B58 00183AB8 3B 01 05 B8 */ addi r24, r1, 0x5b8
/* 80186B5C 00183ABC C0 C1 07 78 */ lfs f6, 0x778(r1)
/* 80186B60 00183AC0 EC 87 50 28 */ fsubs f4, f7, f10
/* 80186B64 00183AC4 C1 01 07 0C */ lfs f8, 0x70c(r1)
/* 80186B68 00183AC8 3A C1 01 FC */ addi r22, r1, 0x1fc
/* 80186B6C 00183ACC ED A6 48 28 */ fsubs f13, f6, f9
/* 80186B70 00183AD0 C0 A1 07 7C */ lfs f5, 0x77c(r1)
/* 80186B74 00183AD4 EC 44 01 32 */ fmuls f2, f4, f4
/* 80186B78 00183AD8 ED 85 40 28 */ fsubs f12, f5, f8
/* 80186B7C 00183ADC C0 02 A3 34 */ lfs f0, lbl_805AC054@sda21(r2)
/* 80186B80 00183AE0 EC 2D 03 72 */ fmuls f1, f13, f13
/* 80186B84 00183AE4 C1 62 A3 44 */ lfs f11, lbl_805AC064@sda21(r2)
/* 80186B88 00183AE8 EF 20 06 32 */ fmuls f25, f0, f24
/* 80186B8C 00183AEC EC 6C 03 32 */ fmuls f3, f12, f12
/* 80186B90 00183AF0 EC 02 08 2A */ fadds f0, f2, f1
/* 80186B94 00183AF4 9A 61 06 D1 */ stb r19, 0x6d1(r1)
/* 80186B98 00183AF8 C3 A2 A3 18 */ lfs f29, lbl_805AC038@sda21(r2)
/* 80186B9C 00183AFC 3A 81 00 A4 */ addi r20, r1, 0xa4
/* 80186BA0 00183B00 D1 61 06 E8 */ stfs f11, 0x6e8(r1)
/* 80186BA4 00183B04 EF 63 00 2A */ fadds f27, f3, f0
/* 80186BA8 00183B08 90 01 09 68 */ stw r0, 0x968(r1)
/* 80186BAC 00183B0C 3A A1 02 44 */ addi r21, r1, 0x244
/* 80186BB0 00183B10 C3 C2 A3 10 */ lfs f30, lbl_805AC030@sda21(r2)
/* 80186BB4 00183B14 3A E1 05 E8 */ addi r23, r1, 0x5e8
/* 80186BB8 00183B18 90 01 01 F8 */ stw r0, 0x1f8(r1)
/* 80186BBC 00183B1C CB E2 A3 48 */ lfd f31, lbl_805AC068@sda21(r2)
/* 80186BC0 00183B20 3B C1 06 58 */ addi r30, r1, 0x658
/* 80186BC4 00183B24 90 01 08 A4 */ stw r0, 0x8a4(r1)
/* 80186BC8 00183B28 3B E1 00 98 */ addi r31, r1, 0x98
/* 80186BCC 00183B2C 3A 60 00 00 */ li r19, 0
/* 80186BD0 00183B30 3A 40 00 00 */ li r18, 0
/* 80186BD4 00183B34 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 80186BD8 00183B38 90 01 02 40 */ stw r0, 0x240(r1)
/* 80186BDC 00183B3C D1 41 01 D4 */ stfs f10, 0x1d4(r1)
/* 80186BE0 00183B40 D1 21 01 D8 */ stfs f9, 0x1d8(r1)
/* 80186BE4 00183B44 D1 01 01 DC */ stfs f8, 0x1dc(r1)
/* 80186BE8 00183B48 D0 E1 01 E0 */ stfs f7, 0x1e0(r1)
/* 80186BEC 00183B4C D0 C1 01 E4 */ stfs f6, 0x1e4(r1)
/* 80186BF0 00183B50 D0 A1 01 E8 */ stfs f5, 0x1e8(r1)
/* 80186BF4 00183B54 D0 81 01 EC */ stfs f4, 0x1ec(r1)
/* 80186BF8 00183B58 D1 A1 01 F0 */ stfs f13, 0x1f0(r1)
/* 80186BFC 00183B5C D1 81 01 F4 */ stfs f12, 0x1f4(r1)
/* 80186C00 00183B60 48 00 04 30 */ b lbl_80187030
lbl_80186C04:
/* 80186C04 00183B64 2C 12 00 00 */ cmpwi r18, 0
/* 80186C08 00183B68 40 82 00 0C */ bne lbl_80186C14
/* 80186C0C 00183B6C FE A0 C8 90 */ fmr f21, f25
/* 80186C10 00183B70 48 00 00 08 */ b lbl_80186C18
lbl_80186C14:
/* 80186C14 00183B74 FE A0 C0 90 */ fmr f21, f24
lbl_80186C18:
/* 80186C18 00183B78 7E 23 8B 78 */ mr r3, r17
/* 80186C1C 00183B7C 38 81 07 74 */ addi r4, r1, 0x774
/* 80186C20 00183B80 4B F9 52 05 */ bl SetPhysicsState__13CPhysicsActorFRC13CPhysicsState
/* 80186C24 00183B84 38 61 06 58 */ addi r3, r1, 0x658
/* 80186C28 00183B88 38 80 00 00 */ li r4, 0
/* 80186C2C 00183B8C 48 14 75 5D */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 80186C30 00183B90 D3 A1 01 BC */ stfs f29, 0x1bc(r1)
/* 80186C34 00183B94 7E 23 8B 78 */ mr r3, r17
2022-04-24 01:54:45 +00:00
/* 80186C38 00183B98 A0 CD A3 8C */ lhz r6, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80186C3C 00183B9C D3 A1 01 C0 */ stfs f29, 0x1c0(r1)
/* 80186C40 00183BA0 80 A1 01 BC */ lwz r5, 0x1bc(r1)
/* 80186C44 00183BA4 D3 C1 01 C4 */ stfs f30, 0x1c4(r1)
/* 80186C48 00183BA8 80 81 01 C0 */ lwz r4, 0x1c0(r1)
/* 80186C4C 00183BAC 80 01 01 C4 */ lwz r0, 0x1c4(r1)
/* 80186C50 00183BB0 DA A1 00 98 */ stfd f21, 0x98(r1)
/* 80186C54 00183BB4 B0 C1 00 38 */ sth r6, 0x38(r1)
/* 80186C58 00183BB8 90 A1 01 C8 */ stw r5, 0x1c8(r1)
/* 80186C5C 00183BBC 90 81 01 CC */ stw r4, 0x1cc(r1)
/* 80186C60 00183BC0 90 01 01 D0 */ stw r0, 0x1d0(r1)
/* 80186C64 00183BC4 4B EC CC 59 */ bl GetMaterialFilter__6CActorCFv
/* 80186C68 00183BC8 7C 6F 1B 78 */ mr r15, r3
/* 80186C6C 00183BCC 7E 23 8B 78 */ mr r3, r17
/* 80186C70 00183BD0 81 91 00 00 */ lwz r12, 0(r17)
/* 80186C74 00183BD4 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80186C78 00183BD8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80186C7C 00183BDC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80186C80 00183BE0 93 C1 00 08 */ stw r30, 8(r1)
/* 80186C84 00183BE4 7C 65 1B 78 */ mr r5, r3
/* 80186C88 00183BE8 7E 03 83 78 */ mr r3, r16
/* 80186C8C 00183BEC 7D E7 7B 78 */ mr r7, r15
/* 80186C90 00183BF0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80186C94 00183BF4 38 81 16 50 */ addi r4, r1, 0x1650
/* 80186C98 00183BF8 38 D1 00 34 */ addi r6, r17, 0x34
/* 80186C9C 00183BFC 39 01 31 94 */ addi r8, r1, 0x3194
/* 80186CA0 00183C00 39 21 01 C8 */ addi r9, r1, 0x1c8
/* 80186CA4 00183C04 39 41 00 38 */ addi r10, r1, 0x38
/* 80186CA8 00183C08 4B FF D6 45 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd"
/* 80186CAC 00183C0C 88 01 06 88 */ lbz r0, 0x688(r1)
/* 80186CB0 00183C10 28 00 00 00 */ cmplwi r0, 0
/* 80186CB4 00183C14 41 82 00 38 */ beq lbl_80186CEC
/* 80186CB8 00183C18 C8 41 00 98 */ lfd f2, 0x98(r1)
/* 80186CBC 00183C1C C0 21 06 D8 */ lfs f1, 0x6d8(r1)
/* 80186CC0 00183C20 C8 0D 8E C0 */ lfd f0, lbl_805A7A80@sda21(r13)
/* 80186CC4 00183C24 FC 22 08 28 */ fsub f1, f2, f1
/* 80186CC8 00183C28 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80186CCC 00183C2C D8 21 00 70 */ stfd f1, 0x70(r1)
/* 80186CD0 00183C30 40 80 00 0C */ bge lbl_80186CDC
/* 80186CD4 00183C34 38 61 00 70 */ addi r3, r1, 0x70
/* 80186CD8 00183C38 48 00 00 08 */ b lbl_80186CE0
lbl_80186CDC:
/* 80186CDC 00183C3C 38 6D 8E C0 */ addi r3, r13, lbl_805A7A80@sda21
lbl_80186CE0:
/* 80186CE0 00183C40 C8 03 00 00 */ lfd f0, 0(r3)
/* 80186CE4 00183C44 3A 60 00 01 */ li r19, 1
/* 80186CE8 00183C48 D8 01 00 98 */ stfd f0, 0x98(r1)
lbl_80186CEC:
/* 80186CEC 00183C4C C8 01 00 98 */ lfd f0, 0x98(r1)
/* 80186CF0 00183C50 FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 80186CF4 00183C54 40 81 03 38 */ ble lbl_8018702C
/* 80186CF8 00183C58 FC 00 00 18 */ frsp f0, f0
/* 80186CFC 00183C5C C0 D1 00 60 */ lfs f6, 0x60(r17)
/* 80186D00 00183C60 C0 B1 00 50 */ lfs f5, 0x50(r17)
/* 80186D04 00183C64 7E 23 8B 78 */ mr r3, r17
/* 80186D08 00183C68 C0 51 00 40 */ lfs f2, 0x40(r17)
/* 80186D0C 00183C6C 38 81 01 B0 */ addi r4, r1, 0x1b0
/* 80186D10 00183C70 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186D14 00183C74 EC 66 00 2A */ fadds f3, f6, f0
/* 80186D18 00183C78 D0 41 01 A4 */ stfs f2, 0x1a4(r1)
/* 80186D1C 00183C7C EC 85 08 2A */ fadds f4, f5, f1
/* 80186D20 00183C80 EC 02 08 2A */ fadds f0, f2, f1
/* 80186D24 00183C84 D0 A1 01 A8 */ stfs f5, 0x1a8(r1)
/* 80186D28 00183C88 D0 C1 01 AC */ stfs f6, 0x1ac(r1)
/* 80186D2C 00183C8C D0 01 01 B0 */ stfs f0, 0x1b0(r1)
/* 80186D30 00183C90 D0 81 01 B4 */ stfs f4, 0x1b4(r1)
/* 80186D34 00183C94 D0 61 01 B8 */ stfs f3, 0x1b8(r1)
/* 80186D38 00183C98 4B EC C1 55 */ bl SetTranslation__6CActorFRC9CVector3f
/* 80186D3C 00183C9C 38 00 00 00 */ li r0, 0
/* 80186D40 00183CA0 FC 20 B8 90 */ fmr f1, f23
/* 80186D44 00183CA4 98 01 05 E4 */ stb r0, 0x5e4(r1)
/* 80186D48 00183CA8 7E 04 83 78 */ mr r4, r16
/* 80186D4C 00183CAC 7E 25 8B 78 */ mr r5, r17
/* 80186D50 00183CB0 38 61 00 68 */ addi r3, r1, 0x68
/* 80186D54 00183CB4 98 01 06 48 */ stb r0, 0x648(r1)
/* 80186D58 00183CB8 38 C1 31 94 */ addi r6, r1, 0x3194
/* 80186D5C 00183CBC 38 E1 16 50 */ addi r7, r1, 0x1650
/* 80186D60 00183CC0 39 01 06 B8 */ addi r8, r1, 0x6b8
/* 80186D64 00183CC4 39 21 05 E0 */ addi r9, r1, 0x5e0
/* 80186D68 00183CC8 4B FF EC A9 */ bl "MoveObjectAnalytical__15CGroundMovementFR13CStateManagerR13CPhysicsActorfRCQ24rstl32reserved_vector<9TUniqueId,1024>R19CAreaCollisionCacheRfRCQ215CGroundMovement16SMovementOptions"
/* 80186D6C 00183CCC 83 61 00 68 */ lwz r27, 0x68(r1)
/* 80186D70 00183CD0 38 61 05 80 */ addi r3, r1, 0x580
/* 80186D74 00183CD4 83 41 00 6C */ lwz r26, 0x6c(r1)
/* 80186D78 00183CD8 38 80 00 00 */ li r4, 0
/* 80186D7C 00183CDC 48 14 74 0D */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 80186D80 00183CE0 C8 01 00 98 */ lfd f0, 0x98(r1)
2022-04-24 01:54:45 +00:00
/* 80186D84 00183CE4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80186D88 00183CE8 FC 20 E0 2A */ fadd f1, f0, f28
/* 80186D8C 00183CEC C8 02 A3 50 */ lfd f0, lbl_805AC070@sda21(r2)
/* 80186D90 00183CF0 B0 01 00 34 */ sth r0, 0x34(r1)
/* 80186D94 00183CF4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186D98 00183CF8 D8 21 00 90 */ stfd f1, 0x90(r1)
/* 80186D9C 00183CFC 40 81 00 88 */ ble lbl_80186E24
/* 80186DA0 00183D00 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186DA4 00183D04 7E 23 8B 78 */ mr r3, r17
/* 80186DA8 00183D08 C0 02 A3 58 */ lfs f0, lbl_805AC078@sda21(r2)
/* 80186DAC 00183D0C D0 21 01 8C */ stfs f1, 0x18c(r1)
/* 80186DB0 00183D10 D0 21 01 90 */ stfs f1, 0x190(r1)
/* 80186DB4 00183D14 80 A1 01 8C */ lwz r5, 0x18c(r1)
/* 80186DB8 00183D18 D0 01 01 94 */ stfs f0, 0x194(r1)
/* 80186DBC 00183D1C 80 81 01 90 */ lwz r4, 0x190(r1)
/* 80186DC0 00183D20 80 01 01 94 */ lwz r0, 0x194(r1)
/* 80186DC4 00183D24 90 A1 01 98 */ stw r5, 0x198(r1)
/* 80186DC8 00183D28 90 81 01 9C */ stw r4, 0x19c(r1)
/* 80186DCC 00183D2C 90 01 01 A0 */ stw r0, 0x1a0(r1)
/* 80186DD0 00183D30 4B EC CA ED */ bl GetMaterialFilter__6CActorCFv
/* 80186DD4 00183D34 7C 6F 1B 78 */ mr r15, r3
/* 80186DD8 00183D38 7E 23 8B 78 */ mr r3, r17
/* 80186DDC 00183D3C 81 91 00 00 */ lwz r12, 0(r17)
/* 80186DE0 00183D40 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80186DE4 00183D44 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80186DE8 00183D48 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80186DEC 00183D4C 38 01 05 80 */ addi r0, r1, 0x580
/* 80186DF0 00183D50 7C 65 1B 78 */ mr r5, r3
/* 80186DF4 00183D54 90 01 00 08 */ stw r0, 8(r1)
/* 80186DF8 00183D58 38 01 00 90 */ addi r0, r1, 0x90
/* 80186DFC 00183D5C 7E 03 83 78 */ mr r3, r16
/* 80186E00 00183D60 7D E7 7B 78 */ mr r7, r15
/* 80186E04 00183D64 90 01 00 0C */ stw r0, 0xc(r1)
/* 80186E08 00183D68 38 81 16 50 */ addi r4, r1, 0x1650
/* 80186E0C 00183D6C 38 D1 00 34 */ addi r6, r17, 0x34
/* 80186E10 00183D70 39 01 31 94 */ addi r8, r1, 0x3194
/* 80186E14 00183D74 39 21 01 98 */ addi r9, r1, 0x198
/* 80186E18 00183D78 39 41 00 34 */ addi r10, r1, 0x34
/* 80186E1C 00183D7C 4B FF D4 D1 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd"
/* 80186E20 00183D80 48 00 00 08 */ b lbl_80186E28
lbl_80186E24:
/* 80186E24 00183D84 D8 01 00 90 */ stfd f0, 0x90(r1)
lbl_80186E28:
/* 80186E28 00183D88 C8 21 00 98 */ lfd f1, 0x98(r1)
/* 80186E2C 00183D8C C8 01 00 90 */ lfd f0, 0x90(r1)
/* 80186E30 00183D90 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186E34 00183D94 40 80 00 0C */ bge lbl_80186E40
/* 80186E38 00183D98 38 61 00 98 */ addi r3, r1, 0x98
/* 80186E3C 00183D9C 48 00 00 08 */ b lbl_80186E44
lbl_80186E40:
/* 80186E40 00183DA0 38 61 00 90 */ addi r3, r1, 0x90
lbl_80186E44:
/* 80186E44 00183DA4 C8 83 00 00 */ lfd f4, 0(r3)
/* 80186E48 00183DA8 39 E0 00 00 */ li r15, 0
/* 80186E4C 00183DAC 88 01 05 B0 */ lbz r0, 0x5b0(r1)
/* 80186E50 00183DB0 FC 80 20 18 */ frsp f4, f4
/* 80186E54 00183DB4 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80186E58 00183DB8 C0 02 A3 10 */ lfs f0, lbl_805AC030@sda21(r2)
/* 80186E5C 00183DBC 28 00 00 00 */ cmplwi r0, 0
/* 80186E60 00183DC0 C0 71 00 40 */ lfs f3, 0x40(r17)
/* 80186E64 00183DC4 EC A4 00 72 */ fmuls f5, f4, f1
/* 80186E68 00183DC8 C0 51 00 50 */ lfs f2, 0x50(r17)
/* 80186E6C 00183DCC EC 04 00 32 */ fmuls f0, f4, f0
/* 80186E70 00183DD0 C0 31 00 60 */ lfs f1, 0x60(r17)
/* 80186E74 00183DD4 EE A3 28 28 */ fsubs f21, f3, f5
/* 80186E78 00183DD8 EE C2 28 28 */ fsubs f22, f2, f5
/* 80186E7C 00183DDC EF 41 00 28 */ fsubs f26, f1, f0
/* 80186E80 00183DE0 41 82 00 1C */ beq lbl_80186E9C
/* 80186E84 00183DE4 7F 03 C3 78 */ mr r3, r24
/* 80186E88 00183DE8 7F 24 CB 78 */ mr r4, r25
/* 80186E8C 00183DEC 4B FF B9 7D */ bl CanBlock__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80186E90 00183DF0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80186E94 00183DF4 41 82 00 08 */ beq lbl_80186E9C
/* 80186E98 00183DF8 39 E0 00 01 */ li r15, 1
lbl_80186E9C:
/* 80186E9C 00183DFC C0 01 07 74 */ lfs f0, 0x774(r1)
/* 80186EA0 00183E00 55 E0 06 3F */ clrlwi. r0, r15, 0x18
/* 80186EA4 00183E04 C0 41 07 78 */ lfs f2, 0x778(r1)
/* 80186EA8 00183E08 EC 60 A8 28 */ fsubs f3, f0, f21
/* 80186EAC 00183E0C C0 81 07 7C */ lfs f4, 0x77c(r1)
/* 80186EB0 00183E10 EC C2 B0 28 */ fsubs f6, f2, f22
/* 80186EB4 00183E14 D0 01 01 74 */ stfs f0, 0x174(r1)
/* 80186EB8 00183E18 EC A4 D0 28 */ fsubs f5, f4, f26
/* 80186EBC 00183E1C EC 23 00 F2 */ fmuls f1, f3, f3
/* 80186EC0 00183E20 EC 06 01 B2 */ fmuls f0, f6, f6
/* 80186EC4 00183E24 D0 41 01 78 */ stfs f2, 0x178(r1)
/* 80186EC8 00183E28 EC 45 01 72 */ fmuls f2, f5, f5
/* 80186ECC 00183E2C D0 81 01 7C */ stfs f4, 0x17c(r1)
/* 80186ED0 00183E30 EC 01 00 2A */ fadds f0, f1, f0
/* 80186ED4 00183E34 D0 61 01 80 */ stfs f3, 0x180(r1)
/* 80186ED8 00183E38 EF 42 00 2A */ fadds f26, f2, f0
/* 80186EDC 00183E3C D0 C1 01 84 */ stfs f6, 0x184(r1)
/* 80186EE0 00183E40 D0 A1 01 88 */ stfs f5, 0x188(r1)
/* 80186EE4 00183E44 41 82 01 30 */ beq lbl_80187014
/* 80186EE8 00183E48 FC 1B D0 40 */ fcmpo cr0, f27, f26
/* 80186EEC 00183E4C 40 80 01 28 */ bge lbl_80187014
/* 80186EF0 00183E50 C8 41 00 90 */ lfd f2, 0x90(r1)
/* 80186EF4 00183E54 C8 22 A3 48 */ lfd f1, lbl_805AC068@sda21(r2)
/* 80186EF8 00183E58 C8 0D 8E C8 */ lfd f0, lbl_805A7A88@sda21(r13)
/* 80186EFC 00183E5C FC 22 08 28 */ fsub f1, f2, f1
/* 80186F00 00183E60 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80186F04 00183E64 D8 21 00 60 */ stfd f1, 0x60(r1)
/* 80186F08 00183E68 40 80 00 0C */ bge lbl_80186F14
/* 80186F0C 00183E6C 38 6D 8E C8 */ addi r3, r13, lbl_805A7A88@sda21
/* 80186F10 00183E70 48 00 00 08 */ b lbl_80186F18
lbl_80186F14:
/* 80186F14 00183E74 38 61 00 60 */ addi r3, r1, 0x60
lbl_80186F18:
/* 80186F18 00183E78 C8 23 00 00 */ lfd f1, 0(r3)
/* 80186F1C 00183E7C 7E 23 8B 78 */ mr r3, r17
/* 80186F20 00183E80 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80186F24 00183E84 38 81 01 68 */ addi r4, r1, 0x168
/* 80186F28 00183E88 FC 60 08 18 */ frsp f3, f1
/* 80186F2C 00183E8C D8 21 00 90 */ stfd f1, 0x90(r1)
/* 80186F30 00183E90 C0 42 A3 10 */ lfs f2, lbl_805AC030@sda21(r2)
/* 80186F34 00183E94 C1 11 00 60 */ lfs f8, 0x60(r17)
/* 80186F38 00183E98 EC 83 00 32 */ fmuls f4, f3, f0
/* 80186F3C 00183E9C C0 F1 00 50 */ lfs f7, 0x50(r17)
/* 80186F40 00183EA0 EC 63 00 B2 */ fmuls f3, f3, f2
/* 80186F44 00183EA4 C0 31 00 40 */ lfs f1, 0x40(r17)
/* 80186F48 00183EA8 D0 01 01 44 */ stfs f0, 0x144(r1)
/* 80186F4C 00183EAC EC C7 20 28 */ fsubs f6, f7, f4
/* 80186F50 00183EB0 EC A8 18 28 */ fsubs f5, f8, f3
/* 80186F54 00183EB4 D0 01 01 48 */ stfs f0, 0x148(r1)
/* 80186F58 00183EB8 EC 01 20 28 */ fsubs f0, f1, f4
/* 80186F5C 00183EBC D0 41 01 4C */ stfs f2, 0x14c(r1)
/* 80186F60 00183EC0 D0 81 01 50 */ stfs f4, 0x150(r1)
/* 80186F64 00183EC4 D0 81 01 54 */ stfs f4, 0x154(r1)
/* 80186F68 00183EC8 D0 61 01 58 */ stfs f3, 0x158(r1)
/* 80186F6C 00183ECC D0 21 01 5C */ stfs f1, 0x15c(r1)
/* 80186F70 00183ED0 D0 E1 01 60 */ stfs f7, 0x160(r1)
/* 80186F74 00183ED4 D1 01 01 64 */ stfs f8, 0x164(r1)
/* 80186F78 00183ED8 D0 01 01 68 */ stfs f0, 0x168(r1)
/* 80186F7C 00183EDC D0 C1 01 6C */ stfs f6, 0x16c(r1)
/* 80186F80 00183EE0 D0 A1 01 70 */ stfs f5, 0x170(r1)
/* 80186F84 00183EE4 4B EC BF 09 */ bl SetTranslation__6CActorFRC9CVector3f
/* 80186F88 00183EE8 7E 24 8B 78 */ mr r4, r17
/* 80186F8C 00183EEC 38 61 03 34 */ addi r3, r1, 0x334
/* 80186F90 00183EF0 4B F9 50 5D */ bl GetPhysicsState__13CPhysicsActorCFv
/* 80186F94 00183EF4 38 61 09 68 */ addi r3, r1, 0x968
/* 80186F98 00183EF8 38 81 03 34 */ addi r4, r1, 0x334
/* 80186F9C 00183EFC 48 00 0F 41 */ bl sub_80187edc
/* 80186FA0 00183F00 80 01 01 F8 */ lwz r0, 0x1f8(r1)
/* 80186FA4 00183F04 54 00 10 3A */ slwi r0, r0, 2
/* 80186FA8 00183F08 7C 76 02 15 */ add. r3, r22, r0
/* 80186FAC 00183F0C 41 82 00 08 */ beq lbl_80186FB4
/* 80186FB0 00183F10 D3 43 00 00 */ stfs f26, 0(r3)
lbl_80186FB4:
/* 80186FB4 00183F14 80 A1 01 F8 */ lwz r5, 0x1f8(r1)
/* 80186FB8 00183F18 38 61 08 A4 */ addi r3, r1, 0x8a4
/* 80186FBC 00183F1C 38 81 06 58 */ addi r4, r1, 0x658
/* 80186FC0 00183F20 38 05 00 01 */ addi r0, r5, 1
/* 80186FC4 00183F24 90 01 01 F8 */ stw r0, 0x1f8(r1)
/* 80186FC8 00183F28 48 00 0E CD */ bl sub_80187e94
/* 80186FCC 00183F2C 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 80186FD0 00183F30 54 00 08 3C */ slwi r0, r0, 1
/* 80186FD4 00183F34 7C 74 02 15 */ add. r3, r20, r0
/* 80186FD8 00183F38 41 82 00 0C */ beq lbl_80186FE4
/* 80186FDC 00183F3C A0 01 00 34 */ lhz r0, 0x34(r1)
/* 80186FE0 00183F40 B0 03 00 00 */ sth r0, 0(r3)
lbl_80186FE4:
/* 80186FE4 00183F44 80 01 02 40 */ lwz r0, 0x240(r1)
/* 80186FE8 00183F48 80 61 00 A0 */ lwz r3, 0xa0(r1)
/* 80186FEC 00183F4C 54 00 18 38 */ slwi r0, r0, 3
/* 80186FF0 00183F50 38 63 00 01 */ addi r3, r3, 1
/* 80186FF4 00183F54 7C 95 02 15 */ add. r4, r21, r0
/* 80186FF8 00183F58 90 61 00 A0 */ stw r3, 0xa0(r1)
/* 80186FFC 00183F5C 41 82 00 0C */ beq lbl_80187008
/* 80187000 00183F60 93 44 00 04 */ stw r26, 4(r4)
/* 80187004 00183F64 93 64 00 00 */ stw r27, 0(r4)
lbl_80187008:
/* 80187008 00183F68 80 61 02 40 */ lwz r3, 0x240(r1)
/* 8018700C 00183F6C 38 03 00 01 */ addi r0, r3, 1
/* 80187010 00183F70 90 01 02 40 */ stw r0, 0x240(r1)
lbl_80187014:
/* 80187014 00183F74 28 17 00 00 */ cmplwi r23, 0
/* 80187018 00183F78 41 82 00 0C */ beq lbl_80187024
/* 8018701C 00183F7C 38 00 00 00 */ li r0, 0
/* 80187020 00183F80 98 01 06 48 */ stb r0, 0x648(r1)
lbl_80187024:
/* 80187024 00183F84 38 00 00 00 */ li r0, 0
/* 80187028 00183F88 98 01 05 E4 */ stb r0, 0x5e4(r1)
lbl_8018702C:
/* 8018702C 00183F8C 3A 52 00 01 */ addi r18, r18, 1
lbl_80187030:
/* 80187030 00183F90 2C 12 00 02 */ cmpwi r18, 2
/* 80187034 00183F94 40 80 00 0C */ bge lbl_80187040
/* 80187038 00183F98 56 60 06 3F */ clrlwi. r0, r19, 0x18
/* 8018703C 00183F9C 41 82 FB C8 */ beq lbl_80186C04
lbl_80187040:
/* 80187040 00183FA0 80 01 09 68 */ lwz r0, 0x968(r1)
/* 80187044 00183FA4 2C 00 00 00 */ cmpwi r0, 0
/* 80187048 00183FA8 40 82 00 1C */ bne lbl_80187064
/* 8018704C 00183FAC 7E 23 8B 78 */ mr r3, r17
/* 80187050 00183FB0 38 81 07 04 */ addi r4, r1, 0x704
/* 80187054 00183FB4 4B F9 4D D1 */ bl SetPhysicsState__13CPhysicsActorFRC13CPhysicsState
/* 80187058 00183FB8 7F 92 E3 78 */ mr r18, r28
/* 8018705C 00183FBC 7D CF 73 78 */ mr r15, r14
/* 80187060 00183FC0 48 00 01 E0 */ b lbl_80187240
lbl_80187064:
/* 80187064 00183FC4 C0 22 A3 5C */ lfs f1, lbl_805AC07C@sda21(r2)
/* 80187068 00183FC8 39 C0 FF FF */ li r14, -1
/* 8018706C 00183FCC 38 60 00 00 */ li r3, 0
/* 80187070 00183FD0 7C 09 03 A6 */ mtctr r0
/* 80187074 00183FD4 40 81 00 24 */ ble lbl_80187098
lbl_80187078:
/* 80187078 00183FD8 C0 16 00 00 */ lfs f0, 0(r22)
/* 8018707C 00183FDC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80187080 00183FE0 40 80 00 0C */ bge lbl_8018708C
/* 80187084 00183FE4 FC 20 00 90 */ fmr f1, f0
/* 80187088 00183FE8 7C 6E 1B 78 */ mr r14, r3
lbl_8018708C:
/* 8018708C 00183FEC 3A D6 00 04 */ addi r22, r22, 4
/* 80187090 00183FF0 38 63 00 01 */ addi r3, r3, 1
/* 80187094 00183FF4 42 00 FF E4 */ bdnz lbl_80187078
lbl_80187098:
/* 80187098 00183FF8 1C 0E 00 70 */ mulli r0, r14, 0x70
/* 8018709C 00183FFC 38 81 09 6C */ addi r4, r1, 0x96c
/* 801870A0 00184000 7E 23 8B 78 */ mr r3, r17
/* 801870A4 00184004 7C 84 02 14 */ add r4, r4, r0
/* 801870A8 00184008 4B F9 4D 7D */ bl SetPhysicsState__13CPhysicsActorFRC13CPhysicsState
2022-04-24 01:54:45 +00:00
/* 801870AC 0018400C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801870B0 00184010 7E 03 83 78 */ mr r3, r16
/* 801870B4 00184014 7E 24 8B 78 */ mr r4, r17
/* 801870B8 00184018 38 A1 00 2C */ addi r5, r1, 0x2c
/* 801870BC 0018401C B0 01 00 2C */ sth r0, 0x2c(r1)
/* 801870C0 00184020 38 C0 00 17 */ li r6, 0x17
2022-09-14 05:24:37 +00:00
/* 801870C4 00184024 4B EB CE 0D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 801870C8 00184028 55 D3 08 3C */ slwi r19, r14, 1
/* 801870CC 0018402C 55 C3 18 38 */ slwi r3, r14, 3
/* 801870D0 00184030 7C 14 9A 2E */ lhzx r0, r20, r19
/* 801870D4 00184034 7E 55 1A 14 */ add r18, r21, r3
/* 801870D8 00184038 81 F2 00 00 */ lwz r15, 0(r18)
/* 801870DC 0018403C 7E 03 83 78 */ mr r3, r16
/* 801870E0 00184040 B0 01 00 28 */ sth r0, 0x28(r1)
/* 801870E4 00184044 38 81 00 28 */ addi r4, r1, 0x28
/* 801870E8 00184048 82 52 00 04 */ lwz r18, 4(r18)
/* 801870EC 0018404C 4B EC 54 89 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801870F0 00184050 7C 75 1B 79 */ or. r21, r3, r3
/* 801870F4 00184054 41 82 00 80 */ beq lbl_80187174
/* 801870F8 00184058 88 01 08 34 */ lbz r0, 0x834(r1)
/* 801870FC 0018405C 28 00 00 00 */ cmplwi r0, 0
/* 80187100 00184060 40 82 00 20 */ bne lbl_80187120
/* 80187104 00184064 34 61 08 30 */ addic. r3, r1, 0x830
/* 80187108 00184068 41 82 00 0C */ beq lbl_80187114
/* 8018710C 0018406C 7C 14 9A 2E */ lhzx r0, r20, r19
/* 80187110 00184070 B0 03 00 00 */ sth r0, 0(r3)
lbl_80187114:
/* 80187114 00184074 38 00 00 01 */ li r0, 1
/* 80187118 00184078 98 01 08 34 */ stb r0, 0x834(r1)
/* 8018711C 0018407C 48 00 00 0C */ b lbl_80187128
lbl_80187120:
/* 80187120 00184080 7C 14 9A 2E */ lhzx r0, r20, r19
/* 80187124 00184084 B0 01 08 30 */ sth r0, 0x830(r1)
lbl_80187128:
/* 80187128 00184088 1C 0E 00 60 */ mulli r0, r14, 0x60
/* 8018712C 0018408C 38 81 08 A8 */ addi r4, r1, 0x8a8
/* 80187130 00184090 38 61 08 38 */ addi r3, r1, 0x838
/* 80187134 00184094 7C 84 02 14 */ add r4, r4, r0
/* 80187138 00184098 4B FF F1 C1 */ bl sub_801862f8
/* 8018713C 0018409C 7E A4 AB 78 */ mr r4, r21
/* 80187140 001840A0 38 61 00 58 */ addi r3, r1, 0x58
/* 80187144 001840A4 4B F2 1C D1 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80187148 001840A8 80 03 00 04 */ lwz r0, 4(r3)
/* 8018714C 001840AC 28 00 00 00 */ cmplwi r0, 0
/* 80187150 001840B0 41 82 00 24 */ beq lbl_80187174
/* 80187154 001840B4 A0 11 00 08 */ lhz r0, 8(r17)
/* 80187158 001840B8 7E 03 83 78 */ mr r3, r16
/* 8018715C 001840BC 7E A4 AB 78 */ mr r4, r21
/* 80187160 001840C0 38 A1 00 24 */ addi r5, r1, 0x24
/* 80187164 001840C4 B0 01 00 20 */ sth r0, 0x20(r1)
/* 80187168 001840C8 38 C0 00 1F */ li r6, 0x1f
/* 8018716C 001840CC B0 01 00 24 */ sth r0, 0x24(r1)
2022-09-14 05:24:37 +00:00
/* 80187170 001840D0 4B EB CD 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_80187174:
/* 80187174 001840D4 1C 0E 00 60 */ mulli r0, r14, 0x60
/* 80187178 001840D8 39 C1 08 A8 */ addi r14, r1, 0x8a8
/* 8018717C 001840DC 7E 03 83 78 */ mr r3, r16
/* 80187180 001840E0 7E 25 8B 78 */ mr r5, r17
/* 80187184 001840E4 7D CE 02 14 */ add r14, r14, r0
/* 80187188 001840E8 38 8E 00 38 */ addi r4, r14, 0x38
/* 8018718C 001840EC 4B FF B7 CD */ bl SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor
/* 80187190 001840F0 38 00 00 01 */ li r0, 1
/* 80187194 001840F4 34 61 01 34 */ addic. r3, r1, 0x134
/* 80187198 001840F8 98 01 01 40 */ stb r0, 0x140(r1)
/* 8018719C 001840FC 38 00 00 00 */ li r0, 0
/* 801871A0 00184100 98 01 39 98 */ stb r0, 0x3998(r1)
/* 801871A4 00184104 41 82 00 1C */ beq lbl_801871C0
/* 801871A8 00184108 C0 0E 00 48 */ lfs f0, 0x48(r14)
/* 801871AC 0018410C D0 03 00 00 */ stfs f0, 0(r3)
/* 801871B0 00184110 C0 0E 00 4C */ lfs f0, 0x4c(r14)
/* 801871B4 00184114 D0 03 00 04 */ stfs f0, 4(r3)
/* 801871B8 00184118 C0 0E 00 50 */ lfs f0, 0x50(r14)
/* 801871BC 0018411C D0 03 00 08 */ stfs f0, 8(r3)
lbl_801871C0:
/* 801871C0 00184120 38 71 02 28 */ addi r3, r17, 0x228
/* 801871C4 00184124 38 01 01 34 */ addi r0, r1, 0x134
/* 801871C8 00184128 7C 03 00 40 */ cmplw r3, r0
/* 801871CC 0018412C 41 82 00 6C */ beq lbl_80187238
/* 801871D0 00184130 88 01 01 40 */ lbz r0, 0x140(r1)
/* 801871D4 00184134 28 00 00 00 */ cmplwi r0, 0
/* 801871D8 00184138 41 82 00 58 */ beq lbl_80187230
/* 801871DC 0018413C 88 11 02 34 */ lbz r0, 0x234(r17)
/* 801871E0 00184140 28 00 00 00 */ cmplwi r0, 0
/* 801871E4 00184144 40 82 00 30 */ bne lbl_80187214
/* 801871E8 00184148 34 71 02 28 */ addic. r3, r17, 0x228
/* 801871EC 0018414C 41 82 00 1C */ beq lbl_80187208
/* 801871F0 00184150 C0 01 01 34 */ lfs f0, 0x134(r1)
/* 801871F4 00184154 D0 03 00 00 */ stfs f0, 0(r3)
/* 801871F8 00184158 C0 01 01 38 */ lfs f0, 0x138(r1)
/* 801871FC 0018415C D0 03 00 04 */ stfs f0, 4(r3)
/* 80187200 00184160 C0 01 01 3C */ lfs f0, 0x13c(r1)
/* 80187204 00184164 D0 03 00 08 */ stfs f0, 8(r3)
lbl_80187208:
/* 80187208 00184168 38 00 00 01 */ li r0, 1
/* 8018720C 0018416C 98 11 02 34 */ stb r0, 0x234(r17)
/* 80187210 00184170 48 00 00 28 */ b lbl_80187238
lbl_80187214:
/* 80187214 00184174 C0 01 01 34 */ lfs f0, 0x134(r1)
/* 80187218 00184178 D0 03 00 00 */ stfs f0, 0(r3)
/* 8018721C 0018417C C0 01 01 38 */ lfs f0, 0x138(r1)
/* 80187220 00184180 D0 03 00 04 */ stfs f0, 4(r3)
/* 80187224 00184184 C0 01 01 3C */ lfs f0, 0x13c(r1)
/* 80187228 00184188 D0 03 00 08 */ stfs f0, 8(r3)
/* 8018722C 0018418C 48 00 00 0C */ b lbl_80187238
lbl_80187230:
/* 80187230 00184190 38 00 00 00 */ li r0, 0
/* 80187234 00184194 98 11 02 34 */ stb r0, 0x234(r17)
lbl_80187238:
/* 80187238 00184198 38 00 00 00 */ li r0, 0
/* 8018723C 0018419C 98 01 01 40 */ stb r0, 0x140(r1)
lbl_80187240:
/* 80187240 001841A0 80 A1 02 40 */ lwz r5, 0x240(r1)
/* 80187244 001841A4 38 60 00 00 */ li r3, 0
/* 80187248 001841A8 2C 05 00 00 */ cmpwi r5, 0
/* 8018724C 001841AC 40 81 00 40 */ ble lbl_8018728C
/* 80187250 001841B0 2C 05 00 08 */ cmpwi r5, 8
/* 80187254 001841B4 38 85 FF F8 */ addi r4, r5, -8
/* 80187258 001841B8 40 81 00 20 */ ble lbl_80187278
/* 8018725C 001841BC 38 04 00 07 */ addi r0, r4, 7
/* 80187260 001841C0 54 00 E8 FE */ srwi r0, r0, 3
/* 80187264 001841C4 7C 09 03 A6 */ mtctr r0
/* 80187268 001841C8 2C 04 00 00 */ cmpwi r4, 0
/* 8018726C 001841CC 40 81 00 0C */ ble lbl_80187278
lbl_80187270:
/* 80187270 001841D0 38 63 00 08 */ addi r3, r3, 8
/* 80187274 001841D4 42 00 FF FC */ bdnz lbl_80187270
lbl_80187278:
/* 80187278 001841D8 7C 03 28 50 */ subf r0, r3, r5
/* 8018727C 001841DC 7C 09 03 A6 */ mtctr r0
/* 80187280 001841E0 7C 03 28 00 */ cmpw r3, r5
/* 80187284 001841E4 40 80 00 08 */ bge lbl_8018728C
lbl_80187288:
/* 80187288 001841E8 42 00 00 00 */ bdnz lbl_80187288
lbl_8018728C:
/* 8018728C 001841EC 80 A1 00 A0 */ lwz r5, 0xa0(r1)
/* 80187290 001841F0 38 60 00 00 */ li r3, 0
/* 80187294 001841F4 90 61 02 40 */ stw r3, 0x240(r1)
/* 80187298 001841F8 2C 05 00 00 */ cmpwi r5, 0
/* 8018729C 001841FC 40 81 00 40 */ ble lbl_801872DC
/* 801872A0 00184200 2C 05 00 08 */ cmpwi r5, 8
/* 801872A4 00184204 38 85 FF F8 */ addi r4, r5, -8
/* 801872A8 00184208 40 81 00 20 */ ble lbl_801872C8
/* 801872AC 0018420C 38 04 00 07 */ addi r0, r4, 7
/* 801872B0 00184210 54 00 E8 FE */ srwi r0, r0, 3
/* 801872B4 00184214 7C 09 03 A6 */ mtctr r0
/* 801872B8 00184218 2C 04 00 00 */ cmpwi r4, 0
/* 801872BC 0018421C 40 81 00 0C */ ble lbl_801872C8
lbl_801872C0:
/* 801872C0 00184220 38 63 00 08 */ addi r3, r3, 8
/* 801872C4 00184224 42 00 FF FC */ bdnz lbl_801872C0
lbl_801872C8:
/* 801872C8 00184228 7C 03 28 50 */ subf r0, r3, r5
/* 801872CC 0018422C 7C 09 03 A6 */ mtctr r0
/* 801872D0 00184230 7C 03 28 00 */ cmpw r3, r5
/* 801872D4 00184234 40 80 00 08 */ bge lbl_801872DC
lbl_801872D8:
/* 801872D8 00184238 42 00 00 00 */ bdnz lbl_801872D8
lbl_801872DC:
/* 801872DC 0018423C 80 A1 08 A4 */ lwz r5, 0x8a4(r1)
/* 801872E0 00184240 38 60 00 00 */ li r3, 0
/* 801872E4 00184244 90 61 00 A0 */ stw r3, 0xa0(r1)
/* 801872E8 00184248 2C 05 00 00 */ cmpwi r5, 0
/* 801872EC 0018424C 40 81 00 40 */ ble lbl_8018732C
/* 801872F0 00184250 2C 05 00 08 */ cmpwi r5, 8
/* 801872F4 00184254 38 85 FF F8 */ addi r4, r5, -8
/* 801872F8 00184258 40 81 00 20 */ ble lbl_80187318
/* 801872FC 0018425C 38 04 00 07 */ addi r0, r4, 7
/* 80187300 00184260 54 00 E8 FE */ srwi r0, r0, 3
/* 80187304 00184264 7C 09 03 A6 */ mtctr r0
/* 80187308 00184268 2C 04 00 00 */ cmpwi r4, 0
/* 8018730C 0018426C 40 81 00 0C */ ble lbl_80187318
lbl_80187310:
/* 80187310 00184270 38 63 00 08 */ addi r3, r3, 8
/* 80187314 00184274 42 00 FF FC */ bdnz lbl_80187310
lbl_80187318:
/* 80187318 00184278 7C 03 28 50 */ subf r0, r3, r5
/* 8018731C 0018427C 7C 09 03 A6 */ mtctr r0
/* 80187320 00184280 7C 03 28 00 */ cmpw r3, r5
/* 80187324 00184284 40 80 00 08 */ bge lbl_8018732C
lbl_80187328:
/* 80187328 00184288 42 00 00 00 */ bdnz lbl_80187328
lbl_8018732C:
/* 8018732C 0018428C 80 A1 01 F8 */ lwz r5, 0x1f8(r1)
/* 80187330 00184290 38 60 00 00 */ li r3, 0
/* 80187334 00184294 90 61 08 A4 */ stw r3, 0x8a4(r1)
/* 80187338 00184298 2C 05 00 00 */ cmpwi r5, 0
/* 8018733C 0018429C 40 81 00 40 */ ble lbl_8018737C
/* 80187340 001842A0 2C 05 00 08 */ cmpwi r5, 8
/* 80187344 001842A4 38 85 FF F8 */ addi r4, r5, -8
/* 80187348 001842A8 40 81 00 20 */ ble lbl_80187368
/* 8018734C 001842AC 38 04 00 07 */ addi r0, r4, 7
/* 80187350 001842B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80187354 001842B4 7C 09 03 A6 */ mtctr r0
/* 80187358 001842B8 2C 04 00 00 */ cmpwi r4, 0
/* 8018735C 001842BC 40 81 00 0C */ ble lbl_80187368
lbl_80187360:
/* 80187360 001842C0 38 63 00 08 */ addi r3, r3, 8
/* 80187364 001842C4 42 00 FF FC */ bdnz lbl_80187360
lbl_80187368:
/* 80187368 001842C8 7C 03 28 50 */ subf r0, r3, r5
/* 8018736C 001842CC 7C 09 03 A6 */ mtctr r0
/* 80187370 001842D0 7C 03 28 00 */ cmpw r3, r5
/* 80187374 001842D4 40 80 00 08 */ bge lbl_8018737C
lbl_80187378:
/* 80187378 001842D8 42 00 00 00 */ bdnz lbl_80187378
lbl_8018737C:
/* 8018737C 001842DC 80 A1 09 68 */ lwz r5, 0x968(r1)
/* 80187380 001842E0 38 60 00 00 */ li r3, 0
/* 80187384 001842E4 90 61 01 F8 */ stw r3, 0x1f8(r1)
/* 80187388 001842E8 2C 05 00 00 */ cmpwi r5, 0
/* 8018738C 001842EC 40 81 00 40 */ ble lbl_801873CC
/* 80187390 001842F0 2C 05 00 08 */ cmpwi r5, 8
/* 80187394 001842F4 38 85 FF F8 */ addi r4, r5, -8
/* 80187398 001842F8 40 81 00 20 */ ble lbl_801873B8
/* 8018739C 001842FC 38 04 00 07 */ addi r0, r4, 7
/* 801873A0 00184300 54 00 E8 FE */ srwi r0, r0, 3
/* 801873A4 00184304 7C 09 03 A6 */ mtctr r0
/* 801873A8 00184308 2C 04 00 00 */ cmpwi r4, 0
/* 801873AC 0018430C 40 81 00 0C */ ble lbl_801873B8
lbl_801873B0:
/* 801873B0 00184310 38 63 00 08 */ addi r3, r3, 8
/* 801873B4 00184314 42 00 FF FC */ bdnz lbl_801873B0
lbl_801873B8:
/* 801873B8 00184318 7C 03 28 50 */ subf r0, r3, r5
/* 801873BC 0018431C 7C 09 03 A6 */ mtctr r0
/* 801873C0 00184320 7C 03 28 00 */ cmpw r3, r5
/* 801873C4 00184324 40 80 00 08 */ bge lbl_801873CC
lbl_801873C8:
/* 801873C8 00184328 42 00 00 00 */ bdnz lbl_801873C8
lbl_801873CC:
/* 801873CC 0018432C 38 00 00 00 */ li r0, 0
/* 801873D0 00184330 90 01 09 68 */ stw r0, 0x968(r1)
/* 801873D4 00184334 98 01 07 00 */ stb r0, 0x700(r1)
lbl_801873D8:
/* 801873D8 00184338 34 01 08 20 */ addic. r0, r1, 0x820
/* 801873DC 0018433C 41 82 01 28 */ beq lbl_80187504
/* 801873E0 00184340 38 00 00 00 */ li r0, 0
/* 801873E4 00184344 98 01 08 2C */ stb r0, 0x82c(r1)
/* 801873E8 00184348 48 00 01 1C */ b lbl_80187504
lbl_801873EC:
/* 801873EC 0018434C 38 60 00 01 */ li r3, 1
/* 801873F0 00184350 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 801873F4 00184354 98 A1 05 78 */ stb r5, 0x578(r1)
/* 801873F8 00184358 98 61 05 30 */ stb r3, 0x530(r1)
/* 801873FC 0018435C 41 82 00 0C */ beq lbl_80187408
/* 80187400 00184360 C0 02 A3 60 */ lfs f0, lbl_805AC080@sda21(r2)
/* 80187404 00184364 48 00 00 08 */ b lbl_8018740C
lbl_80187408:
/* 80187408 00184368 C0 02 A3 10 */ lfs f0, lbl_805AC030@sda21(r2)
lbl_8018740C:
/* 8018740C 0018436C 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 80187410 00184370 D0 01 05 34 */ stfs f0, 0x534(r1)
/* 80187414 00184374 41 82 00 0C */ beq lbl_80187420
/* 80187418 00184378 C0 02 A3 64 */ lfs f0, lbl_805AC084@sda21(r2)
/* 8018741C 0018437C 48 00 00 08 */ b lbl_80187424
lbl_80187420:
/* 80187420 00184380 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
lbl_80187424:
/* 80187424 00184384 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 80187428 00184388 D0 01 05 38 */ stfs f0, 0x538(r1)
/* 8018742C 0018438C 41 82 00 0C */ beq lbl_80187438
/* 80187430 00184390 C0 02 A3 68 */ lfs f0, lbl_805AC088@sda21(r2)
/* 80187434 00184394 48 00 00 08 */ b lbl_8018743C
lbl_80187438:
/* 80187438 00184398 C0 02 A3 30 */ lfs f0, lbl_805AC050@sda21(r2)
lbl_8018743C:
/* 8018743C 0018439C 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 80187440 001843A0 D0 01 05 3C */ stfs f0, 0x53c(r1)
/* 80187444 001843A4 41 82 00 0C */ beq lbl_80187450
/* 80187448 001843A8 C0 02 A3 28 */ lfs f0, lbl_805AC048@sda21(r2)
/* 8018744C 001843AC 48 00 00 08 */ b lbl_80187454
lbl_80187450:
/* 80187450 001843B0 C0 02 A3 34 */ lfs f0, lbl_805AC054@sda21(r2)
lbl_80187454:
/* 80187454 001843B4 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 80187458 001843B8 D0 01 05 40 */ stfs f0, 0x540(r1)
/* 8018745C 001843BC 41 82 00 0C */ beq lbl_80187468
/* 80187460 001843C0 C0 82 A3 40 */ lfs f4, lbl_805AC060@sda21(r2)
/* 80187464 001843C4 48 00 00 08 */ b lbl_8018746C
lbl_80187468:
/* 80187468 001843C8 C0 82 A3 18 */ lfs f4, lbl_805AC038@sda21(r2)
lbl_8018746C:
/* 8018746C 001843CC C0 62 A3 38 */ lfs f3, lbl_805AC058@sda21(r2)
/* 80187470 001843D0 38 80 00 00 */ li r4, 0
/* 80187474 001843D4 C0 42 A3 18 */ lfs f2, lbl_805AC038@sda21(r2)
/* 80187478 001843D8 38 60 00 04 */ li r3, 4
/* 8018747C 001843DC C0 22 A3 10 */ lfs f1, lbl_805AC030@sda21(r2)
/* 80187480 001843E0 55 C0 06 3F */ clrlwi. r0, r14, 0x18
/* 80187484 001843E4 C0 02 A3 6C */ lfs f0, lbl_805AC08C@sda21(r2)
/* 80187488 001843E8 D0 81 05 44 */ stfs f4, 0x544(r1)
/* 8018748C 001843EC 98 81 05 48 */ stb r4, 0x548(r1)
/* 80187490 001843F0 98 81 05 49 */ stb r4, 0x549(r1)
/* 80187494 001843F4 98 81 05 4A */ stb r4, 0x54a(r1)
/* 80187498 001843F8 90 61 05 4C */ stw r3, 0x54c(r1)
/* 8018749C 001843FC D0 61 05 50 */ stfs f3, 0x550(r1)
/* 801874A0 00184400 D0 41 05 54 */ stfs f2, 0x554(r1)
/* 801874A4 00184404 D0 21 05 58 */ stfs f1, 0x558(r1)
/* 801874A8 00184408 D0 01 05 5C */ stfs f0, 0x55c(r1)
/* 801874AC 0018440C 41 82 00 0C */ beq lbl_801874B8
/* 801874B0 00184410 C0 02 A3 40 */ lfs f0, lbl_805AC060@sda21(r2)
/* 801874B4 00184414 48 00 00 08 */ b lbl_801874BC
lbl_801874B8:
/* 801874B8 00184418 C0 02 A3 40 */ lfs f0, lbl_805AC060@sda21(r2)
lbl_801874BC:
/* 801874BC 0018441C D0 01 05 60 */ stfs f0, 0x560(r1)
/* 801874C0 00184420 7F A3 EB 78 */ mr r3, r29
/* 801874C4 00184424 7E 04 83 78 */ mr r4, r16
/* 801874C8 00184428 4B E8 D6 79 */ bl GetMaximumPlayerPositiveVerticalVelocity__7CPlayerCFRC13CStateManager
/* 801874CC 0018442C D0 21 05 68 */ stfs f1, 0x568(r1)
/* 801874D0 00184430 FC 20 B8 90 */ fmr f1, f23
/* 801874D4 00184434 7E 04 83 78 */ mr r4, r16
/* 801874D8 00184438 7E 25 8B 78 */ mr r5, r17
/* 801874DC 0018443C 38 61 00 50 */ addi r3, r1, 0x50
/* 801874E0 00184440 38 C1 31 94 */ addi r6, r1, 0x3194
/* 801874E4 00184444 38 E1 16 50 */ addi r7, r1, 0x1650
/* 801874E8 00184448 39 01 05 30 */ addi r8, r1, 0x530
/* 801874EC 0018444C 39 21 08 30 */ addi r9, r1, 0x830
/* 801874F0 00184450 4B FF E5 21 */ bl "MoveObjectAnalytical__15CGroundMovementFR13CStateManagerR13CPhysicsActorfRCQ24rstl32reserved_vector<9TUniqueId,1024>R19CAreaCollisionCacheRfRCQ215CGroundMovement16SMovementOptions"
/* 801874F4 00184454 38 00 00 00 */ li r0, 0
/* 801874F8 00184458 81 E1 00 50 */ lwz r15, 0x50(r1)
/* 801874FC 0018445C 98 01 05 78 */ stb r0, 0x578(r1)
/* 80187500 00184460 82 41 00 54 */ lwz r18, 0x54(r1)
lbl_80187504:
/* 80187504 00184464 88 01 39 98 */ lbz r0, 0x3998(r1)
/* 80187508 00184468 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8018750C 0018446C 41 82 04 8C */ beq lbl_80187998
/* 80187510 00184470 38 61 04 D0 */ addi r3, r1, 0x4d0
/* 80187514 00184474 38 80 00 00 */ li r4, 0
/* 80187518 00184478 48 14 6C 71 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 8018751C 0018447C 7E 23 8B 78 */ mr r3, r17
/* 80187520 00184480 81 91 00 00 */ lwz r12, 0(r17)
/* 80187524 00184484 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 80187528 00184488 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018752C 0018448C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187530 00184490 C8 02 A3 70 */ lfd f0, lbl_805AC090@sda21(r2)
2022-04-24 01:54:45 +00:00
/* 80187534 00184494 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80187538 00184498 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018753C 0018449C D8 21 00 88 */ stfd f1, 0x88(r1)
/* 80187540 001844A0 C3 02 A3 18 */ lfs f24, lbl_805AC038@sda21(r2)
/* 80187544 001844A4 B0 01 00 30 */ sth r0, 0x30(r1)
/* 80187548 001844A8 40 81 01 38 */ ble lbl_80187680
/* 8018754C 001844AC 38 61 03 04 */ addi r3, r1, 0x304
/* 80187550 001844B0 38 91 00 34 */ addi r4, r17, 0x34
/* 80187554 001844B4 48 18 B6 21 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80187558 001844B8 C0 61 03 30 */ lfs f3, 0x330(r1)
/* 8018755C 001844BC 7E 23 8B 78 */ mr r3, r17
/* 80187560 001844C0 C0 02 A3 78 */ lfs f0, lbl_805AC098@sda21(r2)
/* 80187564 001844C4 C0 21 03 20 */ lfs f1, 0x320(r1)
/* 80187568 001844C8 C0 42 A3 18 */ lfs f2, lbl_805AC038@sda21(r2)
/* 8018756C 001844CC EC 03 00 2A */ fadds f0, f3, f0
/* 80187570 001844D0 C0 61 03 10 */ lfs f3, 0x310(r1)
/* 80187574 001844D4 EC 21 10 2A */ fadds f1, f1, f2
/* 80187578 001844D8 EC 43 10 2A */ fadds f2, f3, f2
/* 8018757C 001844DC D0 01 03 30 */ stfs f0, 0x330(r1)
/* 80187580 001844E0 D0 21 03 20 */ stfs f1, 0x320(r1)
/* 80187584 001844E4 D0 41 03 10 */ stfs f2, 0x310(r1)
/* 80187588 001844E8 4B EC C3 35 */ bl GetMaterialFilter__6CActorCFv
/* 8018758C 001844EC 7C 6E 1B 78 */ mr r14, r3
/* 80187590 001844F0 7E 23 8B 78 */ mr r3, r17
/* 80187594 001844F4 81 91 00 00 */ lwz r12, 0(r17)
/* 80187598 001844F8 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8018759C 001844FC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801875A0 00184500 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801875A4 00184504 7C 65 1B 78 */ mr r5, r3
/* 801875A8 00184508 7E 03 83 78 */ mr r3, r16
/* 801875AC 0018450C 7D C7 73 78 */ mr r7, r14
/* 801875B0 00184510 38 81 16 50 */ addi r4, r1, 0x1650
/* 801875B4 00184514 38 C1 03 04 */ addi r6, r1, 0x304
/* 801875B8 00184518 39 01 31 94 */ addi r8, r1, 0x3194
/* 801875BC 0018451C 4B FF CF A9 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801875C0 00184520 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801875C4 00184524 40 82 00 3C */ bne lbl_80187600
/* 801875C8 00184528 C0 41 03 10 */ lfs f2, 0x310(r1)
/* 801875CC 0018452C 7E 23 8B 78 */ mr r3, r17
/* 801875D0 00184530 C0 21 03 20 */ lfs f1, 0x320(r1)
/* 801875D4 00184534 38 81 01 28 */ addi r4, r1, 0x128
/* 801875D8 00184538 C0 01 03 30 */ lfs f0, 0x330(r1)
/* 801875DC 0018453C D0 41 01 28 */ stfs f2, 0x128(r1)
/* 801875E0 00184540 C3 02 A3 78 */ lfs f24, lbl_805AC098@sda21(r2)
/* 801875E4 00184544 D0 21 01 2C */ stfs f1, 0x12c(r1)
/* 801875E8 00184548 D0 01 01 30 */ stfs f0, 0x130(r1)
/* 801875EC 0018454C 4B EC B8 A1 */ bl SetTranslation__6CActorFRC9CVector3f
/* 801875F0 00184550 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 801875F4 00184554 C0 02 A3 78 */ lfs f0, lbl_805AC098@sda21(r2)
/* 801875F8 00184558 FC 01 00 2A */ fadd f0, f1, f0
/* 801875FC 0018455C D8 01 00 88 */ stfd f0, 0x88(r1)
lbl_80187600:
/* 80187600 00184560 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80187604 00184564 7E 23 8B 78 */ mr r3, r17
/* 80187608 00184568 C0 02 A3 58 */ lfs f0, lbl_805AC078@sda21(r2)
/* 8018760C 0018456C D0 21 01 10 */ stfs f1, 0x110(r1)
/* 80187610 00184570 D0 21 01 14 */ stfs f1, 0x114(r1)
/* 80187614 00184574 80 A1 01 10 */ lwz r5, 0x110(r1)
/* 80187618 00184578 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 8018761C 0018457C 80 81 01 14 */ lwz r4, 0x114(r1)
/* 80187620 00184580 80 01 01 18 */ lwz r0, 0x118(r1)
/* 80187624 00184584 90 A1 01 1C */ stw r5, 0x11c(r1)
/* 80187628 00184588 90 81 01 20 */ stw r4, 0x120(r1)
/* 8018762C 0018458C 90 01 01 24 */ stw r0, 0x124(r1)
/* 80187630 00184590 4B EC C2 8D */ bl GetMaterialFilter__6CActorCFv
/* 80187634 00184594 7C 6E 1B 78 */ mr r14, r3
/* 80187638 00184598 7E 23 8B 78 */ mr r3, r17
/* 8018763C 0018459C 81 91 00 00 */ lwz r12, 0(r17)
/* 80187640 001845A0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80187644 001845A4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187648 001845A8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018764C 001845AC 38 01 04 D0 */ addi r0, r1, 0x4d0
/* 80187650 001845B0 7C 65 1B 78 */ mr r5, r3
/* 80187654 001845B4 90 01 00 08 */ stw r0, 8(r1)
/* 80187658 001845B8 38 01 00 88 */ addi r0, r1, 0x88
/* 8018765C 001845BC 7E 03 83 78 */ mr r3, r16
/* 80187660 001845C0 7D C7 73 78 */ mr r7, r14
/* 80187664 001845C4 90 01 00 0C */ stw r0, 0xc(r1)
/* 80187668 001845C8 38 81 16 50 */ addi r4, r1, 0x1650
/* 8018766C 001845CC 38 D1 00 34 */ addi r6, r17, 0x34
/* 80187670 001845D0 39 01 31 94 */ addi r8, r1, 0x3194
/* 80187674 001845D4 39 21 01 1C */ addi r9, r1, 0x11c
/* 80187678 001845D8 39 41 00 30 */ addi r10, r1, 0x30
/* 8018767C 001845DC 4B FF CC 71 */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd"
lbl_80187680:
/* 80187680 001845E0 A0 81 00 30 */ lhz r4, 0x30(r1)
2022-04-24 01:54:45 +00:00
/* 80187684 001845E4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80187688 001845E8 7C 04 00 40 */ cmplw r4, r0
/* 8018768C 001845EC 41 82 00 38 */ beq lbl_801876C4
/* 80187690 001845F0 88 01 08 34 */ lbz r0, 0x834(r1)
/* 80187694 001845F4 28 00 00 00 */ cmplwi r0, 0
/* 80187698 001845F8 40 82 00 1C */ bne lbl_801876B4
/* 8018769C 001845FC 34 61 08 30 */ addic. r3, r1, 0x830
/* 801876A0 00184600 41 82 00 08 */ beq lbl_801876A8
/* 801876A4 00184604 B0 83 00 00 */ sth r4, 0(r3)
lbl_801876A8:
/* 801876A8 00184608 38 00 00 01 */ li r0, 1
/* 801876AC 0018460C 98 01 08 34 */ stb r0, 0x834(r1)
/* 801876B0 00184610 48 00 00 08 */ b lbl_801876B8
lbl_801876B4:
/* 801876B4 00184614 B0 81 08 30 */ sth r4, 0x830(r1)
lbl_801876B8:
/* 801876B8 00184618 38 61 08 38 */ addi r3, r1, 0x838
/* 801876BC 0018461C 38 81 04 D0 */ addi r4, r1, 0x4d0
/* 801876C0 00184620 4B FF EC 39 */ bl sub_801862f8
lbl_801876C4:
/* 801876C4 00184624 88 01 05 00 */ lbz r0, 0x500(r1)
/* 801876C8 00184628 28 00 00 00 */ cmplwi r0, 0
/* 801876CC 0018462C 41 82 00 1C */ beq lbl_801876E8
/* 801876D0 00184630 39 C1 05 08 */ addi r14, r1, 0x508
/* 801876D4 00184634 38 81 05 18 */ addi r4, r1, 0x518
/* 801876D8 00184638 7D C3 73 78 */ mr r3, r14
/* 801876DC 0018463C 4B FF B1 2D */ bl CanBlock__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 801876E0 00184640 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801876E4 00184644 40 82 00 F4 */ bne lbl_801877D8
lbl_801876E8:
/* 801876E8 00184648 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 801876EC 0018464C FC 18 00 40 */ fcmpo cr0, f24, f0
/* 801876F0 00184650 40 81 00 38 */ ble lbl_80187728
/* 801876F4 00184654 38 61 02 D4 */ addi r3, r1, 0x2d4
/* 801876F8 00184658 38 91 00 34 */ addi r4, r17, 0x34
/* 801876FC 0018465C 48 18 B4 79 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80187700 00184660 C0 01 03 00 */ lfs f0, 0x300(r1)
/* 80187704 00184664 C0 21 02 F0 */ lfs f1, 0x2f0(r1)
/* 80187708 00184668 C0 42 A3 18 */ lfs f2, lbl_805AC038@sda21(r2)
/* 8018770C 0018466C EC 00 C0 28 */ fsubs f0, f0, f24
/* 80187710 00184670 C0 61 02 E0 */ lfs f3, 0x2e0(r1)
/* 80187714 00184674 EC 21 10 28 */ fsubs f1, f1, f2
/* 80187718 00184678 EC 43 10 28 */ fsubs f2, f3, f2
/* 8018771C 0018467C D0 01 03 00 */ stfs f0, 0x300(r1)
/* 80187720 00184680 D0 21 02 F0 */ stfs f1, 0x2f0(r1)
/* 80187724 00184684 D0 41 02 E0 */ stfs f2, 0x2e0(r1)
lbl_80187728:
/* 80187728 00184688 88 01 05 00 */ lbz r0, 0x500(r1)
/* 8018772C 0018468C 28 00 00 00 */ cmplwi r0, 0
/* 80187730 00184690 41 82 00 14 */ beq lbl_80187744
/* 80187734 00184694 88 1D 09 C5 */ lbz r0, 0x9c5(r29)
/* 80187738 00184698 38 60 00 01 */ li r3, 1
/* 8018773C 0018469C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 80187740 001846A0 98 1D 09 C5 */ stb r0, 0x9c5(r29)
lbl_80187744:
/* 80187744 001846A4 FC 20 B8 90 */ fmr f1, f23
/* 80187748 001846A8 7E 23 8B 78 */ mr r3, r17
/* 8018774C 001846AC 7E 04 83 78 */ mr r4, r16
/* 80187750 001846B0 48 00 24 E1 */ bl CheckFalling__15CGroundMovementFR13CPhysicsActorR13CStateManagerf
/* 80187754 001846B4 38 71 02 28 */ addi r3, r17, 0x228
/* 80187758 001846B8 38 01 01 00 */ addi r0, r1, 0x100
/* 8018775C 001846BC 38 80 00 00 */ li r4, 0
/* 80187760 001846C0 7C 03 00 40 */ cmplw r3, r0
/* 80187764 001846C4 98 81 01 0C */ stb r4, 0x10c(r1)
/* 80187768 001846C8 41 82 00 64 */ beq lbl_801877CC
/* 8018776C 001846CC 28 04 00 00 */ cmplwi r4, 0
/* 80187770 001846D0 41 82 00 58 */ beq lbl_801877C8
/* 80187774 001846D4 88 11 02 34 */ lbz r0, 0x234(r17)
/* 80187778 001846D8 28 00 00 00 */ cmplwi r0, 0
/* 8018777C 001846DC 40 82 00 30 */ bne lbl_801877AC
/* 80187780 001846E0 34 71 02 28 */ addic. r3, r17, 0x228
/* 80187784 001846E4 41 82 00 1C */ beq lbl_801877A0
/* 80187788 001846E8 C0 01 01 00 */ lfs f0, 0x100(r1)
/* 8018778C 001846EC D0 03 00 00 */ stfs f0, 0(r3)
/* 80187790 001846F0 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 80187794 001846F4 D0 03 00 04 */ stfs f0, 4(r3)
/* 80187798 001846F8 C0 01 01 08 */ lfs f0, 0x108(r1)
/* 8018779C 001846FC D0 03 00 08 */ stfs f0, 8(r3)
lbl_801877A0:
/* 801877A0 00184700 38 00 00 01 */ li r0, 1
/* 801877A4 00184704 98 11 02 34 */ stb r0, 0x234(r17)
/* 801877A8 00184708 48 00 00 24 */ b lbl_801877CC
lbl_801877AC:
/* 801877AC 0018470C C0 01 01 00 */ lfs f0, 0x100(r1)
/* 801877B0 00184710 D0 03 00 00 */ stfs f0, 0(r3)
/* 801877B4 00184714 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 801877B8 00184718 D0 03 00 04 */ stfs f0, 4(r3)
/* 801877BC 0018471C C0 01 01 08 */ lfs f0, 0x108(r1)
/* 801877C0 00184720 D0 03 00 08 */ stfs f0, 8(r3)
/* 801877C4 00184724 48 00 00 08 */ b lbl_801877CC
lbl_801877C8:
/* 801877C8 00184728 98 91 02 34 */ stb r4, 0x234(r17)
lbl_801877CC:
/* 801877CC 0018472C 38 00 00 00 */ li r0, 0
/* 801877D0 00184730 98 01 01 0C */ stb r0, 0x10c(r1)
/* 801877D4 00184734 48 00 01 C4 */ b lbl_80187998
lbl_801877D8:
2022-04-24 01:54:45 +00:00
/* 801877D8 00184738 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801877DC 0018473C 7E 03 83 78 */ mr r3, r16
/* 801877E0 00184740 7E 24 8B 78 */ mr r4, r17
/* 801877E4 00184744 38 A1 00 1C */ addi r5, r1, 0x1c
/* 801877E8 00184748 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 801877EC 0018474C 38 C0 00 17 */ li r6, 0x17
2022-09-14 05:24:37 +00:00
/* 801877F0 00184750 4B EB C6 E1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 801877F4 00184754 C8 41 00 88 */ lfd f2, 0x88(r1)
/* 801877F8 00184758 C8 22 A3 48 */ lfd f1, lbl_805AC068@sda21(r2)
/* 801877FC 0018475C C8 0D 8E D0 */ lfd f0, lbl_805A7A90@sda21(r13)
/* 80187800 00184760 FC 22 08 28 */ fsub f1, f2, f1
/* 80187804 00184764 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80187808 00184768 D8 21 00 48 */ stfd f1, 0x48(r1)
/* 8018780C 0018476C 40 80 00 0C */ bge lbl_80187818
/* 80187810 00184770 38 6D 8E D0 */ addi r3, r13, lbl_805A7A90@sda21
/* 80187814 00184774 48 00 00 08 */ b lbl_8018781C
lbl_80187818:
/* 80187818 00184778 38 61 00 48 */ addi r3, r1, 0x48
lbl_8018781C:
/* 8018781C 0018477C C8 23 00 00 */ lfd f1, 0(r3)
/* 80187820 00184780 7E 23 8B 78 */ mr r3, r17
/* 80187824 00184784 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80187828 00184788 38 81 00 F4 */ addi r4, r1, 0xf4
/* 8018782C 0018478C FC 60 08 18 */ frsp f3, f1
/* 80187830 00184790 D8 21 00 88 */ stfd f1, 0x88(r1)
/* 80187834 00184794 C0 42 A3 10 */ lfs f2, lbl_805AC030@sda21(r2)
/* 80187838 00184798 C1 11 00 60 */ lfs f8, 0x60(r17)
/* 8018783C 0018479C EC 83 00 32 */ fmuls f4, f3, f0
/* 80187840 001847A0 C0 F1 00 50 */ lfs f7, 0x50(r17)
/* 80187844 001847A4 EC 63 00 B2 */ fmuls f3, f3, f2
/* 80187848 001847A8 C0 31 00 40 */ lfs f1, 0x40(r17)
/* 8018784C 001847AC D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 80187850 001847B0 EC C7 20 28 */ fsubs f6, f7, f4
/* 80187854 001847B4 EC A8 18 28 */ fsubs f5, f8, f3
/* 80187858 001847B8 D0 01 00 D4 */ stfs f0, 0xd4(r1)
/* 8018785C 001847BC EC 01 20 28 */ fsubs f0, f1, f4
/* 80187860 001847C0 D0 41 00 D8 */ stfs f2, 0xd8(r1)
/* 80187864 001847C4 D0 81 00 DC */ stfs f4, 0xdc(r1)
/* 80187868 001847C8 D0 81 00 E0 */ stfs f4, 0xe0(r1)
/* 8018786C 001847CC D0 61 00 E4 */ stfs f3, 0xe4(r1)
/* 80187870 001847D0 D0 21 00 E8 */ stfs f1, 0xe8(r1)
/* 80187874 001847D4 D0 E1 00 EC */ stfs f7, 0xec(r1)
/* 80187878 001847D8 D1 01 00 F0 */ stfs f8, 0xf0(r1)
/* 8018787C 001847DC D0 01 00 F4 */ stfs f0, 0xf4(r1)
/* 80187880 001847E0 D0 C1 00 F8 */ stfs f6, 0xf8(r1)
/* 80187884 001847E4 D0 A1 00 FC */ stfs f5, 0xfc(r1)
/* 80187888 001847E8 4B EC B6 05 */ bl SetTranslation__6CActorFRC9CVector3f
/* 8018788C 001847EC A0 01 00 30 */ lhz r0, 0x30(r1)
/* 80187890 001847F0 7E 03 83 78 */ mr r3, r16
/* 80187894 001847F4 38 81 00 18 */ addi r4, r1, 0x18
/* 80187898 001847F8 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8018789C 001847FC 4B EC 4C D9 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801878A0 00184800 7C 60 1B 78 */ mr r0, r3
/* 801878A4 00184804 38 61 00 3C */ addi r3, r1, 0x3c
/* 801878A8 00184808 7C 13 03 78 */ mr r19, r0
/* 801878AC 0018480C 7E 64 9B 78 */ mr r4, r19
/* 801878B0 00184810 4B F2 15 65 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 801878B4 00184814 80 03 00 04 */ lwz r0, 4(r3)
/* 801878B8 00184818 28 00 00 00 */ cmplwi r0, 0
/* 801878BC 0018481C 41 82 00 24 */ beq lbl_801878E0
/* 801878C0 00184820 A0 11 00 08 */ lhz r0, 8(r17)
/* 801878C4 00184824 7E 03 83 78 */ mr r3, r16
/* 801878C8 00184828 7E 64 9B 78 */ mr r4, r19
/* 801878CC 0018482C 38 A1 00 14 */ addi r5, r1, 0x14
/* 801878D0 00184830 B0 01 00 10 */ sth r0, 0x10(r1)
/* 801878D4 00184834 38 C0 00 1F */ li r6, 0x1f
/* 801878D8 00184838 B0 01 00 14 */ sth r0, 0x14(r1)
2022-09-14 05:24:37 +00:00
/* 801878DC 0018483C 4B EB C5 F5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_801878E0:
/* 801878E0 00184840 7E 03 83 78 */ mr r3, r16
/* 801878E4 00184844 7D C4 73 78 */ mr r4, r14
/* 801878E8 00184848 7E 25 8B 78 */ mr r5, r17
/* 801878EC 0018484C 4B FF B0 6D */ bl SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor
/* 801878F0 00184850 38 00 00 01 */ li r0, 1
/* 801878F4 00184854 34 61 00 C0 */ addic. r3, r1, 0xc0
/* 801878F8 00184858 98 01 00 CC */ stb r0, 0xcc(r1)
/* 801878FC 0018485C 41 82 00 1C */ beq lbl_80187918
/* 80187900 00184860 C0 01 05 18 */ lfs f0, 0x518(r1)
/* 80187904 00184864 D0 03 00 00 */ stfs f0, 0(r3)
/* 80187908 00184868 C0 01 05 1C */ lfs f0, 0x51c(r1)
/* 8018790C 0018486C D0 03 00 04 */ stfs f0, 4(r3)
/* 80187910 00184870 C0 01 05 20 */ lfs f0, 0x520(r1)
/* 80187914 00184874 D0 03 00 08 */ stfs f0, 8(r3)
lbl_80187918:
/* 80187918 00184878 38 71 02 28 */ addi r3, r17, 0x228
/* 8018791C 0018487C 38 01 00 C0 */ addi r0, r1, 0xc0
/* 80187920 00184880 7C 03 00 40 */ cmplw r3, r0
/* 80187924 00184884 41 82 00 6C */ beq lbl_80187990
/* 80187928 00184888 88 01 00 CC */ lbz r0, 0xcc(r1)
/* 8018792C 0018488C 28 00 00 00 */ cmplwi r0, 0
/* 80187930 00184890 41 82 00 58 */ beq lbl_80187988
/* 80187934 00184894 88 11 02 34 */ lbz r0, 0x234(r17)
/* 80187938 00184898 28 00 00 00 */ cmplwi r0, 0
/* 8018793C 0018489C 40 82 00 30 */ bne lbl_8018796C
/* 80187940 001848A0 34 71 02 28 */ addic. r3, r17, 0x228
/* 80187944 001848A4 41 82 00 1C */ beq lbl_80187960
/* 80187948 001848A8 C0 01 00 C0 */ lfs f0, 0xc0(r1)
/* 8018794C 001848AC D0 03 00 00 */ stfs f0, 0(r3)
/* 80187950 001848B0 C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 80187954 001848B4 D0 03 00 04 */ stfs f0, 4(r3)
/* 80187958 001848B8 C0 01 00 C8 */ lfs f0, 0xc8(r1)
/* 8018795C 001848BC D0 03 00 08 */ stfs f0, 8(r3)
lbl_80187960:
/* 80187960 001848C0 38 00 00 01 */ li r0, 1
/* 80187964 001848C4 98 11 02 34 */ stb r0, 0x234(r17)
/* 80187968 001848C8 48 00 00 28 */ b lbl_80187990
lbl_8018796C:
/* 8018796C 001848CC C0 01 00 C0 */ lfs f0, 0xc0(r1)
/* 80187970 001848D0 D0 03 00 00 */ stfs f0, 0(r3)
/* 80187974 001848D4 C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 80187978 001848D8 D0 03 00 04 */ stfs f0, 4(r3)
/* 8018797C 001848DC C0 01 00 C8 */ lfs f0, 0xc8(r1)
/* 80187980 001848E0 D0 03 00 08 */ stfs f0, 8(r3)
/* 80187984 001848E4 48 00 00 0C */ b lbl_80187990
lbl_80187988:
/* 80187988 001848E8 38 00 00 00 */ li r0, 0
/* 8018798C 001848EC 98 11 02 34 */ stb r0, 0x234(r17)
lbl_80187990:
/* 80187990 001848F0 38 00 00 00 */ li r0, 0
/* 80187994 001848F4 98 01 00 CC */ stb r0, 0xcc(r1)
lbl_80187998:
/* 80187998 001848F8 7E 23 8B 78 */ mr r3, r17
/* 8018799C 001848FC 4B F9 39 19 */ bl ClearForcesAndTorques__13CPhysicsActorFv
/* 801879A0 00184900 3C 00 40 00 */ lis r0, 0x4000
/* 801879A4 00184904 38 80 00 00 */ li r4, 0
/* 801879A8 00184908 7E 43 00 38 */ and r3, r18, r0
/* 801879AC 0018490C 7D E0 20 38 */ and r0, r15, r4
/* 801879B0 00184910 7C 63 22 78 */ xor r3, r3, r4
/* 801879B4 00184914 7C 00 22 78 */ xor r0, r0, r4
/* 801879B8 00184918 7C 60 03 79 */ or. r0, r3, r0
/* 801879BC 0018491C 41 82 00 0C */ beq lbl_801879C8
/* 801879C0 00184920 7F A3 EB 78 */ mr r3, r29
/* 801879C4 00184924 4B E8 97 B1 */ bl SetPlayerHitWallDuringMove__7CPlayerFv
lbl_801879C8:
/* 801879C8 00184928 88 01 08 34 */ lbz r0, 0x834(r1)
/* 801879CC 0018492C 28 00 00 00 */ cmplwi r0, 0
/* 801879D0 00184930 41 82 00 84 */ beq lbl_80187A54
/* 801879D4 00184934 38 00 00 00 */ li r0, 0
/* 801879D8 00184938 38 61 0A 4C */ addi r3, r1, 0xa4c
/* 801879DC 0018493C 90 01 0A 4C */ stw r0, 0xa4c(r1)
/* 801879E0 00184940 38 81 08 38 */ addi r4, r1, 0x838
/* 801879E4 00184944 38 A0 00 00 */ li r5, 0
/* 801879E8 00184948 4B FF DC 39 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob
/* 801879EC 0018494C 7E 03 83 78 */ mr r3, r16
/* 801879F0 00184950 7E 24 8B 78 */ mr r4, r17
/* 801879F4 00184954 38 A1 08 30 */ addi r5, r1, 0x830
/* 801879F8 00184958 38 C1 0A 4C */ addi r6, r1, 0xa4c
/* 801879FC 0018495C 4B FF B1 BD */ bl MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList
/* 80187A00 00184960 80 A1 0A 4C */ lwz r5, 0xa4c(r1)
/* 80187A04 00184964 38 60 00 00 */ li r3, 0
/* 80187A08 00184968 2C 05 00 00 */ cmpwi r5, 0
/* 80187A0C 0018496C 40 81 00 40 */ ble lbl_80187A4C
/* 80187A10 00184970 2C 05 00 08 */ cmpwi r5, 8
/* 80187A14 00184974 38 85 FF F8 */ addi r4, r5, -8
/* 80187A18 00184978 40 81 00 20 */ ble lbl_80187A38
/* 80187A1C 0018497C 38 04 00 07 */ addi r0, r4, 7
/* 80187A20 00184980 54 00 E8 FE */ srwi r0, r0, 3
/* 80187A24 00184984 7C 09 03 A6 */ mtctr r0
/* 80187A28 00184988 2C 04 00 00 */ cmpwi r4, 0
/* 80187A2C 0018498C 40 81 00 0C */ ble lbl_80187A38
lbl_80187A30:
/* 80187A30 00184990 38 63 00 08 */ addi r3, r3, 8
/* 80187A34 00184994 42 00 FF FC */ bdnz lbl_80187A30
lbl_80187A38:
/* 80187A38 00184998 7C 03 28 50 */ subf r0, r3, r5
/* 80187A3C 0018499C 7C 09 03 A6 */ mtctr r0
/* 80187A40 001849A0 7C 03 28 00 */ cmpw r3, r5
/* 80187A44 001849A4 40 80 00 08 */ bge lbl_80187A4C
lbl_80187A48:
/* 80187A48 001849A8 42 00 00 00 */ bdnz lbl_80187A48
lbl_80187A4C:
/* 80187A4C 001849AC 38 00 00 00 */ li r0, 0
/* 80187A50 001849B0 90 01 0A 4C */ stw r0, 0xa4c(r1)
lbl_80187A54:
/* 80187A54 001849B4 7E 24 8B 78 */ mr r4, r17
/* 80187A58 001849B8 38 61 02 6C */ addi r3, r1, 0x26c
/* 80187A5C 001849BC 4B F9 3C 19 */ bl GetMotionState__13CPhysicsActorCFv
/* 80187A60 001849C0 C0 01 02 6C */ lfs f0, 0x26c(r1)
/* 80187A64 001849C4 7E 23 8B 78 */ mr r3, r17
/* 80187A68 001849C8 C1 61 02 70 */ lfs f11, 0x270(r1)
/* 80187A6C 001849CC D0 01 02 A0 */ stfs f0, 0x2a0(r1)
/* 80187A70 001849D0 C0 11 01 F4 */ lfs f0, 0x1f4(r17)
/* 80187A74 001849D4 C1 41 02 74 */ lfs f10, 0x274(r1)
/* 80187A78 001849D8 D0 01 02 A0 */ stfs f0, 0x2a0(r1)
/* 80187A7C 001849DC C1 21 02 78 */ lfs f9, 0x278(r1)
/* 80187A80 001849E0 C1 01 02 7C */ lfs f8, 0x27c(r1)
/* 80187A84 001849E4 C0 E1 02 80 */ lfs f7, 0x280(r1)
/* 80187A88 001849E8 C0 C1 02 84 */ lfs f6, 0x284(r1)
/* 80187A8C 001849EC C0 A1 02 88 */ lfs f5, 0x288(r1)
/* 80187A90 001849F0 C0 81 02 8C */ lfs f4, 0x28c(r1)
/* 80187A94 001849F4 C0 61 02 90 */ lfs f3, 0x290(r1)
/* 80187A98 001849F8 C0 41 02 94 */ lfs f2, 0x294(r1)
/* 80187A9C 001849FC C0 21 02 98 */ lfs f1, 0x298(r1)
/* 80187AA0 00184A00 C0 01 02 9C */ lfs f0, 0x29c(r1)
/* 80187AA4 00184A04 D1 21 02 AC */ stfs f9, 0x2ac(r1)
/* 80187AA8 00184A08 C1 31 01 F8 */ lfs f9, 0x1f8(r17)
/* 80187AAC 00184A0C D1 61 02 A4 */ stfs f11, 0x2a4(r1)
/* 80187AB0 00184A10 C1 71 01 FC */ lfs f11, 0x1fc(r17)
/* 80187AB4 00184A14 D1 41 02 A8 */ stfs f10, 0x2a8(r1)
/* 80187AB8 00184A18 C1 51 02 10 */ lfs f10, 0x210(r17)
/* 80187ABC 00184A1C D1 21 02 A4 */ stfs f9, 0x2a4(r1)
/* 80187AC0 00184A20 C1 31 02 14 */ lfs f9, 0x214(r17)
/* 80187AC4 00184A24 D1 61 02 A8 */ stfs f11, 0x2a8(r1)
/* 80187AC8 00184A28 C1 71 02 18 */ lfs f11, 0x218(r17)
/* 80187ACC 00184A2C 80 81 02 A0 */ lwz r4, 0x2a0(r1)
/* 80187AD0 00184A30 D1 01 02 B0 */ stfs f8, 0x2b0(r1)
/* 80187AD4 00184A34 80 01 02 A4 */ lwz r0, 0x2a4(r1)
/* 80187AD8 00184A38 90 91 01 F4 */ stw r4, 0x1f4(r17)
/* 80187ADC 00184A3C 80 81 02 A8 */ lwz r4, 0x2a8(r1)
/* 80187AE0 00184A40 90 11 01 F8 */ stw r0, 0x1f8(r17)
/* 80187AE4 00184A44 80 01 02 AC */ lwz r0, 0x2ac(r1)
/* 80187AE8 00184A48 90 91 01 FC */ stw r4, 0x1fc(r17)
/* 80187AEC 00184A4C 80 A1 02 B0 */ lwz r5, 0x2b0(r1)
/* 80187AF0 00184A50 D0 E1 02 B4 */ stfs f7, 0x2b4(r1)
/* 80187AF4 00184A54 90 11 02 00 */ stw r0, 0x200(r17)
/* 80187AF8 00184A58 80 81 02 B4 */ lwz r4, 0x2b4(r1)
/* 80187AFC 00184A5C D0 C1 02 B8 */ stfs f6, 0x2b8(r1)
/* 80187B00 00184A60 D0 A1 02 BC */ stfs f5, 0x2bc(r1)
/* 80187B04 00184A64 80 01 02 B8 */ lwz r0, 0x2b8(r1)
/* 80187B08 00184A68 90 B1 02 04 */ stw r5, 0x204(r17)
/* 80187B0C 00184A6C D0 81 02 C0 */ stfs f4, 0x2c0(r1)
/* 80187B10 00184A70 D1 41 02 BC */ stfs f10, 0x2bc(r1)
/* 80187B14 00184A74 90 91 02 08 */ stw r4, 0x208(r17)
/* 80187B18 00184A78 80 81 02 BC */ lwz r4, 0x2bc(r1)
/* 80187B1C 00184A7C D0 61 02 C4 */ stfs f3, 0x2c4(r1)
/* 80187B20 00184A80 D1 21 02 C0 */ stfs f9, 0x2c0(r1)
/* 80187B24 00184A84 90 11 02 0C */ stw r0, 0x20c(r17)
/* 80187B28 00184A88 80 01 02 C0 */ lwz r0, 0x2c0(r1)
/* 80187B2C 00184A8C D1 61 02 C4 */ stfs f11, 0x2c4(r1)
/* 80187B30 00184A90 90 91 02 10 */ stw r4, 0x210(r17)
/* 80187B34 00184A94 80 81 02 C4 */ lwz r4, 0x2c4(r1)
/* 80187B38 00184A98 D0 41 02 C8 */ stfs f2, 0x2c8(r1)
/* 80187B3C 00184A9C 90 11 02 14 */ stw r0, 0x214(r17)
/* 80187B40 00184AA0 80 01 02 C8 */ lwz r0, 0x2c8(r1)
/* 80187B44 00184AA4 D0 21 02 CC */ stfs f1, 0x2cc(r1)
/* 80187B48 00184AA8 90 91 02 18 */ stw r4, 0x218(r17)
/* 80187B4C 00184AAC 80 81 02 CC */ lwz r4, 0x2cc(r1)
/* 80187B50 00184AB0 D0 01 02 D0 */ stfs f0, 0x2d0(r1)
/* 80187B54 00184AB4 90 11 02 1C */ stw r0, 0x21c(r17)
/* 80187B58 00184AB8 80 01 02 D0 */ lwz r0, 0x2d0(r1)
/* 80187B5C 00184ABC 90 91 02 20 */ stw r4, 0x220(r17)
/* 80187B60 00184AC0 90 11 02 24 */ stw r0, 0x224(r17)
/* 80187B64 00184AC4 81 91 00 00 */ lwz r12, 0(r17)
/* 80187B68 00184AC8 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80187B6C 00184ACC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187B70 00184AD0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187B74 00184AD4 81 83 00 00 */ lwz r12, 0(r3)
/* 80187B78 00184AD8 7C 6F 1B 78 */ mr r15, r3
/* 80187B7C 00184ADC 3A 41 04 84 */ addi r18, r1, 0x484
/* 80187B80 00184AE0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80187B84 00184AE4 7D EE 7B 78 */ mr r14, r15
/* 80187B88 00184AE8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187B8C 00184AEC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187B90 00184AF0 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 80187B94 00184AF4 28 00 42 58 */ cmplwi r0, 0x4258
/* 80187B98 00184AF8 40 82 00 D0 */ bne lbl_80187C68
/* 80187B9C 00184AFC 28 12 00 00 */ cmplwi r18, 0
/* 80187BA0 00184B00 7E 4E 93 78 */ mr r14, r18
/* 80187BA4 00184B04 41 82 01 44 */ beq lbl_80187CE8
/* 80187BA8 00184B08 C0 4F 00 14 */ lfs f2, 0x14(r15)
/* 80187BAC 00184B0C 7D E3 7B 78 */ mr r3, r15
/* 80187BB0 00184B10 C0 62 A3 7C */ lfs f3, lbl_805AC09C@sda21(r2)
/* 80187BB4 00184B14 C0 2F 00 18 */ lfs f1, 0x18(r15)
/* 80187BB8 00184B18 C0 0F 00 10 */ lfs f0, 0x10(r15)
/* 80187BBC 00184B1C EC 42 18 2A */ fadds f2, f2, f3
/* 80187BC0 00184B20 EC 21 18 2A */ fadds f1, f1, f3
/* 80187BC4 00184B24 EC 00 18 2A */ fadds f0, f0, f3
/* 80187BC8 00184B28 D0 41 00 AC */ stfs f2, 0xac(r1)
/* 80187BCC 00184B2C D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 80187BD0 00184B30 D0 21 00 B0 */ stfs f1, 0xb0(r1)
/* 80187BD4 00184B34 C0 4F 00 20 */ lfs f2, 0x20(r15)
/* 80187BD8 00184B38 C0 2F 00 24 */ lfs f1, 0x24(r15)
/* 80187BDC 00184B3C C0 0F 00 1C */ lfs f0, 0x1c(r15)
/* 80187BE0 00184B40 EC 42 18 28 */ fsubs f2, f2, f3
/* 80187BE4 00184B44 EC 21 18 28 */ fsubs f1, f1, f3
/* 80187BE8 00184B48 EC 00 18 28 */ fsubs f0, f0, f3
/* 80187BEC 00184B4C D0 41 00 B8 */ stfs f2, 0xb8(r1)
/* 80187BF0 00184B50 D0 01 00 B4 */ stfs f0, 0xb4(r1)
/* 80187BF4 00184B54 D0 21 00 BC */ stfs f1, 0xbc(r1)
/* 80187BF8 00184B58 81 8F 00 00 */ lwz r12, 0(r15)
/* 80187BFC 00184B5C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80187C00 00184B60 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187C04 00184B64 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187C08 00184B68 7C 6F 1B 78 */ mr r15, r3
/* 80187C0C 00184B6C 38 61 02 10 */ addi r3, r1, 0x210
/* 80187C10 00184B70 38 81 00 A8 */ addi r4, r1, 0xa8
/* 80187C14 00184B74 38 A1 00 B4 */ addi r5, r1, 0xb4
/* 80187C18 00184B78 48 1B 08 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80187C1C 00184B7C 7E 43 93 78 */ mr r3, r18
/* 80187C20 00184B80 7D E4 7B 78 */ mr r4, r15
/* 80187C24 00184B84 48 14 7C 91 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList
/* 80187C28 00184B88 C0 A1 02 10 */ lfs f5, 0x210(r1)
2022-10-05 16:28:37 +00:00
/* 80187C2C 00184B8C 3C 60 80 3F */ lis r3, __vt__16CCollidableAABox@ha
2022-04-13 08:02:06 +00:00
/* 80187C30 00184B90 C0 81 02 14 */ lfs f4, 0x214(r1)
2022-10-05 16:28:37 +00:00
/* 80187C34 00184B94 38 03 CA D0 */ addi r0, r3, __vt__16CCollidableAABox@l
2022-04-13 08:02:06 +00:00
/* 80187C38 00184B98 C0 61 02 18 */ lfs f3, 0x218(r1)
/* 80187C3C 00184B9C C0 41 02 1C */ lfs f2, 0x21c(r1)
/* 80187C40 00184BA0 C0 21 02 20 */ lfs f1, 0x220(r1)
/* 80187C44 00184BA4 C0 01 02 24 */ lfs f0, 0x224(r1)
/* 80187C48 00184BA8 90 01 04 84 */ stw r0, 0x484(r1)
/* 80187C4C 00184BAC D0 A1 04 94 */ stfs f5, 0x494(r1)
/* 80187C50 00184BB0 D0 81 04 98 */ stfs f4, 0x498(r1)
/* 80187C54 00184BB4 D0 61 04 9C */ stfs f3, 0x49c(r1)
/* 80187C58 00184BB8 D0 41 04 A0 */ stfs f2, 0x4a0(r1)
/* 80187C5C 00184BBC D0 21 04 A4 */ stfs f1, 0x4a4(r1)
/* 80187C60 00184BC0 D0 01 04 A8 */ stfs f0, 0x4a8(r1)
/* 80187C64 00184BC4 48 00 00 84 */ b lbl_80187CE8
lbl_80187C68:
/* 80187C68 00184BC8 7D E3 7B 78 */ mr r3, r15
/* 80187C6C 00184BCC 81 8F 00 00 */ lwz r12, 0(r15)
/* 80187C70 00184BD0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80187C74 00184BD4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187C78 00184BD8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187C7C 00184BDC 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 80187C80 00184BE0 28 00 48 52 */ cmplwi r0, 0x4852
/* 80187C84 00184BE4 40 82 00 64 */ bne lbl_80187CE8
/* 80187C88 00184BE8 28 12 00 00 */ cmplwi r18, 0
/* 80187C8C 00184BEC 7E 4E 93 78 */ mr r14, r18
/* 80187C90 00184BF0 41 82 00 58 */ beq lbl_80187CE8
/* 80187C94 00184BF4 7D E3 7B 78 */ mr r3, r15
/* 80187C98 00184BF8 C0 2F 00 1C */ lfs f1, 0x1c(r15)
/* 80187C9C 00184BFC 81 8F 00 00 */ lwz r12, 0(r15)
/* 80187CA0 00184C00 C0 02 A3 7C */ lfs f0, lbl_805AC09C@sda21(r2)
/* 80187CA4 00184C04 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80187CA8 00184C08 EF 01 00 28 */ fsubs f24, f1, f0
/* 80187CAC 00184C0C C2 AF 00 10 */ lfs f21, 0x10(r15)
/* 80187CB0 00184C10 C2 CF 00 14 */ lfs f22, 0x14(r15)
/* 80187CB4 00184C14 C2 EF 00 18 */ lfs f23, 0x18(r15)
/* 80187CB8 00184C18 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80187CBC 00184C1C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80187CC0 00184C20 7C 64 1B 78 */ mr r4, r3
/* 80187CC4 00184C24 7E 43 93 78 */ mr r3, r18
/* 80187CC8 00184C28 48 14 7B ED */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList
/* 80187CCC 00184C2C 3C 60 80 3F */ lis r3, __vt__17CCollidableSphere@ha
2022-04-13 08:02:06 +00:00
/* 80187CD0 00184C30 D2 A1 04 94 */ stfs f21, 0x494(r1)
/* 80187CD4 00184C34 38 03 CA F8 */ addi r0, r3, __vt__17CCollidableSphere@l
2022-04-13 08:02:06 +00:00
/* 80187CD8 00184C38 90 01 04 84 */ stw r0, 0x484(r1)
/* 80187CDC 00184C3C D2 C1 04 98 */ stfs f22, 0x498(r1)
/* 80187CE0 00184C40 D2 E1 04 9C */ stfs f23, 0x49c(r1)
/* 80187CE4 00184C44 D3 01 04 A0 */ stfs f24, 0x4a0(r1)
lbl_80187CE8:
/* 80187CE8 00184C48 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80187CEC 00184C4C 7E 03 83 78 */ mr r3, r16
/* 80187CF0 00184C50 7E 25 8B 78 */ mr r5, r17
/* 80187CF4 00184C54 7D C6 73 78 */ mr r6, r14
/* 80187CF8 00184C58 38 81 16 50 */ addi r4, r1, 0x1650
/* 80187CFC 00184C5C 38 E1 31 94 */ addi r7, r1, 0x3194
/* 80187D00 00184C60 39 00 00 01 */ li r8, 1
/* 80187D04 00184C64 4B FF 8B 89 */ bl "CollisionFailsafe__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheR13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>fUi"
/* 80187D08 00184C68 38 60 00 00 */ li r3, 0
/* 80187D0C 00184C6C 34 E1 16 68 */ addic. r7, r1, 0x1668
/* 80187D10 00184C70 98 61 08 98 */ stb r3, 0x898(r1)
/* 80187D14 00184C74 98 61 08 34 */ stb r3, 0x834(r1)
/* 80187D18 00184C78 41 82 00 90 */ beq lbl_80187DA8
/* 80187D1C 00184C7C 38 C7 00 04 */ addi r6, r7, 4
/* 80187D20 00184C80 48 00 00 74 */ b lbl_80187D94
lbl_80187D24:
/* 80187D24 00184C84 28 06 00 00 */ cmplwi r6, 0
/* 80187D28 00184C88 41 82 00 64 */ beq lbl_80187D8C
/* 80187D2C 00184C8C 34 06 00 04 */ addic. r0, r6, 4
/* 80187D30 00184C90 41 82 00 5C */ beq lbl_80187D8C
/* 80187D34 00184C94 81 06 00 04 */ lwz r8, 4(r6)
/* 80187D38 00184C98 38 80 00 00 */ li r4, 0
/* 80187D3C 00184C9C 2C 08 00 00 */ cmpwi r8, 0
/* 80187D40 00184CA0 40 81 00 44 */ ble lbl_80187D84
/* 80187D44 00184CA4 2C 08 00 08 */ cmpwi r8, 8
/* 80187D48 00184CA8 38 A8 FF F8 */ addi r5, r8, -8
/* 80187D4C 00184CAC 40 81 00 20 */ ble lbl_80187D6C
/* 80187D50 00184CB0 38 05 00 07 */ addi r0, r5, 7
/* 80187D54 00184CB4 54 00 E8 FE */ srwi r0, r0, 3
/* 80187D58 00184CB8 7C 09 03 A6 */ mtctr r0
/* 80187D5C 00184CBC 2C 05 00 00 */ cmpwi r5, 0
/* 80187D60 00184CC0 40 81 00 0C */ ble lbl_80187D6C
lbl_80187D64:
/* 80187D64 00184CC4 38 84 00 08 */ addi r4, r4, 8
/* 80187D68 00184CC8 42 00 FF FC */ bdnz lbl_80187D64
lbl_80187D6C:
/* 80187D6C 00184CCC 7C 04 40 50 */ subf r0, r4, r8
/* 80187D70 00184CD0 7C 09 03 A6 */ mtctr r0
/* 80187D74 00184CD4 7C 04 40 00 */ cmpw r4, r8
/* 80187D78 00184CD8 40 80 00 0C */ bge lbl_80187D84
lbl_80187D7C:
/* 80187D7C 00184CDC 38 84 00 01 */ addi r4, r4, 1
/* 80187D80 00184CE0 42 00 FF FC */ bdnz lbl_80187D7C
lbl_80187D84:
/* 80187D84 00184CE4 38 00 00 00 */ li r0, 0
/* 80187D88 00184CE8 90 06 00 04 */ stw r0, 4(r6)
lbl_80187D8C:
/* 80187D8C 00184CEC 38 C6 09 0C */ addi r6, r6, 0x90c
/* 80187D90 00184CF0 38 63 00 01 */ addi r3, r3, 1
lbl_80187D94:
/* 80187D94 00184CF4 80 07 00 00 */ lwz r0, 0(r7)
/* 80187D98 00184CF8 7C 03 00 00 */ cmpw r3, r0
/* 80187D9C 00184CFC 41 80 FF 88 */ blt lbl_80187D24
/* 80187DA0 00184D00 38 00 00 00 */ li r0, 0
/* 80187DA4 00184D04 90 07 00 00 */ stw r0, 0(r7)
lbl_80187DA8:
/* 80187DA8 00184D08 80 A1 31 94 */ lwz r5, 0x3194(r1)
/* 80187DAC 00184D0C 38 60 00 00 */ li r3, 0
/* 80187DB0 00184D10 2C 05 00 00 */ cmpwi r5, 0
/* 80187DB4 00184D14 40 81 00 40 */ ble lbl_80187DF4
/* 80187DB8 00184D18 2C 05 00 08 */ cmpwi r5, 8
/* 80187DBC 00184D1C 38 85 FF F8 */ addi r4, r5, -8
/* 80187DC0 00184D20 40 81 00 20 */ ble lbl_80187DE0
/* 80187DC4 00184D24 38 04 00 07 */ addi r0, r4, 7
/* 80187DC8 00184D28 54 00 E8 FE */ srwi r0, r0, 3
/* 80187DCC 00184D2C 7C 09 03 A6 */ mtctr r0
/* 80187DD0 00184D30 2C 04 00 00 */ cmpwi r4, 0
/* 80187DD4 00184D34 40 81 00 0C */ ble lbl_80187DE0
lbl_80187DD8:
/* 80187DD8 00184D38 38 63 00 08 */ addi r3, r3, 8
/* 80187DDC 00184D3C 42 00 FF FC */ bdnz lbl_80187DD8
lbl_80187DE0:
/* 80187DE0 00184D40 7C 03 28 50 */ subf r0, r3, r5
/* 80187DE4 00184D44 7C 09 03 A6 */ mtctr r0
/* 80187DE8 00184D48 7C 03 28 00 */ cmpw r3, r5
/* 80187DEC 00184D4C 40 80 00 08 */ bge lbl_80187DF4
lbl_80187DF0:
/* 80187DF0 00184D50 42 00 00 00 */ bdnz lbl_80187DF0
lbl_80187DF4:
/* 80187DF4 00184D54 38 00 00 00 */ li r0, 0
/* 80187DF8 00184D58 90 01 31 94 */ stw r0, 0x3194(r1)
/* 80187DFC 00184D5C 38 00 3A 98 */ li r0, 0x3a98
/* 80187E00 00184D60 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0
/* 80187E04 00184D64 CB E1 3A 90 */ lfd f31, 0x3a90(r1)
/* 80187E08 00184D68 38 00 3A 88 */ li r0, 0x3a88
/* 80187E0C 00184D6C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0
/* 80187E10 00184D70 CB C1 3A 80 */ lfd f30, 0x3a80(r1)
/* 80187E14 00184D74 38 00 3A 78 */ li r0, 0x3a78
/* 80187E18 00184D78 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0
/* 80187E1C 00184D7C CB A1 3A 70 */ lfd f29, 0x3a70(r1)
/* 80187E20 00184D80 38 00 3A 68 */ li r0, 0x3a68
/* 80187E24 00184D84 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0
/* 80187E28 00184D88 CB 81 3A 60 */ lfd f28, 0x3a60(r1)
/* 80187E2C 00184D8C 38 00 3A 58 */ li r0, 0x3a58
/* 80187E30 00184D90 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0
/* 80187E34 00184D94 CB 61 3A 50 */ lfd f27, 0x3a50(r1)
/* 80187E38 00184D98 38 00 3A 48 */ li r0, 0x3a48
/* 80187E3C 00184D9C 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0
/* 80187E40 00184DA0 CB 41 3A 40 */ lfd f26, 0x3a40(r1)
/* 80187E44 00184DA4 38 00 3A 38 */ li r0, 0x3a38
/* 80187E48 00184DA8 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0
/* 80187E4C 00184DAC CB 21 3A 30 */ lfd f25, 0x3a30(r1)
/* 80187E50 00184DB0 38 00 3A 28 */ li r0, 0x3a28
/* 80187E54 00184DB4 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0
/* 80187E58 00184DB8 CB 01 3A 20 */ lfd f24, 0x3a20(r1)
/* 80187E5C 00184DBC 38 00 3A 18 */ li r0, 0x3a18
/* 80187E60 00184DC0 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0
/* 80187E64 00184DC4 CA E1 3A 10 */ lfd f23, 0x3a10(r1)
/* 80187E68 00184DC8 38 00 3A 08 */ li r0, 0x3a08
/* 80187E6C 00184DCC 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0
/* 80187E70 00184DD0 CA C1 3A 00 */ lfd f22, 0x3a00(r1)
/* 80187E74 00184DD4 38 00 39 F8 */ li r0, 0x39f8
/* 80187E78 00184DD8 12 A1 00 0C */ psq_lx f21, r1, r0, 0, qr0
/* 80187E7C 00184DDC CA A1 39 F0 */ lfd f21, 0x39f0(r1)
/* 80187E80 00184DE0 B9 C1 39 A8 */ lmw r14, 0x39a8(r1)
/* 80187E84 00184DE4 80 01 3A A4 */ lwz r0, 0x3aa4(r1)
/* 80187E88 00184DE8 7C 08 03 A6 */ mtlr r0
/* 80187E8C 00184DEC 38 21 3A A0 */ addi r1, r1, 0x3aa0
2022-07-14 05:48:03 +00:00
/* 80187E90 00184DF0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80187e94
sub_80187e94:
/* 80187E94 00184DF4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80187E98 00184DF8 7C 08 02 A6 */ mflr r0
/* 80187E9C 00184DFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80187EA0 00184E00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80187EA4 00184E04 7C 7F 1B 78 */ mr r31, r3
/* 80187EA8 00184E08 80 03 00 00 */ lwz r0, 0(r3)
/* 80187EAC 00184E0C 1C 00 00 60 */ mulli r0, r0, 0x60
/* 80187EB0 00184E10 7C 7F 02 14 */ add r3, r31, r0
/* 80187EB4 00184E14 38 63 00 04 */ addi r3, r3, 4
/* 80187EB8 00184E18 4B FF E5 65 */ bl sub_8018641c
/* 80187EBC 00184E1C 80 7F 00 00 */ lwz r3, 0(r31)
/* 80187EC0 00184E20 38 03 00 01 */ addi r0, r3, 1
/* 80187EC4 00184E24 90 1F 00 00 */ stw r0, 0(r31)
/* 80187EC8 00184E28 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80187ECC 00184E2C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80187ED0 00184E30 7C 08 03 A6 */ mtlr r0
/* 80187ED4 00184E34 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80187ED8 00184E38 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80187edc
sub_80187edc:
/* 80187EDC 00184E3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80187EE0 00184E40 7C 08 02 A6 */ mflr r0
/* 80187EE4 00184E44 90 01 00 14 */ stw r0, 0x14(r1)
/* 80187EE8 00184E48 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80187EEC 00184E4C 7C 7F 1B 78 */ mr r31, r3
/* 80187EF0 00184E50 80 03 00 00 */ lwz r0, 0(r3)
/* 80187EF4 00184E54 1C 00 00 70 */ mulli r0, r0, 0x70
/* 80187EF8 00184E58 7C 7F 02 14 */ add r3, r31, r0
/* 80187EFC 00184E5C 38 63 00 04 */ addi r3, r3, 4
/* 80187F00 00184E60 48 00 00 25 */ bl sub_80187f24
/* 80187F04 00184E64 80 7F 00 00 */ lwz r3, 0(r31)
/* 80187F08 00184E68 38 03 00 01 */ addi r0, r3, 1
/* 80187F0C 00184E6C 90 1F 00 00 */ stw r0, 0(r31)
/* 80187F10 00184E70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80187F14 00184E74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80187F18 00184E78 7C 08 03 A6 */ mtlr r0
/* 80187F1C 00184E7C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80187F20 00184E80 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80187f24
sub_80187f24:
/* 80187F24 00184E84 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80187F28 00184E88 7C 08 02 A6 */ mflr r0
/* 80187F2C 00184E8C 28 03 00 00 */ cmplwi r3, 0
/* 80187F30 00184E90 90 01 00 14 */ stw r0, 0x14(r1)
/* 80187F34 00184E94 41 82 00 08 */ beq lbl_80187F3C
/* 80187F38 00184E98 4B F2 B5 89 */ bl __ct__13CPhysicsStateFRC13CPhysicsState
lbl_80187F3C:
/* 80187F3C 00184E9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80187F40 00184EA0 7C 08 03 A6 */ mtlr r0
/* 80187F44 00184EA4 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80187F48 00184EA8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global __ct__Q215CGroundMovement16SMovementOptionsFRCQ215CGroundMovement16SMovementOptions
__ct__Q215CGroundMovement16SMovementOptionsFRCQ215CGroundMovement16SMovementOptions:
/* 80187F4C 00184EAC 88 04 00 00 */ lbz r0, 0(r4)
/* 80187F50 00184EB0 98 03 00 00 */ stb r0, 0(r3)
/* 80187F54 00184EB4 C0 04 00 04 */ lfs f0, 4(r4)
/* 80187F58 00184EB8 D0 03 00 04 */ stfs f0, 4(r3)
/* 80187F5C 00184EBC C0 04 00 08 */ lfs f0, 8(r4)
/* 80187F60 00184EC0 D0 03 00 08 */ stfs f0, 8(r3)
/* 80187F64 00184EC4 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80187F68 00184EC8 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80187F6C 00184ECC C0 04 00 10 */ lfs f0, 0x10(r4)
/* 80187F70 00184ED0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80187F74 00184ED4 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80187F78 00184ED8 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80187F7C 00184EDC 88 04 00 18 */ lbz r0, 0x18(r4)
/* 80187F80 00184EE0 98 03 00 18 */ stb r0, 0x18(r3)
/* 80187F84 00184EE4 88 04 00 19 */ lbz r0, 0x19(r4)
/* 80187F88 00184EE8 98 03 00 19 */ stb r0, 0x19(r3)
/* 80187F8C 00184EEC 88 04 00 1A */ lbz r0, 0x1a(r4)
/* 80187F90 00184EF0 98 03 00 1A */ stb r0, 0x1a(r3)
/* 80187F94 00184EF4 80 04 00 1C */ lwz r0, 0x1c(r4)
/* 80187F98 00184EF8 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80187F9C 00184EFC C0 04 00 20 */ lfs f0, 0x20(r4)
/* 80187FA0 00184F00 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 80187FA4 00184F04 C0 04 00 24 */ lfs f0, 0x24(r4)
/* 80187FA8 00184F08 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80187FAC 00184F0C C0 04 00 28 */ lfs f0, 0x28(r4)
/* 80187FB0 00184F10 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80187FB4 00184F14 C0 04 00 2C */ lfs f0, 0x2c(r4)
/* 80187FB8 00184F18 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80187FBC 00184F1C C0 04 00 30 */ lfs f0, 0x30(r4)
/* 80187FC0 00184F20 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80187FC4 00184F24 C0 04 00 34 */ lfs f0, 0x34(r4)
/* 80187FC8 00184F28 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80187FCC 00184F2C C0 04 00 38 */ lfs f0, 0x38(r4)
/* 80187FD0 00184F30 D0 03 00 38 */ stfs f0, 0x38(r3)
/* 80187FD4 00184F34 88 04 00 48 */ lbz r0, 0x48(r4)
/* 80187FD8 00184F38 98 03 00 48 */ stb r0, 0x48(r3)
/* 80187FDC 00184F3C 88 04 00 48 */ lbz r0, 0x48(r4)
/* 80187FE0 00184F40 28 00 00 00 */ cmplwi r0, 0
2022-07-14 05:48:03 +00:00
/* 80187FE4 00184F44 4D 82 00 20 */ beqlr
2022-04-13 08:02:06 +00:00
/* 80187FE8 00184F48 34 A3 00 3C */ addic. r5, r3, 0x3c
2022-07-14 05:48:03 +00:00
/* 80187FEC 00184F4C 4D 82 00 20 */ beqlr
2022-04-13 08:02:06 +00:00
/* 80187FF0 00184F50 C0 04 00 3C */ lfs f0, 0x3c(r4)
/* 80187FF4 00184F54 D0 05 00 00 */ stfs f0, 0(r5)
/* 80187FF8 00184F58 C0 04 00 40 */ lfs f0, 0x40(r4)
/* 80187FFC 00184F5C D0 05 00 04 */ stfs f0, 4(r5)
/* 80188000 00184F60 C0 04 00 44 */ lfs f0, 0x44(r4)
/* 80188004 00184F64 D0 05 00 08 */ stfs f0, 8(r5)
2022-07-14 05:48:03 +00:00
/* 80188008 00184F68 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CollisionDamping__15CGroundMovementFRC9CVector3fRC9CVector3fRC9CVector3fff
CollisionDamping__15CGroundMovementFRC9CVector3fRC9CVector3fRC9CVector3fff:
/* 8018800C 00184F6C 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80188010 00184F70 7C 08 02 A6 */ mflr r0
/* 80188014 00184F74 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80188018 00184F78 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 8018801C 00184F7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 80188020 00184F80 DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 80188024 00184F84 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0
/* 80188028 00184F88 DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 8018802C 00184F8C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0
/* 80188030 00184F90 DB 81 00 A0 */ stfd f28, 0xa0(r1)
/* 80188034 00184F94 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0
/* 80188038 00184F98 DB 61 00 90 */ stfd f27, 0x90(r1)
/* 8018803C 00184F9C F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0
/* 80188040 00184FA0 DB 41 00 80 */ stfd f26, 0x80(r1)
/* 80188044 00184FA4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0
/* 80188048 00184FA8 DB 21 00 70 */ stfd f25, 0x70(r1)
/* 8018804C 00184FAC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0
/* 80188050 00184FB0 DB 01 00 60 */ stfd f24, 0x60(r1)
/* 80188054 00184FB4 F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0
/* 80188058 00184FB8 DA E1 00 50 */ stfd f23, 0x50(r1)
/* 8018805C 00184FBC F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0
/* 80188060 00184FC0 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80188064 00184FC4 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80188068 00184FC8 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8018806C 00184FCC 7C DF 33 78 */ mr r31, r6
/* 80188070 00184FD0 7C 7D 1B 78 */ mr r29, r3
/* 80188074 00184FD4 C0 86 00 04 */ lfs f4, 4(r6)
/* 80188078 00184FD8 7C 9E 23 78 */ mr r30, r4
/* 8018807C 00184FDC C0 E5 00 04 */ lfs f7, 4(r5)
/* 80188080 00184FE0 FF C0 08 90 */ fmr f30, f1
/* 80188084 00184FE4 C0 02 A3 80 */ lfs f0, lbl_805AC0A0@sda21(r2)
/* 80188088 00184FE8 FF E0 10 90 */ fmr f31, f2
/* 8018808C 00184FEC C0 66 00 00 */ lfs f3, 0(r6)
/* 80188090 00184FF0 EC 24 01 F2 */ fmuls f1, f4, f7
/* 80188094 00184FF4 C0 C5 00 00 */ lfs f6, 0(r5)
/* 80188098 00184FF8 C0 A6 00 08 */ lfs f5, 8(r6)
/* 8018809C 00184FFC EC 40 00 F2 */ fmuls f2, f0, f3
/* 801880A0 00185000 EC 63 09 BA */ fmadds f3, f3, f6, f1
/* 801880A4 00185004 C1 05 00 08 */ lfs f8, 8(r5)
/* 801880A8 00185008 EC 20 01 32 */ fmuls f1, f0, f4
/* 801880AC 0018500C 38 61 00 2C */ addi r3, r1, 0x2c
/* 801880B0 00185010 EC 00 01 72 */ fmuls f0, f0, f5
/* 801880B4 00185014 EC A5 1A 3A */ fmadds f5, f5, f8, f3
/* 801880B8 00185018 D0 41 00 08 */ stfs f2, 8(r1)
/* 801880BC 0018501C 38 81 00 20 */ addi r4, r1, 0x20
/* 801880C0 00185020 EC 85 00 72 */ fmuls f4, f5, f1
/* 801880C4 00185024 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801880C8 00185028 EC 65 00 32 */ fmuls f3, f5, f0
/* 801880CC 0018502C EC 25 00 B2 */ fmuls f1, f5, f2
/* 801880D0 00185030 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 801880D4 00185034 EC A7 20 2A */ fadds f5, f7, f4
/* 801880D8 00185038 EC 48 18 2A */ fadds f2, f8, f3
/* 801880DC 0018503C D0 81 00 18 */ stfs f4, 0x18(r1)
/* 801880E0 00185040 EC 06 08 2A */ fadds f0, f6, f1
/* 801880E4 00185044 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 801880E8 00185048 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 801880EC 0018504C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 801880F0 00185050 D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 801880F4 00185054 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 801880F8 00185058 48 18 C7 59 */ bl AsNormalized__9CVector3fCFv
/* 801880FC 0018505C C3 21 00 30 */ lfs f25, 0x30(r1)
/* 80188100 00185060 7F C3 F3 78 */ mr r3, r30
/* 80188104 00185064 C0 5F 00 04 */ lfs f2, 4(r31)
/* 80188108 00185068 C0 3F 00 00 */ lfs f1, 0(r31)
/* 8018810C 0018506C EC 02 06 72 */ fmuls f0, f2, f25
/* 80188110 00185070 C2 E1 00 2C */ lfs f23, 0x2c(r1)
/* 80188114 00185074 C3 01 00 34 */ lfs f24, 0x34(r1)
/* 80188118 00185078 C0 7F 00 08 */ lfs f3, 8(r31)
/* 8018811C 0018507C EC 01 05 FA */ fmadds f0, f1, f23, f0
/* 80188120 00185080 EC 03 06 3A */ fmadds f0, f3, f24, f0
/* 80188124 00185084 EF 40 00 72 */ fmuls f26, f0, f1
/* 80188128 00185088 EF 60 00 B2 */ fmuls f27, f0, f2
/* 8018812C 0018508C EF 80 00 F2 */ fmuls f28, f0, f3
/* 80188130 00185090 48 18 C7 89 */ bl Magnitude__9CVector3fCFv
/* 80188134 00185094 FF A0 08 90 */ fmr f29, f1
/* 80188138 00185098 7F C3 F3 78 */ mr r3, r30
/* 8018813C 0018509C 48 18 C7 7D */ bl Magnitude__9CVector3fCFv
/* 80188140 001850A0 EC 17 D0 28 */ fsubs f0, f23, f26
/* 80188144 001850A4 EC 59 D8 28 */ fsubs f2, f25, f27
/* 80188148 001850A8 EC A1 06 B2 */ fmuls f5, f1, f26
/* 8018814C 001850AC EC 9D 00 32 */ fmuls f4, f29, f0
/* 80188150 001850B0 EC 18 E0 28 */ fsubs f0, f24, f28
/* 80188154 001850B4 EC 61 06 F2 */ fmuls f3, f1, f27
/* 80188158 001850B8 EC 5D 00 B2 */ fmuls f2, f29, f2
/* 8018815C 001850BC EC 21 07 32 */ fmuls f1, f1, f28
/* 80188160 001850C0 EC 1D 00 32 */ fmuls f0, f29, f0
/* 80188164 001850C4 EC BE 01 72 */ fmuls f5, f30, f5
/* 80188168 001850C8 EC 9F 01 32 */ fmuls f4, f31, f4
/* 8018816C 001850CC EC 7E 00 F2 */ fmuls f3, f30, f3
/* 80188170 001850D0 EC 5F 00 B2 */ fmuls f2, f31, f2
/* 80188174 001850D4 EC 85 20 2A */ fadds f4, f5, f4
/* 80188178 001850D8 EC 3E 00 72 */ fmuls f1, f30, f1
/* 8018817C 001850DC EC 1F 00 32 */ fmuls f0, f31, f0
/* 80188180 001850E0 EC 43 10 2A */ fadds f2, f3, f2
/* 80188184 001850E4 D0 9D 00 00 */ stfs f4, 0(r29)
/* 80188188 001850E8 EC 01 00 2A */ fadds f0, f1, f0
/* 8018818C 001850EC D0 5D 00 04 */ stfs f2, 4(r29)
/* 80188190 001850F0 D0 1D 00 08 */ stfs f0, 8(r29)
/* 80188194 001850F4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 80188198 001850F8 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 8018819C 001850FC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0
/* 801881A0 00185100 CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 801881A4 00185104 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0
/* 801881A8 00185108 CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 801881AC 0018510C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0
/* 801881B0 00185110 CB 81 00 A0 */ lfd f28, 0xa0(r1)
/* 801881B4 00185114 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0
/* 801881B8 00185118 CB 61 00 90 */ lfd f27, 0x90(r1)
/* 801881BC 0018511C E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0
/* 801881C0 00185120 CB 41 00 80 */ lfd f26, 0x80(r1)
/* 801881C4 00185124 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0
/* 801881C8 00185128 CB 21 00 70 */ lfd f25, 0x70(r1)
/* 801881CC 0018512C E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0
/* 801881D0 00185130 CB 01 00 60 */ lfd f24, 0x60(r1)
/* 801881D4 00185134 E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0
/* 801881D8 00185138 CA E1 00 50 */ lfd f23, 0x50(r1)
/* 801881DC 0018513C 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 801881E0 00185140 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 801881E4 00185144 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 801881E8 00185148 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 801881EC 0018514C 7C 08 03 A6 */ mtlr r0
/* 801881F0 00185150 38 21 00 E0 */ addi r1, r1, 0xe0
2022-07-14 05:48:03 +00:00
/* 801881F4 00185154 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MoveGroundColliderXY__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>f"
"MoveGroundColliderXY__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>f":
/* 801881F8 00185158 94 21 D8 E0 */ stwu r1, -0x2720(r1)
/* 801881FC 0018515C 7C 08 02 A6 */ mflr r0
/* 80188200 00185160 90 01 27 24 */ stw r0, 0x2724(r1)
/* 80188204 00185164 38 00 27 18 */ li r0, 0x2718
/* 80188208 00185168 DB E1 27 10 */ stfd f31, 0x2710(r1)
/* 8018820C 0018516C 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0
/* 80188210 00185170 38 00 27 08 */ li r0, 0x2708
/* 80188214 00185174 DB C1 27 00 */ stfd f30, 0x2700(r1)
/* 80188218 00185178 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0
/* 8018821C 0018517C 38 00 26 F8 */ li r0, 0x26f8
/* 80188220 00185180 DB A1 26 F0 */ stfd f29, 0x26f0(r1)
/* 80188224 00185184 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0
/* 80188228 00185188 BE 01 26 B0 */ stmw r16, 0x26b0(r1)
/* 8018822C 0018518C 7C BE 2B 78 */ mr r30, r5
/* 80188230 00185190 80 A5 00 6C */ lwz r5, 0x6c(r5)
/* 80188234 00185194 80 1E 00 68 */ lwz r0, 0x68(r30)
/* 80188238 00185198 39 00 00 00 */ li r8, 0
/* 8018823C 0018519C 3B 40 00 01 */ li r26, 1
/* 80188240 001851A0 7C 7C 1B 78 */ mr r28, r3
/* 80188244 001851A4 7C A5 40 38 */ and r5, r5, r8
/* 80188248 001851A8 FF E0 08 90 */ fmr f31, f1
/* 8018824C 001851AC 7C 00 D0 38 */ and r0, r0, r26
/* 80188250 001851B0 7C 9D 23 78 */ mr r29, r4
/* 80188254 001851B4 7C A3 42 78 */ xor r3, r5, r8
/* 80188258 001851B8 7C D6 33 78 */ mr r22, r6
/* 8018825C 001851BC 7C 00 42 78 */ xor r0, r0, r8
/* 80188260 001851C0 7C 60 03 79 */ or. r0, r3, r0
/* 80188264 001851C4 7C F5 3B 78 */ mr r21, r7
/* 80188268 001851C8 3A 80 00 00 */ li r20, 0
/* 8018826C 001851CC 41 82 00 08 */ beq lbl_80188274
/* 80188270 001851D0 48 00 00 08 */ b lbl_80188278
lbl_80188274:
/* 80188274 001851D4 7D 1A 43 78 */ mr r26, r8
lbl_80188278:
/* 80188278 001851D8 7F C4 F3 78 */ mr r4, r30
/* 8018827C 001851DC 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 80188280 001851E0 4B F9 33 F5 */ bl GetMotionState__13CPhysicsActorCFv
/* 80188284 001851E4 C1 81 01 A4 */ lfs f12, 0x1a4(r1)
/* 80188288 001851E8 38 60 00 00 */ li r3, 0
/* 8018828C 001851EC C1 61 01 A8 */ lfs f11, 0x1a8(r1)
/* 80188290 001851F0 C1 41 01 AC */ lfs f10, 0x1ac(r1)
/* 80188294 001851F4 C1 21 01 B0 */ lfs f9, 0x1b0(r1)
/* 80188298 001851F8 C1 01 01 B4 */ lfs f8, 0x1b4(r1)
/* 8018829C 001851FC C0 E1 01 B8 */ lfs f7, 0x1b8(r1)
/* 801882A0 00185200 C0 C1 01 BC */ lfs f6, 0x1bc(r1)
/* 801882A4 00185204 C0 A1 01 C0 */ lfs f5, 0x1c0(r1)
/* 801882A8 00185208 C0 81 01 C4 */ lfs f4, 0x1c4(r1)
/* 801882AC 0018520C C0 61 01 C8 */ lfs f3, 0x1c8(r1)
/* 801882B0 00185210 C0 41 01 CC */ lfs f2, 0x1cc(r1)
/* 801882B4 00185214 C0 21 01 D0 */ lfs f1, 0x1d0(r1)
/* 801882B8 00185218 C0 01 01 D4 */ lfs f0, 0x1d4(r1)
/* 801882BC 0018521C D1 81 02 0C */ stfs f12, 0x20c(r1)
/* 801882C0 00185220 D1 61 02 10 */ stfs f11, 0x210(r1)
/* 801882C4 00185224 D1 41 02 14 */ stfs f10, 0x214(r1)
/* 801882C8 00185228 D1 21 02 18 */ stfs f9, 0x218(r1)
/* 801882CC 0018522C D1 01 02 1C */ stfs f8, 0x21c(r1)
/* 801882D0 00185230 D0 E1 02 20 */ stfs f7, 0x220(r1)
/* 801882D4 00185234 D0 C1 02 24 */ stfs f6, 0x224(r1)
/* 801882D8 00185238 D0 A1 02 28 */ stfs f5, 0x228(r1)
/* 801882DC 0018523C D0 81 02 2C */ stfs f4, 0x22c(r1)
/* 801882E0 00185240 D0 61 02 30 */ stfs f3, 0x230(r1)
/* 801882E4 00185244 D0 41 02 34 */ stfs f2, 0x234(r1)
/* 801882E8 00185248 D0 21 02 38 */ stfs f1, 0x238(r1)
/* 801882EC 0018524C D0 01 02 3C */ stfs f0, 0x23c(r1)
/* 801882F0 00185250 4B F2 C2 09 */ bl IsUser__Fi
/* 801882F4 00185254 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801882F8 00185258 41 82 00 20 */ beq lbl_80188318
/* 801882FC 0018525C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80188300 00185260 7F C3 F3 78 */ mr r3, r30
/* 80188304 00185264 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80188308 00185268 4B F9 27 31 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 8018830C 0018526C 7F C3 F3 78 */ mr r3, r30
/* 80188310 00185270 38 81 02 0C */ addi r4, r1, 0x20c
/* 80188314 00185274 4B F9 34 15 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
lbl_80188318:
/* 80188318 00185278 88 0D A4 6C */ lbz r0, lbl_805A902C@sda21(r13)
/* 8018831C 0018527C 7C 00 07 75 */ extsb. r0, r0
/* 80188320 00185280 40 82 00 14 */ bne lbl_80188334
/* 80188324 00185284 38 60 00 00 */ li r3, 0
/* 80188328 00185288 38 00 00 01 */ li r0, 1
/* 8018832C 0018528C 90 6D A4 68 */ stw r3, lbl_805A9028@sda21(r13)
/* 80188330 00185290 98 0D A4 6C */ stb r0, lbl_805A902C@sda21(r13)
lbl_80188334:
/* 80188334 00185294 88 0D A4 74 */ lbz r0, lbl_805A9034@sda21(r13)
/* 80188338 00185298 7C 00 07 75 */ extsb. r0, r0
/* 8018833C 0018529C 40 82 00 14 */ bne lbl_80188350
/* 80188340 001852A0 38 60 00 00 */ li r3, 0
/* 80188344 001852A4 38 00 00 01 */ li r0, 1
/* 80188348 001852A8 90 6D A4 70 */ stw r3, lbl_805A9030@sda21(r13)
/* 8018834C 001852AC 98 0D A4 74 */ stb r0, lbl_805A9034@sda21(r13)
lbl_80188350:
/* 80188350 001852B0 88 0D A4 7C */ lbz r0, lbl_805A903C@sda21(r13)
/* 80188354 001852B4 7C 00 07 75 */ extsb. r0, r0
/* 80188358 001852B8 40 82 00 10 */ bne lbl_80188368
/* 8018835C 001852BC 38 00 00 01 */ li r0, 1
/* 80188360 001852C0 90 0D A4 78 */ stw r0, lbl_805A9038@sda21(r13)
/* 80188364 001852C4 98 0D A4 7C */ stb r0, lbl_805A903C@sda21(r13)
lbl_80188368:
/* 80188368 001852C8 38 00 00 00 */ li r0, 0
/* 8018836C 001852CC FC 20 F8 90 */ fmr f1, f31
/* 80188370 001852D0 D3 E1 00 28 */ stfs f31, 0x28(r1)
/* 80188374 001852D4 7F C4 F3 78 */ mr r4, r30
/* 80188378 001852D8 38 61 01 70 */ addi r3, r1, 0x170
/* 8018837C 001852DC 3B E0 00 00 */ li r31, 0
/* 80188380 001852E0 D3 E1 00 24 */ stfs f31, 0x24(r1)
/* 80188384 001852E4 3A E0 00 00 */ li r23, 0
/* 80188388 001852E8 90 01 1A A8 */ stw r0, 0x1aa8(r1)
/* 8018838C 001852EC 4B F9 34 7D */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80188390 001852F0 C1 81 01 70 */ lfs f12, 0x170(r1)
/* 80188394 001852F4 38 61 01 D8 */ addi r3, r1, 0x1d8
/* 80188398 001852F8 C1 61 01 74 */ lfs f11, 0x174(r1)
/* 8018839C 001852FC C1 41 01 78 */ lfs f10, 0x178(r1)
/* 801883A0 00185300 C1 21 01 7C */ lfs f9, 0x17c(r1)
/* 801883A4 00185304 C1 01 01 80 */ lfs f8, 0x180(r1)
/* 801883A8 00185308 C0 E1 01 84 */ lfs f7, 0x184(r1)
/* 801883AC 0018530C C0 C1 01 88 */ lfs f6, 0x188(r1)
/* 801883B0 00185310 C0 A1 01 8C */ lfs f5, 0x18c(r1)
/* 801883B4 00185314 C0 81 01 90 */ lfs f4, 0x190(r1)
/* 801883B8 00185318 C0 61 01 94 */ lfs f3, 0x194(r1)
/* 801883BC 0018531C C0 41 01 98 */ lfs f2, 0x198(r1)
/* 801883C0 00185320 C0 21 01 9C */ lfs f1, 0x19c(r1)
/* 801883C4 00185324 C0 01 01 A0 */ lfs f0, 0x1a0(r1)
/* 801883C8 00185328 D1 81 01 D8 */ stfs f12, 0x1d8(r1)
/* 801883CC 0018532C D1 61 01 DC */ stfs f11, 0x1dc(r1)
/* 801883D0 00185330 D1 41 01 E0 */ stfs f10, 0x1e0(r1)
/* 801883D4 00185334 D1 21 01 E4 */ stfs f9, 0x1e4(r1)
/* 801883D8 00185338 D1 01 01 E8 */ stfs f8, 0x1e8(r1)
/* 801883DC 0018533C D0 E1 01 EC */ stfs f7, 0x1ec(r1)
/* 801883E0 00185340 D0 C1 01 F0 */ stfs f6, 0x1f0(r1)
/* 801883E4 00185344 D0 A1 01 F4 */ stfs f5, 0x1f4(r1)
/* 801883E8 00185348 D0 81 01 F8 */ stfs f4, 0x1f8(r1)
/* 801883EC 0018534C D0 61 01 FC */ stfs f3, 0x1fc(r1)
/* 801883F0 00185350 D0 41 02 00 */ stfs f2, 0x200(r1)
/* 801883F4 00185354 D0 21 02 04 */ stfs f1, 0x204(r1)
/* 801883F8 00185358 D0 01 02 08 */ stfs f0, 0x208(r1)
/* 801883FC 0018535C 48 18 C4 BD */ bl Magnitude__9CVector3fCFv
/* 80188400 00185360 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 80188404 00185364 FF A0 08 90 */ fmr f29, f1
/* 80188408 00185368 41 82 00 30 */ beq lbl_80188438
/* 8018840C 0018536C C0 22 A3 64 */ lfs f1, lbl_805AC084@sda21(r2)
/* 80188410 00185370 C0 0D 8E B0 */ lfs f0, lbl_805A7A70@sda21(r13)
/* 80188414 00185374 EC 3D 08 24 */ fdivs f1, f29, f1
/* 80188418 00185378 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018841C 0018537C D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80188420 00185380 40 80 00 0C */ bge lbl_8018842C
/* 80188424 00185384 38 6D 8E B0 */ addi r3, r13, lbl_805A7A70@sda21
/* 80188428 00185388 48 00 00 08 */ b lbl_80188430
lbl_8018842C:
/* 8018842C 0018538C 38 61 00 18 */ addi r3, r1, 0x18
lbl_80188430:
/* 80188430 00185390 C0 03 00 00 */ lfs f0, 0(r3)
/* 80188434 00185394 48 00 00 2C */ b lbl_80188460
lbl_80188438:
/* 80188438 00185398 C0 22 A3 84 */ lfs f1, lbl_805AC0A4@sda21(r2)
/* 8018843C 0018539C C0 0D 8E B4 */ lfs f0, lbl_805A7A74@sda21(r13)
/* 80188440 001853A0 EC 3D 08 24 */ fdivs f1, f29, f1
/* 80188444 001853A4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80188448 001853A8 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8018844C 001853AC 40 80 00 0C */ bge lbl_80188458
/* 80188450 001853B0 38 6D 8E B4 */ addi r3, r13, lbl_805A7A74@sda21
/* 80188454 001853B4 48 00 00 08 */ b lbl_8018845C
lbl_80188458:
/* 80188458 001853B8 38 61 00 14 */ addi r3, r1, 0x14
lbl_8018845C:
/* 8018845C 001853BC C0 03 00 00 */ lfs f0, 0(r3)
lbl_80188460:
/* 80188460 001853C0 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80188464 001853C4 7F C3 F3 78 */ mr r3, r30
/* 80188468 001853C8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8018846C 001853CC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80188470 001853D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80188474 001853D4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80188478 001853D8 4B FF A2 55 */ bl GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
/* 8018847C 001853DC C0 02 A3 20 */ lfs f0, lbl_805AC040@sda21(r2)
/* 80188480 001853E0 EC 20 00 72 */ fmuls f1, f0, f1
/* 80188484 001853E4 FC 1D 08 40 */ fcmpo cr0, f29, f1
/* 80188488 001853E8 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8018848C 001853EC 40 81 00 AC */ ble lbl_80188538
/* 80188490 001853F0 EC 1F E8 24 */ fdivs f0, f31, f29
/* 80188494 001853F4 7F C4 F3 78 */ mr r4, r30
/* 80188498 001853F8 38 61 01 3C */ addi r3, r1, 0x13c
/* 8018849C 001853FC EC 21 00 32 */ fmuls f1, f1, f0
/* 801884A0 00185400 FF E0 08 90 */ fmr f31, f1
/* 801884A4 00185404 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 801884A8 00185408 4B F9 33 61 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 801884AC 0018540C C0 21 00 20 */ lfs f1, 0x20(r1)
/* 801884B0 00185410 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 801884B4 00185414 82 21 01 3C */ lwz r17, 0x13c(r1)
/* 801884B8 00185418 82 01 01 40 */ lwz r16, 0x140(r1)
/* 801884BC 0018541C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801884C0 00185420 81 81 01 44 */ lwz r12, 0x144(r1)
/* 801884C4 00185424 81 61 01 48 */ lwz r11, 0x148(r1)
/* 801884C8 00185428 81 41 01 4C */ lwz r10, 0x14c(r1)
/* 801884CC 0018542C 81 21 01 50 */ lwz r9, 0x150(r1)
/* 801884D0 00185430 81 01 01 54 */ lwz r8, 0x154(r1)
/* 801884D4 00185434 80 E1 01 58 */ lwz r7, 0x158(r1)
/* 801884D8 00185438 80 C1 01 5C */ lwz r6, 0x15c(r1)
/* 801884DC 0018543C 80 A1 01 60 */ lwz r5, 0x160(r1)
/* 801884E0 00185440 80 81 01 64 */ lwz r4, 0x164(r1)
/* 801884E4 00185444 80 61 01 68 */ lwz r3, 0x168(r1)
/* 801884E8 00185448 80 01 01 6C */ lwz r0, 0x16c(r1)
/* 801884EC 0018544C 92 21 01 D8 */ stw r17, 0x1d8(r1)
/* 801884F0 00185450 92 01 01 DC */ stw r16, 0x1dc(r1)
/* 801884F4 00185454 91 81 01 E0 */ stw r12, 0x1e0(r1)
/* 801884F8 00185458 91 61 01 E4 */ stw r11, 0x1e4(r1)
/* 801884FC 0018545C 91 41 01 E8 */ stw r10, 0x1e8(r1)
/* 80188500 00185460 91 21 01 EC */ stw r9, 0x1ec(r1)
/* 80188504 00185464 91 01 01 F0 */ stw r8, 0x1f0(r1)
/* 80188508 00185468 90 E1 01 F4 */ stw r7, 0x1f4(r1)
/* 8018850C 0018546C 90 C1 01 F8 */ stw r6, 0x1f8(r1)
/* 80188510 00185470 90 A1 01 FC */ stw r5, 0x1fc(r1)
/* 80188514 00185474 90 81 02 00 */ stw r4, 0x200(r1)
/* 80188518 00185478 90 61 02 04 */ stw r3, 0x204(r1)
/* 8018851C 0018547C 90 01 02 08 */ stw r0, 0x208(r1)
/* 80188520 00185480 40 80 00 0C */ bge lbl_8018852C
/* 80188524 00185484 38 61 00 20 */ addi r3, r1, 0x20
/* 80188528 00185488 48 00 00 08 */ b lbl_80188530
lbl_8018852C:
/* 8018852C 0018548C 38 61 00 1C */ addi r3, r1, 0x1c
lbl_80188530:
/* 80188530 00185490 C0 03 00 00 */ lfs f0, 0(r3)
/* 80188534 00185494 D0 01 00 20 */ stfs f0, 0x20(r1)
lbl_80188538:
/* 80188538 00185498 FF A0 F8 90 */ fmr f29, f31
/* 8018853C 0018549C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80188540 001854A0 C3 C2 A3 18 */ lfs f30, lbl_805AC038@sda21(r2)
/* 80188544 001854A4 3A 01 01 00 */ addi r16, r1, 0x100
/* 80188548 001854A8 3A 21 02 A4 */ addi r17, r1, 0x2a4
/* 8018854C 001854AC 3B 21 02 80 */ addi r25, r1, 0x280
/* 80188550 001854B0 3B 01 02 78 */ addi r24, r1, 0x278
/* 80188554 001854B4 3B 63 66 A0 */ addi r27, r3, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80188558 001854B8 38 00 00 01 */ li r0, 1
/* 8018855C 001854BC 48 00 05 40 */ b lbl_80188A9C
lbl_80188560:
/* 80188560 001854C0 7F C3 F3 78 */ mr r3, r30
/* 80188564 001854C4 38 81 01 D8 */ addi r4, r1, 0x1d8
/* 80188568 001854C8 4B F9 24 D1 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 8018856C 001854CC 80 A1 1A A8 */ lwz r5, 0x1aa8(r1)
/* 80188570 001854D0 38 60 00 00 */ li r3, 0
/* 80188574 001854D4 2C 05 00 00 */ cmpwi r5, 0
/* 80188578 001854D8 40 81 00 44 */ ble lbl_801885BC
/* 8018857C 001854DC 2C 05 00 08 */ cmpwi r5, 8
/* 80188580 001854E0 38 85 FF F8 */ addi r4, r5, -8
/* 80188584 001854E4 40 81 00 20 */ ble lbl_801885A4
/* 80188588 001854E8 38 04 00 07 */ addi r0, r4, 7
/* 8018858C 001854EC 54 00 E8 FE */ srwi r0, r0, 3
/* 80188590 001854F0 7C 09 03 A6 */ mtctr r0
/* 80188594 001854F4 2C 04 00 00 */ cmpwi r4, 0
/* 80188598 001854F8 40 81 00 0C */ ble lbl_801885A4
lbl_8018859C:
/* 8018859C 001854FC 38 63 00 08 */ addi r3, r3, 8
/* 801885A0 00185500 42 00 FF FC */ bdnz lbl_8018859C
lbl_801885A4:
/* 801885A4 00185504 7C 03 28 50 */ subf r0, r3, r5
/* 801885A8 00185508 7C 09 03 A6 */ mtctr r0
/* 801885AC 0018550C 7C 03 28 00 */ cmpw r3, r5
/* 801885B0 00185510 40 80 00 0C */ bge lbl_801885BC
lbl_801885B4:
/* 801885B4 00185514 38 63 00 01 */ addi r3, r3, 1
/* 801885B8 00185518 42 00 FF FC */ bdnz lbl_801885B4
lbl_801885BC:
2022-04-24 01:54:45 +00:00
/* 801885BC 0018551C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801885C0 00185520 38 60 00 00 */ li r3, 0
/* 801885C4 00185524 90 61 1A A8 */ stw r3, 0x1aa8(r1)
/* 801885C8 00185528 7F C4 F3 78 */ mr r4, r30
/* 801885CC 0018552C 38 61 01 0C */ addi r3, r1, 0x10c
/* 801885D0 00185530 B0 01 00 10 */ sth r0, 0x10(r1)
/* 801885D4 00185534 81 9E 00 00 */ lwz r12, 0(r30)
/* 801885D8 00185538 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 801885DC 0018553C 7D 89 03 A6 */ mtctr r12
/* 801885E0 00185540 3B FF 00 01 */ addi r31, r31, 1
2022-07-14 05:48:03 +00:00
/* 801885E4 00185544 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801885E8 00185548 7F C3 F3 78 */ mr r3, r30
/* 801885EC 0018554C 81 9E 00 00 */ lwz r12, 0(r30)
/* 801885F0 00185550 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 801885F4 00185554 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801885F8 00185558 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801885FC 0018555C 7C 65 1B 78 */ mr r5, r3
/* 80188600 00185560 7F A3 EB 78 */ mr r3, r29
/* 80188604 00185564 7F 84 E3 78 */ mr r4, r28
/* 80188608 00185568 7E C7 B3 78 */ mr r7, r22
/* 8018860C 0018556C 7E A8 AB 78 */ mr r8, r21
/* 80188610 00185570 38 C1 01 0C */ addi r6, r1, 0x10c
/* 80188614 00185574 39 21 00 10 */ addi r9, r1, 0x10
/* 80188618 00185578 39 41 1A A8 */ addi r10, r1, 0x1aa8
/* 8018861C 0018557C 4B FF BD C9 */ bl "DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
/* 80188620 00185580 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188624 00185584 7C 72 1B 78 */ mr r18, r3
/* 80188628 00185588 41 82 00 28 */ beq lbl_80188650
/* 8018862C 0018558C A0 01 00 10 */ lhz r0, 0x10(r1)
/* 80188630 00185590 7F A3 EB 78 */ mr r3, r29
/* 80188634 00185594 38 81 00 0C */ addi r4, r1, 0xc
/* 80188638 00185598 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8018863C 0018559C 4B EC 3F 39 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80188640 001855A0 7C 64 1B 78 */ mr r4, r3
/* 80188644 001855A4 38 61 00 2C */ addi r3, r1, 0x2c
/* 80188648 001855A8 4B F2 40 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 8018864C 001855AC 82 E3 00 04 */ lwz r23, 4(r3)
lbl_80188650:
/* 80188650 001855B0 7F C3 F3 78 */ mr r3, r30
/* 80188654 001855B4 7F 64 DB 78 */ mr r4, r27
/* 80188658 001855B8 4B F9 23 E1 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 8018865C 001855BC 56 40 06 3F */ clrlwi. r0, r18, 0x18
/* 80188660 001855C0 41 82 03 88 */ beq lbl_801889E8
/* 80188664 001855C4 38 61 01 D8 */ addi r3, r1, 0x1d8
/* 80188668 001855C8 3A 80 00 01 */ li r20, 1
/* 8018866C 001855CC 48 18 C2 4D */ bl Magnitude__9CVector3fCFv
/* 80188670 001855D0 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80188674 001855D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80188678 001855D8 40 80 03 60 */ bge lbl_801889D8
/* 8018867C 001855DC 38 00 00 00 */ li r0, 0
/* 80188680 001855E0 28 17 00 00 */ cmplwi r23, 0
/* 80188684 001855E4 90 01 0E A4 */ stw r0, 0xea4(r1)
/* 80188688 001855E8 90 01 02 A0 */ stw r0, 0x2a0(r1)
/* 8018868C 001855EC C0 7E 01 38 */ lfs f3, 0x138(r30)
/* 80188690 001855F0 D0 61 00 64 */ stfs f3, 0x64(r1)
/* 80188694 001855F4 C0 5E 01 3C */ lfs f2, 0x13c(r30)
/* 80188698 001855F8 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 8018869C 001855FC C0 3E 01 40 */ lfs f1, 0x140(r30)
/* 801886A0 00185600 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 801886A4 00185604 41 82 00 28 */ beq lbl_801886CC
/* 801886A8 00185608 C0 17 01 38 */ lfs f0, 0x138(r23)
/* 801886AC 0018560C EC 03 00 28 */ fsubs f0, f3, f0
/* 801886B0 00185610 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 801886B4 00185614 C0 17 01 3C */ lfs f0, 0x13c(r23)
/* 801886B8 00185618 EC 02 00 28 */ fsubs f0, f2, f0
/* 801886BC 0018561C D0 01 00 68 */ stfs f0, 0x68(r1)
/* 801886C0 00185620 C0 17 01 40 */ lfs f0, 0x140(r23)
/* 801886C4 00185624 EC 01 00 28 */ fsubs f0, f1, f0
/* 801886C8 00185628 D0 01 00 6C */ stfs f0, 0x6c(r1)
lbl_801886CC:
/* 801886CC 0018562C 38 61 00 64 */ addi r3, r1, 0x64
/* 801886D0 00185630 38 81 1A A8 */ addi r4, r1, 0x1aa8
/* 801886D4 00185634 38 A1 0E A4 */ addi r5, r1, 0xea4
/* 801886D8 00185638 48 14 9C 71 */ bl FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
/* 801886DC 0018563C 38 61 0E A4 */ addi r3, r1, 0xea4
/* 801886E0 00185640 38 81 02 A0 */ addi r4, r1, 0x2a0
/* 801886E4 00185644 4B FF D1 95 */ bl FilterBoxFloorCollisions__12CAABoxFilterFRC18CCollisionInfoListR18CCollisionInfoList
/* 801886E8 00185648 7F A3 EB 78 */ mr r3, r29
/* 801886EC 0018564C 7F C4 F3 78 */ mr r4, r30
/* 801886F0 00185650 38 A1 00 10 */ addi r5, r1, 0x10
/* 801886F4 00185654 38 C1 02 A0 */ addi r6, r1, 0x2a0
/* 801886F8 00185658 4B FF A4 C1 */ bl MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList
/* 801886FC 0018565C 80 01 02 A0 */ lwz r0, 0x2a0(r1)
/* 80188700 00185660 2C 00 00 00 */ cmpwi r0, 0
/* 80188704 00185664 40 82 01 14 */ bne lbl_80188818
/* 80188708 00185668 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 8018870C 0018566C 41 82 01 0C */ beq lbl_80188818
/* 80188710 00185670 C0 1E 01 F4 */ lfs f0, 0x1f4(r30)
/* 80188714 00185674 7E 04 83 78 */ mr r4, r16
/* 80188718 00185678 38 61 00 40 */ addi r3, r1, 0x40
/* 8018871C 0018567C 38 AD 8E B8 */ addi r5, r13, lbl_805A7A78@sda21
/* 80188720 00185680 D0 01 00 D8 */ stfs f0, 0xd8(r1)
/* 80188724 00185684 C0 1E 01 F8 */ lfs f0, 0x1f8(r30)
/* 80188728 00185688 D0 01 00 DC */ stfs f0, 0xdc(r1)
/* 8018872C 0018568C C0 1E 01 FC */ lfs f0, 0x1fc(r30)
/* 80188730 00185690 D0 01 00 E0 */ stfs f0, 0xe0(r1)
/* 80188734 00185694 C0 1E 02 00 */ lfs f0, 0x200(r30)
/* 80188738 00185698 D0 01 00 E4 */ stfs f0, 0xe4(r1)
/* 8018873C 0018569C C0 1E 02 04 */ lfs f0, 0x204(r30)
/* 80188740 001856A0 D0 01 00 E8 */ stfs f0, 0xe8(r1)
/* 80188744 001856A4 C0 1E 02 08 */ lfs f0, 0x208(r30)
/* 80188748 001856A8 D0 01 00 EC */ stfs f0, 0xec(r1)
/* 8018874C 001856AC C0 1E 02 0C */ lfs f0, 0x20c(r30)
/* 80188750 001856B0 D0 01 00 F0 */ stfs f0, 0xf0(r1)
/* 80188754 001856B4 C0 1E 02 10 */ lfs f0, 0x210(r30)
/* 80188758 001856B8 D0 01 00 F4 */ stfs f0, 0xf4(r1)
/* 8018875C 001856BC C0 1E 02 14 */ lfs f0, 0x214(r30)
/* 80188760 001856C0 D0 01 00 F8 */ stfs f0, 0xf8(r1)
/* 80188764 001856C4 C0 1E 02 18 */ lfs f0, 0x218(r30)
/* 80188768 001856C8 D0 01 00 FC */ stfs f0, 0xfc(r1)
/* 8018876C 001856CC C0 1E 02 1C */ lfs f0, 0x21c(r30)
/* 80188770 001856D0 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 80188774 001856D4 C0 1E 02 20 */ lfs f0, 0x220(r30)
/* 80188778 001856D8 D0 01 01 04 */ stfs f0, 0x104(r1)
/* 8018877C 001856DC C0 1E 02 24 */ lfs f0, 0x224(r30)
/* 80188780 001856E0 D0 01 01 08 */ stfs f0, 0x108(r1)
/* 80188784 001856E4 4B E9 2D 01 */ bl __ml__FRC10CAxisAngleRCf
/* 80188788 001856E8 C0 42 A3 20 */ lfs f2, lbl_805AC040@sda21(r2)
/* 8018878C 001856EC 7F C3 F3 78 */ mr r3, r30
/* 80188790 001856F0 C0 01 00 F8 */ lfs f0, 0xf8(r1)
/* 80188794 001856F4 38 81 00 A4 */ addi r4, r1, 0xa4
/* 80188798 001856F8 C0 21 00 FC */ lfs f1, 0xfc(r1)
/* 8018879C 001856FC ED 82 00 32 */ fmuls f12, f2, f0
/* 801887A0 00185700 C0 01 00 F4 */ lfs f0, 0xf4(r1)
/* 801887A4 00185704 ED 62 00 72 */ fmuls f11, f2, f1
/* 801887A8 00185708 C1 21 00 D8 */ lfs f9, 0xd8(r1)
/* 801887AC 0018570C ED 42 00 32 */ fmuls f10, f2, f0
/* 801887B0 00185710 C1 01 00 DC */ lfs f8, 0xdc(r1)
/* 801887B4 00185714 C0 E1 00 E0 */ lfs f7, 0xe0(r1)
/* 801887B8 00185718 C0 C1 00 E4 */ lfs f6, 0xe4(r1)
/* 801887BC 0018571C C0 A1 00 E8 */ lfs f5, 0xe8(r1)
/* 801887C0 00185720 C0 81 00 EC */ lfs f4, 0xec(r1)
/* 801887C4 00185724 C0 61 00 F0 */ lfs f3, 0xf0(r1)
/* 801887C8 00185728 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 801887CC 0018572C C0 21 00 44 */ lfs f1, 0x44(r1)
/* 801887D0 00185730 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 801887D4 00185734 D1 41 00 4C */ stfs f10, 0x4c(r1)
/* 801887D8 00185738 D1 81 00 50 */ stfs f12, 0x50(r1)
/* 801887DC 0018573C D1 61 00 54 */ stfs f11, 0x54(r1)
/* 801887E0 00185740 D1 21 00 A4 */ stfs f9, 0xa4(r1)
/* 801887E4 00185744 D1 01 00 A8 */ stfs f8, 0xa8(r1)
/* 801887E8 00185748 D0 E1 00 AC */ stfs f7, 0xac(r1)
/* 801887EC 0018574C D0 C1 00 B0 */ stfs f6, 0xb0(r1)
/* 801887F0 00185750 D0 A1 00 B4 */ stfs f5, 0xb4(r1)
/* 801887F4 00185754 D0 81 00 B8 */ stfs f4, 0xb8(r1)
/* 801887F8 00185758 D0 61 00 BC */ stfs f3, 0xbc(r1)
/* 801887FC 0018575C D1 41 00 C0 */ stfs f10, 0xc0(r1)
/* 80188800 00185760 D1 81 00 C4 */ stfs f12, 0xc4(r1)
/* 80188804 00185764 D1 61 00 C8 */ stfs f11, 0xc8(r1)
/* 80188808 00185768 D0 41 00 CC */ stfs f2, 0xcc(r1)
/* 8018880C 0018576C D0 21 00 D0 */ stfs f1, 0xd0(r1)
/* 80188810 00185770 D0 01 00 D4 */ stfs f0, 0xd4(r1)
/* 80188814 00185774 4B F9 2F 15 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
lbl_80188818:
/* 80188818 00185778 38 60 00 00 */ li r3, 0
/* 8018881C 0018577C 4B F2 BC DD */ bl IsUser__Fi
/* 80188820 00185780 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188824 00185784 41 82 00 34 */ beq lbl_80188858
/* 80188828 00185788 80 01 02 A0 */ lwz r0, 0x2a0(r1)
/* 8018882C 0018578C 2C 00 00 00 */ cmpwi r0, 0
/* 80188830 00185790 40 81 00 18 */ ble lbl_80188848
/* 80188834 00185794 48 1C 17 79 */ bl White__6CColorFv
/* 80188838 00185798 7C 64 1B 78 */ mr r4, r3
/* 8018883C 0018579C 38 61 02 A0 */ addi r3, r1, 0x2a0
/* 80188840 001857A0 4B FF A1 15 */ bl ShowCollisionResults__14CGameCollisionFR18CCollisionInfoListRC6CColor
/* 80188844 001857A4 48 00 00 14 */ b lbl_80188858
lbl_80188848:
/* 80188848 001857A8 48 1C 17 45 */ bl Yellow__6CColorFv
/* 8018884C 001857AC 7C 64 1B 78 */ mr r4, r3
/* 80188850 001857B0 38 61 1A A8 */ addi r3, r1, 0x1aa8
/* 80188854 001857B4 4B FF A1 01 */ bl ShowCollisionResults__14CGameCollisionFR18CCollisionInfoListRC6CColor
lbl_80188858:
/* 80188858 001857B8 7E 33 8B 78 */ mr r19, r17
/* 8018885C 001857BC 3A 40 00 00 */ li r18, 0
/* 80188860 001857C0 48 00 00 94 */ b lbl_801888F4
lbl_80188864:
/* 80188864 001857C4 7E 64 9B 78 */ mr r4, r19
/* 80188868 001857C8 38 61 02 40 */ addi r3, r1, 0x240
/* 8018886C 001857CC 4B F6 8C 35 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo
/* 80188870 001857D0 7F C3 F3 78 */ mr r3, r30
/* 80188874 001857D4 4B F9 1C 65 */ bl GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv
/* 80188878 001857D8 FF A0 08 90 */ fmr f29, f1
/* 8018887C 001857DC 38 61 02 40 */ addi r3, r1, 0x240
/* 80188880 001857E0 4B FF A0 CD */ bl GetCoefficientOfRestitution__14CGameCollisionFRC14CCollisionInfo
/* 80188884 001857E4 C0 61 02 88 */ lfs f3, 0x288(r1)
/* 80188888 001857E8 28 17 00 00 */ cmplwi r23, 0
/* 8018888C 001857EC C0 41 02 8C */ lfs f2, 0x28c(r1)
/* 80188890 001857F0 EF A1 E8 2A */ fadds f29, f1, f29
/* 80188894 001857F4 C0 01 02 90 */ lfs f0, 0x290(r1)
/* 80188898 001857F8 D0 61 00 58 */ stfs f3, 0x58(r1)
/* 8018889C 001857FC D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 801888A0 00185800 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 801888A4 00185804 41 82 00 20 */ beq lbl_801888C4
/* 801888A8 00185808 FC 20 E8 90 */ fmr f1, f29
/* 801888AC 0018580C 7F C3 F3 78 */ mr r3, r30
/* 801888B0 00185810 7E E4 BB 78 */ mr r4, r23
/* 801888B4 00185814 38 A1 02 40 */ addi r5, r1, 0x240
/* 801888B8 00185818 38 C0 00 01 */ li r6, 1
/* 801888BC 0018581C 4B FF 98 45 */ bl CollideWithDynamicBodyNoRot__14CGameCollisionFR13CPhysicsActorR13CPhysicsActorRC14CCollisionInfofb
/* 801888C0 00185820 48 00 00 2C */ b lbl_801888EC
lbl_801888C4:
/* 801888C4 00185824 38 61 00 34 */ addi r3, r1, 0x34
/* 801888C8 00185828 38 81 00 58 */ addi r4, r1, 0x58
2022-04-16 07:50:32 +00:00
/* 801888CC 0018582C 48 18 B5 05 */ bl __ct__13CUnitVector3fFRC9CVector3f
2022-04-13 08:02:06 +00:00
/* 801888D0 00185830 FC 20 E8 90 */ fmr f1, f29
/* 801888D4 00185834 7C 66 1B 78 */ mr r6, r3
/* 801888D8 00185838 7F C3 F3 78 */ mr r3, r30
/* 801888DC 0018583C 7F 04 C3 78 */ mr r4, r24
/* 801888E0 00185840 7F 25 CB 78 */ mr r5, r25
/* 801888E4 00185844 38 E0 00 01 */ li r7, 1
/* 801888E8 00185848 4B FF 96 85 */ bl CollideWithStaticBodyNoRot__14CGameCollisionFR13CPhysicsActorRC13CMaterialListRC13CMaterialListRC13CUnitVector3ffb
lbl_801888EC:
/* 801888EC 0018584C 3A 73 00 60 */ addi r19, r19, 0x60
/* 801888F0 00185850 3A 52 00 01 */ addi r18, r18, 1
lbl_801888F4:
/* 801888F4 00185854 80 A1 02 A0 */ lwz r5, 0x2a0(r1)
/* 801888F8 00185858 7C 12 28 00 */ cmpw r18, r5
/* 801888FC 0018585C 41 80 FF 68 */ blt lbl_80188864
/* 80188900 00185860 C0 21 00 28 */ lfs f1, 0x28(r1)
/* 80188904 00185864 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80188908 00185868 EC 21 F8 28 */ fsubs f1, f1, f31
/* 8018890C 0018586C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80188910 00185870 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 80188914 00185874 40 80 00 0C */ bge lbl_80188920
/* 80188918 00185878 38 61 00 24 */ addi r3, r1, 0x24
/* 8018891C 0018587C 48 00 00 08 */ b lbl_80188924
lbl_80188920:
/* 80188920 00185880 38 61 00 28 */ addi r3, r1, 0x28
lbl_80188924:
/* 80188924 00185884 C3 A3 00 00 */ lfs f29, 0(r3)
/* 80188928 00185888 2C 05 00 00 */ cmpwi r5, 0
/* 8018892C 0018588C 38 60 00 00 */ li r3, 0
/* 80188930 00185890 FF E0 E8 90 */ fmr f31, f29
/* 80188934 00185894 40 81 00 44 */ ble lbl_80188978
/* 80188938 00185898 2C 05 00 08 */ cmpwi r5, 8
/* 8018893C 0018589C 38 85 FF F8 */ addi r4, r5, -8
/* 80188940 001858A0 40 81 00 20 */ ble lbl_80188960
/* 80188944 001858A4 38 04 00 07 */ addi r0, r4, 7
/* 80188948 001858A8 54 00 E8 FE */ srwi r0, r0, 3
/* 8018894C 001858AC 7C 09 03 A6 */ mtctr r0
/* 80188950 001858B0 2C 04 00 00 */ cmpwi r4, 0
/* 80188954 001858B4 40 81 00 0C */ ble lbl_80188960
lbl_80188958:
/* 80188958 001858B8 38 63 00 08 */ addi r3, r3, 8
/* 8018895C 001858BC 42 00 FF FC */ bdnz lbl_80188958
lbl_80188960:
/* 80188960 001858C0 7C 03 28 50 */ subf r0, r3, r5
/* 80188964 001858C4 7C 09 03 A6 */ mtctr r0
/* 80188968 001858C8 7C 03 28 00 */ cmpw r3, r5
/* 8018896C 001858CC 40 80 00 0C */ bge lbl_80188978
lbl_80188970:
/* 80188970 001858D0 38 63 00 01 */ addi r3, r3, 1
/* 80188974 001858D4 42 00 FF FC */ bdnz lbl_80188970
lbl_80188978:
/* 80188978 001858D8 80 A1 0E A4 */ lwz r5, 0xea4(r1)
/* 8018897C 001858DC 38 60 00 00 */ li r3, 0
/* 80188980 001858E0 90 61 02 A0 */ stw r3, 0x2a0(r1)
/* 80188984 001858E4 2C 05 00 00 */ cmpwi r5, 0
/* 80188988 001858E8 40 81 00 44 */ ble lbl_801889CC
/* 8018898C 001858EC 2C 05 00 08 */ cmpwi r5, 8
/* 80188990 001858F0 38 85 FF F8 */ addi r4, r5, -8
/* 80188994 001858F4 40 81 00 20 */ ble lbl_801889B4
/* 80188998 001858F8 38 04 00 07 */ addi r0, r4, 7
/* 8018899C 001858FC 54 00 E8 FE */ srwi r0, r0, 3
/* 801889A0 00185900 7C 09 03 A6 */ mtctr r0
/* 801889A4 00185904 2C 04 00 00 */ cmpwi r4, 0
/* 801889A8 00185908 40 81 00 0C */ ble lbl_801889B4
lbl_801889AC:
/* 801889AC 0018590C 38 63 00 08 */ addi r3, r3, 8
/* 801889B0 00185910 42 00 FF FC */ bdnz lbl_801889AC
lbl_801889B4:
/* 801889B4 00185914 7C 03 28 50 */ subf r0, r3, r5
/* 801889B8 00185918 7C 09 03 A6 */ mtctr r0
/* 801889BC 0018591C 7C 03 28 00 */ cmpw r3, r5
/* 801889C0 00185920 40 80 00 0C */ bge lbl_801889CC
lbl_801889C4:
/* 801889C4 00185924 38 63 00 01 */ addi r3, r3, 1
/* 801889C8 00185928 42 00 FF FC */ bdnz lbl_801889C4
lbl_801889CC:
/* 801889CC 0018592C 38 00 00 00 */ li r0, 0
/* 801889D0 00185930 90 01 0E A4 */ stw r0, 0xea4(r1)
/* 801889D4 00185934 48 00 00 40 */ b lbl_80188A14
lbl_801889D8:
/* 801889D8 00185938 C0 02 A3 20 */ lfs f0, lbl_805AC040@sda21(r2)
/* 801889DC 0018593C EF BD 00 32 */ fmuls f29, f29, f0
/* 801889E0 00185940 EF FF 00 32 */ fmuls f31, f31, f0
/* 801889E4 00185944 48 00 00 30 */ b lbl_80188A14
lbl_801889E8:
/* 801889E8 00185948 7F C3 F3 78 */ mr r3, r30
/* 801889EC 0018594C 38 81 01 D8 */ addi r4, r1, 0x1d8
/* 801889F0 00185950 4B F9 2B 25 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 801889F4 00185954 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 801889F8 00185958 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 801889FC 0018595C 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80188A00 00185960 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80188A04 00185964 7F C3 F3 78 */ mr r3, r30
/* 80188A08 00185968 FF E0 E8 90 */ fmr f31, f29
/* 80188A0C 0018596C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80188A10 00185970 4B F9 20 29 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
lbl_80188A14:
/* 80188A14 00185974 FC 20 F8 90 */ fmr f1, f31
/* 80188A18 00185978 7F C4 F3 78 */ mr r4, r30
/* 80188A1C 0018597C 38 61 00 70 */ addi r3, r1, 0x70
/* 80188A20 00185980 4B F9 2D E9 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80188A24 00185984 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 80188A28 00185988 82 61 00 70 */ lwz r19, 0x70(r1)
/* 80188A2C 0018598C FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 80188A30 00185990 82 41 00 74 */ lwz r18, 0x74(r1)
/* 80188A34 00185994 81 81 00 78 */ lwz r12, 0x78(r1)
/* 80188A38 00185998 81 61 00 7C */ lwz r11, 0x7c(r1)
/* 80188A3C 0018599C 81 41 00 80 */ lwz r10, 0x80(r1)
/* 80188A40 001859A0 81 21 00 84 */ lwz r9, 0x84(r1)
/* 80188A44 001859A4 81 01 00 88 */ lwz r8, 0x88(r1)
/* 80188A48 001859A8 80 E1 00 8C */ lwz r7, 0x8c(r1)
/* 80188A4C 001859AC 80 C1 00 90 */ lwz r6, 0x90(r1)
/* 80188A50 001859B0 80 A1 00 94 */ lwz r5, 0x94(r1)
/* 80188A54 001859B4 80 81 00 98 */ lwz r4, 0x98(r1)
/* 80188A58 001859B8 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 80188A5C 001859BC 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 80188A60 001859C0 92 61 01 D8 */ stw r19, 0x1d8(r1)
/* 80188A64 001859C4 92 41 01 DC */ stw r18, 0x1dc(r1)
/* 80188A68 001859C8 91 81 01 E0 */ stw r12, 0x1e0(r1)
/* 80188A6C 001859CC 91 61 01 E4 */ stw r11, 0x1e4(r1)
/* 80188A70 001859D0 91 41 01 E8 */ stw r10, 0x1e8(r1)
/* 80188A74 001859D4 91 21 01 EC */ stw r9, 0x1ec(r1)
/* 80188A78 001859D8 91 01 01 F0 */ stw r8, 0x1f0(r1)
/* 80188A7C 001859DC 90 E1 01 F4 */ stw r7, 0x1f4(r1)
/* 80188A80 001859E0 90 C1 01 F8 */ stw r6, 0x1f8(r1)
/* 80188A84 001859E4 90 A1 01 FC */ stw r5, 0x1fc(r1)
/* 80188A88 001859E8 90 81 02 00 */ stw r4, 0x200(r1)
/* 80188A8C 001859EC 90 61 02 04 */ stw r3, 0x204(r1)
/* 80188A90 001859F0 90 01 02 08 */ stw r0, 0x208(r1)
/* 80188A94 001859F4 7C 00 00 26 */ mfcr r0
/* 80188A98 001859F8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f
lbl_80188A9C:
/* 80188A9C 001859FC 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80188AA0 00185A00 40 82 FA C0 */ bne lbl_80188560
/* 80188AA4 00185A04 56 80 06 3F */ clrlwi. r0, r20, 0x18
/* 80188AA8 00185A08 40 82 00 48 */ bne lbl_80188AF0
/* 80188AAC 00185A0C 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 80188AB0 00185A10 38 00 00 20 */ li r0, 0x20
/* 80188AB4 00185A14 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 80188AB8 00185A18 38 80 00 00 */ li r4, 0
/* 80188ABC 00185A1C 7C 60 00 38 */ and r0, r3, r0
/* 80188AC0 00185A20 7C A3 20 38 */ and r3, r5, r4
/* 80188AC4 00185A24 7C 63 22 78 */ xor r3, r3, r4
/* 80188AC8 00185A28 7C 00 22 78 */ xor r0, r0, r4
/* 80188ACC 00185A2C 7C 60 03 79 */ or. r0, r3, r0
/* 80188AD0 00185A30 40 82 00 20 */ bne lbl_80188AF0
2022-04-24 01:54:45 +00:00
/* 80188AD4 00185A34 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80188AD8 00185A38 7F A3 EB 78 */ mr r3, r29
/* 80188ADC 00185A3C 7F C4 F3 78 */ mr r4, r30
/* 80188AE0 00185A40 38 A1 00 08 */ addi r5, r1, 8
/* 80188AE4 00185A44 B0 01 00 08 */ sth r0, 8(r1)
/* 80188AE8 00185A48 38 C0 00 1A */ li r6, 0x1a
2022-09-14 05:24:37 +00:00
/* 80188AEC 00185A4C 4B EB B3 E5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_80188AF0:
/* 80188AF0 00185A50 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80188AF4 00185A54 7F C3 F3 78 */ mr r3, r30
/* 80188AF8 00185A58 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80188AFC 00185A5C 4B F9 1F 3D */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80188B00 00185A60 38 60 00 00 */ li r3, 0
/* 80188B04 00185A64 4B F2 B9 F5 */ bl IsUser__Fi
/* 80188B08 00185A68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188B0C 00185A6C 41 82 00 34 */ beq lbl_80188B40
/* 80188B10 00185A70 56 80 06 3F */ clrlwi. r0, r20, 0x18
/* 80188B14 00185A74 41 82 00 1C */ beq lbl_80188B30
/* 80188B18 00185A78 80 0D A4 70 */ lwz r0, lbl_805A9030@sda21(r13)
/* 80188B1C 00185A7C 80 6D A4 68 */ lwz r3, lbl_805A9028@sda21(r13)
/* 80188B20 00185A80 7C 80 FA 14 */ add r4, r0, r31
/* 80188B24 00185A84 38 03 00 01 */ addi r0, r3, 1
/* 80188B28 00185A88 90 8D A4 70 */ stw r4, lbl_805A9030@sda21(r13)
/* 80188B2C 00185A8C 90 0D A4 68 */ stw r0, lbl_805A9028@sda21(r13)
lbl_80188B30:
/* 80188B30 00185A90 80 0D A4 78 */ lwz r0, lbl_805A9038@sda21(r13)
/* 80188B34 00185A94 7C 1F 00 00 */ cmpw r31, r0
/* 80188B38 00185A98 40 81 00 08 */ ble lbl_80188B40
/* 80188B3C 00185A9C 93 ED A4 78 */ stw r31, lbl_805A9038@sda21(r13)
lbl_80188B40:
/* 80188B40 00185AA0 80 A1 1A A8 */ lwz r5, 0x1aa8(r1)
/* 80188B44 00185AA4 38 60 00 00 */ li r3, 0
/* 80188B48 00185AA8 2C 05 00 00 */ cmpwi r5, 0
/* 80188B4C 00185AAC 40 81 00 40 */ ble lbl_80188B8C
/* 80188B50 00185AB0 2C 05 00 08 */ cmpwi r5, 8
/* 80188B54 00185AB4 38 85 FF F8 */ addi r4, r5, -8
/* 80188B58 00185AB8 40 81 00 20 */ ble lbl_80188B78
/* 80188B5C 00185ABC 38 04 00 07 */ addi r0, r4, 7
/* 80188B60 00185AC0 54 00 E8 FE */ srwi r0, r0, 3
/* 80188B64 00185AC4 7C 09 03 A6 */ mtctr r0
/* 80188B68 00185AC8 2C 04 00 00 */ cmpwi r4, 0
/* 80188B6C 00185ACC 40 81 00 0C */ ble lbl_80188B78
lbl_80188B70:
/* 80188B70 00185AD0 38 63 00 08 */ addi r3, r3, 8
/* 80188B74 00185AD4 42 00 FF FC */ bdnz lbl_80188B70
lbl_80188B78:
/* 80188B78 00185AD8 7C 03 28 50 */ subf r0, r3, r5
/* 80188B7C 00185ADC 7C 09 03 A6 */ mtctr r0
/* 80188B80 00185AE0 7C 03 28 00 */ cmpw r3, r5
/* 80188B84 00185AE4 40 80 00 08 */ bge lbl_80188B8C
lbl_80188B88:
/* 80188B88 00185AE8 42 00 00 00 */ bdnz lbl_80188B88
lbl_80188B8C:
/* 80188B8C 00185AEC 38 00 00 00 */ li r0, 0
/* 80188B90 00185AF0 7E 83 A3 78 */ mr r3, r20
/* 80188B94 00185AF4 90 01 1A A8 */ stw r0, 0x1aa8(r1)
/* 80188B98 00185AF8 38 00 27 18 */ li r0, 0x2718
/* 80188B9C 00185AFC 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0
/* 80188BA0 00185B00 CB E1 27 10 */ lfd f31, 0x2710(r1)
/* 80188BA4 00185B04 38 00 27 08 */ li r0, 0x2708
/* 80188BA8 00185B08 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0
/* 80188BAC 00185B0C CB C1 27 00 */ lfd f30, 0x2700(r1)
/* 80188BB0 00185B10 38 00 26 F8 */ li r0, 0x26f8
/* 80188BB4 00185B14 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0
/* 80188BB8 00185B18 CB A1 26 F0 */ lfd f29, 0x26f0(r1)
/* 80188BBC 00185B1C BA 01 26 B0 */ lmw r16, 0x26b0(r1)
/* 80188BC0 00185B20 80 01 27 24 */ lwz r0, 0x2724(r1)
/* 80188BC4 00185B24 7C 08 03 A6 */ mtlr r0
/* 80188BC8 00185B28 38 21 27 20 */ addi r1, r1, 0x2720
2022-07-14 05:48:03 +00:00
/* 80188BCC 00185B2C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MoveGroundColliderZ__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>fRfR18CCollisionInfoListR9TUniqueId"
"MoveGroundColliderZ__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>fRfR18CCollisionInfoListR9TUniqueId":
/* 80188BD0 00185B30 94 21 F2 B0 */ stwu r1, -0xd50(r1)
/* 80188BD4 00185B34 7C 08 02 A6 */ mflr r0
/* 80188BD8 00185B38 90 01 0D 54 */ stw r0, 0xd54(r1)
/* 80188BDC 00185B3C DB E1 0D 40 */ stfd f31, 0xd40(r1)
/* 80188BE0 00185B40 F3 E1 0D 48 */ psq_st f31, -696(r1), 0, qr0
/* 80188BE4 00185B44 DB C1 0D 30 */ stfd f30, 0xd30(r1)
/* 80188BE8 00185B48 F3 C1 0D 38 */ psq_st f30, -712(r1), 0, qr0
/* 80188BEC 00185B4C BE 81 0D 00 */ stmw r20, 0xd00(r1)
/* 80188BF0 00185B50 FF E0 08 90 */ fmr f31, f1
/* 80188BF4 00185B54 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80188BF8 00185B58 7C 97 23 78 */ mr r23, r4
/* 80188BFC 00185B5C 7C B8 2B 78 */ mr r24, r5
/* 80188C00 00185B60 7C 76 1B 78 */ mr r22, r3
/* 80188C04 00185B64 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80188C08 00185B68 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80188C0C 00185B6C 7C D9 33 78 */ mr r25, r6
/* 80188C10 00185B70 7C FA 3B 78 */ mr r26, r7
/* 80188C14 00185B74 7D 1B 43 78 */ mr r27, r8
/* 80188C18 00185B78 D3 E1 00 5C */ stfs f31, 0x5c(r1)
/* 80188C1C 00185B7C 7D 3C 4B 78 */ mr r28, r9
/* 80188C20 00185B80 7D 5D 53 78 */ mr r29, r10
/* 80188C24 00185B84 7F 03 C3 78 */ mr r3, r24
/* 80188C28 00185B88 38 81 00 54 */ addi r4, r1, 0x54
/* 80188C2C 00185B8C 4B F9 1E 0D */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
2022-04-24 01:54:45 +00:00
/* 80188C30 00185B90 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-08-13 01:26:00 +00:00
/* 80188C34 00185B94 3C 60 80 5A */ lis r3, mskInvertedBox__6CAABox@ha
/* 80188C38 00185B98 38 A3 67 54 */ addi r5, r3, mskInvertedBox__6CAABox@l
2022-04-13 08:02:06 +00:00
/* 80188C3C 00185B9C 7F 04 C3 78 */ mr r4, r24
/* 80188C40 00185BA0 B0 1D 00 00 */ sth r0, 0(r29)
/* 80188C44 00185BA4 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80188C48 00185BA8 C0 A5 00 00 */ lfs f5, 0(r5)
/* 80188C4C 00185BAC C0 85 00 04 */ lfs f4, 4(r5)
/* 80188C50 00185BB0 C0 65 00 08 */ lfs f3, 8(r5)
/* 80188C54 00185BB4 C0 45 00 0C */ lfs f2, 0xc(r5)
/* 80188C58 00185BB8 C0 25 00 10 */ lfs f1, 0x10(r5)
/* 80188C5C 00185BBC C0 05 00 14 */ lfs f0, 0x14(r5)
/* 80188C60 00185BC0 D0 A1 00 78 */ stfs f5, 0x78(r1)
/* 80188C64 00185BC4 D0 81 00 7C */ stfs f4, 0x7c(r1)
/* 80188C68 00185BC8 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 80188C6C 00185BCC D0 41 00 84 */ stfs f2, 0x84(r1)
/* 80188C70 00185BD0 D0 21 00 88 */ stfs f1, 0x88(r1)
/* 80188C74 00185BD4 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80188C78 00185BD8 81 98 00 00 */ lwz r12, 0(r24)
/* 80188C7C 00185BDC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80188C80 00185BE0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80188C84 00185BE4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80188C88 00185BE8 7F 03 C3 78 */ mr r3, r24
/* 80188C8C 00185BEC 81 98 00 00 */ lwz r12, 0(r24)
/* 80188C90 00185BF0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80188C94 00185BF4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80188C98 00185BF8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80188C9C 00185BFC 7C 65 1B 78 */ mr r5, r3
/* 80188CA0 00185C00 7E E3 BB 78 */ mr r3, r23
/* 80188CA4 00185C04 7E C4 B3 78 */ mr r4, r22
/* 80188CA8 00185C08 7F 27 CB 78 */ mr r7, r25
/* 80188CAC 00185C0C 7F 48 D3 78 */ mr r8, r26
/* 80188CB0 00185C10 7F A9 EB 78 */ mr r9, r29
/* 80188CB4 00185C14 7F 8A E3 78 */ mr r10, r28
/* 80188CB8 00185C18 38 C1 00 C0 */ addi r6, r1, 0xc0
/* 80188CBC 00185C1C 4B FF B7 29 */ bl "DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
/* 80188CC0 00185C20 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188CC4 00185C24 7C 7E 1B 78 */ mr r30, r3
/* 80188CC8 00185C28 41 82 02 8C */ beq lbl_80188F54
/* 80188CCC 00185C2C 3B FC 00 04 */ addi r31, r28, 4
/* 80188CD0 00185C30 3A 80 00 00 */ li r20, 0
/* 80188CD4 00185C34 7F F5 FB 78 */ mr r21, r31
/* 80188CD8 00185C38 48 00 00 30 */ b lbl_80188D08
lbl_80188CDC:
/* 80188CDC 00185C3C 7E A4 AB 78 */ mr r4, r21
/* 80188CE0 00185C40 38 61 00 78 */ addi r3, r1, 0x78
/* 80188CE4 00185C44 48 1A EE 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80188CE8 00185C48 7E A4 AB 78 */ mr r4, r21
/* 80188CEC 00185C4C 38 61 00 48 */ addi r3, r1, 0x48
/* 80188CF0 00185C50 48 14 54 35 */ bl GetExtreme__14CCollisionInfoCFv
/* 80188CF4 00185C54 38 61 00 78 */ addi r3, r1, 0x78
/* 80188CF8 00185C58 38 81 00 48 */ addi r4, r1, 0x48
/* 80188CFC 00185C5C 48 1A EE 0D */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80188D00 00185C60 3A B5 00 60 */ addi r21, r21, 0x60
/* 80188D04 00185C64 3A 94 00 01 */ addi r20, r20, 1
lbl_80188D08:
/* 80188D08 00185C68 80 1C 00 00 */ lwz r0, 0(r28)
/* 80188D0C 00185C6C 7C 14 00 00 */ cmpw r20, r0
/* 80188D10 00185C70 41 80 FF CC */ blt lbl_80188CDC
/* 80188D14 00185C74 7F 04 C3 78 */ mr r4, r24
/* 80188D18 00185C78 38 61 00 60 */ addi r3, r1, 0x60
/* 80188D1C 00185C7C 4B F9 1C 11 */ bl GetBoundingBox__13CPhysicsActorCFv
/* 80188D20 00185C80 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80188D24 00185C84 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80188D28 00185C88 40 81 00 20 */ ble lbl_80188D48
/* 80188D2C 00185C8C C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80188D30 00185C90 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 80188D34 00185C94 C0 02 A3 3C */ lfs f0, lbl_805AC05C@sda21(r2)
/* 80188D38 00185C98 EC 22 08 28 */ fsubs f1, f2, f1
/* 80188D3C 00185C9C EC 01 00 28 */ fsubs f0, f1, f0
/* 80188D40 00185CA0 EF DF 00 2A */ fadds f30, f31, f0
/* 80188D44 00185CA4 48 00 00 1C */ b lbl_80188D60
lbl_80188D48:
/* 80188D48 00185CA8 C0 21 00 8C */ lfs f1, 0x8c(r1)
/* 80188D4C 00185CAC C0 01 00 68 */ lfs f0, 0x68(r1)
/* 80188D50 00185CB0 C0 42 A3 3C */ lfs f2, lbl_805AC05C@sda21(r2)
/* 80188D54 00185CB4 EC 01 00 28 */ fsubs f0, f1, f0
/* 80188D58 00185CB8 EC 02 00 2A */ fadds f0, f2, f0
/* 80188D5C 00185CBC EF DF 00 2A */ fadds f30, f31, f0
lbl_80188D60:
/* 80188D60 00185CC0 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80188D64 00185CC4 7F 03 C3 78 */ mr r3, r24
/* 80188D68 00185CC8 D3 C1 00 44 */ stfs f30, 0x44(r1)
/* 80188D6C 00185CCC 38 81 00 3C */ addi r4, r1, 0x3c
/* 80188D70 00185CD0 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80188D74 00185CD4 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80188D78 00185CD8 4B F9 1C C1 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80188D7C 00185CDC 7F 04 C3 78 */ mr r4, r24
/* 80188D80 00185CE0 38 61 00 90 */ addi r3, r1, 0x90
/* 80188D84 00185CE4 81 98 00 00 */ lwz r12, 0(r24)
/* 80188D88 00185CE8 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80188D8C 00185CEC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80188D90 00185CF0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80188D94 00185CF4 7F 03 C3 78 */ mr r3, r24
/* 80188D98 00185CF8 81 98 00 00 */ lwz r12, 0(r24)
/* 80188D9C 00185CFC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80188DA0 00185D00 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80188DA4 00185D04 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80188DA8 00185D08 7C 65 1B 78 */ mr r5, r3
/* 80188DAC 00185D0C 7E E3 BB 78 */ mr r3, r23
/* 80188DB0 00185D10 7E C4 B3 78 */ mr r4, r22
/* 80188DB4 00185D14 7F 27 CB 78 */ mr r7, r25
/* 80188DB8 00185D18 7F 48 D3 78 */ mr r8, r26
/* 80188DBC 00185D1C 38 C1 00 90 */ addi r6, r1, 0x90
/* 80188DC0 00185D20 4B FF B7 A5 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80188DC4 00185D24 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188DC8 00185D28 40 82 00 58 */ bne lbl_80188E20
/* 80188DCC 00185D2C D3 DB 00 00 */ stfs f30, 0(r27)
/* 80188DD0 00185D30 7F 03 C3 78 */ mr r3, r24
/* 80188DD4 00185D34 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80188DD8 00185D38 38 81 00 30 */ addi r4, r1, 0x30
/* 80188DDC 00185D3C C0 B8 00 60 */ lfs f5, 0x60(r24)
/* 80188DE0 00185D40 C0 98 00 50 */ lfs f4, 0x50(r24)
/* 80188DE4 00185D44 C0 38 00 40 */ lfs f1, 0x40(r24)
/* 80188DE8 00185D48 EC 45 F0 2A */ fadds f2, f5, f30
/* 80188DEC 00185D4C EC 64 00 2A */ fadds f3, f4, f0
/* 80188DF0 00185D50 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80188DF4 00185D54 EC 01 00 2A */ fadds f0, f1, f0
/* 80188DF8 00185D58 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80188DFC 00185D5C D0 A1 00 2C */ stfs f5, 0x2c(r1)
/* 80188E00 00185D60 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80188E04 00185D64 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 80188E08 00185D68 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 80188E0C 00185D6C 4B EC A0 81 */ bl SetTranslation__6CActorFRC9CVector3f
/* 80188E10 00185D70 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80188E14 00185D74 7F 03 C3 78 */ mr r3, r24
/* 80188E18 00185D78 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80188E1C 00185D7C 4B F9 1C 1D */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
lbl_80188E20:
/* 80188E20 00185D80 3A 80 00 00 */ li r20, 0
/* 80188E24 00185D84 3A A0 00 00 */ li r21, 0
/* 80188E28 00185D88 48 00 00 28 */ b lbl_80188E50
lbl_80188E2C:
/* 80188E2C 00185D8C 38 7F 00 38 */ addi r3, r31, 0x38
/* 80188E30 00185D90 38 9F 00 48 */ addi r4, r31, 0x48
/* 80188E34 00185D94 4B FF 9A 95 */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80188E38 00185D98 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80188E3C 00185D9C 41 82 00 0C */ beq lbl_80188E48
/* 80188E40 00185DA0 3A 80 00 01 */ li r20, 1
/* 80188E44 00185DA4 48 00 00 18 */ b lbl_80188E5C
lbl_80188E48:
/* 80188E48 00185DA8 3B FF 00 60 */ addi r31, r31, 0x60
/* 80188E4C 00185DAC 3A B5 00 01 */ addi r21, r21, 1
lbl_80188E50:
/* 80188E50 00185DB0 80 1C 00 00 */ lwz r0, 0(r28)
/* 80188E54 00185DB4 7C 15 00 00 */ cmpw r21, r0
/* 80188E58 00185DB8 41 80 FF D4 */ blt lbl_80188E2C
lbl_80188E5C:
/* 80188E5C 00185DBC 56 80 06 3F */ clrlwi. r0, r20, 0x18
/* 80188E60 00185DC0 40 82 00 20 */ bne lbl_80188E80
2022-04-24 01:54:45 +00:00
/* 80188E64 00185DC4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80188E68 00185DC8 7E E3 BB 78 */ mr r3, r23
/* 80188E6C 00185DCC 7F 04 C3 78 */ mr r4, r24
/* 80188E70 00185DD0 38 A1 00 08 */ addi r5, r1, 8
/* 80188E74 00185DD4 B0 01 00 08 */ sth r0, 8(r1)
/* 80188E78 00185DD8 38 C0 00 20 */ li r6, 0x20
2022-09-14 05:24:37 +00:00
/* 80188E7C 00185DDC 4B EB B0 55 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_80188E80:
/* 80188E80 00185DE0 C8 02 A3 50 */ lfd f0, lbl_805AC070@sda21(r2)
/* 80188E84 00185DE4 38 00 00 00 */ li r0, 0
/* 80188E88 00185DE8 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 80188E8C 00185DEC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80188E90 00185DF0 40 81 00 2C */ ble lbl_80188EBC
/* 80188E94 00185DF4 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80188E98 00185DF8 7F 84 E3 78 */ mr r4, r28
/* 80188E9C 00185DFC C0 02 A3 58 */ lfs f0, lbl_805AC078@sda21(r2)
/* 80188EA0 00185E00 38 61 00 18 */ addi r3, r1, 0x18
/* 80188EA4 00185E04 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80188EA8 00185E08 38 A1 00 F0 */ addi r5, r1, 0xf0
/* 80188EAC 00185E0C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80188EB0 00185E10 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80188EB4 00185E14 48 14 95 A5 */ bl FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
/* 80188EB8 00185E18 48 00 00 28 */ b lbl_80188EE0
lbl_80188EBC:
/* 80188EBC 00185E1C C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80188EC0 00185E20 7F 84 E3 78 */ mr r4, r28
/* 80188EC4 00185E24 C0 02 A3 10 */ lfs f0, lbl_805AC030@sda21(r2)
/* 80188EC8 00185E28 38 61 00 0C */ addi r3, r1, 0xc
/* 80188ECC 00185E2C D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80188ED0 00185E30 38 A1 00 F0 */ addi r5, r1, 0xf0
/* 80188ED4 00185E34 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80188ED8 00185E38 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80188EDC 00185E3C 48 14 95 7D */ bl FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
lbl_80188EE0:
/* 80188EE0 00185E40 80 01 00 F0 */ lwz r0, 0xf0(r1)
/* 80188EE4 00185E44 2C 00 00 00 */ cmpwi r0, 0
/* 80188EE8 00185E48 40 81 00 18 */ ble lbl_80188F00
/* 80188EEC 00185E4C 7E E3 BB 78 */ mr r3, r23
/* 80188EF0 00185E50 7F 04 C3 78 */ mr r4, r24
/* 80188EF4 00185E54 7F A5 EB 78 */ mr r5, r29
/* 80188EF8 00185E58 38 C1 00 F0 */ addi r6, r1, 0xf0
/* 80188EFC 00185E5C 4B FF 9C BD */ bl MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList
lbl_80188F00:
/* 80188F00 00185E60 80 A1 00 F0 */ lwz r5, 0xf0(r1)
/* 80188F04 00185E64 38 60 00 00 */ li r3, 0
/* 80188F08 00185E68 2C 05 00 00 */ cmpwi r5, 0
/* 80188F0C 00185E6C 40 81 00 40 */ ble lbl_80188F4C
/* 80188F10 00185E70 2C 05 00 08 */ cmpwi r5, 8
/* 80188F14 00185E74 38 85 FF F8 */ addi r4, r5, -8
/* 80188F18 00185E78 40 81 00 20 */ ble lbl_80188F38
/* 80188F1C 00185E7C 38 04 00 07 */ addi r0, r4, 7
/* 80188F20 00185E80 54 00 E8 FE */ srwi r0, r0, 3
/* 80188F24 00185E84 7C 09 03 A6 */ mtctr r0
/* 80188F28 00185E88 2C 04 00 00 */ cmpwi r4, 0
/* 80188F2C 00185E8C 40 81 00 0C */ ble lbl_80188F38
lbl_80188F30:
/* 80188F30 00185E90 38 63 00 08 */ addi r3, r3, 8
/* 80188F34 00185E94 42 00 FF FC */ bdnz lbl_80188F30
lbl_80188F38:
/* 80188F38 00185E98 7C 03 28 50 */ subf r0, r3, r5
/* 80188F3C 00185E9C 7C 09 03 A6 */ mtctr r0
/* 80188F40 00185EA0 7C 03 28 00 */ cmpw r3, r5
/* 80188F44 00185EA4 40 80 00 08 */ bge lbl_80188F4C
lbl_80188F48:
/* 80188F48 00185EA8 42 00 00 00 */ bdnz lbl_80188F48
lbl_80188F4C:
/* 80188F4C 00185EAC 38 00 00 00 */ li r0, 0
/* 80188F50 00185EB0 90 01 00 F0 */ stw r0, 0xf0(r1)
lbl_80188F54:
/* 80188F54 00185EB4 7F C3 F3 78 */ mr r3, r30
/* 80188F58 00185EB8 E3 E1 0D 48 */ psq_l f31, -696(r1), 0, qr0
/* 80188F5C 00185EBC CB E1 0D 40 */ lfd f31, 0xd40(r1)
/* 80188F60 00185EC0 E3 C1 0D 38 */ psq_l f30, -712(r1), 0, qr0
/* 80188F64 00185EC4 CB C1 0D 30 */ lfd f30, 0xd30(r1)
/* 80188F68 00185EC8 BA 81 0D 00 */ lmw r20, 0xd00(r1)
/* 80188F6C 00185ECC 80 01 0D 54 */ lwz r0, 0xd54(r1)
/* 80188F70 00185ED0 7C 08 03 A6 */ mtlr r0
/* 80188F74 00185ED4 38 21 0D 50 */ addi r1, r1, 0xd50
2022-07-14 05:48:03 +00:00
/* 80188F78 00185ED8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "ResolveUpDown__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>ffRfR18CCollisionInfoList"
"ResolveUpDown__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>ffRfR18CCollisionInfoList":
/* 80188F7C 00185EDC 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 80188F80 00185EE0 7C 08 02 A6 */ mflr r0
/* 80188F84 00185EE4 90 01 01 04 */ stw r0, 0x104(r1)
/* 80188F88 00185EE8 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 80188F8C 00185EEC F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 80188F90 00185EF0 DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 80188F94 00185EF4 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 80188F98 00185EF8 BE C1 00 B8 */ stmw r22, 0xb8(r1)
/* 80188F9C 00185EFC 7D 3F 4B 78 */ mr r31, r9
/* 80188FA0 00185F00 FF C0 08 90 */ fmr f30, f1
/* 80188FA4 00185F04 80 09 00 00 */ lwz r0, 0(r9)
/* 80188FA8 00185F08 FF E0 10 90 */ fmr f31, f2
/* 80188FAC 00185F0C 7C 76 1B 78 */ mr r22, r3
/* 80188FB0 00185F10 7C 9D 23 78 */ mr r29, r4
/* 80188FB4 00185F14 2C 00 00 00 */ cmpwi r0, 0
/* 80188FB8 00185F18 7C BE 2B 78 */ mr r30, r5
/* 80188FBC 00185F1C 7C D7 33 78 */ mr r23, r6
/* 80188FC0 00185F20 7C F8 3B 78 */ mr r24, r7
/* 80188FC4 00185F24 7D 19 43 78 */ mr r25, r8
/* 80188FC8 00185F28 40 81 02 A8 */ ble lbl_80189270
2022-08-13 01:26:00 +00:00
/* 80188FCC 00185F2C 3C 60 80 5A */ lis r3, mskInvertedBox__6CAABox@ha
/* 80188FD0 00185F30 C4 C3 67 54 */ lfsu f6, mskInvertedBox__6CAABox@l(r3)
2022-04-13 08:02:06 +00:00
/* 80188FD4 00185F34 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80188FD8 00185F38 3B 7F 00 04 */ addi r27, r31, 4
/* 80188FDC 00185F3C C0 A3 00 04 */ lfs f5, 4(r3)
/* 80188FE0 00185F40 7F 7C DB 78 */ mr r28, r27
/* 80188FE4 00185F44 C0 83 00 08 */ lfs f4, 8(r3)
/* 80188FE8 00185F48 3B 40 00 00 */ li r26, 0
/* 80188FEC 00185F4C C0 63 00 0C */ lfs f3, 0xc(r3)
/* 80188FF0 00185F50 C0 43 00 10 */ lfs f2, 0x10(r3)
/* 80188FF4 00185F54 C0 23 00 14 */ lfs f1, 0x14(r3)
/* 80188FF8 00185F58 D0 C1 00 6C */ stfs f6, 0x6c(r1)
/* 80188FFC 00185F5C D0 A1 00 70 */ stfs f5, 0x70(r1)
/* 80189000 00185F60 D0 81 00 74 */ stfs f4, 0x74(r1)
/* 80189004 00185F64 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 80189008 00185F68 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 8018900C 00185F6C D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80189010 00185F70 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80189014 00185F74 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80189018 00185F78 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8018901C 00185F7C 48 00 00 74 */ b lbl_80189090
lbl_80189020:
/* 80189020 00185F80 38 7C 00 38 */ addi r3, r28, 0x38
/* 80189024 00185F84 38 9C 00 48 */ addi r4, r28, 0x48
/* 80189028 00185F88 4B FF 98 A1 */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 8018902C 00185F8C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189030 00185F90 41 82 00 58 */ beq lbl_80189088
/* 80189034 00185F94 7F 84 E3 78 */ mr r4, r28
/* 80189038 00185F98 38 61 00 6C */ addi r3, r1, 0x6c
/* 8018903C 00185F9C 48 1A EA CD */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80189040 00185FA0 7F 84 E3 78 */ mr r4, r28
/* 80189044 00185FA4 38 61 00 3C */ addi r3, r1, 0x3c
/* 80189048 00185FA8 48 14 50 DD */ bl GetExtreme__14CCollisionInfoCFv
/* 8018904C 00185FAC 38 61 00 6C */ addi r3, r1, 0x6c
/* 80189050 00185FB0 38 81 00 3C */ addi r4, r1, 0x3c
/* 80189054 00185FB4 48 1A EA B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80189058 00185FB8 C0 21 00 48 */ lfs f1, 0x48(r1)
/* 8018905C 00185FBC C0 1C 00 48 */ lfs f0, 0x48(r28)
/* 80189060 00185FC0 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 80189064 00185FC4 EC 01 00 2A */ fadds f0, f1, f0
/* 80189068 00185FC8 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 8018906C 00185FCC D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80189070 00185FD0 C0 1C 00 4C */ lfs f0, 0x4c(r28)
/* 80189074 00185FD4 EC 02 00 2A */ fadds f0, f2, f0
/* 80189078 00185FD8 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 8018907C 00185FDC C0 1C 00 50 */ lfs f0, 0x50(r28)
/* 80189080 00185FE0 EC 01 00 2A */ fadds f0, f1, f0
/* 80189084 00185FE4 D0 01 00 50 */ stfs f0, 0x50(r1)
lbl_80189088:
/* 80189088 00185FE8 3B 9C 00 60 */ addi r28, r28, 0x60
/* 8018908C 00185FEC 3B 5A 00 01 */ addi r26, r26, 1
lbl_80189090:
/* 80189090 00185FF0 80 1F 00 00 */ lwz r0, 0(r31)
/* 80189094 00185FF4 7C 1A 00 00 */ cmpw r26, r0
/* 80189098 00185FF8 41 80 FF 88 */ blt lbl_80189020
/* 8018909C 00185FFC 38 61 00 48 */ addi r3, r1, 0x48
/* 801890A0 00186000 48 18 B6 59 */ bl CanBeNormalized__9CVector3fCFv
/* 801890A4 00186004 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801890A8 00186008 41 82 00 2C */ beq lbl_801890D4
/* 801890AC 0018600C 38 61 00 30 */ addi r3, r1, 0x30
/* 801890B0 00186010 38 81 00 48 */ addi r4, r1, 0x48
/* 801890B4 00186014 48 18 B7 9D */ bl AsNormalized__9CVector3fCFv
/* 801890B8 00186018 C0 41 00 30 */ lfs f2, 0x30(r1)
/* 801890BC 0018601C C0 21 00 34 */ lfs f1, 0x34(r1)
/* 801890C0 00186020 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 801890C4 00186024 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 801890C8 00186028 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 801890CC 0018602C D0 01 00 50 */ stfs f0, 0x50(r1)
/* 801890D0 00186030 48 00 00 0C */ b lbl_801890DC
lbl_801890D4:
/* 801890D4 00186034 38 60 00 01 */ li r3, 1
/* 801890D8 00186038 48 00 01 9C */ b lbl_80189274
lbl_801890DC:
/* 801890DC 0018603C 7F C4 F3 78 */ mr r4, r30
/* 801890E0 00186040 38 61 00 54 */ addi r3, r1, 0x54
/* 801890E4 00186044 4B F9 18 49 */ bl GetBoundingBox__13CPhysicsActorCFv
/* 801890E8 00186048 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 801890EC 0018604C C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 801890F0 00186050 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801890F4 00186054 4C 41 13 82 */ cror 2, 1, 2
/* 801890F8 00186058 40 82 00 28 */ bne lbl_80189120
/* 801890FC 0018605C C0 21 00 80 */ lfs f1, 0x80(r1)
/* 80189100 00186060 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80189104 00186064 C0 42 A3 3C */ lfs f2, lbl_805AC05C@sda21(r2)
/* 80189108 00186068 EC 01 00 28 */ fsubs f0, f1, f0
/* 8018910C 0018606C EF E2 00 2A */ fadds f31, f2, f0
/* 80189110 00186070 FC 1F F0 40 */ fcmpo cr0, f31, f30
/* 80189114 00186074 40 81 00 34 */ ble lbl_80189148
/* 80189118 00186078 38 60 00 01 */ li r3, 1
/* 8018911C 0018607C 48 00 01 58 */ b lbl_80189274
lbl_80189120:
/* 80189120 00186080 C0 61 00 74 */ lfs f3, 0x74(r1)
/* 80189124 00186084 FC 00 F8 50 */ fneg f0, f31
/* 80189128 00186088 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 8018912C 0018608C C0 22 A3 3C */ lfs f1, lbl_805AC05C@sda21(r2)
/* 80189130 00186090 EC 43 10 28 */ fsubs f2, f3, f2
/* 80189134 00186094 EF E2 08 28 */ fsubs f31, f2, f1
/* 80189138 00186098 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8018913C 0018609C 40 80 00 0C */ bge lbl_80189148
/* 80189140 001860A0 38 60 00 01 */ li r3, 1
/* 80189144 001860A4 48 00 01 30 */ b lbl_80189274
lbl_80189148:
/* 80189148 001860A8 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 8018914C 001860AC 7F C3 F3 78 */ mr r3, r30
/* 80189150 001860B0 D3 E1 00 2C */ stfs f31, 0x2c(r1)
/* 80189154 001860B4 38 81 00 24 */ addi r4, r1, 0x24
/* 80189158 001860B8 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8018915C 001860BC D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80189160 001860C0 4B F9 18 D9 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80189164 001860C4 7F C4 F3 78 */ mr r4, r30
/* 80189168 001860C8 38 61 00 84 */ addi r3, r1, 0x84
/* 8018916C 001860CC 81 9E 00 00 */ lwz r12, 0(r30)
/* 80189170 001860D0 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80189174 001860D4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189178 001860D8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018917C 001860DC 7F C3 F3 78 */ mr r3, r30
/* 80189180 001860E0 81 9E 00 00 */ lwz r12, 0(r30)
/* 80189184 001860E4 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80189188 001860E8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018918C 001860EC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189190 001860F0 7C 65 1B 78 */ mr r5, r3
/* 80189194 001860F4 7F A3 EB 78 */ mr r3, r29
/* 80189198 001860F8 7E C4 B3 78 */ mr r4, r22
/* 8018919C 001860FC 7E E7 BB 78 */ mr r7, r23
/* 801891A0 00186100 7F 08 C3 78 */ mr r8, r24
/* 801891A4 00186104 38 C1 00 84 */ addi r6, r1, 0x84
/* 801891A8 00186108 4B FF B3 BD */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801891AC 0018610C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801891B0 00186110 40 82 00 C0 */ bne lbl_80189270
/* 801891B4 00186114 D3 F9 00 00 */ stfs f31, 0(r25)
/* 801891B8 00186118 7F C3 F3 78 */ mr r3, r30
/* 801891BC 0018611C C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 801891C0 00186120 38 81 00 18 */ addi r4, r1, 0x18
/* 801891C4 00186124 C0 BE 00 60 */ lfs f5, 0x60(r30)
/* 801891C8 00186128 C0 9E 00 50 */ lfs f4, 0x50(r30)
/* 801891CC 0018612C C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 801891D0 00186130 EC 45 F8 2A */ fadds f2, f5, f31
/* 801891D4 00186134 EC 64 00 2A */ fadds f3, f4, f0
/* 801891D8 00186138 D0 81 00 10 */ stfs f4, 0x10(r1)
/* 801891DC 0018613C EC 01 00 2A */ fadds f0, f1, f0
/* 801891E0 00186140 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801891E4 00186144 D0 A1 00 14 */ stfs f5, 0x14(r1)
/* 801891E8 00186148 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 801891EC 0018614C D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 801891F0 00186150 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 801891F4 00186154 4B EC 9C 99 */ bl SetTranslation__6CActorFRC9CVector3f
/* 801891F8 00186158 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801891FC 0018615C 7F C3 F3 78 */ mr r3, r30
/* 80189200 00186160 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80189204 00186164 4B F9 18 35 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80189208 00186168 3B 40 00 00 */ li r26, 0
/* 8018920C 0018616C 3B 80 00 00 */ li r28, 0
/* 80189210 00186170 48 00 00 28 */ b lbl_80189238
lbl_80189214:
/* 80189214 00186174 38 7B 00 38 */ addi r3, r27, 0x38
/* 80189218 00186178 38 9B 00 48 */ addi r4, r27, 0x48
/* 8018921C 0018617C 4B FF 96 AD */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80189220 00186180 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189224 00186184 41 82 00 0C */ beq lbl_80189230
/* 80189228 00186188 3B 40 00 01 */ li r26, 1
/* 8018922C 0018618C 48 00 00 18 */ b lbl_80189244
lbl_80189230:
/* 80189230 00186190 3B 7B 00 60 */ addi r27, r27, 0x60
/* 80189234 00186194 3B 9C 00 01 */ addi r28, r28, 1
lbl_80189238:
/* 80189238 00186198 80 1F 00 00 */ lwz r0, 0(r31)
/* 8018923C 0018619C 7C 1C 00 00 */ cmpw r28, r0
/* 80189240 001861A0 41 80 FF D4 */ blt lbl_80189214
lbl_80189244:
/* 80189244 001861A4 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 80189248 001861A8 40 82 00 20 */ bne lbl_80189268
2022-04-24 01:54:45 +00:00
/* 8018924C 001861AC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80189250 001861B0 7F A3 EB 78 */ mr r3, r29
/* 80189254 001861B4 7F C4 F3 78 */ mr r4, r30
/* 80189258 001861B8 38 A1 00 08 */ addi r5, r1, 8
/* 8018925C 001861BC B0 01 00 08 */ sth r0, 8(r1)
/* 80189260 001861C0 38 C0 00 20 */ li r6, 0x20
2022-09-14 05:24:37 +00:00
/* 80189264 001861C4 4B EB AC 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_80189268:
/* 80189268 001861C8 38 60 00 00 */ li r3, 0
/* 8018926C 001861CC 48 00 00 08 */ b lbl_80189274
lbl_80189270:
/* 80189270 001861D0 38 60 00 01 */ li r3, 1
lbl_80189274:
/* 80189274 001861D4 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 80189278 001861D8 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 8018927C 001861DC E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 80189280 001861E0 CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 80189284 001861E4 BA C1 00 B8 */ lmw r22, 0xb8(r1)
/* 80189288 001861E8 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8018928C 001861EC 7C 08 03 A6 */ mtlr r0
/* 80189290 001861F0 38 21 01 00 */ addi r1, r1, 0x100
2022-07-14 05:48:03 +00:00
/* 80189294 001861F4 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MoveGroundCollider__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
"MoveGroundCollider__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80189298 001861F8 94 21 C1 90 */ stwu r1, -0x3e70(r1)
/* 8018929C 001861FC 7C 08 02 A6 */ mflr r0
/* 801892A0 00186200 90 01 3E 74 */ stw r0, 0x3e74(r1)
/* 801892A4 00186204 38 00 3E 68 */ li r0, 0x3e68
/* 801892A8 00186208 DB E1 3E 60 */ stfd f31, 0x3e60(r1)
/* 801892AC 0018620C 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0
/* 801892B0 00186210 38 00 3E 58 */ li r0, 0x3e58
/* 801892B4 00186214 DB C1 3E 50 */ stfd f30, 0x3e50(r1)
/* 801892B8 00186218 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0
/* 801892BC 0018621C 38 00 3E 48 */ li r0, 0x3e48
/* 801892C0 00186220 DB A1 3E 40 */ stfd f29, 0x3e40(r1)
/* 801892C4 00186224 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0
/* 801892C8 00186228 BF 61 3E 2C */ stmw r27, 0x3e2c(r1)
/* 801892CC 0018622C FF A0 08 90 */ fmr f29, f1
/* 801892D0 00186230 7C 7C 1B 78 */ mr r28, r3
/* 801892D4 00186234 7C 9D 23 78 */ mr r29, r4
/* 801892D8 00186238 7C BE 2B 78 */ mr r30, r5
/* 801892DC 0018623C 38 61 01 DC */ addi r3, r1, 0x1dc
/* 801892E0 00186240 4B F9 23 95 */ bl GetMotionState__13CPhysicsActorCFv
/* 801892E4 00186244 C1 81 01 DC */ lfs f12, 0x1dc(r1)
/* 801892E8 00186248 38 60 00 00 */ li r3, 0
/* 801892EC 0018624C C1 61 01 E0 */ lfs f11, 0x1e0(r1)
/* 801892F0 00186250 C1 41 01 E4 */ lfs f10, 0x1e4(r1)
/* 801892F4 00186254 C1 21 01 E8 */ lfs f9, 0x1e8(r1)
/* 801892F8 00186258 C1 01 01 EC */ lfs f8, 0x1ec(r1)
/* 801892FC 0018625C C0 E1 01 F0 */ lfs f7, 0x1f0(r1)
/* 80189300 00186260 C0 C1 01 F4 */ lfs f6, 0x1f4(r1)
/* 80189304 00186264 C0 A1 01 F8 */ lfs f5, 0x1f8(r1)
/* 80189308 00186268 C0 81 01 FC */ lfs f4, 0x1fc(r1)
/* 8018930C 0018626C C0 61 02 00 */ lfs f3, 0x200(r1)
/* 80189310 00186270 C0 41 02 04 */ lfs f2, 0x204(r1)
/* 80189314 00186274 C0 21 02 08 */ lfs f1, 0x208(r1)
/* 80189318 00186278 C0 01 02 0C */ lfs f0, 0x20c(r1)
/* 8018931C 0018627C D1 81 02 44 */ stfs f12, 0x244(r1)
/* 80189320 00186280 D1 61 02 48 */ stfs f11, 0x248(r1)
/* 80189324 00186284 D1 41 02 4C */ stfs f10, 0x24c(r1)
/* 80189328 00186288 D1 21 02 50 */ stfs f9, 0x250(r1)
/* 8018932C 0018628C D1 01 02 54 */ stfs f8, 0x254(r1)
/* 80189330 00186290 D0 E1 02 58 */ stfs f7, 0x258(r1)
/* 80189334 00186294 D0 C1 02 5C */ stfs f6, 0x25c(r1)
/* 80189338 00186298 D0 A1 02 60 */ stfs f5, 0x260(r1)
/* 8018933C 0018629C D0 81 02 64 */ stfs f4, 0x264(r1)
/* 80189340 001862A0 D0 61 02 68 */ stfs f3, 0x268(r1)
/* 80189344 001862A4 D0 41 02 6C */ stfs f2, 0x26c(r1)
/* 80189348 001862A8 D0 21 02 70 */ stfs f1, 0x270(r1)
/* 8018934C 001862AC D0 01 02 74 */ stfs f0, 0x274(r1)
/* 80189350 001862B0 4B F2 B1 A9 */ bl IsUser__Fi
/* 80189354 001862B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189358 001862B8 41 82 00 10 */ beq lbl_80189368
/* 8018935C 001862BC 7F A3 EB 78 */ mr r3, r29
/* 80189360 001862C0 38 81 02 44 */ addi r4, r1, 0x244
/* 80189364 001862C4 4B F9 23 C5 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
lbl_80189368:
/* 80189368 001862C8 FC 20 E8 90 */ fmr f1, f29
/* 8018936C 001862CC 7F A4 EB 78 */ mr r4, r29
/* 80189370 001862D0 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80189374 001862D4 4B F9 24 95 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80189378 001862D8 C1 81 01 A8 */ lfs f12, 0x1a8(r1)
/* 8018937C 001862DC 38 61 02 10 */ addi r3, r1, 0x210
/* 80189380 001862E0 C1 61 01 AC */ lfs f11, 0x1ac(r1)
/* 80189384 001862E4 C1 41 01 B0 */ lfs f10, 0x1b0(r1)
/* 80189388 001862E8 C1 21 01 B4 */ lfs f9, 0x1b4(r1)
/* 8018938C 001862EC C1 01 01 B8 */ lfs f8, 0x1b8(r1)
/* 80189390 001862F0 C0 E1 01 BC */ lfs f7, 0x1bc(r1)
/* 80189394 001862F4 C0 C1 01 C0 */ lfs f6, 0x1c0(r1)
/* 80189398 001862F8 C0 A1 01 C4 */ lfs f5, 0x1c4(r1)
/* 8018939C 001862FC C0 81 01 C8 */ lfs f4, 0x1c8(r1)
/* 801893A0 00186300 C0 61 01 CC */ lfs f3, 0x1cc(r1)
/* 801893A4 00186304 C0 41 01 D0 */ lfs f2, 0x1d0(r1)
/* 801893A8 00186308 C0 21 01 D4 */ lfs f1, 0x1d4(r1)
/* 801893AC 0018630C C0 01 01 D8 */ lfs f0, 0x1d8(r1)
/* 801893B0 00186310 D1 81 02 10 */ stfs f12, 0x210(r1)
/* 801893B4 00186314 D1 61 02 14 */ stfs f11, 0x214(r1)
/* 801893B8 00186318 D1 41 02 18 */ stfs f10, 0x218(r1)
/* 801893BC 0018631C D1 21 02 1C */ stfs f9, 0x21c(r1)
/* 801893C0 00186320 D1 01 02 20 */ stfs f8, 0x220(r1)
/* 801893C4 00186324 D0 E1 02 24 */ stfs f7, 0x224(r1)
/* 801893C8 00186328 D0 C1 02 28 */ stfs f6, 0x228(r1)
/* 801893CC 0018632C D0 A1 02 2C */ stfs f5, 0x22c(r1)
/* 801893D0 00186330 D0 81 02 30 */ stfs f4, 0x230(r1)
/* 801893D4 00186334 D0 61 02 34 */ stfs f3, 0x234(r1)
/* 801893D8 00186338 D0 41 02 38 */ stfs f2, 0x238(r1)
/* 801893DC 0018633C D0 21 02 3C */ stfs f1, 0x23c(r1)
/* 801893E0 00186340 D0 01 02 40 */ stfs f0, 0x240(r1)
/* 801893E4 00186344 48 18 B4 D5 */ bl Magnitude__9CVector3fCFv
2022-04-24 01:54:45 +00:00
/* 801893E8 00186348 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801893EC 0018634C 38 80 00 00 */ li r4, 0
/* 801893F0 00186350 FF E0 08 90 */ fmr f31, f1
/* 801893F4 00186354 90 81 32 24 */ stw r4, 0x3224(r1)
/* 801893F8 00186358 7F A3 EB 78 */ mr r3, r29
/* 801893FC 0018635C B0 01 00 20 */ sth r0, 0x20(r1)
/* 80189400 00186360 90 81 2A 20 */ stw r4, 0x2a20(r1)
/* 80189404 00186364 4B EC A4 B9 */ bl GetMaterialFilter__6CActorCFv
/* 80189408 00186368 FC 20 E8 90 */ fmr f1, f29
/* 8018940C 0018636C 7C 7F 1B 78 */ mr r31, r3
/* 80189410 00186370 7F A4 EB 78 */ mr r4, r29
/* 80189414 00186374 38 61 00 98 */ addi r3, r1, 0x98
/* 80189418 00186378 4B F9 12 9D */ bl GetMotionVolume__13CPhysicsActorCFf
/* 8018941C 0018637C C0 A1 00 98 */ lfs f5, 0x98(r1)
/* 80189420 00186380 28 1E 00 00 */ cmplwi r30, 0
/* 80189424 00186384 C0 81 00 9C */ lfs f4, 0x9c(r1)
/* 80189428 00186388 C0 61 00 A0 */ lfs f3, 0xa0(r1)
/* 8018942C 0018638C C0 41 00 A4 */ lfs f2, 0xa4(r1)
/* 80189430 00186390 C0 21 00 A8 */ lfs f1, 0xa8(r1)
/* 80189434 00186394 C0 01 00 AC */ lfs f0, 0xac(r1)
/* 80189438 00186398 D0 A1 00 C8 */ stfs f5, 0xc8(r1)
/* 8018943C 0018639C D0 81 00 CC */ stfs f4, 0xcc(r1)
/* 80189440 001863A0 D0 61 00 D0 */ stfs f3, 0xd0(r1)
/* 80189444 001863A4 D0 41 00 D4 */ stfs f2, 0xd4(r1)
/* 80189448 001863A8 D0 21 00 D8 */ stfs f1, 0xd8(r1)
/* 8018944C 001863AC D0 01 00 DC */ stfs f0, 0xdc(r1)
/* 80189450 001863B0 41 82 00 AC */ beq lbl_801894FC
/* 80189454 001863B4 38 01 2A 20 */ addi r0, r1, 0x2a20
/* 80189458 001863B8 7C 00 F0 40 */ cmplw r0, r30
/* 8018945C 001863BC 41 82 00 B4 */ beq lbl_80189510
/* 80189460 001863C0 80 A1 2A 20 */ lwz r5, 0x2a20(r1)
/* 80189464 001863C4 38 C1 2A 24 */ addi r6, r1, 0x2a24
/* 80189468 001863C8 38 60 00 00 */ li r3, 0
/* 8018946C 001863CC 2C 05 00 00 */ cmpwi r5, 0
/* 80189470 001863D0 40 81 00 40 */ ble lbl_801894B0
/* 80189474 001863D4 2C 05 00 08 */ cmpwi r5, 8
/* 80189478 001863D8 38 85 FF F8 */ addi r4, r5, -8
/* 8018947C 001863DC 40 81 00 20 */ ble lbl_8018949C
/* 80189480 001863E0 38 04 00 07 */ addi r0, r4, 7
/* 80189484 001863E4 54 00 E8 FE */ srwi r0, r0, 3
/* 80189488 001863E8 7C 09 03 A6 */ mtctr r0
/* 8018948C 001863EC 2C 04 00 00 */ cmpwi r4, 0
/* 80189490 001863F0 40 81 00 0C */ ble lbl_8018949C
lbl_80189494:
/* 80189494 001863F4 38 63 00 08 */ addi r3, r3, 8
/* 80189498 001863F8 42 00 FF FC */ bdnz lbl_80189494
lbl_8018949C:
/* 8018949C 001863FC 7C 03 28 50 */ subf r0, r3, r5
/* 801894A0 00186400 7C 09 03 A6 */ mtctr r0
/* 801894A4 00186404 7C 03 28 00 */ cmpw r3, r5
/* 801894A8 00186408 40 80 00 08 */ bge lbl_801894B0
lbl_801894AC:
/* 801894AC 0018640C 42 00 00 00 */ bdnz lbl_801894AC
lbl_801894B0:
/* 801894B0 00186410 80 1E 00 00 */ lwz r0, 0(r30)
/* 801894B4 00186414 38 60 00 00 */ li r3, 0
/* 801894B8 00186418 90 61 2A 20 */ stw r3, 0x2a20(r1)
/* 801894BC 0018641C 38 7E 00 04 */ addi r3, r30, 4
/* 801894C0 00186420 54 00 08 3C */ slwi r0, r0, 1
/* 801894C4 00186424 7C 9E 02 14 */ add r4, r30, r0
/* 801894C8 00186428 38 84 00 04 */ addi r4, r4, 4
/* 801894CC 0018642C 48 00 00 1C */ b lbl_801894E8
lbl_801894D0:
/* 801894D0 00186430 28 06 00 00 */ cmplwi r6, 0
/* 801894D4 00186434 41 82 00 0C */ beq lbl_801894E0
/* 801894D8 00186438 A0 03 00 00 */ lhz r0, 0(r3)
/* 801894DC 0018643C B0 06 00 00 */ sth r0, 0(r6)
lbl_801894E0:
/* 801894E0 00186440 38 C6 00 02 */ addi r6, r6, 2
/* 801894E4 00186444 38 63 00 02 */ addi r3, r3, 2
lbl_801894E8:
/* 801894E8 00186448 7C 03 20 40 */ cmplw r3, r4
/* 801894EC 0018644C 40 82 FF E4 */ bne lbl_801894D0
/* 801894F0 00186450 80 1E 00 00 */ lwz r0, 0(r30)
/* 801894F4 00186454 90 01 2A 20 */ stw r0, 0x2a20(r1)
/* 801894F8 00186458 48 00 00 18 */ b lbl_80189510
lbl_801894FC:
/* 801894FC 0018645C 7F 83 E3 78 */ mr r3, r28
/* 80189500 00186460 7F A5 EB 78 */ mr r5, r29
/* 80189504 00186464 38 81 2A 20 */ addi r4, r1, 0x2a20
/* 80189508 00186468 38 C1 00 C8 */ addi r6, r1, 0xc8
/* 8018950C 0018646C 4B EC 31 F1 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox"
lbl_80189510:
/* 80189510 00186470 38 61 0E DC */ addi r3, r1, 0xedc
/* 80189514 00186474 38 81 00 C8 */ addi r4, r1, 0xc8
/* 80189518 00186478 48 11 A5 79 */ bl __ct__19CAreaCollisionCacheFRC6CAABox
/* 8018951C 0018647C 7F A3 EB 78 */ mr r3, r29
/* 80189520 00186480 FF C0 E8 90 */ fmr f30, f29
/* 80189524 00186484 81 9D 00 00 */ lwz r12, 0(r29)
/* 80189528 00186488 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8018952C 0018648C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189530 00186490 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189534 00186494 81 83 00 00 */ lwz r12, 0(r3)
/* 80189538 00186498 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8018953C 0018649C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189540 001864A0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189544 001864A4 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 80189548 001864A8 28 00 54 47 */ cmplwi r0, 0x5447
/* 8018954C 001864AC 41 82 01 E8 */ beq lbl_80189734
/* 80189550 001864B0 7F 83 E3 78 */ mr r3, r28
/* 80189554 001864B4 38 81 0E DC */ addi r4, r1, 0xedc
/* 80189558 001864B8 4B FF B1 6D */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 8018955C 001864BC 7F A3 EB 78 */ mr r3, r29
/* 80189560 001864C0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80189564 001864C4 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80189568 001864C8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018956C 001864CC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189570 001864D0 4B FF 91 5D */ bl GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
/* 80189574 001864D4 C0 02 A3 20 */ lfs f0, lbl_805AC040@sda21(r2)
/* 80189578 001864D8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8018957C 001864DC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80189580 001864E0 40 81 01 B4 */ ble lbl_80189734
/* 80189584 001864E4 7F A4 EB 78 */ mr r4, r29
/* 80189588 001864E8 38 61 01 78 */ addi r3, r1, 0x178
/* 8018958C 001864EC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80189590 001864F0 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80189594 001864F4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189598 001864F8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018959C 001864FC 7F A3 EB 78 */ mr r3, r29
/* 801895A0 00186500 81 9D 00 00 */ lwz r12, 0(r29)
/* 801895A4 00186504 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 801895A8 00186508 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801895AC 0018650C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801895B0 00186510 7C 64 1B 78 */ mr r4, r3
/* 801895B4 00186514 38 61 00 80 */ addi r3, r1, 0x80
/* 801895B8 00186518 81 84 00 00 */ lwz r12, 0(r4)
/* 801895BC 0018651C 38 A1 01 78 */ addi r5, r1, 0x178
/* 801895C0 00186520 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801895C4 00186524 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801895C8 00186528 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801895CC 0018652C C0 A1 00 80 */ lfs f5, 0x80(r1)
/* 801895D0 00186530 38 61 00 40 */ addi r3, r1, 0x40
/* 801895D4 00186534 C0 81 00 84 */ lfs f4, 0x84(r1)
/* 801895D8 00186538 38 81 00 B0 */ addi r4, r1, 0xb0
/* 801895DC 0018653C C0 61 00 88 */ lfs f3, 0x88(r1)
/* 801895E0 00186540 C0 41 00 8C */ lfs f2, 0x8c(r1)
/* 801895E4 00186544 C0 21 00 90 */ lfs f1, 0x90(r1)
/* 801895E8 00186548 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 801895EC 0018654C D0 A1 00 B0 */ stfs f5, 0xb0(r1)
/* 801895F0 00186550 D0 81 00 B4 */ stfs f4, 0xb4(r1)
/* 801895F4 00186554 D0 61 00 B8 */ stfs f3, 0xb8(r1)
/* 801895F8 00186558 D0 41 00 BC */ stfs f2, 0xbc(r1)
/* 801895FC 0018655C D0 21 00 C0 */ stfs f1, 0xc0(r1)
/* 80189600 00186560 D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 80189604 00186564 48 1A E0 09 */ bl GetCenterPoint__6CAABoxCFv
/* 80189608 00186568 C0 02 A3 10 */ lfs f0, lbl_805AC030@sda21(r2)
/* 8018960C 0018656C 38 60 00 00 */ li r3, 0
/* 80189610 00186570 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 80189614 00186574 38 80 00 01 */ li r4, 1
/* 80189618 00186578 EC C0 F8 24 */ fdivs f6, f0, f31
/* 8018961C 0018657C C0 41 02 14 */ lfs f2, 0x214(r1)
/* 80189620 00186580 C0 21 02 18 */ lfs f1, 0x218(r1)
/* 80189624 00186584 C0 01 02 10 */ lfs f0, 0x210(r1)
/* 80189628 00186588 C0 81 00 44 */ lfs f4, 0x44(r1)
/* 8018962C 0018658C C0 61 00 48 */ lfs f3, 0x48(r1)
/* 80189630 00186590 EC 46 00 B2 */ fmuls f2, f6, f2
2022-04-24 01:54:45 +00:00
/* 80189634 00186594 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80189638 00186598 EC 26 00 72 */ fmuls f1, f6, f1
/* 8018963C 0018659C 80 AD 8E AC */ lwz r5, lbl_805A7A6C@sda21(r13)
/* 80189640 001865A0 EC 06 00 32 */ fmuls f0, f6, f0
/* 80189644 001865A4 D0 A1 00 58 */ stfs f5, 0x58(r1)
/* 80189648 001865A8 D0 81 00 5C */ stfs f4, 0x5c(r1)
/* 8018964C 001865AC D0 61 00 60 */ stfs f3, 0x60(r1)
/* 80189650 001865B0 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80189654 001865B4 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 80189658 001865B8 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 8018965C 001865BC B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80189660 001865C0 48 20 08 95 */ bl __shl2i
/* 80189664 001865C4 39 40 00 00 */ li r10, 0
/* 80189668 001865C8 38 00 00 01 */ li r0, 1
/* 8018966C 001865CC 90 81 00 6C */ stw r4, 0x6c(r1)
/* 80189670 001865D0 FC 20 F8 90 */ fmr f1, f31
/* 80189674 001865D4 7F 84 E3 78 */ mr r4, r28
/* 80189678 001865D8 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8018967C 001865DC 90 61 00 68 */ stw r3, 0x68(r1)
/* 80189680 001865E0 38 61 01 48 */ addi r3, r1, 0x148
/* 80189684 001865E4 38 C1 00 58 */ addi r6, r1, 0x58
/* 80189688 001865E8 91 41 00 74 */ stw r10, 0x74(r1)
/* 8018968C 001865EC 38 E1 00 4C */ addi r7, r1, 0x4c
/* 80189690 001865F0 39 01 00 68 */ addi r8, r1, 0x68
/* 80189694 001865F4 39 21 2A 20 */ addi r9, r1, 0x2a20
/* 80189698 001865F8 91 41 00 70 */ stw r10, 0x70(r1)
/* 8018969C 001865FC 90 01 00 78 */ stw r0, 0x78(r1)
/* 801896A0 00186600 4B EC 39 25 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801896A4 00186604 88 01 01 68 */ lbz r0, 0x168(r1)
/* 801896A8 00186608 C0 01 01 48 */ lfs f0, 0x148(r1)
/* 801896AC 0018660C 28 00 00 00 */ cmplwi r0, 0
/* 801896B0 00186610 41 82 00 84 */ beq lbl_80189734
/* 801896B4 00186614 EC 00 F8 24 */ fdivs f0, f0, f31
/* 801896B8 00186618 7F A4 EB 78 */ mr r4, r29
/* 801896BC 0018661C 38 61 01 10 */ addi r3, r1, 0x110
/* 801896C0 00186620 EF DD 00 32 */ fmuls f30, f29, f0
/* 801896C4 00186624 FC 20 F0 90 */ fmr f1, f30
/* 801896C8 00186628 4B F9 21 41 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 801896CC 0018662C 83 61 01 10 */ lwz r27, 0x110(r1)
/* 801896D0 00186630 83 C1 01 14 */ lwz r30, 0x114(r1)
/* 801896D4 00186634 81 81 01 18 */ lwz r12, 0x118(r1)
/* 801896D8 00186638 81 61 01 1C */ lwz r11, 0x11c(r1)
/* 801896DC 0018663C 81 41 01 20 */ lwz r10, 0x120(r1)
/* 801896E0 00186640 81 21 01 24 */ lwz r9, 0x124(r1)
/* 801896E4 00186644 81 01 01 28 */ lwz r8, 0x128(r1)
/* 801896E8 00186648 80 E1 01 2C */ lwz r7, 0x12c(r1)
/* 801896EC 0018664C 80 C1 01 30 */ lwz r6, 0x130(r1)
/* 801896F0 00186650 80 A1 01 34 */ lwz r5, 0x134(r1)
/* 801896F4 00186654 80 81 01 38 */ lwz r4, 0x138(r1)
/* 801896F8 00186658 80 61 01 3C */ lwz r3, 0x13c(r1)
/* 801896FC 0018665C 80 01 01 40 */ lwz r0, 0x140(r1)
/* 80189700 00186660 93 61 02 10 */ stw r27, 0x210(r1)
/* 80189704 00186664 93 C1 02 14 */ stw r30, 0x214(r1)
/* 80189708 00186668 91 81 02 18 */ stw r12, 0x218(r1)
/* 8018970C 0018666C 91 61 02 1C */ stw r11, 0x21c(r1)
/* 80189710 00186670 91 41 02 20 */ stw r10, 0x220(r1)
/* 80189714 00186674 91 21 02 24 */ stw r9, 0x224(r1)
/* 80189718 00186678 91 01 02 28 */ stw r8, 0x228(r1)
/* 8018971C 0018667C 90 E1 02 2C */ stw r7, 0x22c(r1)
/* 80189720 00186680 90 C1 02 30 */ stw r6, 0x230(r1)
/* 80189724 00186684 90 A1 02 34 */ stw r5, 0x234(r1)
/* 80189728 00186688 90 81 02 38 */ stw r4, 0x238(r1)
/* 8018972C 0018668C 90 61 02 3C */ stw r3, 0x23c(r1)
/* 80189730 00186690 90 01 02 40 */ stw r0, 0x240(r1)
lbl_80189734:
/* 80189734 00186694 7F A3 EB 78 */ mr r3, r29
/* 80189738 00186698 38 81 02 10 */ addi r4, r1, 0x210
/* 8018973C 0018669C 4B F9 12 FD */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80189740 001866A0 7F A4 EB 78 */ mr r4, r29
/* 80189744 001866A4 38 61 00 E0 */ addi r3, r1, 0xe0
/* 80189748 001866A8 81 9D 00 00 */ lwz r12, 0(r29)
/* 8018974C 001866AC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80189750 001866B0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189754 001866B4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189758 001866B8 7F A3 EB 78 */ mr r3, r29
/* 8018975C 001866BC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80189760 001866C0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80189764 001866C4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189768 001866C8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018976C 001866CC 7C 65 1B 78 */ mr r5, r3
/* 80189770 001866D0 7F 83 E3 78 */ mr r3, r28
/* 80189774 001866D4 7F E7 FB 78 */ mr r7, r31
/* 80189778 001866D8 38 81 0E DC */ addi r4, r1, 0xedc
/* 8018977C 001866DC 38 C1 00 E0 */ addi r6, r1, 0xe0
/* 80189780 001866E0 39 01 2A 20 */ addi r8, r1, 0x2a20
/* 80189784 001866E4 39 21 00 20 */ addi r9, r1, 0x20
/* 80189788 001866E8 39 41 32 24 */ addi r10, r1, 0x3224
/* 8018978C 001866EC 4B FF AC 59 */ bl "DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
/* 80189790 001866F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189794 001866F4 41 82 00 8C */ beq lbl_80189820
/* 80189798 001866F8 7F A3 EB 78 */ mr r3, r29
/* 8018979C 001866FC 81 9D 00 00 */ lwz r12, 0(r29)
/* 801897A0 00186700 81 8C 00 7C */ lwz r12, 0x7c(r12)
/* 801897A4 00186704 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801897A8 00186708 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801897AC 0018670C C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 801897B0 00186710 FF E0 08 90 */ fmr f31, f1
/* 801897B4 00186714 7F A3 EB 78 */ mr r3, r29
/* 801897B8 00186718 38 81 02 10 */ addi r4, r1, 0x210
/* 801897BC 0018671C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 801897C0 00186720 4B F9 1D 55 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 801897C4 00186724 FC 20 F8 90 */ fmr f1, f31
/* 801897C8 00186728 C0 42 A3 18 */ lfs f2, lbl_805AC038@sda21(r2)
/* 801897CC 0018672C 7F 84 E3 78 */ mr r4, r28
/* 801897D0 00186730 7F A5 EB 78 */ mr r5, r29
/* 801897D4 00186734 7F E6 FB 78 */ mr r6, r31
/* 801897D8 00186738 38 61 0E DC */ addi r3, r1, 0xedc
/* 801897DC 0018673C 38 E1 2A 20 */ addi r7, r1, 0x2a20
/* 801897E0 00186740 39 01 00 28 */ addi r8, r1, 0x28
/* 801897E4 00186744 39 21 32 24 */ addi r9, r1, 0x3224
/* 801897E8 00186748 4B FF F7 95 */ bl "ResolveUpDown__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>ffRfR18CCollisionInfoList"
/* 801897EC 0018674C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801897F0 00186750 41 82 00 3C */ beq lbl_8018982C
/* 801897F4 00186754 7F A3 EB 78 */ mr r3, r29
/* 801897F8 00186758 38 81 02 44 */ addi r4, r1, 0x244
/* 801897FC 0018675C 4B F9 1F 2D */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
/* 80189800 00186760 FC 20 F0 90 */ fmr f1, f30
/* 80189804 00186764 7F 84 E3 78 */ mr r4, r28
/* 80189808 00186768 7F A5 EB 78 */ mr r5, r29
/* 8018980C 0018676C 7F E6 FB 78 */ mr r6, r31
/* 80189810 00186770 38 61 0E DC */ addi r3, r1, 0xedc
/* 80189814 00186774 38 E1 2A 20 */ addi r7, r1, 0x2a20
/* 80189818 00186778 4B FF E9 E1 */ bl "MoveGroundColliderXY__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>f"
/* 8018981C 0018677C 48 00 00 10 */ b lbl_8018982C
lbl_80189820:
/* 80189820 00186780 7F A3 EB 78 */ mr r3, r29
/* 80189824 00186784 38 81 02 10 */ addi r4, r1, 0x210
/* 80189828 00186788 4B F9 1C ED */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
lbl_8018982C:
/* 8018982C 0018678C C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80189830 00186790 7F A3 EB 78 */ mr r3, r29
/* 80189834 00186794 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80189838 00186798 81 9D 00 00 */ lwz r12, 0(r29)
/* 8018983C 0018679C 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 80189840 001867A0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189844 001867A4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189848 001867A8 80 A1 32 24 */ lwz r5, 0x3224(r1)
/* 8018984C 001867AC 38 60 00 00 */ li r3, 0
/* 80189850 001867B0 2C 05 00 00 */ cmpwi r5, 0
/* 80189854 001867B4 40 81 00 40 */ ble lbl_80189894
/* 80189858 001867B8 2C 05 00 08 */ cmpwi r5, 8
/* 8018985C 001867BC 38 85 FF F8 */ addi r4, r5, -8
/* 80189860 001867C0 40 81 00 20 */ ble lbl_80189880
/* 80189864 001867C4 38 04 00 07 */ addi r0, r4, 7
/* 80189868 001867C8 54 00 E8 FE */ srwi r0, r0, 3
/* 8018986C 001867CC 7C 09 03 A6 */ mtctr r0
/* 80189870 001867D0 2C 04 00 00 */ cmpwi r4, 0
/* 80189874 001867D4 40 81 00 0C */ ble lbl_80189880
lbl_80189878:
/* 80189878 001867D8 38 63 00 08 */ addi r3, r3, 8
/* 8018987C 001867DC 42 00 FF FC */ bdnz lbl_80189878
lbl_80189880:
/* 80189880 001867E0 7C 03 28 50 */ subf r0, r3, r5
/* 80189884 001867E4 7C 09 03 A6 */ mtctr r0
/* 80189888 001867E8 7C 03 28 00 */ cmpw r3, r5
/* 8018988C 001867EC 40 80 00 08 */ bge lbl_80189894
lbl_80189890:
/* 80189890 001867F0 42 00 00 00 */ bdnz lbl_80189890
lbl_80189894:
/* 80189894 001867F4 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80189898 001867F8 38 60 00 00 */ li r3, 0
2022-04-24 01:54:45 +00:00
/* 8018989C 001867FC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801898A0 00186800 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801898A4 00186804 90 61 32 24 */ stw r3, 0x3224(r1)
/* 801898A8 00186808 B0 01 00 18 */ sth r0, 0x18(r1)
/* 801898AC 0018680C 4C 41 13 82 */ cror 2, 1, 2
/* 801898B0 00186810 40 82 01 88 */ bne lbl_80189A38
/* 801898B4 00186814 FC 20 08 50 */ fneg f1, f1
/* 801898B8 00186818 7F 84 E3 78 */ mr r4, r28
/* 801898BC 0018681C 7F A5 EB 78 */ mr r5, r29
/* 801898C0 00186820 7F E6 FB 78 */ mr r6, r31
/* 801898C4 00186824 38 61 0E DC */ addi r3, r1, 0xedc
/* 801898C8 00186828 38 E1 2A 20 */ addi r7, r1, 0x2a20
/* 801898CC 0018682C 39 01 00 24 */ addi r8, r1, 0x24
/* 801898D0 00186830 39 21 32 24 */ addi r9, r1, 0x3224
/* 801898D4 00186834 39 41 00 18 */ addi r10, r1, 0x18
/* 801898D8 00186838 4B FF F2 F9 */ bl "MoveGroundColliderZ__15CGroundMovementFR19CAreaCollisionCacheR13CStateManagerR13CPhysicsActorRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>fRfR18CCollisionInfoListR9TUniqueId"
/* 801898DC 0018683C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801898E0 00186840 41 82 01 58 */ beq lbl_80189A38
/* 801898E4 00186844 80 01 32 24 */ lwz r0, 0x3224(r1)
/* 801898E8 00186848 2C 00 00 00 */ cmpwi r0, 0
/* 801898EC 0018684C 40 81 01 5C */ ble lbl_80189A48
/* 801898F0 00186850 C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 801898F4 00186854 38 00 00 00 */ li r0, 0
/* 801898F8 00186858 C0 02 A3 10 */ lfs f0, lbl_805AC030@sda21(r2)
/* 801898FC 0018685C 38 61 00 34 */ addi r3, r1, 0x34
/* 80189900 00186860 90 01 02 D8 */ stw r0, 0x2d8(r1)
/* 80189904 00186864 38 81 32 24 */ addi r4, r1, 0x3224
/* 80189908 00186868 38 A1 02 D8 */ addi r5, r1, 0x2d8
/* 8018990C 0018686C D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80189910 00186870 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 80189914 00186874 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80189918 00186878 48 14 8B 41 */ bl FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
/* 8018991C 0018687C 80 01 02 D8 */ lwz r0, 0x2d8(r1)
/* 80189920 00186880 2C 00 00 00 */ cmpwi r0, 0
/* 80189924 00186884 40 81 00 BC */ ble lbl_801899E0
/* 80189928 00186888 38 61 02 78 */ addi r3, r1, 0x278
/* 8018992C 0018688C 38 81 02 DC */ addi r4, r1, 0x2dc
/* 80189930 00186890 4B F6 7B 71 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo
/* 80189934 00186894 3B 61 02 B0 */ addi r27, r1, 0x2b0
/* 80189938 00186898 38 81 02 C0 */ addi r4, r1, 0x2c0
/* 8018993C 0018689C 7F 63 DB 78 */ mr r3, r27
/* 80189940 001868A0 4B FF 8F 89 */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80189944 001868A4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189948 001868A8 41 82 00 88 */ beq lbl_801899D0
/* 8018994C 001868AC A0 01 00 18 */ lhz r0, 0x18(r1)
/* 80189950 001868B0 7F 83 E3 78 */ mr r3, r28
/* 80189954 001868B4 38 81 00 14 */ addi r4, r1, 0x14
/* 80189958 001868B8 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8018995C 001868BC 4B EC 2C 19 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80189960 001868C0 7C 60 1B 78 */ mr r0, r3
/* 80189964 001868C4 38 61 00 2C */ addi r3, r1, 0x2c
/* 80189968 001868C8 7C 1E 03 78 */ mr r30, r0
/* 8018996C 001868CC 7F C4 F3 78 */ mr r4, r30
/* 80189970 001868D0 4B F1 F4 A5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80189974 001868D4 80 03 00 04 */ lwz r0, 4(r3)
/* 80189978 001868D8 28 00 00 00 */ cmplwi r0, 0
/* 8018997C 001868DC 41 82 00 24 */ beq lbl_801899A0
/* 80189980 001868E0 A0 1D 00 08 */ lhz r0, 8(r29)
/* 80189984 001868E4 7F 83 E3 78 */ mr r3, r28
/* 80189988 001868E8 7F C4 F3 78 */ mr r4, r30
/* 8018998C 001868EC 38 A1 00 10 */ addi r5, r1, 0x10
/* 80189990 001868F0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80189994 001868F4 38 C0 00 1F */ li r6, 0x1f
/* 80189998 001868F8 B0 01 00 10 */ sth r0, 0x10(r1)
2022-09-14 05:24:37 +00:00
/* 8018999C 001868FC 4B EB A5 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_801899A0:
/* 801899A0 00186900 7F 83 E3 78 */ mr r3, r28
/* 801899A4 00186904 7F 64 DB 78 */ mr r4, r27
/* 801899A8 00186908 7F A5 EB 78 */ mr r5, r29
/* 801899AC 0018690C 4B FF 8F AD */ bl SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor
2022-04-24 01:54:45 +00:00
/* 801899B0 00186910 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801899B4 00186914 7F 83 E3 78 */ mr r3, r28
/* 801899B8 00186918 7F A4 EB 78 */ mr r4, r29
/* 801899BC 0018691C 38 A1 00 08 */ addi r5, r1, 8
/* 801899C0 00186920 B0 01 00 08 */ sth r0, 8(r1)
/* 801899C4 00186924 38 C0 00 17 */ li r6, 0x17
2022-09-14 05:24:37 +00:00
/* 801899C8 00186928 4B EB A5 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 801899CC 0018692C 48 00 00 14 */ b lbl_801899E0
lbl_801899D0:
/* 801899D0 00186930 FC 20 E8 90 */ fmr f1, f29
/* 801899D4 00186934 7F A3 EB 78 */ mr r3, r29
/* 801899D8 00186938 7F 84 E3 78 */ mr r4, r28
/* 801899DC 0018693C 48 00 02 55 */ bl CheckFalling__15CGroundMovementFR13CPhysicsActorR13CStateManagerf
lbl_801899E0:
/* 801899E0 00186940 80 A1 02 D8 */ lwz r5, 0x2d8(r1)
/* 801899E4 00186944 38 60 00 00 */ li r3, 0
/* 801899E8 00186948 2C 05 00 00 */ cmpwi r5, 0
/* 801899EC 0018694C 40 81 00 40 */ ble lbl_80189A2C
/* 801899F0 00186950 2C 05 00 08 */ cmpwi r5, 8
/* 801899F4 00186954 38 85 FF F8 */ addi r4, r5, -8
/* 801899F8 00186958 40 81 00 20 */ ble lbl_80189A18
/* 801899FC 0018695C 38 04 00 07 */ addi r0, r4, 7
/* 80189A00 00186960 54 00 E8 FE */ srwi r0, r0, 3
/* 80189A04 00186964 7C 09 03 A6 */ mtctr r0
/* 80189A08 00186968 2C 04 00 00 */ cmpwi r4, 0
/* 80189A0C 0018696C 40 81 00 0C */ ble lbl_80189A18
lbl_80189A10:
/* 80189A10 00186970 38 63 00 08 */ addi r3, r3, 8
/* 80189A14 00186974 42 00 FF FC */ bdnz lbl_80189A10
lbl_80189A18:
/* 80189A18 00186978 7C 03 28 50 */ subf r0, r3, r5
/* 80189A1C 0018697C 7C 09 03 A6 */ mtctr r0
/* 80189A20 00186980 7C 03 28 00 */ cmpw r3, r5
/* 80189A24 00186984 40 80 00 08 */ bge lbl_80189A2C
lbl_80189A28:
/* 80189A28 00186988 42 00 00 00 */ bdnz lbl_80189A28
lbl_80189A2C:
/* 80189A2C 0018698C 38 00 00 00 */ li r0, 0
/* 80189A30 00186990 90 01 02 D8 */ stw r0, 0x2d8(r1)
/* 80189A34 00186994 48 00 00 14 */ b lbl_80189A48
lbl_80189A38:
/* 80189A38 00186998 FC 20 E8 90 */ fmr f1, f29
/* 80189A3C 0018699C 7F A3 EB 78 */ mr r3, r29
/* 80189A40 001869A0 7F 84 E3 78 */ mr r4, r28
/* 80189A44 001869A4 48 00 01 ED */ bl CheckFalling__15CGroundMovementFR13CPhysicsActorR13CStateManagerf
lbl_80189A48:
/* 80189A48 001869A8 7F A3 EB 78 */ mr r3, r29
/* 80189A4C 001869AC 4B F9 18 69 */ bl ClearForcesAndTorques__13CPhysicsActorFv
/* 80189A50 001869B0 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80189A54 001869B4 7F A3 EB 78 */ mr r3, r29
/* 80189A58 001869B8 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80189A5C 001869BC 4B F9 0F DD */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80189A60 001869C0 80 7D 00 68 */ lwz r3, 0x68(r29)
/* 80189A64 001869C4 38 00 00 01 */ li r0, 1
/* 80189A68 001869C8 80 BD 00 6C */ lwz r5, 0x6c(r29)
/* 80189A6C 001869CC 38 80 00 00 */ li r4, 0
/* 80189A70 001869D0 7C 60 00 38 */ and r0, r3, r0
/* 80189A74 001869D4 7C A3 20 38 */ and r3, r5, r4
/* 80189A78 001869D8 7C 63 22 78 */ xor r3, r3, r4
/* 80189A7C 001869DC 7C 00 22 78 */ xor r0, r0, r4
/* 80189A80 001869E0 7C 60 03 79 */ or. r0, r3, r0
/* 80189A84 001869E4 41 82 00 38 */ beq lbl_80189ABC
/* 80189A88 001869E8 7F A3 EB 78 */ mr r3, r29
/* 80189A8C 001869EC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80189A90 001869F0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80189A94 001869F4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189A98 001869F8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189A9C 001869FC C0 22 A3 18 */ lfs f1, lbl_805AC038@sda21(r2)
/* 80189AA0 00186A00 7C 66 1B 78 */ mr r6, r3
/* 80189AA4 00186A04 7F 83 E3 78 */ mr r3, r28
/* 80189AA8 00186A08 7F A5 EB 78 */ mr r5, r29
/* 80189AAC 00186A0C 38 81 0E DC */ addi r4, r1, 0xedc
/* 80189AB0 00186A10 38 E1 2A 20 */ addi r7, r1, 0x2a20
/* 80189AB4 00186A14 39 00 00 01 */ li r8, 1
/* 80189AB8 00186A18 4B FF 6D D5 */ bl "CollisionFailsafe__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheR13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>fUi"
lbl_80189ABC:
/* 80189ABC 00186A1C 34 E1 0E F4 */ addic. r7, r1, 0xef4
/* 80189AC0 00186A20 41 82 00 94 */ beq lbl_80189B54
/* 80189AC4 00186A24 38 C7 00 04 */ addi r6, r7, 4
/* 80189AC8 00186A28 38 60 00 00 */ li r3, 0
/* 80189ACC 00186A2C 48 00 00 74 */ b lbl_80189B40
lbl_80189AD0:
/* 80189AD0 00186A30 28 06 00 00 */ cmplwi r6, 0
/* 80189AD4 00186A34 41 82 00 64 */ beq lbl_80189B38
/* 80189AD8 00186A38 34 06 00 04 */ addic. r0, r6, 4
/* 80189ADC 00186A3C 41 82 00 5C */ beq lbl_80189B38
/* 80189AE0 00186A40 81 06 00 04 */ lwz r8, 4(r6)
/* 80189AE4 00186A44 38 80 00 00 */ li r4, 0
/* 80189AE8 00186A48 2C 08 00 00 */ cmpwi r8, 0
/* 80189AEC 00186A4C 40 81 00 44 */ ble lbl_80189B30
/* 80189AF0 00186A50 2C 08 00 08 */ cmpwi r8, 8
/* 80189AF4 00186A54 38 A8 FF F8 */ addi r5, r8, -8
/* 80189AF8 00186A58 40 81 00 20 */ ble lbl_80189B18
/* 80189AFC 00186A5C 38 05 00 07 */ addi r0, r5, 7
/* 80189B00 00186A60 54 00 E8 FE */ srwi r0, r0, 3
/* 80189B04 00186A64 7C 09 03 A6 */ mtctr r0
/* 80189B08 00186A68 2C 05 00 00 */ cmpwi r5, 0
/* 80189B0C 00186A6C 40 81 00 0C */ ble lbl_80189B18
lbl_80189B10:
/* 80189B10 00186A70 38 84 00 08 */ addi r4, r4, 8
/* 80189B14 00186A74 42 00 FF FC */ bdnz lbl_80189B10
lbl_80189B18:
/* 80189B18 00186A78 7C 04 40 50 */ subf r0, r4, r8
/* 80189B1C 00186A7C 7C 09 03 A6 */ mtctr r0
/* 80189B20 00186A80 7C 04 40 00 */ cmpw r4, r8
/* 80189B24 00186A84 40 80 00 0C */ bge lbl_80189B30
lbl_80189B28:
/* 80189B28 00186A88 38 84 00 01 */ addi r4, r4, 1
/* 80189B2C 00186A8C 42 00 FF FC */ bdnz lbl_80189B28
lbl_80189B30:
/* 80189B30 00186A90 38 00 00 00 */ li r0, 0
/* 80189B34 00186A94 90 06 00 04 */ stw r0, 4(r6)
lbl_80189B38:
/* 80189B38 00186A98 38 C6 09 0C */ addi r6, r6, 0x90c
/* 80189B3C 00186A9C 38 63 00 01 */ addi r3, r3, 1
lbl_80189B40:
/* 80189B40 00186AA0 80 07 00 00 */ lwz r0, 0(r7)
/* 80189B44 00186AA4 7C 03 00 00 */ cmpw r3, r0
/* 80189B48 00186AA8 41 80 FF 88 */ blt lbl_80189AD0
/* 80189B4C 00186AAC 38 00 00 00 */ li r0, 0
/* 80189B50 00186AB0 90 07 00 00 */ stw r0, 0(r7)
lbl_80189B54:
/* 80189B54 00186AB4 80 A1 2A 20 */ lwz r5, 0x2a20(r1)
/* 80189B58 00186AB8 38 60 00 00 */ li r3, 0
/* 80189B5C 00186ABC 2C 05 00 00 */ cmpwi r5, 0
/* 80189B60 00186AC0 40 81 00 40 */ ble lbl_80189BA0
/* 80189B64 00186AC4 2C 05 00 08 */ cmpwi r5, 8
/* 80189B68 00186AC8 38 85 FF F8 */ addi r4, r5, -8
/* 80189B6C 00186ACC 40 81 00 20 */ ble lbl_80189B8C
/* 80189B70 00186AD0 38 04 00 07 */ addi r0, r4, 7
/* 80189B74 00186AD4 54 00 E8 FE */ srwi r0, r0, 3
/* 80189B78 00186AD8 7C 09 03 A6 */ mtctr r0
/* 80189B7C 00186ADC 2C 04 00 00 */ cmpwi r4, 0
/* 80189B80 00186AE0 40 81 00 0C */ ble lbl_80189B8C
lbl_80189B84:
/* 80189B84 00186AE4 38 63 00 08 */ addi r3, r3, 8
/* 80189B88 00186AE8 42 00 FF FC */ bdnz lbl_80189B84
lbl_80189B8C:
/* 80189B8C 00186AEC 7C 03 28 50 */ subf r0, r3, r5
/* 80189B90 00186AF0 7C 09 03 A6 */ mtctr r0
/* 80189B94 00186AF4 7C 03 28 00 */ cmpw r3, r5
/* 80189B98 00186AF8 40 80 00 08 */ bge lbl_80189BA0
lbl_80189B9C:
/* 80189B9C 00186AFC 42 00 00 00 */ bdnz lbl_80189B9C
lbl_80189BA0:
/* 80189BA0 00186B00 80 A1 32 24 */ lwz r5, 0x3224(r1)
/* 80189BA4 00186B04 38 60 00 00 */ li r3, 0
/* 80189BA8 00186B08 90 61 2A 20 */ stw r3, 0x2a20(r1)
/* 80189BAC 00186B0C 2C 05 00 00 */ cmpwi r5, 0
/* 80189BB0 00186B10 40 81 00 40 */ ble lbl_80189BF0
/* 80189BB4 00186B14 2C 05 00 08 */ cmpwi r5, 8
/* 80189BB8 00186B18 38 85 FF F8 */ addi r4, r5, -8
/* 80189BBC 00186B1C 40 81 00 20 */ ble lbl_80189BDC
/* 80189BC0 00186B20 38 04 00 07 */ addi r0, r4, 7
/* 80189BC4 00186B24 54 00 E8 FE */ srwi r0, r0, 3
/* 80189BC8 00186B28 7C 09 03 A6 */ mtctr r0
/* 80189BCC 00186B2C 2C 04 00 00 */ cmpwi r4, 0
/* 80189BD0 00186B30 40 81 00 0C */ ble lbl_80189BDC
lbl_80189BD4:
/* 80189BD4 00186B34 38 63 00 08 */ addi r3, r3, 8
/* 80189BD8 00186B38 42 00 FF FC */ bdnz lbl_80189BD4
lbl_80189BDC:
/* 80189BDC 00186B3C 7C 03 28 50 */ subf r0, r3, r5
/* 80189BE0 00186B40 7C 09 03 A6 */ mtctr r0
/* 80189BE4 00186B44 7C 03 28 00 */ cmpw r3, r5
/* 80189BE8 00186B48 40 80 00 08 */ bge lbl_80189BF0
lbl_80189BEC:
/* 80189BEC 00186B4C 42 00 00 00 */ bdnz lbl_80189BEC
lbl_80189BF0:
/* 80189BF0 00186B50 38 00 00 00 */ li r0, 0
/* 80189BF4 00186B54 90 01 32 24 */ stw r0, 0x3224(r1)
/* 80189BF8 00186B58 38 00 3E 68 */ li r0, 0x3e68
/* 80189BFC 00186B5C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0
/* 80189C00 00186B60 CB E1 3E 60 */ lfd f31, 0x3e60(r1)
/* 80189C04 00186B64 38 00 3E 58 */ li r0, 0x3e58
/* 80189C08 00186B68 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0
/* 80189C0C 00186B6C CB C1 3E 50 */ lfd f30, 0x3e50(r1)
/* 80189C10 00186B70 38 00 3E 48 */ li r0, 0x3e48
/* 80189C14 00186B74 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0
/* 80189C18 00186B78 CB A1 3E 40 */ lfd f29, 0x3e40(r1)
/* 80189C1C 00186B7C BB 61 3E 2C */ lmw r27, 0x3e2c(r1)
/* 80189C20 00186B80 80 01 3E 74 */ lwz r0, 0x3e74(r1)
/* 80189C24 00186B84 7C 08 03 A6 */ mtlr r0
/* 80189C28 00186B88 38 21 3E 70 */ addi r1, r1, 0x3e70
2022-07-14 05:48:03 +00:00
/* 80189C2C 00186B8C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CheckFalling__15CGroundMovementFR13CPhysicsActorR13CStateManagerf
CheckFalling__15CGroundMovementFR13CPhysicsActorR13CStateManagerf:
/* 80189C30 00186B90 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 80189C34 00186B94 7C 08 02 A6 */ mflr r0
/* 80189C38 00186B98 90 01 00 94 */ stw r0, 0x94(r1)
/* 80189C3C 00186B9C BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 80189C40 00186BA0 7C 7B 1B 78 */ mr r27, r3
/* 80189C44 00186BA4 7C 9C 23 78 */ mr r28, r4
/* 80189C48 00186BA8 38 61 00 54 */ addi r3, r1, 0x54
/* 80189C4C 00186BAC 7F 64 DB 78 */ mr r4, r27
/* 80189C50 00186BB0 3B A0 00 01 */ li r29, 1
/* 80189C54 00186BB4 81 9B 00 00 */ lwz r12, 0(r27)
/* 80189C58 00186BB8 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80189C5C 00186BBC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189C60 00186BC0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189C64 00186BC4 3B E0 00 00 */ li r31, 0
/* 80189C68 00186BC8 9B E1 00 6C */ stb r31, 0x6c(r1)
/* 80189C6C 00186BCC 80 7C 08 50 */ lwz r3, 0x850(r28)
/* 80189C70 00186BD0 83 C3 00 58 */ lwz r30, 0x58(r3)
/* 80189C74 00186BD4 48 00 00 40 */ b lbl_80189CB4
lbl_80189C78:
/* 80189C78 00186BD8 7F 64 DB 78 */ mr r4, r27
/* 80189C7C 00186BDC 38 61 00 38 */ addi r3, r1, 0x38
/* 80189C80 00186BE0 81 9B 00 00 */ lwz r12, 0(r27)
/* 80189C84 00186BE4 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80189C88 00186BE8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80189C8C 00186BEC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80189C90 00186BF0 38 7E 00 6C */ addi r3, r30, 0x6c
/* 80189C94 00186BF4 38 81 00 38 */ addi r4, r1, 0x38
/* 80189C98 00186BF8 48 1A DE ED */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox
/* 80189C9C 00186BFC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80189CA0 00186C00 9B E1 00 50 */ stb r31, 0x50(r1)
/* 80189CA4 00186C04 41 82 00 0C */ beq lbl_80189CB0
/* 80189CA8 00186C08 3B A0 00 00 */ li r29, 0
/* 80189CAC 00186C0C 48 00 00 1C */ b lbl_80189CC8
lbl_80189CB0:
/* 80189CB0 00186C10 83 DE 01 30 */ lwz r30, 0x130(r30)
lbl_80189CB4:
/* 80189CB4 00186C14 38 61 00 10 */ addi r3, r1, 0x10
/* 80189CB8 00186C18 4B EB D0 55 */ bl GetAliveAreasEnd__6CWorldFv
/* 80189CBC 00186C1C 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80189CC0 00186C20 7C 1E 00 40 */ cmplw r30, r0
/* 80189CC4 00186C24 40 82 FF B4 */ bne lbl_80189C78
lbl_80189CC8:
/* 80189CC8 00186C28 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80189CCC 00186C2C 40 82 00 24 */ bne lbl_80189CF0
2022-04-24 01:54:45 +00:00
/* 80189CD0 00186C30 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80189CD4 00186C34 7F 83 E3 78 */ mr r3, r28
/* 80189CD8 00186C38 7F 64 DB 78 */ mr r4, r27
/* 80189CDC 00186C3C 38 A1 00 0C */ addi r5, r1, 0xc
/* 80189CE0 00186C40 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80189CE4 00186C44 38 C0 00 1A */ li r6, 0x1a
2022-09-14 05:24:37 +00:00
/* 80189CE8 00186C48 4B EB A1 E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 80189CEC 00186C4C 48 00 00 94 */ b lbl_80189D80
lbl_80189CF0:
2022-04-24 01:54:45 +00:00
/* 80189CF0 00186C50 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80189CF4 00186C54 7F 83 E3 78 */ mr r3, r28
/* 80189CF8 00186C58 7F 64 DB 78 */ mr r4, r27
/* 80189CFC 00186C5C 38 A1 00 08 */ addi r5, r1, 8
/* 80189D00 00186C60 B0 01 00 08 */ sth r0, 8(r1)
/* 80189D04 00186C64 38 C0 00 17 */ li r6, 0x17
2022-09-14 05:24:37 +00:00
/* 80189D08 00186C68 4B EB A1 C9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 80189D0C 00186C6C 38 61 00 20 */ addi r3, r1, 0x20
/* 80189D10 00186C70 38 9B 01 44 */ addi r4, r27, 0x144
/* 80189D14 00186C74 38 AD 8E A8 */ addi r5, r13, lbl_805A7A68@sda21
/* 80189D18 00186C78 4B E9 17 6D */ bl __ml__FRC10CAxisAngleRCf
/* 80189D1C 00186C7C 7F 63 DB 78 */ mr r3, r27
/* 80189D20 00186C80 38 81 00 20 */ addi r4, r1, 0x20
/* 80189D24 00186C84 4B F9 0E D9 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle
/* 80189D28 00186C88 38 61 00 14 */ addi r3, r1, 0x14
/* 80189D2C 00186C8C 38 9B 00 34 */ addi r4, r27, 0x34
/* 80189D30 00186C90 38 BB 01 38 */ addi r5, r27, 0x138
/* 80189D34 00186C94 48 18 8C F1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80189D38 00186C98 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80189D3C 00186C9C 7F 63 DB 78 */ mr r3, r27
/* 80189D40 00186CA0 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 80189D44 00186CA4 38 81 00 2C */ addi r4, r1, 0x2c
/* 80189D48 00186CA8 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 80189D4C 00186CAC D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80189D50 00186CB0 C0 02 A3 18 */ lfs f0, lbl_805AC038@sda21(r2)
/* 80189D54 00186CB4 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 80189D58 00186CB8 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80189D5C 00186CBC D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80189D60 00186CC0 4B F9 0F B9 */ bl SetVelocityOR__13CPhysicsActorFRC9CVector3f
/* 80189D64 00186CC4 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80189D68 00186CC8 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3)
2022-04-13 08:02:06 +00:00
/* 80189D6C 00186CCC D0 1B 01 50 */ stfs f0, 0x150(r27)
/* 80189D70 00186CD0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80189D74 00186CD4 D0 1B 01 54 */ stfs f0, 0x154(r27)
/* 80189D78 00186CD8 C0 03 00 08 */ lfs f0, 8(r3)
/* 80189D7C 00186CDC D0 1B 01 58 */ stfs f0, 0x158(r27)
lbl_80189D80:
/* 80189D80 00186CE0 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80189D84 00186CE4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80189D88 00186CE8 7C 08 03 A6 */ mtlr r0
/* 80189D8C 00186CEC 38 21 00 90 */ addi r1, r1, 0x90
2022-07-14 05:48:03 +00:00
/* 80189D90 00186CF0 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_805AC030
lbl_805AC030:
# ROM: 0x3F88D0
.float 1.0
.global lbl_805AC034
lbl_805AC034:
# ROM: 0x3F88D4
.float 1.1920929E-7
.global lbl_805AC038
lbl_805AC038:
# ROM: 0x3F88D8
.4byte 0
.global lbl_805AC03C
lbl_805AC03C:
# ROM: 0x3F88DC
.4byte 0xBDCCCCCD
.global lbl_805AC040
lbl_805AC040:
# ROM: 0x3F88E0
.float 0.5
.global lbl_805AC044
lbl_805AC044:
# ROM: 0x3F88E4
.4byte 0x3F7D70A4
.global lbl_805AC048
lbl_805AC048:
# ROM: 0x3F88E8
.float 0.01
.global lbl_805AC04C
lbl_805AC04C:
# ROM: 0x3F88EC
.float 4.0
.global lbl_805AC050
lbl_805AC050:
# ROM: 0x3F88F0
.4byte 0x3EBD70A4
.global lbl_805AC054
lbl_805AC054:
# ROM: 0x3F88F4
.float 0.25
.global lbl_805AC058
lbl_805AC058:
# ROM: 0x3F88F8
.4byte 0x3B03126F
.global lbl_805AC05C
lbl_805AC05C:
# ROM: 0x3F88FC
.float 0.02
.global lbl_805AC060
lbl_805AC060:
# ROM: 0x3F8900
.float 0.2
.global lbl_805AC064
lbl_805AC064:
# ROM: 0x3F8904
.float 0.03
.global lbl_805AC068
lbl_805AC068:
# ROM: 0x3F8908
.4byte 0x3F40624D
.4byte 0xE0000000
.global lbl_805AC070
lbl_805AC070:
# ROM: 0x3F8910
.4byte 0
.4byte 0
.global lbl_805AC078
lbl_805AC078:
# ROM: 0x3F8918
.float -1.0
.global lbl_805AC07C
lbl_805AC07C:
# ROM: 0x3F891C
.4byte 0xD01502F9
.global lbl_805AC080
lbl_805AC080:
# ROM: 0x3F8920
.4byte 0x420C0000
.global lbl_805AC084
lbl_805AC084:
# ROM: 0x3F8924
.float 5.0
.global lbl_805AC088
lbl_805AC088:
# ROM: 0x3F8928
.4byte 0x3D4CCCCD
.global lbl_805AC08C
lbl_805AC08C:
# ROM: 0x3F892C
.float 0.1
.global lbl_805AC090
lbl_805AC090:
# ROM: 0x3F8930
.float 0.25
.4byte 0
.global lbl_805AC098
lbl_805AC098:
# ROM: 0x3F8938
.4byte 0x3A03126F
.global lbl_805AC09C
lbl_805AC09C:
# ROM: 0x3F893C
.float 1.0E-4
.global lbl_805AC0A0
lbl_805AC0A0:
# ROM: 0x3F8940
.4byte 0xC0000000
.global lbl_805AC0A4
lbl_805AC0A4:
# ROM: 0x3F8944
.4byte 0x40400000