prime/asm/MetroidPrime/CGameCollision.s

6678 lines
345 KiB
ArmAsm
Raw Normal View History

2022-04-13 08:02:06 +00:00
.include "macros.inc"
2022-04-18 04:19:18 +00:00
.section .data
.balign 8
2022-04-18 04:19:18 +00:00
.global lbl_803E3F80
lbl_803E3F80:
# ROM: 0x3E0F80
.4byte lbl_80180554
.4byte lbl_80180564
.4byte lbl_80180574
.4byte lbl_80180584
.4byte lbl_80180594
.4byte lbl_801805A4
.4byte lbl_801805B4
.4byte lbl_801805C4
.4byte lbl_801805D4
.4byte lbl_801805E4
.4byte lbl_801805F4
.4byte lbl_80180604
.4byte lbl_80180614
.4byte lbl_80180624
.4byte lbl_80180634
.4byte lbl_80180644
.4byte lbl_80180654
.4byte lbl_80180664
.4byte lbl_80180674
.4byte lbl_80180684
.4byte lbl_80180694
.4byte lbl_801806A4
.4byte lbl_801806B4
.4byte lbl_801806C4
.4byte lbl_801806D4
.4byte lbl_801806E4
.global lbl_803E3FE8
lbl_803E3FE8:
# ROM: 0x3E0FE8
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.global lbl_803E3FF8
lbl_803E3FF8:
# ROM: 0x3E0FF8
.4byte 0
.4byte 0
.4byte Filter__11CBallFilterCFRC18CCollisionInfoListR18CCollisionInfoList
.4byte 0
.global lbl_803E4008
lbl_803E4008:
# ROM: 0x3E1008
.4byte 0
.4byte 0
.4byte Filter__12CAABoxFilterCFRC18CCollisionInfoListR18CCollisionInfoList
.4byte 0
2022-04-21 06:32:43 +00:00
.section .sdata
.balign 8
2022-04-21 06:32:43 +00:00
.global lbl_805A7A40
lbl_805A7A40:
# ROM: 0x3F53E0
.4byte 0x00000013
.global lbl_805A7A44
lbl_805A7A44:
# ROM: 0x3F53E4
.4byte 0x00000013
.global lbl_805A7A48
lbl_805A7A48:
# ROM: 0x3F53E8
2022-07-18 05:20:04 +00:00
.float 0.5
2022-04-21 06:32:43 +00:00
.global lbl_805A7A4C
lbl_805A7A4C:
# ROM: 0x3F53EC
2022-07-18 05:20:04 +00:00
.float 0.5
2022-04-21 06:32:43 +00:00
.global lbl_805A7A50
lbl_805A7A50:
# ROM: 0x3F53F0
2022-07-18 05:20:04 +00:00
.float 0.5
2022-04-21 06:32:43 +00:00
.global lbl_805A7A54
lbl_805A7A54:
# ROM: 0x3F53F4
.4byte 0x00000013
.global lbl_805A7A58
lbl_805A7A58:
# ROM: 0x3F53F8
.4byte 0x0000001F
.global lbl_805A7A5C
lbl_805A7A5C:
# ROM: 0x3F53FC
.4byte 0x00000013
.global lbl_805A7A60
lbl_805A7A60:
# ROM: 0x3F5400
.4byte 0x0000001F
.4byte 0
2022-07-14 05:36:41 +00:00
.section .text, "ax"
2022-04-13 08:02:06 +00:00
.global sub_8017fb84
sub_8017fb84:
/* 8017FB84 0017CAE4 94 21 E1 C0 */ stwu r1, -0x1e40(r1)
/* 8017FB88 0017CAE8 7C 08 02 A6 */ mflr r0
/* 8017FB8C 0017CAEC 90 01 1E 44 */ stw r0, 0x1e44(r1)
/* 8017FB90 0017CAF0 38 00 1E 38 */ li r0, 0x1e38
/* 8017FB94 0017CAF4 DB E1 1E 30 */ stfd f31, 0x1e30(r1)
/* 8017FB98 0017CAF8 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0
/* 8017FB9C 0017CAFC 38 00 1E 28 */ li r0, 0x1e28
/* 8017FBA0 0017CB00 DB C1 1E 20 */ stfd f30, 0x1e20(r1)
/* 8017FBA4 0017CB04 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0
/* 8017FBA8 0017CB08 38 00 1E 18 */ li r0, 0x1e18
/* 8017FBAC 0017CB0C DB A1 1E 10 */ stfd f29, 0x1e10(r1)
/* 8017FBB0 0017CB10 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0
/* 8017FBB4 0017CB14 38 00 1E 08 */ li r0, 0x1e08
/* 8017FBB8 0017CB18 DB 81 1E 00 */ stfd f28, 0x1e00(r1)
/* 8017FBBC 0017CB1C 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0
/* 8017FBC0 0017CB20 38 00 1D F8 */ li r0, 0x1df8
/* 8017FBC4 0017CB24 DB 61 1D F0 */ stfd f27, 0x1df0(r1)
/* 8017FBC8 0017CB28 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0
/* 8017FBCC 0017CB2C 38 00 1D E8 */ li r0, 0x1de8
/* 8017FBD0 0017CB30 DB 41 1D E0 */ stfd f26, 0x1de0(r1)
/* 8017FBD4 0017CB34 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0
/* 8017FBD8 0017CB38 38 00 1D D8 */ li r0, 0x1dd8
/* 8017FBDC 0017CB3C DB 21 1D D0 */ stfd f25, 0x1dd0(r1)
/* 8017FBE0 0017CB40 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0
/* 8017FBE4 0017CB44 38 00 1D C8 */ li r0, 0x1dc8
/* 8017FBE8 0017CB48 DB 01 1D C0 */ stfd f24, 0x1dc0(r1)
/* 8017FBEC 0017CB4C 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0
/* 8017FBF0 0017CB50 38 00 1D B8 */ li r0, 0x1db8
/* 8017FBF4 0017CB54 DA E1 1D B0 */ stfd f23, 0x1db0(r1)
/* 8017FBF8 0017CB58 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0
/* 8017FBFC 0017CB5C 38 00 1D A8 */ li r0, 0x1da8
/* 8017FC00 0017CB60 DA C1 1D A0 */ stfd f22, 0x1da0(r1)
/* 8017FC04 0017CB64 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0
/* 8017FC08 0017CB68 38 00 1D 98 */ li r0, 0x1d98
/* 8017FC0C 0017CB6C DA A1 1D 90 */ stfd f21, 0x1d90(r1)
/* 8017FC10 0017CB70 12 A1 00 0E */ psq_stx f21, r1, r0, 0, qr0
/* 8017FC14 0017CB74 38 00 1D 88 */ li r0, 0x1d88
/* 8017FC18 0017CB78 DA 81 1D 80 */ stfd f20, 0x1d80(r1)
/* 8017FC1C 0017CB7C 12 81 00 0E */ psq_stx f20, r1, r0, 0, qr0
/* 8017FC20 0017CB80 38 00 1D 78 */ li r0, 0x1d78
/* 8017FC24 0017CB84 DA 61 1D 70 */ stfd f19, 0x1d70(r1)
/* 8017FC28 0017CB88 12 61 00 0E */ psq_stx f19, r1, r0, 0, qr0
/* 8017FC2C 0017CB8C 38 00 1D 68 */ li r0, 0x1d68
/* 8017FC30 0017CB90 DA 41 1D 60 */ stfd f18, 0x1d60(r1)
/* 8017FC34 0017CB94 12 41 00 0E */ psq_stx f18, r1, r0, 0, qr0
/* 8017FC38 0017CB98 38 00 1D 58 */ li r0, 0x1d58
/* 8017FC3C 0017CB9C DA 21 1D 50 */ stfd f17, 0x1d50(r1)
/* 8017FC40 0017CBA0 12 21 00 0E */ psq_stx f17, r1, r0, 0, qr0
/* 8017FC44 0017CBA4 38 00 1D 48 */ li r0, 0x1d48
/* 8017FC48 0017CBA8 DA 01 1D 40 */ stfd f16, 0x1d40(r1)
/* 8017FC4C 0017CBAC 12 01 00 0E */ psq_stx f16, r1, r0, 0, qr0
/* 8017FC50 0017CBB0 38 00 1D 38 */ li r0, 0x1d38
/* 8017FC54 0017CBB4 D9 E1 1D 30 */ stfd f15, 0x1d30(r1)
/* 8017FC58 0017CBB8 11 E1 00 0E */ psq_stx f15, r1, r0, 0, qr0
/* 8017FC5C 0017CBBC 38 00 1D 28 */ li r0, 0x1d28
/* 8017FC60 0017CBC0 D9 C1 1D 20 */ stfd f14, 0x1d20(r1)
/* 8017FC64 0017CBC4 11 C1 00 0E */ psq_stx f14, r1, r0, 0, qr0
/* 8017FC68 0017CBC8 BE E1 1C FC */ stmw r23, 0x1cfc(r1)
/* 8017FC6C 0017CBCC FE 60 28 90 */ fmr f19, f5
/* 8017FC70 0017CBD0 7C 99 23 78 */ mr r25, r4
/* 8017FC74 0017CBD4 C0 02 A2 AC */ lfs f0, lbl_805ABFCC@sda21(r2)
/* 8017FC78 0017CBD8 7C 78 1B 78 */ mr r24, r3
/* 8017FC7C 0017CBDC C3 64 00 60 */ lfs f27, 0x60(r4)
/* 8017FC80 0017CBE0 7C BA 2B 78 */ mr r26, r5
/* 8017FC84 0017CBE4 FE 20 18 90 */ fmr f17, f3
/* 8017FC88 0017CBE8 C3 84 00 50 */ lfs f28, 0x50(r4)
/* 8017FC8C 0017CBEC ED 20 04 F2 */ fmuls f9, f0, f19
/* 8017FC90 0017CBF0 C0 A2 A2 A8 */ lfs f5, lbl_805ABFC8@sda21(r2)
/* 8017FC94 0017CBF4 EC 1B 10 2A */ fadds f0, f27, f2
/* 8017FC98 0017CBF8 C3 A4 00 40 */ lfs f29, 0x40(r4)
/* 8017FC9C 0017CBFC EC 7D 28 2A */ fadds f3, f29, f5
/* 8017FCA0 0017CC00 38 61 01 30 */ addi r3, r1, 0x130
/* 8017FCA4 0017CC04 ED 11 48 2A */ fadds f8, f17, f9
/* 8017FCA8 0017CC08 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 8017FCAC 0017CC0C EC 5C 28 2A */ fadds f2, f28, f5
/* 8017FCB0 0017CC10 38 81 00 68 */ addi r4, r1, 0x68
/* 8017FCB4 0017CC14 EC E3 40 2A */ fadds f7, f3, f8
/* 8017FCB8 0017CC18 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 8017FCBC 0017CC1C EC C2 40 2A */ fadds f6, f2, f8
/* 8017FCC0 0017CC20 38 A1 00 5C */ addi r5, r1, 0x5c
/* 8017FCC4 0017CC24 EC A0 48 2A */ fadds f5, f0, f9
/* 8017FCC8 0017CC28 D0 41 00 84 */ stfs f2, 0x84(r1)
/* 8017FCCC 0017CC2C EC 63 40 28 */ fsubs f3, f3, f8
/* 8017FCD0 0017CC30 D0 E1 00 5C */ stfs f7, 0x5c(r1)
/* 8017FCD4 0017CC34 EC 42 40 28 */ fsubs f2, f2, f8
/* 8017FCD8 0017CC38 EC 00 48 28 */ fsubs f0, f0, f9
/* 8017FCDC 0017CC3C D0 C1 00 60 */ stfs f6, 0x60(r1)
/* 8017FCE0 0017CC40 FE 00 08 90 */ fmr f16, f1
/* 8017FCE4 0017CC44 FE 40 20 90 */ fmr f18, f4
/* 8017FCE8 0017CC48 D0 A1 00 64 */ stfs f5, 0x64(r1)
/* 8017FCEC 0017CC4C D0 61 00 68 */ stfs f3, 0x68(r1)
/* 8017FCF0 0017CC50 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 8017FCF4 0017CC54 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8017FCF8 0017CC58 48 1B 88 11 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8017FCFC 0017CC5C 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 8017FD00 0017CC60 38 81 01 30 */ addi r4, r1, 0x130
/* 8017FD04 0017CC64 48 12 3D 8D */ bl __ct__19CAreaCollisionCacheFRC6CAABox
/* 8017FD08 0017CC68 7F 03 C3 78 */ mr r3, r24
/* 8017FD0C 0017CC6C 38 81 01 A8 */ addi r4, r1, 0x1a8
/* 8017FD10 0017CC70 48 00 49 B5 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 8017FD14 0017CC74 38 00 00 00 */ li r0, 0
/* 8017FD18 0017CC78 88 81 1C E8 */ lbz r4, 0x1ce8(r1)
/* 8017FD1C 0017CC7C 80 AD 8E 94 */ lwz r5, lbl_805A7A54@sda21(r13)
/* 8017FD20 0017CC80 38 60 00 00 */ li r3, 0
/* 8017FD24 0017CC84 54 9C CF FE */ rlwinm r28, r4, 0x19, 0x1f, 0x1f
/* 8017FD28 0017CC88 90 01 00 14 */ stw r0, 0x14(r1)
/* 8017FD2C 0017CC8C C3 41 00 80 */ lfs f26, 0x80(r1)
/* 8017FD30 0017CC90 38 80 00 01 */ li r4, 1
/* 8017FD34 0017CC94 90 01 00 10 */ stw r0, 0x10(r1)
/* 8017FD38 0017CC98 C3 21 00 84 */ lfs f25, 0x84(r1)
/* 8017FD3C 0017CC9C C3 01 00 88 */ lfs f24, 0x88(r1)
/* 8017FD40 0017CCA0 48 20 A1 B5 */ bl __shl2i
/* 8017FD44 0017CCA4 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8017FD48 0017CCA8 80 A1 00 14 */ lwz r5, 0x14(r1)
/* 8017FD4C 0017CCAC 7C 00 1B 78 */ or r0, r0, r3
/* 8017FD50 0017CCB0 38 61 00 F8 */ addi r3, r1, 0xf8
/* 8017FD54 0017CCB4 7C A5 23 78 */ or r5, r5, r4
/* 8017FD58 0017CCB8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8017FD5C 0017CCBC 38 81 00 10 */ addi r4, r1, 0x10
/* 8017FD60 0017CCC0 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8017FD64 0017CCC4 48 14 FB 51 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList
/* 8017FD68 0017CCC8 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha
/* 8017FD6C 0017CCCC 80 AD 8E 98 */ lwz r5, lbl_805A7A58@sda21(r13)
/* 8017FD70 0017CCD0 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l
/* 8017FD74 0017CCD4 D3 41 01 08 */ stfs f26, 0x108(r1)
/* 8017FD78 0017CCD8 38 60 00 00 */ li r3, 0
/* 8017FD7C 0017CCDC 38 80 00 01 */ li r4, 1
/* 8017FD80 0017CCE0 90 01 00 F8 */ stw r0, 0xf8(r1)
/* 8017FD84 0017CCE4 D3 21 01 0C */ stfs f25, 0x10c(r1)
/* 8017FD88 0017CCE8 D3 01 01 10 */ stfs f24, 0x110(r1)
/* 8017FD8C 0017CCEC D2 61 01 14 */ stfs f19, 0x114(r1)
/* 8017FD90 0017CCF0 48 20 A1 65 */ bl __shl2i
/* 8017FD94 0017CCF4 39 20 FF FF */ li r9, -1
/* 8017FD98 0017CCF8 39 00 00 00 */ li r8, 0
/* 8017FD9C 0017CCFC 38 00 00 02 */ li r0, 2
/* 8017FDA0 0017CD00 3C A0 80 5A */ lis r5, sIdentity__12CTransform4f@ha
2022-04-13 08:02:06 +00:00
/* 8017FDA4 0017CD04 90 81 00 EC */ stw r4, 0xec(r1)
/* 8017FDA8 0017CD08 38 C5 66 70 */ addi r6, r5, sIdentity__12CTransform4f@l
2022-04-13 08:02:06 +00:00
/* 8017FDAC 0017CD0C 38 81 01 A8 */ addi r4, r1, 0x1a8
/* 8017FDB0 0017CD10 38 A1 00 F8 */ addi r5, r1, 0xf8
/* 8017FDB4 0017CD14 90 61 00 E8 */ stw r3, 0xe8(r1)
/* 8017FDB8 0017CD18 7F 03 C3 78 */ mr r3, r24
/* 8017FDBC 0017CD1C 38 E1 00 E0 */ addi r7, r1, 0xe0
/* 8017FDC0 0017CD20 91 21 00 E4 */ stw r9, 0xe4(r1)
/* 8017FDC4 0017CD24 91 01 00 E0 */ stw r8, 0xe0(r1)
/* 8017FDC8 0017CD28 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 8017FDCC 0017CD2C 48 00 38 2D */ bl DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 8017FDD0 0017CD30 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha
/* 8017FDD4 0017CD34 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8017FDD8 0017CD38 3B A4 CA F8 */ addi r29, r4, lbl_803ECAF8@l
2022-09-18 05:52:19 +00:00
/* 8017FDDC 0017CD3C 3C 60 80 3E */ lis r3, __vt__19CCollisionPrimitive@ha
2022-04-13 08:02:06 +00:00
/* 8017FDE0 0017CD40 93 A1 00 F8 */ stw r29, 0xf8(r1)
2022-09-18 05:52:19 +00:00
/* 8017FDE4 0017CD44 3B C3 97 E4 */ addi r30, r3, __vt__19CCollisionPrimitive@l
2022-04-13 08:02:06 +00:00
/* 8017FDE8 0017CD48 93 C1 00 F8 */ stw r30, 0xf8(r1)
/* 8017FDEC 0017CD4C 41 82 00 A0 */ beq lbl_8017FE8C
/* 8017FDF0 0017CD50 34 E1 01 C0 */ addic. r7, r1, 0x1c0
/* 8017FDF4 0017CD54 41 82 04 2C */ beq lbl_80180220
/* 8017FDF8 0017CD58 38 C7 00 04 */ addi r6, r7, 4
/* 8017FDFC 0017CD5C 38 60 00 00 */ li r3, 0
/* 8017FE00 0017CD60 48 00 00 74 */ b lbl_8017FE74
lbl_8017FE04:
/* 8017FE04 0017CD64 28 06 00 00 */ cmplwi r6, 0
/* 8017FE08 0017CD68 41 82 00 64 */ beq lbl_8017FE6C
/* 8017FE0C 0017CD6C 34 06 00 04 */ addic. r0, r6, 4
/* 8017FE10 0017CD70 41 82 00 5C */ beq lbl_8017FE6C
/* 8017FE14 0017CD74 81 06 00 04 */ lwz r8, 4(r6)
/* 8017FE18 0017CD78 38 80 00 00 */ li r4, 0
/* 8017FE1C 0017CD7C 2C 08 00 00 */ cmpwi r8, 0
/* 8017FE20 0017CD80 40 81 00 44 */ ble lbl_8017FE64
/* 8017FE24 0017CD84 2C 08 00 08 */ cmpwi r8, 8
/* 8017FE28 0017CD88 38 A8 FF F8 */ addi r5, r8, -8
/* 8017FE2C 0017CD8C 40 81 00 20 */ ble lbl_8017FE4C
/* 8017FE30 0017CD90 38 05 00 07 */ addi r0, r5, 7
/* 8017FE34 0017CD94 54 00 E8 FE */ srwi r0, r0, 3
/* 8017FE38 0017CD98 7C 09 03 A6 */ mtctr r0
/* 8017FE3C 0017CD9C 2C 05 00 00 */ cmpwi r5, 0
/* 8017FE40 0017CDA0 40 81 00 0C */ ble lbl_8017FE4C
lbl_8017FE44:
/* 8017FE44 0017CDA4 38 84 00 08 */ addi r4, r4, 8
/* 8017FE48 0017CDA8 42 00 FF FC */ bdnz lbl_8017FE44
lbl_8017FE4C:
/* 8017FE4C 0017CDAC 7C 04 40 50 */ subf r0, r4, r8
/* 8017FE50 0017CDB0 7C 09 03 A6 */ mtctr r0
/* 8017FE54 0017CDB4 7C 04 40 00 */ cmpw r4, r8
/* 8017FE58 0017CDB8 40 80 00 0C */ bge lbl_8017FE64
lbl_8017FE5C:
/* 8017FE5C 0017CDBC 38 84 00 01 */ addi r4, r4, 1
/* 8017FE60 0017CDC0 42 00 FF FC */ bdnz lbl_8017FE5C
lbl_8017FE64:
/* 8017FE64 0017CDC4 38 00 00 00 */ li r0, 0
/* 8017FE68 0017CDC8 90 06 00 04 */ stw r0, 4(r6)
lbl_8017FE6C:
/* 8017FE6C 0017CDCC 38 C6 09 0C */ addi r6, r6, 0x90c
/* 8017FE70 0017CDD0 38 63 00 01 */ addi r3, r3, 1
lbl_8017FE74:
/* 8017FE74 0017CDD4 80 07 00 00 */ lwz r0, 0(r7)
/* 8017FE78 0017CDD8 7C 03 00 00 */ cmpw r3, r0
/* 8017FE7C 0017CDDC 41 80 FF 88 */ blt lbl_8017FE04
/* 8017FE80 0017CDE0 38 00 00 00 */ li r0, 0
/* 8017FE84 0017CDE4 90 07 00 00 */ stw r0, 0(r7)
/* 8017FE88 0017CDE8 48 00 03 98 */ b lbl_80180220
lbl_8017FE8C:
/* 8017FE8C 0017CDEC 6F 40 80 00 */ xoris r0, r26, 0x8000
/* 8017FE90 0017CDF0 3F E0 43 30 */ lis r31, 0x4330
/* 8017FE94 0017CDF4 90 01 1C F4 */ stw r0, 0x1cf4(r1)
/* 8017FE98 0017CDF8 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 8017FE9C 0017CDFC 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@l
/* 8017FEA0 0017CE00 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
2022-04-13 08:02:06 +00:00
/* 8017FEA4 0017CE04 93 E1 1C F0 */ stw r31, 0x1cf0(r1)
/* 8017FEA8 0017CE08 3A E3 66 70 */ addi r23, r3, sIdentity__12CTransform4f@l
2022-04-13 08:02:06 +00:00
/* 8017FEAC 0017CE0C CB C2 A2 B8 */ lfd f30, lbl_805ABFD8@sda21(r2)
/* 8017FEB0 0017CE10 3B 60 00 00 */ li r27, 0
/* 8017FEB4 0017CE14 C8 01 1C F0 */ lfd f0, 0x1cf0(r1)
/* 8017FEB8 0017CE18 C0 22 A2 B0 */ lfs f1, lbl_805ABFD0@sda21(r2)
/* 8017FEBC 0017CE1C EC 00 F0 28 */ fsubs f0, f0, f30
/* 8017FEC0 0017CE20 C2 E4 00 00 */ lfs f23, 0(r4)
/* 8017FEC4 0017CE24 C2 C4 00 04 */ lfs f22, 4(r4)
/* 8017FEC8 0017CE28 C2 A4 00 08 */ lfs f21, 8(r4)
/* 8017FECC 0017CE2C EE 81 00 24 */ fdivs f20, f1, f0
/* 8017FED0 0017CE30 C3 E2 A2 A8 */ lfs f31, lbl_805ABFC8@sda21(r2)
/* 8017FED4 0017CE34 48 00 02 64 */ b lbl_80180138
lbl_8017FED8:
/* 8017FED8 0017CE38 6F 60 80 00 */ xoris r0, r27, 0x8000
/* 8017FEDC 0017CE3C 93 E1 1C F0 */ stw r31, 0x1cf0(r1)
/* 8017FEE0 0017CE40 90 01 1C F4 */ stw r0, 0x1cf4(r1)
/* 8017FEE4 0017CE44 C8 01 1C F0 */ lfd f0, 0x1cf0(r1)
/* 8017FEE8 0017CE48 EC 00 F0 28 */ fsubs f0, f0, f30
/* 8017FEEC 0017CE4C ED D4 00 32 */ fmuls f14, f20, f0
/* 8017FEF0 0017CE50 FC 20 70 90 */ fmr f1, f14
/* 8017FEF4 0017CE54 48 19 53 F1 */ bl SlowCosineR__5CMathFf
/* 8017FEF8 0017CE58 FD E0 08 90 */ fmr f15, f1
/* 8017FEFC 0017CE5C FC 20 70 90 */ fmr f1, f14
/* 8017FF00 0017CE60 48 19 54 09 */ bl SlowSineR__5CMathFf
/* 8017FF04 0017CE64 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 8017FF08 0017CE68 38 61 01 48 */ addi r3, r1, 0x148
/* 8017FF0C 0017CE6C 38 80 00 00 */ li r4, 0
/* 8017FF10 0017CE70 D1 E1 00 78 */ stfs f15, 0x78(r1)
/* 8017FF14 0017CE74 D3 E1 00 7C */ stfs f31, 0x7c(r1)
/* 8017FF18 0017CE78 DA 21 00 18 */ stfd f17, 0x18(r1)
/* 8017FF1C 0017CE7C 48 14 E2 6D */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 8017FF20 0017CE80 28 1C 00 00 */ cmplwi r28, 0
/* 8017FF24 0017CE84 41 82 00 EC */ beq lbl_80180010
/* 8017FF28 0017CE88 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 8017FF2C 0017CE8C 48 12 39 0D */ bl ClearCache__19CAreaCollisionCacheFv
/* 8017FF30 0017CE90 38 81 00 80 */ addi r4, r1, 0x80
/* 8017FF34 0017CE94 38 61 01 18 */ addi r3, r1, 0x118
/* 8017FF38 0017CE98 7C 85 23 78 */ mr r5, r4
/* 8017FF3C 0017CE9C 48 1B 85 CD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8017FF40 0017CEA0 FC 40 78 18 */ frsp f2, f15
/* 8017FF44 0017CEA4 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 8017FF48 0017CEA8 FC 20 F8 18 */ frsp f1, f31
/* 8017FF4C 0017CEAC 38 61 01 18 */ addi r3, r1, 0x118
/* 8017FF50 0017CEB0 EC 11 00 32 */ fmuls f0, f17, f0
/* 8017FF54 0017CEB4 38 81 00 50 */ addi r4, r1, 0x50
/* 8017FF58 0017CEB8 EC 51 00 B2 */ fmuls f2, f17, f2
/* 8017FF5C 0017CEBC EC 31 00 72 */ fmuls f1, f17, f1
/* 8017FF60 0017CEC0 EC 1D 00 2A */ fadds f0, f29, f0
/* 8017FF64 0017CEC4 EC 5C 10 2A */ fadds f2, f28, f2
/* 8017FF68 0017CEC8 EC 3B 08 2A */ fadds f1, f27, f1
/* 8017FF6C 0017CECC D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8017FF70 0017CED0 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 8017FF74 0017CED4 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 8017FF78 0017CED8 48 1B 7B 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 8017FF7C 0017CEDC C0 61 01 1C */ lfs f3, 0x11c(r1)
/* 8017FF80 0017CEE0 38 61 00 C8 */ addi r3, r1, 0xc8
/* 8017FF84 0017CEE4 C0 41 01 20 */ lfs f2, 0x120(r1)
/* 8017FF88 0017CEE8 38 81 00 44 */ addi r4, r1, 0x44
/* 8017FF8C 0017CEEC C0 01 01 18 */ lfs f0, 0x118(r1)
/* 8017FF90 0017CEF0 EC A3 98 2A */ fadds f5, f3, f19
/* 8017FF94 0017CEF4 EC 82 98 2A */ fadds f4, f2, f19
/* 8017FF98 0017CEF8 38 A1 00 38 */ addi r5, r1, 0x38
/* 8017FF9C 0017CEFC EC 20 98 2A */ fadds f1, f0, f19
/* 8017FFA0 0017CF00 EC 63 98 28 */ fsubs f3, f3, f19
/* 8017FFA4 0017CF04 D0 A1 00 3C */ stfs f5, 0x3c(r1)
/* 8017FFA8 0017CF08 EC 42 98 28 */ fsubs f2, f2, f19
/* 8017FFAC 0017CF0C EC 00 98 28 */ fsubs f0, f0, f19
/* 8017FFB0 0017CF10 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8017FFB4 0017CF14 D0 81 00 40 */ stfs f4, 0x40(r1)
/* 8017FFB8 0017CF18 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8017FFBC 0017CF1C D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8017FFC0 0017CF20 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8017FFC4 0017CF24 48 1B 85 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8017FFC8 0017CF28 81 21 00 C8 */ lwz r9, 0xc8(r1)
/* 8017FFCC 0017CF2C 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 8017FFD0 0017CF30 81 01 00 CC */ lwz r8, 0xcc(r1)
/* 8017FFD4 0017CF34 38 81 01 18 */ addi r4, r1, 0x118
/* 8017FFD8 0017CF38 80 E1 00 D0 */ lwz r7, 0xd0(r1)
/* 8017FFDC 0017CF3C 80 C1 00 D4 */ lwz r6, 0xd4(r1)
/* 8017FFE0 0017CF40 80 A1 00 D8 */ lwz r5, 0xd8(r1)
/* 8017FFE4 0017CF44 80 01 00 DC */ lwz r0, 0xdc(r1)
/* 8017FFE8 0017CF48 91 21 01 18 */ stw r9, 0x118(r1)
/* 8017FFEC 0017CF4C 91 01 01 1C */ stw r8, 0x11c(r1)
/* 8017FFF0 0017CF50 90 E1 01 20 */ stw r7, 0x120(r1)
/* 8017FFF4 0017CF54 90 C1 01 24 */ stw r6, 0x124(r1)
/* 8017FFF8 0017CF58 90 A1 01 28 */ stw r5, 0x128(r1)
/* 8017FFFC 0017CF5C 90 01 01 2C */ stw r0, 0x12c(r1)
2022-04-18 04:19:18 +00:00
.global lbl_80180000
lbl_80180000:
2022-04-13 08:02:06 +00:00
/* 80180000 0017CF60 48 12 38 E5 */ bl SetCacheBounds__19CAreaCollisionCacheFRC6CAABox
/* 80180004 0017CF64 7F 03 C3 78 */ mr r3, r24
/* 80180008 0017CF68 38 81 01 A8 */ addi r4, r1, 0x1a8
/* 8018000C 0017CF6C 48 00 46 B9 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
lbl_80180010:
/* 80180010 0017CF70 38 00 00 00 */ li r0, 0
/* 80180014 0017CF74 80 AD 8E 9C */ lwz r5, lbl_805A7A5C@sda21(r13)
/* 80180018 0017CF78 90 01 00 0C */ stw r0, 0xc(r1)
/* 8018001C 0017CF7C 38 60 00 00 */ li r3, 0
/* 80180020 0017CF80 38 80 00 01 */ li r4, 1
/* 80180024 0017CF84 90 01 00 08 */ stw r0, 8(r1)
/* 80180028 0017CF88 48 20 9E CD */ bl __shl2i
/* 8018002C 0017CF8C 80 01 00 08 */ lwz r0, 8(r1)
/* 80180030 0017CF90 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80180034 0017CF94 7C 00 1B 78 */ or r0, r0, r3
/* 80180038 0017CF98 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8018003C 0017CF9C 7C A5 23 78 */ or r5, r5, r4
/* 80180040 0017CFA0 90 01 00 08 */ stw r0, 8(r1)
/* 80180044 0017CFA4 38 81 00 08 */ addi r4, r1, 8
/* 80180048 0017CFA8 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8018004C 0017CFAC 48 14 F8 69 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList
/* 80180050 0017CFB0 80 E1 00 74 */ lwz r7, 0x74(r1)
/* 80180054 0017CFB4 38 60 00 00 */ li r3, 0
/* 80180058 0017CFB8 80 C1 00 78 */ lwz r6, 0x78(r1)
/* 8018005C 0017CFBC 38 80 00 01 */ li r4, 1
/* 80180060 0017CFC0 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 80180064 0017CFC4 80 AD 8E A0 */ lwz r5, lbl_805A7A60@sda21(r13)
/* 80180068 0017CFC8 93 A1 00 A8 */ stw r29, 0xa8(r1)
/* 8018006C 0017CFCC D3 41 00 B8 */ stfs f26, 0xb8(r1)
/* 80180070 0017CFD0 D3 21 00 BC */ stfs f25, 0xbc(r1)
/* 80180074 0017CFD4 D3 01 00 C0 */ stfs f24, 0xc0(r1)
/* 80180078 0017CFD8 D2 61 00 C4 */ stfs f19, 0xc4(r1)
/* 8018007C 0017CFDC 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 80180080 0017CFE0 90 C1 00 30 */ stw r6, 0x30(r1)
/* 80180084 0017CFE4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80180088 0017CFE8 48 20 9E 6D */ bl __shl2i
/* 8018008C 0017CFEC 39 00 FF FF */ li r8, -1
/* 80180090 0017CFF0 39 60 00 00 */ li r11, 0
/* 80180094 0017CFF4 38 00 00 02 */ li r0, 2
/* 80180098 0017CFF8 90 81 00 9C */ stw r4, 0x9c(r1)
/* 8018009C 0017CFFC 7E E6 BB 78 */ mr r6, r23
/* 801800A0 0017D000 38 81 01 A8 */ addi r4, r1, 0x1a8
/* 801800A4 0017D004 90 61 00 98 */ stw r3, 0x98(r1)
/* 801800A8 0017D008 7F 03 C3 78 */ mr r3, r24
/* 801800AC 0017D00C 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 801800B0 0017D010 38 E1 00 90 */ addi r7, r1, 0x90
/* 801800B4 0017D014 91 01 00 94 */ stw r8, 0x94(r1)
/* 801800B8 0017D018 39 01 00 2C */ addi r8, r1, 0x2c
/* 801800BC 0017D01C 39 21 01 48 */ addi r9, r1, 0x148
/* 801800C0 0017D020 39 41 00 18 */ addi r10, r1, 0x18
/* 801800C4 0017D024 91 61 00 90 */ stw r11, 0x90(r1)
/* 801800C8 0017D028 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 801800CC 0017D02C 48 00 2D 39 */ bl DetectStaticCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter9CVector3fR14CCollisionInfoRd
/* 801800D0 0017D030 93 A1 00 A8 */ stw r29, 0xa8(r1)
/* 801800D4 0017D034 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801800D8 0017D038 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 801800DC 0017D03C 41 82 00 58 */ beq lbl_80180134
/* 801800E0 0017D040 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 801800E4 0017D044 6F 43 80 00 */ xoris r3, r26, 0x8000
/* 801800E8 0017D048 3C 00 43 30 */ lis r0, 0x4330
/* 801800EC 0017D04C 90 61 1C F4 */ stw r3, 0x1cf4(r1)
/* 801800F0 0017D050 FC 11 00 28 */ fsub f0, f17, f0
/* 801800F4 0017D054 C8 62 A2 B8 */ lfd f3, lbl_805ABFD8@sda21(r2)
/* 801800F8 0017D058 90 01 1C F0 */ stw r0, 0x1cf0(r1)
/* 801800FC 0017D05C C0 41 00 74 */ lfs f2, 0x74(r1)
/* 80180100 0017D060 FC 80 00 18 */ frsp f4, f0
/* 80180104 0017D064 C8 01 1C F0 */ lfd f0, 0x1cf0(r1)
/* 80180108 0017D068 C0 21 00 78 */ lfs f1, 0x78(r1)
/* 8018010C 0017D06C EC 60 18 28 */ fsubs f3, f0, f3
/* 80180110 0017D070 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 80180114 0017D074 EC 84 88 24 */ fdivs f4, f4, f17
/* 80180118 0017D078 EC 64 18 24 */ fdivs f3, f4, f3
/* 8018011C 0017D07C EC 43 00 B2 */ fmuls f2, f3, f2
/* 80180120 0017D080 EC 23 00 72 */ fmuls f1, f3, f1
/* 80180124 0017D084 EC 03 00 32 */ fmuls f0, f3, f0
/* 80180128 0017D088 EE F7 10 28 */ fsubs f23, f23, f2
/* 8018012C 0017D08C EE D6 08 28 */ fsubs f22, f22, f1
/* 80180130 0017D090 EE B5 00 28 */ fsubs f21, f21, f0
lbl_80180134:
/* 80180134 0017D094 3B 7B 00 01 */ addi r27, r27, 1
lbl_80180138:
/* 80180138 0017D098 7C 1B D0 00 */ cmpw r27, r26
/* 8018013C 0017D09C 41 80 FD 9C */ blt lbl_8017FED8
/* 80180140 0017D0A0 EC 92 05 B2 */ fmuls f4, f18, f22
/* 80180144 0017D0A4 C0 B9 01 3C */ lfs f5, 0x13c(r25)
/* 80180148 0017D0A8 EC 52 05 72 */ fmuls f2, f18, f21
/* 8018014C 0017D0AC C0 79 01 40 */ lfs f3, 0x140(r25)
/* 80180150 0017D0B0 EC 12 05 F2 */ fmuls f0, f18, f23
/* 80180154 0017D0B4 C0 39 01 38 */ lfs f1, 0x138(r25)
/* 80180158 0017D0B8 EC 90 01 32 */ fmuls f4, f16, f4
/* 8018015C 0017D0BC 7F 23 CB 78 */ mr r3, r25
/* 80180160 0017D0C0 EC 50 00 B2 */ fmuls f2, f16, f2
/* 80180164 0017D0C4 38 81 00 20 */ addi r4, r1, 0x20
/* 80180168 0017D0C8 EC 10 00 32 */ fmuls f0, f16, f0
/* 8018016C 0017D0CC EC 85 20 2A */ fadds f4, f5, f4
/* 80180170 0017D0D0 EC 43 10 2A */ fadds f2, f3, f2
/* 80180174 0017D0D4 EC 01 00 2A */ fadds f0, f1, f0
/* 80180178 0017D0D8 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 8018017C 0017D0DC D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80180180 0017D0E0 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80180184 0017D0E4 4B F9 AB 1D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 80180188 0017D0E8 34 E1 01 C0 */ addic. r7, r1, 0x1c0
/* 8018018C 0017D0EC 41 82 00 94 */ beq lbl_80180220
/* 80180190 0017D0F0 38 C7 00 04 */ addi r6, r7, 4
/* 80180194 0017D0F4 38 60 00 00 */ li r3, 0
/* 80180198 0017D0F8 48 00 00 74 */ b lbl_8018020C
lbl_8018019C:
/* 8018019C 0017D0FC 28 06 00 00 */ cmplwi r6, 0
/* 801801A0 0017D100 41 82 00 64 */ beq lbl_80180204
/* 801801A4 0017D104 34 06 00 04 */ addic. r0, r6, 4
/* 801801A8 0017D108 41 82 00 5C */ beq lbl_80180204
/* 801801AC 0017D10C 81 06 00 04 */ lwz r8, 4(r6)
/* 801801B0 0017D110 38 80 00 00 */ li r4, 0
/* 801801B4 0017D114 2C 08 00 00 */ cmpwi r8, 0
/* 801801B8 0017D118 40 81 00 44 */ ble lbl_801801FC
/* 801801BC 0017D11C 2C 08 00 08 */ cmpwi r8, 8
/* 801801C0 0017D120 38 A8 FF F8 */ addi r5, r8, -8
/* 801801C4 0017D124 40 81 00 20 */ ble lbl_801801E4
/* 801801C8 0017D128 38 05 00 07 */ addi r0, r5, 7
/* 801801CC 0017D12C 54 00 E8 FE */ srwi r0, r0, 3
/* 801801D0 0017D130 7C 09 03 A6 */ mtctr r0
/* 801801D4 0017D134 2C 05 00 00 */ cmpwi r5, 0
/* 801801D8 0017D138 40 81 00 0C */ ble lbl_801801E4
lbl_801801DC:
/* 801801DC 0017D13C 38 84 00 08 */ addi r4, r4, 8
/* 801801E0 0017D140 42 00 FF FC */ bdnz lbl_801801DC
lbl_801801E4:
/* 801801E4 0017D144 7C 04 40 50 */ subf r0, r4, r8
/* 801801E8 0017D148 7C 09 03 A6 */ mtctr r0
/* 801801EC 0017D14C 7C 04 40 00 */ cmpw r4, r8
/* 801801F0 0017D150 40 80 00 0C */ bge lbl_801801FC
lbl_801801F4:
/* 801801F4 0017D154 38 84 00 01 */ addi r4, r4, 1
/* 801801F8 0017D158 42 00 FF FC */ bdnz lbl_801801F4
lbl_801801FC:
/* 801801FC 0017D15C 38 00 00 00 */ li r0, 0
/* 80180200 0017D160 90 06 00 04 */ stw r0, 4(r6)
lbl_80180204:
/* 80180204 0017D164 38 C6 09 0C */ addi r6, r6, 0x90c
/* 80180208 0017D168 38 63 00 01 */ addi r3, r3, 1
lbl_8018020C:
/* 8018020C 0017D16C 80 07 00 00 */ lwz r0, 0(r7)
/* 80180210 0017D170 7C 03 00 00 */ cmpw r3, r0
/* 80180214 0017D174 41 80 FF 88 */ blt lbl_8018019C
/* 80180218 0017D178 38 00 00 00 */ li r0, 0
/* 8018021C 0017D17C 90 07 00 00 */ stw r0, 0(r7)
lbl_80180220:
/* 80180220 0017D180 38 00 1E 38 */ li r0, 0x1e38
/* 80180224 0017D184 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0
/* 80180228 0017D188 CB E1 1E 30 */ lfd f31, 0x1e30(r1)
/* 8018022C 0017D18C 38 00 1E 28 */ li r0, 0x1e28
/* 80180230 0017D190 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0
/* 80180234 0017D194 CB C1 1E 20 */ lfd f30, 0x1e20(r1)
/* 80180238 0017D198 38 00 1E 18 */ li r0, 0x1e18
/* 8018023C 0017D19C 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0
/* 80180240 0017D1A0 CB A1 1E 10 */ lfd f29, 0x1e10(r1)
/* 80180244 0017D1A4 38 00 1E 08 */ li r0, 0x1e08
/* 80180248 0017D1A8 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0
/* 8018024C 0017D1AC CB 81 1E 00 */ lfd f28, 0x1e00(r1)
/* 80180250 0017D1B0 38 00 1D F8 */ li r0, 0x1df8
/* 80180254 0017D1B4 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0
/* 80180258 0017D1B8 CB 61 1D F0 */ lfd f27, 0x1df0(r1)
/* 8018025C 0017D1BC 38 00 1D E8 */ li r0, 0x1de8
/* 80180260 0017D1C0 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0
/* 80180264 0017D1C4 CB 41 1D E0 */ lfd f26, 0x1de0(r1)
/* 80180268 0017D1C8 38 00 1D D8 */ li r0, 0x1dd8
/* 8018026C 0017D1CC 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0
/* 80180270 0017D1D0 CB 21 1D D0 */ lfd f25, 0x1dd0(r1)
/* 80180274 0017D1D4 38 00 1D C8 */ li r0, 0x1dc8
/* 80180278 0017D1D8 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0
/* 8018027C 0017D1DC CB 01 1D C0 */ lfd f24, 0x1dc0(r1)
/* 80180280 0017D1E0 38 00 1D B8 */ li r0, 0x1db8
/* 80180284 0017D1E4 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0
/* 80180288 0017D1E8 CA E1 1D B0 */ lfd f23, 0x1db0(r1)
/* 8018028C 0017D1EC 38 00 1D A8 */ li r0, 0x1da8
/* 80180290 0017D1F0 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0
/* 80180294 0017D1F4 CA C1 1D A0 */ lfd f22, 0x1da0(r1)
/* 80180298 0017D1F8 38 00 1D 98 */ li r0, 0x1d98
/* 8018029C 0017D1FC 12 A1 00 0C */ psq_lx f21, r1, r0, 0, qr0
/* 801802A0 0017D200 CA A1 1D 90 */ lfd f21, 0x1d90(r1)
/* 801802A4 0017D204 38 00 1D 88 */ li r0, 0x1d88
/* 801802A8 0017D208 12 81 00 0C */ psq_lx f20, r1, r0, 0, qr0
/* 801802AC 0017D20C CA 81 1D 80 */ lfd f20, 0x1d80(r1)
/* 801802B0 0017D210 38 00 1D 78 */ li r0, 0x1d78
/* 801802B4 0017D214 12 61 00 0C */ psq_lx f19, r1, r0, 0, qr0
/* 801802B8 0017D218 CA 61 1D 70 */ lfd f19, 0x1d70(r1)
/* 801802BC 0017D21C 38 00 1D 68 */ li r0, 0x1d68
/* 801802C0 0017D220 12 41 00 0C */ psq_lx f18, r1, r0, 0, qr0
/* 801802C4 0017D224 CA 41 1D 60 */ lfd f18, 0x1d60(r1)
/* 801802C8 0017D228 38 00 1D 58 */ li r0, 0x1d58
/* 801802CC 0017D22C 12 21 00 0C */ psq_lx f17, r1, r0, 0, qr0
/* 801802D0 0017D230 CA 21 1D 50 */ lfd f17, 0x1d50(r1)
/* 801802D4 0017D234 38 00 1D 48 */ li r0, 0x1d48
/* 801802D8 0017D238 12 01 00 0C */ psq_lx f16, r1, r0, 0, qr0
/* 801802DC 0017D23C CA 01 1D 40 */ lfd f16, 0x1d40(r1)
/* 801802E0 0017D240 38 00 1D 38 */ li r0, 0x1d38
/* 801802E4 0017D244 11 E1 00 0C */ psq_lx f15, r1, r0, 0, qr0
/* 801802E8 0017D248 C9 E1 1D 30 */ lfd f15, 0x1d30(r1)
/* 801802EC 0017D24C 38 00 1D 28 */ li r0, 0x1d28
/* 801802F0 0017D250 11 C1 00 0C */ psq_lx f14, r1, r0, 0, qr0
/* 801802F4 0017D254 C9 C1 1D 20 */ lfd f14, 0x1d20(r1)
/* 801802F8 0017D258 BA E1 1C FC */ lmw r23, 0x1cfc(r1)
/* 801802FC 0017D25C 80 01 1E 44 */ lwz r0, 0x1e44(r1)
/* 80180300 0017D260 7C 08 03 A6 */ mtlr r0
/* 80180304 0017D264 38 21 1E 40 */ addi r1, r1, 0x1e40
2022-07-14 05:48:03 +00:00
/* 80180308 0017D268 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global GetActorRelativeVelocities__14CGameCollisionFPC13CPhysicsActorPC13CPhysicsActor
GetActorRelativeVelocities__14CGameCollisionFPC13CPhysicsActorPC13CPhysicsActor:
/* 8018030C 0017D26C 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80180310 0017D270 7C 08 02 A6 */ mflr r0
/* 80180314 0017D274 90 01 00 64 */ stw r0, 0x64(r1)
/* 80180318 0017D278 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 8018031C 0017D27C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80180320 0017D280 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 80180324 0017D284 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 80180328 0017D288 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 8018032C 0017D28C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
/* 80180330 0017D290 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80180334 0017D294 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80180338 0017D298 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8018033C 0017D29C 7C BF 2B 79 */ or. r31, r5, r5
/* 80180340 0017D2A0 C3 E4 01 38 */ lfs f31, 0x138(r4)
/* 80180344 0017D2A4 C3 C4 01 3C */ lfs f30, 0x13c(r4)
/* 80180348 0017D2A8 7C 9E 23 78 */ mr r30, r4
/* 8018034C 0017D2AC C3 A4 01 40 */ lfs f29, 0x140(r4)
/* 80180350 0017D2B0 7C 7D 1B 78 */ mr r29, r3
/* 80180354 0017D2B4 41 82 00 58 */ beq lbl_801803AC
/* 80180358 0017D2B8 7F E4 FB 78 */ mr r4, r31
/* 8018035C 0017D2BC 38 61 00 10 */ addi r3, r1, 0x10
/* 80180360 0017D2C0 4B F2 8A B5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80180364 0017D2C4 80 63 00 04 */ lwz r3, 4(r3)
/* 80180368 0017D2C8 38 00 00 00 */ li r0, 0
/* 8018036C 0017D2CC 28 03 00 00 */ cmplwi r3, 0
/* 80180370 0017D2D0 41 82 00 1C */ beq lbl_8018038C
/* 80180374 0017D2D4 A0 1E 00 08 */ lhz r0, 8(r30)
/* 80180378 0017D2D8 38 81 00 0C */ addi r4, r1, 0xc
/* 8018037C 0017D2DC B0 01 00 08 */ sth r0, 8(r1)
/* 80180380 0017D2E0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80180384 0017D2E4 4B F3 19 CD */ bl IsRider__15CScriptPlatformCF9TUniqueId
/* 80180388 0017D2E8 7C 60 1B 78 */ mr r0, r3
lbl_8018038C:
/* 8018038C 0017D2EC 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80180390 0017D2F0 40 82 00 1C */ bne lbl_801803AC
/* 80180394 0017D2F4 C0 5F 01 38 */ lfs f2, 0x138(r31)
/* 80180398 0017D2F8 C0 3F 01 3C */ lfs f1, 0x13c(r31)
/* 8018039C 0017D2FC C0 1F 01 40 */ lfs f0, 0x140(r31)
/* 801803A0 0017D300 EF FF 10 28 */ fsubs f31, f31, f2
/* 801803A4 0017D304 EF DE 08 28 */ fsubs f30, f30, f1
/* 801803A8 0017D308 EF BD 00 28 */ fsubs f29, f29, f0
lbl_801803AC:
/* 801803AC 0017D30C D3 FD 00 00 */ stfs f31, 0(r29)
/* 801803B0 0017D310 D3 DD 00 04 */ stfs f30, 4(r29)
/* 801803B4 0017D314 D3 BD 00 08 */ stfs f29, 8(r29)
/* 801803B8 0017D318 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 801803BC 0017D31C CB E1 00 50 */ lfd f31, 0x50(r1)
/* 801803C0 0017D320 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 801803C4 0017D324 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 801803C8 0017D328 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
/* 801803CC 0017D32C CB A1 00 30 */ lfd f29, 0x30(r1)
/* 801803D0 0017D330 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801803D4 0017D334 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 801803D8 0017D338 80 01 00 64 */ lwz r0, 0x64(r1)
/* 801803DC 0017D33C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 801803E0 0017D340 7C 08 03 A6 */ mtlr r0
/* 801803E4 0017D344 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 801803E8 0017D348 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "FindNonIntersectingVector__14CGameCollisionFR13CStateManagerRC19CAreaCollisionCacheRC13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>"
"FindNonIntersectingVector__14CGameCollisionFR13CStateManagerRC19CAreaCollisionCacheRC13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 801803EC 0017D34C 94 21 FE 40 */ stwu r1, -0x1c0(r1)
/* 801803F0 0017D350 7C 08 02 A6 */ mflr r0
/* 801803F4 0017D354 90 01 01 C4 */ stw r0, 0x1c4(r1)
/* 801803F8 0017D358 DB E1 01 B0 */ stfd f31, 0x1b0(r1)
/* 801803FC 0017D35C F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0
/* 80180400 0017D360 DB C1 01 A0 */ stfd f30, 0x1a0(r1)
/* 80180404 0017D364 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0
/* 80180408 0017D368 DB A1 01 90 */ stfd f29, 0x190(r1)
/* 8018040C 0017D36C F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0
/* 80180410 0017D370 DB 81 01 80 */ stfd f28, 0x180(r1)
/* 80180414 0017D374 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0
/* 80180418 0017D378 DB 61 01 70 */ stfd f27, 0x170(r1)
/* 8018041C 0017D37C F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0
/* 80180420 0017D380 DB 41 01 60 */ stfd f26, 0x160(r1)
/* 80180424 0017D384 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0
/* 80180428 0017D388 DB 21 01 50 */ stfd f25, 0x150(r1)
/* 8018042C 0017D38C F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0
/* 80180430 0017D390 DB 01 01 40 */ stfd f24, 0x140(r1)
/* 80180434 0017D394 F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0
/* 80180438 0017D398 DA E1 01 30 */ stfd f23, 0x130(r1)
/* 8018043C 0017D39C F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0
/* 80180440 0017D3A0 DA C1 01 20 */ stfd f22, 0x120(r1)
/* 80180444 0017D3A4 F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0
/* 80180448 0017D3A8 DA A1 01 10 */ stfd f21, 0x110(r1)
/* 8018044C 0017D3AC F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0
/* 80180450 0017D3B0 DA 81 01 00 */ stfd f20, 0x100(r1)
/* 80180454 0017D3B4 F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0
/* 80180458 0017D3B8 DA 61 00 F0 */ stfd f19, 0xf0(r1)
/* 8018045C 0017D3BC F2 61 00 F8 */ psq_st f19, 248(r1), 0, qr0
/* 80180460 0017D3C0 BE A1 00 C4 */ stmw r21, 0xc4(r1)
/* 80180464 0017D3C4 7C D9 33 78 */ mr r25, r6
/* 80180468 0017D3C8 7C 97 23 78 */ mr r23, r4
/* 8018046C 0017D3CC 7F 24 CB 78 */ mr r4, r25
/* 80180470 0017D3D0 7C 76 1B 78 */ mr r22, r3
/* 80180474 0017D3D4 81 99 00 00 */ lwz r12, 0(r25)
/* 80180478 0017D3D8 7C B8 2B 78 */ mr r24, r5
/* 8018047C 0017D3DC 7C FA 3B 78 */ mr r26, r7
/* 80180480 0017D3E0 7D 1B 43 78 */ mr r27, r8
/* 80180484 0017D3E4 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80180488 0017D3E8 38 61 00 58 */ addi r3, r1, 0x58
/* 8018048C 0017D3EC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80180490 0017D3F0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80180494 0017D3F4 38 61 00 88 */ addi r3, r1, 0x88
/* 80180498 0017D3F8 38 81 00 58 */ addi r4, r1, 0x58
/* 8018049C 0017D3FC 48 19 26 D9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801804A0 0017D400 7F 44 D3 78 */ mr r4, r26
/* 801804A4 0017D404 38 61 00 40 */ addi r3, r1, 0x40
/* 801804A8 0017D408 81 9A 00 00 */ lwz r12, 0(r26)
/* 801804AC 0017D40C 38 A1 00 88 */ addi r5, r1, 0x88
/* 801804B0 0017D410 C3 61 00 B4 */ lfs f27, 0xb4(r1)
/* 801804B4 0017D414 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801804B8 0017D418 C3 81 00 A4 */ lfs f28, 0xa4(r1)
/* 801804BC 0017D41C C3 A1 00 94 */ lfs f29, 0x94(r1)
/* 801804C0 0017D420 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801804C4 0017D424 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801804C8 0017D428 38 61 00 28 */ addi r3, r1, 0x28
/* 801804CC 0017D42C 38 81 00 40 */ addi r4, r1, 0x40
/* 801804D0 0017D430 48 1B 71 3D */ bl GetCenterPoint__6CAABoxCFv
/* 801804D4 0017D434 C0 41 00 28 */ lfs f2, 0x28(r1)
/* 801804D8 0017D438 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801804DC 0017D43C C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 801804E0 0017D440 3B C3 66 A0 */ addi r30, r3, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801804E4 0017D444 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 801804E8 0017D448 3B A0 00 02 */ li r29, 2
/* 801804EC 0017D44C D0 41 00 34 */ stfs f2, 0x34(r1)
/* 801804F0 0017D450 3F E0 43 30 */ lis r31, 0x4330
/* 801804F4 0017D454 C3 C2 A2 C0 */ lfs f30, lbl_805ABFE0@sda21(r2)
/* 801804F8 0017D458 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 801804FC 0017D45C CB E2 A2 B8 */ lfd f31, lbl_805ABFD8@sda21(r2)
/* 80180500 0017D460 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80180504 0017D464 48 00 02 FC */ b lbl_80180800
lbl_80180508:
/* 80180508 0017D468 6F A0 80 00 */ xoris r0, r29, 0x8000
/* 8018050C 0017D46C 93 E1 00 B8 */ stw r31, 0xb8(r1)
/* 80180510 0017D470 3B 80 00 00 */ li r28, 0
/* 80180514 0017D474 3A A0 00 00 */ li r21, 0
/* 80180518 0017D478 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8018051C 0017D47C C8 01 00 B8 */ lfd f0, 0xb8(r1)
/* 80180520 0017D480 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80180524 0017D484 EE 7E 00 32 */ fmuls f19, f30, f0
/* 80180528 0017D488 FE E0 98 50 */ fneg f23, f19
lbl_8018052C:
/* 8018052C 0017D48C 28 1C 00 19 */ cmplwi r28, 0x19
/* 80180530 0017D490 C3 5E 00 00 */ lfs f26, 0(r30)
/* 80180534 0017D494 C3 3E 00 04 */ lfs f25, 4(r30)
/* 80180538 0017D498 C3 1E 00 08 */ lfs f24, 8(r30)
/* 8018053C 0017D49C 41 81 01 B4 */ bgt lbl_801806F0
/* 80180540 0017D4A0 3C 60 80 3E */ lis r3, lbl_803E3F80@ha
/* 80180544 0017D4A4 38 63 3F 80 */ addi r3, r3, lbl_803E3F80@l
/* 80180548 0017D4A8 7C 03 A8 2E */ lwzx r0, r3, r21
/* 8018054C 0017D4AC 7C 09 03 A6 */ mtctr r0
2022-07-14 05:48:03 +00:00
/* 80180550 0017D4B0 4E 80 04 20 */ bctr
2022-04-17 00:22:26 +00:00
.global lbl_80180554
lbl_80180554:
2022-04-13 08:02:06 +00:00
/* 80180554 0017D4B4 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 80180558 0017D4B8 FF 20 98 90 */ fmr f25, f19
/* 8018055C 0017D4BC FF 00 D0 90 */ fmr f24, f26
/* 80180560 0017D4C0 48 00 01 90 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180564
lbl_80180564:
2022-04-13 08:02:06 +00:00
/* 80180564 0017D4C4 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 80180568 0017D4C8 FF 20 B8 90 */ fmr f25, f23
/* 8018056C 0017D4CC FF 00 D0 90 */ fmr f24, f26
/* 80180570 0017D4D0 48 00 01 80 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180574
lbl_80180574:
2022-04-13 08:02:06 +00:00
/* 80180574 0017D4D4 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 80180578 0017D4D8 FF 40 98 90 */ fmr f26, f19
/* 8018057C 0017D4DC FF 00 C8 90 */ fmr f24, f25
/* 80180580 0017D4E0 48 00 01 70 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180584
lbl_80180584:
2022-04-13 08:02:06 +00:00
/* 80180584 0017D4E4 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 80180588 0017D4E8 FF 40 B8 90 */ fmr f26, f23
/* 8018058C 0017D4EC FF 00 C8 90 */ fmr f24, f25
/* 80180590 0017D4F0 48 00 01 60 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180594
lbl_80180594:
2022-04-13 08:02:06 +00:00
/* 80180594 0017D4F4 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 80180598 0017D4F8 FF 00 98 90 */ fmr f24, f19
/* 8018059C 0017D4FC FF 20 D0 90 */ fmr f25, f26
/* 801805A0 0017D500 48 00 01 50 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805A4
lbl_801805A4:
2022-04-13 08:02:06 +00:00
/* 801805A4 0017D504 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 801805A8 0017D508 FF 00 B8 90 */ fmr f24, f23
/* 801805AC 0017D50C FF 20 D0 90 */ fmr f25, f26
/* 801805B0 0017D510 48 00 01 40 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805B4
lbl_801805B4:
2022-04-13 08:02:06 +00:00
/* 801805B4 0017D514 FF 20 98 90 */ fmr f25, f19
/* 801805B8 0017D518 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 801805BC 0017D51C FF 00 98 90 */ fmr f24, f19
/* 801805C0 0017D520 48 00 01 30 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805C4
lbl_801805C4:
2022-04-13 08:02:06 +00:00
/* 801805C4 0017D524 FF 20 B8 90 */ fmr f25, f23
/* 801805C8 0017D528 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 801805CC 0017D52C FF 00 B8 90 */ fmr f24, f23
/* 801805D0 0017D530 48 00 01 20 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805D4
lbl_801805D4:
2022-04-13 08:02:06 +00:00
/* 801805D4 0017D534 FF 20 B8 90 */ fmr f25, f23
/* 801805D8 0017D538 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 801805DC 0017D53C FF 00 98 90 */ fmr f24, f19
/* 801805E0 0017D540 48 00 01 10 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805E4
lbl_801805E4:
2022-04-13 08:02:06 +00:00
/* 801805E4 0017D544 FF 20 98 90 */ fmr f25, f19
/* 801805E8 0017D548 C3 42 A2 A8 */ lfs f26, lbl_805ABFC8@sda21(r2)
/* 801805EC 0017D54C FF 00 B8 90 */ fmr f24, f23
/* 801805F0 0017D550 48 00 01 00 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801805F4
lbl_801805F4:
2022-04-13 08:02:06 +00:00
/* 801805F4 0017D554 FF 40 98 90 */ fmr f26, f19
/* 801805F8 0017D558 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 801805FC 0017D55C FF 00 98 90 */ fmr f24, f19
/* 80180600 0017D560 48 00 00 F0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180604
lbl_80180604:
2022-04-13 08:02:06 +00:00
/* 80180604 0017D564 FF 40 B8 90 */ fmr f26, f23
/* 80180608 0017D568 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 8018060C 0017D56C FF 00 B8 90 */ fmr f24, f23
/* 80180610 0017D570 48 00 00 E0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180614
lbl_80180614:
2022-04-13 08:02:06 +00:00
/* 80180614 0017D574 FF 40 B8 90 */ fmr f26, f23
/* 80180618 0017D578 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 8018061C 0017D57C FF 00 98 90 */ fmr f24, f19
/* 80180620 0017D580 48 00 00 D0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180624
lbl_80180624:
2022-04-13 08:02:06 +00:00
/* 80180624 0017D584 FF 40 98 90 */ fmr f26, f19
/* 80180628 0017D588 C3 22 A2 A8 */ lfs f25, lbl_805ABFC8@sda21(r2)
/* 8018062C 0017D58C FF 00 B8 90 */ fmr f24, f23
/* 80180630 0017D590 48 00 00 C0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180634
lbl_80180634:
2022-04-13 08:02:06 +00:00
/* 80180634 0017D594 FF 40 98 90 */ fmr f26, f19
/* 80180638 0017D598 C3 02 A2 A8 */ lfs f24, lbl_805ABFC8@sda21(r2)
/* 8018063C 0017D59C FF 20 98 90 */ fmr f25, f19
/* 80180640 0017D5A0 48 00 00 B0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180644
lbl_80180644:
2022-04-13 08:02:06 +00:00
/* 80180644 0017D5A4 FF 40 B8 90 */ fmr f26, f23
/* 80180648 0017D5A8 C3 02 A2 A8 */ lfs f24, lbl_805ABFC8@sda21(r2)
/* 8018064C 0017D5AC FF 20 B8 90 */ fmr f25, f23
/* 80180650 0017D5B0 48 00 00 A0 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180654
lbl_80180654:
2022-04-13 08:02:06 +00:00
/* 80180654 0017D5B4 FF 40 B8 90 */ fmr f26, f23
/* 80180658 0017D5B8 C3 02 A2 A8 */ lfs f24, lbl_805ABFC8@sda21(r2)
/* 8018065C 0017D5BC FF 20 98 90 */ fmr f25, f19
/* 80180660 0017D5C0 48 00 00 90 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180664
lbl_80180664:
2022-04-13 08:02:06 +00:00
/* 80180664 0017D5C4 FF 40 98 90 */ fmr f26, f19
/* 80180668 0017D5C8 C3 02 A2 A8 */ lfs f24, lbl_805ABFC8@sda21(r2)
/* 8018066C 0017D5CC FF 20 B8 90 */ fmr f25, f23
/* 80180670 0017D5D0 48 00 00 80 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180674
lbl_80180674:
2022-04-13 08:02:06 +00:00
/* 80180674 0017D5D4 FF 40 98 90 */ fmr f26, f19
/* 80180678 0017D5D8 FF 20 98 90 */ fmr f25, f19
/* 8018067C 0017D5DC FF 00 98 90 */ fmr f24, f19
/* 80180680 0017D5E0 48 00 00 70 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180684
lbl_80180684:
2022-04-13 08:02:06 +00:00
/* 80180684 0017D5E4 FF 40 B8 90 */ fmr f26, f23
/* 80180688 0017D5E8 FF 20 98 90 */ fmr f25, f19
/* 8018068C 0017D5EC FF 00 98 90 */ fmr f24, f19
/* 80180690 0017D5F0 48 00 00 60 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_80180694
lbl_80180694:
2022-04-13 08:02:06 +00:00
/* 80180694 0017D5F4 FF 40 98 90 */ fmr f26, f19
/* 80180698 0017D5F8 FF 20 B8 90 */ fmr f25, f23
/* 8018069C 0017D5FC FF 00 98 90 */ fmr f24, f19
/* 801806A0 0017D600 48 00 00 50 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801806A4
lbl_801806A4:
2022-04-13 08:02:06 +00:00
/* 801806A4 0017D604 FF 40 B8 90 */ fmr f26, f23
/* 801806A8 0017D608 FF 20 B8 90 */ fmr f25, f23
/* 801806AC 0017D60C FF 00 98 90 */ fmr f24, f19
/* 801806B0 0017D610 48 00 00 40 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801806B4
lbl_801806B4:
2022-04-13 08:02:06 +00:00
/* 801806B4 0017D614 FF 40 98 90 */ fmr f26, f19
/* 801806B8 0017D618 FF 20 98 90 */ fmr f25, f19
/* 801806BC 0017D61C FF 00 B8 90 */ fmr f24, f23
/* 801806C0 0017D620 48 00 00 30 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801806C4
lbl_801806C4:
2022-04-13 08:02:06 +00:00
/* 801806C4 0017D624 FF 40 B8 90 */ fmr f26, f23
/* 801806C8 0017D628 FF 20 98 90 */ fmr f25, f19
/* 801806CC 0017D62C FF 00 B8 90 */ fmr f24, f23
/* 801806D0 0017D630 48 00 00 20 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801806D4
lbl_801806D4:
2022-04-13 08:02:06 +00:00
/* 801806D4 0017D634 FF 40 98 90 */ fmr f26, f19
/* 801806D8 0017D638 FF 20 B8 90 */ fmr f25, f23
/* 801806DC 0017D63C FF 00 B8 90 */ fmr f24, f23
/* 801806E0 0017D640 48 00 00 10 */ b lbl_801806F0
2022-04-17 00:22:26 +00:00
.global lbl_801806E4
lbl_801806E4:
2022-04-13 08:02:06 +00:00
/* 801806E4 0017D644 FF 40 B8 90 */ fmr f26, f23
/* 801806E8 0017D648 FF 20 B8 90 */ fmr f25, f23
/* 801806EC 0017D64C FF 00 B8 90 */ fmr f24, f23
lbl_801806F0:
/* 801806F0 0017D650 EE DD D0 2A */ fadds f22, f29, f26
/* 801806F4 0017D654 80 D7 08 CC */ lwz r6, 0x8cc(r23)
/* 801806F8 0017D658 EE BC C8 2A */ fadds f21, f28, f25
/* 801806FC 0017D65C 80 B7 08 50 */ lwz r5, 0x850(r23)
/* 80180700 0017D660 EE 9B C0 2A */ fadds f20, f27, f24
/* 80180704 0017D664 54 C3 18 38 */ slwi r3, r6, 3
/* 80180708 0017D668 D2 C1 00 1C */ stfs f22, 0x1c(r1)
/* 8018070C 0017D66C 38 03 00 04 */ addi r0, r3, 4
/* 80180710 0017D670 38 81 00 1C */ addi r4, r1, 0x1c
/* 80180714 0017D674 D2 A1 00 20 */ stfs f21, 0x20(r1)
/* 80180718 0017D678 D2 81 00 24 */ stfs f20, 0x24(r1)
/* 8018071C 0017D67C 80 65 00 20 */ lwz r3, 0x20(r5)
/* 80180720 0017D680 90 C1 00 08 */ stw r6, 8(r1)
/* 80180724 0017D684 7C 63 00 2E */ lwzx r3, r3, r0
/* 80180728 0017D688 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8018072C 0017D68C 38 63 00 6C */ addi r3, r3, 0x6c
/* 80180730 0017D690 48 1B 6E 05 */ bl PointInside__6CAABoxCFRC9CVector3f
/* 80180734 0017D694 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80180738 0017D698 41 82 00 A8 */ beq lbl_801807E0
/* 8018073C 0017D69C C0 41 00 38 */ lfs f2, 0x38(r1)
2022-08-16 21:46:30 +00:00
/* 80180740 0017D6A0 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80180744 0017D6A4 C0 21 00 3C */ lfs f1, 0x3c(r1)
2022-08-16 21:46:30 +00:00
/* 80180748 0017D6A8 38 E3 FD 18 */ addi r7, r3, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 8018074C 0017D6AC C0 01 00 34 */ lfs f0, 0x34(r1)
/* 80180750 0017D6B0 EC 42 C8 2A */ fadds f2, f2, f25
/* 80180754 0017D6B4 EC 21 C0 2A */ fadds f1, f1, f24
/* 80180758 0017D6B8 7E E3 BB 78 */ mr r3, r23
/* 8018075C 0017D6BC EC 00 D0 2A */ fadds f0, f0, f26
/* 80180760 0017D6C0 7F 66 DB 78 */ mr r6, r27
/* 80180764 0017D6C4 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80180768 0017D6C8 7F 28 CB 78 */ mr r8, r25
/* 8018076C 0017D6CC D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80180770 0017D6D0 38 81 00 34 */ addi r4, r1, 0x34
/* 80180774 0017D6D4 38 A1 00 10 */ addi r5, r1, 0x10
/* 80180778 0017D6D8 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8018077C 0017D6DC 4B EC C7 F1 */ bl "RayCollideWorld__13CStateManagerRC9CVector3fRC9CVector3fRCQ24rstl49reserved_vector<9TUniqueId,1024>RC15CMaterialFilterPC6CActor"
/* 80180780 0017D6E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80180784 0017D6E4 41 82 00 5C */ beq lbl_801807E0
/* 80180788 0017D6E8 D2 C1 00 94 */ stfs f22, 0x94(r1)
/* 8018078C 0017D6EC 7F 23 CB 78 */ mr r3, r25
/* 80180790 0017D6F0 D2 A1 00 A4 */ stfs f21, 0xa4(r1)
/* 80180794 0017D6F4 D2 81 00 B4 */ stfs f20, 0xb4(r1)
/* 80180798 0017D6F8 4B ED 31 25 */ bl GetMaterialFilter__6CActorCFv
/* 8018079C 0017D6FC 7C 67 1B 78 */ mr r7, r3
/* 801807A0 0017D700 7E E3 BB 78 */ mr r3, r23
/* 801807A4 0017D704 7F 04 C3 78 */ mr r4, r24
/* 801807A8 0017D708 7F 45 D3 78 */ mr r5, r26
/* 801807AC 0017D70C 7F 68 DB 78 */ mr r8, r27
/* 801807B0 0017D710 38 C1 00 88 */ addi r6, r1, 0x88
/* 801807B4 0017D714 48 00 3D B1 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801807B8 0017D718 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801807BC 0017D71C 40 82 00 24 */ bne lbl_801807E0
/* 801807C0 0017D720 38 00 00 01 */ li r0, 1
/* 801807C4 0017D724 28 16 00 00 */ cmplwi r22, 0
/* 801807C8 0017D728 98 16 00 0C */ stb r0, 0xc(r22)
/* 801807CC 0017D72C 41 82 00 44 */ beq lbl_80180810
/* 801807D0 0017D730 D3 56 00 00 */ stfs f26, 0(r22)
/* 801807D4 0017D734 D3 36 00 04 */ stfs f25, 4(r22)
/* 801807D8 0017D738 D3 16 00 08 */ stfs f24, 8(r22)
/* 801807DC 0017D73C 48 00 00 34 */ b lbl_80180810
lbl_801807E0:
/* 801807E0 0017D740 3B 9C 00 01 */ addi r28, r28, 1
/* 801807E4 0017D744 3A B5 00 04 */ addi r21, r21, 4
/* 801807E8 0017D748 2C 1C 00 1A */ cmpwi r28, 0x1a
/* 801807EC 0017D74C 41 80 FD 40 */ blt lbl_8018052C
/* 801807F0 0017D750 57 A0 0F FE */ srwi r0, r29, 0x1f
/* 801807F4 0017D754 7C 00 EA 14 */ add r0, r0, r29
/* 801807F8 0017D758 7C 00 0E 70 */ srawi r0, r0, 1
/* 801807FC 0017D75C 7F BD 02 14 */ add r29, r29, r0
lbl_80180800:
/* 80180800 0017D760 2C 1D 03 E8 */ cmpwi r29, 0x3e8
/* 80180804 0017D764 41 80 FD 04 */ blt lbl_80180508
/* 80180808 0017D768 38 00 00 00 */ li r0, 0
/* 8018080C 0017D76C 98 16 00 0C */ stb r0, 0xc(r22)
lbl_80180810:
/* 80180810 0017D770 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0
/* 80180814 0017D774 CB E1 01 B0 */ lfd f31, 0x1b0(r1)
/* 80180818 0017D778 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0
/* 8018081C 0017D77C CB C1 01 A0 */ lfd f30, 0x1a0(r1)
/* 80180820 0017D780 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0
/* 80180824 0017D784 CB A1 01 90 */ lfd f29, 0x190(r1)
/* 80180828 0017D788 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0
/* 8018082C 0017D78C CB 81 01 80 */ lfd f28, 0x180(r1)
/* 80180830 0017D790 E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0
/* 80180834 0017D794 CB 61 01 70 */ lfd f27, 0x170(r1)
/* 80180838 0017D798 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0
/* 8018083C 0017D79C CB 41 01 60 */ lfd f26, 0x160(r1)
/* 80180840 0017D7A0 E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0
/* 80180844 0017D7A4 CB 21 01 50 */ lfd f25, 0x150(r1)
/* 80180848 0017D7A8 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0
/* 8018084C 0017D7AC CB 01 01 40 */ lfd f24, 0x140(r1)
/* 80180850 0017D7B0 E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0
/* 80180854 0017D7B4 CA E1 01 30 */ lfd f23, 0x130(r1)
/* 80180858 0017D7B8 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0
/* 8018085C 0017D7BC CA C1 01 20 */ lfd f22, 0x120(r1)
/* 80180860 0017D7C0 E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0
/* 80180864 0017D7C4 CA A1 01 10 */ lfd f21, 0x110(r1)
/* 80180868 0017D7C8 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0
/* 8018086C 0017D7CC CA 81 01 00 */ lfd f20, 0x100(r1)
/* 80180870 0017D7D0 E2 61 00 F8 */ psq_l f19, 248(r1), 0, qr0
/* 80180874 0017D7D4 CA 61 00 F0 */ lfd f19, 0xf0(r1)
/* 80180878 0017D7D8 BA A1 00 C4 */ lmw r21, 0xc4(r1)
/* 8018087C 0017D7DC 80 01 01 C4 */ lwz r0, 0x1c4(r1)
/* 80180880 0017D7E0 7C 08 03 A6 */ mtlr r0
/* 80180884 0017D7E4 38 21 01 C0 */ addi r1, r1, 0x1c0
2022-07-14 05:48:03 +00:00
/* 80180888 0017D7E8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "CollisionFailsafe__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheR13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>fUi"
"CollisionFailsafe__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheR13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>fUi":
/* 8018088C 0017D7EC 94 21 FD 50 */ stwu r1, -0x2b0(r1)
/* 80180890 0017D7F0 7C 08 02 A6 */ mflr r0
/* 80180894 0017D7F4 90 01 02 B4 */ stw r0, 0x2b4(r1)
/* 80180898 0017D7F8 DB E1 02 A0 */ stfd f31, 0x2a0(r1)
/* 8018089C 0017D7FC F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0
/* 801808A0 0017D800 BF 21 02 84 */ stmw r25, 0x284(r1)
/* 801808A4 0017D804 3D 20 80 5A */ lis r9, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801808A8 0017D808 FF E0 08 90 */ fmr f31, f1
/* 801808AC 0017D80C 7C BD 2B 78 */ mr r29, r5
/* 801808B0 0017D810 7C 7B 1B 78 */ mr r27, r3
/* 801808B4 0017D814 38 09 66 A0 */ addi r0, r9, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801808B8 0017D818 7C 9C 23 78 */ mr r28, r4
/* 801808BC 0017D81C 7C DE 33 78 */ mr r30, r6
/* 801808C0 0017D820 7C FF 3B 78 */ mr r31, r7
/* 801808C4 0017D824 7D 19 43 78 */ mr r25, r8
/* 801808C8 0017D828 7F A3 EB 78 */ mr r3, r29
/* 801808CC 0017D82C 7C 04 03 78 */ mr r4, r0
/* 801808D0 0017D830 4B F9 A1 69 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 801808D4 0017D834 C0 02 A2 C4 */ lfs f0, lbl_805ABFE4@sda21(r2)
/* 801808D8 0017D838 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 801808DC 0017D83C 40 81 00 10 */ ble lbl_801808EC
/* 801808E0 0017D840 80 7D 02 50 */ lwz r3, 0x250(r29)
/* 801808E4 0017D844 38 03 00 01 */ addi r0, r3, 1
/* 801808E8 0017D848 90 1D 02 50 */ stw r0, 0x250(r29)
lbl_801808EC:
/* 801808EC 0017D84C 80 1D 02 50 */ lwz r0, 0x250(r29)
/* 801808F0 0017D850 28 00 00 01 */ cmplwi r0, 1
/* 801808F4 0017D854 41 81 00 4C */ bgt lbl_80180940
/* 801808F8 0017D858 7F A3 EB 78 */ mr r3, r29
/* 801808FC 0017D85C 4B ED 2F C1 */ bl GetMaterialFilter__6CActorCFv
/* 80180900 0017D860 7F A4 EB 78 */ mr r4, r29
/* 80180904 0017D864 7C 7A 1B 78 */ mr r26, r3
/* 80180908 0017D868 81 9D 00 00 */ lwz r12, 0(r29)
/* 8018090C 0017D86C 38 61 02 50 */ addi r3, r1, 0x250
/* 80180910 0017D870 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80180914 0017D874 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80180918 0017D878 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018091C 0017D87C 7F 63 DB 78 */ mr r3, r27
/* 80180920 0017D880 7F 84 E3 78 */ mr r4, r28
/* 80180924 0017D884 7F C5 F3 78 */ mr r5, r30
/* 80180928 0017D888 7F 47 D3 78 */ mr r7, r26
/* 8018092C 0017D88C 7F E8 FB 78 */ mr r8, r31
/* 80180930 0017D890 38 C1 02 50 */ addi r6, r1, 0x250
/* 80180934 0017D894 48 00 3C 31 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80180938 0017D898 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018093C 0017D89C 41 82 05 20 */ beq lbl_80180E5C
lbl_80180940:
/* 80180940 0017D8A0 38 00 00 00 */ li r0, 0
/* 80180944 0017D8A4 90 1D 02 50 */ stw r0, 0x250(r29)
/* 80180948 0017D8A8 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 8018094C 0017D8AC 38 03 00 01 */ addi r0, r3, 1
/* 80180950 0017D8B0 90 1D 02 4C */ stw r0, 0x24c(r29)
/* 80180954 0017D8B4 80 1D 02 4C */ lwz r0, 0x24c(r29)
/* 80180958 0017D8B8 7C 00 C8 40 */ cmplw r0, r25
/* 8018095C 0017D8BC 41 80 05 7C */ blt lbl_80180ED8
/* 80180960 0017D8C0 7F A4 EB 78 */ mr r4, r29
/* 80180964 0017D8C4 38 61 02 1C */ addi r3, r1, 0x21c
/* 80180968 0017D8C8 4B F9 AD 0D */ bl GetMotionState__13CPhysicsActorCFv
/* 8018096C 0017D8CC C1 9D 01 F4 */ lfs f12, 0x1f4(r29)
/* 80180970 0017D8D0 7F A3 EB 78 */ mr r3, r29
/* 80180974 0017D8D4 38 81 01 B4 */ addi r4, r1, 0x1b4
/* 80180978 0017D8D8 D1 81 01 E8 */ stfs f12, 0x1e8(r1)
/* 8018097C 0017D8DC C1 7D 01 F8 */ lfs f11, 0x1f8(r29)
/* 80180980 0017D8E0 D1 61 01 EC */ stfs f11, 0x1ec(r1)
/* 80180984 0017D8E4 C1 5D 01 FC */ lfs f10, 0x1fc(r29)
/* 80180988 0017D8E8 D1 41 01 F0 */ stfs f10, 0x1f0(r1)
/* 8018098C 0017D8EC C1 3D 02 00 */ lfs f9, 0x200(r29)
/* 80180990 0017D8F0 D1 21 01 F4 */ stfs f9, 0x1f4(r1)
/* 80180994 0017D8F4 C1 1D 02 04 */ lfs f8, 0x204(r29)
/* 80180998 0017D8F8 D1 01 01 F8 */ stfs f8, 0x1f8(r1)
/* 8018099C 0017D8FC C0 FD 02 08 */ lfs f7, 0x208(r29)
/* 801809A0 0017D900 D0 E1 01 FC */ stfs f7, 0x1fc(r1)
/* 801809A4 0017D904 C0 DD 02 0C */ lfs f6, 0x20c(r29)
/* 801809A8 0017D908 D0 C1 02 00 */ stfs f6, 0x200(r1)
/* 801809AC 0017D90C C0 BD 02 10 */ lfs f5, 0x210(r29)
/* 801809B0 0017D910 D0 A1 02 04 */ stfs f5, 0x204(r1)
/* 801809B4 0017D914 C0 9D 02 14 */ lfs f4, 0x214(r29)
/* 801809B8 0017D918 D0 81 02 08 */ stfs f4, 0x208(r1)
/* 801809BC 0017D91C C0 7D 02 18 */ lfs f3, 0x218(r29)
/* 801809C0 0017D920 D0 61 02 0C */ stfs f3, 0x20c(r1)
/* 801809C4 0017D924 C0 5D 02 1C */ lfs f2, 0x21c(r29)
/* 801809C8 0017D928 D0 41 02 10 */ stfs f2, 0x210(r1)
/* 801809CC 0017D92C C0 3D 02 20 */ lfs f1, 0x220(r29)
/* 801809D0 0017D930 D0 21 02 14 */ stfs f1, 0x214(r1)
/* 801809D4 0017D934 C0 1D 02 24 */ lfs f0, 0x224(r29)
/* 801809D8 0017D938 D0 01 02 18 */ stfs f0, 0x218(r1)
/* 801809DC 0017D93C D1 81 01 B4 */ stfs f12, 0x1b4(r1)
/* 801809E0 0017D940 D1 61 01 B8 */ stfs f11, 0x1b8(r1)
/* 801809E4 0017D944 D1 41 01 BC */ stfs f10, 0x1bc(r1)
/* 801809E8 0017D948 D1 21 01 C0 */ stfs f9, 0x1c0(r1)
/* 801809EC 0017D94C D1 01 01 C4 */ stfs f8, 0x1c4(r1)
/* 801809F0 0017D950 D0 E1 01 C8 */ stfs f7, 0x1c8(r1)
/* 801809F4 0017D954 D0 C1 01 CC */ stfs f6, 0x1cc(r1)
/* 801809F8 0017D958 D0 A1 01 D0 */ stfs f5, 0x1d0(r1)
/* 801809FC 0017D95C D0 81 01 D4 */ stfs f4, 0x1d4(r1)
/* 80180A00 0017D960 D0 61 01 D8 */ stfs f3, 0x1d8(r1)
/* 80180A04 0017D964 D0 41 01 DC */ stfs f2, 0x1dc(r1)
/* 80180A08 0017D968 D0 21 01 E0 */ stfs f1, 0x1e0(r1)
/* 80180A0C 0017D96C D0 01 01 E4 */ stfs f0, 0x1e4(r1)
/* 80180A10 0017D970 4B F9 AD 19 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
/* 80180A14 0017D974 7F A3 EB 78 */ mr r3, r29
/* 80180A18 0017D978 4B ED 2E A5 */ bl GetMaterialFilter__6CActorCFv
/* 80180A1C 0017D97C 7F A4 EB 78 */ mr r4, r29
/* 80180A20 0017D980 7C 7A 1B 78 */ mr r26, r3
/* 80180A24 0017D984 81 9D 00 00 */ lwz r12, 0(r29)
/* 80180A28 0017D988 38 61 01 84 */ addi r3, r1, 0x184
/* 80180A2C 0017D98C 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80180A30 0017D990 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80180A34 0017D994 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80180A38 0017D998 7F 63 DB 78 */ mr r3, r27
/* 80180A3C 0017D99C 7F 84 E3 78 */ mr r4, r28
/* 80180A40 0017D9A0 7F C5 F3 78 */ mr r5, r30
/* 80180A44 0017D9A4 7F 47 D3 78 */ mr r7, r26
/* 80180A48 0017D9A8 7F E8 FB 78 */ mr r8, r31
/* 80180A4C 0017D9AC 38 C1 01 84 */ addi r6, r1, 0x184
/* 80180A50 0017D9B0 48 00 3B 15 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80180A54 0017D9B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80180A58 0017D9B8 40 82 01 0C */ bne lbl_80180B64
/* 80180A5C 0017D9BC 38 61 00 30 */ addi r3, r1, 0x30
/* 80180A60 0017D9C0 38 81 02 10 */ addi r4, r1, 0x210
/* 80180A64 0017D9C4 38 AD 8E 8C */ addi r5, r13, lbl_805A7A4C@sda21
/* 80180A68 0017D9C8 4B E9 AA 1D */ bl __ml__FRC10CAxisAngleRCf
/* 80180A6C 0017D9CC C0 21 01 E8 */ lfs f1, 0x1e8(r1)
/* 80180A70 0017D9D0 38 00 00 00 */ li r0, 0
/* 80180A74 0017D9D4 C0 01 01 EC */ lfs f0, 0x1ec(r1)
/* 80180A78 0017D9D8 D0 21 01 50 */ stfs f1, 0x150(r1)
/* 80180A7C 0017D9DC C0 E1 01 F0 */ lfs f7, 0x1f0(r1)
/* 80180A80 0017D9E0 D0 01 01 54 */ stfs f0, 0x154(r1)
/* 80180A84 0017D9E4 C0 C1 01 F4 */ lfs f6, 0x1f4(r1)
/* 80180A88 0017D9E8 C0 A1 01 F8 */ lfs f5, 0x1f8(r1)
/* 80180A8C 0017D9EC C0 81 01 FC */ lfs f4, 0x1fc(r1)
/* 80180A90 0017D9F0 C0 61 02 00 */ lfs f3, 0x200(r1)
/* 80180A94 0017D9F4 C0 41 00 30 */ lfs f2, 0x30(r1)
/* 80180A98 0017D9F8 C0 21 00 34 */ lfs f1, 0x34(r1)
/* 80180A9C 0017D9FC C0 01 00 38 */ lfs f0, 0x38(r1)
/* 80180AA0 0017DA00 D0 E1 01 58 */ stfs f7, 0x158(r1)
/* 80180AA4 0017DA04 C1 01 02 04 */ lfs f8, 0x204(r1)
/* 80180AA8 0017DA08 D0 C1 01 5C */ stfs f6, 0x15c(r1)
/* 80180AAC 0017DA0C C1 22 A2 C4 */ lfs f9, lbl_805ABFE4@sda21(r2)
/* 80180AB0 0017DA10 C0 E1 02 08 */ lfs f7, 0x208(r1)
/* 80180AB4 0017DA14 C0 C1 02 0C */ lfs f6, 0x20c(r1)
/* 80180AB8 0017DA18 ED 09 02 32 */ fmuls f8, f9, f8
/* 80180ABC 0017DA1C 80 61 01 50 */ lwz r3, 0x150(r1)
/* 80180AC0 0017DA20 EC E9 01 F2 */ fmuls f7, f9, f7
/* 80180AC4 0017DA24 D0 A1 01 60 */ stfs f5, 0x160(r1)
/* 80180AC8 0017DA28 EC A9 01 B2 */ fmuls f5, f9, f6
/* 80180ACC 0017DA2C 80 81 01 54 */ lwz r4, 0x154(r1)
/* 80180AD0 0017DA30 90 7D 01 F4 */ stw r3, 0x1f4(r29)
/* 80180AD4 0017DA34 80 61 01 58 */ lwz r3, 0x158(r1)
/* 80180AD8 0017DA38 90 9D 01 F8 */ stw r4, 0x1f8(r29)
/* 80180ADC 0017DA3C 80 81 01 5C */ lwz r4, 0x15c(r1)
/* 80180AE0 0017DA40 90 7D 01 FC */ stw r3, 0x1fc(r29)
/* 80180AE4 0017DA44 80 61 01 60 */ lwz r3, 0x160(r1)
/* 80180AE8 0017DA48 D0 81 01 64 */ stfs f4, 0x164(r1)
/* 80180AEC 0017DA4C 90 9D 02 00 */ stw r4, 0x200(r29)
/* 80180AF0 0017DA50 80 81 01 64 */ lwz r4, 0x164(r1)
/* 80180AF4 0017DA54 D0 61 01 68 */ stfs f3, 0x168(r1)
/* 80180AF8 0017DA58 90 7D 02 04 */ stw r3, 0x204(r29)
/* 80180AFC 0017DA5C 80 61 01 68 */ lwz r3, 0x168(r1)
/* 80180B00 0017DA60 D1 01 01 6C */ stfs f8, 0x16c(r1)
/* 80180B04 0017DA64 90 9D 02 08 */ stw r4, 0x208(r29)
/* 80180B08 0017DA68 80 81 01 6C */ lwz r4, 0x16c(r1)
/* 80180B0C 0017DA6C D0 E1 01 70 */ stfs f7, 0x170(r1)
/* 80180B10 0017DA70 90 7D 02 0C */ stw r3, 0x20c(r29)
/* 80180B14 0017DA74 80 61 01 70 */ lwz r3, 0x170(r1)
/* 80180B18 0017DA78 D0 A1 01 74 */ stfs f5, 0x174(r1)
/* 80180B1C 0017DA7C 90 9D 02 10 */ stw r4, 0x210(r29)
/* 80180B20 0017DA80 80 81 01 74 */ lwz r4, 0x174(r1)
/* 80180B24 0017DA84 D0 41 01 78 */ stfs f2, 0x178(r1)
/* 80180B28 0017DA88 90 7D 02 14 */ stw r3, 0x214(r29)
/* 80180B2C 0017DA8C 80 61 01 78 */ lwz r3, 0x178(r1)
/* 80180B30 0017DA90 D0 21 01 7C */ stfs f1, 0x17c(r1)
/* 80180B34 0017DA94 90 9D 02 18 */ stw r4, 0x218(r29)
/* 80180B38 0017DA98 80 81 01 7C */ lwz r4, 0x17c(r1)
/* 80180B3C 0017DA9C D0 01 01 80 */ stfs f0, 0x180(r1)
/* 80180B40 0017DAA0 90 7D 02 1C */ stw r3, 0x21c(r29)
/* 80180B44 0017DAA4 80 61 01 80 */ lwz r3, 0x180(r1)
/* 80180B48 0017DAA8 90 9D 02 20 */ stw r4, 0x220(r29)
/* 80180B4C 0017DAAC 90 7D 02 24 */ stw r3, 0x224(r29)
/* 80180B50 0017DAB0 80 6D A4 60 */ lwz r3, lbl_805A9020@sda21(r13)
/* 80180B54 0017DAB4 38 63 00 01 */ addi r3, r3, 1
/* 80180B58 0017DAB8 90 6D A4 60 */ stw r3, lbl_805A9020@sda21(r13)
/* 80180B5C 0017DABC 90 1D 02 4C */ stw r0, 0x24c(r29)
/* 80180B60 0017DAC0 48 00 03 78 */ b lbl_80180ED8
lbl_80180B64:
/* 80180B64 0017DAC4 C1 81 02 1C */ lfs f12, 0x21c(r1)
/* 80180B68 0017DAC8 7F A3 EB 78 */ mr r3, r29
/* 80180B6C 0017DACC C1 61 02 20 */ lfs f11, 0x220(r1)
/* 80180B70 0017DAD0 38 81 01 1C */ addi r4, r1, 0x11c
/* 80180B74 0017DAD4 C1 41 02 24 */ lfs f10, 0x224(r1)
/* 80180B78 0017DAD8 C1 21 02 28 */ lfs f9, 0x228(r1)
/* 80180B7C 0017DADC C1 01 02 2C */ lfs f8, 0x22c(r1)
/* 80180B80 0017DAE0 C0 E1 02 30 */ lfs f7, 0x230(r1)
/* 80180B84 0017DAE4 C0 C1 02 34 */ lfs f6, 0x234(r1)
/* 80180B88 0017DAE8 C0 A1 02 38 */ lfs f5, 0x238(r1)
/* 80180B8C 0017DAEC C0 81 02 3C */ lfs f4, 0x23c(r1)
/* 80180B90 0017DAF0 C0 61 02 40 */ lfs f3, 0x240(r1)
/* 80180B94 0017DAF4 C0 41 02 44 */ lfs f2, 0x244(r1)
/* 80180B98 0017DAF8 C0 21 02 48 */ lfs f1, 0x248(r1)
/* 80180B9C 0017DAFC C0 01 02 4C */ lfs f0, 0x24c(r1)
/* 80180BA0 0017DB00 D1 81 01 1C */ stfs f12, 0x11c(r1)
/* 80180BA4 0017DB04 D1 61 01 20 */ stfs f11, 0x120(r1)
/* 80180BA8 0017DB08 D1 41 01 24 */ stfs f10, 0x124(r1)
/* 80180BAC 0017DB0C D1 21 01 28 */ stfs f9, 0x128(r1)
/* 80180BB0 0017DB10 D1 01 01 2C */ stfs f8, 0x12c(r1)
/* 80180BB4 0017DB14 D0 E1 01 30 */ stfs f7, 0x130(r1)
/* 80180BB8 0017DB18 D0 C1 01 34 */ stfs f6, 0x134(r1)
/* 80180BBC 0017DB1C D0 A1 01 38 */ stfs f5, 0x138(r1)
/* 80180BC0 0017DB20 D0 81 01 3C */ stfs f4, 0x13c(r1)
/* 80180BC4 0017DB24 D0 61 01 40 */ stfs f3, 0x140(r1)
/* 80180BC8 0017DB28 D0 41 01 44 */ stfs f2, 0x144(r1)
/* 80180BCC 0017DB2C D0 21 01 48 */ stfs f1, 0x148(r1)
/* 80180BD0 0017DB30 D0 01 01 4C */ stfs f0, 0x14c(r1)
/* 80180BD4 0017DB34 4B F9 AB 55 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
/* 80180BD8 0017DB38 7F 64 DB 78 */ mr r4, r27
/* 80180BDC 0017DB3C 7F 85 E3 78 */ mr r5, r28
/* 80180BE0 0017DB40 7F A6 EB 78 */ mr r6, r29
/* 80180BE4 0017DB44 7F C7 F3 78 */ mr r7, r30
/* 80180BE8 0017DB48 7F E8 FB 78 */ mr r8, r31
/* 80180BEC 0017DB4C 38 61 00 20 */ addi r3, r1, 0x20
/* 80180BF0 0017DB50 4B FF F7 FD */ bl "FindNonIntersectingVector__14CGameCollisionFR13CStateManagerRC19CAreaCollisionCacheRC13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80180BF4 0017DB54 88 01 00 2C */ lbz r0, 0x2c(r1)
/* 80180BF8 0017DB58 28 00 00 00 */ cmplwi r0, 0
/* 80180BFC 0017DB5C 98 01 00 48 */ stb r0, 0x48(r1)
/* 80180C00 0017DB60 41 82 00 24 */ beq lbl_80180C24
/* 80180C04 0017DB64 34 61 00 3C */ addic. r3, r1, 0x3c
/* 80180C08 0017DB68 41 82 00 1C */ beq lbl_80180C24
/* 80180C0C 0017DB6C C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80180C10 0017DB70 D0 03 00 00 */ stfs f0, 0(r3)
/* 80180C14 0017DB74 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80180C18 0017DB78 D0 03 00 04 */ stfs f0, 4(r3)
/* 80180C1C 0017DB7C C0 01 00 28 */ lfs f0, 0x28(r1)
/* 80180C20 0017DB80 D0 03 00 08 */ stfs f0, 8(r3)
lbl_80180C24:
/* 80180C24 0017DB84 88 01 00 48 */ lbz r0, 0x48(r1)
/* 80180C28 0017DB88 38 60 00 00 */ li r3, 0
/* 80180C2C 0017DB8C 98 61 00 2C */ stb r3, 0x2c(r1)
/* 80180C30 0017DB90 28 00 00 00 */ cmplwi r0, 0
/* 80180C34 0017DB94 41 82 01 20 */ beq lbl_80180D54
/* 80180C38 0017DB98 C0 41 02 20 */ lfs f2, 0x220(r1)
/* 80180C3C 0017DB9C 7F A3 EB 78 */ mr r3, r29
/* 80180C40 0017DBA0 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80180C44 0017DBA4 38 81 00 E8 */ addi r4, r1, 0xe8
/* 80180C48 0017DBA8 C0 21 02 24 */ lfs f1, 0x224(r1)
/* 80180C4C 0017DBAC ED A2 00 2A */ fadds f13, f2, f0
/* 80180C50 0017DBB0 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 80180C54 0017DBB4 C1 21 02 28 */ lfs f9, 0x228(r1)
/* 80180C58 0017DBB8 ED 81 00 2A */ fadds f12, f1, f0
/* 80180C5C 0017DBBC C1 01 02 2C */ lfs f8, 0x22c(r1)
/* 80180C60 0017DBC0 C0 E1 02 30 */ lfs f7, 0x230(r1)
/* 80180C64 0017DBC4 C0 C1 02 34 */ lfs f6, 0x234(r1)
/* 80180C68 0017DBC8 C0 A1 02 38 */ lfs f5, 0x238(r1)
/* 80180C6C 0017DBCC C0 81 02 3C */ lfs f4, 0x23c(r1)
/* 80180C70 0017DBD0 C0 61 02 40 */ lfs f3, 0x240(r1)
/* 80180C74 0017DBD4 C0 41 02 44 */ lfs f2, 0x244(r1)
/* 80180C78 0017DBD8 C0 21 02 48 */ lfs f1, 0x248(r1)
/* 80180C7C 0017DBDC C0 01 02 4C */ lfs f0, 0x24c(r1)
/* 80180C80 0017DBE0 C1 61 02 1C */ lfs f11, 0x21c(r1)
/* 80180C84 0017DBE4 C1 41 00 3C */ lfs f10, 0x3c(r1)
/* 80180C88 0017DBE8 D1 A1 00 18 */ stfs f13, 0x18(r1)
/* 80180C8C 0017DBEC ED 4B 50 2A */ fadds f10, f11, f10
/* 80180C90 0017DBF0 D1 81 00 1C */ stfs f12, 0x1c(r1)
/* 80180C94 0017DBF4 D1 41 00 14 */ stfs f10, 0x14(r1)
/* 80180C98 0017DBF8 D1 41 00 E8 */ stfs f10, 0xe8(r1)
/* 80180C9C 0017DBFC D1 A1 00 EC */ stfs f13, 0xec(r1)
/* 80180CA0 0017DC00 D1 81 00 F0 */ stfs f12, 0xf0(r1)
/* 80180CA4 0017DC04 D1 21 00 F4 */ stfs f9, 0xf4(r1)
/* 80180CA8 0017DC08 D1 01 00 F8 */ stfs f8, 0xf8(r1)
/* 80180CAC 0017DC0C D0 E1 00 FC */ stfs f7, 0xfc(r1)
/* 80180CB0 0017DC10 D0 C1 01 00 */ stfs f6, 0x100(r1)
/* 80180CB4 0017DC14 D0 A1 01 04 */ stfs f5, 0x104(r1)
/* 80180CB8 0017DC18 D0 81 01 08 */ stfs f4, 0x108(r1)
/* 80180CBC 0017DC1C D0 61 01 0C */ stfs f3, 0x10c(r1)
/* 80180CC0 0017DC20 D0 41 01 10 */ stfs f2, 0x110(r1)
/* 80180CC4 0017DC24 D0 21 01 14 */ stfs f1, 0x114(r1)
/* 80180CC8 0017DC28 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 80180CCC 0017DC2C 4B F9 AA 5D */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
/* 80180CD0 0017DC30 7F A4 EB 78 */ mr r4, r29
/* 80180CD4 0017DC34 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80180CD8 0017DC38 4B F9 A9 9D */ bl GetMotionState__13CPhysicsActorCFv
/* 80180CDC 0017DC3C 80 61 00 B4 */ lwz r3, 0xb4(r1)
/* 80180CE0 0017DC40 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 80180CE4 0017DC44 90 7D 01 F4 */ stw r3, 0x1f4(r29)
/* 80180CE8 0017DC48 90 1D 01 F8 */ stw r0, 0x1f8(r29)
/* 80180CEC 0017DC4C 80 01 00 BC */ lwz r0, 0xbc(r1)
/* 80180CF0 0017DC50 90 1D 01 FC */ stw r0, 0x1fc(r29)
/* 80180CF4 0017DC54 80 61 00 C0 */ lwz r3, 0xc0(r1)
/* 80180CF8 0017DC58 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80180CFC 0017DC5C 90 7D 02 00 */ stw r3, 0x200(r29)
/* 80180D00 0017DC60 90 1D 02 04 */ stw r0, 0x204(r29)
/* 80180D04 0017DC64 80 61 00 C8 */ lwz r3, 0xc8(r1)
/* 80180D08 0017DC68 80 01 00 CC */ lwz r0, 0xcc(r1)
/* 80180D0C 0017DC6C 90 7D 02 08 */ stw r3, 0x208(r29)
/* 80180D10 0017DC70 90 1D 02 0C */ stw r0, 0x20c(r29)
/* 80180D14 0017DC74 80 61 00 D0 */ lwz r3, 0xd0(r1)
/* 80180D18 0017DC78 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80180D1C 0017DC7C 90 7D 02 10 */ stw r3, 0x210(r29)
/* 80180D20 0017DC80 90 1D 02 14 */ stw r0, 0x214(r29)
/* 80180D24 0017DC84 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 80180D28 0017DC88 90 1D 02 18 */ stw r0, 0x218(r29)
/* 80180D2C 0017DC8C 80 61 00 DC */ lwz r3, 0xdc(r1)
/* 80180D30 0017DC90 80 01 00 E0 */ lwz r0, 0xe0(r1)
/* 80180D34 0017DC94 90 7D 02 1C */ stw r3, 0x21c(r29)
/* 80180D38 0017DC98 90 1D 02 20 */ stw r0, 0x220(r29)
/* 80180D3C 0017DC9C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80180D40 0017DCA0 90 1D 02 24 */ stw r0, 0x224(r29)
/* 80180D44 0017DCA4 80 6D A4 60 */ lwz r3, lbl_805A9020@sda21(r13)
/* 80180D48 0017DCA8 38 03 00 01 */ addi r0, r3, 1
/* 80180D4C 0017DCAC 90 0D A4 60 */ stw r0, lbl_805A9020@sda21(r13)
/* 80180D50 0017DCB0 48 00 01 00 */ b lbl_80180E50
lbl_80180D54:
/* 80180D54 0017DCB4 80 CD A4 60 */ lwz r6, lbl_805A9020@sda21(r13)
/* 80180D58 0017DCB8 38 61 00 08 */ addi r3, r1, 8
/* 80180D5C 0017DCBC 38 81 02 10 */ addi r4, r1, 0x210
/* 80180D60 0017DCC0 38 AD 8E 90 */ addi r5, r13, lbl_805A7A50@sda21
/* 80180D64 0017DCC4 38 06 00 01 */ addi r0, r6, 1
/* 80180D68 0017DCC8 90 0D A4 60 */ stw r0, lbl_805A9020@sda21(r13)
/* 80180D6C 0017DCCC 4B E9 A7 19 */ bl __ml__FRC10CAxisAngleRCf
/* 80180D70 0017DCD0 C0 21 01 E8 */ lfs f1, 0x1e8(r1)
/* 80180D74 0017DCD4 C0 01 01 EC */ lfs f0, 0x1ec(r1)
/* 80180D78 0017DCD8 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80180D7C 0017DCDC C0 E1 01 F0 */ lfs f7, 0x1f0(r1)
/* 80180D80 0017DCE0 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 80180D84 0017DCE4 C0 C1 01 F4 */ lfs f6, 0x1f4(r1)
/* 80180D88 0017DCE8 C0 A1 01 F8 */ lfs f5, 0x1f8(r1)
/* 80180D8C 0017DCEC C0 81 01 FC */ lfs f4, 0x1fc(r1)
/* 80180D90 0017DCF0 C0 61 02 00 */ lfs f3, 0x200(r1)
/* 80180D94 0017DCF4 C0 41 00 08 */ lfs f2, 8(r1)
/* 80180D98 0017DCF8 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 80180D9C 0017DCFC C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80180DA0 0017DD00 D0 E1 00 88 */ stfs f7, 0x88(r1)
/* 80180DA4 0017DD04 C1 01 02 04 */ lfs f8, 0x204(r1)
/* 80180DA8 0017DD08 D0 C1 00 8C */ stfs f6, 0x8c(r1)
/* 80180DAC 0017DD0C C1 22 A2 C4 */ lfs f9, lbl_805ABFE4@sda21(r2)
/* 80180DB0 0017DD10 C0 E1 02 08 */ lfs f7, 0x208(r1)
/* 80180DB4 0017DD14 C0 C1 02 0C */ lfs f6, 0x20c(r1)
/* 80180DB8 0017DD18 ED 09 02 32 */ fmuls f8, f9, f8
/* 80180DBC 0017DD1C 80 01 00 80 */ lwz r0, 0x80(r1)
/* 80180DC0 0017DD20 EC E9 01 F2 */ fmuls f7, f9, f7
/* 80180DC4 0017DD24 D0 A1 00 90 */ stfs f5, 0x90(r1)
/* 80180DC8 0017DD28 EC A9 01 B2 */ fmuls f5, f9, f6
/* 80180DCC 0017DD2C 80 61 00 84 */ lwz r3, 0x84(r1)
/* 80180DD0 0017DD30 90 1D 01 F4 */ stw r0, 0x1f4(r29)
/* 80180DD4 0017DD34 80 01 00 88 */ lwz r0, 0x88(r1)
/* 80180DD8 0017DD38 90 7D 01 F8 */ stw r3, 0x1f8(r29)
/* 80180DDC 0017DD3C 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 80180DE0 0017DD40 90 1D 01 FC */ stw r0, 0x1fc(r29)
/* 80180DE4 0017DD44 80 01 00 90 */ lwz r0, 0x90(r1)
/* 80180DE8 0017DD48 D0 81 00 94 */ stfs f4, 0x94(r1)
/* 80180DEC 0017DD4C 90 7D 02 00 */ stw r3, 0x200(r29)
/* 80180DF0 0017DD50 80 61 00 94 */ lwz r3, 0x94(r1)
/* 80180DF4 0017DD54 D0 61 00 98 */ stfs f3, 0x98(r1)
/* 80180DF8 0017DD58 90 1D 02 04 */ stw r0, 0x204(r29)
/* 80180DFC 0017DD5C 80 01 00 98 */ lwz r0, 0x98(r1)
/* 80180E00 0017DD60 D1 01 00 9C */ stfs f8, 0x9c(r1)
/* 80180E04 0017DD64 90 7D 02 08 */ stw r3, 0x208(r29)
/* 80180E08 0017DD68 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 80180E0C 0017DD6C D0 E1 00 A0 */ stfs f7, 0xa0(r1)
/* 80180E10 0017DD70 90 1D 02 0C */ stw r0, 0x20c(r29)
/* 80180E14 0017DD74 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 80180E18 0017DD78 D0 A1 00 A4 */ stfs f5, 0xa4(r1)
/* 80180E1C 0017DD7C 90 7D 02 10 */ stw r3, 0x210(r29)
/* 80180E20 0017DD80 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 80180E24 0017DD84 D0 41 00 A8 */ stfs f2, 0xa8(r1)
/* 80180E28 0017DD88 90 1D 02 14 */ stw r0, 0x214(r29)
/* 80180E2C 0017DD8C 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 80180E30 0017DD90 D0 21 00 AC */ stfs f1, 0xac(r1)
/* 80180E34 0017DD94 90 7D 02 18 */ stw r3, 0x218(r29)
/* 80180E38 0017DD98 80 61 00 AC */ lwz r3, 0xac(r1)
/* 80180E3C 0017DD9C D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 80180E40 0017DDA0 90 1D 02 1C */ stw r0, 0x21c(r29)
/* 80180E44 0017DDA4 80 01 00 B0 */ lwz r0, 0xb0(r1)
/* 80180E48 0017DDA8 90 7D 02 20 */ stw r3, 0x220(r29)
/* 80180E4C 0017DDAC 90 1D 02 24 */ stw r0, 0x224(r29)
lbl_80180E50:
/* 80180E50 0017DDB0 38 00 00 00 */ li r0, 0
/* 80180E54 0017DDB4 98 01 00 48 */ stb r0, 0x48(r1)
/* 80180E58 0017DDB8 48 00 00 80 */ b lbl_80180ED8
lbl_80180E5C:
/* 80180E5C 0017DDBC 7F A4 EB 78 */ mr r4, r29
/* 80180E60 0017DDC0 38 61 00 4C */ addi r3, r1, 0x4c
/* 80180E64 0017DDC4 4B F9 A8 11 */ bl GetMotionState__13CPhysicsActorCFv
/* 80180E68 0017DDC8 80 81 00 4C */ lwz r4, 0x4c(r1)
/* 80180E6C 0017DDCC 38 00 00 00 */ li r0, 0
/* 80180E70 0017DDD0 80 61 00 50 */ lwz r3, 0x50(r1)
/* 80180E74 0017DDD4 90 9D 01 F4 */ stw r4, 0x1f4(r29)
/* 80180E78 0017DDD8 90 7D 01 F8 */ stw r3, 0x1f8(r29)
/* 80180E7C 0017DDDC 80 61 00 54 */ lwz r3, 0x54(r1)
/* 80180E80 0017DDE0 90 7D 01 FC */ stw r3, 0x1fc(r29)
/* 80180E84 0017DDE4 80 81 00 58 */ lwz r4, 0x58(r1)
/* 80180E88 0017DDE8 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 80180E8C 0017DDEC 90 9D 02 00 */ stw r4, 0x200(r29)
/* 80180E90 0017DDF0 90 7D 02 04 */ stw r3, 0x204(r29)
/* 80180E94 0017DDF4 80 81 00 60 */ lwz r4, 0x60(r1)
/* 80180E98 0017DDF8 80 61 00 64 */ lwz r3, 0x64(r1)
/* 80180E9C 0017DDFC 90 9D 02 08 */ stw r4, 0x208(r29)
/* 80180EA0 0017DE00 90 7D 02 0C */ stw r3, 0x20c(r29)
/* 80180EA4 0017DE04 80 81 00 68 */ lwz r4, 0x68(r1)
/* 80180EA8 0017DE08 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 80180EAC 0017DE0C 90 9D 02 10 */ stw r4, 0x210(r29)
/* 80180EB0 0017DE10 90 7D 02 14 */ stw r3, 0x214(r29)
/* 80180EB4 0017DE14 80 61 00 70 */ lwz r3, 0x70(r1)
/* 80180EB8 0017DE18 90 7D 02 18 */ stw r3, 0x218(r29)
/* 80180EBC 0017DE1C 80 81 00 74 */ lwz r4, 0x74(r1)
/* 80180EC0 0017DE20 80 61 00 78 */ lwz r3, 0x78(r1)
/* 80180EC4 0017DE24 90 9D 02 1C */ stw r4, 0x21c(r29)
/* 80180EC8 0017DE28 90 7D 02 20 */ stw r3, 0x220(r29)
/* 80180ECC 0017DE2C 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 80180ED0 0017DE30 90 7D 02 24 */ stw r3, 0x224(r29)
/* 80180ED4 0017DE34 90 1D 02 4C */ stw r0, 0x24c(r29)
lbl_80180ED8:
/* 80180ED8 0017DE38 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0
/* 80180EDC 0017DE3C CB E1 02 A0 */ lfd f31, 0x2a0(r1)
/* 80180EE0 0017DE40 BB 21 02 84 */ lmw r25, 0x284(r1)
/* 80180EE4 0017DE44 80 01 02 B4 */ lwz r0, 0x2b4(r1)
/* 80180EE8 0017DE48 7C 08 03 A6 */ mtlr r0
/* 80180EEC 0017DE4C 38 21 02 B0 */ addi r1, r1, 0x2b0
2022-07-14 05:48:03 +00:00
/* 80180EF0 0017DE50 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MoveAndCollide__14CGameCollisionFR13CStateManagerR13CPhysicsActorfRC16ICollisionFilterPCQ24rstl32reserved_vector<9TUniqueId,1024>"
"MoveAndCollide__14CGameCollisionFR13CStateManagerR13CPhysicsActorfRC16ICollisionFilterPCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80180EF4 0017DE54 94 21 B5 10 */ stwu r1, -0x4af0(r1)
/* 80180EF8 0017DE58 7C 08 02 A6 */ mflr r0
/* 80180EFC 0017DE5C 90 01 4A F4 */ stw r0, 0x4af4(r1)
/* 80180F00 0017DE60 38 00 4A E8 */ li r0, 0x4ae8
/* 80180F04 0017DE64 DB E1 4A E0 */ stfd f31, 0x4ae0(r1)
/* 80180F08 0017DE68 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0
/* 80180F0C 0017DE6C 38 00 4A D8 */ li r0, 0x4ad8
/* 80180F10 0017DE70 DB C1 4A D0 */ stfd f30, 0x4ad0(r1)
/* 80180F14 0017DE74 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0
/* 80180F18 0017DE78 38 00 4A C8 */ li r0, 0x4ac8
/* 80180F1C 0017DE7C DB A1 4A C0 */ stfd f29, 0x4ac0(r1)
/* 80180F20 0017DE80 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0
/* 80180F24 0017DE84 38 00 4A B8 */ li r0, 0x4ab8
/* 80180F28 0017DE88 DB 81 4A B0 */ stfd f28, 0x4ab0(r1)
/* 80180F2C 0017DE8C 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0
/* 80180F30 0017DE90 38 00 4A A8 */ li r0, 0x4aa8
/* 80180F34 0017DE94 DB 61 4A A0 */ stfd f27, 0x4aa0(r1)
/* 80180F38 0017DE98 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0
/* 80180F3C 0017DE9C BE 81 4A 70 */ stmw r20, 0x4a70(r1)
/* 80180F40 0017DEA0 7C 9E 23 78 */ mr r30, r4
/* 80180F44 0017DEA4 80 84 00 6C */ lwz r4, 0x6c(r4)
/* 80180F48 0017DEA8 81 1E 00 68 */ lwz r8, 0x68(r30)
/* 80180F4C 0017DEAC 38 E0 00 00 */ li r7, 0
/* 80180F50 0017DEB0 38 00 00 01 */ li r0, 1
/* 80180F54 0017DEB4 7C 7D 1B 78 */ mr r29, r3
/* 80180F58 0017DEB8 7C 84 38 38 */ and r4, r4, r7
/* 80180F5C 0017DEBC FF 80 08 90 */ fmr f28, f1
/* 80180F60 0017DEC0 7D 00 00 38 */ and r0, r8, r0
/* 80180F64 0017DEC4 7C BF 2B 78 */ mr r31, r5
/* 80180F68 0017DEC8 7C 83 3A 78 */ xor r3, r4, r7
/* 80180F6C 0017DECC 7C D6 33 78 */ mr r22, r6
/* 80180F70 0017DED0 7C 00 3A 78 */ xor r0, r0, r7
/* 80180F74 0017DED4 7C 60 03 79 */ or. r0, r3, r0
/* 80180F78 0017DED8 3B 80 00 00 */ li r28, 0
/* 80180F7C 0017DEDC 3B 60 00 00 */ li r27, 0
/* 80180F80 0017DEE0 3B 00 00 00 */ li r24, 0
/* 80180F84 0017DEE4 3B 40 00 00 */ li r26, 0
/* 80180F88 0017DEE8 41 82 00 08 */ beq lbl_80180F90
/* 80180F8C 0017DEEC 3B 00 00 01 */ li r24, 1
lbl_80180F90:
/* 80180F90 0017DEF0 38 00 00 00 */ li r0, 0
/* 80180F94 0017DEF4 FF E0 E0 90 */ fmr f31, f28
/* 80180F98 0017DEF8 FC 20 E0 90 */ fmr f1, f28
/* 80180F9C 0017DEFC D3 81 00 2C */ stfs f28, 0x2c(r1)
/* 80180FA0 0017DF00 7F C4 F3 78 */ mr r4, r30
/* 80180FA4 0017DF04 38 61 02 B0 */ addi r3, r1, 0x2b0
/* 80180FA8 0017DF08 D3 81 00 28 */ stfs f28, 0x28(r1)
/* 80180FAC 0017DF0C 90 01 3E 68 */ stw r0, 0x3e68(r1)
/* 80180FB0 0017DF10 4B F9 A8 59 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80180FB4 0017DF14 C1 81 02 B0 */ lfs f12, 0x2b0(r1)
/* 80180FB8 0017DF18 38 61 02 E4 */ addi r3, r1, 0x2e4
/* 80180FBC 0017DF1C C1 61 02 B4 */ lfs f11, 0x2b4(r1)
/* 80180FC0 0017DF20 C1 41 02 B8 */ lfs f10, 0x2b8(r1)
/* 80180FC4 0017DF24 C1 21 02 BC */ lfs f9, 0x2bc(r1)
/* 80180FC8 0017DF28 C1 01 02 C0 */ lfs f8, 0x2c0(r1)
/* 80180FCC 0017DF2C C0 E1 02 C4 */ lfs f7, 0x2c4(r1)
/* 80180FD0 0017DF30 C0 C1 02 C8 */ lfs f6, 0x2c8(r1)
/* 80180FD4 0017DF34 C0 A1 02 CC */ lfs f5, 0x2cc(r1)
/* 80180FD8 0017DF38 C0 81 02 D0 */ lfs f4, 0x2d0(r1)
/* 80180FDC 0017DF3C C0 61 02 D4 */ lfs f3, 0x2d4(r1)
/* 80180FE0 0017DF40 C0 41 02 D8 */ lfs f2, 0x2d8(r1)
/* 80180FE4 0017DF44 C0 21 02 DC */ lfs f1, 0x2dc(r1)
/* 80180FE8 0017DF48 C0 01 02 E0 */ lfs f0, 0x2e0(r1)
/* 80180FEC 0017DF4C D1 81 02 E4 */ stfs f12, 0x2e4(r1)
/* 80180FF0 0017DF50 D1 61 02 E8 */ stfs f11, 0x2e8(r1)
/* 80180FF4 0017DF54 D1 41 02 EC */ stfs f10, 0x2ec(r1)
/* 80180FF8 0017DF58 D1 21 02 F0 */ stfs f9, 0x2f0(r1)
/* 80180FFC 0017DF5C D1 01 02 F4 */ stfs f8, 0x2f4(r1)
/* 80181000 0017DF60 D0 E1 02 F8 */ stfs f7, 0x2f8(r1)
/* 80181004 0017DF64 D0 C1 02 FC */ stfs f6, 0x2fc(r1)
/* 80181008 0017DF68 D0 A1 03 00 */ stfs f5, 0x300(r1)
/* 8018100C 0017DF6C D0 81 03 04 */ stfs f4, 0x304(r1)
/* 80181010 0017DF70 D0 61 03 08 */ stfs f3, 0x308(r1)
/* 80181014 0017DF74 D0 41 03 0C */ stfs f2, 0x30c(r1)
/* 80181018 0017DF78 D0 21 03 10 */ stfs f1, 0x310(r1)
/* 8018101C 0017DF7C D0 01 03 14 */ stfs f0, 0x314(r1)
/* 80181020 0017DF80 48 19 38 99 */ bl Magnitude__9CVector3fCFv
/* 80181024 0017DF84 FF C0 08 90 */ fmr f30, f1
/* 80181028 0017DF88 7F C3 F3 78 */ mr r3, r30
/* 8018102C 0017DF8C 4B F9 94 9D */ bl GetCollisionAccuracyModifier__13CPhysicsActorCFv
/* 80181030 0017DF90 C0 02 A2 C8 */ lfs f0, lbl_805ABFE8@sda21(r2)
/* 80181034 0017DF94 7F C3 F3 78 */ mr r3, r30
/* 80181038 0017DF98 EC 00 08 24 */ fdivs f0, f0, f1
/* 8018103C 0017DF9C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80181040 0017DFA0 4B F9 94 89 */ bl GetCollisionAccuracyModifier__13CPhysicsActorCFv
/* 80181044 0017DFA4 C0 42 A2 CC */ lfs f2, lbl_805ABFEC@sda21(r2)
/* 80181048 0017DFA8 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8018104C 0017DFAC EC 22 00 72 */ fmuls f1, f2, f1
/* 80181050 0017DFB0 EC 3E 08 24 */ fdivs f1, f30, f1
/* 80181054 0017DFB4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80181058 0017DFB8 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8018105C 0017DFBC 40 80 00 0C */ bge lbl_80181068
/* 80181060 0017DFC0 38 61 00 18 */ addi r3, r1, 0x18
/* 80181064 0017DFC4 48 00 00 08 */ b lbl_8018106C
lbl_80181068:
/* 80181068 0017DFC8 38 61 00 1C */ addi r3, r1, 0x1c
lbl_8018106C:
/* 8018106C 0017DFCC C0 03 00 00 */ lfs f0, 0(r3)
/* 80181070 0017DFD0 7F C3 F3 78 */ mr r3, r30
/* 80181074 0017DFD4 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80181078 0017DFD8 4B F9 94 51 */ bl GetCollisionAccuracyModifier__13CPhysicsActorCFv
/* 8018107C 0017DFDC C0 02 A2 D0 */ lfs f0, lbl_805ABFF0@sda21(r2)
/* 80181080 0017DFE0 7F C3 F3 78 */ mr r3, r30
/* 80181084 0017DFE4 EF A0 08 24 */ fdivs f29, f0, f1
/* 80181088 0017DFE8 4B ED 28 35 */ bl GetMaterialFilter__6CActorCFv
/* 8018108C 0017DFEC 38 00 00 00 */ li r0, 0
/* 80181090 0017DFF0 FC 20 E0 90 */ fmr f1, f28
/* 80181094 0017DFF4 90 01 36 64 */ stw r0, 0x3664(r1)
/* 80181098 0017DFF8 7C 79 1B 78 */ mr r25, r3
/* 8018109C 0017DFFC 7F C4 F3 78 */ mr r4, r30
/* 801810A0 0017E000 38 61 00 D4 */ addi r3, r1, 0xd4
/* 801810A4 0017E004 4B F9 96 11 */ bl GetMotionVolume__13CPhysicsActorCFf
/* 801810A8 0017E008 C0 C1 00 D4 */ lfs f6, 0xd4(r1)
/* 801810AC 0017E00C 28 16 00 00 */ cmplwi r22, 0
/* 801810B0 0017E010 C0 A1 00 D8 */ lfs f5, 0xd8(r1)
/* 801810B4 0017E014 C0 81 00 DC */ lfs f4, 0xdc(r1)
/* 801810B8 0017E018 C0 61 00 E0 */ lfs f3, 0xe0(r1)
/* 801810BC 0017E01C C0 41 00 E4 */ lfs f2, 0xe4(r1)
/* 801810C0 0017E020 C0 21 00 E8 */ lfs f1, 0xe8(r1)
/* 801810C4 0017E024 D0 C1 01 04 */ stfs f6, 0x104(r1)
/* 801810C8 0017E028 D0 A1 01 08 */ stfs f5, 0x108(r1)
/* 801810CC 0017E02C D0 81 01 0C */ stfs f4, 0x10c(r1)
/* 801810D0 0017E030 D0 61 01 10 */ stfs f3, 0x110(r1)
/* 801810D4 0017E034 D0 41 01 14 */ stfs f2, 0x114(r1)
/* 801810D8 0017E038 D0 21 01 18 */ stfs f1, 0x118(r1)
/* 801810DC 0017E03C 41 82 00 AC */ beq lbl_80181188
/* 801810E0 0017E040 38 01 36 64 */ addi r0, r1, 0x3664
/* 801810E4 0017E044 7C 00 B0 40 */ cmplw r0, r22
/* 801810E8 0017E048 41 82 00 F8 */ beq lbl_801811E0
/* 801810EC 0017E04C 80 A1 36 64 */ lwz r5, 0x3664(r1)
/* 801810F0 0017E050 38 C1 36 68 */ addi r6, r1, 0x3668
/* 801810F4 0017E054 38 60 00 00 */ li r3, 0
/* 801810F8 0017E058 2C 05 00 00 */ cmpwi r5, 0
/* 801810FC 0017E05C 40 81 00 40 */ ble lbl_8018113C
/* 80181100 0017E060 2C 05 00 08 */ cmpwi r5, 8
/* 80181104 0017E064 38 85 FF F8 */ addi r4, r5, -8
/* 80181108 0017E068 40 81 00 20 */ ble lbl_80181128
/* 8018110C 0017E06C 38 04 00 07 */ addi r0, r4, 7
/* 80181110 0017E070 54 00 E8 FE */ srwi r0, r0, 3
/* 80181114 0017E074 7C 09 03 A6 */ mtctr r0
/* 80181118 0017E078 2C 04 00 00 */ cmpwi r4, 0
/* 8018111C 0017E07C 40 81 00 0C */ ble lbl_80181128
lbl_80181120:
/* 80181120 0017E080 38 63 00 08 */ addi r3, r3, 8
/* 80181124 0017E084 42 00 FF FC */ bdnz lbl_80181120
lbl_80181128:
/* 80181128 0017E088 7C 03 28 50 */ subf r0, r3, r5
/* 8018112C 0017E08C 7C 09 03 A6 */ mtctr r0
/* 80181130 0017E090 7C 03 28 00 */ cmpw r3, r5
/* 80181134 0017E094 40 80 00 08 */ bge lbl_8018113C
lbl_80181138:
/* 80181138 0017E098 42 00 00 00 */ bdnz lbl_80181138
lbl_8018113C:
/* 8018113C 0017E09C 80 16 00 00 */ lwz r0, 0(r22)
/* 80181140 0017E0A0 38 60 00 00 */ li r3, 0
/* 80181144 0017E0A4 90 61 36 64 */ stw r3, 0x3664(r1)
/* 80181148 0017E0A8 38 76 00 04 */ addi r3, r22, 4
/* 8018114C 0017E0AC 54 00 08 3C */ slwi r0, r0, 1
/* 80181150 0017E0B0 7C 96 02 14 */ add r4, r22, r0
/* 80181154 0017E0B4 38 84 00 04 */ addi r4, r4, 4
/* 80181158 0017E0B8 48 00 00 1C */ b lbl_80181174
lbl_8018115C:
/* 8018115C 0017E0BC 28 06 00 00 */ cmplwi r6, 0
/* 80181160 0017E0C0 41 82 00 0C */ beq lbl_8018116C
/* 80181164 0017E0C4 A0 03 00 00 */ lhz r0, 0(r3)
/* 80181168 0017E0C8 B0 06 00 00 */ sth r0, 0(r6)
lbl_8018116C:
/* 8018116C 0017E0CC 38 C6 00 02 */ addi r6, r6, 2
/* 80181170 0017E0D0 38 63 00 02 */ addi r3, r3, 2
lbl_80181174:
/* 80181174 0017E0D4 7C 03 20 40 */ cmplw r3, r4
/* 80181178 0017E0D8 40 82 FF E4 */ bne lbl_8018115C
/* 8018117C 0017E0DC 80 16 00 00 */ lwz r0, 0(r22)
/* 80181180 0017E0E0 90 01 36 64 */ stw r0, 0x3664(r1)
/* 80181184 0017E0E4 48 00 00 5C */ b lbl_801811E0
lbl_80181188:
/* 80181188 0017E0E8 C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 8018118C 0017E0EC 38 61 00 BC */ addi r3, r1, 0xbc
/* 80181190 0017E0F0 38 81 00 74 */ addi r4, r1, 0x74
/* 80181194 0017E0F4 38 A1 00 68 */ addi r5, r1, 0x68
/* 80181198 0017E0F8 EC 42 00 2A */ fadds f2, f2, f0
/* 8018119C 0017E0FC EC E1 00 2A */ fadds f7, f1, f0
/* 801811A0 0017E100 EC 23 00 2A */ fadds f1, f3, f0
/* 801811A4 0017E104 EC 65 00 28 */ fsubs f3, f5, f0
/* 801811A8 0017E108 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 801811AC 0017E10C EC 44 00 28 */ fsubs f2, f4, f0
/* 801811B0 0017E110 EC 06 00 28 */ fsubs f0, f6, f0
/* 801811B4 0017E114 D0 21 00 68 */ stfs f1, 0x68(r1)
/* 801811B8 0017E118 D0 E1 00 70 */ stfs f7, 0x70(r1)
/* 801811BC 0017E11C D0 01 00 74 */ stfs f0, 0x74(r1)
/* 801811C0 0017E120 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 801811C4 0017E124 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 801811C8 0017E128 48 1B 73 41 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 801811CC 0017E12C 7C 66 1B 78 */ mr r6, r3
/* 801811D0 0017E130 7F A3 EB 78 */ mr r3, r29
/* 801811D4 0017E134 7F C5 F3 78 */ mr r5, r30
/* 801811D8 0017E138 38 81 36 64 */ addi r4, r1, 0x3664
/* 801811DC 0017E13C 4B EC B5 21 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox"
lbl_801811E0:
/* 801811E0 0017E140 38 61 1B 20 */ addi r3, r1, 0x1b20
/* 801811E4 0017E144 38 81 01 04 */ addi r4, r1, 0x104
/* 801811E8 0017E148 48 12 28 A9 */ bl __ct__19CAreaCollisionCacheFRC6CAABox
/* 801811EC 0017E14C 7F C3 F3 78 */ mr r3, r30
/* 801811F0 0017E150 3A E0 00 01 */ li r23, 1
/* 801811F4 0017E154 81 9E 00 00 */ lwz r12, 0(r30)
/* 801811F8 0017E158 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 801811FC 0017E15C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181200 0017E160 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181204 0017E164 81 83 00 00 */ lwz r12, 0(r3)
/* 80181208 0017E168 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8018120C 0017E16C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181210 0017E170 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181214 0017E174 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 80181218 0017E178 28 00 54 47 */ cmplwi r0, 0x5447
/* 8018121C 0017E17C 41 82 00 30 */ beq lbl_8018124C
/* 80181220 0017E180 80 79 00 08 */ lwz r3, 8(r25)
/* 80181224 0017E184 38 00 00 40 */ li r0, 0x40
/* 80181228 0017E188 80 B9 00 0C */ lwz r5, 0xc(r25)
/* 8018122C 0017E18C 38 80 00 00 */ li r4, 0
/* 80181230 0017E190 7C 60 00 38 */ and r0, r3, r0
/* 80181234 0017E194 7C A3 20 38 */ and r3, r5, r4
/* 80181238 0017E198 7C 63 22 78 */ xor r3, r3, r4
/* 8018123C 0017E19C 7C 00 22 78 */ xor r0, r0, r4
/* 80181240 0017E1A0 7C 60 03 79 */ or. r0, r3, r0
/* 80181244 0017E1A4 40 82 00 08 */ bne lbl_8018124C
/* 80181248 0017E1A8 7C 97 23 78 */ mr r23, r4
lbl_8018124C:
/* 8018124C 0017E1AC 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 80181250 0017E1B0 40 82 01 F0 */ bne lbl_80181440
/* 80181254 0017E1B4 7F A3 EB 78 */ mr r3, r29
/* 80181258 0017E1B8 38 81 1B 20 */ addi r4, r1, 0x1b20
/* 8018125C 0017E1BC 48 00 34 69 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 80181260 0017E1C0 7F C4 F3 78 */ mr r4, r30
/* 80181264 0017E1C4 38 61 02 80 */ addi r3, r1, 0x280
/* 80181268 0017E1C8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8018126C 0017E1CC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80181270 0017E1D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181274 0017E1D4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181278 0017E1D8 7F C3 F3 78 */ mr r3, r30
/* 8018127C 0017E1DC 81 9E 00 00 */ lwz r12, 0(r30)
/* 80181280 0017E1E0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80181284 0017E1E4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181288 0017E1E8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018128C 0017E1EC 7C 64 1B 78 */ mr r4, r3
/* 80181290 0017E1F0 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80181294 0017E1F4 81 84 00 00 */ lwz r12, 0(r4)
/* 80181298 0017E1F8 38 A1 02 80 */ addi r5, r1, 0x280
/* 8018129C 0017E1FC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801812A0 0017E200 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801812A4 0017E204 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801812A8 0017E208 C0 A1 00 A4 */ lfs f5, 0xa4(r1)
/* 801812AC 0017E20C 38 61 00 5C */ addi r3, r1, 0x5c
/* 801812B0 0017E210 C0 81 00 A8 */ lfs f4, 0xa8(r1)
/* 801812B4 0017E214 38 81 00 EC */ addi r4, r1, 0xec
/* 801812B8 0017E218 C0 61 00 AC */ lfs f3, 0xac(r1)
/* 801812BC 0017E21C C0 41 00 B0 */ lfs f2, 0xb0(r1)
/* 801812C0 0017E220 C0 21 00 B4 */ lfs f1, 0xb4(r1)
/* 801812C4 0017E224 C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 801812C8 0017E228 D0 A1 00 EC */ stfs f5, 0xec(r1)
/* 801812CC 0017E22C D0 81 00 F0 */ stfs f4, 0xf0(r1)
/* 801812D0 0017E230 D0 61 00 F4 */ stfs f3, 0xf4(r1)
/* 801812D4 0017E234 D0 41 00 F8 */ stfs f2, 0xf8(r1)
/* 801812D8 0017E238 D0 21 00 FC */ stfs f1, 0xfc(r1)
/* 801812DC 0017E23C D0 01 01 00 */ stfs f0, 0x100(r1)
/* 801812E0 0017E240 48 1B 63 2D */ bl GetCenterPoint__6CAABoxCFv
/* 801812E4 0017E244 C0 41 00 5C */ lfs f2, 0x5c(r1)
/* 801812E8 0017E248 7F C3 F3 78 */ mr r3, r30
/* 801812EC 0017E24C C0 21 00 60 */ lfs f1, 0x60(r1)
/* 801812F0 0017E250 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 801812F4 0017E254 D0 41 00 98 */ stfs f2, 0x98(r1)
/* 801812F8 0017E258 D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 801812FC 0017E25C D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 80181300 0017E260 81 9E 00 00 */ lwz r12, 0(r30)
/* 80181304 0017E264 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80181308 0017E268 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018130C 0017E26C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181310 0017E270 48 00 13 BD */ bl GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
/* 80181314 0017E274 C0 02 A2 C4 */ lfs f0, lbl_805ABFE4@sda21(r2)
/* 80181318 0017E278 EC 00 00 72 */ fmuls f0, f0, f1
/* 8018131C 0017E27C FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 80181320 0017E280 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80181324 0017E284 40 81 01 1C */ ble lbl_80181440
/* 80181328 0017E288 C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 8018132C 0017E28C FC 20 F0 90 */ fmr f1, f30
2022-04-24 01:54:45 +00:00
/* 80181330 0017E290 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80181334 0017E294 7F A4 EB 78 */ mr r4, r29
/* 80181338 0017E298 EC 80 F0 24 */ fdivs f4, f0, f30
/* 8018133C 0017E29C C0 61 02 E8 */ lfs f3, 0x2e8(r1)
/* 80181340 0017E2A0 C0 41 02 EC */ lfs f2, 0x2ec(r1)
/* 80181344 0017E2A4 C0 01 02 E4 */ lfs f0, 0x2e4(r1)
/* 80181348 0017E2A8 7F 28 CB 78 */ mr r8, r25
/* 8018134C 0017E2AC B0 01 00 14 */ sth r0, 0x14(r1)
/* 80181350 0017E2B0 EC 64 00 F2 */ fmuls f3, f4, f3
/* 80181354 0017E2B4 38 61 02 50 */ addi r3, r1, 0x250
/* 80181358 0017E2B8 EC 44 00 B2 */ fmuls f2, f4, f2
/* 8018135C 0017E2BC 38 A1 00 14 */ addi r5, r1, 0x14
/* 80181360 0017E2C0 EC 04 00 32 */ fmuls f0, f4, f0
/* 80181364 0017E2C4 38 C1 00 98 */ addi r6, r1, 0x98
/* 80181368 0017E2C8 D0 61 00 90 */ stfs f3, 0x90(r1)
/* 8018136C 0017E2CC 38 E1 00 8C */ addi r7, r1, 0x8c
/* 80181370 0017E2D0 39 21 36 64 */ addi r9, r1, 0x3664
/* 80181374 0017E2D4 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80181378 0017E2D8 D0 41 00 94 */ stfs f2, 0x94(r1)
/* 8018137C 0017E2DC 4B EC BC 49 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181380 0017E2E0 88 01 02 70 */ lbz r0, 0x270(r1)
/* 80181384 0017E2E4 C0 01 02 50 */ lfs f0, 0x250(r1)
/* 80181388 0017E2E8 28 00 00 00 */ cmplwi r0, 0
/* 8018138C 0017E2EC 41 82 00 B4 */ beq lbl_80181440
/* 80181390 0017E2F0 EC 00 F0 24 */ fdivs f0, f0, f30
/* 80181394 0017E2F4 7F C4 F3 78 */ mr r4, r30
/* 80181398 0017E2F8 38 61 02 18 */ addi r3, r1, 0x218
/* 8018139C 0017E2FC EF FC 00 32 */ fmuls f31, f28, f0
/* 801813A0 0017E300 FC 20 F8 90 */ fmr f1, f31
/* 801813A4 0017E304 4B F9 A4 65 */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 801813A8 0017E308 EC 3C F0 24 */ fdivs f1, f28, f30
/* 801813AC 0017E30C C0 41 00 20 */ lfs f2, 0x20(r1)
/* 801813B0 0017E310 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 801813B4 0017E314 82 A1 02 18 */ lwz r21, 0x218(r1)
/* 801813B8 0017E318 82 81 02 1C */ lwz r20, 0x21c(r1)
/* 801813BC 0017E31C 81 81 02 20 */ lwz r12, 0x220(r1)
/* 801813C0 0017E320 EC 22 00 72 */ fmuls f1, f2, f1
/* 801813C4 0017E324 81 61 02 24 */ lwz r11, 0x224(r1)
/* 801813C8 0017E328 81 41 02 28 */ lwz r10, 0x228(r1)
/* 801813CC 0017E32C FC 00 10 40 */ fcmpo cr0, f0, f2
/* 801813D0 0017E330 81 21 02 2C */ lwz r9, 0x22c(r1)
/* 801813D4 0017E334 81 01 02 30 */ lwz r8, 0x230(r1)
/* 801813D8 0017E338 80 E1 02 34 */ lwz r7, 0x234(r1)
/* 801813DC 0017E33C 80 C1 02 38 */ lwz r6, 0x238(r1)
/* 801813E0 0017E340 80 A1 02 3C */ lwz r5, 0x23c(r1)
/* 801813E4 0017E344 80 81 02 40 */ lwz r4, 0x240(r1)
/* 801813E8 0017E348 80 61 02 44 */ lwz r3, 0x244(r1)
/* 801813EC 0017E34C 80 01 02 48 */ lwz r0, 0x248(r1)
/* 801813F0 0017E350 92 A1 02 E4 */ stw r21, 0x2e4(r1)
/* 801813F4 0017E354 92 81 02 E8 */ stw r20, 0x2e8(r1)
/* 801813F8 0017E358 91 81 02 EC */ stw r12, 0x2ec(r1)
/* 801813FC 0017E35C 91 61 02 F0 */ stw r11, 0x2f0(r1)
/* 80181400 0017E360 91 41 02 F4 */ stw r10, 0x2f4(r1)
/* 80181404 0017E364 91 21 02 F8 */ stw r9, 0x2f8(r1)
/* 80181408 0017E368 91 01 02 FC */ stw r8, 0x2fc(r1)
/* 8018140C 0017E36C 90 E1 03 00 */ stw r7, 0x300(r1)
/* 80181410 0017E370 90 C1 03 04 */ stw r6, 0x304(r1)
/* 80181414 0017E374 90 A1 03 08 */ stw r5, 0x308(r1)
/* 80181418 0017E378 90 81 03 0C */ stw r4, 0x30c(r1)
/* 8018141C 0017E37C 90 61 03 10 */ stw r3, 0x310(r1)
/* 80181420 0017E380 90 01 03 14 */ stw r0, 0x314(r1)
/* 80181424 0017E384 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 80181428 0017E388 40 80 00 0C */ bge lbl_80181434
/* 8018142C 0017E38C 38 61 00 24 */ addi r3, r1, 0x24
/* 80181430 0017E390 48 00 00 08 */ b lbl_80181438
lbl_80181434:
/* 80181434 0017E394 38 61 00 20 */ addi r3, r1, 0x20
lbl_80181438:
/* 80181438 0017E398 C0 03 00 00 */ lfs f0, 0(r3)
/* 8018143C 0017E39C D0 01 00 24 */ stfs f0, 0x24(r1)
lbl_80181440:
/* 80181440 0017E3A0 FF 60 F8 90 */ fmr f27, f31
/* 80181444 0017E3A4 C3 C2 A2 A8 */ lfs f30, lbl_805ABFC8@sda21(r2)
/* 80181448 0017E3A8 3A E1 01 AC */ addi r23, r1, 0x1ac
/* 8018144C 0017E3AC 3A C0 00 01 */ li r22, 1
/* 80181450 0017E3B0 48 00 05 48 */ b lbl_80181998
lbl_80181454:
/* 80181454 0017E3B4 7F C3 F3 78 */ mr r3, r30
/* 80181458 0017E3B8 38 81 02 E4 */ addi r4, r1, 0x2e4
/* 8018145C 0017E3BC 4B F9 95 DD */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80181460 0017E3C0 7F C4 F3 78 */ mr r4, r30
/* 80181464 0017E3C4 38 61 01 E8 */ addi r3, r1, 0x1e8
/* 80181468 0017E3C8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8018146C 0017E3CC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80181470 0017E3D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181474 0017E3D4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181478 0017E3D8 7F C3 F3 78 */ mr r3, r30
/* 8018147C 0017E3DC 81 9E 00 00 */ lwz r12, 0(r30)
/* 80181480 0017E3E0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80181484 0017E3E4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181488 0017E3E8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018148C 0017E3EC 7C 65 1B 78 */ mr r5, r3
/* 80181490 0017E3F0 7F A3 EB 78 */ mr r3, r29
/* 80181494 0017E3F4 7F 27 CB 78 */ mr r7, r25
/* 80181498 0017E3F8 38 81 1B 20 */ addi r4, r1, 0x1b20
/* 8018149C 0017E3FC 38 C1 01 E8 */ addi r6, r1, 0x1e8
/* 801814A0 0017E400 39 01 36 64 */ addi r8, r1, 0x3664
/* 801814A4 0017E404 48 00 30 C1 */ bl "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801814A8 0017E408 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801814AC 0017E40C 41 82 03 F0 */ beq lbl_8018189C
/* 801814B0 0017E410 38 61 02 E4 */ addi r3, r1, 0x2e4
/* 801814B4 0017E414 3B 80 00 01 */ li r28, 1
/* 801814B8 0017E418 48 19 34 01 */ bl Magnitude__9CVector3fCFv
/* 801814BC 0017E41C C0 01 00 24 */ lfs f0, 0x24(r1)
/* 801814C0 0017E420 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801814C4 0017E424 40 80 03 C8 */ bge lbl_8018188C
/* 801814C8 0017E428 80 A1 3E 68 */ lwz r5, 0x3e68(r1)
/* 801814CC 0017E42C 3B 60 00 01 */ li r27, 1
/* 801814D0 0017E430 38 60 00 00 */ li r3, 0
/* 801814D4 0017E434 2C 05 00 00 */ cmpwi r5, 0
/* 801814D8 0017E438 40 81 00 44 */ ble lbl_8018151C
/* 801814DC 0017E43C 2C 05 00 08 */ cmpwi r5, 8
/* 801814E0 0017E440 38 85 FF F8 */ addi r4, r5, -8
/* 801814E4 0017E444 40 81 00 20 */ ble lbl_80181504
/* 801814E8 0017E448 38 04 00 07 */ addi r0, r4, 7
/* 801814EC 0017E44C 54 00 E8 FE */ srwi r0, r0, 3
/* 801814F0 0017E450 7C 09 03 A6 */ mtctr r0
/* 801814F4 0017E454 2C 04 00 00 */ cmpwi r4, 0
/* 801814F8 0017E458 40 81 00 0C */ ble lbl_80181504
lbl_801814FC:
/* 801814FC 0017E45C 38 63 00 08 */ addi r3, r3, 8
/* 80181500 0017E460 42 00 FF FC */ bdnz lbl_801814FC
lbl_80181504:
/* 80181504 0017E464 7C 03 28 50 */ subf r0, r3, r5
/* 80181508 0017E468 7C 09 03 A6 */ mtctr r0
/* 8018150C 0017E46C 7C 03 28 00 */ cmpw r3, r5
/* 80181510 0017E470 40 80 00 0C */ bge lbl_8018151C
lbl_80181514:
/* 80181514 0017E474 38 63 00 01 */ addi r3, r3, 1
/* 80181518 0017E478 42 00 FF FC */ bdnz lbl_80181514
lbl_8018151C:
2022-04-24 01:54:45 +00:00
/* 8018151C 0017E47C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80181520 0017E480 38 60 00 00 */ li r3, 0
/* 80181524 0017E484 90 61 3E 68 */ stw r3, 0x3e68(r1)
/* 80181528 0017E488 7F C4 F3 78 */ mr r4, r30
/* 8018152C 0017E48C 38 61 01 B8 */ addi r3, r1, 0x1b8
/* 80181530 0017E490 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80181534 0017E494 81 9E 00 00 */ lwz r12, 0(r30)
/* 80181538 0017E498 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8018153C 0017E49C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181540 0017E4A0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181544 0017E4A4 7F C3 F3 78 */ mr r3, r30
/* 80181548 0017E4A8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8018154C 0017E4AC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80181550 0017E4B0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181554 0017E4B4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181558 0017E4B8 7C 65 1B 78 */ mr r5, r3
/* 8018155C 0017E4BC 7F A3 EB 78 */ mr r3, r29
/* 80181560 0017E4C0 7F 27 CB 78 */ mr r7, r25
/* 80181564 0017E4C4 38 81 1B 20 */ addi r4, r1, 0x1b20
/* 80181568 0017E4C8 38 C1 01 B8 */ addi r6, r1, 0x1b8
/* 8018156C 0017E4CC 39 01 36 64 */ addi r8, r1, 0x3664
/* 80181570 0017E4D0 39 21 00 10 */ addi r9, r1, 0x10
/* 80181574 0017E4D4 39 41 3E 68 */ addi r10, r1, 0x3e68
/* 80181578 0017E4D8 48 00 2E 6D */ bl "DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
/* 8018157C 0017E4DC A0 01 00 10 */ lhz r0, 0x10(r1)
/* 80181580 0017E4E0 7F A3 EB 78 */ mr r3, r29
/* 80181584 0017E4E4 38 81 00 0C */ addi r4, r1, 0xc
/* 80181588 0017E4E8 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8018158C 0017E4EC 4B EC AF E9 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80181590 0017E4F0 7C 64 1B 78 */ mr r4, r3
/* 80181594 0017E4F4 38 61 00 30 */ addi r3, r1, 0x30
/* 80181598 0017E4F8 4B F2 B1 4D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 8018159C 0017E4FC 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801815A0 0017E500 82 C3 00 04 */ lwz r22, 4(r3)
/* 801815A4 0017E504 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801815A8 0017E508 7F C3 F3 78 */ mr r3, r30
/* 801815AC 0017E50C 4B F9 94 8D */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 801815B0 0017E510 38 00 00 00 */ li r0, 0
/* 801815B4 0017E514 7F C4 F3 78 */ mr r4, r30
/* 801815B8 0017E518 90 01 0F 1C */ stw r0, 0xf1c(r1)
/* 801815BC 0017E51C 7E C5 B3 78 */ mr r5, r22
/* 801815C0 0017E520 38 61 00 50 */ addi r3, r1, 0x50
/* 801815C4 0017E524 90 01 03 18 */ stw r0, 0x318(r1)
/* 801815C8 0017E528 4B FF ED 45 */ bl GetActorRelativeVelocities__14CGameCollisionFPC13CPhysicsActorPC13CPhysicsActor
/* 801815CC 0017E52C C0 41 00 50 */ lfs f2, 0x50(r1)
/* 801815D0 0017E530 38 61 00 80 */ addi r3, r1, 0x80
/* 801815D4 0017E534 C0 21 00 54 */ lfs f1, 0x54(r1)
/* 801815D8 0017E538 38 81 3E 68 */ addi r4, r1, 0x3e68
/* 801815DC 0017E53C C0 01 00 58 */ lfs f0, 0x58(r1)
/* 801815E0 0017E540 38 A1 03 18 */ addi r5, r1, 0x318
/* 801815E4 0017E544 D0 41 00 80 */ stfs f2, 0x80(r1)
/* 801815E8 0017E548 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 801815EC 0017E54C D0 01 00 88 */ stfs f0, 0x88(r1)
/* 801815F0 0017E550 48 15 0D 59 */ bl FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList
/* 801815F4 0017E554 80 01 03 18 */ lwz r0, 0x318(r1)
/* 801815F8 0017E558 2C 00 00 00 */ cmpwi r0, 0
/* 801815FC 0017E55C 40 81 01 5C */ ble lbl_80181758
/* 80181600 0017E560 7F E3 FB 78 */ mr r3, r31
/* 80181604 0017E564 38 81 03 18 */ addi r4, r1, 0x318
/* 80181608 0017E568 81 9F 00 00 */ lwz r12, 0(r31)
/* 8018160C 0017E56C 38 A1 0F 1C */ addi r5, r1, 0xf1c
/* 80181610 0017E570 81 8C 00 08 */ lwz r12, 8(r12)
/* 80181614 0017E574 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181618 0017E578 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018161C 0017E57C 80 01 0F 1C */ lwz r0, 0xf1c(r1)
/* 80181620 0017E580 2C 00 00 00 */ cmpwi r0, 0
/* 80181624 0017E584 40 82 01 34 */ bne lbl_80181758
/* 80181628 0017E588 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 8018162C 0017E58C 38 00 00 01 */ li r0, 1
/* 80181630 0017E590 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 80181634 0017E594 38 80 00 00 */ li r4, 0
/* 80181638 0017E598 7C 60 00 38 */ and r0, r3, r0
/* 8018163C 0017E59C 7C A3 20 38 */ and r3, r5, r4
/* 80181640 0017E5A0 7C 63 22 78 */ xor r3, r3, r4
/* 80181644 0017E5A4 7C 00 22 78 */ xor r0, r0, r4
/* 80181648 0017E5A8 7C 60 03 79 */ or. r0, r3, r0
/* 8018164C 0017E5AC 41 82 01 0C */ beq lbl_80181758
/* 80181650 0017E5B0 C0 1E 01 F4 */ lfs f0, 0x1f4(r30)
/* 80181654 0017E5B4 7E E4 BB 78 */ mr r4, r23
/* 80181658 0017E5B8 38 61 00 38 */ addi r3, r1, 0x38
/* 8018165C 0017E5BC 38 AD 8E 88 */ addi r5, r13, lbl_805A7A48@sda21
/* 80181660 0017E5C0 D0 01 01 84 */ stfs f0, 0x184(r1)
/* 80181664 0017E5C4 C0 1E 01 F8 */ lfs f0, 0x1f8(r30)
/* 80181668 0017E5C8 D0 01 01 88 */ stfs f0, 0x188(r1)
/* 8018166C 0017E5CC C0 1E 01 FC */ lfs f0, 0x1fc(r30)
/* 80181670 0017E5D0 D0 01 01 8C */ stfs f0, 0x18c(r1)
/* 80181674 0017E5D4 C0 1E 02 00 */ lfs f0, 0x200(r30)
/* 80181678 0017E5D8 D0 01 01 90 */ stfs f0, 0x190(r1)
/* 8018167C 0017E5DC C0 1E 02 04 */ lfs f0, 0x204(r30)
/* 80181680 0017E5E0 D0 01 01 94 */ stfs f0, 0x194(r1)
/* 80181684 0017E5E4 C0 1E 02 08 */ lfs f0, 0x208(r30)
/* 80181688 0017E5E8 D0 01 01 98 */ stfs f0, 0x198(r1)
/* 8018168C 0017E5EC C0 1E 02 0C */ lfs f0, 0x20c(r30)
/* 80181690 0017E5F0 D0 01 01 9C */ stfs f0, 0x19c(r1)
/* 80181694 0017E5F4 C0 1E 02 10 */ lfs f0, 0x210(r30)
/* 80181698 0017E5F8 D0 01 01 A0 */ stfs f0, 0x1a0(r1)
/* 8018169C 0017E5FC C0 1E 02 14 */ lfs f0, 0x214(r30)
/* 801816A0 0017E600 D0 01 01 A4 */ stfs f0, 0x1a4(r1)
/* 801816A4 0017E604 C0 1E 02 18 */ lfs f0, 0x218(r30)
/* 801816A8 0017E608 D0 01 01 A8 */ stfs f0, 0x1a8(r1)
/* 801816AC 0017E60C C0 1E 02 1C */ lfs f0, 0x21c(r30)
/* 801816B0 0017E610 D0 01 01 AC */ stfs f0, 0x1ac(r1)
/* 801816B4 0017E614 C0 1E 02 20 */ lfs f0, 0x220(r30)
/* 801816B8 0017E618 D0 01 01 B0 */ stfs f0, 0x1b0(r1)
/* 801816BC 0017E61C C0 1E 02 24 */ lfs f0, 0x224(r30)
/* 801816C0 0017E620 D0 01 01 B4 */ stfs f0, 0x1b4(r1)
/* 801816C4 0017E624 4B E9 9D C1 */ bl __ml__FRC10CAxisAngleRCf
/* 801816C8 0017E628 C0 42 A2 C4 */ lfs f2, lbl_805ABFE4@sda21(r2)
/* 801816CC 0017E62C 7F C3 F3 78 */ mr r3, r30
/* 801816D0 0017E630 C0 01 01 A4 */ lfs f0, 0x1a4(r1)
/* 801816D4 0017E634 38 81 01 50 */ addi r4, r1, 0x150
/* 801816D8 0017E638 C0 21 01 A8 */ lfs f1, 0x1a8(r1)
/* 801816DC 0017E63C ED 82 00 32 */ fmuls f12, f2, f0
/* 801816E0 0017E640 C0 01 01 A0 */ lfs f0, 0x1a0(r1)
/* 801816E4 0017E644 ED 62 00 72 */ fmuls f11, f2, f1
/* 801816E8 0017E648 C1 21 01 84 */ lfs f9, 0x184(r1)
/* 801816EC 0017E64C ED 42 00 32 */ fmuls f10, f2, f0
/* 801816F0 0017E650 C1 01 01 88 */ lfs f8, 0x188(r1)
/* 801816F4 0017E654 C0 E1 01 8C */ lfs f7, 0x18c(r1)
/* 801816F8 0017E658 C0 C1 01 90 */ lfs f6, 0x190(r1)
/* 801816FC 0017E65C C0 A1 01 94 */ lfs f5, 0x194(r1)
/* 80181700 0017E660 C0 81 01 98 */ lfs f4, 0x198(r1)
/* 80181704 0017E664 C0 61 01 9C */ lfs f3, 0x19c(r1)
/* 80181708 0017E668 C0 41 00 38 */ lfs f2, 0x38(r1)
/* 8018170C 0017E66C C0 21 00 3C */ lfs f1, 0x3c(r1)
/* 80181710 0017E670 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80181714 0017E674 D1 41 00 44 */ stfs f10, 0x44(r1)
/* 80181718 0017E678 D1 81 00 48 */ stfs f12, 0x48(r1)
/* 8018171C 0017E67C D1 61 00 4C */ stfs f11, 0x4c(r1)
/* 80181720 0017E680 D1 21 01 50 */ stfs f9, 0x150(r1)
/* 80181724 0017E684 D1 01 01 54 */ stfs f8, 0x154(r1)
/* 80181728 0017E688 D0 E1 01 58 */ stfs f7, 0x158(r1)
/* 8018172C 0017E68C D0 C1 01 5C */ stfs f6, 0x15c(r1)
/* 80181730 0017E690 D0 A1 01 60 */ stfs f5, 0x160(r1)
/* 80181734 0017E694 D0 81 01 64 */ stfs f4, 0x164(r1)
/* 80181738 0017E698 D0 61 01 68 */ stfs f3, 0x168(r1)
/* 8018173C 0017E69C D1 41 01 6C */ stfs f10, 0x16c(r1)
/* 80181740 0017E6A0 D1 81 01 70 */ stfs f12, 0x170(r1)
/* 80181744 0017E6A4 D1 61 01 74 */ stfs f11, 0x174(r1)
/* 80181748 0017E6A8 D0 41 01 78 */ stfs f2, 0x178(r1)
/* 8018174C 0017E6AC D0 21 01 7C */ stfs f1, 0x17c(r1)
/* 80181750 0017E6B0 D0 01 01 80 */ stfs f0, 0x180(r1)
/* 80181754 0017E6B4 4B F9 9F D5 */ bl SetMotionState__13CPhysicsActorFRC12CMotionState
lbl_80181758:
/* 80181758 0017E6B8 7F A3 EB 78 */ mr r3, r29
/* 8018175C 0017E6BC 7F C4 F3 78 */ mr r4, r30
/* 80181760 0017E6C0 38 A1 00 10 */ addi r5, r1, 0x10
/* 80181764 0017E6C4 38 C1 0F 1C */ addi r6, r1, 0xf1c
/* 80181768 0017E6C8 48 00 14 51 */ bl MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList
/* 8018176C 0017E6CC 38 60 00 00 */ li r3, 0
/* 80181770 0017E6D0 4B F3 2D 89 */ bl IsUser__Fi
/* 80181774 0017E6D4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80181778 0017E6D8 41 82 00 14 */ beq lbl_8018178C
/* 8018177C 0017E6DC 48 1C 88 29 */ bl Grey__6CColorFv
/* 80181780 0017E6E0 7C 64 1B 78 */ mr r4, r3
/* 80181784 0017E6E4 38 61 0F 1C */ addi r3, r1, 0xf1c
/* 80181788 0017E6E8 48 00 11 CD */ bl ShowCollisionResults__14CGameCollisionFR18CCollisionInfoListRC6CColor
lbl_8018178C:
/* 8018178C 0017E6EC 7F A3 EB 78 */ mr r3, r29
/* 80181790 0017E6F0 7F C4 F3 78 */ mr r4, r30
/* 80181794 0017E6F4 7E C5 B3 78 */ mr r5, r22
/* 80181798 0017E6F8 38 C1 0F 1C */ addi r6, r1, 0xf1c
/* 8018179C 0017E6FC 48 00 12 55 */ bl SendScriptMessages__14CGameCollisionFR13CStateManagerR6CActorP6CActorRC18CCollisionInfoList
/* 801817A0 0017E700 7F C3 F3 78 */ mr r3, r30
/* 801817A4 0017E704 7E C4 B3 78 */ mr r4, r22
/* 801817A8 0017E708 38 A1 0F 1C */ addi r5, r1, 0xf1c
/* 801817AC 0017E70C 48 00 0E 45 */ bl ResolveCollisions__14CGameCollisionFR13CPhysicsActorP13CPhysicsActorRC18CCollisionInfoList
/* 801817B0 0017E710 C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 801817B4 0017E714 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 801817B8 0017E718 EC 21 F8 28 */ fsubs f1, f1, f31
/* 801817BC 0017E71C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 801817C0 0017E720 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 801817C4 0017E724 40 80 00 0C */ bge lbl_801817D0
/* 801817C8 0017E728 38 61 00 28 */ addi r3, r1, 0x28
/* 801817CC 0017E72C 48 00 00 08 */ b lbl_801817D4
lbl_801817D0:
/* 801817D0 0017E730 38 61 00 2C */ addi r3, r1, 0x2c
lbl_801817D4:
/* 801817D4 0017E734 C3 63 00 00 */ lfs f27, 0(r3)
/* 801817D8 0017E738 38 60 00 00 */ li r3, 0
/* 801817DC 0017E73C 80 A1 03 18 */ lwz r5, 0x318(r1)
/* 801817E0 0017E740 FF E0 D8 90 */ fmr f31, f27
/* 801817E4 0017E744 2C 05 00 00 */ cmpwi r5, 0
/* 801817E8 0017E748 40 81 00 44 */ ble lbl_8018182C
/* 801817EC 0017E74C 2C 05 00 08 */ cmpwi r5, 8
/* 801817F0 0017E750 38 85 FF F8 */ addi r4, r5, -8
/* 801817F4 0017E754 40 81 00 20 */ ble lbl_80181814
/* 801817F8 0017E758 38 04 00 07 */ addi r0, r4, 7
/* 801817FC 0017E75C 54 00 E8 FE */ srwi r0, r0, 3
/* 80181800 0017E760 7C 09 03 A6 */ mtctr r0
/* 80181804 0017E764 2C 04 00 00 */ cmpwi r4, 0
/* 80181808 0017E768 40 81 00 0C */ ble lbl_80181814
lbl_8018180C:
/* 8018180C 0017E76C 38 63 00 08 */ addi r3, r3, 8
/* 80181810 0017E770 42 00 FF FC */ bdnz lbl_8018180C
lbl_80181814:
/* 80181814 0017E774 7C 03 28 50 */ subf r0, r3, r5
/* 80181818 0017E778 7C 09 03 A6 */ mtctr r0
/* 8018181C 0017E77C 7C 03 28 00 */ cmpw r3, r5
/* 80181820 0017E780 40 80 00 0C */ bge lbl_8018182C
lbl_80181824:
/* 80181824 0017E784 38 63 00 01 */ addi r3, r3, 1
/* 80181828 0017E788 42 00 FF FC */ bdnz lbl_80181824
lbl_8018182C:
/* 8018182C 0017E78C 80 A1 0F 1C */ lwz r5, 0xf1c(r1)
/* 80181830 0017E790 38 60 00 00 */ li r3, 0
/* 80181834 0017E794 90 61 03 18 */ stw r3, 0x318(r1)
/* 80181838 0017E798 2C 05 00 00 */ cmpwi r5, 0
/* 8018183C 0017E79C 40 81 00 44 */ ble lbl_80181880
/* 80181840 0017E7A0 2C 05 00 08 */ cmpwi r5, 8
/* 80181844 0017E7A4 38 85 FF F8 */ addi r4, r5, -8
/* 80181848 0017E7A8 40 81 00 20 */ ble lbl_80181868
/* 8018184C 0017E7AC 38 04 00 07 */ addi r0, r4, 7
/* 80181850 0017E7B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80181854 0017E7B4 7C 09 03 A6 */ mtctr r0
/* 80181858 0017E7B8 2C 04 00 00 */ cmpwi r4, 0
/* 8018185C 0017E7BC 40 81 00 0C */ ble lbl_80181868
lbl_80181860:
/* 80181860 0017E7C0 38 63 00 08 */ addi r3, r3, 8
/* 80181864 0017E7C4 42 00 FF FC */ bdnz lbl_80181860
lbl_80181868:
/* 80181868 0017E7C8 7C 03 28 50 */ subf r0, r3, r5
/* 8018186C 0017E7CC 7C 09 03 A6 */ mtctr r0
/* 80181870 0017E7D0 7C 03 28 00 */ cmpw r3, r5
/* 80181874 0017E7D4 40 80 00 0C */ bge lbl_80181880
lbl_80181878:
/* 80181878 0017E7D8 38 63 00 01 */ addi r3, r3, 1
/* 8018187C 0017E7DC 42 00 FF FC */ bdnz lbl_80181878
lbl_80181880:
/* 80181880 0017E7E0 38 00 00 00 */ li r0, 0
/* 80181884 0017E7E4 90 01 0F 1C */ stw r0, 0xf1c(r1)
/* 80181888 0017E7E8 48 00 00 48 */ b lbl_801818D0
lbl_8018188C:
/* 8018188C 0017E7EC C0 02 A2 C4 */ lfs f0, lbl_805ABFE4@sda21(r2)
/* 80181890 0017E7F0 EF 7B 00 32 */ fmuls f27, f27, f0
/* 80181894 0017E7F4 EF FF 00 32 */ fmuls f31, f31, f0
/* 80181898 0017E7F8 48 00 00 38 */ b lbl_801818D0
lbl_8018189C:
/* 8018189C 0017E7FC 7F C3 F3 78 */ mr r3, r30
/* 801818A0 0017E800 38 81 02 E4 */ addi r4, r1, 0x2e4
/* 801818A4 0017E804 4B F9 9C 71 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 801818A8 0017E808 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 801818AC 0017E80C 7F C3 F3 78 */ mr r3, r30
/* 801818B0 0017E810 EC 00 F8 28 */ fsubs f0, f0, f31
/* 801818B4 0017E814 FF E0 D8 90 */ fmr f31, f27
/* 801818B8 0017E818 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 801818BC 0017E81C 4B F9 99 65 */ bl ClearImpulses__13CPhysicsActorFv
/* 801818C0 0017E820 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801818C4 0017E824 7F C3 F3 78 */ mr r3, r30
/* 801818C8 0017E828 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801818CC 0017E82C 4B F9 91 6D */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
lbl_801818D0:
/* 801818D0 0017E830 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 801818D4 0017E834 3A 80 00 00 */ li r20, 0
/* 801818D8 0017E838 3B 5A 00 01 */ addi r26, r26, 1
/* 801818DC 0017E83C FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 801818E0 0017E840 40 81 00 28 */ ble lbl_80181908
/* 801818E4 0017E844 38 61 02 E4 */ addi r3, r1, 0x2e4
/* 801818E8 0017E848 48 19 2F D1 */ bl Magnitude__9CVector3fCFv
/* 801818EC 0017E84C FC 01 E8 40 */ fcmpo cr0, f1, f29
/* 801818F0 0017E850 40 81 00 0C */ ble lbl_801818FC
/* 801818F4 0017E854 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 801818F8 0017E858 40 82 00 0C */ bne lbl_80181904
lbl_801818FC:
/* 801818FC 0017E85C 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 80181900 0017E860 40 82 00 08 */ bne lbl_80181908
lbl_80181904:
/* 80181904 0017E864 3A 80 00 01 */ li r20, 1
lbl_80181908:
/* 80181908 0017E868 28 1A 03 E8 */ cmplwi r26, 0x3e8
/* 8018190C 0017E86C 7E 96 A3 78 */ mr r22, r20
/* 80181910 0017E870 40 81 00 08 */ ble lbl_80181918
/* 80181914 0017E874 3A C0 00 00 */ li r22, 0
lbl_80181918:
/* 80181918 0017E878 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 8018191C 0017E87C 41 82 00 7C */ beq lbl_80181998
/* 80181920 0017E880 FC 20 F8 90 */ fmr f1, f31
/* 80181924 0017E884 7F C4 F3 78 */ mr r4, r30
/* 80181928 0017E888 38 61 01 1C */ addi r3, r1, 0x11c
/* 8018192C 0017E88C 4B F9 9E DD */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80181930 0017E890 82 81 01 1C */ lwz r20, 0x11c(r1)
/* 80181934 0017E894 82 A1 01 20 */ lwz r21, 0x120(r1)
/* 80181938 0017E898 81 81 01 24 */ lwz r12, 0x124(r1)
/* 8018193C 0017E89C 81 61 01 28 */ lwz r11, 0x128(r1)
/* 80181940 0017E8A0 81 41 01 2C */ lwz r10, 0x12c(r1)
/* 80181944 0017E8A4 81 21 01 30 */ lwz r9, 0x130(r1)
/* 80181948 0017E8A8 81 01 01 34 */ lwz r8, 0x134(r1)
/* 8018194C 0017E8AC 80 E1 01 38 */ lwz r7, 0x138(r1)
/* 80181950 0017E8B0 80 C1 01 3C */ lwz r6, 0x13c(r1)
/* 80181954 0017E8B4 80 A1 01 40 */ lwz r5, 0x140(r1)
/* 80181958 0017E8B8 80 81 01 44 */ lwz r4, 0x144(r1)
/* 8018195C 0017E8BC 80 61 01 48 */ lwz r3, 0x148(r1)
/* 80181960 0017E8C0 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 80181964 0017E8C4 92 81 02 E4 */ stw r20, 0x2e4(r1)
/* 80181968 0017E8C8 92 A1 02 E8 */ stw r21, 0x2e8(r1)
/* 8018196C 0017E8CC 91 81 02 EC */ stw r12, 0x2ec(r1)
/* 80181970 0017E8D0 91 61 02 F0 */ stw r11, 0x2f0(r1)
/* 80181974 0017E8D4 91 41 02 F4 */ stw r10, 0x2f4(r1)
/* 80181978 0017E8D8 91 21 02 F8 */ stw r9, 0x2f8(r1)
/* 8018197C 0017E8DC 91 01 02 FC */ stw r8, 0x2fc(r1)
/* 80181980 0017E8E0 90 E1 03 00 */ stw r7, 0x300(r1)
/* 80181984 0017E8E4 90 C1 03 04 */ stw r6, 0x304(r1)
/* 80181988 0017E8E8 90 A1 03 08 */ stw r5, 0x308(r1)
/* 8018198C 0017E8EC 90 81 03 0C */ stw r4, 0x30c(r1)
/* 80181990 0017E8F0 90 61 03 10 */ stw r3, 0x310(r1)
/* 80181994 0017E8F4 90 01 03 14 */ stw r0, 0x314(r1)
lbl_80181998:
/* 80181998 0017E8F8 56 C0 06 3F */ clrlwi. r0, r22, 0x18
/* 8018199C 0017E8FC 40 82 FA B8 */ bne lbl_80181454
/* 801819A0 0017E900 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 801819A4 0017E904 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 801819A8 0017E908 EF 60 E0 24 */ fdivs f27, f0, f28
/* 801819AC 0017E90C 40 82 00 48 */ bne lbl_801819F4
/* 801819B0 0017E910 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 801819B4 0017E914 38 00 00 20 */ li r0, 0x20
/* 801819B8 0017E918 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 801819BC 0017E91C 38 80 00 00 */ li r4, 0
/* 801819C0 0017E920 7C 60 00 38 */ and r0, r3, r0
/* 801819C4 0017E924 7C A3 20 38 */ and r3, r5, r4
/* 801819C8 0017E928 7C 63 22 78 */ xor r3, r3, r4
/* 801819CC 0017E92C 7C 00 22 78 */ xor r0, r0, r4
/* 801819D0 0017E930 7C 60 03 79 */ or. r0, r3, r0
/* 801819D4 0017E934 40 82 00 20 */ bne lbl_801819F4
2022-04-24 01:54:45 +00:00
/* 801819D8 0017E938 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801819DC 0017E93C 7F A3 EB 78 */ mr r3, r29
/* 801819E0 0017E940 7F C4 F3 78 */ mr r4, r30
/* 801819E4 0017E944 38 A1 00 08 */ addi r5, r1, 8
/* 801819E8 0017E948 B0 01 00 08 */ sth r0, 8(r1)
/* 801819EC 0017E94C 38 C0 00 1A */ li r6, 0x1a
2022-09-14 05:24:37 +00:00
/* 801819F0 0017E950 4B EC 24 E1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_801819F4:
/* 801819F4 0017E954 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 801819F8 0017E958 41 82 00 38 */ beq lbl_80181A30
/* 801819FC 0017E95C 7F C3 F3 78 */ mr r3, r30
/* 80181A00 0017E960 81 9E 00 00 */ lwz r12, 0(r30)
/* 80181A04 0017E964 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80181A08 0017E968 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80181A0C 0017E96C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80181A10 0017E970 FC 20 D8 90 */ fmr f1, f27
/* 80181A14 0017E974 7C 66 1B 78 */ mr r6, r3
/* 80181A18 0017E978 7F A3 EB 78 */ mr r3, r29
/* 80181A1C 0017E97C 7F C5 F3 78 */ mr r5, r30
/* 80181A20 0017E980 38 81 1B 20 */ addi r4, r1, 0x1b20
/* 80181A24 0017E984 38 E1 36 64 */ addi r7, r1, 0x3664
/* 80181A28 0017E988 39 00 00 02 */ li r8, 2
/* 80181A2C 0017E98C 4B FF EE 61 */ bl "CollisionFailsafe__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheR13CPhysicsActorRC19CCollisionPrimitiveRCQ24rstl32reserved_vector<9TUniqueId,1024>fUi"
lbl_80181A30:
/* 80181A30 0017E990 7F C3 F3 78 */ mr r3, r30
/* 80181A34 0017E994 4B F9 98 81 */ bl ClearForcesAndTorques__13CPhysicsActorFv
/* 80181A38 0017E998 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 80181A3C 0017E99C 7F C3 F3 78 */ mr r3, r30
/* 80181A40 0017E9A0 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 80181A44 0017E9A4 4B F9 8F F5 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f
/* 80181A48 0017E9A8 38 60 00 00 */ li r3, 0
/* 80181A4C 0017E9AC 4B F3 2A AD */ bl IsUser__Fi
/* 80181A50 0017E9B0 34 E1 1B 38 */ addic. r7, r1, 0x1b38
/* 80181A54 0017E9B4 41 82 00 94 */ beq lbl_80181AE8
/* 80181A58 0017E9B8 38 C7 00 04 */ addi r6, r7, 4
/* 80181A5C 0017E9BC 38 60 00 00 */ li r3, 0
/* 80181A60 0017E9C0 48 00 00 74 */ b lbl_80181AD4
lbl_80181A64:
/* 80181A64 0017E9C4 28 06 00 00 */ cmplwi r6, 0
/* 80181A68 0017E9C8 41 82 00 64 */ beq lbl_80181ACC
/* 80181A6C 0017E9CC 34 06 00 04 */ addic. r0, r6, 4
/* 80181A70 0017E9D0 41 82 00 5C */ beq lbl_80181ACC
/* 80181A74 0017E9D4 81 06 00 04 */ lwz r8, 4(r6)
/* 80181A78 0017E9D8 38 80 00 00 */ li r4, 0
/* 80181A7C 0017E9DC 2C 08 00 00 */ cmpwi r8, 0
/* 80181A80 0017E9E0 40 81 00 44 */ ble lbl_80181AC4
/* 80181A84 0017E9E4 2C 08 00 08 */ cmpwi r8, 8
/* 80181A88 0017E9E8 38 A8 FF F8 */ addi r5, r8, -8
/* 80181A8C 0017E9EC 40 81 00 20 */ ble lbl_80181AAC
/* 80181A90 0017E9F0 38 05 00 07 */ addi r0, r5, 7
/* 80181A94 0017E9F4 54 00 E8 FE */ srwi r0, r0, 3
/* 80181A98 0017E9F8 7C 09 03 A6 */ mtctr r0
/* 80181A9C 0017E9FC 2C 05 00 00 */ cmpwi r5, 0
/* 80181AA0 0017EA00 40 81 00 0C */ ble lbl_80181AAC
lbl_80181AA4:
/* 80181AA4 0017EA04 38 84 00 08 */ addi r4, r4, 8
/* 80181AA8 0017EA08 42 00 FF FC */ bdnz lbl_80181AA4
lbl_80181AAC:
/* 80181AAC 0017EA0C 7C 04 40 50 */ subf r0, r4, r8
/* 80181AB0 0017EA10 7C 09 03 A6 */ mtctr r0
/* 80181AB4 0017EA14 7C 04 40 00 */ cmpw r4, r8
/* 80181AB8 0017EA18 40 80 00 0C */ bge lbl_80181AC4
lbl_80181ABC:
/* 80181ABC 0017EA1C 38 84 00 01 */ addi r4, r4, 1
/* 80181AC0 0017EA20 42 00 FF FC */ bdnz lbl_80181ABC
lbl_80181AC4:
/* 80181AC4 0017EA24 38 00 00 00 */ li r0, 0
/* 80181AC8 0017EA28 90 06 00 04 */ stw r0, 4(r6)
lbl_80181ACC:
/* 80181ACC 0017EA2C 38 C6 09 0C */ addi r6, r6, 0x90c
/* 80181AD0 0017EA30 38 63 00 01 */ addi r3, r3, 1
lbl_80181AD4:
/* 80181AD4 0017EA34 80 07 00 00 */ lwz r0, 0(r7)
/* 80181AD8 0017EA38 7C 03 00 00 */ cmpw r3, r0
/* 80181ADC 0017EA3C 41 80 FF 88 */ blt lbl_80181A64
/* 80181AE0 0017EA40 38 00 00 00 */ li r0, 0
/* 80181AE4 0017EA44 90 07 00 00 */ stw r0, 0(r7)
lbl_80181AE8:
/* 80181AE8 0017EA48 80 A1 36 64 */ lwz r5, 0x3664(r1)
/* 80181AEC 0017EA4C 38 60 00 00 */ li r3, 0
/* 80181AF0 0017EA50 2C 05 00 00 */ cmpwi r5, 0
/* 80181AF4 0017EA54 40 81 00 40 */ ble lbl_80181B34
/* 80181AF8 0017EA58 2C 05 00 08 */ cmpwi r5, 8
/* 80181AFC 0017EA5C 38 85 FF F8 */ addi r4, r5, -8
/* 80181B00 0017EA60 40 81 00 20 */ ble lbl_80181B20
/* 80181B04 0017EA64 38 04 00 07 */ addi r0, r4, 7
/* 80181B08 0017EA68 54 00 E8 FE */ srwi r0, r0, 3
/* 80181B0C 0017EA6C 7C 09 03 A6 */ mtctr r0
/* 80181B10 0017EA70 2C 04 00 00 */ cmpwi r4, 0
/* 80181B14 0017EA74 40 81 00 0C */ ble lbl_80181B20
lbl_80181B18:
/* 80181B18 0017EA78 38 63 00 08 */ addi r3, r3, 8
/* 80181B1C 0017EA7C 42 00 FF FC */ bdnz lbl_80181B18
lbl_80181B20:
/* 80181B20 0017EA80 7C 03 28 50 */ subf r0, r3, r5
/* 80181B24 0017EA84 7C 09 03 A6 */ mtctr r0
/* 80181B28 0017EA88 7C 03 28 00 */ cmpw r3, r5
/* 80181B2C 0017EA8C 40 80 00 08 */ bge lbl_80181B34
lbl_80181B30:
/* 80181B30 0017EA90 42 00 00 00 */ bdnz lbl_80181B30
lbl_80181B34:
/* 80181B34 0017EA94 80 A1 3E 68 */ lwz r5, 0x3e68(r1)
/* 80181B38 0017EA98 38 60 00 00 */ li r3, 0
/* 80181B3C 0017EA9C 90 61 36 64 */ stw r3, 0x3664(r1)
/* 80181B40 0017EAA0 2C 05 00 00 */ cmpwi r5, 0
/* 80181B44 0017EAA4 40 81 00 40 */ ble lbl_80181B84
/* 80181B48 0017EAA8 2C 05 00 08 */ cmpwi r5, 8
/* 80181B4C 0017EAAC 38 85 FF F8 */ addi r4, r5, -8
/* 80181B50 0017EAB0 40 81 00 20 */ ble lbl_80181B70
/* 80181B54 0017EAB4 38 04 00 07 */ addi r0, r4, 7
/* 80181B58 0017EAB8 54 00 E8 FE */ srwi r0, r0, 3
/* 80181B5C 0017EABC 7C 09 03 A6 */ mtctr r0
/* 80181B60 0017EAC0 2C 04 00 00 */ cmpwi r4, 0
/* 80181B64 0017EAC4 40 81 00 0C */ ble lbl_80181B70
lbl_80181B68:
/* 80181B68 0017EAC8 38 63 00 08 */ addi r3, r3, 8
/* 80181B6C 0017EACC 42 00 FF FC */ bdnz lbl_80181B68
lbl_80181B70:
/* 80181B70 0017EAD0 7C 03 28 50 */ subf r0, r3, r5
/* 80181B74 0017EAD4 7C 09 03 A6 */ mtctr r0
/* 80181B78 0017EAD8 7C 03 28 00 */ cmpw r3, r5
/* 80181B7C 0017EADC 40 80 00 08 */ bge lbl_80181B84
lbl_80181B80:
/* 80181B80 0017EAE0 42 00 00 00 */ bdnz lbl_80181B80
lbl_80181B84:
/* 80181B84 0017EAE4 38 00 00 00 */ li r0, 0
/* 80181B88 0017EAE8 90 01 3E 68 */ stw r0, 0x3e68(r1)
/* 80181B8C 0017EAEC 38 00 4A E8 */ li r0, 0x4ae8
/* 80181B90 0017EAF0 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0
/* 80181B94 0017EAF4 CB E1 4A E0 */ lfd f31, 0x4ae0(r1)
/* 80181B98 0017EAF8 38 00 4A D8 */ li r0, 0x4ad8
/* 80181B9C 0017EAFC 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0
/* 80181BA0 0017EB00 CB C1 4A D0 */ lfd f30, 0x4ad0(r1)
/* 80181BA4 0017EB04 38 00 4A C8 */ li r0, 0x4ac8
/* 80181BA8 0017EB08 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0
/* 80181BAC 0017EB0C CB A1 4A C0 */ lfd f29, 0x4ac0(r1)
/* 80181BB0 0017EB10 38 00 4A B8 */ li r0, 0x4ab8
/* 80181BB4 0017EB14 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0
/* 80181BB8 0017EB18 CB 81 4A B0 */ lfd f28, 0x4ab0(r1)
/* 80181BBC 0017EB1C 38 00 4A A8 */ li r0, 0x4aa8
/* 80181BC0 0017EB20 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0
/* 80181BC4 0017EB24 CB 61 4A A0 */ lfd f27, 0x4aa0(r1)
/* 80181BC8 0017EB28 BA 81 4A 70 */ lmw r20, 0x4a70(r1)
/* 80181BCC 0017EB2C 80 01 4A F4 */ lwz r0, 0x4af4(r1)
/* 80181BD0 0017EB30 7C 08 03 A6 */ mtlr r0
/* 80181BD4 0017EB34 38 21 4A F0 */ addi r1, r1, 0x4af0
2022-07-14 05:48:03 +00:00
/* 80181BD8 0017EB38 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "MovePlayer__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
"MovePlayer__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80181BDC 0017EB3C 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80181BE0 0017EB40 7C 08 02 A6 */ mflr r0
/* 80181BE4 0017EB44 90 01 00 74 */ stw r0, 0x74(r1)
/* 80181BE8 0017EB48 DB E1 00 68 */ stfd f31, 0x68(r1)
/* 80181BEC 0017EB4C FF E0 08 90 */ fmr f31, f1
/* 80181BF0 0017EB50 93 E1 00 64 */ stw r31, 0x64(r1)
/* 80181BF4 0017EB54 7C BF 2B 78 */ mr r31, r5
/* 80181BF8 0017EB58 93 C1 00 60 */ stw r30, 0x60(r1)
/* 80181BFC 0017EB5C 7C 9E 23 78 */ mr r30, r4
/* 80181C00 0017EB60 93 A1 00 5C */ stw r29, 0x5c(r1)
/* 80181C04 0017EB64 7C 7D 1B 78 */ mr r29, r3
/* 80181C08 0017EB68 38 60 00 01 */ li r3, 1
/* 80181C0C 0017EB6C 88 04 00 F8 */ lbz r0, 0xf8(r4)
/* 80181C10 0017EB70 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80181C14 0017EB74 38 61 00 18 */ addi r3, r1, 0x18
/* 80181C18 0017EB78 98 04 00 F8 */ stb r0, 0xf8(r4)
/* 80181C1C 0017EB7C 4B F9 9E 95 */ bl PredictAngularMotion__13CPhysicsActorCFf
/* 80181C20 0017EB80 7F C3 F3 78 */ mr r3, r30
/* 80181C24 0017EB84 38 81 00 18 */ addi r4, r1, 0x18
/* 80181C28 0017EB88 4B F9 98 ED */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 80181C2C 0017EB8C 88 1E 00 F9 */ lbz r0, 0xf9(r30)
/* 80181C30 0017EB90 28 00 00 00 */ cmplwi r0, 0
/* 80181C34 0017EB94 41 82 00 3C */ beq lbl_80181C70
/* 80181C38 0017EB98 3C 80 80 3E */ lis r4, lbl_803E3FE8@ha
/* 80181C3C 0017EB9C 3C 60 80 3E */ lis r3, lbl_803E3FF8@ha
/* 80181C40 0017EBA0 38 04 3F E8 */ addi r0, r4, lbl_803E3FE8@l
/* 80181C44 0017EBA4 FC 20 F8 90 */ fmr f1, f31
/* 80181C48 0017EBA8 90 01 00 10 */ stw r0, 0x10(r1)
/* 80181C4C 0017EBAC 38 03 3F F8 */ addi r0, r3, lbl_803E3FF8@l
/* 80181C50 0017EBB0 7F A3 EB 78 */ mr r3, r29
/* 80181C54 0017EBB4 7F C4 F3 78 */ mr r4, r30
/* 80181C58 0017EBB8 90 01 00 10 */ stw r0, 0x10(r1)
/* 80181C5C 0017EBBC 7F E6 FB 78 */ mr r6, r31
/* 80181C60 0017EBC0 38 A1 00 10 */ addi r5, r1, 0x10
/* 80181C64 0017EBC4 93 C1 00 14 */ stw r30, 0x14(r1)
/* 80181C68 0017EBC8 4B FF F2 8D */ bl "MoveAndCollide__14CGameCollisionFR13CStateManagerR13CPhysicsActorfRC16ICollisionFilterPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181C6C 0017EBCC 48 00 00 9C */ b lbl_80181D08
lbl_80181C70:
/* 80181C70 0017EBD0 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 80181C74 0017EBD4 38 00 00 20 */ li r0, 0x20
/* 80181C78 0017EBD8 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 80181C7C 0017EBDC 38 80 00 00 */ li r4, 0
/* 80181C80 0017EBE0 7C 60 00 38 */ and r0, r3, r0
/* 80181C84 0017EBE4 7C A3 20 38 */ and r3, r5, r4
/* 80181C88 0017EBE8 7C 63 22 78 */ xor r3, r3, r4
/* 80181C8C 0017EBEC 7C 00 22 78 */ xor r0, r0, r4
/* 80181C90 0017EBF0 7C 60 03 79 */ or. r0, r3, r0
/* 80181C94 0017EBF4 41 82 00 40 */ beq lbl_80181CD4
/* 80181C98 0017EBF8 88 02 80 E9 */ lbz r0, lbl_805A9E09@sda21(r2)
/* 80181C9C 0017EBFC 28 00 00 00 */ cmplwi r0, 0
/* 80181CA0 0017EC00 41 82 00 1C */ beq lbl_80181CBC
/* 80181CA4 0017EC04 FC 20 F8 90 */ fmr f1, f31
/* 80181CA8 0017EC08 7F A3 EB 78 */ mr r3, r29
/* 80181CAC 0017EC0C 7F C4 F3 78 */ mr r4, r30
/* 80181CB0 0017EC10 7F E5 FB 78 */ mr r5, r31
/* 80181CB4 0017EC14 48 00 4A 49 */ bl "MoveGroundCollider_New__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181CB8 0017EC18 48 00 00 50 */ b lbl_80181D08
lbl_80181CBC:
/* 80181CBC 0017EC1C FC 20 F8 90 */ fmr f1, f31
/* 80181CC0 0017EC20 7F A3 EB 78 */ mr r3, r29
/* 80181CC4 0017EC24 7F C4 F3 78 */ mr r4, r30
/* 80181CC8 0017EC28 7F E5 FB 78 */ mr r5, r31
/* 80181CCC 0017EC2C 48 00 75 CD */ bl "MoveGroundCollider__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181CD0 0017EC30 48 00 00 38 */ b lbl_80181D08
lbl_80181CD4:
/* 80181CD4 0017EC34 3C 80 80 3E */ lis r4, lbl_803E3FE8@ha
/* 80181CD8 0017EC38 3C 60 80 3E */ lis r3, lbl_803E3FF8@ha
/* 80181CDC 0017EC3C 38 04 3F E8 */ addi r0, r4, lbl_803E3FE8@l
/* 80181CE0 0017EC40 FC 20 F8 90 */ fmr f1, f31
/* 80181CE4 0017EC44 90 01 00 08 */ stw r0, 8(r1)
/* 80181CE8 0017EC48 38 03 3F F8 */ addi r0, r3, lbl_803E3FF8@l
/* 80181CEC 0017EC4C 7F A3 EB 78 */ mr r3, r29
/* 80181CF0 0017EC50 7F C4 F3 78 */ mr r4, r30
/* 80181CF4 0017EC54 90 01 00 08 */ stw r0, 8(r1)
/* 80181CF8 0017EC58 7F E6 FB 78 */ mr r6, r31
/* 80181CFC 0017EC5C 38 A1 00 08 */ addi r5, r1, 8
/* 80181D00 0017EC60 93 C1 00 0C */ stw r30, 0xc(r1)
/* 80181D04 0017EC64 4B FF F1 F1 */ bl "MoveAndCollide__14CGameCollisionFR13CStateManagerR13CPhysicsActorfRC16ICollisionFilterPCQ24rstl32reserved_vector<9TUniqueId,1024>"
lbl_80181D08:
/* 80181D08 0017EC68 88 1E 00 F8 */ lbz r0, 0xf8(r30)
/* 80181D0C 0017EC6C 38 60 00 00 */ li r3, 0
/* 80181D10 0017EC70 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80181D14 0017EC74 98 1E 00 F8 */ stb r0, 0xf8(r30)
/* 80181D18 0017EC78 CB E1 00 68 */ lfd f31, 0x68(r1)
/* 80181D1C 0017EC7C 83 E1 00 64 */ lwz r31, 0x64(r1)
/* 80181D20 0017EC80 83 C1 00 60 */ lwz r30, 0x60(r1)
/* 80181D24 0017EC84 83 A1 00 5C */ lwz r29, 0x5c(r1)
/* 80181D28 0017EC88 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80181D2C 0017EC8C 7C 08 03 A6 */ mtlr r0
/* 80181D30 0017EC90 38 21 00 70 */ addi r1, r1, 0x70
2022-07-14 05:48:03 +00:00
/* 80181D34 0017EC94 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
"Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80181D38 0017EC98 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80181D3C 0017EC9C 7C 08 02 A6 */ mflr r0
/* 80181D40 0017ECA0 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80181D44 0017ECA4 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 80181D48 0017ECA8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 80181D4C 0017ECAC 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 80181D50 0017ECB0 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 80181D54 0017ECB4 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 80181D58 0017ECB8 88 04 00 F8 */ lbz r0, 0xf8(r4)
/* 80181D5C 0017ECBC FF E0 08 90 */ fmr f31, f1
/* 80181D60 0017ECC0 7C 9E 23 78 */ mr r30, r4
/* 80181D64 0017ECC4 7C 7D 1B 78 */ mr r29, r3
/* 80181D68 0017ECC8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80181D6C 0017ECCC 7C BF 2B 78 */ mr r31, r5
/* 80181D70 0017ECD0 41 82 01 D8 */ beq lbl_80181F48
/* 80181D74 0017ECD4 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 80181D78 0017ECD8 38 00 00 20 */ li r0, 0x20
/* 80181D7C 0017ECDC 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 80181D80 0017ECE0 38 80 00 00 */ li r4, 0
/* 80181D84 0017ECE4 7C 60 00 38 */ and r0, r3, r0
/* 80181D88 0017ECE8 7C A3 20 38 */ and r3, r5, r4
/* 80181D8C 0017ECEC 7C 63 22 78 */ xor r3, r3, r4
/* 80181D90 0017ECF0 7C 00 22 78 */ xor r0, r0, r4
/* 80181D94 0017ECF4 7C 60 03 79 */ or. r0, r3, r0
/* 80181D98 0017ECF8 40 82 00 18 */ bne lbl_80181DB0
/* 80181D9C 0017ECFC 7F C3 F3 78 */ mr r3, r30
/* 80181DA0 0017ED00 7F A4 EB 78 */ mr r4, r29
/* 80181DA4 0017ED04 4B F9 96 41 */ bl WillMove__13CPhysicsActorFRC13CStateManager
/* 80181DA8 0017ED08 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80181DAC 0017ED0C 41 82 01 9C */ beq lbl_80181F48
lbl_80181DB0:
/* 80181DB0 0017ED10 88 1E 00 F8 */ lbz r0, 0xf8(r30)
/* 80181DB4 0017ED14 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80181DB8 0017ED18 41 82 00 20 */ beq lbl_80181DD8
/* 80181DBC 0017ED1C FC 20 F8 90 */ fmr f1, f31
/* 80181DC0 0017ED20 7F C4 F3 78 */ mr r4, r30
/* 80181DC4 0017ED24 38 61 00 44 */ addi r3, r1, 0x44
/* 80181DC8 0017ED28 4B F9 9C E9 */ bl PredictAngularMotion__13CPhysicsActorCFf
/* 80181DCC 0017ED2C 7F C3 F3 78 */ mr r3, r30
/* 80181DD0 0017ED30 38 81 00 44 */ addi r4, r1, 0x44
/* 80181DD4 0017ED34 4B F9 97 41 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
lbl_80181DD8:
/* 80181DD8 0017ED38 7F C3 F3 78 */ mr r3, r30
/* 80181DDC 0017ED3C 4B F9 93 A1 */ bl UseCollisionImpulses__13CPhysicsActorFv
/* 80181DE0 0017ED40 80 BE 00 68 */ lwz r5, 0x68(r30)
/* 80181DE4 0017ED44 38 80 00 00 */ li r4, 0
/* 80181DE8 0017ED48 80 DE 00 6C */ lwz r6, 0x6c(r30)
/* 80181DEC 0017ED4C 3C 60 00 08 */ lis r3, 8
/* 80181DF0 0017ED50 7C A0 20 38 */ and r0, r5, r4
/* 80181DF4 0017ED54 7C C3 18 38 */ and r3, r6, r3
/* 80181DF8 0017ED58 7C 63 22 78 */ xor r3, r3, r4
/* 80181DFC 0017ED5C 7C 00 22 78 */ xor r0, r0, r4
/* 80181E00 0017ED60 7C 60 03 79 */ or. r0, r3, r0
/* 80181E04 0017ED64 41 82 00 08 */ beq lbl_80181E0C
/* 80181E08 0017ED68 38 80 00 01 */ li r4, 1
lbl_80181E0C:
/* 80181E0C 0017ED6C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80181E10 0017ED70 41 82 00 A0 */ beq lbl_80181EB0
/* 80181E14 0017ED74 38 80 00 00 */ li r4, 0
/* 80181E18 0017ED78 38 00 00 01 */ li r0, 1
/* 80181E1C 0017ED7C 7C C3 20 38 */ and r3, r6, r4
/* 80181E20 0017ED80 7C A0 00 38 */ and r0, r5, r0
/* 80181E24 0017ED84 7C 63 22 78 */ xor r3, r3, r4
/* 80181E28 0017ED88 7C 00 22 78 */ xor r0, r0, r4
/* 80181E2C 0017ED8C 7C 60 03 79 */ or. r0, r3, r0
/* 80181E30 0017ED90 41 82 00 1C */ beq lbl_80181E4C
/* 80181E34 0017ED94 FC 20 F8 90 */ fmr f1, f31
/* 80181E38 0017ED98 7F A3 EB 78 */ mr r3, r29
/* 80181E3C 0017ED9C 7F C4 F3 78 */ mr r4, r30
/* 80181E40 0017EDA0 7F E5 FB 78 */ mr r5, r31
/* 80181E44 0017EDA4 4B FF FD 99 */ bl "MovePlayer__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181E48 0017EDA8 48 00 00 F4 */ b lbl_80181F3C
lbl_80181E4C:
/* 80181E4C 0017EDAC 38 00 00 20 */ li r0, 0x20
/* 80181E50 0017EDB0 7C A0 00 38 */ and r0, r5, r0
/* 80181E54 0017EDB4 7C 00 22 78 */ xor r0, r0, r4
/* 80181E58 0017EDB8 7C 60 03 79 */ or. r0, r3, r0
/* 80181E5C 0017EDBC 41 82 00 1C */ beq lbl_80181E78
/* 80181E60 0017EDC0 FC 20 F8 90 */ fmr f1, f31
/* 80181E64 0017EDC4 7F A3 EB 78 */ mr r3, r29
/* 80181E68 0017EDC8 7F C4 F3 78 */ mr r4, r30
/* 80181E6C 0017EDCC 7F E5 FB 78 */ mr r5, r31
/* 80181E70 0017EDD0 48 00 74 29 */ bl "MoveGroundCollider__15CGroundMovementFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181E74 0017EDD4 48 00 00 C8 */ b lbl_80181F3C
lbl_80181E78:
/* 80181E78 0017EDD8 3C 80 80 3E */ lis r4, lbl_803E3FE8@ha
/* 80181E7C 0017EDDC 3C 60 80 3E */ lis r3, lbl_803E4008@ha
/* 80181E80 0017EDE0 38 04 3F E8 */ addi r0, r4, lbl_803E3FE8@l
/* 80181E84 0017EDE4 FC 20 F8 90 */ fmr f1, f31
/* 80181E88 0017EDE8 90 01 00 08 */ stw r0, 8(r1)
/* 80181E8C 0017EDEC 38 03 40 08 */ addi r0, r3, lbl_803E4008@l
/* 80181E90 0017EDF0 7F A3 EB 78 */ mr r3, r29
/* 80181E94 0017EDF4 7F C4 F3 78 */ mr r4, r30
/* 80181E98 0017EDF8 90 01 00 08 */ stw r0, 8(r1)
/* 80181E9C 0017EDFC 7F E6 FB 78 */ mr r6, r31
/* 80181EA0 0017EE00 38 A1 00 08 */ addi r5, r1, 8
/* 80181EA4 0017EE04 93 C1 00 0C */ stw r30, 0xc(r1)
/* 80181EA8 0017EE08 4B FF F0 4D */ bl "MoveAndCollide__14CGameCollisionFR13CStateManagerR13CPhysicsActorfRC16ICollisionFilterPCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80181EAC 0017EE0C 48 00 00 90 */ b lbl_80181F3C
lbl_80181EB0:
/* 80181EB0 0017EE10 FC 20 F8 90 */ fmr f1, f31
/* 80181EB4 0017EE14 7F C4 F3 78 */ mr r4, r30
/* 80181EB8 0017EE18 38 61 00 10 */ addi r3, r1, 0x10
/* 80181EBC 0017EE1C 4B F9 99 4D */ bl PredictMotion_Internal__13CPhysicsActorCFf
/* 80181EC0 0017EE20 C1 81 00 10 */ lfs f12, 0x10(r1)
/* 80181EC4 0017EE24 7F C3 F3 78 */ mr r3, r30
/* 80181EC8 0017EE28 C1 61 00 14 */ lfs f11, 0x14(r1)
/* 80181ECC 0017EE2C 38 81 00 78 */ addi r4, r1, 0x78
/* 80181ED0 0017EE30 C1 41 00 18 */ lfs f10, 0x18(r1)
/* 80181ED4 0017EE34 C1 21 00 1C */ lfs f9, 0x1c(r1)
/* 80181ED8 0017EE38 C1 01 00 20 */ lfs f8, 0x20(r1)
/* 80181EDC 0017EE3C C0 E1 00 24 */ lfs f7, 0x24(r1)
/* 80181EE0 0017EE40 C0 C1 00 28 */ lfs f6, 0x28(r1)
/* 80181EE4 0017EE44 C0 A1 00 2C */ lfs f5, 0x2c(r1)
/* 80181EE8 0017EE48 C0 81 00 30 */ lfs f4, 0x30(r1)
/* 80181EEC 0017EE4C C0 61 00 34 */ lfs f3, 0x34(r1)
/* 80181EF0 0017EE50 C0 41 00 38 */ lfs f2, 0x38(r1)
/* 80181EF4 0017EE54 C0 21 00 3C */ lfs f1, 0x3c(r1)
/* 80181EF8 0017EE58 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80181EFC 0017EE5C D1 81 00 78 */ stfs f12, 0x78(r1)
/* 80181F00 0017EE60 D1 61 00 7C */ stfs f11, 0x7c(r1)
/* 80181F04 0017EE64 D1 41 00 80 */ stfs f10, 0x80(r1)
/* 80181F08 0017EE68 D1 21 00 84 */ stfs f9, 0x84(r1)
/* 80181F0C 0017EE6C D1 01 00 88 */ stfs f8, 0x88(r1)
/* 80181F10 0017EE70 D0 E1 00 8C */ stfs f7, 0x8c(r1)
/* 80181F14 0017EE74 D0 C1 00 90 */ stfs f6, 0x90(r1)
/* 80181F18 0017EE78 D0 A1 00 94 */ stfs f5, 0x94(r1)
/* 80181F1C 0017EE7C D0 81 00 98 */ stfs f4, 0x98(r1)
/* 80181F20 0017EE80 D0 61 00 9C */ stfs f3, 0x9c(r1)
/* 80181F24 0017EE84 D0 41 00 A0 */ stfs f2, 0xa0(r1)
/* 80181F28 0017EE88 D0 21 00 A4 */ stfs f1, 0xa4(r1)
/* 80181F2C 0017EE8C D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 80181F30 0017EE90 4B F9 95 E5 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState
/* 80181F34 0017EE94 7F C3 F3 78 */ mr r3, r30
/* 80181F38 0017EE98 4B F9 93 7D */ bl ClearForcesAndTorques__13CPhysicsActorFv
lbl_80181F3C:
/* 80181F3C 0017EE9C 7F A3 EB 78 */ mr r3, r29
/* 80181F40 0017EEA0 7F C4 F3 78 */ mr r4, r30
/* 80181F44 0017EEA4 4B EC A8 01 */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor
lbl_80181F48:
/* 80181F48 0017EEA8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 80181F4C 0017EEAC 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80181F50 0017EEB0 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 80181F54 0017EEB4 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 80181F58 0017EEB8 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 80181F5C 0017EEBC 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 80181F60 0017EEC0 7C 08 03 A6 */ mtlr r0
/* 80181F64 0017EEC4 38 21 00 D0 */ addi r1, r1, 0xd0
2022-07-14 05:48:03 +00:00
/* 80181F68 0017EEC8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CollideWithStaticBodyNoRot__14CGameCollisionFR13CPhysicsActorRC13CMaterialListRC13CMaterialListRC13CUnitVector3ffb
CollideWithStaticBodyNoRot__14CGameCollisionFR13CPhysicsActorRC13CMaterialListRC13CMaterialListRC13CUnitVector3ffb:
/* 80181F6C 0017EECC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80181F70 0017EED0 7C 08 02 A6 */ mflr r0
/* 80181F74 0017EED4 90 01 00 54 */ stw r0, 0x54(r1)
/* 80181F78 0017EED8 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80181F7C 0017EEDC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 80181F80 0017EEE0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80181F84 0017EEE4 C0 66 00 00 */ lfs f3, 0(r6)
/* 80181F88 0017EEE8 54 E0 06 3F */ clrlwi. r0, r7, 0x18
/* 80181F8C 0017EEEC C0 46 00 04 */ lfs f2, 4(r6)
/* 80181F90 0017EEF0 FF E0 08 90 */ fmr f31, f1
/* 80181F94 0017EEF4 C0 06 00 08 */ lfs f0, 8(r6)
/* 80181F98 0017EEF8 7C 7F 1B 78 */ mr r31, r3
/* 80181F9C 0017EEFC D0 61 00 20 */ stfs f3, 0x20(r1)
/* 80181FA0 0017EF00 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 80181FA4 0017EF04 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80181FA8 0017EF08 41 82 00 58 */ beq lbl_80182000
/* 80181FAC 0017EF0C 80 64 00 00 */ lwz r3, 0(r4)
/* 80181FB0 0017EF10 38 00 00 01 */ li r0, 1
/* 80181FB4 0017EF14 80 84 00 04 */ lwz r4, 4(r4)
/* 80181FB8 0017EF18 38 C0 00 00 */ li r6, 0
/* 80181FBC 0017EF1C 7C 60 00 38 */ and r0, r3, r0
/* 80181FC0 0017EF20 7C 83 30 38 */ and r3, r4, r6
/* 80181FC4 0017EF24 7C 63 32 78 */ xor r3, r3, r6
/* 80181FC8 0017EF28 7C 00 32 78 */ xor r0, r0, r6
/* 80181FCC 0017EF2C 7C 60 03 79 */ or. r0, r3, r0
/* 80181FD0 0017EF30 41 82 00 30 */ beq lbl_80182000
/* 80181FD4 0017EF34 80 05 00 00 */ lwz r0, 0(r5)
/* 80181FD8 0017EF38 3C 60 80 00 */ lis r3, 0x8000
/* 80181FDC 0017EF3C 80 85 00 04 */ lwz r4, 4(r5)
/* 80181FE0 0017EF40 7C 00 30 38 */ and r0, r0, r6
/* 80181FE4 0017EF44 7C 83 18 38 */ and r3, r4, r3
/* 80181FE8 0017EF48 7C 63 32 78 */ xor r3, r3, r6
/* 80181FEC 0017EF4C 7C 00 32 78 */ xor r0, r0, r6
/* 80181FF0 0017EF50 7C 60 03 79 */ or. r0, r3, r0
/* 80181FF4 0017EF54 40 82 00 0C */ bne lbl_80182000
/* 80181FF8 0017EF58 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80181FFC 0017EF5C D0 01 00 28 */ stfs f0, 0x28(r1)
lbl_80182000:
/* 80182000 0017EF60 38 61 00 20 */ addi r3, r1, 0x20
/* 80182004 0017EF64 48 19 26 F5 */ bl CanBeNormalized__9CVector3fCFv
/* 80182008 0017EF68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018200C 0017EF6C 41 82 00 D8 */ beq lbl_801820E4
/* 80182010 0017EF70 38 61 00 20 */ addi r3, r1, 0x20
/* 80182014 0017EF74 48 19 28 E5 */ bl Normalize__9CVector3fFv
/* 80182018 0017EF78 C0 1F 01 3C */ lfs f0, 0x13c(r31)
/* 8018201C 0017EF7C C0 81 00 24 */ lfs f4, 0x24(r1)
/* 80182020 0017EF80 C0 3F 01 38 */ lfs f1, 0x138(r31)
/* 80182024 0017EF84 EC 00 01 32 */ fmuls f0, f0, f4
/* 80182028 0017EF88 C0 61 00 20 */ lfs f3, 0x20(r1)
/* 8018202C 0017EF8C C0 5F 01 40 */ lfs f2, 0x140(r31)
/* 80182030 0017EF90 C0 A1 00 28 */ lfs f5, 0x28(r1)
/* 80182034 0017EF94 EC 21 00 FA */ fmadds f1, f1, f3, f0
/* 80182038 0017EF98 C0 02 A2 D8 */ lfs f0, lbl_805ABFF8@sda21(r2)
/* 8018203C 0017EF9C EC 42 09 7A */ fmadds f2, f2, f5, f1
/* 80182040 0017EFA0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80182044 0017EFA4 40 80 00 54 */ bge lbl_80182098
/* 80182048 0017EFA8 FC 60 F8 90 */ fmr f3, f31
/* 8018204C 0017EFAC C0 3F 00 E8 */ lfs f1, 0xe8(r31)
/* 80182050 0017EFB0 48 00 08 C1 */ bl CollisionImpulseFiniteVsInfinite__Ffff
/* 80182054 0017EFB4 C0 61 00 24 */ lfs f3, 0x24(r1)
/* 80182058 0017EFB8 C0 41 00 28 */ lfs f2, 0x28(r1)
/* 8018205C 0017EFBC C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80182060 0017EFC0 EC 61 00 F2 */ fmuls f3, f1, f3
/* 80182064 0017EFC4 EC 41 00 B2 */ fmuls f2, f1, f2
/* 80182068 0017EFC8 EC 01 00 32 */ fmuls f0, f1, f0
/* 8018206C 0017EFCC D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80182070 0017EFD0 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80182074 0017EFD4 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80182078 0017EFD8 4B E9 94 BD */ bl Identity__10CAxisAngleFv
/* 8018207C 0017EFDC 7C 65 1B 78 */ mr r5, r3
/* 80182080 0017EFE0 7F E3 FB 78 */ mr r3, r31
/* 80182084 0017EFE4 38 81 00 14 */ addi r4, r1, 0x14
/* 80182088 0017EFE8 4B F9 A3 11 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 8018208C 0017EFEC 7F E3 FB 78 */ mr r3, r31
/* 80182090 0017EFF0 4B F9 90 ED */ bl UseCollisionImpulses__13CPhysicsActorFv
/* 80182094 0017EFF4 48 00 00 50 */ b lbl_801820E4
lbl_80182098:
/* 80182098 0017EFF8 C0 02 A2 D0 */ lfs f0, lbl_805ABFF0@sda21(r2)
/* 8018209C 0017EFFC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801820A0 0017F000 40 80 00 44 */ bge lbl_801820E4
/* 801820A4 0017F004 C0 22 A2 DC */ lfs f1, lbl_805ABFFC@sda21(r2)
/* 801820A8 0017F008 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 801820AC 0017F00C EC 01 00 32 */ fmuls f0, f1, f0
/* 801820B0 0017F010 EC 40 00 F2 */ fmuls f2, f0, f3
/* 801820B4 0017F014 EC 20 01 32 */ fmuls f1, f0, f4
/* 801820B8 0017F018 EC 00 01 72 */ fmuls f0, f0, f5
/* 801820BC 0017F01C D0 41 00 08 */ stfs f2, 8(r1)
/* 801820C0 0017F020 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801820C4 0017F024 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 801820C8 0017F028 4B E9 94 6D */ bl Identity__10CAxisAngleFv
/* 801820CC 0017F02C 7C 65 1B 78 */ mr r5, r3
/* 801820D0 0017F030 7F E3 FB 78 */ mr r3, r31
/* 801820D4 0017F034 38 81 00 08 */ addi r4, r1, 8
/* 801820D8 0017F038 4B F9 A2 C1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 801820DC 0017F03C 7F E3 FB 78 */ mr r3, r31
/* 801820E0 0017F040 4B F9 90 9D */ bl UseCollisionImpulses__13CPhysicsActorFv
lbl_801820E4:
/* 801820E4 0017F044 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 801820E8 0017F048 80 01 00 54 */ lwz r0, 0x54(r1)
/* 801820EC 0017F04C CB E1 00 40 */ lfd f31, 0x40(r1)
/* 801820F0 0017F050 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 801820F4 0017F054 7C 08 03 A6 */ mtlr r0
/* 801820F8 0017F058 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 801820FC 0017F05C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CollideWithDynamicBodyNoRot__14CGameCollisionFR13CPhysicsActorR13CPhysicsActorRC14CCollisionInfofb
CollideWithDynamicBodyNoRot__14CGameCollisionFR13CPhysicsActorR13CPhysicsActorRC14CCollisionInfofb:
/* 80182100 0017F060 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 80182104 0017F064 7C 08 02 A6 */ mflr r0
/* 80182108 0017F068 90 01 01 44 */ stw r0, 0x144(r1)
/* 8018210C 0017F06C DB E1 01 30 */ stfd f31, 0x130(r1)
/* 80182110 0017F070 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0
/* 80182114 0017F074 DB C1 01 20 */ stfd f30, 0x120(r1)
/* 80182118 0017F078 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0
/* 8018211C 0017F07C DB A1 01 10 */ stfd f29, 0x110(r1)
/* 80182120 0017F080 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0
/* 80182124 0017F084 DB 81 01 00 */ stfd f28, 0x100(r1)
/* 80182128 0017F088 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0
/* 8018212C 0017F08C DB 61 00 F0 */ stfd f27, 0xf0(r1)
/* 80182130 0017F090 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0
/* 80182134 0017F094 DB 41 00 E0 */ stfd f26, 0xe0(r1)
/* 80182138 0017F098 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0
/* 8018213C 0017F09C DB 21 00 D0 */ stfd f25, 0xd0(r1)
/* 80182140 0017F0A0 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0
/* 80182144 0017F0A4 DB 01 00 C0 */ stfd f24, 0xc0(r1)
/* 80182148 0017F0A8 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0
/* 8018214C 0017F0AC DA E1 00 B0 */ stfd f23, 0xb0(r1)
/* 80182150 0017F0B0 F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0
/* 80182154 0017F0B4 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80182158 0017F0B8 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8018215C 0017F0BC 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80182160 0017F0C0 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80182164 0017F0C4 FF 00 08 90 */ fmr f24, f1
/* 80182168 0017F0C8 C3 A5 00 48 */ lfs f29, 0x48(r5)
/* 8018216C 0017F0CC 7C 7E 1B 78 */ mr r30, r3
/* 80182170 0017F0D0 C3 85 00 4C */ lfs f28, 0x4c(r5)
/* 80182174 0017F0D4 7C 9F 23 78 */ mr r31, r4
/* 80182178 0017F0D8 C3 65 00 50 */ lfs f27, 0x50(r5)
/* 8018217C 0017F0DC 41 82 00 08 */ beq lbl_80182184
/* 80182180 0017F0E0 C3 62 A2 A8 */ lfs f27, lbl_805ABFC8@sda21(r2)
lbl_80182184:
/* 80182184 0017F0E4 7F C4 F3 78 */ mr r4, r30
/* 80182188 0017F0E8 7F E5 FB 78 */ mr r5, r31
/* 8018218C 0017F0EC 38 61 00 6C */ addi r3, r1, 0x6c
/* 80182190 0017F0F0 4B FF E1 7D */ bl GetActorRelativeVelocities__14CGameCollisionFPC13CPhysicsActorPC13CPhysicsActor
/* 80182194 0017F0F4 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80182198 0017F0F8 7F C3 F3 78 */ mr r3, r30
/* 8018219C 0017F0FC C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 801821A0 0017F100 EC 00 07 32 */ fmuls f0, f0, f28
/* 801821A4 0017F104 C0 41 00 74 */ lfs f2, 0x74(r1)
/* 801821A8 0017F108 C3 FE 00 E8 */ lfs f31, 0xe8(r30)
/* 801821AC 0017F10C C3 DF 00 E8 */ lfs f30, 0xe8(r31)
/* 801821B0 0017F110 EC 01 07 7A */ fmadds f0, f1, f29, f0
/* 801821B4 0017F114 EE E2 06 FA */ fmadds f23, f2, f27, f0
/* 801821B8 0017F118 4B F9 83 01 */ bl GetMaximumCollisionVelocity__13CPhysicsActorCFv
/* 801821BC 0017F11C D0 21 00 10 */ stfs f1, 0x10(r1)
/* 801821C0 0017F120 38 7E 01 38 */ addi r3, r30, 0x138
/* 801821C4 0017F124 48 19 26 F5 */ bl Magnitude__9CVector3fCFv
/* 801821C8 0017F128 FC 40 08 18 */ frsp f2, f1
/* 801821CC 0017F12C C0 01 00 10 */ lfs f0, 0x10(r1)
/* 801821D0 0017F130 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 801821D4 0017F134 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801821D8 0017F138 40 80 00 0C */ bge lbl_801821E4
/* 801821DC 0017F13C 38 61 00 10 */ addi r3, r1, 0x10
/* 801821E0 0017F140 48 00 00 08 */ b lbl_801821E8
lbl_801821E4:
/* 801821E4 0017F144 38 61 00 14 */ addi r3, r1, 0x14
lbl_801821E8:
/* 801821E8 0017F148 C3 43 00 00 */ lfs f26, 0(r3)
/* 801821EC 0017F14C 7F E3 FB 78 */ mr r3, r31
/* 801821F0 0017F150 4B F9 82 C9 */ bl GetMaximumCollisionVelocity__13CPhysicsActorCFv
/* 801821F4 0017F154 D0 21 00 08 */ stfs f1, 8(r1)
/* 801821F8 0017F158 38 7F 01 38 */ addi r3, r31, 0x138
/* 801821FC 0017F15C 48 19 26 BD */ bl Magnitude__9CVector3fCFv
/* 80182200 0017F160 FC 40 08 18 */ frsp f2, f1
/* 80182204 0017F164 C0 01 00 08 */ lfs f0, 8(r1)
/* 80182208 0017F168 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8018220C 0017F16C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80182210 0017F170 40 80 00 0C */ bge lbl_8018221C
/* 80182214 0017F174 38 C1 00 08 */ addi r6, r1, 8
/* 80182218 0017F178 48 00 00 08 */ b lbl_80182220
lbl_8018221C:
/* 8018221C 0017F17C 38 C1 00 0C */ addi r6, r1, 0xc
lbl_80182220:
/* 80182220 0017F180 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 80182224 0017F184 38 00 08 00 */ li r0, 0x800
/* 80182228 0017F188 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 8018222C 0017F18C 38 80 00 00 */ li r4, 0
/* 80182230 0017F190 7C 60 00 38 */ and r0, r3, r0
/* 80182234 0017F194 C3 26 00 00 */ lfs f25, 0(r6)
/* 80182238 0017F198 7C A3 20 38 */ and r3, r5, r4
/* 8018223C 0017F19C 38 C0 00 01 */ li r6, 1
/* 80182240 0017F1A0 7C 63 22 78 */ xor r3, r3, r4
/* 80182244 0017F1A4 7C 00 22 78 */ xor r0, r0, r4
/* 80182248 0017F1A8 7C 60 03 79 */ or. r0, r3, r0
/* 8018224C 0017F1AC 40 82 00 14 */ bne lbl_80182260
/* 80182250 0017F1B0 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80182254 0017F1B4 FC 00 F8 00 */ fcmpu cr0, f0, f31
/* 80182258 0017F1B8 41 82 00 08 */ beq lbl_80182260
/* 8018225C 0017F1BC 7C 86 23 78 */ mr r6, r4
lbl_80182260:
/* 80182260 0017F1C0 80 7F 00 68 */ lwz r3, 0x68(r31)
/* 80182264 0017F1C4 38 00 08 00 */ li r0, 0x800
/* 80182268 0017F1C8 80 BF 00 6C */ lwz r5, 0x6c(r31)
/* 8018226C 0017F1CC 38 80 00 00 */ li r4, 0
/* 80182270 0017F1D0 7C 60 00 38 */ and r0, r3, r0
/* 80182274 0017F1D4 3B A0 00 01 */ li r29, 1
/* 80182278 0017F1D8 7C A3 20 38 */ and r3, r5, r4
/* 8018227C 0017F1DC 7C 63 22 78 */ xor r3, r3, r4
/* 80182280 0017F1E0 7C 00 22 78 */ xor r0, r0, r4
/* 80182284 0017F1E4 7C 60 03 79 */ or. r0, r3, r0
/* 80182288 0017F1E8 40 82 00 14 */ bne lbl_8018229C
/* 8018228C 0017F1EC C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80182290 0017F1F0 FC 00 F0 00 */ fcmpu cr0, f0, f30
/* 80182294 0017F1F4 41 82 00 08 */ beq lbl_8018229C
/* 80182298 0017F1F8 7C 9D 23 78 */ mr r29, r4
lbl_8018229C:
/* 8018229C 0017F1FC C0 02 A2 D8 */ lfs f0, lbl_805ABFF8@sda21(r2)
/* 801822A0 0017F200 FC 17 00 40 */ fcmpo cr0, f23, f0
/* 801822A4 0017F204 40 80 01 4C */ bge lbl_801823F0
/* 801822A8 0017F208 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 801822AC 0017F20C 40 82 00 C4 */ bne lbl_80182370
/* 801822B0 0017F210 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 801822B4 0017F214 40 82 00 7C */ bne lbl_80182330
/* 801822B8 0017F218 FC 20 F8 90 */ fmr f1, f31
/* 801822BC 0017F21C FC 40 F0 90 */ fmr f2, f30
/* 801822C0 0017F220 FC 60 B8 90 */ fmr f3, f23
/* 801822C4 0017F224 FC 80 C0 90 */ fmr f4, f24
/* 801822C8 0017F228 48 00 06 61 */ bl CollisionImpulseFiniteVsFinite__Fffff
/* 801822CC 0017F22C FF 00 08 90 */ fmr f24, f1
/* 801822D0 0017F230 EC 58 07 72 */ fmuls f2, f24, f29
/* 801822D4 0017F234 EC 38 07 32 */ fmuls f1, f24, f28
/* 801822D8 0017F238 EC 18 06 F2 */ fmuls f0, f24, f27
/* 801822DC 0017F23C D0 41 00 60 */ stfs f2, 0x60(r1)
/* 801822E0 0017F240 D0 21 00 64 */ stfs f1, 0x64(r1)
/* 801822E4 0017F244 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 801822E8 0017F248 4B E9 92 4D */ bl Identity__10CAxisAngleFv
/* 801822EC 0017F24C 7C 65 1B 78 */ mr r5, r3
/* 801822F0 0017F250 7F C3 F3 78 */ mr r3, r30
/* 801822F4 0017F254 38 81 00 60 */ addi r4, r1, 0x60
/* 801822F8 0017F258 4B F9 A0 A1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 801822FC 0017F25C FC 00 C0 50 */ fneg f0, f24
/* 80182300 0017F260 EC 40 07 72 */ fmuls f2, f0, f29
/* 80182304 0017F264 EC 20 07 32 */ fmuls f1, f0, f28
/* 80182308 0017F268 EC 00 06 F2 */ fmuls f0, f0, f27
/* 8018230C 0017F26C D0 41 00 54 */ stfs f2, 0x54(r1)
/* 80182310 0017F270 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 80182314 0017F274 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 80182318 0017F278 4B E9 92 1D */ bl Identity__10CAxisAngleFv
/* 8018231C 0017F27C 7C 65 1B 78 */ mr r5, r3
/* 80182320 0017F280 7F E3 FB 78 */ mr r3, r31
/* 80182324 0017F284 38 81 00 54 */ addi r4, r1, 0x54
/* 80182328 0017F288 4B F9 A0 71 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 8018232C 0017F28C 48 00 00 B0 */ b lbl_801823DC
lbl_80182330:
/* 80182330 0017F290 FC 20 F8 90 */ fmr f1, f31
/* 80182334 0017F294 FC 40 B8 90 */ fmr f2, f23
/* 80182338 0017F298 FC 60 C0 90 */ fmr f3, f24
/* 8018233C 0017F29C 48 00 05 D5 */ bl CollisionImpulseFiniteVsInfinite__Ffff
/* 80182340 0017F2A0 EC 61 07 72 */ fmuls f3, f1, f29
/* 80182344 0017F2A4 EC 41 07 32 */ fmuls f2, f1, f28
/* 80182348 0017F2A8 EC 01 06 F2 */ fmuls f0, f1, f27
/* 8018234C 0017F2AC D0 61 00 90 */ stfs f3, 0x90(r1)
/* 80182350 0017F2B0 D0 41 00 94 */ stfs f2, 0x94(r1)
/* 80182354 0017F2B4 D0 01 00 98 */ stfs f0, 0x98(r1)
/* 80182358 0017F2B8 4B E9 91 DD */ bl Identity__10CAxisAngleFv
/* 8018235C 0017F2BC 7C 65 1B 78 */ mr r5, r3
/* 80182360 0017F2C0 7F C3 F3 78 */ mr r3, r30
/* 80182364 0017F2C4 38 81 00 90 */ addi r4, r1, 0x90
/* 80182368 0017F2C8 4B F9 A0 31 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 8018236C 0017F2CC 48 00 00 70 */ b lbl_801823DC
lbl_80182370:
/* 80182370 0017F2D0 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80182374 0017F2D4 40 82 00 48 */ bne lbl_801823BC
/* 80182378 0017F2D8 FC 20 F0 90 */ fmr f1, f30
/* 8018237C 0017F2DC FC 40 B8 90 */ fmr f2, f23
/* 80182380 0017F2E0 FC 60 C0 90 */ fmr f3, f24
/* 80182384 0017F2E4 48 00 05 8D */ bl CollisionImpulseFiniteVsInfinite__Ffff
/* 80182388 0017F2E8 FC 00 08 50 */ fneg f0, f1
/* 8018238C 0017F2EC EC 40 07 72 */ fmuls f2, f0, f29
/* 80182390 0017F2F0 EC 20 07 32 */ fmuls f1, f0, f28
/* 80182394 0017F2F4 EC 00 06 F2 */ fmuls f0, f0, f27
/* 80182398 0017F2F8 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8018239C 0017F2FC D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 801823A0 0017F300 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 801823A4 0017F304 4B E9 91 91 */ bl Identity__10CAxisAngleFv
/* 801823A8 0017F308 7C 65 1B 78 */ mr r5, r3
/* 801823AC 0017F30C 7F E3 FB 78 */ mr r3, r31
/* 801823B0 0017F310 38 81 00 48 */ addi r4, r1, 0x48
/* 801823B4 0017F314 4B F9 9F E5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 801823B8 0017F318 48 00 00 24 */ b lbl_801823DC
lbl_801823BC:
/* 801823BC 0017F31C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801823C0 0017F320 7F C3 F3 78 */ mr r3, r30
/* 801823C4 0017F324 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801823C8 0017F328 4B F9 88 D9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 801823CC 0017F32C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-13 08:02:06 +00:00
/* 801823D0 0017F330 7F E3 FB 78 */ mr r3, r31
/* 801823D4 0017F334 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-13 08:02:06 +00:00
/* 801823D8 0017F338 4B F9 88 C9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
lbl_801823DC:
/* 801823DC 0017F33C 7F C3 F3 78 */ mr r3, r30
/* 801823E0 0017F340 4B F9 8D 9D */ bl UseCollisionImpulses__13CPhysicsActorFv
/* 801823E4 0017F344 7F E3 FB 78 */ mr r3, r31
/* 801823E8 0017F348 4B F9 8D 95 */ bl UseCollisionImpulses__13CPhysicsActorFv
/* 801823EC 0017F34C 48 00 00 D0 */ b lbl_801824BC
lbl_801823F0:
/* 801823F0 0017F350 C0 02 A2 E0 */ lfs f0, lbl_805AC000@sda21(r2)
/* 801823F4 0017F354 FC 17 00 40 */ fcmpo cr0, f23, f0
/* 801823F8 0017F358 40 80 00 C4 */ bge lbl_801824BC
/* 801823FC 0017F35C 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80182400 0017F360 40 82 00 5C */ bne lbl_8018245C
/* 80182404 0017F364 38 60 00 00 */ li r3, 0
/* 80182408 0017F368 4B F3 20 F1 */ bl IsUser__Fi
/* 8018240C 0017F36C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80182410 0017F370 41 82 00 10 */ beq lbl_80182420
/* 80182414 0017F374 80 6D A4 60 */ lwz r3, lbl_805A9020@sda21(r13)
/* 80182418 0017F378 38 03 00 01 */ addi r0, r3, 1
/* 8018241C 0017F37C 90 0D A4 60 */ stw r0, lbl_805A9020@sda21(r13)
lbl_80182420:
/* 80182420 0017F380 C0 02 A2 DC */ lfs f0, lbl_805ABFFC@sda21(r2)
/* 80182424 0017F384 EC 00 07 F2 */ fmuls f0, f0, f31
/* 80182428 0017F388 EC 40 07 72 */ fmuls f2, f0, f29
/* 8018242C 0017F38C EC 20 07 32 */ fmuls f1, f0, f28
/* 80182430 0017F390 EC 00 06 F2 */ fmuls f0, f0, f27
/* 80182434 0017F394 D0 41 00 84 */ stfs f2, 0x84(r1)
/* 80182438 0017F398 D0 21 00 88 */ stfs f1, 0x88(r1)
/* 8018243C 0017F39C D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80182440 0017F3A0 4B E9 90 F5 */ bl Identity__10CAxisAngleFv
/* 80182444 0017F3A4 7C 65 1B 78 */ mr r5, r3
/* 80182448 0017F3A8 7F C3 F3 78 */ mr r3, r30
/* 8018244C 0017F3AC 38 81 00 84 */ addi r4, r1, 0x84
/* 80182450 0017F3B0 4B F9 9F 49 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 80182454 0017F3B4 7F C3 F3 78 */ mr r3, r30
/* 80182458 0017F3B8 4B F9 8D 25 */ bl UseCollisionImpulses__13CPhysicsActorFv
lbl_8018245C:
/* 8018245C 0017F3BC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80182460 0017F3C0 40 82 00 5C */ bne lbl_801824BC
/* 80182464 0017F3C4 38 60 00 00 */ li r3, 0
/* 80182468 0017F3C8 4B F3 20 91 */ bl IsUser__Fi
/* 8018246C 0017F3CC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80182470 0017F3D0 41 82 00 10 */ beq lbl_80182480
/* 80182474 0017F3D4 80 6D A4 60 */ lwz r3, lbl_805A9020@sda21(r13)
/* 80182478 0017F3D8 38 03 00 01 */ addi r0, r3, 1
/* 8018247C 0017F3DC 90 0D A4 60 */ stw r0, lbl_805A9020@sda21(r13)
lbl_80182480:
/* 80182480 0017F3E0 C0 02 A2 E4 */ lfs f0, lbl_805AC004@sda21(r2)
/* 80182484 0017F3E4 EC 00 07 B2 */ fmuls f0, f0, f30
/* 80182488 0017F3E8 EC 40 07 72 */ fmuls f2, f0, f29
/* 8018248C 0017F3EC EC 20 07 32 */ fmuls f1, f0, f28
/* 80182490 0017F3F0 EC 00 06 F2 */ fmuls f0, f0, f27
/* 80182494 0017F3F4 D0 41 00 78 */ stfs f2, 0x78(r1)
/* 80182498 0017F3F8 D0 21 00 7C */ stfs f1, 0x7c(r1)
/* 8018249C 0017F3FC D0 01 00 80 */ stfs f0, 0x80(r1)
/* 801824A0 0017F400 4B E9 90 95 */ bl Identity__10CAxisAngleFv
/* 801824A4 0017F404 7C 65 1B 78 */ mr r5, r3
/* 801824A8 0017F408 7F E3 FB 78 */ mr r3, r31
/* 801824AC 0017F40C 38 81 00 78 */ addi r4, r1, 0x78
/* 801824B0 0017F410 4B F9 9E E9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 801824B4 0017F414 7F E3 FB 78 */ mr r3, r31
/* 801824B8 0017F418 4B F9 8C C5 */ bl UseCollisionImpulses__13CPhysicsActorFv
lbl_801824BC:
/* 801824BC 0017F41C 38 7E 01 38 */ addi r3, r30, 0x138
/* 801824C0 0017F420 48 19 23 F9 */ bl Magnitude__9CVector3fCFv
/* 801824C4 0017F424 FC 01 D0 40 */ fcmpo cr0, f1, f26
/* 801824C8 0017F428 40 81 00 5C */ ble lbl_80182524
/* 801824CC 0017F42C C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 801824D0 0017F430 7F C3 F3 78 */ mr r3, r30
/* 801824D4 0017F434 C0 5E 01 3C */ lfs f2, 0x13c(r30)
/* 801824D8 0017F438 38 81 00 3C */ addi r4, r1, 0x3c
/* 801824DC 0017F43C EC 80 08 24 */ fdivs f4, f0, f1
/* 801824E0 0017F440 C0 3E 01 40 */ lfs f1, 0x140(r30)
/* 801824E4 0017F444 C0 1E 01 38 */ lfs f0, 0x138(r30)
/* 801824E8 0017F448 EC 64 00 B2 */ fmuls f3, f4, f2
/* 801824EC 0017F44C EC 44 00 72 */ fmuls f2, f4, f1
/* 801824F0 0017F450 EC 24 00 32 */ fmuls f1, f4, f0
/* 801824F4 0017F454 EC 9A 00 F2 */ fmuls f4, f26, f3
/* 801824F8 0017F458 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 801824FC 0017F45C EC 7A 00 B2 */ fmuls f3, f26, f2
/* 80182500 0017F460 EC 1A 00 72 */ fmuls f0, f26, f1
/* 80182504 0017F464 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80182508 0017F468 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 8018250C 0017F46C D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80182510 0017F470 D0 81 00 40 */ stfs f4, 0x40(r1)
/* 80182514 0017F474 D0 61 00 44 */ stfs f3, 0x44(r1)
/* 80182518 0017F478 4B F9 87 89 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 8018251C 0017F47C 38 60 00 00 */ li r3, 0
/* 80182520 0017F480 4B F3 1F D9 */ bl IsUser__Fi
lbl_80182524:
/* 80182524 0017F484 38 7F 01 38 */ addi r3, r31, 0x138
/* 80182528 0017F488 48 19 23 91 */ bl Magnitude__9CVector3fCFv
/* 8018252C 0017F48C FC 01 C8 40 */ fcmpo cr0, f1, f25
/* 80182530 0017F490 40 81 00 5C */ ble lbl_8018258C
/* 80182534 0017F494 C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 80182538 0017F498 7F E3 FB 78 */ mr r3, r31
/* 8018253C 0017F49C C0 5F 01 3C */ lfs f2, 0x13c(r31)
/* 80182540 0017F4A0 38 81 00 24 */ addi r4, r1, 0x24
/* 80182544 0017F4A4 EC 80 08 24 */ fdivs f4, f0, f1
/* 80182548 0017F4A8 C0 3F 01 40 */ lfs f1, 0x140(r31)
/* 8018254C 0017F4AC C0 1F 01 38 */ lfs f0, 0x138(r31)
/* 80182550 0017F4B0 EC 64 00 B2 */ fmuls f3, f4, f2
/* 80182554 0017F4B4 EC 44 00 72 */ fmuls f2, f4, f1
/* 80182558 0017F4B8 EC 24 00 32 */ fmuls f1, f4, f0
/* 8018255C 0017F4BC EC 99 00 F2 */ fmuls f4, f25, f3
/* 80182560 0017F4C0 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 80182564 0017F4C4 EC 79 00 B2 */ fmuls f3, f25, f2
/* 80182568 0017F4C8 EC 19 00 72 */ fmuls f0, f25, f1
/* 8018256C 0017F4CC D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80182570 0017F4D0 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80182574 0017F4D4 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80182578 0017F4D8 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 8018257C 0017F4DC D0 61 00 2C */ stfs f3, 0x2c(r1)
/* 80182580 0017F4E0 4B F9 87 21 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 80182584 0017F4E4 38 60 00 00 */ li r3, 0
/* 80182588 0017F4E8 4B F3 1F 71 */ bl IsUser__Fi
lbl_8018258C:
/* 8018258C 0017F4EC E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0
/* 80182590 0017F4F0 CB E1 01 30 */ lfd f31, 0x130(r1)
/* 80182594 0017F4F4 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0
/* 80182598 0017F4F8 CB C1 01 20 */ lfd f30, 0x120(r1)
/* 8018259C 0017F4FC E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0
/* 801825A0 0017F500 CB A1 01 10 */ lfd f29, 0x110(r1)
/* 801825A4 0017F504 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0
/* 801825A8 0017F508 CB 81 01 00 */ lfd f28, 0x100(r1)
/* 801825AC 0017F50C E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0
/* 801825B0 0017F510 CB 61 00 F0 */ lfd f27, 0xf0(r1)
/* 801825B4 0017F514 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0
/* 801825B8 0017F518 CB 41 00 E0 */ lfd f26, 0xe0(r1)
/* 801825BC 0017F51C E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0
/* 801825C0 0017F520 CB 21 00 D0 */ lfd f25, 0xd0(r1)
/* 801825C4 0017F524 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0
/* 801825C8 0017F528 CB 01 00 C0 */ lfd f24, 0xc0(r1)
/* 801825CC 0017F52C E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0
/* 801825D0 0017F530 CA E1 00 B0 */ lfd f23, 0xb0(r1)
/* 801825D4 0017F534 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 801825D8 0017F538 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 801825DC 0017F53C 80 01 01 44 */ lwz r0, 0x144(r1)
/* 801825E0 0017F540 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 801825E4 0017F544 7C 08 03 A6 */ mtlr r0
/* 801825E8 0017F548 38 21 01 40 */ addi r1, r1, 0x140
2022-07-14 05:48:03 +00:00
/* 801825EC 0017F54C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global ResolveCollisions__14CGameCollisionFR13CPhysicsActorP13CPhysicsActorRC18CCollisionInfoList
ResolveCollisions__14CGameCollisionFR13CPhysicsActorP13CPhysicsActorRC18CCollisionInfoList:
/* 801825F0 0017F550 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 801825F4 0017F554 7C 08 02 A6 */ mflr r0
/* 801825F8 0017F558 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 801825FC 0017F55C DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 80182600 0017F560 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 80182604 0017F564 BF 01 00 80 */ stmw r24, 0x80(r1)
/* 80182608 0017F568 7C BA 2B 78 */ mr r26, r5
/* 8018260C 0017F56C 7C 78 1B 78 */ mr r24, r3
/* 80182610 0017F570 7C 99 23 78 */ mr r25, r4
/* 80182614 0017F574 3B C1 00 60 */ addi r30, r1, 0x60
/* 80182618 0017F578 3B FA 00 04 */ addi r31, r26, 4
/* 8018261C 0017F57C 3B A1 00 58 */ addi r29, r1, 0x58
/* 80182620 0017F580 3B 81 00 50 */ addi r28, r1, 0x50
/* 80182624 0017F584 3B 60 00 00 */ li r27, 0
/* 80182628 0017F588 48 00 00 7C */ b lbl_801826A4
lbl_8018262C:
/* 8018262C 0017F58C 7F E4 FB 78 */ mr r4, r31
/* 80182630 0017F590 38 61 00 18 */ addi r3, r1, 0x18
/* 80182634 0017F594 4B F6 EE 6D */ bl __ct__14CCollisionInfoFRC14CCollisionInfo
/* 80182638 0017F598 7F 03 C3 78 */ mr r3, r24
/* 8018263C 0017F59C 4B F9 7E 9D */ bl GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv
/* 80182640 0017F5A0 FF E0 08 90 */ fmr f31, f1
/* 80182644 0017F5A4 38 61 00 18 */ addi r3, r1, 0x18
/* 80182648 0017F5A8 48 00 03 05 */ bl GetCoefficientOfRestitution__14CGameCollisionFRC14CCollisionInfo
/* 8018264C 0017F5AC 28 19 00 00 */ cmplwi r25, 0
/* 80182650 0017F5B0 EF E1 F8 2A */ fadds f31, f1, f31
/* 80182654 0017F5B4 41 82 00 20 */ beq lbl_80182674
/* 80182658 0017F5B8 FC 20 F8 90 */ fmr f1, f31
/* 8018265C 0017F5BC 7F 03 C3 78 */ mr r3, r24
/* 80182660 0017F5C0 7F 24 CB 78 */ mr r4, r25
/* 80182664 0017F5C4 38 A1 00 18 */ addi r5, r1, 0x18
/* 80182668 0017F5C8 38 C0 00 00 */ li r6, 0
/* 8018266C 0017F5CC 4B FF FA 95 */ bl CollideWithDynamicBodyNoRot__14CGameCollisionFR13CPhysicsActorR13CPhysicsActorRC14CCollisionInfofb
/* 80182670 0017F5D0 48 00 00 2C */ b lbl_8018269C
lbl_80182674:
/* 80182674 0017F5D4 7F C4 F3 78 */ mr r4, r30
/* 80182678 0017F5D8 38 61 00 08 */ addi r3, r1, 8
2022-04-16 07:50:32 +00:00
/* 8018267C 0017F5DC 48 19 17 55 */ bl __ct__13CUnitVector3fFRC9CVector3f
2022-04-13 08:02:06 +00:00
/* 80182680 0017F5E0 FC 20 F8 90 */ fmr f1, f31
/* 80182684 0017F5E4 7C 66 1B 78 */ mr r6, r3
/* 80182688 0017F5E8 7F 03 C3 78 */ mr r3, r24
/* 8018268C 0017F5EC 7F 84 E3 78 */ mr r4, r28
/* 80182690 0017F5F0 7F A5 EB 78 */ mr r5, r29
/* 80182694 0017F5F4 38 E0 00 00 */ li r7, 0
/* 80182698 0017F5F8 4B FF F8 D5 */ bl CollideWithStaticBodyNoRot__14CGameCollisionFR13CPhysicsActorRC13CMaterialListRC13CMaterialListRC13CUnitVector3ffb
lbl_8018269C:
/* 8018269C 0017F5FC 3B FF 00 60 */ addi r31, r31, 0x60
/* 801826A0 0017F600 3B 7B 00 01 */ addi r27, r27, 1
lbl_801826A4:
/* 801826A4 0017F604 80 1A 00 00 */ lwz r0, 0(r26)
/* 801826A8 0017F608 7C 1B 00 00 */ cmpw r27, r0
/* 801826AC 0017F60C 41 80 FF 80 */ blt lbl_8018262C
/* 801826B0 0017F610 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 801826B4 0017F614 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 801826B8 0017F618 BB 01 00 80 */ lmw r24, 0x80(r1)
/* 801826BC 0017F61C 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 801826C0 0017F620 7C 08 03 A6 */ mtlr r0
/* 801826C4 0017F624 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 801826C8 0017F628 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive:
/* 801826CC 0017F62C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801826D0 0017F630 7C 08 02 A6 */ mflr r0
/* 801826D4 0017F634 90 01 00 34 */ stw r0, 0x34(r1)
/* 801826D8 0017F638 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801826DC 0017F63C 7C 7F 1B 78 */ mr r31, r3
/* 801826E0 0017F640 81 83 00 00 */ lwz r12, 0(r3)
/* 801826E4 0017F644 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801826E8 0017F648 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801826EC 0017F64C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801826F0 0017F650 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 801826F4 0017F654 28 00 48 52 */ cmplwi r0, 0x4852
/* 801826F8 0017F658 40 82 00 14 */ bne lbl_8018270C
/* 801826FC 0017F65C C0 22 A2 E8 */ lfs f1, lbl_805AC008@sda21(r2)
/* 80182700 0017F660 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 80182704 0017F664 EC 21 00 32 */ fmuls f1, f1, f0
/* 80182708 0017F668 48 00 00 EC */ b lbl_801827F4
lbl_8018270C:
/* 8018270C 0017F66C 7F E3 FB 78 */ mr r3, r31
/* 80182710 0017F670 81 9F 00 00 */ lwz r12, 0(r31)
/* 80182714 0017F674 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80182718 0017F678 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018271C 0017F67C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80182720 0017F680 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 80182724 0017F684 28 00 42 58 */ cmplwi r0, 0x4258
/* 80182728 0017F688 40 82 00 6C */ bne lbl_80182794
/* 8018272C 0017F68C C0 7F 00 20 */ lfs f3, 0x20(r31)
/* 80182730 0017F690 38 61 00 14 */ addi r3, r1, 0x14
/* 80182734 0017F694 C0 5F 00 14 */ lfs f2, 0x14(r31)
/* 80182738 0017F698 C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8018273C 0017F69C C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 80182740 0017F6A0 EC 63 10 28 */ fsubs f3, f3, f2
/* 80182744 0017F6A4 C0 5F 00 24 */ lfs f2, 0x24(r31)
/* 80182748 0017F6A8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8018274C 0017F6AC C0 3F 00 18 */ lfs f1, 0x18(r31)
/* 80182750 0017F6B0 D0 61 00 14 */ stfs f3, 0x14(r1)
/* 80182754 0017F6B4 EC 22 08 28 */ fsubs f1, f2, f1
/* 80182758 0017F6B8 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 8018275C 0017F6BC D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80182760 0017F6C0 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80182764 0017F6C4 40 80 00 08 */ bge lbl_8018276C
/* 80182768 0017F6C8 48 00 00 08 */ b lbl_80182770
lbl_8018276C:
/* 8018276C 0017F6CC 38 61 00 10 */ addi r3, r1, 0x10
lbl_80182770:
/* 80182770 0017F6D0 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 80182774 0017F6D4 38 81 00 18 */ addi r4, r1, 0x18
/* 80182778 0017F6D8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8018277C 0017F6DC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80182780 0017F6E0 40 80 00 08 */ bge lbl_80182788
/* 80182784 0017F6E4 48 00 00 08 */ b lbl_8018278C
lbl_80182788:
/* 80182788 0017F6E8 7C 64 1B 78 */ mr r4, r3
lbl_8018278C:
/* 8018278C 0017F6EC C0 24 00 00 */ lfs f1, 0(r4)
/* 80182790 0017F6F0 48 00 00 64 */ b lbl_801827F4
lbl_80182794:
/* 80182794 0017F6F4 7F E3 FB 78 */ mr r3, r31
/* 80182798 0017F6F8 81 9F 00 00 */ lwz r12, 0(r31)
/* 8018279C 0017F6FC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801827A0 0017F700 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801827A4 0017F704 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801827A8 0017F708 3C 03 BE BE */ addis r0, r3, 0xbebe
/* 801827AC 0017F70C 28 00 53 48 */ cmplwi r0, 0x5348
/* 801827B0 0017F710 40 82 00 40 */ bne lbl_801827F0
/* 801827B4 0017F714 38 7F 00 38 */ addi r3, r31, 0x38
/* 801827B8 0017F718 4B FF FF 15 */ bl GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
/* 801827BC 0017F71C D0 21 00 08 */ stfs f1, 8(r1)
/* 801827C0 0017F720 38 7F 00 10 */ addi r3, r31, 0x10
/* 801827C4 0017F724 4B FF FF 09 */ bl GetMinExtentForCollisionPrimitive__14CGameCollisionFRC19CCollisionPrimitive
/* 801827C8 0017F728 FC 00 08 18 */ frsp f0, f1
/* 801827CC 0017F72C C0 41 00 08 */ lfs f2, 8(r1)
/* 801827D0 0017F730 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801827D4 0017F734 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801827D8 0017F738 40 80 00 0C */ bge lbl_801827E4
/* 801827DC 0017F73C 38 61 00 08 */ addi r3, r1, 8
/* 801827E0 0017F740 48 00 00 08 */ b lbl_801827E8
lbl_801827E4:
/* 801827E4 0017F744 38 61 00 0C */ addi r3, r1, 0xc
lbl_801827E8:
/* 801827E8 0017F748 C0 23 00 00 */ lfs f1, 0(r3)
/* 801827EC 0017F74C 48 00 00 08 */ b lbl_801827F4
lbl_801827F0:
/* 801827F0 0017F750 C0 22 A2 D4 */ lfs f1, lbl_805ABFF4@sda21(r2)
lbl_801827F4:
/* 801827F4 0017F754 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801827F8 0017F758 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801827FC 0017F75C 7C 08 03 A6 */ mtlr r0
/* 80182800 0017F760 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80182804 0017F764 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CanBlock__14CGameCollisionFRC13CMaterialListRC9CVector3f
CanBlock__14CGameCollisionFRC13CMaterialListRC9CVector3f:
/* 80182808 0017F768 80 C3 00 00 */ lwz r6, 0(r3)
/* 8018280C 0017F76C 38 00 00 02 */ li r0, 2
/* 80182810 0017F770 80 E3 00 04 */ lwz r7, 4(r3)
/* 80182814 0017F774 38 A0 00 00 */ li r5, 0
/* 80182818 0017F778 7C C0 00 38 */ and r0, r6, r0
/* 8018281C 0017F77C 7C E3 28 38 */ and r3, r7, r5
/* 80182820 0017F780 7C 63 2A 78 */ xor r3, r3, r5
/* 80182824 0017F784 7C 00 2A 78 */ xor r0, r0, r5
/* 80182828 0017F788 7C 60 03 79 */ or. r0, r3, r0
/* 8018282C 0017F78C 41 82 00 08 */ beq lbl_80182834
/* 80182830 0017F790 38 A0 00 01 */ li r5, 1
lbl_80182834:
/* 80182834 0017F794 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80182838 0017F798 41 82 00 2C */ beq lbl_80182864
/* 8018283C 0017F79C 38 A0 00 00 */ li r5, 0
/* 80182840 0017F7A0 3C 00 00 80 */ lis r0, 0x80
/* 80182844 0017F7A4 7C E3 28 38 */ and r3, r7, r5
/* 80182848 0017F7A8 7C C0 00 38 */ and r0, r6, r0
/* 8018284C 0017F7AC 7C 63 2A 78 */ xor r3, r3, r5
/* 80182850 0017F7B0 7C 00 2A 78 */ xor r0, r0, r5
/* 80182854 0017F7B4 7C 60 03 79 */ or. r0, r3, r0
/* 80182858 0017F7B8 40 82 00 0C */ bne lbl_80182864
/* 8018285C 0017F7BC 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80182860 0017F7C0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
lbl_80182864:
/* 80182864 0017F7C4 38 A0 00 00 */ li r5, 0
/* 80182868 0017F7C8 3C 00 04 00 */ lis r0, 0x400
/* 8018286C 0017F7CC 7C E3 28 38 */ and r3, r7, r5
/* 80182870 0017F7D0 7C C0 00 38 */ and r0, r6, r0
/* 80182874 0017F7D4 7C 63 2A 78 */ xor r3, r3, r5
/* 80182878 0017F7D8 7C 00 2A 78 */ xor r0, r0, r5
/* 8018287C 0017F7DC 7C 60 03 79 */ or. r0, r3, r0
/* 80182880 0017F7E0 41 82 00 0C */ beq lbl_8018288C
/* 80182884 0017F7E4 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80182888 0017F7E8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
lbl_8018288C:
/* 8018288C 0017F7EC 3C 60 80 00 */ lis r3, 0x8000
/* 80182890 0017F7F0 7C C0 28 38 */ and r0, r6, r5
/* 80182894 0017F7F4 7C E3 18 38 */ and r3, r7, r3
/* 80182898 0017F7F8 7C 63 2A 78 */ xor r3, r3, r5
/* 8018289C 0017F7FC 7C 00 2A 78 */ xor r0, r0, r5
/* 801828A0 0017F800 7C 60 03 79 */ or. r0, r3, r0
/* 801828A4 0017F804 41 82 00 0C */ beq lbl_801828B0
/* 801828A8 0017F808 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 801828AC 0017F80C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
lbl_801828B0:
/* 801828B0 0017F810 C0 24 00 08 */ lfs f1, 8(r4)
/* 801828B4 0017F814 C0 02 A2 EC */ lfs f0, lbl_805AC00C@sda21(r2)
/* 801828B8 0017F818 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801828BC 0017F81C 7C 00 00 26 */ mfcr r0
/* 801828C0 0017F820 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
2022-07-14 05:48:03 +00:00
/* 801828C4 0017F824 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f:
/* 801828C8 0017F828 80 03 00 00 */ lwz r0, 0(r3)
/* 801828CC 0017F82C 38 A0 00 00 */ li r5, 0
/* 801828D0 0017F830 80 C3 00 04 */ lwz r6, 4(r3)
/* 801828D4 0017F834 3C 60 80 00 */ lis r3, 0x8000
/* 801828D8 0017F838 7C 00 28 38 */ and r0, r0, r5
/* 801828DC 0017F83C 7C C3 18 38 */ and r3, r6, r3
/* 801828E0 0017F840 7C 63 2A 78 */ xor r3, r3, r5
/* 801828E4 0017F844 7C 00 2A 78 */ xor r0, r0, r5
/* 801828E8 0017F848 7C 60 03 79 */ or. r0, r3, r0
/* 801828EC 0017F84C 41 82 00 0C */ beq lbl_801828F8
/* 801828F0 0017F850 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 801828F4 0017F854 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
lbl_801828F8:
/* 801828F8 0017F858 C0 24 00 08 */ lfs f1, 8(r4)
/* 801828FC 0017F85C C0 02 A2 EC */ lfs f0, lbl_805AC00C@sda21(r2)
/* 80182900 0017F860 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80182904 0017F864 7C 00 00 26 */ mfcr r0
/* 80182908 0017F868 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
2022-07-14 05:48:03 +00:00
/* 8018290C 0017F86C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CollisionImpulseFiniteVsInfinite__Ffff
CollisionImpulseFiniteVsInfinite__Ffff:
/* 80182910 0017F870 C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 80182914 0017F874 EC 00 18 2A */ fadds f0, f0, f3
/* 80182918 0017F878 FC 00 00 50 */ fneg f0, f0
/* 8018291C 0017F87C EC 00 00 B2 */ fmuls f0, f0, f2
/* 80182920 0017F880 EC 21 00 32 */ fmuls f1, f1, f0
2022-07-14 05:48:03 +00:00
/* 80182924 0017F884 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global CollisionImpulseFiniteVsFinite__Fffff
CollisionImpulseFiniteVsFinite__Fffff:
/* 80182928 0017F888 C0 A2 A2 D4 */ lfs f5, lbl_805ABFF4@sda21(r2)
/* 8018292C 0017F88C EC 25 08 24 */ fdivs f1, f5, f1
/* 80182930 0017F890 EC 05 10 24 */ fdivs f0, f5, f2
/* 80182934 0017F894 EC 45 20 2A */ fadds f2, f5, f4
/* 80182938 0017F898 EC 01 00 2A */ fadds f0, f1, f0
/* 8018293C 0017F89C FC 20 10 50 */ fneg f1, f2
/* 80182940 0017F8A0 EC 21 00 F2 */ fmuls f1, f1, f3
/* 80182944 0017F8A4 EC 21 00 24 */ fdivs f1, f1, f0
2022-07-14 05:48:03 +00:00
/* 80182948 0017F8A8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global GetCoefficientOfRestitution__14CGameCollisionFRC14CCollisionInfo
GetCoefficientOfRestitution__14CGameCollisionFRC14CCollisionInfo:
/* 8018294C 0017F8AC C0 22 A2 A8 */ lfs f1, lbl_805ABFC8@sda21(r2)
2022-07-14 05:48:03 +00:00
/* 80182950 0017F8B0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global ShowCollisionResults__14CGameCollisionFR18CCollisionInfoListRC6CColor
ShowCollisionResults__14CGameCollisionFR18CCollisionInfoListRC6CColor:
2022-07-14 05:48:03 +00:00
/* 80182954 0017F8B4 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor
SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor:
/* 80182958 0017F8B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018295C 0017F8BC 7C 08 02 A6 */ mflr r0
/* 80182960 0017F8C0 38 C0 00 00 */ li r6, 0
/* 80182964 0017F8C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80182968 0017F8C8 80 E4 00 00 */ lwz r7, 0(r4)
/* 8018296C 0017F8CC 81 04 00 04 */ lwz r8, 4(r4)
/* 80182970 0017F8D0 38 80 00 10 */ li r4, 0x10
/* 80182974 0017F8D4 7C E0 30 38 */ and r0, r7, r6
/* 80182978 0017F8D8 7D 04 20 38 */ and r4, r8, r4
/* 8018297C 0017F8DC 7C 84 32 78 */ xor r4, r4, r6
/* 80182980 0017F8E0 7C 00 32 78 */ xor r0, r0, r6
/* 80182984 0017F8E4 7C 80 03 79 */ or. r0, r4, r0
/* 80182988 0017F8E8 41 82 00 08 */ beq lbl_80182990
/* 8018298C 0017F8EC 38 C0 00 01 */ li r6, 1
lbl_80182990:
/* 80182990 0017F8F0 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80182994 0017F8F4 41 82 00 0C */ beq lbl_801829A0
/* 80182998 0017F8F8 38 C0 00 1B */ li r6, 0x1b
/* 8018299C 0017F8FC 48 00 00 30 */ b lbl_801829CC
lbl_801829A0:
/* 801829A0 0017F900 38 00 10 00 */ li r0, 0x1000
/* 801829A4 0017F904 38 C0 00 00 */ li r6, 0
/* 801829A8 0017F908 7D 04 00 38 */ and r4, r8, r0
/* 801829AC 0017F90C 7C E0 30 38 */ and r0, r7, r6
/* 801829B0 0017F910 7C 84 32 78 */ xor r4, r4, r6
/* 801829B4 0017F914 7C 00 32 78 */ xor r0, r0, r6
/* 801829B8 0017F918 7C 80 03 79 */ or. r0, r4, r0
/* 801829BC 0017F91C 41 82 00 0C */ beq lbl_801829C8
/* 801829C0 0017F920 38 C0 00 1C */ li r6, 0x1c
/* 801829C4 0017F924 48 00 00 08 */ b lbl_801829CC
lbl_801829C8:
/* 801829C8 0017F928 38 C0 00 1D */ li r6, 0x1d
lbl_801829CC:
2022-04-24 01:54:45 +00:00
/* 801829CC 0017F92C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801829D0 0017F930 7C A4 2B 78 */ mr r4, r5
/* 801829D4 0017F934 38 A1 00 08 */ addi r5, r1, 8
/* 801829D8 0017F938 B0 01 00 08 */ sth r0, 8(r1)
2022-09-14 05:24:37 +00:00
/* 801829DC 0017F93C 4B EC 14 F5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 801829E0 0017F940 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801829E4 0017F944 7C 08 03 A6 */ mtlr r0
/* 801829E8 0017F948 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 801829EC 0017F94C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global SendScriptMessages__14CGameCollisionFR13CStateManagerR6CActorP6CActorRC18CCollisionInfoList
SendScriptMessages__14CGameCollisionFR13CStateManagerR6CActorP6CActorRC18CCollisionInfoList:
/* 801829F0 0017F950 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 801829F4 0017F954 7C 08 02 A6 */ mflr r0
/* 801829F8 0017F958 90 01 00 64 */ stw r0, 0x64(r1)
/* 801829FC 0017F95C BE C1 00 38 */ stmw r22, 0x38(r1)
/* 80182A00 0017F960 7C DA 33 78 */ mr r26, r6
/* 80182A04 0017F964 3B DA 00 04 */ addi r30, r26, 4
/* 80182A08 0017F968 7C 77 1B 78 */ mr r23, r3
/* 80182A0C 0017F96C 7C 98 23 78 */ mr r24, r4
/* 80182A10 0017F970 7C B9 2B 78 */ mr r25, r5
/* 80182A14 0017F974 3B A0 00 00 */ li r29, 0
/* 80182A18 0017F978 7F DF F3 78 */ mr r31, r30
/* 80182A1C 0017F97C 3B 80 00 00 */ li r28, 0
/* 80182A20 0017F980 3B 60 00 00 */ li r27, 0
/* 80182A24 0017F984 48 00 00 64 */ b lbl_80182A88
lbl_80182A28:
/* 80182A28 0017F988 3A DF 00 38 */ addi r22, r31, 0x38
/* 80182A2C 0017F98C 38 9F 00 48 */ addi r4, r31, 0x48
/* 80182A30 0017F990 7E C3 B3 78 */ mr r3, r22
/* 80182A34 0017F994 4B FF FE 95 */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80182A38 0017F998 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80182A3C 0017F99C 41 82 00 44 */ beq lbl_80182A80
/* 80182A40 0017F9A0 80 76 00 00 */ lwz r3, 0(r22)
/* 80182A44 0017F9A4 3C 00 00 02 */ lis r0, 2
/* 80182A48 0017F9A8 80 B6 00 04 */ lwz r5, 4(r22)
/* 80182A4C 0017F9AC 38 80 00 00 */ li r4, 0
/* 80182A50 0017F9B0 7C 60 00 38 */ and r0, r3, r0
/* 80182A54 0017F9B4 3B 80 00 01 */ li r28, 1
/* 80182A58 0017F9B8 7C A3 20 38 */ and r3, r5, r4
/* 80182A5C 0017F9BC 7C 63 22 78 */ xor r3, r3, r4
/* 80182A60 0017F9C0 7C 00 22 78 */ xor r0, r0, r4
/* 80182A64 0017F9C4 7C 60 03 79 */ or. r0, r3, r0
/* 80182A68 0017F9C8 41 82 00 08 */ beq lbl_80182A70
/* 80182A6C 0017F9CC 3B A0 00 01 */ li r29, 1
lbl_80182A70:
/* 80182A70 0017F9D0 7E E3 BB 78 */ mr r3, r23
/* 80182A74 0017F9D4 7F 05 C3 78 */ mr r5, r24
/* 80182A78 0017F9D8 38 9F 00 38 */ addi r4, r31, 0x38
/* 80182A7C 0017F9DC 4B FF FE DD */ bl SendMaterialMessage__14CGameCollisionFR13CStateManagerRC13CMaterialListR6CActor
lbl_80182A80:
/* 80182A80 0017F9E0 3B FF 00 60 */ addi r31, r31, 0x60
/* 80182A84 0017F9E4 3B 7B 00 01 */ addi r27, r27, 1
lbl_80182A88:
/* 80182A88 0017F9E8 80 1A 00 00 */ lwz r0, 0(r26)
/* 80182A8C 0017F9EC 7C 1B 00 00 */ cmpw r27, r0
/* 80182A90 0017F9F0 41 80 FF 98 */ blt lbl_80182A28
/* 80182A94 0017F9F4 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80182A98 0017F9F8 41 82 00 60 */ beq lbl_80182AF8
2022-04-24 01:54:45 +00:00
/* 80182A9C 0017F9FC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80182AA0 0017FA00 7E E3 BB 78 */ mr r3, r23
/* 80182AA4 0017FA04 7F 04 C3 78 */ mr r4, r24
/* 80182AA8 0017FA08 38 A1 00 18 */ addi r5, r1, 0x18
/* 80182AAC 0017FA0C B0 01 00 18 */ sth r0, 0x18(r1)
/* 80182AB0 0017FA10 38 C0 00 17 */ li r6, 0x17
2022-09-14 05:24:37 +00:00
/* 80182AB4 0017FA14 4B EC 14 1D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 80182AB8 0017FA18 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80182ABC 0017FA1C 41 82 00 E8 */ beq lbl_80182BA4
/* 80182AC0 0017FA20 7F 24 CB 78 */ mr r4, r25
/* 80182AC4 0017FA24 38 61 00 24 */ addi r3, r1, 0x24
/* 80182AC8 0017FA28 4B F2 63 4D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80182ACC 0017FA2C 80 83 00 04 */ lwz r4, 4(r3)
/* 80182AD0 0017FA30 28 04 00 00 */ cmplwi r4, 0
/* 80182AD4 0017FA34 41 82 00 D0 */ beq lbl_80182BA4
/* 80182AD8 0017FA38 A0 18 00 08 */ lhz r0, 8(r24)
/* 80182ADC 0017FA3C 7E E3 BB 78 */ mr r3, r23
/* 80182AE0 0017FA40 38 A1 00 14 */ addi r5, r1, 0x14
/* 80182AE4 0017FA44 38 C0 00 1F */ li r6, 0x1f
/* 80182AE8 0017FA48 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80182AEC 0017FA4C B0 01 00 14 */ sth r0, 0x14(r1)
2022-09-14 05:24:37 +00:00
/* 80182AF0 0017FA50 4B EC 13 E1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
/* 80182AF4 0017FA54 48 00 00 B0 */ b lbl_80182BA4
lbl_80182AF8:
/* 80182AF8 0017FA58 28 19 00 00 */ cmplwi r25, 0
/* 80182AFC 0017FA5C 41 82 00 A8 */ beq lbl_80182BA4
/* 80182B00 0017FA60 7F 04 C3 78 */ mr r4, r24
/* 80182B04 0017FA64 38 61 00 1C */ addi r3, r1, 0x1c
/* 80182B08 0017FA68 4B F2 63 0D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80182B0C 0017FA6C 83 63 00 04 */ lwz r27, 4(r3)
/* 80182B10 0017FA70 28 1B 00 00 */ cmplwi r27, 0
/* 80182B14 0017FA74 41 82 00 90 */ beq lbl_80182BA4
/* 80182B18 0017FA78 3B 80 00 00 */ li r28, 0
/* 80182B1C 0017FA7C 3B E0 00 00 */ li r31, 0
/* 80182B20 0017FA80 3F 00 00 02 */ lis r24, 2
/* 80182B24 0017FA84 48 00 00 4C */ b lbl_80182B70
lbl_80182B28:
/* 80182B28 0017FA88 3A DE 00 40 */ addi r22, r30, 0x40
/* 80182B2C 0017FA8C 38 9E 00 54 */ addi r4, r30, 0x54
/* 80182B30 0017FA90 7E C3 B3 78 */ mr r3, r22
/* 80182B34 0017FA94 4B FF FD 95 */ bl IsFloor__14CGameCollisionFRC13CMaterialListRC9CVector3f
/* 80182B38 0017FA98 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80182B3C 0017FA9C 41 82 00 2C */ beq lbl_80182B68
/* 80182B40 0017FAA0 80 16 00 00 */ lwz r0, 0(r22)
/* 80182B44 0017FAA4 80 76 00 04 */ lwz r3, 4(r22)
/* 80182B48 0017FAA8 7C 00 C0 38 */ and r0, r0, r24
/* 80182B4C 0017FAAC 7C 63 F8 38 */ and r3, r3, r31
/* 80182B50 0017FAB0 7C 63 FA 78 */ xor r3, r3, r31
/* 80182B54 0017FAB4 7C 00 FA 78 */ xor r0, r0, r31
/* 80182B58 0017FAB8 7C 60 03 79 */ or. r0, r3, r0
/* 80182B5C 0017FABC 41 82 00 0C */ beq lbl_80182B68
/* 80182B60 0017FAC0 3B A0 00 01 */ li r29, 1
/* 80182B64 0017FAC4 48 00 00 18 */ b lbl_80182B7C
lbl_80182B68:
/* 80182B68 0017FAC8 3B DE 00 60 */ addi r30, r30, 0x60
/* 80182B6C 0017FACC 3B 9C 00 01 */ addi r28, r28, 1
lbl_80182B70:
/* 80182B70 0017FAD0 80 1A 00 00 */ lwz r0, 0(r26)
/* 80182B74 0017FAD4 7C 1C 00 00 */ cmpw r28, r0
/* 80182B78 0017FAD8 41 80 FF B0 */ blt lbl_80182B28
lbl_80182B7C:
/* 80182B7C 0017FADC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80182B80 0017FAE0 41 82 00 24 */ beq lbl_80182BA4
/* 80182B84 0017FAE4 A0 19 00 08 */ lhz r0, 8(r25)
/* 80182B88 0017FAE8 7E E3 BB 78 */ mr r3, r23
/* 80182B8C 0017FAEC 7F 64 DB 78 */ mr r4, r27
/* 80182B90 0017FAF0 38 A1 00 0C */ addi r5, r1, 0xc
/* 80182B94 0017FAF4 B0 01 00 08 */ sth r0, 8(r1)
/* 80182B98 0017FAF8 38 C0 00 1F */ li r6, 0x1f
/* 80182B9C 0017FAFC B0 01 00 0C */ sth r0, 0xc(r1)
2022-09-14 05:24:37 +00:00
/* 80182BA0 0017FB00 4B EC 13 31 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
2022-04-13 08:02:06 +00:00
lbl_80182BA4:
/* 80182BA4 0017FB04 BA C1 00 38 */ lmw r22, 0x38(r1)
/* 80182BA8 0017FB08 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80182BAC 0017FB0C 7C 08 03 A6 */ mtlr r0
/* 80182BB0 0017FB10 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 80182BB4 0017FB14 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList
MakeCollisionCallbacks__14CGameCollisionFR13CStateManagerR13CPhysicsActorRC9TUniqueIdRC18CCollisionInfoList:
/* 80182BB8 0017FB18 94 21 F3 C0 */ stwu r1, -0xc40(r1)
/* 80182BBC 0017FB1C 7C 08 02 A6 */ mflr r0
/* 80182BC0 0017FB20 90 01 0C 44 */ stw r0, 0xc44(r1)
/* 80182BC4 0017FB24 BF 41 0C 28 */ stmw r26, 0xc28(r1)
/* 80182BC8 0017FB28 7C 9B 23 78 */ mr r27, r4
/* 80182BCC 0017FB2C 7C 7A 1B 78 */ mr r26, r3
/* 80182BD0 0017FB30 7C BD 2B 78 */ mr r29, r5
/* 80182BD4 0017FB34 7C DC 33 78 */ mr r28, r6
/* 80182BD8 0017FB38 7F 63 DB 78 */ mr r3, r27
/* 80182BDC 0017FB3C 7F A4 EB 78 */ mr r4, r29
/* 80182BE0 0017FB40 7F 46 D3 78 */ mr r6, r26
/* 80182BE4 0017FB44 7F 85 E3 78 */ mr r5, r28
/* 80182BE8 0017FB48 81 9B 00 00 */ lwz r12, 0(r27)
/* 80182BEC 0017FB4C 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 80182BF0 0017FB50 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80182BF4 0017FB54 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80182BF8 0017FB58 A0 7D 00 00 */ lhz r3, 0(r29)
2022-04-24 01:54:45 +00:00
/* 80182BFC 0017FB5C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80182C00 0017FB60 7C 03 00 40 */ cmplw r3, r0
/* 80182C04 0017FB64 41 82 00 DC */ beq lbl_80182CE0
/* 80182C08 0017FB68 B0 61 00 0C */ sth r3, 0xc(r1)
/* 80182C0C 0017FB6C 7F 43 D3 78 */ mr r3, r26
/* 80182C10 0017FB70 38 81 00 0C */ addi r4, r1, 0xc
/* 80182C14 0017FB74 4B EC 99 61 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80182C18 0017FB78 7C 64 1B 78 */ mr r4, r3
/* 80182C1C 0017FB7C 38 61 00 10 */ addi r3, r1, 0x10
/* 80182C20 0017FB80 4B F2 9A C5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80182C24 0017FB84 83 C3 00 04 */ lwz r30, 4(r3)
/* 80182C28 0017FB88 28 1E 00 00 */ cmplwi r30, 0
/* 80182C2C 0017FB8C 41 82 00 B4 */ beq lbl_80182CE0
/* 80182C30 0017FB90 7F 84 E3 78 */ mr r4, r28
/* 80182C34 0017FB94 38 61 00 18 */ addi r3, r1, 0x18
/* 80182C38 0017FB98 48 00 00 BD */ bl __ct__18CCollisionInfoListFRC18CCollisionInfoList
/* 80182C3C 0017FB9C 3B A1 00 1C */ addi r29, r1, 0x1c
/* 80182C40 0017FBA0 3B E0 00 00 */ li r31, 0
/* 80182C44 0017FBA4 48 00 00 14 */ b lbl_80182C58
lbl_80182C48:
/* 80182C48 0017FBA8 7F A3 EB 78 */ mr r3, r29
/* 80182C4C 0017FBAC 48 14 B4 6D */ bl Swap__14CCollisionInfoFv
/* 80182C50 0017FBB0 3B BD 00 60 */ addi r29, r29, 0x60
/* 80182C54 0017FBB4 3B FF 00 01 */ addi r31, r31, 1
lbl_80182C58:
/* 80182C58 0017FBB8 80 01 00 18 */ lwz r0, 0x18(r1)
/* 80182C5C 0017FBBC 7C 1F 00 00 */ cmpw r31, r0
/* 80182C60 0017FBC0 41 80 FF E8 */ blt lbl_80182C48
/* 80182C64 0017FBC4 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80182C68 0017FBC8 7F C3 F3 78 */ mr r3, r30
/* 80182C6C 0017FBCC 7F 85 E3 78 */ mr r5, r28
/* 80182C70 0017FBD0 7F 46 D3 78 */ mr r6, r26
/* 80182C74 0017FBD4 B0 01 00 08 */ sth r0, 8(r1)
/* 80182C78 0017FBD8 38 81 00 08 */ addi r4, r1, 8
/* 80182C7C 0017FBDC 81 9E 00 00 */ lwz r12, 0(r30)
/* 80182C80 0017FBE0 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 80182C84 0017FBE4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80182C88 0017FBE8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80182C8C 0017FBEC 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 80182C90 0017FBF0 38 60 00 00 */ li r3, 0
/* 80182C94 0017FBF4 2C 05 00 00 */ cmpwi r5, 0
/* 80182C98 0017FBF8 40 81 00 40 */ ble lbl_80182CD8
/* 80182C9C 0017FBFC 2C 05 00 08 */ cmpwi r5, 8
/* 80182CA0 0017FC00 38 85 FF F8 */ addi r4, r5, -8
/* 80182CA4 0017FC04 40 81 00 20 */ ble lbl_80182CC4
/* 80182CA8 0017FC08 38 04 00 07 */ addi r0, r4, 7
/* 80182CAC 0017FC0C 54 00 E8 FE */ srwi r0, r0, 3
/* 80182CB0 0017FC10 7C 09 03 A6 */ mtctr r0
/* 80182CB4 0017FC14 2C 04 00 00 */ cmpwi r4, 0
/* 80182CB8 0017FC18 40 81 00 0C */ ble lbl_80182CC4
lbl_80182CBC:
/* 80182CBC 0017FC1C 38 63 00 08 */ addi r3, r3, 8
/* 80182CC0 0017FC20 42 00 FF FC */ bdnz lbl_80182CBC
lbl_80182CC4:
/* 80182CC4 0017FC24 7C 03 28 50 */ subf r0, r3, r5
/* 80182CC8 0017FC28 7C 09 03 A6 */ mtctr r0
/* 80182CCC 0017FC2C 7C 03 28 00 */ cmpw r3, r5
/* 80182CD0 0017FC30 40 80 00 08 */ bge lbl_80182CD8
lbl_80182CD4:
/* 80182CD4 0017FC34 42 00 00 00 */ bdnz lbl_80182CD4
lbl_80182CD8:
/* 80182CD8 0017FC38 38 00 00 00 */ li r0, 0
/* 80182CDC 0017FC3C 90 01 00 18 */ stw r0, 0x18(r1)
lbl_80182CE0:
/* 80182CE0 0017FC40 BB 41 0C 28 */ lmw r26, 0xc28(r1)
/* 80182CE4 0017FC44 80 01 0C 44 */ lwz r0, 0xc44(r1)
/* 80182CE8 0017FC48 7C 08 03 A6 */ mtlr r0
/* 80182CEC 0017FC4C 38 21 0C 40 */ addi r1, r1, 0xc40
2022-07-14 05:48:03 +00:00
/* 80182CF0 0017FC50 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global __ct__18CCollisionInfoListFRC18CCollisionInfoList
__ct__18CCollisionInfoListFRC18CCollisionInfoList:
/* 80182CF4 0017FC54 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80182CF8 0017FC58 7C 08 02 A6 */ mflr r0
/* 80182CFC 0017FC5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80182D00 0017FC60 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80182D04 0017FC64 7C 7F 1B 78 */ mr r31, r3
/* 80182D08 0017FC68 48 00 00 1D */ bl sub_80182d24
/* 80182D0C 0017FC6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80182D10 0017FC70 7F E3 FB 78 */ mr r3, r31
/* 80182D14 0017FC74 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80182D18 0017FC78 7C 08 03 A6 */ mtlr r0
/* 80182D1C 0017FC7C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80182D20 0017FC80 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80182d24
sub_80182d24:
/* 80182D24 0017FC84 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80182D28 0017FC88 7C 08 02 A6 */ mflr r0
/* 80182D2C 0017FC8C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80182D30 0017FC90 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80182D34 0017FC94 7C 7F 1B 78 */ mr r31, r3
/* 80182D38 0017FC98 38 64 00 04 */ addi r3, r4, 4
/* 80182D3C 0017FC9C 80 04 00 00 */ lwz r0, 0(r4)
/* 80182D40 0017FCA0 38 BF 00 04 */ addi r5, r31, 4
/* 80182D44 0017FCA4 90 1F 00 00 */ stw r0, 0(r31)
/* 80182D48 0017FCA8 80 9F 00 00 */ lwz r4, 0(r31)
/* 80182D4C 0017FCAC 48 00 00 1D */ bl sub_80182d68
/* 80182D50 0017FCB0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80182D54 0017FCB4 7F E3 FB 78 */ mr r3, r31
/* 80182D58 0017FCB8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80182D5C 0017FCBC 7C 08 03 A6 */ mtlr r0
/* 80182D60 0017FCC0 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80182D64 0017FCC4 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80182d68
sub_80182d68:
/* 80182D68 0017FCC8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80182D6C 0017FCCC 7C 08 02 A6 */ mflr r0
/* 80182D70 0017FCD0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80182D74 0017FCD4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80182D78 0017FCD8 7C 7F 1B 78 */ mr r31, r3
/* 80182D7C 0017FCDC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80182D80 0017FCE0 7C BE 2B 78 */ mr r30, r5
/* 80182D84 0017FCE4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80182D88 0017FCE8 3B A0 00 00 */ li r29, 0
/* 80182D8C 0017FCEC 93 81 00 10 */ stw r28, 0x10(r1)
/* 80182D90 0017FCF0 7C 9C 23 78 */ mr r28, r4
/* 80182D94 0017FCF4 48 00 00 1C */ b lbl_80182DB0
lbl_80182D98:
/* 80182D98 0017FCF8 7F C3 F3 78 */ mr r3, r30
/* 80182D9C 0017FCFC 7F E4 FB 78 */ mr r4, r31
/* 80182DA0 0017FD00 48 00 00 3D */ bl sub_80182ddc
/* 80182DA4 0017FD04 3B DE 00 60 */ addi r30, r30, 0x60
/* 80182DA8 0017FD08 3B BD 00 01 */ addi r29, r29, 1
/* 80182DAC 0017FD0C 3B FF 00 60 */ addi r31, r31, 0x60
lbl_80182DB0:
/* 80182DB0 0017FD10 7C 1D E0 00 */ cmpw r29, r28
/* 80182DB4 0017FD14 41 80 FF E4 */ blt lbl_80182D98
/* 80182DB8 0017FD18 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80182DBC 0017FD1C 7F C3 F3 78 */ mr r3, r30
/* 80182DC0 0017FD20 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80182DC4 0017FD24 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80182DC8 0017FD28 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80182DCC 0017FD2C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80182DD0 0017FD30 7C 08 03 A6 */ mtlr r0
/* 80182DD4 0017FD34 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80182DD8 0017FD38 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_80182ddc
sub_80182ddc:
/* 80182DDC 0017FD3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80182DE0 0017FD40 7C 08 02 A6 */ mflr r0
/* 80182DE4 0017FD44 28 03 00 00 */ cmplwi r3, 0
/* 80182DE8 0017FD48 90 01 00 14 */ stw r0, 0x14(r1)
/* 80182DEC 0017FD4C 41 82 00 08 */ beq lbl_80182DF4
/* 80182DF0 0017FD50 4B F6 E6 B1 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo
lbl_80182DF4:
/* 80182DF4 0017FD54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80182DF8 0017FD58 7C 08 03 A6 */ mtlr r0
/* 80182DFC 0017FD5C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80182E00 0017FD60 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global DetectStaticCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter9CVector3fR14CCollisionInfoRd
DetectStaticCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter9CVector3fR14CCollisionInfoRd:
/* 80182E04 0017FD64 94 21 FD F0 */ stwu r1, -0x210(r1)
/* 80182E08 0017FD68 7C 08 02 A6 */ mflr r0
/* 80182E0C 0017FD6C 90 01 02 14 */ stw r0, 0x214(r1)
/* 80182E10 0017FD70 DB E1 02 00 */ stfd f31, 0x200(r1)
/* 80182E14 0017FD74 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0
/* 80182E18 0017FD78 DB C1 01 F0 */ stfd f30, 0x1f0(r1)
/* 80182E1C 0017FD7C F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0
/* 80182E20 0017FD80 DB A1 01 E0 */ stfd f29, 0x1e0(r1)
/* 80182E24 0017FD84 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0
/* 80182E28 0017FD88 BE E1 01 BC */ stmw r23, 0x1bc(r1)
/* 80182E2C 0017FD8C 7C BD 2B 78 */ mr r29, r5
/* 80182E30 0017FD90 7C 7E 1B 78 */ mr r30, r3
/* 80182E34 0017FD94 7F A3 EB 78 */ mr r3, r29
/* 80182E38 0017FD98 7C 97 23 78 */ mr r23, r4
/* 80182E3C 0017FD9C 81 9D 00 00 */ lwz r12, 0(r29)
/* 80182E40 0017FDA0 7C D8 33 78 */ mr r24, r6
/* 80182E44 0017FDA4 7C F9 3B 78 */ mr r25, r7
/* 80182E48 0017FDA8 7D 1A 43 78 */ mr r26, r8
/* 80182E4C 0017FDAC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80182E50 0017FDB0 7D 3B 4B 78 */ mr r27, r9
/* 80182E54 0017FDB4 7D 5C 53 78 */ mr r28, r10
/* 80182E58 0017FDB8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80182E5C 0017FDBC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80182E60 0017FDC0 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 80182E64 0017FDC4 28 00 54 47 */ cmplwi r0, 0x5447
/* 80182E68 0017FDC8 40 82 00 0C */ bne lbl_80182E74
/* 80182E6C 0017FDCC 38 60 00 00 */ li r3, 0
/* 80182E70 0017FDD0 48 00 05 04 */ b lbl_80183374
lbl_80182E74:
/* 80182E74 0017FDD4 C8 7C 00 00 */ lfd f3, 0(r28)
/* 80182E78 0017FDD8 7F A4 EB 78 */ mr r4, r29
/* 80182E7C 0017FDDC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80182E80 0017FDE0 7F 05 C3 78 */ mr r5, r24
/* 80182E84 0017FDE4 FC 60 18 18 */ frsp f3, f3
/* 80182E88 0017FDE8 C0 5A 00 00 */ lfs f2, 0(r26)
/* 80182E8C 0017FDEC C0 3A 00 04 */ lfs f1, 4(r26)
/* 80182E90 0017FDF0 38 61 00 8C */ addi r3, r1, 0x8c
/* 80182E94 0017FDF4 C0 1A 00 08 */ lfs f0, 8(r26)
/* 80182E98 0017FDF8 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80182E9C 0017FDFC EF E3 00 B2 */ fmuls f31, f3, f2
/* 80182EA0 0017FE00 EF A3 00 72 */ fmuls f29, f3, f1
/* 80182EA4 0017FE04 EF C3 00 32 */ fmuls f30, f3, f0
/* 80182EA8 0017FE08 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80182EAC 0017FE0C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80182EB0 0017FE10 C1 01 00 8C */ lfs f8, 0x8c(r1)
/* 80182EB4 0017FE14 38 61 00 BC */ addi r3, r1, 0xbc
/* 80182EB8 0017FE18 C0 E1 00 90 */ lfs f7, 0x90(r1)
/* 80182EBC 0017FE1C 38 81 00 80 */ addi r4, r1, 0x80
/* 80182EC0 0017FE20 C0 C1 00 94 */ lfs f6, 0x94(r1)
/* 80182EC4 0017FE24 EC 48 F8 2A */ fadds f2, f8, f31
/* 80182EC8 0017FE28 C0 A1 00 98 */ lfs f5, 0x98(r1)
/* 80182ECC 0017FE2C EC 27 E8 2A */ fadds f1, f7, f29
/* 80182ED0 0017FE30 C0 81 00 9C */ lfs f4, 0x9c(r1)
/* 80182ED4 0017FE34 EC 06 F0 2A */ fadds f0, f6, f30
/* 80182ED8 0017FE38 C0 61 00 A0 */ lfs f3, 0xa0(r1)
/* 80182EDC 0017FE3C D1 01 00 D4 */ stfs f8, 0xd4(r1)
/* 80182EE0 0017FE40 D0 E1 00 D8 */ stfs f7, 0xd8(r1)
/* 80182EE4 0017FE44 D0 C1 00 DC */ stfs f6, 0xdc(r1)
/* 80182EE8 0017FE48 D0 A1 00 E0 */ stfs f5, 0xe0(r1)
/* 80182EEC 0017FE4C D0 81 00 E4 */ stfs f4, 0xe4(r1)
/* 80182EF0 0017FE50 D0 61 00 E8 */ stfs f3, 0xe8(r1)
/* 80182EF4 0017FE54 D1 01 00 BC */ stfs f8, 0xbc(r1)
/* 80182EF8 0017FE58 D0 E1 00 C0 */ stfs f7, 0xc0(r1)
/* 80182EFC 0017FE5C D0 C1 00 C4 */ stfs f6, 0xc4(r1)
/* 80182F00 0017FE60 D0 A1 00 C8 */ stfs f5, 0xc8(r1)
/* 80182F04 0017FE64 D0 81 00 CC */ stfs f4, 0xcc(r1)
/* 80182F08 0017FE68 D0 61 00 D0 */ stfs f3, 0xd0(r1)
/* 80182F0C 0017FE6C D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80182F10 0017FE70 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 80182F14 0017FE74 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80182F18 0017FE78 48 1B 4B F1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80182F1C 0017FE7C C0 41 00 E4 */ lfs f2, 0xe4(r1)
/* 80182F20 0017FE80 38 61 00 BC */ addi r3, r1, 0xbc
/* 80182F24 0017FE84 C0 21 00 E8 */ lfs f1, 0xe8(r1)
/* 80182F28 0017FE88 38 81 00 74 */ addi r4, r1, 0x74
/* 80182F2C 0017FE8C C0 01 00 E0 */ lfs f0, 0xe0(r1)
/* 80182F30 0017FE90 EC 42 E8 2A */ fadds f2, f2, f29
/* 80182F34 0017FE94 EC 21 F0 2A */ fadds f1, f1, f30
/* 80182F38 0017FE98 EC 00 F8 2A */ fadds f0, f0, f31
/* 80182F3C 0017FE9C D0 41 00 78 */ stfs f2, 0x78(r1)
/* 80182F40 0017FEA0 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80182F44 0017FEA4 D0 21 00 7C */ stfs f1, 0x7c(r1)
/* 80182F48 0017FEA8 48 1B 4B C1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80182F4C 0017FEAC 7E E4 BB 78 */ mr r4, r23
/* 80182F50 0017FEB0 38 61 00 BC */ addi r3, r1, 0xbc
/* 80182F54 0017FEB4 48 1B 4B 2D */ bl Inside__6CAABoxCFRC6CAABox
/* 80182F58 0017FEB8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80182F5C 0017FEBC 40 82 00 98 */ bne lbl_80182FF4
/* 80182F60 0017FEC0 C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 80182F64 0017FEC4 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80182F68 0017FEC8 C0 82 A2 F0 */ lfs f4, lbl_805AC010@sda21(r2)
/* 80182F6C 0017FECC 38 81 00 68 */ addi r4, r1, 0x68
/* 80182F70 0017FED0 C0 21 00 D0 */ lfs f1, 0xd0(r1)
/* 80182F74 0017FED4 38 A1 00 5C */ addi r5, r1, 0x5c
/* 80182F78 0017FED8 C0 01 00 C8 */ lfs f0, 0xc8(r1)
/* 80182F7C 0017FEDC EC C2 20 2A */ fadds f6, f2, f4
/* 80182F80 0017FEE0 C0 41 00 C0 */ lfs f2, 0xc0(r1)
/* 80182F84 0017FEE4 EC A1 20 2A */ fadds f5, f1, f4
/* 80182F88 0017FEE8 C0 21 00 C4 */ lfs f1, 0xc4(r1)
/* 80182F8C 0017FEEC EC 60 20 2A */ fadds f3, f0, f4
/* 80182F90 0017FEF0 C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 80182F94 0017FEF4 EC 42 20 28 */ fsubs f2, f2, f4
/* 80182F98 0017FEF8 D0 C1 00 60 */ stfs f6, 0x60(r1)
/* 80182F9C 0017FEFC EC 21 20 28 */ fsubs f1, f1, f4
/* 80182FA0 0017FF00 EC 00 20 28 */ fsubs f0, f0, f4
/* 80182FA4 0017FF04 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 80182FA8 0017FF08 D0 A1 00 64 */ stfs f5, 0x64(r1)
/* 80182FAC 0017FF0C D0 01 00 68 */ stfs f0, 0x68(r1)
/* 80182FB0 0017FF10 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 80182FB4 0017FF14 D0 21 00 70 */ stfs f1, 0x70(r1)
/* 80182FB8 0017FF18 48 1B 55 51 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80182FBC 0017FF1C 7E E4 BB 78 */ mr r4, r23
/* 80182FC0 0017FF20 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80182FC4 0017FF24 48 1B 4B 45 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80182FC8 0017FF28 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80182FCC 0017FF2C 38 97 00 0C */ addi r4, r23, 0xc
/* 80182FD0 0017FF30 48 1B 4B 39 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80182FD4 0017FF34 7E E3 BB 78 */ mr r3, r23
/* 80182FD8 0017FF38 38 81 00 A4 */ addi r4, r1, 0xa4
/* 80182FDC 0017FF3C 48 12 09 09 */ bl SetCacheBounds__19CAreaCollisionCacheFRC6CAABox
/* 80182FE0 0017FF40 7F C3 F3 78 */ mr r3, r30
/* 80182FE4 0017FF44 7E E4 BB 78 */ mr r4, r23
/* 80182FE8 0017FF48 48 00 16 DD */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 80182FEC 0017FF4C 38 60 00 00 */ li r3, 0
/* 80182FF0 0017FF50 4B F3 15 09 */ bl IsUser__Fi
lbl_80182FF4:
/* 80182FF4 0017FF54 7F A3 EB 78 */ mr r3, r29
/* 80182FF8 0017FF58 81 9D 00 00 */ lwz r12, 0(r29)
/* 80182FFC 0017FF5C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183000 0017FF60 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183004 0017FF64 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183008 0017FF68 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 8018300C 0017FF6C 28 00 42 58 */ cmplwi r0, 0x4258
/* 80183010 0017FF70 40 82 01 88 */ bne lbl_80183198
/* 80183014 0017FF74 3B F7 00 1C */ addi r31, r23, 0x1c
/* 80183018 0017FF78 3B C0 00 00 */ li r30, 0
/* 8018301C 0017FF7C 48 00 01 6C */ b lbl_80183188
lbl_80183020:
/* 80183020 0017FF80 38 61 01 50 */ addi r3, r1, 0x150
/* 80183024 0017FF84 38 80 00 00 */ li r4, 0
/* 80183028 0017FF88 48 14 B1 61 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 8018302C 0017FF8C C8 1C 00 00 */ lfd f0, 0(r28)
/* 80183030 0017FF90 38 00 00 00 */ li r0, 0
/* 80183034 0017FF94 81 1A 00 00 */ lwz r8, 0(r26)
/* 80183038 0017FF98 38 60 00 00 */ li r3, 0
/* 8018303C 0017FF9C D8 01 00 20 */ stfd f0, 0x20(r1)
/* 80183040 0017FFA0 38 80 00 01 */ li r4, 1
/* 80183044 0017FFA4 80 FA 00 04 */ lwz r7, 4(r26)
/* 80183048 0017FFA8 CB BC 00 00 */ lfd f29, 0(r28)
/* 8018304C 0017FFAC 80 DA 00 08 */ lwz r6, 8(r26)
/* 80183050 0017FFB0 FF A0 E8 18 */ frsp f29, f29
/* 80183054 0017FFB4 80 AD 8E 80 */ lwz r5, lbl_805A7A40@sda21(r13)
/* 80183058 0017FFB8 91 01 00 50 */ stw r8, 0x50(r1)
/* 8018305C 0017FFBC 90 E1 00 54 */ stw r7, 0x54(r1)
/* 80183060 0017FFC0 90 C1 00 58 */ stw r6, 0x58(r1)
/* 80183064 0017FFC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80183068 0017FFC8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8018306C 0017FFCC 48 20 6E 89 */ bl __shl2i
/* 80183070 0017FFD0 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80183074 0017FFD4 FC 20 E8 90 */ fmr f1, f29
/* 80183078 0017FFD8 80 C1 00 14 */ lwz r6, 0x14(r1)
/* 8018307C 0017FFDC 7F 25 CB 78 */ mr r5, r25
/* 80183080 0017FFE0 7C 00 1B 78 */ or r0, r0, r3
/* 80183084 0017FFE4 7F E3 FB 78 */ mr r3, r31
/* 80183088 0017FFE8 7C C4 23 78 */ or r4, r6, r4
/* 8018308C 0017FFEC 90 81 00 14 */ stw r4, 0x14(r1)
/* 80183090 0017FFF0 38 81 00 D4 */ addi r4, r1, 0xd4
/* 80183094 0017FFF4 38 C1 00 10 */ addi r6, r1, 0x10
/* 80183098 0017FFF8 38 E1 00 50 */ addi r7, r1, 0x50
/* 8018309C 0017FFFC 90 01 00 10 */ stw r0, 0x10(r1)
/* 801830A0 00180000 39 01 01 50 */ addi r8, r1, 0x150
/* 801830A4 00180004 39 21 00 20 */ addi r9, r1, 0x20
/* 801830A8 00180008 48 12 11 75 */ bl MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd
/* 801830AC 0018000C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801830B0 00180010 41 82 00 D0 */ beq lbl_80183180
/* 801830B4 00180014 C8 21 00 20 */ lfd f1, 0x20(r1)
/* 801830B8 00180018 C8 1C 00 00 */ lfd f0, 0(r28)
/* 801830BC 0018001C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801830C0 00180020 40 80 00 C0 */ bge lbl_80183180
/* 801830C4 00180024 80 61 01 50 */ lwz r3, 0x150(r1)
/* 801830C8 00180028 80 01 01 54 */ lwz r0, 0x154(r1)
/* 801830CC 0018002C 90 7B 00 00 */ stw r3, 0(r27)
/* 801830D0 00180030 90 1B 00 04 */ stw r0, 4(r27)
/* 801830D4 00180034 80 01 01 58 */ lwz r0, 0x158(r1)
/* 801830D8 00180038 90 1B 00 08 */ stw r0, 8(r27)
/* 801830DC 0018003C 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 801830E0 00180040 80 01 01 60 */ lwz r0, 0x160(r1)
/* 801830E4 00180044 90 7B 00 0C */ stw r3, 0xc(r27)
/* 801830E8 00180048 90 1B 00 10 */ stw r0, 0x10(r27)
/* 801830EC 0018004C 80 01 01 64 */ lwz r0, 0x164(r1)
/* 801830F0 00180050 90 1B 00 14 */ stw r0, 0x14(r27)
/* 801830F4 00180054 80 61 01 68 */ lwz r3, 0x168(r1)
/* 801830F8 00180058 80 01 01 6C */ lwz r0, 0x16c(r1)
/* 801830FC 0018005C 90 7B 00 18 */ stw r3, 0x18(r27)
/* 80183100 00180060 90 1B 00 1C */ stw r0, 0x1c(r27)
/* 80183104 00180064 80 01 01 70 */ lwz r0, 0x170(r1)
/* 80183108 00180068 90 1B 00 20 */ stw r0, 0x20(r27)
/* 8018310C 0018006C 80 61 01 74 */ lwz r3, 0x174(r1)
/* 80183110 00180070 80 01 01 78 */ lwz r0, 0x178(r1)
/* 80183114 00180074 90 7B 00 24 */ stw r3, 0x24(r27)
/* 80183118 00180078 90 1B 00 28 */ stw r0, 0x28(r27)
/* 8018311C 0018007C 80 01 01 7C */ lwz r0, 0x17c(r1)
/* 80183120 00180080 90 1B 00 2C */ stw r0, 0x2c(r27)
/* 80183124 00180084 88 01 01 80 */ lbz r0, 0x180(r1)
/* 80183128 00180088 98 1B 00 30 */ stb r0, 0x30(r27)
/* 8018312C 0018008C 88 01 01 81 */ lbz r0, 0x181(r1)
/* 80183130 00180090 98 1B 00 31 */ stb r0, 0x31(r27)
/* 80183134 00180094 C8 01 01 88 */ lfd f0, 0x188(r1)
/* 80183138 00180098 D8 1B 00 38 */ stfd f0, 0x38(r27)
/* 8018313C 0018009C C8 01 01 90 */ lfd f0, 0x190(r1)
/* 80183140 001800A0 D8 1B 00 40 */ stfd f0, 0x40(r27)
/* 80183144 001800A4 80 61 01 98 */ lwz r3, 0x198(r1)
/* 80183148 001800A8 80 01 01 9C */ lwz r0, 0x19c(r1)
/* 8018314C 001800AC 90 7B 00 48 */ stw r3, 0x48(r27)
/* 80183150 001800B0 90 1B 00 4C */ stw r0, 0x4c(r27)
/* 80183154 001800B4 80 01 01 A0 */ lwz r0, 0x1a0(r1)
/* 80183158 001800B8 90 1B 00 50 */ stw r0, 0x50(r27)
/* 8018315C 001800BC 80 61 01 A4 */ lwz r3, 0x1a4(r1)
/* 80183160 001800C0 80 01 01 A8 */ lwz r0, 0x1a8(r1)
/* 80183164 001800C4 90 7B 00 54 */ stw r3, 0x54(r27)
/* 80183168 001800C8 90 1B 00 58 */ stw r0, 0x58(r27)
/* 8018316C 001800CC 80 01 01 AC */ lwz r0, 0x1ac(r1)
/* 80183170 001800D0 90 1B 00 5C */ stw r0, 0x5c(r27)
/* 80183174 001800D4 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80183178 001800D8 FC 00 00 18 */ frsp f0, f0
/* 8018317C 001800DC D8 1C 00 00 */ stfd f0, 0(r28)
lbl_80183180:
/* 80183180 001800E0 3B FF 09 0C */ addi r31, r31, 0x90c
/* 80183184 001800E4 3B DE 00 01 */ addi r30, r30, 1
lbl_80183188:
/* 80183188 001800E8 80 17 00 18 */ lwz r0, 0x18(r23)
/* 8018318C 001800EC 7C 1E 00 00 */ cmpw r30, r0
/* 80183190 001800F0 41 80 FE 90 */ blt lbl_80183020
/* 80183194 001800F4 48 00 01 DC */ b lbl_80183370
lbl_80183198:
/* 80183198 001800F8 7F A3 EB 78 */ mr r3, r29
/* 8018319C 001800FC 81 9D 00 00 */ lwz r12, 0(r29)
/* 801831A0 00180100 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801831A4 00180104 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801831A8 00180108 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801831AC 0018010C 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 801831B0 00180110 28 00 48 52 */ cmplwi r0, 0x4852
/* 801831B4 00180114 40 82 01 BC */ bne lbl_80183370
/* 801831B8 00180118 3B FD 00 10 */ addi r31, r29, 0x10
/* 801831BC 0018011C 3B D7 00 1C */ addi r30, r23, 0x1c
/* 801831C0 00180120 3B A0 00 00 */ li r29, 0
/* 801831C4 00180124 48 00 01 A0 */ b lbl_80183364
lbl_801831C8:
/* 801831C8 00180128 38 61 00 F0 */ addi r3, r1, 0xf0
/* 801831CC 0018012C 38 80 00 00 */ li r4, 0
/* 801831D0 00180130 48 14 AF B9 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 801831D4 00180134 C8 1C 00 00 */ lfd f0, 0(r28)
/* 801831D8 00180138 38 00 00 00 */ li r0, 0
/* 801831DC 0018013C 81 1A 00 00 */ lwz r8, 0(r26)
/* 801831E0 00180140 38 60 00 00 */ li r3, 0
/* 801831E4 00180144 D8 01 00 18 */ stfd f0, 0x18(r1)
/* 801831E8 00180148 38 80 00 01 */ li r4, 1
/* 801831EC 0018014C 80 FA 00 04 */ lwz r7, 4(r26)
/* 801831F0 00180150 CB BC 00 00 */ lfd f29, 0(r28)
/* 801831F4 00180154 80 DA 00 08 */ lwz r6, 8(r26)
/* 801831F8 00180158 FF A0 E8 18 */ frsp f29, f29
/* 801831FC 0018015C 80 AD 8E 84 */ lwz r5, lbl_805A7A44@sda21(r13)
/* 80183200 00180160 91 01 00 28 */ stw r8, 0x28(r1)
/* 80183204 00180164 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 80183208 00180168 90 C1 00 30 */ stw r6, 0x30(r1)
/* 8018320C 0018016C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80183210 00180170 90 01 00 08 */ stw r0, 8(r1)
/* 80183214 00180174 48 20 6C E1 */ bl __shl2i
/* 80183218 00180178 80 01 00 08 */ lwz r0, 8(r1)
/* 8018321C 0018017C 7F E5 FB 78 */ mr r5, r31
/* 80183220 00180180 80 C1 00 0C */ lwz r6, 0xc(r1)
/* 80183224 00180184 7C 00 1B 78 */ or r0, r0, r3
/* 80183228 00180188 C3 DF 00 0C */ lfs f30, 0xc(r31)
/* 8018322C 0018018C 7C C6 23 78 */ or r6, r6, r4
/* 80183230 00180190 90 01 00 08 */ stw r0, 8(r1)
/* 80183234 00180194 7F 04 C3 78 */ mr r4, r24
/* 80183238 00180198 38 61 00 34 */ addi r3, r1, 0x34
/* 8018323C 0018019C 90 C1 00 0C */ stw r6, 0xc(r1)
/* 80183240 001801A0 48 18 F8 A9 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 80183244 001801A4 C0 61 00 34 */ lfs f3, 0x34(r1)
/* 80183248 001801A8 FC 20 E8 90 */ fmr f1, f29
/* 8018324C 001801AC C0 41 00 38 */ lfs f2, 0x38(r1)
/* 80183250 001801B0 7F C3 F3 78 */ mr r3, r30
/* 80183254 001801B4 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80183258 001801B8 7F 26 CB 78 */ mr r6, r25
/* 8018325C 001801BC D0 61 00 40 */ stfs f3, 0x40(r1)
/* 80183260 001801C0 38 81 00 D4 */ addi r4, r1, 0xd4
/* 80183264 001801C4 38 A1 00 40 */ addi r5, r1, 0x40
/* 80183268 001801C8 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8018326C 001801CC 38 E1 00 08 */ addi r7, r1, 8
/* 80183270 001801D0 39 01 00 28 */ addi r8, r1, 0x28
/* 80183274 001801D4 39 21 00 F0 */ addi r9, r1, 0xf0
/* 80183278 001801D8 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8018327C 001801DC 39 41 00 18 */ addi r10, r1, 0x18
/* 80183280 001801E0 D3 C1 00 4C */ stfs f30, 0x4c(r1)
/* 80183284 001801E4 48 12 19 99 */ bl MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd
/* 80183288 001801E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018328C 001801EC 41 82 00 D0 */ beq lbl_8018335C
/* 80183290 001801F0 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 80183294 001801F4 C8 1C 00 00 */ lfd f0, 0(r28)
/* 80183298 001801F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018329C 001801FC 40 80 00 C0 */ bge lbl_8018335C
/* 801832A0 00180200 80 61 00 F0 */ lwz r3, 0xf0(r1)
/* 801832A4 00180204 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 801832A8 00180208 90 7B 00 00 */ stw r3, 0(r27)
/* 801832AC 0018020C 90 1B 00 04 */ stw r0, 4(r27)
/* 801832B0 00180210 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 801832B4 00180214 90 1B 00 08 */ stw r0, 8(r27)
/* 801832B8 00180218 80 61 00 FC */ lwz r3, 0xfc(r1)
/* 801832BC 0018021C 80 01 01 00 */ lwz r0, 0x100(r1)
/* 801832C0 00180220 90 7B 00 0C */ stw r3, 0xc(r27)
/* 801832C4 00180224 90 1B 00 10 */ stw r0, 0x10(r27)
/* 801832C8 00180228 80 01 01 04 */ lwz r0, 0x104(r1)
/* 801832CC 0018022C 90 1B 00 14 */ stw r0, 0x14(r27)
/* 801832D0 00180230 80 61 01 08 */ lwz r3, 0x108(r1)
/* 801832D4 00180234 80 01 01 0C */ lwz r0, 0x10c(r1)
/* 801832D8 00180238 90 7B 00 18 */ stw r3, 0x18(r27)
/* 801832DC 0018023C 90 1B 00 1C */ stw r0, 0x1c(r27)
/* 801832E0 00180240 80 01 01 10 */ lwz r0, 0x110(r1)
/* 801832E4 00180244 90 1B 00 20 */ stw r0, 0x20(r27)
/* 801832E8 00180248 80 61 01 14 */ lwz r3, 0x114(r1)
/* 801832EC 0018024C 80 01 01 18 */ lwz r0, 0x118(r1)
/* 801832F0 00180250 90 7B 00 24 */ stw r3, 0x24(r27)
/* 801832F4 00180254 90 1B 00 28 */ stw r0, 0x28(r27)
/* 801832F8 00180258 80 01 01 1C */ lwz r0, 0x11c(r1)
/* 801832FC 0018025C 90 1B 00 2C */ stw r0, 0x2c(r27)
/* 80183300 00180260 88 01 01 20 */ lbz r0, 0x120(r1)
/* 80183304 00180264 98 1B 00 30 */ stb r0, 0x30(r27)
/* 80183308 00180268 88 01 01 21 */ lbz r0, 0x121(r1)
/* 8018330C 0018026C 98 1B 00 31 */ stb r0, 0x31(r27)
/* 80183310 00180270 C8 01 01 28 */ lfd f0, 0x128(r1)
/* 80183314 00180274 D8 1B 00 38 */ stfd f0, 0x38(r27)
/* 80183318 00180278 C8 01 01 30 */ lfd f0, 0x130(r1)
/* 8018331C 0018027C D8 1B 00 40 */ stfd f0, 0x40(r27)
/* 80183320 00180280 80 61 01 38 */ lwz r3, 0x138(r1)
/* 80183324 00180284 80 01 01 3C */ lwz r0, 0x13c(r1)
/* 80183328 00180288 90 7B 00 48 */ stw r3, 0x48(r27)
/* 8018332C 0018028C 90 1B 00 4C */ stw r0, 0x4c(r27)
/* 80183330 00180290 80 01 01 40 */ lwz r0, 0x140(r1)
/* 80183334 00180294 90 1B 00 50 */ stw r0, 0x50(r27)
/* 80183338 00180298 80 61 01 44 */ lwz r3, 0x144(r1)
/* 8018333C 0018029C 80 01 01 48 */ lwz r0, 0x148(r1)
/* 80183340 001802A0 90 7B 00 54 */ stw r3, 0x54(r27)
/* 80183344 001802A4 90 1B 00 58 */ stw r0, 0x58(r27)
/* 80183348 001802A8 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 8018334C 001802AC 90 1B 00 5C */ stw r0, 0x5c(r27)
/* 80183350 001802B0 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 80183354 001802B4 FC 00 00 18 */ frsp f0, f0
/* 80183358 001802B8 D8 1C 00 00 */ stfd f0, 0(r28)
lbl_8018335C:
/* 8018335C 001802BC 3B DE 09 0C */ addi r30, r30, 0x90c
/* 80183360 001802C0 3B BD 00 01 */ addi r29, r29, 1
lbl_80183364:
/* 80183364 001802C4 80 17 00 18 */ lwz r0, 0x18(r23)
/* 80183368 001802C8 7C 1D 00 00 */ cmpw r29, r0
/* 8018336C 001802CC 41 80 FE 5C */ blt lbl_801831C8
lbl_80183370:
/* 80183370 001802D0 88 7B 00 30 */ lbz r3, 0x30(r27)
lbl_80183374:
/* 80183374 001802D4 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0
/* 80183378 001802D8 CB E1 02 00 */ lfd f31, 0x200(r1)
/* 8018337C 001802DC E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0
/* 80183380 001802E0 CB C1 01 F0 */ lfd f30, 0x1f0(r1)
/* 80183384 001802E4 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0
/* 80183388 001802E8 CB A1 01 E0 */ lfd f29, 0x1e0(r1)
/* 8018338C 001802EC BA E1 01 BC */ lmw r23, 0x1bc(r1)
/* 80183390 001802F0 80 01 02 14 */ lwz r0, 0x214(r1)
/* 80183394 001802F4 7C 08 03 A6 */ mtlr r0
/* 80183398 001802F8 38 21 02 10 */ addi r1, r1, 0x210
2022-07-14 05:48:03 +00:00
/* 8018339C 001802FC 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter:
/* 801833A0 00180300 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 801833A4 00180304 7C 08 02 A6 */ mflr r0
/* 801833A8 00180308 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 801833AC 0018030C BF 61 00 8C */ stmw r27, 0x8c(r1)
/* 801833B0 00180310 7C 9C 23 78 */ mr r28, r4
/* 801833B4 00180314 7C 7B 1B 78 */ mr r27, r3
/* 801833B8 00180318 7C BD 2B 78 */ mr r29, r5
/* 801833BC 0018031C 7F 83 E3 78 */ mr r3, r28
/* 801833C0 00180320 7C DE 33 78 */ mr r30, r6
/* 801833C4 00180324 81 9C 00 00 */ lwz r12, 0(r28)
/* 801833C8 00180328 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801833CC 0018032C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801833D0 00180330 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801833D4 00180334 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 801833D8 00180338 28 00 54 47 */ cmplwi r0, 0x5447
/* 801833DC 0018033C 40 82 00 0C */ bne lbl_801833E8
/* 801833E0 00180340 38 60 00 00 */ li r3, 0
/* 801833E4 00180344 48 00 02 00 */ b lbl_801835E4
lbl_801833E8:
/* 801833E8 00180348 7F 83 E3 78 */ mr r3, r28
/* 801833EC 0018034C 83 FB 08 50 */ lwz r31, 0x850(r27)
/* 801833F0 00180350 81 9C 00 00 */ lwz r12, 0(r28)
/* 801833F4 00180354 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801833F8 00180358 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801833FC 0018035C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183400 00180360 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 80183404 00180364 28 00 42 58 */ cmplwi r0, 0x4258
/* 80183408 00180368 40 82 00 90 */ bne lbl_80183498
/* 8018340C 0018036C 7F 84 E3 78 */ mr r4, r28
/* 80183410 00180370 7F A5 EB 78 */ mr r5, r29
/* 80183414 00180374 81 9C 00 00 */ lwz r12, 0(r28)
/* 80183418 00180378 38 61 00 40 */ addi r3, r1, 0x40
/* 8018341C 0018037C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80183420 00180380 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183424 00180384 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183428 00180388 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 8018342C 0018038C C0 81 00 44 */ lfs f4, 0x44(r1)
/* 80183430 00180390 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 80183434 00180394 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 80183438 00180398 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 8018343C 0018039C C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80183440 001803A0 D0 A1 00 70 */ stfs f5, 0x70(r1)
/* 80183444 001803A4 D0 81 00 74 */ stfs f4, 0x74(r1)
/* 80183448 001803A8 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 8018344C 001803AC D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80183450 001803B0 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80183454 001803B4 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 80183458 001803B8 83 FF 00 58 */ lwz r31, 0x58(r31)
/* 8018345C 001803BC 48 00 00 2C */ b lbl_80183488
lbl_80183460:
/* 80183460 001803C0 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80183464 001803C4 7F C5 F3 78 */ mr r5, r30
/* 80183468 001803C8 38 81 00 70 */ addi r4, r1, 0x70
/* 8018346C 001803CC 80 63 00 04 */ lwz r3, 4(r3)
/* 80183470 001803D0 48 12 2F 71 */ bl AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter
/* 80183474 001803D4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183478 001803D8 41 82 00 0C */ beq lbl_80183484
/* 8018347C 001803DC 38 60 00 01 */ li r3, 1
/* 80183480 001803E0 48 00 01 64 */ b lbl_801835E4
lbl_80183484:
/* 80183484 001803E4 83 FF 01 30 */ lwz r31, 0x130(r31)
lbl_80183488:
/* 80183488 001803E8 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 8018348C 001803EC 7C 1F 00 40 */ cmplw r31, r0
/* 80183490 001803F0 40 82 FF D0 */ bne lbl_80183460
/* 80183494 001803F4 48 00 01 4C */ b lbl_801835E0
lbl_80183498:
/* 80183498 001803F8 7F 83 E3 78 */ mr r3, r28
/* 8018349C 001803FC 81 9C 00 00 */ lwz r12, 0(r28)
/* 801834A0 00180400 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801834A4 00180404 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801834A8 00180408 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801834AC 0018040C 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 801834B0 00180410 28 00 48 52 */ cmplwi r0, 0x4852
/* 801834B4 00180414 40 82 00 C4 */ bne lbl_80183578
/* 801834B8 00180418 7F 84 E3 78 */ mr r4, r28
/* 801834BC 0018041C 7F A5 EB 78 */ mr r5, r29
/* 801834C0 00180420 81 9C 00 00 */ lwz r12, 0(r28)
/* 801834C4 00180424 38 61 00 28 */ addi r3, r1, 0x28
/* 801834C8 00180428 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801834CC 0018042C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801834D0 00180430 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801834D4 00180434 C0 A1 00 28 */ lfs f5, 0x28(r1)
/* 801834D8 00180438 7F 84 E3 78 */ mr r4, r28
/* 801834DC 0018043C C0 81 00 2C */ lfs f4, 0x2c(r1)
/* 801834E0 00180440 7F A5 EB 78 */ mr r5, r29
/* 801834E4 00180444 C0 61 00 30 */ lfs f3, 0x30(r1)
/* 801834E8 00180448 38 61 00 08 */ addi r3, r1, 8
/* 801834EC 0018044C C0 41 00 34 */ lfs f2, 0x34(r1)
/* 801834F0 00180450 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 801834F4 00180454 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 801834F8 00180458 D0 A1 00 58 */ stfs f5, 0x58(r1)
/* 801834FC 0018045C D0 81 00 5C */ stfs f4, 0x5c(r1)
/* 80183500 00180460 D0 61 00 60 */ stfs f3, 0x60(r1)
/* 80183504 00180464 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 80183508 00180468 D0 21 00 68 */ stfs f1, 0x68(r1)
/* 8018350C 0018046C D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 80183510 00180470 48 15 0E 45 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
/* 80183514 00180474 C0 61 00 08 */ lfs f3, 8(r1)
/* 80183518 00180478 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 8018351C 0018047C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 80183520 00180480 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80183524 00180484 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80183528 00180488 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8018352C 0018048C D0 21 00 20 */ stfs f1, 0x20(r1)
/* 80183530 00180490 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80183534 00180494 83 FF 00 58 */ lwz r31, 0x58(r31)
/* 80183538 00180498 48 00 00 30 */ b lbl_80183568
lbl_8018353C:
/* 8018353C 0018049C 80 7F 01 2C */ lwz r3, 0x12c(r31)
/* 80183540 001804A0 7F C6 F3 78 */ mr r6, r30
/* 80183544 001804A4 38 81 00 58 */ addi r4, r1, 0x58
/* 80183548 001804A8 38 A1 00 18 */ addi r5, r1, 0x18
/* 8018354C 001804AC 80 63 00 04 */ lwz r3, 4(r3)
/* 80183550 001804B0 48 12 27 45 */ bl SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter
/* 80183554 001804B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183558 001804B8 41 82 00 0C */ beq lbl_80183564
/* 8018355C 001804BC 38 60 00 01 */ li r3, 1
/* 80183560 001804C0 48 00 00 84 */ b lbl_801835E4
lbl_80183564:
/* 80183564 001804C4 83 FF 01 30 */ lwz r31, 0x130(r31)
lbl_80183568:
/* 80183568 001804C8 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 8018356C 001804CC 7C 1F 00 40 */ cmplw r31, r0
/* 80183570 001804D0 40 82 FF CC */ bne lbl_8018353C
/* 80183574 001804D4 48 00 00 6C */ b lbl_801835E0
lbl_80183578:
/* 80183578 001804D8 7F 83 E3 78 */ mr r3, r28
/* 8018357C 001804DC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80183580 001804E0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183584 001804E4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183588 001804E8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 8018358C 001804EC 3C 03 BE BE */ addis r0, r3, 0xbebe
/* 80183590 001804F0 28 00 53 48 */ cmplwi r0, 0x5348
/* 80183594 001804F4 40 82 00 4C */ bne lbl_801835E0
/* 80183598 001804F8 7F 63 DB 78 */ mr r3, r27
/* 8018359C 001804FC 7F A5 EB 78 */ mr r5, r29
/* 801835A0 00180500 7F C6 F3 78 */ mr r6, r30
/* 801835A4 00180504 38 9C 00 10 */ addi r4, r28, 0x10
/* 801835A8 00180508 4B FF FD F9 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 801835AC 0018050C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801835B0 00180510 41 82 00 0C */ beq lbl_801835BC
/* 801835B4 00180514 38 60 00 01 */ li r3, 1
/* 801835B8 00180518 48 00 00 2C */ b lbl_801835E4
lbl_801835BC:
/* 801835BC 0018051C 7F 63 DB 78 */ mr r3, r27
/* 801835C0 00180520 7F A5 EB 78 */ mr r5, r29
/* 801835C4 00180524 7F C6 F3 78 */ mr r6, r30
/* 801835C8 00180528 38 9C 00 38 */ addi r4, r28, 0x38
/* 801835CC 0018052C 4B FF FD D5 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 801835D0 00180530 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801835D4 00180534 41 82 00 0C */ beq lbl_801835E0
/* 801835D8 00180538 38 60 00 01 */ li r3, 1
/* 801835DC 0018053C 48 00 00 08 */ b lbl_801835E4
lbl_801835E0:
/* 801835E0 00180540 38 60 00 00 */ li r3, 0
lbl_801835E4:
/* 801835E4 00180544 BB 61 00 8C */ lmw r27, 0x8c(r1)
/* 801835E8 00180548 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 801835EC 0018054C 7C 08 03 A6 */ mtlr r0
/* 801835F0 00180550 38 21 00 A0 */ addi r1, r1, 0xa0
2022-07-14 05:48:03 +00:00
/* 801835F4 00180554 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter:
/* 801835F8 00180558 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 801835FC 0018055C 7C 08 02 A6 */ mflr r0
/* 80183600 00180560 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80183604 00180564 BF 41 00 88 */ stmw r26, 0x88(r1)
/* 80183608 00180568 7C BD 2B 78 */ mr r29, r5
/* 8018360C 0018056C 7C 7A 1B 78 */ mr r26, r3
/* 80183610 00180570 7C 9E 23 78 */ mr r30, r4
/* 80183614 00180574 7F A3 EB 78 */ mr r3, r29
/* 80183618 00180578 7C DB 33 78 */ mr r27, r6
/* 8018361C 0018057C 7C FF 3B 78 */ mr r31, r7
/* 80183620 00180580 81 9D 00 00 */ lwz r12, 0(r29)
/* 80183624 00180584 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183628 00180588 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018362C 0018058C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183630 00180590 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 80183634 00180594 28 00 54 47 */ cmplwi r0, 0x5447
/* 80183638 00180598 40 82 00 0C */ bne lbl_80183644
/* 8018363C 0018059C 38 60 00 00 */ li r3, 0
/* 80183640 001805A0 48 00 02 8C */ b lbl_801838CC
lbl_80183644:
/* 80183644 001805A4 7F A4 EB 78 */ mr r4, r29
/* 80183648 001805A8 7F 65 DB 78 */ mr r5, r27
/* 8018364C 001805AC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80183650 001805B0 38 61 00 40 */ addi r3, r1, 0x40
/* 80183654 001805B4 3B 80 00 00 */ li r28, 0
/* 80183658 001805B8 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8018365C 001805BC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183660 001805C0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183664 001805C4 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 80183668 001805C8 7F C4 F3 78 */ mr r4, r30
/* 8018366C 001805CC C0 81 00 44 */ lfs f4, 0x44(r1)
/* 80183670 001805D0 38 61 00 70 */ addi r3, r1, 0x70
/* 80183674 001805D4 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 80183678 001805D8 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 8018367C 001805DC C0 21 00 50 */ lfs f1, 0x50(r1)
/* 80183680 001805E0 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80183684 001805E4 D0 A1 00 70 */ stfs f5, 0x70(r1)
/* 80183688 001805E8 D0 81 00 74 */ stfs f4, 0x74(r1)
/* 8018368C 001805EC D0 61 00 78 */ stfs f3, 0x78(r1)
/* 80183690 001805F0 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80183694 001805F4 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80183698 001805F8 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 8018369C 001805FC 48 1B 43 E5 */ bl Inside__6CAABoxCFRC6CAABox
/* 801836A0 00180600 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801836A4 00180604 40 82 00 98 */ bne lbl_8018373C
/* 801836A8 00180608 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 801836AC 0018060C 38 61 00 58 */ addi r3, r1, 0x58
/* 801836B0 00180610 C0 82 A2 F0 */ lfs f4, lbl_805AC010@sda21(r2)
/* 801836B4 00180614 38 81 00 24 */ addi r4, r1, 0x24
/* 801836B8 00180618 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 801836BC 0018061C 38 A1 00 18 */ addi r5, r1, 0x18
/* 801836C0 00180620 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 801836C4 00180624 EC C2 20 2A */ fadds f6, f2, f4
/* 801836C8 00180628 C0 41 00 74 */ lfs f2, 0x74(r1)
/* 801836CC 0018062C EC A1 20 2A */ fadds f5, f1, f4
/* 801836D0 00180630 C0 21 00 78 */ lfs f1, 0x78(r1)
/* 801836D4 00180634 EC 60 20 2A */ fadds f3, f0, f4
/* 801836D8 00180638 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 801836DC 0018063C EC 42 20 28 */ fsubs f2, f2, f4
/* 801836E0 00180640 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 801836E4 00180644 EC 21 20 28 */ fsubs f1, f1, f4
/* 801836E8 00180648 EC 00 20 28 */ fsubs f0, f0, f4
/* 801836EC 0018064C D0 61 00 18 */ stfs f3, 0x18(r1)
/* 801836F0 00180650 D0 A1 00 20 */ stfs f5, 0x20(r1)
/* 801836F4 00180654 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 801836F8 00180658 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 801836FC 0018065C D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80183700 00180660 48 1B 4E 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80183704 00180664 7F C4 F3 78 */ mr r4, r30
/* 80183708 00180668 38 61 00 58 */ addi r3, r1, 0x58
/* 8018370C 0018066C 48 1B 43 FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80183710 00180670 38 61 00 58 */ addi r3, r1, 0x58
/* 80183714 00180674 38 9E 00 0C */ addi r4, r30, 0xc
/* 80183718 00180678 48 1B 43 F1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 8018371C 0018067C 7F C3 F3 78 */ mr r3, r30
/* 80183720 00180680 38 81 00 58 */ addi r4, r1, 0x58
/* 80183724 00180684 48 12 01 C1 */ bl SetCacheBounds__19CAreaCollisionCacheFRC6CAABox
/* 80183728 00180688 7F 43 D3 78 */ mr r3, r26
/* 8018372C 0018068C 7F C4 F3 78 */ mr r4, r30
/* 80183730 00180690 48 00 0F 95 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 80183734 00180694 38 60 00 00 */ li r3, 0
/* 80183738 00180698 4B F3 0D C1 */ bl IsUser__Fi
lbl_8018373C:
/* 8018373C 0018069C 88 1E 1B 40 */ lbz r0, 0x1b40(r30)
/* 80183740 001806A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80183744 001806A4 41 82 00 1C */ beq lbl_80183760
/* 80183748 001806A8 7F 43 D3 78 */ mr r3, r26
/* 8018374C 001806AC 7F A4 EB 78 */ mr r4, r29
/* 80183750 001806B0 7F 65 DB 78 */ mr r5, r27
/* 80183754 001806B4 7F E6 FB 78 */ mr r6, r31
/* 80183758 001806B8 4B FF FC 49 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 8018375C 001806BC 48 00 01 70 */ b lbl_801838CC
lbl_80183760:
/* 80183760 001806C0 7F A3 EB 78 */ mr r3, r29
/* 80183764 001806C4 81 9D 00 00 */ lwz r12, 0(r29)
/* 80183768 001806C8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8018376C 001806CC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183770 001806D0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183774 001806D4 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 80183778 001806D8 28 00 42 58 */ cmplwi r0, 0x4258
/* 8018377C 001806DC 40 82 00 48 */ bne lbl_801837C4
/* 80183780 001806E0 3B BE 00 1C */ addi r29, r30, 0x1c
/* 80183784 001806E4 3B 60 00 00 */ li r27, 0
/* 80183788 001806E8 48 00 00 2C */ b lbl_801837B4
lbl_8018378C:
/* 8018378C 001806EC 7F A3 EB 78 */ mr r3, r29
/* 80183790 001806F0 7F E5 FB 78 */ mr r5, r31
/* 80183794 001806F4 38 81 00 70 */ addi r4, r1, 0x70
/* 80183798 001806F8 48 12 2D 69 */ bl AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter
/* 8018379C 001806FC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801837A0 00180700 41 82 00 0C */ beq lbl_801837AC
/* 801837A4 00180704 3B 80 00 01 */ li r28, 1
/* 801837A8 00180708 48 00 01 20 */ b lbl_801838C8
lbl_801837AC:
/* 801837AC 0018070C 3B BD 09 0C */ addi r29, r29, 0x90c
/* 801837B0 00180710 3B 7B 00 01 */ addi r27, r27, 1
lbl_801837B4:
/* 801837B4 00180714 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 801837B8 00180718 7C 1B 00 00 */ cmpw r27, r0
/* 801837BC 0018071C 41 80 FF D0 */ blt lbl_8018378C
/* 801837C0 00180720 48 00 01 08 */ b lbl_801838C8
lbl_801837C4:
/* 801837C4 00180724 7F A3 EB 78 */ mr r3, r29
/* 801837C8 00180728 81 9D 00 00 */ lwz r12, 0(r29)
/* 801837CC 0018072C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801837D0 00180730 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801837D4 00180734 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801837D8 00180738 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 801837DC 0018073C 28 00 48 52 */ cmplwi r0, 0x4852
/* 801837E0 00180740 40 82 00 7C */ bne lbl_8018385C
/* 801837E4 00180744 7F A4 EB 78 */ mr r4, r29
/* 801837E8 00180748 7F 65 DB 78 */ mr r5, r27
/* 801837EC 0018074C 38 61 00 08 */ addi r3, r1, 8
/* 801837F0 00180750 48 15 0B 65 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
/* 801837F4 00180754 C0 61 00 08 */ lfs f3, 8(r1)
/* 801837F8 00180758 3B BE 00 1C */ addi r29, r30, 0x1c
/* 801837FC 0018075C C0 41 00 0C */ lfs f2, 0xc(r1)
/* 80183800 00180760 3B 60 00 00 */ li r27, 0
/* 80183804 00180764 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 80183808 00180768 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8018380C 0018076C D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80183810 00180770 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80183814 00180774 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 80183818 00180778 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 8018381C 0018077C 48 00 00 30 */ b lbl_8018384C
lbl_80183820:
/* 80183820 00180780 7F A3 EB 78 */ mr r3, r29
/* 80183824 00180784 7F E6 FB 78 */ mr r6, r31
/* 80183828 00180788 38 81 00 70 */ addi r4, r1, 0x70
/* 8018382C 0018078C 38 A1 00 30 */ addi r5, r1, 0x30
/* 80183830 00180790 48 12 24 DD */ bl SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter
/* 80183834 00180794 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183838 00180798 41 82 00 0C */ beq lbl_80183844
/* 8018383C 0018079C 3B 80 00 01 */ li r28, 1
/* 80183840 001807A0 48 00 00 88 */ b lbl_801838C8
lbl_80183844:
/* 80183844 001807A4 3B BD 09 0C */ addi r29, r29, 0x90c
/* 80183848 001807A8 3B 7B 00 01 */ addi r27, r27, 1
lbl_8018384C:
/* 8018384C 001807AC 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 80183850 001807B0 7C 1B 00 00 */ cmpw r27, r0
/* 80183854 001807B4 41 80 FF CC */ blt lbl_80183820
/* 80183858 001807B8 48 00 00 70 */ b lbl_801838C8
lbl_8018385C:
/* 8018385C 001807BC 7F A3 EB 78 */ mr r3, r29
/* 80183860 001807C0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80183864 001807C4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183868 001807C8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018386C 001807CC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183870 001807D0 3C 03 BE BE */ addis r0, r3, 0xbebe
/* 80183874 001807D4 28 00 53 48 */ cmplwi r0, 0x5348
/* 80183878 001807D8 40 82 00 50 */ bne lbl_801838C8
/* 8018387C 001807DC 7F 43 D3 78 */ mr r3, r26
/* 80183880 001807E0 7F C4 F3 78 */ mr r4, r30
/* 80183884 001807E4 7F 66 DB 78 */ mr r6, r27
/* 80183888 001807E8 7F E7 FB 78 */ mr r7, r31
/* 8018388C 001807EC 38 BD 00 10 */ addi r5, r29, 0x10
/* 80183890 001807F0 4B FF FD 69 */ bl DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 80183894 001807F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183898 001807F8 41 82 00 0C */ beq lbl_801838A4
/* 8018389C 001807FC 3B 80 00 01 */ li r28, 1
/* 801838A0 00180800 48 00 00 28 */ b lbl_801838C8
lbl_801838A4:
/* 801838A4 00180804 7F 43 D3 78 */ mr r3, r26
/* 801838A8 00180808 7F C4 F3 78 */ mr r4, r30
/* 801838AC 0018080C 7F 66 DB 78 */ mr r6, r27
/* 801838B0 00180810 7F E7 FB 78 */ mr r7, r31
/* 801838B4 00180814 38 BD 00 38 */ addi r5, r29, 0x38
/* 801838B8 00180818 4B FF FD 41 */ bl DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 801838BC 0018081C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801838C0 00180820 41 82 00 08 */ beq lbl_801838C8
/* 801838C4 00180824 3B 80 00 01 */ li r28, 1
lbl_801838C8:
/* 801838C8 00180828 7F 83 E3 78 */ mr r3, r28
lbl_801838CC:
/* 801838CC 0018082C BB 41 00 88 */ lmw r26, 0x88(r1)
/* 801838D0 00180830 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 801838D4 00180834 7C 08 03 A6 */ mtlr r0
/* 801838D8 00180838 38 21 00 A0 */ addi r1, r1, 0xa0
2022-07-14 05:48:03 +00:00
/* 801838DC 0018083C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList:
/* 801838E0 00180840 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 801838E4 00180844 7C 08 02 A6 */ mflr r0
/* 801838E8 00180848 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 801838EC 0018084C BF 21 00 94 */ stmw r25, 0x94(r1)
/* 801838F0 00180850 7C 9A 23 78 */ mr r26, r4
/* 801838F4 00180854 7C 79 1B 78 */ mr r25, r3
/* 801838F8 00180858 7C BB 2B 78 */ mr r27, r5
/* 801838FC 0018085C 7F 43 D3 78 */ mr r3, r26
/* 80183900 00180860 7C DD 33 78 */ mr r29, r6
/* 80183904 00180864 7C FE 3B 78 */ mr r30, r7
/* 80183908 00180868 81 9A 00 00 */ lwz r12, 0(r26)
/* 8018390C 0018086C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183910 00180870 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183914 00180874 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183918 00180878 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 8018391C 0018087C 28 00 54 47 */ cmplwi r0, 0x5447
/* 80183920 00180880 40 82 00 0C */ bne lbl_8018392C
/* 80183924 00180884 38 60 00 00 */ li r3, 0
/* 80183928 00180888 48 00 02 3C */ b lbl_80183B64
lbl_8018392C:
/* 8018392C 0018088C 7F 43 D3 78 */ mr r3, r26
/* 80183930 00180890 83 99 08 50 */ lwz r28, 0x850(r25)
/* 80183934 00180894 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183938 00180898 3B E0 00 00 */ li r31, 0
/* 8018393C 0018089C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183940 001808A0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183944 001808A4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183948 001808A8 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 8018394C 001808AC 28 00 42 58 */ cmplwi r0, 0x4258
/* 80183950 001808B0 40 82 00 AC */ bne lbl_801839FC
/* 80183954 001808B4 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183958 001808B8 7F 44 D3 78 */ mr r4, r26
/* 8018395C 001808BC 7F 65 DB 78 */ mr r5, r27
/* 80183960 001808C0 38 61 00 40 */ addi r3, r1, 0x40
/* 80183964 001808C4 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80183968 001808C8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018396C 001808CC 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183970 001808D0 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 80183974 001808D4 C0 81 00 44 */ lfs f4, 0x44(r1)
/* 80183978 001808D8 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 8018397C 001808DC C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 80183980 001808E0 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 80183984 001808E4 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80183988 001808E8 D0 A1 00 70 */ stfs f5, 0x70(r1)
/* 8018398C 001808EC D0 81 00 74 */ stfs f4, 0x74(r1)
/* 80183990 001808F0 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 80183994 001808F4 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80183998 001808F8 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 8018399C 001808FC D0 01 00 84 */ stfs f0, 0x84(r1)
/* 801839A0 00180900 83 7C 00 58 */ lwz r27, 0x58(r28)
/* 801839A4 00180904 48 00 00 48 */ b lbl_801839EC
lbl_801839A8:
/* 801839A8 00180908 7F 43 D3 78 */ mr r3, r26
/* 801839AC 0018090C 80 9B 01 2C */ lwz r4, 0x12c(r27)
/* 801839B0 00180910 81 9A 00 00 */ lwz r12, 0(r26)
/* 801839B4 00180914 83 84 00 04 */ lwz r28, 4(r4)
/* 801839B8 00180918 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801839BC 0018091C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801839C0 00180920 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 801839C4 00180924 7C 66 1B 78 */ mr r6, r3
/* 801839C8 00180928 7F 83 E3 78 */ mr r3, r28
/* 801839CC 0018092C 7F A5 EB 78 */ mr r5, r29
/* 801839D0 00180930 7F C7 F3 78 */ mr r7, r30
/* 801839D4 00180934 38 81 00 70 */ addi r4, r1, 0x70
/* 801839D8 00180938 48 12 2E 25 */ bl AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList
/* 801839DC 0018093C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801839E0 00180940 41 82 00 08 */ beq lbl_801839E8
/* 801839E4 00180944 3B E0 00 01 */ li r31, 1
lbl_801839E8:
/* 801839E8 00180948 83 7B 01 30 */ lwz r27, 0x130(r27)
lbl_801839EC:
/* 801839EC 0018094C 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 801839F0 00180950 7C 1B 00 40 */ cmplw r27, r0
/* 801839F4 00180954 40 82 FF B4 */ bne lbl_801839A8
/* 801839F8 00180958 48 00 01 68 */ b lbl_80183B60
lbl_801839FC:
/* 801839FC 0018095C 7F 43 D3 78 */ mr r3, r26
/* 80183A00 00180960 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183A04 00180964 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183A08 00180968 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183A0C 0018096C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183A10 00180970 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 80183A14 00180974 28 00 48 52 */ cmplwi r0, 0x4852
/* 80183A18 00180978 40 82 00 E0 */ bne lbl_80183AF8
/* 80183A1C 0018097C 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183A20 00180980 7F 44 D3 78 */ mr r4, r26
/* 80183A24 00180984 7F 65 DB 78 */ mr r5, r27
/* 80183A28 00180988 38 61 00 28 */ addi r3, r1, 0x28
/* 80183A2C 0018098C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80183A30 00180990 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183A34 00180994 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183A38 00180998 C0 A1 00 28 */ lfs f5, 0x28(r1)
/* 80183A3C 0018099C 7F 44 D3 78 */ mr r4, r26
/* 80183A40 001809A0 C0 81 00 2C */ lfs f4, 0x2c(r1)
/* 80183A44 001809A4 7F 65 DB 78 */ mr r5, r27
/* 80183A48 001809A8 C0 61 00 30 */ lfs f3, 0x30(r1)
/* 80183A4C 001809AC 38 61 00 08 */ addi r3, r1, 8
/* 80183A50 001809B0 C0 41 00 34 */ lfs f2, 0x34(r1)
/* 80183A54 001809B4 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 80183A58 001809B8 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80183A5C 001809BC D0 A1 00 58 */ stfs f5, 0x58(r1)
/* 80183A60 001809C0 D0 81 00 5C */ stfs f4, 0x5c(r1)
/* 80183A64 001809C4 D0 61 00 60 */ stfs f3, 0x60(r1)
/* 80183A68 001809C8 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 80183A6C 001809CC D0 21 00 68 */ stfs f1, 0x68(r1)
/* 80183A70 001809D0 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 80183A74 001809D4 48 15 08 E1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
/* 80183A78 001809D8 C0 61 00 08 */ lfs f3, 8(r1)
/* 80183A7C 001809DC C0 41 00 0C */ lfs f2, 0xc(r1)
/* 80183A80 001809E0 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 80183A84 001809E4 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80183A88 001809E8 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80183A8C 001809EC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80183A90 001809F0 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 80183A94 001809F4 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80183A98 001809F8 83 7C 00 58 */ lwz r27, 0x58(r28)
/* 80183A9C 001809FC 48 00 00 4C */ b lbl_80183AE8
lbl_80183AA0:
/* 80183AA0 00180A00 7F 43 D3 78 */ mr r3, r26
/* 80183AA4 00180A04 80 9B 01 2C */ lwz r4, 0x12c(r27)
/* 80183AA8 00180A08 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183AAC 00180A0C 83 84 00 04 */ lwz r28, 4(r4)
/* 80183AB0 00180A10 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80183AB4 00180A14 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183AB8 00180A18 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183ABC 00180A1C 7C 66 1B 78 */ mr r6, r3
/* 80183AC0 00180A20 7F 83 E3 78 */ mr r3, r28
/* 80183AC4 00180A24 7F A7 EB 78 */ mr r7, r29
/* 80183AC8 00180A28 7F C8 F3 78 */ mr r8, r30
/* 80183ACC 00180A2C 38 81 00 58 */ addi r4, r1, 0x58
/* 80183AD0 00180A30 38 A1 00 18 */ addi r5, r1, 0x18
/* 80183AD4 00180A34 48 12 24 D1 */ bl SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList
/* 80183AD8 00180A38 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183ADC 00180A3C 41 82 00 08 */ beq lbl_80183AE4
/* 80183AE0 00180A40 3B E0 00 01 */ li r31, 1
lbl_80183AE4:
/* 80183AE4 00180A44 83 7B 01 30 */ lwz r27, 0x130(r27)
lbl_80183AE8:
/* 80183AE8 00180A48 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 80183AEC 00180A4C 7C 1B 00 40 */ cmplw r27, r0
/* 80183AF0 00180A50 40 82 FF B0 */ bne lbl_80183AA0
/* 80183AF4 00180A54 48 00 00 6C */ b lbl_80183B60
lbl_80183AF8:
/* 80183AF8 00180A58 7F 43 D3 78 */ mr r3, r26
/* 80183AFC 00180A5C 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183B00 00180A60 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183B04 00180A64 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183B08 00180A68 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183B0C 00180A6C 3C 03 BE BE */ addis r0, r3, 0xbebe
/* 80183B10 00180A70 28 00 53 48 */ cmplwi r0, 0x5348
/* 80183B14 00180A74 40 82 00 4C */ bne lbl_80183B60
/* 80183B18 00180A78 7F 23 CB 78 */ mr r3, r25
/* 80183B1C 00180A7C 7F 65 DB 78 */ mr r5, r27
/* 80183B20 00180A80 7F A6 EB 78 */ mr r6, r29
/* 80183B24 00180A84 7F C7 F3 78 */ mr r7, r30
/* 80183B28 00180A88 38 9A 00 10 */ addi r4, r26, 0x10
/* 80183B2C 00180A8C 4B FF FD B5 */ bl DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80183B30 00180A90 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183B34 00180A94 41 82 00 08 */ beq lbl_80183B3C
/* 80183B38 00180A98 3B E0 00 01 */ li r31, 1
lbl_80183B3C:
/* 80183B3C 00180A9C 7F 23 CB 78 */ mr r3, r25
/* 80183B40 00180AA0 7F 65 DB 78 */ mr r5, r27
/* 80183B44 00180AA4 7F A6 EB 78 */ mr r6, r29
/* 80183B48 00180AA8 7F C7 F3 78 */ mr r7, r30
/* 80183B4C 00180AAC 38 9A 00 38 */ addi r4, r26, 0x38
/* 80183B50 00180AB0 4B FF FD 91 */ bl DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80183B54 00180AB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183B58 00180AB8 41 82 00 08 */ beq lbl_80183B60
/* 80183B5C 00180ABC 3B E0 00 01 */ li r31, 1
lbl_80183B60:
/* 80183B60 00180AC0 7F E3 FB 78 */ mr r3, r31
lbl_80183B64:
/* 80183B64 00180AC4 BB 21 00 94 */ lmw r25, 0x94(r1)
/* 80183B68 00180AC8 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80183B6C 00180ACC 7C 08 03 A6 */ mtlr r0
/* 80183B70 00180AD0 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 80183B74 00180AD4 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList:
/* 80183B78 00180AD8 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 80183B7C 00180ADC 7C 08 02 A6 */ mflr r0
/* 80183B80 00180AE0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80183B84 00180AE4 BF 21 00 94 */ stmw r25, 0x94(r1)
/* 80183B88 00180AE8 7C B9 2B 78 */ mr r25, r5
/* 80183B8C 00180AEC 7C 7B 1B 78 */ mr r27, r3
/* 80183B90 00180AF0 7C 9C 23 78 */ mr r28, r4
/* 80183B94 00180AF4 7F 23 CB 78 */ mr r3, r25
/* 80183B98 00180AF8 7C DA 33 78 */ mr r26, r6
/* 80183B9C 00180AFC 7C FD 3B 78 */ mr r29, r7
/* 80183BA0 00180B00 7D 1E 43 78 */ mr r30, r8
/* 80183BA4 00180B04 81 99 00 00 */ lwz r12, 0(r25)
/* 80183BA8 00180B08 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183BAC 00180B0C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183BB0 00180B10 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183BB4 00180B14 3C 03 B0 BE */ addis r0, r3, 0xb0be
/* 80183BB8 00180B18 28 00 54 47 */ cmplwi r0, 0x5447
/* 80183BBC 00180B1C 40 82 00 0C */ bne lbl_80183BC8
/* 80183BC0 00180B20 38 60 00 00 */ li r3, 0
/* 80183BC4 00180B24 48 00 02 C8 */ b lbl_80183E8C
lbl_80183BC8:
/* 80183BC8 00180B28 7F 24 CB 78 */ mr r4, r25
/* 80183BCC 00180B2C 7F 45 D3 78 */ mr r5, r26
/* 80183BD0 00180B30 81 99 00 00 */ lwz r12, 0(r25)
/* 80183BD4 00180B34 38 61 00 40 */ addi r3, r1, 0x40
/* 80183BD8 00180B38 3B E0 00 00 */ li r31, 0
/* 80183BDC 00180B3C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80183BE0 00180B40 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183BE4 00180B44 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183BE8 00180B48 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 80183BEC 00180B4C 7F 84 E3 78 */ mr r4, r28
/* 80183BF0 00180B50 C0 81 00 44 */ lfs f4, 0x44(r1)
/* 80183BF4 00180B54 38 61 00 70 */ addi r3, r1, 0x70
/* 80183BF8 00180B58 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 80183BFC 00180B5C C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 80183C00 00180B60 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 80183C04 00180B64 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80183C08 00180B68 D0 A1 00 70 */ stfs f5, 0x70(r1)
/* 80183C0C 00180B6C D0 81 00 74 */ stfs f4, 0x74(r1)
/* 80183C10 00180B70 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 80183C14 00180B74 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 80183C18 00180B78 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80183C1C 00180B7C D0 01 00 84 */ stfs f0, 0x84(r1)
/* 80183C20 00180B80 48 1B 3E 61 */ bl Inside__6CAABoxCFRC6CAABox
/* 80183C24 00180B84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183C28 00180B88 40 82 00 98 */ bne lbl_80183CC0
/* 80183C2C 00180B8C C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80183C30 00180B90 38 61 00 58 */ addi r3, r1, 0x58
/* 80183C34 00180B94 C0 82 A2 F0 */ lfs f4, lbl_805AC010@sda21(r2)
/* 80183C38 00180B98 38 81 00 24 */ addi r4, r1, 0x24
/* 80183C3C 00180B9C C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80183C40 00180BA0 38 A1 00 18 */ addi r5, r1, 0x18
/* 80183C44 00180BA4 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 80183C48 00180BA8 EC C2 20 2A */ fadds f6, f2, f4
/* 80183C4C 00180BAC C0 41 00 74 */ lfs f2, 0x74(r1)
/* 80183C50 00180BB0 EC A1 20 2A */ fadds f5, f1, f4
/* 80183C54 00180BB4 C0 21 00 78 */ lfs f1, 0x78(r1)
/* 80183C58 00180BB8 EC 60 20 2A */ fadds f3, f0, f4
/* 80183C5C 00180BBC C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80183C60 00180BC0 EC 42 20 28 */ fsubs f2, f2, f4
/* 80183C64 00180BC4 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 80183C68 00180BC8 EC 21 20 28 */ fsubs f1, f1, f4
/* 80183C6C 00180BCC EC 00 20 28 */ fsubs f0, f0, f4
/* 80183C70 00180BD0 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80183C74 00180BD4 D0 A1 00 20 */ stfs f5, 0x20(r1)
/* 80183C78 00180BD8 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80183C7C 00180BDC D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80183C80 00180BE0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80183C84 00180BE4 48 1B 48 85 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80183C88 00180BE8 7F 84 E3 78 */ mr r4, r28
/* 80183C8C 00180BEC 38 61 00 58 */ addi r3, r1, 0x58
/* 80183C90 00180BF0 48 1B 3E 79 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80183C94 00180BF4 38 61 00 58 */ addi r3, r1, 0x58
/* 80183C98 00180BF8 38 9C 00 0C */ addi r4, r28, 0xc
/* 80183C9C 00180BFC 48 1B 3E 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80183CA0 00180C00 7F 83 E3 78 */ mr r3, r28
/* 80183CA4 00180C04 38 81 00 58 */ addi r4, r1, 0x58
/* 80183CA8 00180C08 48 11 FC 3D */ bl SetCacheBounds__19CAreaCollisionCacheFRC6CAABox
/* 80183CAC 00180C0C 7F 63 DB 78 */ mr r3, r27
/* 80183CB0 00180C10 7F 84 E3 78 */ mr r4, r28
/* 80183CB4 00180C14 48 00 0A 11 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
/* 80183CB8 00180C18 38 60 00 00 */ li r3, 0
/* 80183CBC 00180C1C 4B F3 08 3D */ bl IsUser__Fi
lbl_80183CC0:
/* 80183CC0 00180C20 88 1C 1B 40 */ lbz r0, 0x1b40(r28)
/* 80183CC4 00180C24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80183CC8 00180C28 41 82 00 20 */ beq lbl_80183CE8
/* 80183CCC 00180C2C 7F 63 DB 78 */ mr r3, r27
/* 80183CD0 00180C30 7F 24 CB 78 */ mr r4, r25
/* 80183CD4 00180C34 7F 45 D3 78 */ mr r5, r26
/* 80183CD8 00180C38 7F A6 EB 78 */ mr r6, r29
/* 80183CDC 00180C3C 7F C7 F3 78 */ mr r7, r30
/* 80183CE0 00180C40 4B FF FC 01 */ bl DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80183CE4 00180C44 48 00 01 A8 */ b lbl_80183E8C
lbl_80183CE8:
/* 80183CE8 00180C48 7F 23 CB 78 */ mr r3, r25
/* 80183CEC 00180C4C 81 99 00 00 */ lwz r12, 0(r25)
/* 80183CF0 00180C50 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183CF4 00180C54 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183CF8 00180C58 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183CFC 00180C5C 3C 03 BE BF */ addis r0, r3, 0xbebf
/* 80183D00 00180C60 28 00 42 58 */ cmplwi r0, 0x4258
/* 80183D04 00180C64 40 82 00 64 */ bne lbl_80183D68
/* 80183D08 00180C68 7F 3A CB 78 */ mr r26, r25
/* 80183D0C 00180C6C 3B 7C 00 1C */ addi r27, r28, 0x1c
/* 80183D10 00180C70 3B 20 00 00 */ li r25, 0
/* 80183D14 00180C74 48 00 00 44 */ b lbl_80183D58
lbl_80183D18:
/* 80183D18 00180C78 7F 43 D3 78 */ mr r3, r26
/* 80183D1C 00180C7C 81 9A 00 00 */ lwz r12, 0(r26)
/* 80183D20 00180C80 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80183D24 00180C84 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183D28 00180C88 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183D2C 00180C8C 7C 66 1B 78 */ mr r6, r3
/* 80183D30 00180C90 7F 63 DB 78 */ mr r3, r27
/* 80183D34 00180C94 7F A5 EB 78 */ mr r5, r29
/* 80183D38 00180C98 7F C7 F3 78 */ mr r7, r30
/* 80183D3C 00180C9C 38 81 00 70 */ addi r4, r1, 0x70
/* 80183D40 00180CA0 48 12 2C FD */ bl AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList
/* 80183D44 00180CA4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183D48 00180CA8 41 82 00 08 */ beq lbl_80183D50
/* 80183D4C 00180CAC 3B E0 00 01 */ li r31, 1
lbl_80183D50:
/* 80183D50 00180CB0 3B 7B 09 0C */ addi r27, r27, 0x90c
/* 80183D54 00180CB4 3B 39 00 01 */ addi r25, r25, 1
lbl_80183D58:
/* 80183D58 00180CB8 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 80183D5C 00180CBC 7C 19 00 00 */ cmpw r25, r0
/* 80183D60 00180CC0 41 80 FF B8 */ blt lbl_80183D18
/* 80183D64 00180CC4 48 00 01 24 */ b lbl_80183E88
lbl_80183D68:
/* 80183D68 00180CC8 7F 23 CB 78 */ mr r3, r25
/* 80183D6C 00180CCC 81 99 00 00 */ lwz r12, 0(r25)
/* 80183D70 00180CD0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183D74 00180CD4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183D78 00180CD8 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183D7C 00180CDC 3C 03 AC B0 */ addis r0, r3, 0xacb0
/* 80183D80 00180CE0 28 00 48 52 */ cmplwi r0, 0x4852
/* 80183D84 00180CE4 40 82 00 94 */ bne lbl_80183E18
/* 80183D88 00180CE8 7F 24 CB 78 */ mr r4, r25
/* 80183D8C 00180CEC 7F 45 D3 78 */ mr r5, r26
/* 80183D90 00180CF0 38 61 00 08 */ addi r3, r1, 8
/* 80183D94 00180CF4 48 15 05 C1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
/* 80183D98 00180CF8 C0 61 00 08 */ lfs f3, 8(r1)
/* 80183D9C 00180CFC 3B 7C 00 1C */ addi r27, r28, 0x1c
/* 80183DA0 00180D00 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 80183DA4 00180D04 3B 40 00 00 */ li r26, 0
/* 80183DA8 00180D08 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 80183DAC 00180D0C C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80183DB0 00180D10 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80183DB4 00180D14 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80183DB8 00180D18 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 80183DBC 00180D1C D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80183DC0 00180D20 48 00 00 48 */ b lbl_80183E08
lbl_80183DC4:
/* 80183DC4 00180D24 7F 23 CB 78 */ mr r3, r25
/* 80183DC8 00180D28 81 99 00 00 */ lwz r12, 0(r25)
/* 80183DCC 00180D2C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80183DD0 00180D30 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183DD4 00180D34 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183DD8 00180D38 7C 66 1B 78 */ mr r6, r3
/* 80183DDC 00180D3C 7F 63 DB 78 */ mr r3, r27
/* 80183DE0 00180D40 7F A7 EB 78 */ mr r7, r29
/* 80183DE4 00180D44 7F C8 F3 78 */ mr r8, r30
/* 80183DE8 00180D48 38 81 00 70 */ addi r4, r1, 0x70
/* 80183DEC 00180D4C 38 A1 00 30 */ addi r5, r1, 0x30
/* 80183DF0 00180D50 48 12 22 45 */ bl SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList
/* 80183DF4 00180D54 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183DF8 00180D58 41 82 00 08 */ beq lbl_80183E00
/* 80183DFC 00180D5C 3B E0 00 01 */ li r31, 1
lbl_80183E00:
/* 80183E00 00180D60 3B 7B 09 0C */ addi r27, r27, 0x90c
/* 80183E04 00180D64 3B 5A 00 01 */ addi r26, r26, 1
lbl_80183E08:
/* 80183E08 00180D68 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 80183E0C 00180D6C 7C 1A 00 00 */ cmpw r26, r0
/* 80183E10 00180D70 41 80 FF B4 */ blt lbl_80183DC4
/* 80183E14 00180D74 48 00 00 74 */ b lbl_80183E88
lbl_80183E18:
/* 80183E18 00180D78 7F 23 CB 78 */ mr r3, r25
/* 80183E1C 00180D7C 81 99 00 00 */ lwz r12, 0(r25)
/* 80183E20 00180D80 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80183E24 00180D84 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183E28 00180D88 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183E2C 00180D8C 3C 03 BE BE */ addis r0, r3, 0xbebe
/* 80183E30 00180D90 28 00 53 48 */ cmplwi r0, 0x5348
/* 80183E34 00180D94 40 82 00 54 */ bne lbl_80183E88
/* 80183E38 00180D98 7F 63 DB 78 */ mr r3, r27
/* 80183E3C 00180D9C 7F 84 E3 78 */ mr r4, r28
/* 80183E40 00180DA0 7F 46 D3 78 */ mr r6, r26
/* 80183E44 00180DA4 7F A7 EB 78 */ mr r7, r29
/* 80183E48 00180DA8 7F C8 F3 78 */ mr r8, r30
/* 80183E4C 00180DAC 38 B9 00 10 */ addi r5, r25, 0x10
/* 80183E50 00180DB0 4B FF FD 29 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80183E54 00180DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183E58 00180DB8 41 82 00 08 */ beq lbl_80183E60
/* 80183E5C 00180DBC 3B E0 00 01 */ li r31, 1
lbl_80183E60:
/* 80183E60 00180DC0 7F 63 DB 78 */ mr r3, r27
/* 80183E64 00180DC4 7F 84 E3 78 */ mr r4, r28
/* 80183E68 00180DC8 7F 46 D3 78 */ mr r6, r26
/* 80183E6C 00180DCC 7F A7 EB 78 */ mr r7, r29
/* 80183E70 00180DD0 7F C8 F3 78 */ mr r8, r30
/* 80183E74 00180DD4 38 B9 00 38 */ addi r5, r25, 0x38
/* 80183E78 00180DD8 4B FF FD 01 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80183E7C 00180DDC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183E80 00180DE0 41 82 00 08 */ beq lbl_80183E88
/* 80183E84 00180DE4 3B E0 00 01 */ li r31, 1
lbl_80183E88:
/* 80183E88 00180DE8 7F E3 FB 78 */ mr r3, r31
lbl_80183E8C:
/* 80183E8C 00180DEC BB 21 00 94 */ lmw r25, 0x94(r1)
/* 80183E90 00180DF0 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80183E94 00180DF4 7C 08 03 A6 */ mtlr r0
/* 80183E98 00180DF8 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 80183E9C 00180DFC 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectDynamicCollision__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoListRC13CStateManager"
"DetectDynamicCollision__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoListRC13CStateManager":
/* 80183EA0 00180E00 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80183EA4 00180E04 7C 08 02 A6 */ mflr r0
/* 80183EA8 00180E08 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80183EAC 00180E0C BE C1 00 B8 */ stmw r22, 0xb8(r1)
/* 80183EB0 00180E10 7C B9 2B 78 */ mr r25, r5
/* 80183EB4 00180E14 7C 77 1B 78 */ mr r23, r3
/* 80183EB8 00180E18 7C 98 23 78 */ mr r24, r4
/* 80183EBC 00180E1C 7C DA 33 78 */ mr r26, r6
/* 80183EC0 00180E20 7C FB 3B 78 */ mr r27, r7
/* 80183EC4 00180E24 7D 1C 43 78 */ mr r28, r8
/* 80183EC8 00180E28 3B B9 00 04 */ addi r29, r25, 4
/* 80183ECC 00180E2C 3B E1 00 4C */ addi r31, r1, 0x4c
/* 80183ED0 00180E30 3B C1 00 84 */ addi r30, r1, 0x84
/* 80183ED4 00180E34 48 00 00 C0 */ b lbl_80183F94
lbl_80183ED8:
/* 80183ED8 00180E38 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80183EDC 00180E3C 7F 83 E3 78 */ mr r3, r28
/* 80183EE0 00180E40 38 81 00 08 */ addi r4, r1, 8
/* 80183EE4 00180E44 B0 01 00 08 */ sth r0, 8(r1)
/* 80183EE8 00180E48 4B EC 86 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80183EEC 00180E4C 7C 64 1B 78 */ mr r4, r3
/* 80183EF0 00180E50 38 61 00 0C */ addi r3, r1, 0xc
/* 80183EF4 00180E54 4B F2 87 F1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80183EF8 00180E58 82 C3 00 04 */ lwz r22, 4(r3)
/* 80183EFC 00180E5C 28 16 00 00 */ cmplwi r22, 0
/* 80183F00 00180E60 41 82 00 90 */ beq lbl_80183F90
/* 80183F04 00180E64 7E C4 B3 78 */ mr r4, r22
/* 80183F08 00180E68 38 61 00 14 */ addi r3, r1, 0x14
/* 80183F0C 00180E6C 81 96 00 00 */ lwz r12, 0(r22)
/* 80183F10 00180E70 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80183F14 00180E74 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183F18 00180E78 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80183F1C 00180E7C 7E C3 B3 78 */ mr r3, r22
/* 80183F20 00180E80 81 96 00 00 */ lwz r12, 0(r22)
/* 80183F24 00180E84 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80183F28 00180E88 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80183F2C 00180E8C 4E 80 04 21 */ bctrl
2022-08-16 21:46:30 +00:00
/* 80183F30 00180E90 3C 80 80 5A */ lis r4, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80183F34 00180E94 90 61 00 44 */ stw r3, 0x44(r1)
2022-08-16 21:46:30 +00:00
/* 80183F38 00180E98 38 04 FD 18 */ addi r0, r4, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 80183F3C 00180E9C 7F E3 FB 78 */ mr r3, r31
/* 80183F40 00180EA0 90 01 00 48 */ stw r0, 0x48(r1)
/* 80183F44 00180EA4 38 81 00 14 */ addi r4, r1, 0x14
/* 80183F48 00180EA8 48 18 EC 2D */ bl __ct__12CTransform4fFRC12CTransform4f
2022-08-16 21:46:30 +00:00
/* 80183F4C 00180EAC 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80183F50 00180EB0 92 E1 00 7C */ stw r23, 0x7c(r1)
2022-08-16 21:46:30 +00:00
/* 80183F54 00180EB4 38 03 FD 18 */ addi r0, r3, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 80183F58 00180EB8 7F C3 F3 78 */ mr r3, r30
/* 80183F5C 00180EBC 90 01 00 80 */ stw r0, 0x80(r1)
/* 80183F60 00180EC0 7F 04 C3 78 */ mr r4, r24
/* 80183F64 00180EC4 48 18 EC 11 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80183F68 00180EC8 7F 65 DB 78 */ mr r5, r27
/* 80183F6C 00180ECC 38 61 00 7C */ addi r3, r1, 0x7c
/* 80183F70 00180ED0 38 81 00 44 */ addi r4, r1, 0x44
/* 80183F74 00180ED4 48 14 A8 3D */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList
/* 80183F78 00180ED8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80183F7C 00180EDC 41 82 00 14 */ beq lbl_80183F90
/* 80183F80 00180EE0 A0 16 00 08 */ lhz r0, 8(r22)
/* 80183F84 00180EE4 38 60 00 01 */ li r3, 1
/* 80183F88 00180EE8 B0 1A 00 00 */ sth r0, 0(r26)
/* 80183F8C 00180EEC 48 00 00 2C */ b lbl_80183FB8
lbl_80183F90:
/* 80183F90 00180EF0 3B BD 00 02 */ addi r29, r29, 2
lbl_80183F94:
/* 80183F94 00180EF4 80 19 00 00 */ lwz r0, 0(r25)
/* 80183F98 00180EF8 54 00 08 3C */ slwi r0, r0, 1
/* 80183F9C 00180EFC 7C 79 02 14 */ add r3, r25, r0
/* 80183FA0 00180F00 38 03 00 04 */ addi r0, r3, 4
/* 80183FA4 00180F04 7C 1D 00 40 */ cmplw r29, r0
/* 80183FA8 00180F08 40 82 FF 30 */ bne lbl_80183ED8
2022-04-24 01:54:45 +00:00
/* 80183FAC 00180F0C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80183FB0 00180F10 38 60 00 00 */ li r3, 0
/* 80183FB4 00180F14 B0 1A 00 00 */ sth r0, 0(r26)
lbl_80183FB8:
/* 80183FB8 00180F18 BA C1 00 B8 */ lmw r22, 0xb8(r1)
/* 80183FBC 00180F1C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80183FC0 00180F20 7C 08 03 A6 */ mtlr r0
/* 80183FC4 00180F24 38 21 00 E0 */ addi r1, r1, 0xe0
2022-07-14 05:48:03 +00:00
/* 80183FC8 00180F28 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager"
"DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager":
/* 80183FCC 00180F2C 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80183FD0 00180F30 7C 08 02 A6 */ mflr r0
/* 80183FD4 00180F34 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80183FD8 00180F38 BF 01 00 C0 */ stmw r24, 0xc0(r1)
/* 80183FDC 00180F3C 7C BB 2B 78 */ mr r27, r5
/* 80183FE0 00180F40 7C 79 1B 78 */ mr r25, r3
/* 80183FE4 00180F44 7C 9A 23 78 */ mr r26, r4
/* 80183FE8 00180F48 7C DC 33 78 */ mr r28, r6
/* 80183FEC 00180F4C 3B BB 00 04 */ addi r29, r27, 4
/* 80183FF0 00180F50 3B E1 00 4C */ addi r31, r1, 0x4c
/* 80183FF4 00180F54 3B C1 00 84 */ addi r30, r1, 0x84
/* 80183FF8 00180F58 48 00 00 B4 */ b lbl_801840AC
lbl_80183FFC:
/* 80183FFC 00180F5C A0 1D 00 00 */ lhz r0, 0(r29)
/* 80184000 00180F60 7F 83 E3 78 */ mr r3, r28
/* 80184004 00180F64 38 81 00 08 */ addi r4, r1, 8
/* 80184008 00180F68 B0 01 00 08 */ sth r0, 8(r1)
/* 8018400C 00180F6C 4B EC 85 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80184010 00180F70 7C 64 1B 78 */ mr r4, r3
/* 80184014 00180F74 38 61 00 0C */ addi r3, r1, 0xc
/* 80184018 00180F78 4B F2 86 CD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 8018401C 00180F7C 83 03 00 04 */ lwz r24, 4(r3)
/* 80184020 00180F80 28 18 00 00 */ cmplwi r24, 0
/* 80184024 00180F84 41 82 00 84 */ beq lbl_801840A8
/* 80184028 00180F88 7F 04 C3 78 */ mr r4, r24
/* 8018402C 00180F8C 38 61 00 14 */ addi r3, r1, 0x14
/* 80184030 00180F90 81 98 00 00 */ lwz r12, 0(r24)
/* 80184034 00180F94 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80184038 00180F98 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8018403C 00180F9C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184040 00180FA0 7F 03 C3 78 */ mr r3, r24
/* 80184044 00180FA4 81 98 00 00 */ lwz r12, 0(r24)
/* 80184048 00180FA8 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8018404C 00180FAC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184050 00180FB0 4E 80 04 21 */ bctrl
2022-08-16 21:46:30 +00:00
/* 80184054 00180FB4 3C 80 80 5A */ lis r4, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80184058 00180FB8 90 61 00 44 */ stw r3, 0x44(r1)
2022-08-16 21:46:30 +00:00
/* 8018405C 00180FBC 38 04 FD 18 */ addi r0, r4, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 80184060 00180FC0 7F E3 FB 78 */ mr r3, r31
/* 80184064 00180FC4 90 01 00 48 */ stw r0, 0x48(r1)
/* 80184068 00180FC8 38 81 00 14 */ addi r4, r1, 0x14
/* 8018406C 00180FCC 48 18 EB 09 */ bl __ct__12CTransform4fFRC12CTransform4f
2022-08-16 21:46:30 +00:00
/* 80184070 00180FD0 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80184074 00180FD4 93 21 00 7C */ stw r25, 0x7c(r1)
2022-08-16 21:46:30 +00:00
/* 80184078 00180FD8 38 03 FD 18 */ addi r0, r3, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 8018407C 00180FDC 7F C3 F3 78 */ mr r3, r30
/* 80184080 00180FE0 90 01 00 80 */ stw r0, 0x80(r1)
/* 80184084 00180FE4 7F 44 D3 78 */ mr r4, r26
/* 80184088 00180FE8 48 18 EA ED */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8018408C 00180FEC 38 61 00 7C */ addi r3, r1, 0x7c
/* 80184090 00180FF0 38 81 00 44 */ addi r4, r1, 0x44
/* 80184094 00180FF4 48 14 A7 99 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc
/* 80184098 00180FF8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018409C 00180FFC 41 82 00 0C */ beq lbl_801840A8
/* 801840A0 00181000 38 60 00 01 */ li r3, 1
/* 801840A4 00181004 48 00 00 24 */ b lbl_801840C8
lbl_801840A8:
/* 801840A8 00181008 3B BD 00 02 */ addi r29, r29, 2
lbl_801840AC:
/* 801840AC 0018100C 80 1B 00 00 */ lwz r0, 0(r27)
/* 801840B0 00181010 54 00 08 3C */ slwi r0, r0, 1
/* 801840B4 00181014 7C 7B 02 14 */ add r3, r27, r0
/* 801840B8 00181018 38 03 00 04 */ addi r0, r3, 4
/* 801840BC 0018101C 7C 1D 00 40 */ cmplw r29, r0
/* 801840C0 00181020 40 82 FF 3C */ bne lbl_80183FFC
/* 801840C4 00181024 38 60 00 00 */ li r3, 0
lbl_801840C8:
/* 801840C8 00181028 BB 01 00 C0 */ lmw r24, 0xc0(r1)
/* 801840CC 0018102C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 801840D0 00181030 7C 08 03 A6 */ mtlr r0
/* 801840D4 00181034 38 21 00 E0 */ addi r1, r1, 0xe0
2022-07-14 05:48:03 +00:00
/* 801840D8 00181038 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectDynamicCollisionMoving__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRdRC13CStateManager"
"DetectDynamicCollisionMoving__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRdRC13CStateManager":
/* 801840DC 0018103C 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 801840E0 00181040 7C 08 02 A6 */ mflr r0
/* 801840E4 00181044 90 01 01 64 */ stw r0, 0x164(r1)
/* 801840E8 00181048 BE 61 01 2C */ stmw r19, 0x12c(r1)
/* 801840EC 0018104C 7C B5 2B 78 */ mr r21, r5
/* 801840F0 00181050 7C 73 1B 78 */ mr r19, r3
/* 801840F4 00181054 7C 94 23 78 */ mr r20, r4
/* 801840F8 00181058 7C D6 33 78 */ mr r22, r6
/* 801840FC 0018105C 7C F7 3B 78 */ mr r23, r7
/* 80184100 00181060 7D 18 43 78 */ mr r24, r8
/* 80184104 00181064 7D 39 4B 78 */ mr r25, r9
/* 80184108 00181068 7D 5A 53 78 */ mr r26, r10
/* 8018410C 0018106C 3B 95 00 04 */ addi r28, r21, 4
/* 80184110 00181070 3B E1 00 58 */ addi r31, r1, 0x58
/* 80184114 00181074 3B C1 00 90 */ addi r30, r1, 0x90
/* 80184118 00181078 3B A0 00 00 */ li r29, 0
/* 8018411C 0018107C 48 00 01 A0 */ b lbl_801842BC
lbl_80184120:
/* 80184120 00181080 A0 1C 00 00 */ lhz r0, 0(r28)
/* 80184124 00181084 7F 43 D3 78 */ mr r3, r26
/* 80184128 00181088 38 81 00 08 */ addi r4, r1, 8
/* 8018412C 0018108C B0 01 00 08 */ sth r0, 8(r1)
/* 80184130 00181090 4B EC 84 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80184134 00181094 7C 64 1B 78 */ mr r4, r3
/* 80184138 00181098 38 61 00 0C */ addi r3, r1, 0xc
/* 8018413C 0018109C 4B F2 85 A9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80184140 001810A0 83 63 00 04 */ lwz r27, 4(r3)
/* 80184144 001810A4 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80184148 001810A8 C8 19 00 00 */ lfd f0, 0(r25)
/* 8018414C 001810AC 38 80 00 00 */ li r4, 0
/* 80184150 001810B0 D8 01 00 18 */ stfd f0, 0x18(r1)
/* 80184154 001810B4 48 14 A0 35 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid
/* 80184158 001810B8 28 1B 00 00 */ cmplwi r27, 0
/* 8018415C 001810BC 41 82 01 5C */ beq lbl_801842B8
/* 80184160 001810C0 7F 64 DB 78 */ mr r4, r27
/* 80184164 001810C4 38 61 00 20 */ addi r3, r1, 0x20
/* 80184168 001810C8 81 9B 00 00 */ lwz r12, 0(r27)
/* 8018416C 001810CC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80184170 001810D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184174 001810D4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184178 001810D8 7F 63 DB 78 */ mr r3, r27
/* 8018417C 001810DC 81 9B 00 00 */ lwz r12, 0(r27)
/* 80184180 001810E0 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80184184 001810E4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184188 001810E8 4E 80 04 21 */ bctrl
2022-08-16 21:46:30 +00:00
/* 8018418C 001810EC 3C 80 80 5A */ lis r4, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 80184190 001810F0 90 61 00 50 */ stw r3, 0x50(r1)
2022-08-16 21:46:30 +00:00
/* 80184194 001810F4 38 04 FD 18 */ addi r0, r4, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 80184198 001810F8 7F E3 FB 78 */ mr r3, r31
/* 8018419C 001810FC 90 01 00 54 */ stw r0, 0x54(r1)
/* 801841A0 00181100 38 81 00 20 */ addi r4, r1, 0x20
/* 801841A4 00181104 48 18 E9 D1 */ bl __ct__12CTransform4fFRC12CTransform4f
2022-08-16 21:46:30 +00:00
/* 801841A8 00181108 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-13 08:02:06 +00:00
/* 801841AC 0018110C 92 61 00 88 */ stw r19, 0x88(r1)
2022-08-16 21:46:30 +00:00
/* 801841B0 00181110 38 03 FD 18 */ addi r0, r3, skPassEverything__15CMaterialFilter@l
2022-04-13 08:02:06 +00:00
/* 801841B4 00181114 7F C3 F3 78 */ mr r3, r30
/* 801841B8 00181118 90 01 00 8C */ stw r0, 0x8c(r1)
/* 801841BC 0018111C 7E 84 A3 78 */ mr r4, r20
/* 801841C0 00181120 48 18 E9 B5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801841C4 00181124 7E C5 B3 78 */ mr r5, r22
/* 801841C8 00181128 38 61 00 88 */ addi r3, r1, 0x88
/* 801841CC 0018112C 38 81 00 50 */ addi r4, r1, 0x50
/* 801841D0 00181130 38 C1 00 18 */ addi r6, r1, 0x18
/* 801841D4 00181134 38 E1 00 C0 */ addi r7, r1, 0xc0
/* 801841D8 00181138 48 14 A5 3D */ bl CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo
/* 801841DC 0018113C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801841E0 00181140 41 82 00 D8 */ beq lbl_801842B8
/* 801841E4 00181144 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 801841E8 00181148 C8 19 00 00 */ lfd f0, 0(r25)
/* 801841EC 0018114C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801841F0 00181150 40 80 00 C8 */ bge lbl_801842B8
/* 801841F4 00181154 80 61 00 C0 */ lwz r3, 0xc0(r1)
/* 801841F8 00181158 3B A0 00 01 */ li r29, 1
/* 801841FC 0018115C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80184200 00181160 90 78 00 00 */ stw r3, 0(r24)
/* 80184204 00181164 90 18 00 04 */ stw r0, 4(r24)
/* 80184208 00181168 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8018420C 0018116C 90 18 00 08 */ stw r0, 8(r24)
/* 80184210 00181170 80 61 00 CC */ lwz r3, 0xcc(r1)
/* 80184214 00181174 80 01 00 D0 */ lwz r0, 0xd0(r1)
/* 80184218 00181178 90 78 00 0C */ stw r3, 0xc(r24)
/* 8018421C 0018117C 90 18 00 10 */ stw r0, 0x10(r24)
/* 80184220 00181180 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80184224 00181184 90 18 00 14 */ stw r0, 0x14(r24)
/* 80184228 00181188 80 61 00 D8 */ lwz r3, 0xd8(r1)
/* 8018422C 0018118C 80 01 00 DC */ lwz r0, 0xdc(r1)
/* 80184230 00181190 90 78 00 18 */ stw r3, 0x18(r24)
/* 80184234 00181194 90 18 00 1C */ stw r0, 0x1c(r24)
/* 80184238 00181198 80 01 00 E0 */ lwz r0, 0xe0(r1)
/* 8018423C 0018119C 90 18 00 20 */ stw r0, 0x20(r24)
/* 80184240 001811A0 80 61 00 E4 */ lwz r3, 0xe4(r1)
/* 80184244 001811A4 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 80184248 001811A8 90 78 00 24 */ stw r3, 0x24(r24)
/* 8018424C 001811AC 90 18 00 28 */ stw r0, 0x28(r24)
/* 80184250 001811B0 80 01 00 EC */ lwz r0, 0xec(r1)
/* 80184254 001811B4 90 18 00 2C */ stw r0, 0x2c(r24)
/* 80184258 001811B8 88 01 00 F0 */ lbz r0, 0xf0(r1)
/* 8018425C 001811BC 98 18 00 30 */ stb r0, 0x30(r24)
/* 80184260 001811C0 88 01 00 F1 */ lbz r0, 0xf1(r1)
/* 80184264 001811C4 98 18 00 31 */ stb r0, 0x31(r24)
/* 80184268 001811C8 C8 01 00 F8 */ lfd f0, 0xf8(r1)
/* 8018426C 001811CC D8 18 00 38 */ stfd f0, 0x38(r24)
/* 80184270 001811D0 C8 01 01 00 */ lfd f0, 0x100(r1)
/* 80184274 001811D4 D8 18 00 40 */ stfd f0, 0x40(r24)
/* 80184278 001811D8 80 61 01 08 */ lwz r3, 0x108(r1)
/* 8018427C 001811DC 80 01 01 0C */ lwz r0, 0x10c(r1)
/* 80184280 001811E0 90 78 00 48 */ stw r3, 0x48(r24)
/* 80184284 001811E4 90 18 00 4C */ stw r0, 0x4c(r24)
/* 80184288 001811E8 80 01 01 10 */ lwz r0, 0x110(r1)
/* 8018428C 001811EC 90 18 00 50 */ stw r0, 0x50(r24)
/* 80184290 001811F0 80 61 01 14 */ lwz r3, 0x114(r1)
/* 80184294 001811F4 80 01 01 18 */ lwz r0, 0x118(r1)
/* 80184298 001811F8 90 78 00 54 */ stw r3, 0x54(r24)
/* 8018429C 001811FC 90 18 00 58 */ stw r0, 0x58(r24)
/* 801842A0 00181200 80 01 01 1C */ lwz r0, 0x11c(r1)
/* 801842A4 00181204 90 18 00 5C */ stw r0, 0x5c(r24)
/* 801842A8 00181208 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 801842AC 0018120C D8 19 00 00 */ stfd f0, 0(r25)
/* 801842B0 00181210 A0 1B 00 08 */ lhz r0, 8(r27)
/* 801842B4 00181214 B0 17 00 00 */ sth r0, 0(r23)
lbl_801842B8:
/* 801842B8 00181218 3B 9C 00 02 */ addi r28, r28, 2
lbl_801842BC:
/* 801842BC 0018121C 80 15 00 00 */ lwz r0, 0(r21)
/* 801842C0 00181220 54 00 08 3C */ slwi r0, r0, 1
/* 801842C4 00181224 7C 75 02 14 */ add r3, r21, r0
/* 801842C8 00181228 38 03 00 04 */ addi r0, r3, 4
/* 801842CC 0018122C 7C 1C 00 40 */ cmplw r28, r0
/* 801842D0 00181230 40 82 FE 50 */ bne lbl_80184120
/* 801842D4 00181234 7F A3 EB 78 */ mr r3, r29
/* 801842D8 00181238 BA 61 01 2C */ lmw r19, 0x12c(r1)
/* 801842DC 0018123C 80 01 01 64 */ lwz r0, 0x164(r1)
/* 801842E0 00181240 7C 08 03 A6 */ mtlr r0
/* 801842E4 00181244 38 21 01 60 */ addi r1, r1, 0x160
2022-07-14 05:48:03 +00:00
/* 801842E8 00181248 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd"
"DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd":
/* 801842EC 0018124C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 801842F0 00181250 7C 08 02 A6 */ mflr r0
/* 801842F4 00181254 90 01 00 54 */ stw r0, 0x54(r1)
/* 801842F8 00181258 38 00 00 40 */ li r0, 0x40
/* 801842FC 0018125C BE E1 00 2C */ stmw r23, 0x2c(r1)
/* 80184300 00181260 7D 5C 53 78 */ mr r28, r10
/* 80184304 00181264 39 40 00 00 */ li r10, 0
/* 80184308 00181268 7D 1A 43 78 */ mr r26, r8
/* 8018430C 0018126C 83 A1 00 58 */ lwz r29, 0x58(r1)
/* 80184310 00181270 7C 77 1B 78 */ mr r23, r3
/* 80184314 00181274 83 C1 00 5C */ lwz r30, 0x5c(r1)
/* 80184318 00181278 7C B8 2B 78 */ mr r24, r5
/* 8018431C 0018127C 7C D9 33 78 */ mr r25, r6
/* 80184320 00181280 7D 3B 4B 78 */ mr r27, r9
/* 80184324 00181284 3B E0 00 00 */ li r31, 0
2022-04-24 01:54:45 +00:00
/* 80184328 00181288 A1 6D A3 8C */ lhz r11, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 8018432C 0018128C B1 7C 00 00 */ sth r11, 0(r28)
/* 80184330 00181290 81 67 00 08 */ lwz r11, 8(r7)
/* 80184334 00181294 81 87 00 0C */ lwz r12, 0xc(r7)
/* 80184338 00181298 7D 60 00 38 */ and r0, r11, r0
/* 8018433C 0018129C 7D 88 50 38 */ and r8, r12, r10
/* 80184340 001812A0 7D 08 52 78 */ xor r8, r8, r10
/* 80184344 001812A4 7C 00 52 78 */ xor r0, r0, r10
/* 80184348 001812A8 7D 00 03 79 */ or. r0, r8, r0
/* 8018434C 001812AC 40 82 00 38 */ bne lbl_80184384
/* 80184350 001812B0 81 9B 00 00 */ lwz r12, 0(r27)
/* 80184354 001812B4 7F A9 EB 78 */ mr r9, r29
/* 80184358 001812B8 81 7B 00 04 */ lwz r11, 4(r27)
/* 8018435C 001812BC 7F CA F3 78 */ mr r10, r30
/* 80184360 001812C0 80 1B 00 08 */ lwz r0, 8(r27)
/* 80184364 001812C4 39 01 00 14 */ addi r8, r1, 0x14
/* 80184368 001812C8 91 81 00 14 */ stw r12, 0x14(r1)
/* 8018436C 001812CC 91 61 00 18 */ stw r11, 0x18(r1)
/* 80184370 001812D0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80184374 001812D4 4B FF EA 91 */ bl DetectStaticCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter9CVector3fR14CCollisionInfoRd
/* 80184378 001812D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018437C 001812DC 41 82 00 08 */ beq lbl_80184384
/* 80184380 001812E0 3B E0 00 01 */ li r31, 1
lbl_80184384:
/* 80184384 001812E4 80 FB 00 00 */ lwz r7, 0(r27)
/* 80184388 001812E8 7F 03 C3 78 */ mr r3, r24
/* 8018438C 001812EC 80 DB 00 04 */ lwz r6, 4(r27)
/* 80184390 001812F0 7F 24 CB 78 */ mr r4, r25
/* 80184394 001812F4 80 1B 00 08 */ lwz r0, 8(r27)
/* 80184398 001812F8 7F 45 D3 78 */ mr r5, r26
/* 8018439C 001812FC 90 E1 00 08 */ stw r7, 8(r1)
/* 801843A0 00181300 7F 87 E3 78 */ mr r7, r28
/* 801843A4 00181304 7F A8 EB 78 */ mr r8, r29
/* 801843A8 00181308 7F C9 F3 78 */ mr r9, r30
/* 801843AC 0018130C 90 C1 00 0C */ stw r6, 0xc(r1)
/* 801843B0 00181310 7E EA BB 78 */ mr r10, r23
/* 801843B4 00181314 38 C1 00 08 */ addi r6, r1, 8
/* 801843B8 00181318 90 01 00 10 */ stw r0, 0x10(r1)
/* 801843BC 0018131C 4B FF FD 21 */ bl "DetectDynamicCollisionMoving__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRdRC13CStateManager"
/* 801843C0 00181320 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801843C4 00181324 41 82 00 08 */ beq lbl_801843CC
/* 801843C8 00181328 3B E0 00 01 */ li r31, 1
lbl_801843CC:
/* 801843CC 0018132C 7F E3 FB 78 */ mr r3, r31
/* 801843D0 00181330 BA E1 00 2C */ lmw r23, 0x2c(r1)
/* 801843D4 00181334 80 01 00 54 */ lwz r0, 0x54(r1)
/* 801843D8 00181338 7C 08 03 A6 */ mtlr r0
/* 801843DC 0018133C 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 801843E0 00181340 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
"DetectCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList":
/* 801843E4 00181344 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801843E8 00181348 7C 08 02 A6 */ mflr r0
/* 801843EC 0018134C 90 01 00 34 */ stw r0, 0x34(r1)
/* 801843F0 00181350 38 00 00 40 */ li r0, 0x40
/* 801843F4 00181354 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 801843F8 00181358 7D 3D 4B 78 */ mr r29, r9
/* 801843FC 0018135C 7D 1C 43 78 */ mr r28, r8
/* 80184400 00181360 39 20 00 00 */ li r9, 0
/* 80184404 00181364 7C 79 1B 78 */ mr r25, r3
/* 80184408 00181368 7C BA 2B 78 */ mr r26, r5
/* 8018440C 0018136C 7C DB 33 78 */ mr r27, r6
/* 80184410 00181370 7D 5E 53 78 */ mr r30, r10
/* 80184414 00181374 3B E0 00 00 */ li r31, 0
2022-04-24 01:54:45 +00:00
/* 80184418 00181378 A1 6D A3 8C */ lhz r11, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 8018441C 0018137C B1 7D 00 00 */ sth r11, 0(r29)
/* 80184420 00181380 81 67 00 08 */ lwz r11, 8(r7)
/* 80184424 00181384 81 07 00 0C */ lwz r8, 0xc(r7)
/* 80184428 00181388 7D 60 00 38 */ and r0, r11, r0
/* 8018442C 0018138C 7D 08 48 38 */ and r8, r8, r9
/* 80184430 00181390 7D 08 4A 78 */ xor r8, r8, r9
/* 80184434 00181394 7C 00 4A 78 */ xor r0, r0, r9
/* 80184438 00181398 7D 00 03 79 */ or. r0, r8, r0
/* 8018443C 0018139C 40 82 00 18 */ bne lbl_80184454
/* 80184440 001813A0 7F C8 F3 78 */ mr r8, r30
/* 80184444 001813A4 4B FF F7 35 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80184448 001813A8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018444C 001813AC 41 82 00 08 */ beq lbl_80184454
/* 80184450 001813B0 3B E0 00 01 */ li r31, 1
lbl_80184454:
2022-04-24 01:54:45 +00:00
/* 80184454 001813B4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80184458 001813B8 7F 43 D3 78 */ mr r3, r26
/* 8018445C 001813BC 7F 64 DB 78 */ mr r4, r27
/* 80184460 001813C0 7F 85 E3 78 */ mr r5, r28
/* 80184464 001813C4 B0 01 00 08 */ sth r0, 8(r1)
/* 80184468 001813C8 7F C7 F3 78 */ mr r7, r30
/* 8018446C 001813CC 7F 28 CB 78 */ mr r8, r25
/* 80184470 001813D0 38 C1 00 08 */ addi r6, r1, 8
/* 80184474 001813D4 4B FF FA 2D */ bl "DetectDynamicCollision__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoListRC13CStateManager"
/* 80184478 001813D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018447C 001813DC 41 82 00 10 */ beq lbl_8018448C
/* 80184480 001813E0 A0 01 00 08 */ lhz r0, 8(r1)
/* 80184484 001813E4 3B E0 00 01 */ li r31, 1
/* 80184488 001813E8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8018448C:
/* 8018448C 001813EC 7F E3 FB 78 */ mr r3, r31
/* 80184490 001813F0 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 80184494 001813F4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80184498 001813F8 7C 08 03 A6 */ mtlr r0
/* 8018449C 001813FC 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801844A0 00181400 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList"
"DetectCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList":
/* 801844A4 00181404 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801844A8 00181408 7C 08 02 A6 */ mflr r0
/* 801844AC 0018140C 90 01 00 34 */ stw r0, 0x34(r1)
/* 801844B0 00181410 38 00 00 40 */ li r0, 0x40
/* 801844B4 00181414 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 801844B8 00181418 7D 1D 43 78 */ mr r29, r8
/* 801844BC 0018141C 7C FC 3B 78 */ mr r28, r7
/* 801844C0 00181420 39 00 00 00 */ li r8, 0
/* 801844C4 00181424 7C 79 1B 78 */ mr r25, r3
/* 801844C8 00181428 7C 9A 23 78 */ mr r26, r4
/* 801844CC 0018142C 7C BB 2B 78 */ mr r27, r5
/* 801844D0 00181430 7D 3E 4B 78 */ mr r30, r9
/* 801844D4 00181434 3B E0 00 00 */ li r31, 0
2022-04-24 01:54:45 +00:00
/* 801844D8 00181438 A1 4D A3 8C */ lhz r10, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 801844DC 0018143C B1 5D 00 00 */ sth r10, 0(r29)
/* 801844E0 00181440 81 46 00 08 */ lwz r10, 8(r6)
/* 801844E4 00181444 80 E6 00 0C */ lwz r7, 0xc(r6)
/* 801844E8 00181448 7D 40 00 38 */ and r0, r10, r0
/* 801844EC 0018144C 7C E7 40 38 */ and r7, r7, r8
/* 801844F0 00181450 7C E7 42 78 */ xor r7, r7, r8
/* 801844F4 00181454 7C 00 42 78 */ xor r0, r0, r8
/* 801844F8 00181458 7C E0 03 79 */ or. r0, r7, r0
/* 801844FC 0018145C 40 82 00 18 */ bne lbl_80184514
/* 80184500 00181460 7F C7 F3 78 */ mr r7, r30
/* 80184504 00181464 4B FF F3 DD */ bl DetectStaticCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList
/* 80184508 00181468 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018450C 0018146C 41 82 00 08 */ beq lbl_80184514
/* 80184510 00181470 3B E0 00 01 */ li r31, 1
lbl_80184514:
2022-04-24 01:54:45 +00:00
/* 80184514 00181474 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-13 08:02:06 +00:00
/* 80184518 00181478 7F 43 D3 78 */ mr r3, r26
/* 8018451C 0018147C 7F 64 DB 78 */ mr r4, r27
/* 80184520 00181480 7F 85 E3 78 */ mr r5, r28
/* 80184524 00181484 B0 01 00 08 */ sth r0, 8(r1)
/* 80184528 00181488 7F C7 F3 78 */ mr r7, r30
/* 8018452C 0018148C 7F 28 CB 78 */ mr r8, r25
/* 80184530 00181490 38 C1 00 08 */ addi r6, r1, 8
/* 80184534 00181494 4B FF F9 6D */ bl "DetectDynamicCollision__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoListRC13CStateManager"
/* 80184538 00181498 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8018453C 0018149C 41 82 00 10 */ beq lbl_8018454C
/* 80184540 001814A0 A0 01 00 08 */ lhz r0, 8(r1)
/* 80184544 001814A4 3B E0 00 01 */ li r31, 1
/* 80184548 001814A8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8018454C:
/* 8018454C 001814AC 7F E3 FB 78 */ mr r3, r31
/* 80184550 001814B0 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 80184554 001814B4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80184558 001814B8 7C 08 03 A6 */ mtlr r0
/* 8018455C 001814BC 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80184560 001814C0 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
"DetectCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80184564 001814C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80184568 001814C8 7C 08 02 A6 */ mflr r0
/* 8018456C 001814CC 39 40 00 00 */ li r10, 0
/* 80184570 001814D0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80184574 001814D4 38 00 00 40 */ li r0, 0x40
/* 80184578 001814D8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8018457C 001814DC 7D 1F 43 78 */ mr r31, r8
/* 80184580 001814E0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80184584 001814E4 7C DE 33 78 */ mr r30, r6
/* 80184588 001814E8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8018458C 001814EC 7C BD 2B 78 */ mr r29, r5
/* 80184590 001814F0 93 81 00 10 */ stw r28, 0x10(r1)
/* 80184594 001814F4 7C 7C 1B 78 */ mr r28, r3
/* 80184598 001814F8 81 27 00 08 */ lwz r9, 8(r7)
/* 8018459C 001814FC 81 67 00 0C */ lwz r11, 0xc(r7)
/* 801845A0 00181500 7D 20 00 38 */ and r0, r9, r0
/* 801845A4 00181504 7D 69 50 38 */ and r9, r11, r10
/* 801845A8 00181508 7D 29 52 78 */ xor r9, r9, r10
/* 801845AC 0018150C 7C 00 52 78 */ xor r0, r0, r10
/* 801845B0 00181510 7D 20 03 79 */ or. r0, r9, r0
/* 801845B4 00181514 40 82 00 18 */ bne lbl_801845CC
/* 801845B8 00181518 4B FF F0 41 */ bl DetectStaticCollisionBoolean_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 801845BC 0018151C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801845C0 00181520 41 82 00 0C */ beq lbl_801845CC
/* 801845C4 00181524 38 60 00 01 */ li r3, 1
/* 801845C8 00181528 48 00 00 2C */ b lbl_801845F4
lbl_801845CC:
/* 801845CC 0018152C 7F A3 EB 78 */ mr r3, r29
/* 801845D0 00181530 7F C4 F3 78 */ mr r4, r30
/* 801845D4 00181534 7F E5 FB 78 */ mr r5, r31
/* 801845D8 00181538 7F 86 E3 78 */ mr r6, r28
/* 801845DC 0018153C 4B FF F9 F1 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager"
/* 801845E0 00181540 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801845E4 00181544 41 82 00 0C */ beq lbl_801845F0
/* 801845E8 00181548 38 60 00 01 */ li r3, 1
/* 801845EC 0018154C 48 00 00 08 */ b lbl_801845F4
lbl_801845F0:
/* 801845F0 00181550 38 60 00 00 */ li r3, 0
lbl_801845F4:
/* 801845F4 00181554 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801845F8 00181558 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801845FC 0018155C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80184600 00181560 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80184604 00181564 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80184608 00181568 7C 08 03 A6 */ mtlr r0
/* 8018460C 0018156C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80184610 00181570 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "DetectCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
"DetectCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80184614 00181574 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80184618 00181578 7C 08 02 A6 */ mflr r0
/* 8018461C 0018157C 39 20 00 00 */ li r9, 0
/* 80184620 00181580 90 01 00 24 */ stw r0, 0x24(r1)
/* 80184624 00181584 38 00 00 40 */ li r0, 0x40
/* 80184628 00181588 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8018462C 0018158C 7C FF 3B 78 */ mr r31, r7
/* 80184630 00181590 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80184634 00181594 7C BE 2B 78 */ mr r30, r5
/* 80184638 00181598 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8018463C 0018159C 7C 9D 23 78 */ mr r29, r4
/* 80184640 001815A0 93 81 00 10 */ stw r28, 0x10(r1)
/* 80184644 001815A4 7C 7C 1B 78 */ mr r28, r3
/* 80184648 001815A8 81 06 00 08 */ lwz r8, 8(r6)
/* 8018464C 001815AC 81 46 00 0C */ lwz r10, 0xc(r6)
/* 80184650 001815B0 7D 00 00 38 */ and r0, r8, r0
/* 80184654 001815B4 7D 48 48 38 */ and r8, r10, r9
/* 80184658 001815B8 7D 08 4A 78 */ xor r8, r8, r9
/* 8018465C 001815BC 7C 00 4A 78 */ xor r0, r0, r9
/* 80184660 001815C0 7D 00 03 79 */ or. r0, r8, r0
/* 80184664 001815C4 40 82 00 18 */ bne lbl_8018467C
/* 80184668 001815C8 4B FF ED 39 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter
/* 8018466C 001815CC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80184670 001815D0 41 82 00 0C */ beq lbl_8018467C
/* 80184674 001815D4 38 60 00 01 */ li r3, 1
/* 80184678 001815D8 48 00 00 2C */ b lbl_801846A4
lbl_8018467C:
/* 8018467C 001815DC 7F A3 EB 78 */ mr r3, r29
/* 80184680 001815E0 7F C4 F3 78 */ mr r4, r30
/* 80184684 001815E4 7F E5 FB 78 */ mr r5, r31
/* 80184688 001815E8 7F 86 E3 78 */ mr r6, r28
/* 8018468C 001815EC 4B FF F9 41 */ bl "DetectDynamicCollisionBoolean__14CGameCollisionFRC19CCollisionPrimitiveRC12CTransform4fRCQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager"
/* 80184690 001815F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80184694 001815F4 41 82 00 0C */ beq lbl_801846A0
/* 80184698 001815F8 38 60 00 01 */ li r3, 1
/* 8018469C 001815FC 48 00 00 08 */ b lbl_801846A4
lbl_801846A0:
/* 801846A0 00181600 38 60 00 00 */ li r3, 0
lbl_801846A4:
/* 801846A4 00181604 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801846A8 00181608 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801846AC 0018160C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801846B0 00181610 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801846B4 00181614 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801846B8 00181618 7C 08 03 A6 */ mtlr r0
/* 801846BC 0018161C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 801846C0 00181620 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache
BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache:
/* 801846C4 00181624 94 21 F6 B0 */ stwu r1, -0x950(r1)
/* 801846C8 00181628 7C 08 02 A6 */ mflr r0
/* 801846CC 0018162C 90 01 09 54 */ stw r0, 0x954(r1)
/* 801846D0 00181630 93 E1 09 4C */ stw r31, 0x94c(r1)
/* 801846D4 00181634 93 C1 09 48 */ stw r30, 0x948(r1)
/* 801846D8 00181638 7C 7E 1B 78 */ mr r30, r3
/* 801846DC 0018163C 93 A1 09 44 */ stw r29, 0x944(r1)
/* 801846E0 00181640 7C 9D 23 78 */ mr r29, r4
/* 801846E4 00181644 7F A3 EB 78 */ mr r3, r29
/* 801846E8 00181648 48 11 F1 51 */ bl ClearCache__19CAreaCollisionCacheFv
/* 801846EC 0018164C 80 7E 08 50 */ lwz r3, 0x850(r30)
/* 801846F0 00181650 3B C1 00 30 */ addi r30, r1, 0x30
/* 801846F4 00181654 83 E3 00 58 */ lwz r31, 0x58(r3)
/* 801846F8 00181658 48 00 00 E0 */ b lbl_801847D8
lbl_801846FC:
/* 801846FC 0018165C 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 80184700 00181660 38 61 00 2C */ addi r3, r1, 0x2c
/* 80184704 00181664 80 84 00 04 */ lwz r4, 4(r4)
/* 80184708 00181668 48 11 F4 65 */ bl __ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree
/* 8018470C 0018166C 80 DF 01 2C */ lwz r6, 0x12c(r31)
/* 80184710 00181670 7F A4 EB 78 */ mr r4, r29
/* 80184714 00181674 38 61 00 08 */ addi r3, r1, 8
/* 80184718 00181678 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8018471C 0018167C 80 C6 00 04 */ lwz r6, 4(r6)
/* 80184720 00181680 80 06 00 18 */ lwz r0, 0x18(r6)
/* 80184724 00181684 80 E6 00 20 */ lwz r7, 0x20(r6)
/* 80184728 00181688 C0 06 00 00 */ lfs f0, 0(r6)
/* 8018472C 0018168C D0 01 00 08 */ stfs f0, 8(r1)
/* 80184730 00181690 C0 06 00 04 */ lfs f0, 4(r6)
/* 80184734 00181694 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80184738 00181698 C0 06 00 08 */ lfs f0, 8(r6)
/* 8018473C 0018169C D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80184740 001816A0 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 80184744 001816A4 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80184748 001816A8 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 8018474C 001816AC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80184750 001816B0 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 80184754 001816B4 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80184758 001816B8 90 E1 00 20 */ stw r7, 0x20(r1)
/* 8018475C 001816BC 90 C1 00 24 */ stw r6, 0x24(r1)
/* 80184760 001816C0 90 01 00 28 */ stw r0, 0x28(r1)
/* 80184764 001816C4 48 11 EF E5 */ bl BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache
/* 80184768 001816C8 7F A3 EB 78 */ mr r3, r29
/* 8018476C 001816CC 38 81 00 2C */ addi r4, r1, 0x2c
/* 80184770 001816D0 48 11 F1 A9 */ bl AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache
/* 80184774 001816D4 28 1E 00 00 */ cmplwi r30, 0
/* 80184778 001816D8 41 82 00 5C */ beq lbl_801847D4
/* 8018477C 001816DC 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 80184780 001816E0 38 60 00 00 */ li r3, 0
/* 80184784 001816E4 2C 05 00 00 */ cmpwi r5, 0
/* 80184788 001816E8 40 81 00 44 */ ble lbl_801847CC
/* 8018478C 001816EC 2C 05 00 08 */ cmpwi r5, 8
/* 80184790 001816F0 38 85 FF F8 */ addi r4, r5, -8
/* 80184794 001816F4 40 81 00 20 */ ble lbl_801847B4
/* 80184798 001816F8 38 04 00 07 */ addi r0, r4, 7
/* 8018479C 001816FC 54 00 E8 FE */ srwi r0, r0, 3
/* 801847A0 00181700 7C 09 03 A6 */ mtctr r0
/* 801847A4 00181704 2C 04 00 00 */ cmpwi r4, 0
/* 801847A8 00181708 40 81 00 0C */ ble lbl_801847B4
lbl_801847AC:
/* 801847AC 0018170C 38 63 00 08 */ addi r3, r3, 8
/* 801847B0 00181710 42 00 FF FC */ bdnz lbl_801847AC
lbl_801847B4:
/* 801847B4 00181714 7C 03 28 50 */ subf r0, r3, r5
/* 801847B8 00181718 7C 09 03 A6 */ mtctr r0
/* 801847BC 0018171C 7C 03 28 00 */ cmpw r3, r5
/* 801847C0 00181720 40 80 00 0C */ bge lbl_801847CC
lbl_801847C4:
/* 801847C4 00181724 38 63 00 01 */ addi r3, r3, 1
/* 801847C8 00181728 42 00 FF FC */ bdnz lbl_801847C4
lbl_801847CC:
/* 801847CC 0018172C 38 00 00 00 */ li r0, 0
/* 801847D0 00181730 90 01 00 30 */ stw r0, 0x30(r1)
lbl_801847D4:
/* 801847D4 00181734 83 FF 01 30 */ lwz r31, 0x130(r31)
lbl_801847D8:
/* 801847D8 00181738 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 801847DC 0018173C 7C 1F 00 40 */ cmplw r31, r0
/* 801847E0 00181740 40 82 FF 1C */ bne lbl_801846FC
/* 801847E4 00181744 38 60 00 00 */ li r3, 0
/* 801847E8 00181748 4B F2 FD 11 */ bl IsUser__Fi
/* 801847EC 0018174C 80 01 09 54 */ lwz r0, 0x954(r1)
/* 801847F0 00181750 83 E1 09 4C */ lwz r31, 0x94c(r1)
/* 801847F4 00181754 83 C1 09 48 */ lwz r30, 0x948(r1)
/* 801847F8 00181758 83 A1 09 44 */ lwz r29, 0x944(r1)
/* 801847FC 0018175C 7C 08 03 A6 */ mtlr r0
/* 80184800 00181760 38 21 09 50 */ addi r1, r1, 0x950
2022-07-14 05:48:03 +00:00
/* 80184804 00181764 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter
RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter:
/* 80184808 00181768 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 8018480C 0018176C 7C 08 02 A6 */ mflr r0
/* 80184810 00181770 90 01 01 54 */ stw r0, 0x154(r1)
/* 80184814 00181774 DB E1 01 40 */ stfd f31, 0x140(r1)
/* 80184818 00181778 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0
/* 8018481C 0018177C DB C1 01 30 */ stfd f30, 0x130(r1)
/* 80184820 00181780 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0
/* 80184824 00181784 DB A1 01 20 */ stfd f29, 0x120(r1)
/* 80184828 00181788 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0
/* 8018482C 0018178C DB 81 01 10 */ stfd f28, 0x110(r1)
/* 80184830 00181790 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0
/* 80184834 00181794 BF 41 00 F8 */ stmw r26, 0xf8(r1)
/* 80184838 00181798 7C BB 2B 78 */ mr r27, r5
/* 8018483C 0018179C 7C DC 33 78 */ mr r28, r6
/* 80184840 001817A0 C0 42 A2 A8 */ lfs f2, lbl_805ABFC8@sda21(r2)
/* 80184844 001817A4 7C 7A 1B 78 */ mr r26, r3
/* 80184848 001817A8 C0 A6 00 00 */ lfs f5, 0(r6)
/* 8018484C 001817AC FF 80 08 90 */ fmr f28, f1
/* 80184850 001817B0 C0 C6 00 04 */ lfs f6, 4(r6)
/* 80184854 001817B4 7C FD 3B 78 */ mr r29, r7
/* 80184858 001817B8 C0 E6 00 08 */ lfs f7, 8(r6)
/* 8018485C 001817BC 38 61 00 08 */ addi r3, r1, 8
/* 80184860 001817C0 C0 85 00 00 */ lfs f4, 0(r5)
/* 80184864 001817C4 C0 65 00 04 */ lfs f3, 4(r5)
/* 80184868 001817C8 C0 25 00 08 */ lfs f1, 8(r5)
/* 8018486C 001817CC C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 80184870 001817D0 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 80184874 001817D4 83 C4 08 50 */ lwz r30, 0x850(r4)
/* 80184878 001817D8 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 8018487C 001817DC D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80184880 001817E0 D0 A1 00 20 */ stfs f5, 0x20(r1)
/* 80184884 001817E4 D0 C1 00 24 */ stfs f6, 0x24(r1)
/* 80184888 001817E8 D0 E1 00 28 */ stfs f7, 0x28(r1)
/* 8018488C 001817EC D0 41 00 C8 */ stfs f2, 0xc8(r1)
/* 80184890 001817F0 D0 41 00 CC */ stfs f2, 0xcc(r1)
/* 80184894 001817F4 D0 41 00 D0 */ stfs f2, 0xd0(r1)
/* 80184898 001817F8 D0 41 00 D4 */ stfs f2, 0xd4(r1)
/* 8018489C 001817FC D0 01 00 08 */ stfs f0, 8(r1)
/* 801848A0 00181800 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 801848A4 00181804 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 801848A8 00181808 48 19 00 51 */ bl Normalize__9CVector3fFv
/* 801848AC 0018180C C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 801848B0 00181810 38 00 00 00 */ li r0, 0
/* 801848B4 00181814 C0 61 00 08 */ lfs f3, 8(r1)
/* 801848B8 00181818 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 801848BC 0018181C FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 801848C0 00181820 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 801848C4 00181824 D0 61 00 D8 */ stfs f3, 0xd8(r1)
/* 801848C8 00181828 D0 41 00 DC */ stfs f2, 0xdc(r1)
/* 801848CC 0018182C D0 21 00 E0 */ stfs f1, 0xe0(r1)
/* 801848D0 00181830 D0 01 00 E4 */ stfs f0, 0xe4(r1)
/* 801848D4 00181834 98 01 00 E8 */ stb r0, 0xe8(r1)
/* 801848D8 00181838 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 801848DC 0018183C 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 801848E0 00181840 40 81 00 0C */ ble lbl_801848EC
/* 801848E4 00181844 FF A0 E0 90 */ fmr f29, f28
/* 801848E8 00181848 48 00 00 08 */ b lbl_801848F0
lbl_801848EC:
/* 801848EC 0018184C C3 A2 A2 F4 */ lfs f29, lbl_805AC014@sda21(r2)
lbl_801848F0:
/* 801848F0 00181850 83 FE 00 58 */ lwz r31, 0x58(r30)
/* 801848F4 00181854 3B C1 00 94 */ addi r30, r1, 0x94
/* 801848F8 00181858 C3 C2 A2 D4 */ lfs f30, lbl_805ABFF4@sda21(r2)
/* 801848FC 0018185C C3 E2 A2 A8 */ lfs f31, lbl_805ABFC8@sda21(r2)
/* 80184900 00181860 48 00 01 90 */ b lbl_80184A90
lbl_80184904:
/* 80184904 00181864 38 00 00 00 */ li r0, 0
/* 80184908 00181868 D3 C1 00 84 */ stfs f30, 0x84(r1)
/* 8018490C 0018186C FC 20 E0 90 */ fmr f1, f28
/* 80184910 00181870 7F A5 EB 78 */ mr r5, r29
/* 80184914 00181874 D3 E1 00 88 */ stfs f31, 0x88(r1)
/* 80184918 00181878 38 61 00 60 */ addi r3, r1, 0x60
/* 8018491C 0018187C 38 81 00 14 */ addi r4, r1, 0x14
/* 80184920 00181880 38 C1 00 84 */ addi r6, r1, 0x84
/* 80184924 00181884 D3 E1 00 8C */ stfs f31, 0x8c(r1)
/* 80184928 00181888 D3 E1 00 90 */ stfs f31, 0x90(r1)
/* 8018492C 0018188C 98 01 00 BC */ stb r0, 0xbc(r1)
/* 80184930 00181890 D3 E1 00 C0 */ stfs f31, 0xc0(r1)
/* 80184934 00181894 80 FF 01 2C */ lwz r7, 0x12c(r31)
/* 80184938 00181898 80 E7 00 04 */ lwz r7, 4(r7)
/* 8018493C 0018189C 80 07 00 18 */ lwz r0, 0x18(r7)
/* 80184940 001818A0 81 07 00 20 */ lwz r8, 0x20(r7)
/* 80184944 001818A4 C0 07 00 00 */ lfs f0, 0(r7)
/* 80184948 001818A8 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8018494C 001818AC C0 07 00 04 */ lfs f0, 4(r7)
/* 80184950 001818B0 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80184954 001818B4 C0 07 00 08 */ lfs f0, 8(r7)
/* 80184958 001818B8 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 8018495C 001818BC C0 07 00 0C */ lfs f0, 0xc(r7)
/* 80184960 001818C0 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 80184964 001818C4 C0 07 00 10 */ lfs f0, 0x10(r7)
/* 80184968 001818C8 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8018496C 001818CC C0 07 00 14 */ lfs f0, 0x14(r7)
/* 80184970 001818D0 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80184974 001818D4 91 01 00 78 */ stw r8, 0x78(r1)
/* 80184978 001818D8 90 E1 00 7C */ stw r7, 0x7c(r1)
/* 8018497C 001818DC 90 01 00 80 */ stw r0, 0x80(r1)
/* 80184980 001818E0 48 11 DA 11 */ bl LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf
/* 80184984 001818E4 88 01 00 BC */ lbz r0, 0xbc(r1)
/* 80184988 001818E8 28 00 00 00 */ cmplwi r0, 0
/* 8018498C 001818EC 41 82 00 1C */ beq lbl_801849A8
/* 80184990 001818F0 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184994 001818F4 FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 80184998 001818F8 41 82 00 24 */ beq lbl_801849BC
/* 8018499C 001818FC C0 01 00 C0 */ lfs f0, 0xc0(r1)
/* 801849A0 00181900 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 801849A4 00181904 40 80 00 18 */ bge lbl_801849BC
lbl_801849A8:
/* 801849A8 00181908 28 1E 00 00 */ cmplwi r30, 0
/* 801849AC 0018190C 41 82 00 E0 */ beq lbl_80184A8C
/* 801849B0 00181910 38 00 00 00 */ li r0, 0
/* 801849B4 00181914 98 01 00 BC */ stb r0, 0xbc(r1)
/* 801849B8 00181918 48 00 00 D4 */ b lbl_80184A8C
lbl_801849BC:
/* 801849BC 0018191C C0 E1 00 C0 */ lfs f7, 0xc0(r1)
/* 801849C0 00181920 FC 07 E8 40 */ fcmpo cr0, f7, f29
/* 801849C4 00181924 40 80 00 B8 */ bge lbl_80184A7C
/* 801849C8 00181928 C0 5C 00 00 */ lfs f2, 0(r28)
/* 801849CC 0018192C 38 A0 00 01 */ li r5, 1
/* 801849D0 00181930 C0 3C 00 04 */ lfs f1, 4(r28)
/* 801849D4 00181934 38 00 00 00 */ li r0, 0
/* 801849D8 00181938 C0 1C 00 08 */ lfs f0, 8(r28)
/* 801849DC 0018193C EC 87 00 B2 */ fmuls f4, f7, f2
/* 801849E0 00181940 C0 BB 00 00 */ lfs f5, 0(r27)
/* 801849E4 00181944 EC 47 00 72 */ fmuls f2, f7, f1
/* 801849E8 00181948 C0 7B 00 04 */ lfs f3, 4(r27)
/* 801849EC 0018194C EC 07 00 32 */ fmuls f0, f7, f0
/* 801849F0 00181950 C0 3B 00 08 */ lfs f1, 8(r27)
/* 801849F4 00181954 EC C5 20 2A */ fadds f6, f5, f4
/* 801849F8 00181958 80 61 00 B8 */ lwz r3, 0xb8(r1)
/* 801849FC 0018195C EC A3 10 2A */ fadds f5, f3, f2
/* 80184A00 00181960 C0 81 00 84 */ lfs f4, 0x84(r1)
/* 80184A04 00181964 EC 01 00 2A */ fadds f0, f1, f0
/* 80184A08 00181968 90 61 00 5C */ stw r3, 0x5c(r1)
/* 80184A0C 0018196C C0 61 00 88 */ lfs f3, 0x88(r1)
/* 80184A10 00181970 FF A0 38 90 */ fmr f29, f7
/* 80184A14 00181974 C0 41 00 8C */ lfs f2, 0x8c(r1)
/* 80184A18 00181978 C0 21 00 90 */ lfs f1, 0x90(r1)
/* 80184A1C 0018197C D0 C1 00 34 */ stfs f6, 0x34(r1)
/* 80184A20 00181980 D0 A1 00 38 */ stfs f5, 0x38(r1)
/* 80184A24 00181984 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80184A28 00181988 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80184A2C 0018198C 80 61 00 38 */ lwz r3, 0x38(r1)
/* 80184A30 00181990 90 01 00 58 */ stw r0, 0x58(r1)
/* 80184A34 00181994 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80184A38 00181998 C8 01 00 58 */ lfd f0, 0x58(r1)
/* 80184A3C 0018199C D0 E1 00 30 */ stfs f7, 0x30(r1)
/* 80184A40 001819A0 D0 81 00 40 */ stfs f4, 0x40(r1)
/* 80184A44 001819A4 D0 61 00 44 */ stfs f3, 0x44(r1)
/* 80184A48 001819A8 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 80184A4C 001819AC D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 80184A50 001819B0 98 A1 00 50 */ stb r5, 0x50(r1)
/* 80184A54 001819B4 D0 E1 00 C8 */ stfs f7, 0xc8(r1)
/* 80184A58 001819B8 90 81 00 CC */ stw r4, 0xcc(r1)
/* 80184A5C 001819BC 90 61 00 D0 */ stw r3, 0xd0(r1)
/* 80184A60 001819C0 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80184A64 001819C4 D0 81 00 D8 */ stfs f4, 0xd8(r1)
/* 80184A68 001819C8 D0 61 00 DC */ stfs f3, 0xdc(r1)
/* 80184A6C 001819CC D0 41 00 E0 */ stfs f2, 0xe0(r1)
/* 80184A70 001819D0 D0 21 00 E4 */ stfs f1, 0xe4(r1)
/* 80184A74 001819D4 98 A1 00 E8 */ stb r5, 0xe8(r1)
/* 80184A78 001819D8 D8 01 00 F0 */ stfd f0, 0xf0(r1)
lbl_80184A7C:
/* 80184A7C 001819DC 28 1E 00 00 */ cmplwi r30, 0
/* 80184A80 001819E0 41 82 00 0C */ beq lbl_80184A8C
/* 80184A84 001819E4 38 00 00 00 */ li r0, 0
/* 80184A88 001819E8 98 01 00 BC */ stb r0, 0xbc(r1)
lbl_80184A8C:
/* 80184A8C 001819EC 83 FF 01 30 */ lwz r31, 0x130(r31)
lbl_80184A90:
/* 80184A90 001819F0 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 80184A94 001819F4 7C 1F 00 40 */ cmplw r31, r0
/* 80184A98 001819F8 40 82 FE 6C */ bne lbl_80184904
/* 80184A9C 001819FC C0 21 00 C8 */ lfs f1, 0xc8(r1)
/* 80184AA0 00181A00 C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 80184AA4 00181A04 D0 3A 00 00 */ stfs f1, 0(r26)
/* 80184AA8 00181A08 C0 21 00 D0 */ lfs f1, 0xd0(r1)
/* 80184AAC 00181A0C D0 1A 00 04 */ stfs f0, 4(r26)
/* 80184AB0 00181A10 C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 80184AB4 00181A14 D0 3A 00 08 */ stfs f1, 8(r26)
/* 80184AB8 00181A18 C0 21 00 D8 */ lfs f1, 0xd8(r1)
/* 80184ABC 00181A1C D0 1A 00 0C */ stfs f0, 0xc(r26)
/* 80184AC0 00181A20 C0 01 00 DC */ lfs f0, 0xdc(r1)
/* 80184AC4 00181A24 D0 3A 00 10 */ stfs f1, 0x10(r26)
/* 80184AC8 00181A28 C0 21 00 E0 */ lfs f1, 0xe0(r1)
/* 80184ACC 00181A2C D0 1A 00 14 */ stfs f0, 0x14(r26)
/* 80184AD0 00181A30 C0 01 00 E4 */ lfs f0, 0xe4(r1)
/* 80184AD4 00181A34 D0 3A 00 18 */ stfs f1, 0x18(r26)
/* 80184AD8 00181A38 88 01 00 E8 */ lbz r0, 0xe8(r1)
/* 80184ADC 00181A3C D0 1A 00 1C */ stfs f0, 0x1c(r26)
/* 80184AE0 00181A40 80 61 00 F4 */ lwz r3, 0xf4(r1)
/* 80184AE4 00181A44 98 1A 00 20 */ stb r0, 0x20(r26)
/* 80184AE8 00181A48 80 01 00 F0 */ lwz r0, 0xf0(r1)
/* 80184AEC 00181A4C 90 7A 00 2C */ stw r3, 0x2c(r26)
/* 80184AF0 00181A50 90 1A 00 28 */ stw r0, 0x28(r26)
/* 80184AF4 00181A54 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0
/* 80184AF8 00181A58 CB E1 01 40 */ lfd f31, 0x140(r1)
/* 80184AFC 00181A5C E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0
/* 80184B00 00181A60 CB C1 01 30 */ lfd f30, 0x130(r1)
/* 80184B04 00181A64 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0
/* 80184B08 00181A68 CB A1 01 20 */ lfd f29, 0x120(r1)
/* 80184B0C 00181A6C E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0
/* 80184B10 00181A70 CB 81 01 10 */ lfd f28, 0x110(r1)
/* 80184B14 00181A74 BB 41 00 F8 */ lmw r26, 0xf8(r1)
/* 80184B18 00181A78 80 01 01 54 */ lwz r0, 0x154(r1)
/* 80184B1C 00181A7C 7C 08 03 A6 */ mtlr r0
/* 80184B20 00181A80 38 21 01 50 */ addi r1, r1, 0x150
2022-07-14 05:48:03 +00:00
/* 80184B24 00181A84 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RayStaticIntersectionArea__14CGameCollisionFRC9CGameAreaRC9CVector3fRC9CVector3fRC15CMaterialFilter
RayStaticIntersectionArea__14CGameCollisionFRC9CGameAreaRC9CVector3fRC9CVector3fRC15CMaterialFilter:
/* 80184B28 00181A88 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80184B2C 00181A8C 7C 08 02 A6 */ mflr r0
/* 80184B30 00181A90 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184B34 00181A94 90 01 00 54 */ stw r0, 0x54(r1)
/* 80184B38 00181A98 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80184B3C 00181A9C C0 85 00 00 */ lfs f4, 0(r5)
/* 80184B40 00181AA0 C0 A5 00 04 */ lfs f5, 4(r5)
/* 80184B44 00181AA4 C0 C5 00 08 */ lfs f6, 8(r5)
/* 80184B48 00181AA8 C0 64 00 00 */ lfs f3, 0(r4)
/* 80184B4C 00181AAC C0 44 00 04 */ lfs f2, 4(r4)
/* 80184B50 00181AB0 C0 04 00 08 */ lfs f0, 8(r4)
/* 80184B54 00181AB4 D0 61 00 08 */ stfs f3, 8(r1)
/* 80184B58 00181AB8 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 80184B5C 00181ABC D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80184B60 00181AC0 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 80184B64 00181AC4 D0 A1 00 18 */ stfs f5, 0x18(r1)
/* 80184B68 00181AC8 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 80184B6C 00181ACC 40 81 00 08 */ ble lbl_80184B74
/* 80184B70 00181AD0 48 00 00 08 */ b lbl_80184B78
lbl_80184B74:
/* 80184B74 00181AD4 C0 22 A2 F4 */ lfs f1, lbl_805AC014@sda21(r2)
lbl_80184B78:
/* 80184B78 00181AD8 80 83 01 2C */ lwz r4, 0x12c(r3)
/* 80184B7C 00181ADC 7C C5 33 78 */ mr r5, r6
/* 80184B80 00181AE0 38 61 00 20 */ addi r3, r1, 0x20
/* 80184B84 00181AE4 80 C4 00 04 */ lwz r6, 4(r4)
/* 80184B88 00181AE8 38 81 00 08 */ addi r4, r1, 8
/* 80184B8C 00181AEC 80 06 00 18 */ lwz r0, 0x18(r6)
/* 80184B90 00181AF0 80 E6 00 20 */ lwz r7, 0x20(r6)
/* 80184B94 00181AF4 C0 06 00 00 */ lfs f0, 0(r6)
/* 80184B98 00181AF8 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80184B9C 00181AFC C0 06 00 04 */ lfs f0, 4(r6)
/* 80184BA0 00181B00 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80184BA4 00181B04 C0 06 00 08 */ lfs f0, 8(r6)
/* 80184BA8 00181B08 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80184BAC 00181B0C C0 06 00 0C */ lfs f0, 0xc(r6)
/* 80184BB0 00181B10 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80184BB4 00181B14 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 80184BB8 00181B18 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80184BBC 00181B1C C0 06 00 14 */ lfs f0, 0x14(r6)
/* 80184BC0 00181B20 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80184BC4 00181B24 90 E1 00 38 */ stw r7, 0x38(r1)
/* 80184BC8 00181B28 90 C1 00 3C */ stw r6, 0x3c(r1)
/* 80184BCC 00181B2C 90 01 00 40 */ stw r0, 0x40(r1)
/* 80184BD0 00181B30 48 11 D6 DD */ bl LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf
/* 80184BD4 00181B34 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80184BD8 00181B38 40 82 00 0C */ bne lbl_80184BE4
/* 80184BDC 00181B3C 38 60 00 00 */ li r3, 0
/* 80184BE0 00181B40 48 00 00 08 */ b lbl_80184BE8
lbl_80184BE4:
/* 80184BE4 00181B44 38 60 00 01 */ li r3, 1
lbl_80184BE8:
/* 80184BE8 00181B48 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80184BEC 00181B4C 7C 08 03 A6 */ mtlr r0
/* 80184BF0 00181B50 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 80184BF4 00181B54 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter
RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter:
/* 80184BF8 00181B58 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80184BFC 00181B5C 7C 08 02 A6 */ mflr r0
/* 80184C00 00181B60 90 01 00 64 */ stw r0, 0x64(r1)
/* 80184C04 00181B64 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80184C08 00181B68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80184C0C 00181B6C 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80184C10 00181B70 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80184C14 00181B74 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184C18 00181B78 7C DE 33 78 */ mr r30, r6
/* 80184C1C 00181B7C C0 85 00 00 */ lfs f4, 0(r5)
/* 80184C20 00181B80 C0 A5 00 04 */ lfs f5, 4(r5)
/* 80184C24 00181B84 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80184C28 00181B88 C0 C5 00 08 */ lfs f6, 8(r5)
/* 80184C2C 00181B8C C0 64 00 00 */ lfs f3, 0(r4)
/* 80184C30 00181B90 C0 44 00 04 */ lfs f2, 4(r4)
/* 80184C34 00181B94 C0 04 00 08 */ lfs f0, 8(r4)
/* 80184C38 00181B98 D0 61 00 08 */ stfs f3, 8(r1)
/* 80184C3C 00181B9C 80 63 08 50 */ lwz r3, 0x850(r3)
/* 80184C40 00181BA0 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 80184C44 00181BA4 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80184C48 00181BA8 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 80184C4C 00181BAC D0 A1 00 18 */ stfs f5, 0x18(r1)
/* 80184C50 00181BB0 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 80184C54 00181BB4 40 81 00 0C */ ble lbl_80184C60
/* 80184C58 00181BB8 FF E0 08 90 */ fmr f31, f1
/* 80184C5C 00181BBC 48 00 00 08 */ b lbl_80184C64
lbl_80184C60:
/* 80184C60 00181BC0 C3 E2 A2 F4 */ lfs f31, lbl_805AC014@sda21(r2)
lbl_80184C64:
/* 80184C64 00181BC4 83 E3 00 58 */ lwz r31, 0x58(r3)
/* 80184C68 00181BC8 48 00 00 78 */ b lbl_80184CE0
lbl_80184C6C:
/* 80184C6C 00181BCC 80 9F 01 2C */ lwz r4, 0x12c(r31)
/* 80184C70 00181BD0 FC 20 F8 90 */ fmr f1, f31
/* 80184C74 00181BD4 7F C5 F3 78 */ mr r5, r30
/* 80184C78 00181BD8 38 61 00 20 */ addi r3, r1, 0x20
/* 80184C7C 00181BDC 80 C4 00 04 */ lwz r6, 4(r4)
/* 80184C80 00181BE0 38 81 00 08 */ addi r4, r1, 8
/* 80184C84 00181BE4 80 06 00 18 */ lwz r0, 0x18(r6)
/* 80184C88 00181BE8 80 E6 00 20 */ lwz r7, 0x20(r6)
/* 80184C8C 00181BEC C0 06 00 00 */ lfs f0, 0(r6)
/* 80184C90 00181BF0 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80184C94 00181BF4 C0 06 00 04 */ lfs f0, 4(r6)
/* 80184C98 00181BF8 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80184C9C 00181BFC C0 06 00 08 */ lfs f0, 8(r6)
/* 80184CA0 00181C00 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80184CA4 00181C04 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 80184CA8 00181C08 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80184CAC 00181C0C C0 06 00 10 */ lfs f0, 0x10(r6)
/* 80184CB0 00181C10 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80184CB4 00181C14 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 80184CB8 00181C18 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80184CBC 00181C1C 90 E1 00 38 */ stw r7, 0x38(r1)
/* 80184CC0 00181C20 90 C1 00 3C */ stw r6, 0x3c(r1)
/* 80184CC4 00181C24 90 01 00 40 */ stw r0, 0x40(r1)
/* 80184CC8 00181C28 48 11 D5 E5 */ bl LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf
/* 80184CCC 00181C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80184CD0 00181C30 40 82 00 0C */ bne lbl_80184CDC
/* 80184CD4 00181C34 38 60 00 00 */ li r3, 0
/* 80184CD8 00181C38 48 00 00 18 */ b lbl_80184CF0
lbl_80184CDC:
/* 80184CDC 00181C3C 83 FF 01 30 */ lwz r31, 0x130(r31)
lbl_80184CE0:
/* 80184CE0 00181C40 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13)
/* 80184CE4 00181C44 7C 1F 00 40 */ cmplw r31, r0
/* 80184CE8 00181C48 40 82 FF 84 */ bne lbl_80184C6C
/* 80184CEC 00181C4C 38 60 00 01 */ li r3, 1
lbl_80184CF0:
/* 80184CF0 00181C50 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 80184CF4 00181C54 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80184CF8 00181C58 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 80184CFC 00181C5C 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80184D00 00181C60 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80184D04 00181C64 7C 08 03 A6 */ mtlr r0
/* 80184D08 00181C68 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 80184D0C 00181C6C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf"
"RayDynamicIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3fRC15CMaterialFilterQ24rstl49reserved_vector<9TUniqueId,1024>PC6CActorf":
/* 80184D10 00181C70 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 80184D14 00181C74 7C 08 02 A6 */ mflr r0
/* 80184D18 00181C78 90 01 01 24 */ stw r0, 0x124(r1)
/* 80184D1C 00181C7C DB E1 01 10 */ stfd f31, 0x110(r1)
/* 80184D20 00181C80 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
/* 80184D24 00181C84 BE E1 00 EC */ stmw r23, 0xec(r1)
/* 80184D28 00181C88 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184D2C 00181C8C 7C 78 1B 78 */ mr r24, r3
/* 80184D30 00181C90 7C 99 23 78 */ mr r25, r4
/* 80184D34 00181C94 7C BA 2B 78 */ mr r26, r5
/* 80184D38 00181C98 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80184D3C 00181C9C 7C DB 33 78 */ mr r27, r6
/* 80184D40 00181CA0 7C FC 3B 78 */ mr r28, r7
/* 80184D44 00181CA4 7D 1D 43 78 */ mr r29, r8
/* 80184D48 00181CA8 40 81 00 0C */ ble lbl_80184D54
/* 80184D4C 00181CAC FF E0 08 90 */ fmr f31, f1
/* 80184D50 00181CB0 48 00 00 08 */ b lbl_80184D58
lbl_80184D54:
/* 80184D54 00181CB4 C3 E2 A2 F4 */ lfs f31, lbl_805AC014@sda21(r2)
lbl_80184D58:
/* 80184D58 00181CB8 3B DC 00 04 */ addi r30, r28, 4
/* 80184D5C 00181CBC 3B E1 00 B4 */ addi r31, r1, 0xb4
/* 80184D60 00181CC0 48 00 00 D4 */ b lbl_80184E34
lbl_80184D64:
/* 80184D64 00181CC4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80184D68 00181CC8 7F 03 C3 78 */ mr r3, r24
/* 80184D6C 00181CCC 38 81 00 08 */ addi r4, r1, 8
/* 80184D70 00181CD0 B0 01 00 08 */ sth r0, 8(r1)
/* 80184D74 00181CD4 4B EC 78 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80184D78 00181CD8 7C 64 1B 78 */ mr r4, r3
/* 80184D7C 00181CDC 38 61 00 0C */ addi r3, r1, 0xc
/* 80184D80 00181CE0 4B F2 79 65 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80184D84 00181CE4 82 E3 00 04 */ lwz r23, 4(r3)
/* 80184D88 00181CE8 28 17 00 00 */ cmplwi r23, 0
/* 80184D8C 00181CEC 41 82 00 A4 */ beq lbl_80184E30
/* 80184D90 00181CF0 28 1D 00 00 */ cmplwi r29, 0
/* 80184D94 00181CF4 41 82 00 14 */ beq lbl_80184DA8
/* 80184D98 00181CF8 A0 77 00 08 */ lhz r3, 8(r23)
/* 80184D9C 00181CFC A0 1D 00 08 */ lhz r0, 8(r29)
/* 80184DA0 00181D00 7C 03 00 40 */ cmplw r3, r0
/* 80184DA4 00181D04 41 82 00 8C */ beq lbl_80184E30
lbl_80184DA8:
/* 80184DA8 00181D08 7E E4 BB 78 */ mr r4, r23
/* 80184DAC 00181D0C 38 61 00 14 */ addi r3, r1, 0x14
/* 80184DB0 00181D10 81 97 00 00 */ lwz r12, 0(r23)
/* 80184DB4 00181D14 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80184DB8 00181D18 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184DBC 00181D1C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184DC0 00181D20 7E E3 BB 78 */ mr r3, r23
/* 80184DC4 00181D24 81 97 00 00 */ lwz r12, 0(r23)
/* 80184DC8 00181D28 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80184DCC 00181D2C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184DD0 00181D30 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184DD4 00181D34 FC 20 F8 90 */ fmr f1, f31
/* 80184DD8 00181D38 7C 77 1B 78 */ mr r23, r3
/* 80184DDC 00181D3C 7F 24 CB 78 */ mr r4, r25
/* 80184DE0 00181D40 7F 45 D3 78 */ mr r5, r26
/* 80184DE4 00181D44 38 61 00 78 */ addi r3, r1, 0x78
/* 80184DE8 00181D48 48 15 12 85 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff
/* 80184DEC 00181D4C D3 E1 00 B0 */ stfs f31, 0xb0(r1)
/* 80184DF0 00181D50 7F E3 FB 78 */ mr r3, r31
/* 80184DF4 00181D54 38 81 00 14 */ addi r4, r1, 0x14
/* 80184DF8 00181D58 48 18 DD 7D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80184DFC 00181D5C 93 61 00 E4 */ stw r27, 0xe4(r1)
/* 80184E00 00181D60 7E E4 BB 78 */ mr r4, r23
/* 80184E04 00181D64 38 61 00 48 */ addi r3, r1, 0x48
/* 80184E08 00181D68 38 A1 00 78 */ addi r5, r1, 0x78
/* 80184E0C 00181D6C 81 97 00 00 */ lwz r12, 0(r23)
/* 80184E10 00181D70 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80184E14 00181D74 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184E18 00181D78 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184E1C 00181D7C 88 01 00 68 */ lbz r0, 0x68(r1)
/* 80184E20 00181D80 28 00 00 00 */ cmplwi r0, 0
/* 80184E24 00181D84 41 82 00 0C */ beq lbl_80184E30
/* 80184E28 00181D88 38 60 00 00 */ li r3, 0
/* 80184E2C 00181D8C 48 00 00 24 */ b lbl_80184E50
lbl_80184E30:
/* 80184E30 00181D90 3B DE 00 02 */ addi r30, r30, 2
lbl_80184E34:
/* 80184E34 00181D94 80 1C 00 00 */ lwz r0, 0(r28)
/* 80184E38 00181D98 54 00 08 3C */ slwi r0, r0, 1
/* 80184E3C 00181D9C 7C 7C 02 14 */ add r3, r28, r0
/* 80184E40 00181DA0 38 03 00 04 */ addi r0, r3, 4
/* 80184E44 00181DA4 7C 1E 00 40 */ cmplw r30, r0
/* 80184E48 00181DA8 40 82 FF 1C */ bne lbl_80184D64
/* 80184E4C 00181DAC 38 60 00 01 */ li r3, 1
lbl_80184E50:
/* 80184E50 00181DB0 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
/* 80184E54 00181DB4 CB E1 01 10 */ lfd f31, 0x110(r1)
/* 80184E58 00181DB8 BA E1 00 EC */ lmw r23, 0xec(r1)
/* 80184E5C 00181DBC 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80184E60 00181DC0 7C 08 03 A6 */ mtlr r0
/* 80184E64 00181DC4 38 21 01 20 */ addi r1, r1, 0x120
2022-07-14 05:48:03 +00:00
/* 80184E68 00181DC8 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
"RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 80184E6C 00181DCC 94 21 FE 70 */ stwu r1, -0x190(r1)
/* 80184E70 00181DD0 7C 08 02 A6 */ mflr r0
/* 80184E74 00181DD4 90 01 01 94 */ stw r0, 0x194(r1)
/* 80184E78 00181DD8 DB E1 01 80 */ stfd f31, 0x180(r1)
/* 80184E7C 00181DDC F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0
/* 80184E80 00181DE0 BE A1 01 54 */ stmw r21, 0x154(r1)
/* 80184E84 00181DE4 C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184E88 00181DE8 7C 76 1B 78 */ mr r22, r3
/* 80184E8C 00181DEC 7C 97 23 78 */ mr r23, r4
/* 80184E90 00181DF0 7C B8 2B 78 */ mr r24, r5
/* 80184E94 00181DF4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80184E98 00181DF8 7C D9 33 78 */ mr r25, r6
/* 80184E9C 00181DFC 7C FA 3B 78 */ mr r26, r7
/* 80184EA0 00181E00 7D 1B 43 78 */ mr r27, r8
/* 80184EA4 00181E04 7D 3C 4B 78 */ mr r28, r9
/* 80184EA8 00181E08 40 81 00 0C */ ble lbl_80184EB4
/* 80184EAC 00181E0C FF E0 08 90 */ fmr f31, f1
/* 80184EB0 00181E10 48 00 00 08 */ b lbl_80184EB8
lbl_80184EB4:
/* 80184EB4 00181E14 C3 E2 A2 F4 */ lfs f31, lbl_805AC014@sda21(r2)
lbl_80184EB8:
/* 80184EB8 00181E18 C0 22 A2 A8 */ lfs f1, lbl_805ABFC8@sda21(r2)
/* 80184EBC 00181E1C 38 61 00 14 */ addi r3, r1, 0x14
/* 80184EC0 00181E20 C0 02 A2 D4 */ lfs f0, lbl_805ABFF4@sda21(r2)
/* 80184EC4 00181E24 D0 21 00 B0 */ stfs f1, 0xb0(r1)
/* 80184EC8 00181E28 D0 21 00 B4 */ stfs f1, 0xb4(r1)
/* 80184ECC 00181E2C D0 21 00 B8 */ stfs f1, 0xb8(r1)
/* 80184ED0 00181E30 D0 21 00 BC */ stfs f1, 0xbc(r1)
/* 80184ED4 00181E34 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80184ED8 00181E38 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80184EDC 00181E3C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80184EE0 00181E40 48 18 FA 19 */ bl Normalize__9CVector3fFv
/* 80184EE4 00181E44 C0 61 00 14 */ lfs f3, 0x14(r1)
/* 80184EE8 00181E48 38 00 00 00 */ li r0, 0
/* 80184EEC 00181E4C C0 41 00 18 */ lfs f2, 0x18(r1)
/* 80184EF0 00181E50 3B DC 00 04 */ addi r30, r28, 4
/* 80184EF4 00181E54 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 80184EF8 00181E58 3B E1 01 1C */ addi r31, r1, 0x11c
/* 80184EFC 00181E5C C0 02 A2 A8 */ lfs f0, lbl_805ABFC8@sda21(r2)
/* 80184F00 00181E60 D0 61 00 C0 */ stfs f3, 0xc0(r1)
/* 80184F04 00181E64 D0 41 00 C4 */ stfs f2, 0xc4(r1)
/* 80184F08 00181E68 D0 21 00 C8 */ stfs f1, 0xc8(r1)
/* 80184F0C 00181E6C D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 80184F10 00181E70 98 01 00 D0 */ stb r0, 0xd0(r1)
/* 80184F14 00181E74 90 01 00 DC */ stw r0, 0xdc(r1)
/* 80184F18 00181E78 90 01 00 D8 */ stw r0, 0xd8(r1)
/* 80184F1C 00181E7C 48 00 01 54 */ b lbl_80185070
lbl_80184F20:
/* 80184F20 00181E80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80184F24 00181E84 7E E3 BB 78 */ mr r3, r23
/* 80184F28 00181E88 38 81 00 08 */ addi r4, r1, 8
/* 80184F2C 00181E8C B0 01 00 08 */ sth r0, 8(r1)
/* 80184F30 00181E90 4B EC 76 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80184F34 00181E94 7C 64 1B 78 */ mr r4, r3
/* 80184F38 00181E98 38 61 00 0C */ addi r3, r1, 0xc
/* 80184F3C 00181E9C 4B F2 77 A9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80184F40 00181EA0 83 A3 00 04 */ lwz r29, 4(r3)
/* 80184F44 00181EA4 28 1D 00 00 */ cmplwi r29, 0
/* 80184F48 00181EA8 41 82 01 24 */ beq lbl_8018506C
/* 80184F4C 00181EAC 7F A4 EB 78 */ mr r4, r29
/* 80184F50 00181EB0 38 61 00 20 */ addi r3, r1, 0x20
/* 80184F54 00181EB4 81 9D 00 00 */ lwz r12, 0(r29)
/* 80184F58 00181EB8 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80184F5C 00181EBC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184F60 00181EC0 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184F64 00181EC4 7F A3 EB 78 */ mr r3, r29
/* 80184F68 00181EC8 81 9D 00 00 */ lwz r12, 0(r29)
/* 80184F6C 00181ECC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 80184F70 00181ED0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184F74 00181ED4 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184F78 00181ED8 FC 20 F8 90 */ fmr f1, f31
/* 80184F7C 00181EDC 7C 75 1B 78 */ mr r21, r3
/* 80184F80 00181EE0 7F 24 CB 78 */ mr r4, r25
/* 80184F84 00181EE4 7F 45 D3 78 */ mr r5, r26
/* 80184F88 00181EE8 38 61 00 E0 */ addi r3, r1, 0xe0
/* 80184F8C 00181EEC 48 15 10 E1 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff
/* 80184F90 00181EF0 D3 E1 01 18 */ stfs f31, 0x118(r1)
/* 80184F94 00181EF4 7F E3 FB 78 */ mr r3, r31
/* 80184F98 00181EF8 38 81 00 20 */ addi r4, r1, 0x20
/* 80184F9C 00181EFC 48 18 DB D9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80184FA0 00181F00 93 61 01 4C */ stw r27, 0x14c(r1)
/* 80184FA4 00181F04 7E A4 AB 78 */ mr r4, r21
/* 80184FA8 00181F08 38 61 00 50 */ addi r3, r1, 0x50
/* 80184FAC 00181F0C 38 A1 00 E0 */ addi r5, r1, 0xe0
/* 80184FB0 00181F10 81 95 00 00 */ lwz r12, 0(r21)
/* 80184FB4 00181F14 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80184FB8 00181F18 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80184FBC 00181F1C 4E 80 04 21 */ bctrl
2022-04-13 08:02:06 +00:00
/* 80184FC0 00181F20 88 C1 00 70 */ lbz r6, 0x70(r1)
/* 80184FC4 00181F24 C0 E1 00 50 */ lfs f7, 0x50(r1)
/* 80184FC8 00181F28 C0 C1 00 54 */ lfs f6, 0x54(r1)
/* 80184FCC 00181F2C 28 06 00 00 */ cmplwi r6, 0
/* 80184FD0 00181F30 C0 A1 00 58 */ lfs f5, 0x58(r1)
/* 80184FD4 00181F34 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80184FD8 00181F38 C0 81 00 60 */ lfs f4, 0x60(r1)
/* 80184FDC 00181F3C C0 61 00 64 */ lfs f3, 0x64(r1)
/* 80184FE0 00181F40 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 80184FE4 00181F44 C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 80184FE8 00181F48 80 01 00 78 */ lwz r0, 0x78(r1)
/* 80184FEC 00181F4C 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 80184FF0 00181F50 D0 E1 00 80 */ stfs f7, 0x80(r1)
/* 80184FF4 00181F54 D0 C1 00 84 */ stfs f6, 0x84(r1)
/* 80184FF8 00181F58 D0 A1 00 88 */ stfs f5, 0x88(r1)
/* 80184FFC 00181F5C D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80185000 00181F60 D0 81 00 90 */ stfs f4, 0x90(r1)
/* 80185004 00181F64 D0 61 00 94 */ stfs f3, 0x94(r1)
/* 80185008 00181F68 D0 41 00 98 */ stfs f2, 0x98(r1)
/* 8018500C 00181F6C D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 80185010 00181F70 98 C1 00 A0 */ stb r6, 0xa0(r1)
/* 80185014 00181F74 90 61 00 AC */ stw r3, 0xac(r1)
/* 80185018 00181F78 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 8018501C 00181F7C 41 82 00 50 */ beq lbl_8018506C
/* 80185020 00181F80 FC 07 F8 40 */ fcmpo cr0, f7, f31
/* 80185024 00181F84 40 80 00 48 */ bge lbl_8018506C
/* 80185028 00181F88 80 A1 00 84 */ lwz r5, 0x84(r1)
/* 8018502C 00181F8C FF E0 38 90 */ fmr f31, f7
/* 80185030 00181F90 80 81 00 88 */ lwz r4, 0x88(r1)
/* 80185034 00181F94 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 80185038 00181F98 C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8018503C 00181F9C A0 1D 00 08 */ lhz r0, 8(r29)
/* 80185040 00181FA0 D0 E1 00 B0 */ stfs f7, 0xb0(r1)
/* 80185044 00181FA4 90 A1 00 B4 */ stw r5, 0xb4(r1)
/* 80185048 00181FA8 90 81 00 B8 */ stw r4, 0xb8(r1)
/* 8018504C 00181FAC 90 61 00 BC */ stw r3, 0xbc(r1)
/* 80185050 00181FB0 D0 81 00 C0 */ stfs f4, 0xc0(r1)
/* 80185054 00181FB4 D0 61 00 C4 */ stfs f3, 0xc4(r1)
/* 80185058 00181FB8 D0 41 00 C8 */ stfs f2, 0xc8(r1)
/* 8018505C 00181FBC D0 21 00 CC */ stfs f1, 0xcc(r1)
/* 80185060 00181FC0 98 C1 00 D0 */ stb r6, 0xd0(r1)
/* 80185064 00181FC4 D8 01 00 D8 */ stfd f0, 0xd8(r1)
/* 80185068 00181FC8 B0 18 00 00 */ sth r0, 0(r24)
lbl_8018506C:
/* 8018506C 00181FCC 3B DE 00 02 */ addi r30, r30, 2
lbl_80185070:
/* 80185070 00181FD0 80 1C 00 00 */ lwz r0, 0(r28)
/* 80185074 00181FD4 54 00 08 3C */ slwi r0, r0, 1
/* 80185078 00181FD8 7C 7C 02 14 */ add r3, r28, r0
/* 8018507C 00181FDC 38 03 00 04 */ addi r0, r3, 4
/* 80185080 00181FE0 7C 1E 00 40 */ cmplw r30, r0
/* 80185084 00181FE4 40 82 FE 9C */ bne lbl_80184F20
/* 80185088 00181FE8 C0 21 00 B0 */ lfs f1, 0xb0(r1)
/* 8018508C 00181FEC C0 01 00 B4 */ lfs f0, 0xb4(r1)
/* 80185090 00181FF0 D0 36 00 00 */ stfs f1, 0(r22)
/* 80185094 00181FF4 C0 21 00 B8 */ lfs f1, 0xb8(r1)
/* 80185098 00181FF8 D0 16 00 04 */ stfs f0, 4(r22)
/* 8018509C 00181FFC C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 801850A0 00182000 D0 36 00 08 */ stfs f1, 8(r22)
/* 801850A4 00182004 C0 21 00 C0 */ lfs f1, 0xc0(r1)
/* 801850A8 00182008 D0 16 00 0C */ stfs f0, 0xc(r22)
/* 801850AC 0018200C C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 801850B0 00182010 D0 36 00 10 */ stfs f1, 0x10(r22)
/* 801850B4 00182014 C0 21 00 C8 */ lfs f1, 0xc8(r1)
/* 801850B8 00182018 D0 16 00 14 */ stfs f0, 0x14(r22)
/* 801850BC 0018201C C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 801850C0 00182020 D0 36 00 18 */ stfs f1, 0x18(r22)
/* 801850C4 00182024 88 01 00 D0 */ lbz r0, 0xd0(r1)
/* 801850C8 00182028 D0 16 00 1C */ stfs f0, 0x1c(r22)
/* 801850CC 0018202C 80 61 00 DC */ lwz r3, 0xdc(r1)
/* 801850D0 00182030 98 16 00 20 */ stb r0, 0x20(r22)
/* 801850D4 00182034 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 801850D8 00182038 90 76 00 2C */ stw r3, 0x2c(r22)
/* 801850DC 0018203C 90 16 00 28 */ stw r0, 0x28(r22)
/* 801850E0 00182040 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0
/* 801850E4 00182044 CB E1 01 80 */ lfd f31, 0x180(r1)
/* 801850E8 00182048 BA A1 01 54 */ lmw r21, 0x154(r1)
/* 801850EC 0018204C 80 01 01 94 */ lwz r0, 0x194(r1)
/* 801850F0 00182050 7C 08 03 A6 */ mtlr r0
/* 801850F4 00182054 38 21 01 90 */ addi r1, r1, 0x190
2022-07-14 05:48:03 +00:00
/* 801850F8 00182058 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global "RayWorldIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
"RayWorldIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>":
/* 801850FC 0018205C 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 80185100 00182060 7C 08 02 A6 */ mflr r0
/* 80185104 00182064 90 01 01 14 */ stw r0, 0x114(r1)
/* 80185108 00182068 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 8018510C 0018206C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 80185110 00182070 DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 80185114 00182074 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 80185118 00182078 DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 8018511C 0018207C F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 80185120 00182080 DB 81 00 D0 */ stfd f28, 0xd0(r1)
/* 80185124 00182084 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0
/* 80185128 00182088 DB 61 00 C0 */ stfd f27, 0xc0(r1)
/* 8018512C 0018208C F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0
/* 80185130 00182090 DB 41 00 B0 */ stfd f26, 0xb0(r1)
/* 80185134 00182094 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0
/* 80185138 00182098 DB 21 00 A0 */ stfd f25, 0xa0(r1)
/* 8018513C 0018209C F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0
/* 80185140 001820A0 DB 01 00 90 */ stfd f24, 0x90(r1)
/* 80185144 001820A4 F3 01 00 98 */ psq_st f24, 152(r1), 0, qr0
/* 80185148 001820A8 BF 21 00 74 */ stmw r25, 0x74(r1)
/* 8018514C 001820AC FF 00 08 90 */ fmr f24, f1
/* 80185150 001820B0 7C 79 1B 78 */ mr r25, r3
/* 80185154 001820B4 7C DC 33 78 */ mr r28, r6
/* 80185158 001820B8 7C FF 3B 78 */ mr r31, r7
/* 8018515C 001820BC 7D 1E 43 78 */ mr r30, r8
/* 80185160 001820C0 7C BB 2B 78 */ mr r27, r5
/* 80185164 001820C4 7C 9A 23 78 */ mr r26, r4
/* 80185168 001820C8 7D 3D 4B 78 */ mr r29, r9
/* 8018516C 001820CC 7F 85 E3 78 */ mr r5, r28
/* 80185170 001820D0 7F E6 FB 78 */ mr r6, r31
/* 80185174 001820D4 7F C7 F3 78 */ mr r7, r30
/* 80185178 001820D8 38 61 00 38 */ addi r3, r1, 0x38
/* 8018517C 001820DC 4B FF F6 8D */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter
/* 80185180 001820E0 FC 20 C0 90 */ fmr f1, f24
/* 80185184 001820E4 C3 E1 00 38 */ lfs f31, 0x38(r1)
/* 80185188 001820E8 C3 C1 00 3C */ lfs f30, 0x3c(r1)
/* 8018518C 001820EC 7F 44 D3 78 */ mr r4, r26
/* 80185190 001820F0 C3 A1 00 40 */ lfs f29, 0x40(r1)
/* 80185194 001820F4 7F 65 DB 78 */ mr r5, r27
/* 80185198 001820F8 C3 81 00 44 */ lfs f28, 0x44(r1)
/* 8018519C 001820FC 7F 86 E3 78 */ mr r6, r28
/* 801851A0 00182100 C3 61 00 48 */ lfs f27, 0x48(r1)
/* 801851A4 00182104 7F E7 FB 78 */ mr r7, r31
/* 801851A8 00182108 C3 41 00 4C */ lfs f26, 0x4c(r1)
/* 801851AC 0018210C 7F C8 F3 78 */ mr r8, r30
/* 801851B0 00182110 C3 21 00 50 */ lfs f25, 0x50(r1)
/* 801851B4 00182114 7F A9 EB 78 */ mr r9, r29
/* 801851B8 00182118 C3 01 00 54 */ lfs f24, 0x54(r1)
/* 801851BC 0018211C 38 61 00 08 */ addi r3, r1, 8
/* 801851C0 00182120 8B E1 00 58 */ lbz r31, 0x58(r1)
/* 801851C4 00182124 83 C1 00 60 */ lwz r30, 0x60(r1)
/* 801851C8 00182128 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 801851CC 0018212C 4B FF FC A1 */ bl "RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801851D0 00182130 88 01 00 28 */ lbz r0, 0x28(r1)
/* 801851D4 00182134 C0 01 00 08 */ lfs f0, 8(r1)
/* 801851D8 00182138 28 00 00 00 */ cmplwi r0, 0
/* 801851DC 0018213C C0 21 00 0C */ lfs f1, 0xc(r1)
/* 801851E0 00182140 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 801851E4 00182144 C0 61 00 14 */ lfs f3, 0x14(r1)
/* 801851E8 00182148 C0 81 00 18 */ lfs f4, 0x18(r1)
/* 801851EC 0018214C C0 A1 00 1C */ lfs f5, 0x1c(r1)
/* 801851F0 00182150 C0 C1 00 20 */ lfs f6, 0x20(r1)
/* 801851F4 00182154 C0 E1 00 24 */ lfs f7, 0x24(r1)
/* 801851F8 00182158 80 61 00 30 */ lwz r3, 0x30(r1)
/* 801851FC 0018215C 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80185200 00182160 41 82 00 78 */ beq lbl_80185278
/* 80185204 00182164 28 1F 00 00 */ cmplwi r31, 0
/* 80185208 00182168 40 82 00 34 */ bne lbl_8018523C
/* 8018520C 0018216C D0 19 00 00 */ stfs f0, 0(r25)
/* 80185210 00182170 D0 39 00 04 */ stfs f1, 4(r25)
/* 80185214 00182174 D0 59 00 08 */ stfs f2, 8(r25)
/* 80185218 00182178 D0 79 00 0C */ stfs f3, 0xc(r25)
/* 8018521C 0018217C D0 99 00 10 */ stfs f4, 0x10(r25)
/* 80185220 00182180 D0 B9 00 14 */ stfs f5, 0x14(r25)
/* 80185224 00182184 D0 D9 00 18 */ stfs f6, 0x18(r25)
/* 80185228 00182188 D0 F9 00 1C */ stfs f7, 0x1c(r25)
/* 8018522C 0018218C 98 19 00 20 */ stb r0, 0x20(r25)
/* 80185230 00182190 90 99 00 2C */ stw r4, 0x2c(r25)
/* 80185234 00182194 90 79 00 28 */ stw r3, 0x28(r25)
/* 80185238 00182198 48 00 00 6C */ b lbl_801852A4
lbl_8018523C:
/* 8018523C 0018219C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80185240 001821A0 4C 41 13 82 */ cror 2, 1, 2
/* 80185244 001821A4 40 82 00 34 */ bne lbl_80185278
/* 80185248 001821A8 D0 19 00 00 */ stfs f0, 0(r25)
/* 8018524C 001821AC D0 39 00 04 */ stfs f1, 4(r25)
/* 80185250 001821B0 D0 59 00 08 */ stfs f2, 8(r25)
/* 80185254 001821B4 D0 79 00 0C */ stfs f3, 0xc(r25)
/* 80185258 001821B8 D0 99 00 10 */ stfs f4, 0x10(r25)
/* 8018525C 001821BC D0 B9 00 14 */ stfs f5, 0x14(r25)
/* 80185260 001821C0 D0 D9 00 18 */ stfs f6, 0x18(r25)
/* 80185264 001821C4 D0 F9 00 1C */ stfs f7, 0x1c(r25)
/* 80185268 001821C8 98 19 00 20 */ stb r0, 0x20(r25)
/* 8018526C 001821CC 90 99 00 2C */ stw r4, 0x2c(r25)
/* 80185270 001821D0 90 79 00 28 */ stw r3, 0x28(r25)
/* 80185274 001821D4 48 00 00 30 */ b lbl_801852A4
lbl_80185278:
/* 80185278 001821D8 D3 F9 00 00 */ stfs f31, 0(r25)
/* 8018527C 001821DC D3 D9 00 04 */ stfs f30, 4(r25)
/* 80185280 001821E0 D3 B9 00 08 */ stfs f29, 8(r25)
/* 80185284 001821E4 D3 99 00 0C */ stfs f28, 0xc(r25)
/* 80185288 001821E8 D3 79 00 10 */ stfs f27, 0x10(r25)
/* 8018528C 001821EC D3 59 00 14 */ stfs f26, 0x14(r25)
/* 80185290 001821F0 D3 39 00 18 */ stfs f25, 0x18(r25)
/* 80185294 001821F4 D3 19 00 1C */ stfs f24, 0x1c(r25)
/* 80185298 001821F8 9B F9 00 20 */ stb r31, 0x20(r25)
/* 8018529C 001821FC 93 B9 00 2C */ stw r29, 0x2c(r25)
/* 801852A0 00182200 93 D9 00 28 */ stw r30, 0x28(r25)
lbl_801852A4:
/* 801852A4 00182204 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 801852A8 00182208 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 801852AC 0018220C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 801852B0 00182210 CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 801852B4 00182214 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 801852B8 00182218 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 801852BC 0018221C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0
/* 801852C0 00182220 CB 81 00 D0 */ lfd f28, 0xd0(r1)
/* 801852C4 00182224 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0
/* 801852C8 00182228 CB 61 00 C0 */ lfd f27, 0xc0(r1)
/* 801852CC 0018222C E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0
/* 801852D0 00182230 CB 41 00 B0 */ lfd f26, 0xb0(r1)
/* 801852D4 00182234 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0
/* 801852D8 00182238 CB 21 00 A0 */ lfd f25, 0xa0(r1)
/* 801852DC 0018223C E3 01 00 98 */ psq_l f24, 152(r1), 0, qr0
/* 801852E0 00182240 CB 01 00 90 */ lfd f24, 0x90(r1)
/* 801852E4 00182244 BB 21 00 74 */ lmw r25, 0x74(r1)
/* 801852E8 00182248 80 01 01 14 */ lwz r0, 0x114(r1)
/* 801852EC 0018224C 7C 08 03 A6 */ mtlr r0
/* 801852F0 00182250 38 21 01 10 */ addi r1, r1, 0x110
2022-07-14 05:48:03 +00:00
/* 801852F4 00182254 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global NullMovingCollider__14CGameCollisionFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
NullMovingCollider__14CGameCollisionFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
/* 801852F8 00182258 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 801852FC 0018225C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global NullBooleanCollider__14CGameCollisionFRC27CInternalCollisionStructure
NullBooleanCollider__14CGameCollisionFRC27CInternalCollisionStructure:
/* 80185300 00182260 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80185304 00182264 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global NullCollisionCollider__14CGameCollisionFRC27CInternalCollisionStructureR18CCollisionInfoList
NullCollisionCollider__14CGameCollisionFRC27CInternalCollisionStructureR18CCollisionInfoList:
/* 80185308 00182268 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 8018530C 0018226C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global InitCollision__14CGameCollisionFv
InitCollision__14CGameCollisionFv:
/* 80185310 00182270 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80185314 00182274 7C 08 02 A6 */ mflr r0
/* 80185318 00182278 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018531C 0018227C 48 14 A4 CD */ bl InitBeginTypes__19CCollisionPrimitiveFv
/* 80185320 00182280 38 61 00 08 */ addi r3, r1, 8
/* 80185324 00182284 48 12 86 91 */ bl GetType__23CCollidableOBBTreeGroupFv
/* 80185328 00182288 38 61 00 08 */ addi r3, r1, 8
/* 8018532C 0018228C 48 14 A4 0D */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type
/* 80185330 00182290 48 14 A1 E9 */ bl InitEndTypes__19CCollisionPrimitiveFv
/* 80185334 00182294 48 14 A1 01 */ bl InitBeginColliders__19CCollisionPrimitiveFv
/* 80185338 00182298 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 8018533C 0018229C 3C A0 80 2B */ lis r5, SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 80185340 001822A0 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 80185344 001822A4 38 65 CF 40 */ addi r3, r5, SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 80185348 001822A8 38 A4 00 12 */ addi r5, r4, 0x12
/* 8018534C 001822AC 48 14 93 99 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 80185350 001822B0 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 80185354 001822B4 3C 80 80 2B */ lis r4, AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 80185358 001822B8 38 A3 06 90 */ addi r5, r3, lbl_803D0690@l
/* 8018535C 001822BC 38 64 D2 8C */ addi r3, r4, AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 80185360 001822C0 38 85 00 2A */ addi r4, r5, 0x2a
/* 80185364 001822C4 38 A5 00 12 */ addi r5, r5, 0x12
/* 80185368 001822C8 48 14 93 7D */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 8018536C 001822CC 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 80185370 001822D0 3C A0 80 2B */ lis r5, SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure@ha
/* 80185374 001822D4 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 80185378 001822D8 38 65 CD AC */ addi r3, r5, SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure@l
/* 8018537C 001822DC 38 A4 00 12 */ addi r5, r4, 0x12
/* 80185380 001822E0 48 14 93 35 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 80185384 001822E4 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 80185388 001822E8 3C 80 80 2B */ lis r4, AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure@ha
/* 8018538C 001822EC 38 A3 06 90 */ addi r5, r3, lbl_803D0690@l
/* 80185390 001822F0 38 64 D0 E0 */ addi r3, r4, AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure@l
/* 80185394 001822F4 38 85 00 2A */ addi r4, r5, 0x2a
/* 80185398 001822F8 38 A5 00 12 */ addi r5, r5, 0x12
/* 8018539C 001822FC 48 14 93 19 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 801853A0 00182300 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 801853A4 00182304 3C 80 80 2B */ lis r4, CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 801853A8 00182308 38 A3 06 90 */ addi r5, r3, lbl_803D0690@l
/* 801853AC 0018230C 38 64 CA 48 */ addi r3, r4, CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 801853B0 00182310 38 85 00 2A */ addi r4, r5, 0x2a
/* 801853B4 00182314 38 A5 00 12 */ addi r5, r5, 0x12
/* 801853B8 00182318 48 14 92 CD */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 801853BC 0018231C 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 801853C0 00182320 3C A0 80 2B */ lis r5, CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 801853C4 00182324 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 801853C8 00182328 38 65 C7 C4 */ addi r3, r5, CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 801853CC 0018232C 38 A4 00 12 */ addi r5, r4, 0x12
/* 801853D0 00182330 48 14 92 B5 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 801853D4 00182334 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 801853D8 00182338 3C A0 80 18 */ lis r5, NullCollisionCollider__14CGameCollisionFRC27CInternalCollisionStructureR18CCollisionInfoList@ha
/* 801853DC 0018233C 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 801853E0 00182340 38 84 00 12 */ addi r4, r4, 0x12
/* 801853E4 00182344 38 65 53 08 */ addi r3, r5, NullCollisionCollider__14CGameCollisionFRC27CInternalCollisionStructureR18CCollisionInfoList@l
/* 801853E8 00182348 7C 85 23 78 */ mr r5, r4
/* 801853EC 0018234C 48 14 92 F9 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc
/* 801853F0 00182350 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 801853F4 00182354 3C A0 80 18 */ lis r5, NullBooleanCollider__14CGameCollisionFRC27CInternalCollisionStructure@ha
/* 801853F8 00182358 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 801853FC 0018235C 38 84 00 12 */ addi r4, r4, 0x12
/* 80185400 00182360 38 65 53 00 */ addi r3, r5, NullBooleanCollider__14CGameCollisionFRC27CInternalCollisionStructure@l
/* 80185404 00182364 7C 85 23 78 */ mr r5, r4
/* 80185408 00182368 48 14 92 AD */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc
/* 8018540C 0018236C 3C 60 80 3D */ lis r3, lbl_803D0690@ha
/* 80185410 00182370 3C A0 80 18 */ lis r5, NullMovingCollider__14CGameCollisionFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha
/* 80185414 00182374 38 83 06 90 */ addi r4, r3, lbl_803D0690@l
/* 80185418 00182378 38 84 00 12 */ addi r4, r4, 0x12
/* 8018541C 0018237C 38 65 52 F8 */ addi r3, r5, NullMovingCollider__14CGameCollisionFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l
/* 80185420 00182380 7C 85 23 78 */ mr r5, r4
/* 80185424 00182384 48 14 92 61 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc
/* 80185428 00182388 48 14 9F 79 */ bl InitEndColliders__19CCollisionPrimitiveFv
/* 8018542C 0018238C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80185430 00182390 7C 08 03 A6 */ mtlr r0
/* 80185434 00182394 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80185438 00182398 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global sub_8018543c
sub_8018543c:
/* 8018543C 0018239C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80185440 001823A0 7C 08 02 A6 */ mflr r0
/* 80185444 001823A4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80185448 001823A8 BF 21 00 24 */ stmw r25, 0x24(r1)
/* 8018544C 001823AC 7C 7A 1B 78 */ mr r26, r3
/* 80185450 001823B0 7C 9B 23 78 */ mr r27, r4
/* 80185454 001823B4 3B A0 00 00 */ li r29, 0
/* 80185458 001823B8 3B DA 00 04 */ addi r30, r26, 4
/* 8018545C 001823BC 48 00 01 3C */ b lbl_80185598
lbl_80185460:
/* 80185460 001823C0 3B FB 00 04 */ addi r31, r27, 4
/* 80185464 001823C4 3B 80 00 00 */ li r28, 0
/* 80185468 001823C8 3B 20 00 00 */ li r25, 0
/* 8018546C 001823CC 48 00 01 00 */ b lbl_8018556C
lbl_80185470:
/* 80185470 001823D0 C0 22 A2 F8 */ lfs f1, lbl_805AC018@sda21(r2)
/* 80185474 001823D4 7F E3 FB 78 */ mr r3, r31
/* 80185478 001823D8 7F C4 F3 78 */ mr r4, r30
/* 8018547C 001823DC 48 18 AA E9 */ bl close_enough__FRC9CVector3fRC9CVector3ff
/* 80185480 001823E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80185484 001823E4 41 82 00 E0 */ beq lbl_80185564
/* 80185488 001823E8 38 61 00 14 */ addi r3, r1, 0x14
/* 8018548C 001823EC 38 9F 00 48 */ addi r4, r31, 0x48
/* 80185490 001823F0 48 18 F3 C1 */ bl AsNormalized__9CVector3fCFv
/* 80185494 001823F4 C0 22 A2 FC */ lfs f1, lbl_805AC01C@sda21(r2)
/* 80185498 001823F8 38 61 00 14 */ addi r3, r1, 0x14
/* 8018549C 001823FC 38 9E 00 48 */ addi r4, r30, 0x48
/* 801854A0 00182400 48 18 AA C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff
/* 801854A4 00182404 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801854A8 00182408 41 82 00 BC */ beq lbl_80185564
/* 801854AC 0018240C C0 3F 00 00 */ lfs f1, 0(r31)
/* 801854B0 00182410 3B 80 00 01 */ li r28, 1
/* 801854B4 00182414 C0 1E 00 00 */ lfs f0, 0(r30)
/* 801854B8 00182418 C0 7F 00 04 */ lfs f3, 4(r31)
/* 801854BC 0018241C C0 5E 00 04 */ lfs f2, 4(r30)
/* 801854C0 00182420 EC 01 00 2A */ fadds f0, f1, f0
/* 801854C4 00182424 C0 82 A3 00 */ lfs f4, lbl_805AC020@sda21(r2)
/* 801854C8 00182428 EC 63 10 2A */ fadds f3, f3, f2
/* 801854CC 0018242C C0 5F 00 08 */ lfs f2, 8(r31)
/* 801854D0 00182430 C0 3E 00 08 */ lfs f1, 8(r30)
/* 801854D4 00182434 EC 04 00 32 */ fmuls f0, f4, f0
/* 801854D8 00182438 EC 22 08 2A */ fadds f1, f2, f1
/* 801854DC 0018243C EC 44 00 F2 */ fmuls f2, f4, f3
/* 801854E0 00182440 D0 1F 00 00 */ stfs f0, 0(r31)
/* 801854E4 00182444 EC 04 00 72 */ fmuls f0, f4, f1
/* 801854E8 00182448 D0 5F 00 04 */ stfs f2, 4(r31)
/* 801854EC 0018244C D0 1F 00 08 */ stfs f0, 8(r31)
/* 801854F0 00182450 80 BF 00 3C */ lwz r5, 0x3c(r31)
/* 801854F4 00182454 80 1E 00 3C */ lwz r0, 0x3c(r30)
/* 801854F8 00182458 80 9F 00 38 */ lwz r4, 0x38(r31)
/* 801854FC 0018245C 80 7E 00 38 */ lwz r3, 0x38(r30)
/* 80185500 00182460 7C A0 03 78 */ or r0, r5, r0
/* 80185504 00182464 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 80185508 00182468 7C 80 1B 78 */ or r0, r4, r3
/* 8018550C 0018246C 90 1F 00 38 */ stw r0, 0x38(r31)
/* 80185510 00182470 80 BF 00 44 */ lwz r5, 0x44(r31)
/* 80185514 00182474 80 1E 00 44 */ lwz r0, 0x44(r30)
/* 80185518 00182478 80 9F 00 40 */ lwz r4, 0x40(r31)
/* 8018551C 0018247C 80 7E 00 40 */ lwz r3, 0x40(r30)
/* 80185520 00182480 7C A0 03 78 */ or r0, r5, r0
/* 80185524 00182484 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 80185528 00182488 7C 80 1B 78 */ or r0, r4, r3
/* 8018552C 0018248C 90 1F 00 38 */ stw r0, 0x38(r31)
/* 80185530 00182490 C0 3F 00 48 */ lfs f1, 0x48(r31)
/* 80185534 00182494 C0 1E 00 48 */ lfs f0, 0x48(r30)
/* 80185538 00182498 C0 9F 00 4C */ lfs f4, 0x4c(r31)
/* 8018553C 0018249C C0 7E 00 4C */ lfs f3, 0x4c(r30)
/* 80185540 001824A0 EC 01 00 2A */ fadds f0, f1, f0
/* 80185544 001824A4 C0 5F 00 50 */ lfs f2, 0x50(r31)
/* 80185548 001824A8 C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 8018554C 001824AC EC 64 18 2A */ fadds f3, f4, f3
/* 80185550 001824B0 D0 1F 00 48 */ stfs f0, 0x48(r31)
/* 80185554 001824B4 EC 02 08 2A */ fadds f0, f2, f1
/* 80185558 001824B8 D0 7F 00 4C */ stfs f3, 0x4c(r31)
/* 8018555C 001824BC D0 1F 00 50 */ stfs f0, 0x50(r31)
/* 80185560 001824C0 48 00 00 18 */ b lbl_80185578
lbl_80185564:
/* 80185564 001824C4 3B FF 00 60 */ addi r31, r31, 0x60
/* 80185568 001824C8 3B 39 00 01 */ addi r25, r25, 1
lbl_8018556C:
/* 8018556C 001824CC 80 1B 00 00 */ lwz r0, 0(r27)
/* 80185570 001824D0 7C 19 00 00 */ cmpw r25, r0
/* 80185574 001824D4 41 80 FE FC */ blt lbl_80185470
lbl_80185578:
/* 80185578 001824D8 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 8018557C 001824DC 40 82 00 14 */ bne lbl_80185590
/* 80185580 001824E0 7F 63 DB 78 */ mr r3, r27
/* 80185584 001824E4 7F C4 F3 78 */ mr r4, r30
/* 80185588 001824E8 38 A0 00 00 */ li r5, 0
/* 8018558C 001824EC 48 00 00 95 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob
lbl_80185590:
/* 80185590 001824F0 3B DE 00 60 */ addi r30, r30, 0x60
/* 80185594 001824F4 3B BD 00 01 */ addi r29, r29, 1
lbl_80185598:
/* 80185598 001824F8 80 1A 00 00 */ lwz r0, 0(r26)
/* 8018559C 001824FC 7C 1D 00 00 */ cmpw r29, r0
/* 801855A0 00182500 41 80 FE C0 */ blt lbl_80185460
/* 801855A4 00182504 3B 5B 00 04 */ addi r26, r27, 4
/* 801855A8 00182508 3B 20 00 00 */ li r25, 0
/* 801855AC 0018250C 48 00 00 54 */ b lbl_80185600
lbl_801855B0:
/* 801855B0 00182510 38 61 00 08 */ addi r3, r1, 8
/* 801855B4 00182514 38 9A 00 48 */ addi r4, r26, 0x48
/* 801855B8 00182518 48 18 F2 99 */ bl AsNormalized__9CVector3fCFv
/* 801855BC 0018251C C0 01 00 08 */ lfs f0, 8(r1)
/* 801855C0 00182520 3B 39 00 01 */ addi r25, r25, 1
/* 801855C4 00182524 D0 1A 00 48 */ stfs f0, 0x48(r26)
/* 801855C8 00182528 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 801855CC 0018252C D0 1A 00 4C */ stfs f0, 0x4c(r26)
/* 801855D0 00182530 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 801855D4 00182534 D0 1A 00 50 */ stfs f0, 0x50(r26)
/* 801855D8 00182538 C0 1A 00 48 */ lfs f0, 0x48(r26)
/* 801855DC 0018253C C0 3A 00 4C */ lfs f1, 0x4c(r26)
/* 801855E0 00182540 FC 00 00 50 */ fneg f0, f0
/* 801855E4 00182544 C0 5A 00 50 */ lfs f2, 0x50(r26)
/* 801855E8 00182548 FC 20 08 50 */ fneg f1, f1
/* 801855EC 0018254C FC 40 10 50 */ fneg f2, f2
/* 801855F0 00182550 D0 1A 00 54 */ stfs f0, 0x54(r26)
/* 801855F4 00182554 D0 3A 00 58 */ stfs f1, 0x58(r26)
/* 801855F8 00182558 D0 5A 00 5C */ stfs f2, 0x5c(r26)
/* 801855FC 0018255C 3B 5A 00 60 */ addi r26, r26, 0x60
lbl_80185600:
/* 80185600 00182560 80 1B 00 00 */ lwz r0, 0(r27)
/* 80185604 00182564 7C 19 00 00 */ cmpw r25, r0
/* 80185608 00182568 41 80 FF A8 */ blt lbl_801855B0
/* 8018560C 0018256C BB 21 00 24 */ lmw r25, 0x24(r1)
/* 80185610 00182570 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80185614 00182574 7C 08 03 A6 */ mtlr r0
/* 80185618 00182578 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 8018561C 0018257C 4E 80 00 20 */ blr
2022-04-13 08:02:06 +00:00
.global Add__18CCollisionInfoListFRC14CCollisionInfob
Add__18CCollisionInfoListFRC14CCollisionInfob:
/* 80185620 00182580 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80185624 00182584 7C 08 02 A6 */ mflr r0
/* 80185628 00182588 90 01 00 74 */ stw r0, 0x74(r1)
/* 8018562C 0018258C 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80185630 00182590 7C 7F 1B 78 */ mr r31, r3
/* 80185634 00182594 80 63 00 00 */ lwz r3, 0(r3)
/* 80185638 00182598 2C 03 00 20 */ cmpwi r3, 0x20
/* 8018563C 0018259C 41 82 01 D8 */ beq lbl_80185814
/* 80185640 001825A0 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80185644 001825A4 40 82 00 E4 */ bne lbl_80185728
/* 80185648 001825A8 1C 03 00 60 */ mulli r0, r3, 0x60
/* 8018564C 001825AC 7C BF 02 14 */ add r5, r31, r0
/* 80185650 001825B0 34 A5 00 04 */ addic. r5, r5, 4
/* 80185654 001825B4 41 82 00 C4 */ beq lbl_80185718
/* 80185658 001825B8 C0 04 00 00 */ lfs f0, 0(r4)
/* 8018565C 001825BC D0 05 00 00 */ stfs f0, 0(r5)
/* 80185660 001825C0 C0 04 00 04 */ lfs f0, 4(r4)
/* 80185664 001825C4 D0 05 00 04 */ stfs f0, 4(r5)
/* 80185668 001825C8 C0 04 00 08 */ lfs f0, 8(r4)
/* 8018566C 001825CC D0 05 00 08 */ stfs f0, 8(r5)
/* 80185670 001825D0 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80185674 001825D4 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 80185678 001825D8 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 8018567C 001825DC D0 05 00 10 */ stfs f0, 0x10(r5)
/* 80185680 001825E0 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80185684 001825E4 D0 05 00 14 */ stfs f0, 0x14(r5)
/* 80185688 001825E8 C0 04 00 18 */ lfs f0, 0x18(r4)
/* 8018568C 001825EC D0 05 00 18 */ stfs f0, 0x18(r5)
/* 80185690 001825F0 C0 04 00 1C */ lfs f0, 0x1c(r4)
/* 80185694 001825F4 D0 05 00 1C */ stfs f0, 0x1c(r5)
/* 80185698 001825F8 C0 04 00 20 */ lfs f0, 0x20(r4)
/* 8018569C 001825FC D0 05 00 20 */ stfs f0, 0x20(r5)
/* 801856A0 00182600 C0 04 00 24 */ lfs f0, 0x24(r4)
/* 801856A4 00182604 D0 05 00 24 */ stfs f0, 0x24(r5)
/* 801856A8 00182608 C0 04 00 28 */ lfs f0, 0x28(r4)
/* 801856AC 0018260C D0 05 00 28 */ stfs f0, 0x28(r5)
/* 801856B0 00182610 C0 04 00 2C */ lfs f0, 0x2c(r4)
/* 801856B4 00182614 D0 05 00 2C */ stfs f0, 0x2c(r5)
/* 801856B8 00182618 88 04 00 30 */ lbz r0, 0x30(r4)
/* 801856BC 0018261C 98 05 00 30 */ stb r0, 0x30(r5)
/* 801856C0 00182620 88 04 00 31 */ lbz r0, 0x31(r4)
/* 801856C4 00182624 98 05 00 31 */ stb r0, 0x31(r5)
/* 801856C8 00182628 80 04 00 38 */ lwz r0, 0x38(r4)
/* 801856CC 0018262C 80 64 00 3C */ lwz r3, 0x3c(r4)
/* 801856D0 00182630 90 65 00 3C */ stw r3, 0x3c(r5)
/* 801856D4 00182634 90 05 00 38 */ stw r0, 0x38(r5)
/* 801856D8 00182638 80 04 00 40 */ lwz r0, 0x40(r4)
/* 801856DC 0018263C 80 64 00 44 */ lwz r3, 0x44(r4)
/* 801856E0 00182640 90 65 00 44 */ stw r3, 0x44(r5)
/* 801856E4 00182644 90 05 00 40 */ stw r0, 0x40(r5)
/* 801856E8 00182648 C0 04 00 48 */ lfs f0, 0x48(r4)
/* 801856EC 0018264C D0 05 00 48 */ stfs f0, 0x48(r5)
/* 801856F0 00182650 C0 04 00 4C */ lfs f0, 0x4c(r4)
/* 801856F4 00182654 D0 05 00 4C */ stfs f0, 0x4c(r5)
/* 801856F8 00182658 C0 04 00 50 */ lfs f0, 0x50(r4)
/* 801856FC 0018265C D0 05 00 50 */ stfs f0, 0x50(r5)
/* 80185700 00182660 C0 04 00 54 */ lfs f0, 0x54(r4)
/* 80185704 00182664 D0 05 00 54 */ stfs f0, 0x54(r5)
/* 80185708 00182668 C0 04 00 58 */ lfs f0, 0x58(r4)
/* 8018570C 0018266C D0 05 00 58 */ stfs f0, 0x58(r5)
/* 80185710 00182670 C0 04 00 5C */ lfs f0, 0x5c(r4)
/* 80185714 00182674 D0 05 00 5C */ stfs f0, 0x5c(r5)
lbl_80185718:
/* 80185718 00182678 80 7F 00 00 */ lwz r3, 0(r31)
/* 8018571C 0018267C 38 03 00 01 */ addi r0, r3, 1
/* 80185720 00182680 90 1F 00 00 */ stw r0, 0(r31)
/* 80185724 00182684 48 00 00 F0 */ b lbl_80185814
lbl_80185728:
/* 80185728 00182688 38 61 00 08 */ addi r3, r1, 8
/* 8018572C 0018268C 38 A0 00 00 */ li r5, 0
/* 80185730 00182690 48 14 8A C5 */ bl GetSwapped__14CCollisionInfoCFv
/* 80185734 00182694 80 1F 00 00 */ lwz r0, 0(r31)
/* 80185738 00182698 1C 00 00 60 */ mulli r0, r0, 0x60
/* 8018573C 0018269C 7C 9F 02 14 */ add r4, r31, r0
/* 80185740 001826A0 34 84 00 04 */ addic. r4, r4, 4
/* 80185744 001826A4 41 82 00 C4 */ beq lbl_80185808
/* 80185748 001826A8 C0 01 00 08 */ lfs f0, 8(r1)
/* 8018574C 001826AC D0 04 00 00 */ stfs f0, 0(r4)
/* 80185750 001826B0 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80185754 001826B4 D0 04 00 04 */ stfs f0, 4(r4)
/* 80185758 001826B8 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8018575C 001826BC D0 04 00 08 */ stfs f0, 8(r4)
/* 80185760 001826C0 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80185764 001826C4 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 80185768 001826C8 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8018576C 001826CC D0 04 00 10 */ stfs f0, 0x10(r4)
/* 80185770 001826D0 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80185774 001826D4 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 80185778 001826D8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8018577C 001826DC D0 04 00 18 */ stfs f0, 0x18(r4)
/* 80185780 001826E0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80185784 001826E4 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 80185788 001826E8 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8018578C 001826EC D0 04 00 20 */ stfs f0, 0x20(r4)
/* 80185790 001826F0 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80185794 001826F4 D0 04 00 24 */ stfs f0, 0x24(r4)
/* 80185798 001826F8 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8018579C 001826FC D0 04 00 28 */ stfs f0, 0x28(r4)
/* 801857A0 00182700 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 801857A4 00182704 D0 04 00 2C */ stfs f0, 0x2c(r4)
/* 801857A8 00182708 88 01 00 38 */ lbz r0, 0x38(r1)
/* 801857AC 0018270C 98 04 00 30 */ stb r0, 0x30(r4)
/* 801857B0 00182710 88 01 00 39 */ lbz r0, 0x39(r1)
/* 801857B4 00182714 98 04 00 31 */ stb r0, 0x31(r4)
/* 801857B8 00182718 80 01 00 40 */ lwz r0, 0x40(r1)
/* 801857BC 0018271C 80 61 00 44 */ lwz r3, 0x44(r1)
/* 801857C0 00182720 90 64 00 3C */ stw r3, 0x3c(r4)
/* 801857C4 00182724 90 04 00 38 */ stw r0, 0x38(r4)
/* 801857C8 00182728 80 01 00 48 */ lwz r0, 0x48(r1)
/* 801857CC 0018272C 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 801857D0 00182730 90 64 00 44 */ stw r3, 0x44(r4)
/* 801857D4 00182734 90 04 00 40 */ stw r0, 0x40(r4)
/* 801857D8 00182738 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 801857DC 0018273C D0 04 00 48 */ stfs f0, 0x48(r4)
/* 801857E0 00182740 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 801857E4 00182744 D0 04 00 4C */ stfs f0, 0x4c(r4)
/* 801857E8 00182748 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 801857EC 0018274C D0 04 00 50 */ stfs f0, 0x50(r4)
/* 801857F0 00182750 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 801857F4 00182754 D0 04 00 54 */ stfs f0, 0x54(r4)
/* 801857F8 00182758 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 801857FC 0018275C D0 04 00 58 */ stfs f0, 0x58(r4)
/* 80185800 00182760 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 80185804 00182764 D0 04 00 5C */ stfs f0, 0x5c(r4)
lbl_80185808:
/* 80185808 00182768 80 7F 00 00 */ lwz r3, 0(r31)
/* 8018580C 0018276C 38 03 00 01 */ addi r0, r3, 1
/* 80185810 00182770 90 1F 00 00 */ stw r0, 0(r31)
lbl_80185814:
/* 80185814 00182774 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80185818 00182778 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8018581C 0018277C 7C 08 03 A6 */ mtlr r0
/* 80185820 00182780 38 21 00 70 */ addi r1, r1, 0x70
2022-07-14 05:48:03 +00:00
/* 80185824 00182784 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_805ABFC8
lbl_805ABFC8:
# ROM: 0x3F8868
.4byte 0
.global lbl_805ABFCC
lbl_805ABFCC:
# ROM: 0x3F886C
.4byte 0x3F99999A
.global lbl_805ABFD0
lbl_805ABFD0:
# ROM: 0x3F8870
.float 6.2831855
.4byte 0
.global lbl_805ABFD8
lbl_805ABFD8:
# ROM: 0x3F8878
.double 4.503601774854144E15
.global lbl_805ABFE0
lbl_805ABFE0:
# ROM: 0x3F8880
.4byte 0x3BA3D70A
.global lbl_805ABFE4
lbl_805ABFE4:
# ROM: 0x3F8884
.float 0.5
.global lbl_805ABFE8
lbl_805ABFE8:
# ROM: 0x3F8888
.4byte 0x3A03126F
.global lbl_805ABFEC
lbl_805ABFEC:
# ROM: 0x3F888C
.float 5.0
.global lbl_805ABFF0
lbl_805ABFF0:
# ROM: 0x3F8890
.float 0.001
.global lbl_805ABFF4
lbl_805ABFF4:
# ROM: 0x3F8894
.float 1.0
.global lbl_805ABFF8
lbl_805ABFF8:
# ROM: 0x3F8898
.4byte 0xB8D1B717
.global lbl_805ABFFC
lbl_805ABFFC:
# ROM: 0x3F889C
.4byte 0x3D4CCCCD
.global lbl_805AC000
lbl_805AC000:
# ROM: 0x3F88A0
.float 0.1
.global lbl_805AC004
lbl_805AC004:
# ROM: 0x3F88A4
.4byte 0xBD4CCCCD
.global lbl_805AC008
lbl_805AC008:
# ROM: 0x3F88A8
.float 2.0
.global lbl_805AC00C
lbl_805AC00C:
# ROM: 0x3F88AC
.4byte 0x3F59999A
.global lbl_805AC010
lbl_805AC010:
# ROM: 0x3F88B0
.float 0.2
.global lbl_805AC014
lbl_805AC014:
# ROM: 0x3F88B4
.4byte 0x47C35000
.global lbl_805AC018
lbl_805AC018:
# ROM: 0x3F88B8
.float 0.1
.global lbl_805AC01C
lbl_805AC01C:
# ROM: 0x3F88BC
.4byte 0x3F99999A
.global lbl_805AC020
lbl_805AC020:
# ROM: 0x3F88C0
.float 0.5
.4byte 0
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D0690
lbl_803D0690:
# ROM: 0x3CD690
.asciz "CCollidableSphere"
.byte 0x43, 0x43
.asciz "ollidableOBBTreeGroup"
.byte 0x43, 0x43
.asciz "ollidableAABox"
.balign 4
.4byte 0