2022-04-15 07:32:53 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
2022-04-18 04:19:18 +00:00
|
|
|
.section .data
|
|
|
|
|
|
|
|
.global lbl_803ECAD0
|
|
|
|
lbl_803ECAD0:
|
|
|
|
# ROM: 0x3E9AD0
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
.4byte GetTableIndex__16CCollidableAABoxCFv
|
|
|
|
.4byte SetMaterial__19CCollisionPrimitiveFRC13CMaterialList
|
|
|
|
.4byte GetMaterial__19CCollisionPrimitiveCFv
|
|
|
|
.4byte CalculateAABox__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
.4byte CalculateLocalAABox__16CCollidableAABoxCFv
|
|
|
|
.4byte GetPrimType__16CCollidableAABoxCFv
|
|
|
|
.4byte __dt__16CCollidableAABoxFv
|
|
|
|
.4byte CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure
|
|
|
|
|
2022-04-23 07:19:32 +00:00
|
|
|
.section .sdata
|
|
|
|
|
|
|
|
.global sTableIndex__16CCollidableAABox
|
|
|
|
sTableIndex__16CCollidableAABox:
|
|
|
|
# ROM: 0x3F6088
|
|
|
|
.4byte 0xFFFFFFFF
|
|
|
|
.4byte 0
|
|
|
|
|
2022-04-16 23:18:42 +00:00
|
|
|
.section .bss
|
|
|
|
|
|
|
|
.global lbl_80479498
|
|
|
|
lbl_80479498:
|
|
|
|
.skip 0x48
|
2022-07-14 05:48:03 +00:00
|
|
|
|
2022-07-14 05:36:41 +00:00
|
|
|
.section .text, "ax"
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global GetTableIndex__16CCollidableAABoxCFv
|
|
|
|
GetTableIndex__16CCollidableAABoxCFv:
|
2022-04-23 07:19:32 +00:00
|
|
|
/* 802CD4C8 002CA428 80 6D 9B 28 */ lwz r3, sTableIndex__16CCollidableAABox@sda21(r13)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD4CC 002CA42C 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global GetPrimType__16CCollidableAABoxCFv
|
|
|
|
GetPrimType__16CCollidableAABoxCFv:
|
|
|
|
/* 802CD4D0 002CA430 3C 60 41 41 */ lis r3, 0x41414258@ha
|
|
|
|
/* 802CD4D4 002CA434 38 63 42 58 */ addi r3, r3, 0x41414258@l
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD4D8 002CA438 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
Transform__16CCollidableAABoxCFRC12CTransform4f:
|
|
|
|
/* 802CD4DC 002CA43C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 802CD4E0 002CA440 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CD4E4 002CA444 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 802CD4E8 002CA448 C0 45 00 2C */ lfs f2, 0x2c(r5)
|
|
|
|
/* 802CD4EC 002CA44C C0 04 00 18 */ lfs f0, 0x18(r4)
|
|
|
|
/* 802CD4F0 002CA450 C0 24 00 24 */ lfs f1, 0x24(r4)
|
|
|
|
/* 802CD4F4 002CA454 EC 60 10 2A */ fadds f3, f0, f2
|
|
|
|
/* 802CD4F8 002CA458 C0 E5 00 1C */ lfs f7, 0x1c(r5)
|
|
|
|
/* 802CD4FC 002CA45C EC 81 10 2A */ fadds f4, f1, f2
|
|
|
|
/* 802CD500 002CA460 C0 04 00 20 */ lfs f0, 0x20(r4)
|
|
|
|
/* 802CD504 002CA464 C0 C5 00 0C */ lfs f6, 0xc(r5)
|
|
|
|
/* 802CD508 002CA468 38 A1 00 08 */ addi r5, r1, 8
|
|
|
|
/* 802CD50C 002CA46C EC A0 38 2A */ fadds f5, f0, f7
|
|
|
|
/* 802CD510 002CA470 C0 44 00 1C */ lfs f2, 0x1c(r4)
|
|
|
|
/* 802CD514 002CA474 C0 24 00 14 */ lfs f1, 0x14(r4)
|
|
|
|
/* 802CD518 002CA478 C0 04 00 10 */ lfs f0, 0x10(r4)
|
|
|
|
/* 802CD51C 002CA47C EC 42 30 2A */ fadds f2, f2, f6
|
|
|
|
/* 802CD520 002CA480 EC 21 38 2A */ fadds f1, f1, f7
|
|
|
|
/* 802CD524 002CA484 EC 00 30 2A */ fadds f0, f0, f6
|
|
|
|
/* 802CD528 002CA488 D0 A1 00 0C */ stfs f5, 0xc(r1)
|
|
|
|
/* 802CD52C 002CA48C 38 81 00 14 */ addi r4, r1, 0x14
|
|
|
|
/* 802CD530 002CA490 D0 41 00 08 */ stfs f2, 8(r1)
|
|
|
|
/* 802CD534 002CA494 D0 81 00 10 */ stfs f4, 0x10(r1)
|
|
|
|
/* 802CD538 002CA498 D0 01 00 14 */ stfs f0, 0x14(r1)
|
|
|
|
/* 802CD53C 002CA49C D0 21 00 18 */ stfs f1, 0x18(r1)
|
|
|
|
/* 802CD540 002CA4A0 D0 61 00 1C */ stfs f3, 0x1c(r1)
|
|
|
|
/* 802CD544 002CA4A4 48 06 AF C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
|
|
|
|
/* 802CD548 002CA4A8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 802CD54C 002CA4AC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CD550 002CA4B0 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD554 002CA4B4 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global CalculateAABox__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
CalculateAABox__16CCollidableAABoxCFRC12CTransform4f:
|
|
|
|
/* 802CD558 002CA4B8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 802CD55C 002CA4BC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CD560 002CA4C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 802CD564 002CA4C4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 802CD568 002CA4C8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 802CD56C 002CA4CC 4B FF FF 71 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CD570 002CA4D0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 802CD574 002CA4D4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 802CD578 002CA4D8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CD57C 002CA4DC 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD580 002CA4E0 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global CalculateLocalAABox__16CCollidableAABoxCFv
|
|
|
|
CalculateLocalAABox__16CCollidableAABoxCFv:
|
|
|
|
/* 802CD584 002CA4E4 C0 04 00 10 */ lfs f0, 0x10(r4)
|
|
|
|
/* 802CD588 002CA4E8 D0 03 00 00 */ stfs f0, 0(r3)
|
|
|
|
/* 802CD58C 002CA4EC C0 04 00 14 */ lfs f0, 0x14(r4)
|
|
|
|
/* 802CD590 002CA4F0 D0 03 00 04 */ stfs f0, 4(r3)
|
|
|
|
/* 802CD594 002CA4F4 C0 04 00 18 */ lfs f0, 0x18(r4)
|
|
|
|
/* 802CD598 002CA4F8 D0 03 00 08 */ stfs f0, 8(r3)
|
|
|
|
/* 802CD59C 002CA4FC C0 04 00 1C */ lfs f0, 0x1c(r4)
|
|
|
|
/* 802CD5A0 002CA500 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
|
|
/* 802CD5A4 002CA504 C0 04 00 20 */ lfs f0, 0x20(r4)
|
|
|
|
/* 802CD5A8 002CA508 D0 03 00 10 */ stfs f0, 0x10(r3)
|
|
|
|
/* 802CD5AC 002CA50C C0 04 00 24 */ lfs f0, 0x24(r4)
|
|
|
|
/* 802CD5B0 002CA510 D0 03 00 14 */ stfs f0, 0x14(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD5B4 002CA514 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure
|
|
|
|
CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure:
|
|
|
|
/* 802CD5B8 002CA518 94 21 FE 80 */ stwu r1, -0x180(r1)
|
|
|
|
/* 802CD5BC 002CA51C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CD5C0 002CA520 90 01 01 84 */ stw r0, 0x184(r1)
|
|
|
|
/* 802CD5C4 002CA524 DB E1 01 70 */ stfd f31, 0x170(r1)
|
|
|
|
/* 802CD5C8 002CA528 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
|
|
|
|
/* 802CD5CC 002CA52C DB C1 01 60 */ stfd f30, 0x160(r1)
|
|
|
|
/* 802CD5D0 002CA530 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
|
|
|
|
/* 802CD5D4 002CA534 DB A1 01 50 */ stfd f29, 0x150(r1)
|
|
|
|
/* 802CD5D8 002CA538 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0
|
|
|
|
/* 802CD5DC 002CA53C DB 81 01 40 */ stfd f28, 0x140(r1)
|
|
|
|
/* 802CD5E0 002CA540 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0
|
|
|
|
/* 802CD5E4 002CA544 93 E1 01 3C */ stw r31, 0x13c(r1)
|
|
|
|
/* 802CD5E8 002CA548 93 C1 01 38 */ stw r30, 0x138(r1)
|
|
|
|
/* 802CD5EC 002CA54C 93 A1 01 34 */ stw r29, 0x134(r1)
|
|
|
|
/* 802CD5F0 002CA550 93 81 01 30 */ stw r28, 0x130(r1)
|
|
|
|
/* 802CD5F4 002CA554 7C 9C 23 78 */ mr r28, r4
|
|
|
|
/* 802CD5F8 002CA558 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 802CD5FC 002CA55C 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 802CD600 002CA560 7C BD 2B 78 */ mr r29, r5
|
|
|
|
/* 802CD604 002CA564 81 9C 00 00 */ lwz r12, 0(r28)
|
|
|
|
/* 802CD608 002CA568 83 C5 00 6C */ lwz r30, 0x6c(r5)
|
|
|
|
/* 802CD60C 002CA56C 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CD610 002CA570 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD614 002CA574 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CD618 002CA578 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 802CD61C 002CA57C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 802CD620 002CA580 48 00 7D 2D */ bl Passes__15CMaterialFilterCFRC13CMaterialList
|
|
|
|
/* 802CD624 002CA584 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
|
|
/* 802CD628 002CA588 40 82 00 64 */ bne lbl_802CD68C
|
|
|
|
/* 802CD62C 002CA58C C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CD630 002CA590 38 61 00 24 */ addi r3, r1, 0x24
|
|
|
|
/* 802CD634 002CA594 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
|
|
|
|
/* 802CD638 002CA598 D0 3F 00 00 */ stfs f1, 0(r31)
|
|
|
|
/* 802CD63C 002CA59C D0 3F 00 04 */ stfs f1, 4(r31)
|
|
|
|
/* 802CD640 002CA5A0 D0 3F 00 08 */ stfs f1, 8(r31)
|
|
|
|
/* 802CD644 002CA5A4 D0 3F 00 0C */ stfs f1, 0xc(r31)
|
|
|
|
/* 802CD648 002CA5A8 D0 01 00 24 */ stfs f0, 0x24(r1)
|
|
|
|
/* 802CD64C 002CA5AC D0 21 00 28 */ stfs f1, 0x28(r1)
|
|
|
|
/* 802CD650 002CA5B0 D0 21 00 2C */ stfs f1, 0x2c(r1)
|
|
|
|
/* 802CD654 002CA5B4 48 04 72 A5 */ bl Normalize__9CVector3fFv
|
|
|
|
/* 802CD658 002CA5B8 C0 21 00 24 */ lfs f1, 0x24(r1)
|
|
|
|
/* 802CD65C 002CA5BC 38 00 00 00 */ li r0, 0
|
|
|
|
/* 802CD660 002CA5C0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CD664 002CA5C4 D0 3F 00 10 */ stfs f1, 0x10(r31)
|
|
|
|
/* 802CD668 002CA5C8 C0 21 00 28 */ lfs f1, 0x28(r1)
|
|
|
|
/* 802CD66C 002CA5CC D0 3F 00 14 */ stfs f1, 0x14(r31)
|
|
|
|
/* 802CD670 002CA5D0 C0 21 00 2C */ lfs f1, 0x2c(r1)
|
|
|
|
/* 802CD674 002CA5D4 D0 3F 00 18 */ stfs f1, 0x18(r31)
|
|
|
|
/* 802CD678 002CA5D8 D0 1F 00 1C */ stfs f0, 0x1c(r31)
|
|
|
|
/* 802CD67C 002CA5DC 98 1F 00 20 */ stb r0, 0x20(r31)
|
|
|
|
/* 802CD680 002CA5E0 90 1F 00 2C */ stw r0, 0x2c(r31)
|
|
|
|
/* 802CD684 002CA5E4 90 1F 00 28 */ stw r0, 0x28(r31)
|
|
|
|
/* 802CD688 002CA5E8 48 00 02 7C */ b lbl_802CD904
|
|
|
|
lbl_802CD68C:
|
|
|
|
/* 802CD68C 002CA5EC 38 61 01 00 */ addi r3, r1, 0x100
|
|
|
|
/* 802CD690 002CA5F0 38 9D 00 3C */ addi r4, r29, 0x3c
|
|
|
|
/* 802CD694 002CA5F4 48 04 54 E1 */ bl __ct__12CTransform4fFRC12CTransform4f
|
|
|
|
/* 802CD698 002CA5F8 38 61 00 6C */ addi r3, r1, 0x6c
|
|
|
|
/* 802CD69C 002CA5FC 38 9D 00 3C */ addi r4, r29, 0x3c
|
|
|
|
/* 802CD6A0 002CA600 48 04 55 FD */ bl GetQuickInverse__12CTransform4fCFv
|
|
|
|
/* 802CD6A4 002CA604 38 61 00 D0 */ addi r3, r1, 0xd0
|
|
|
|
/* 802CD6A8 002CA608 38 81 00 6C */ addi r4, r1, 0x6c
|
|
|
|
/* 802CD6AC 002CA60C 48 04 54 C9 */ bl __ct__12CTransform4fFRC12CTransform4f
|
|
|
|
/* 802CD6B0 002CA610 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 802CD6B4 002CA614 38 61 00 3C */ addi r3, r1, 0x3c
|
|
|
|
/* 802CD6B8 002CA618 38 81 00 D0 */ addi r4, r1, 0xd0
|
|
|
|
/* 802CD6BC 002CA61C 48 04 54 2D */ bl __ml__12CTransform4fCFRC9CVector3f
|
|
|
|
/* 802CD6C0 002CA620 C0 41 00 3C */ lfs f2, 0x3c(r1)
|
|
|
|
/* 802CD6C4 002CA624 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 802CD6C8 002CA628 C0 21 00 40 */ lfs f1, 0x40(r1)
|
|
|
|
/* 802CD6CC 002CA62C 38 81 00 D0 */ addi r4, r1, 0xd0
|
|
|
|
/* 802CD6D0 002CA630 C0 01 00 44 */ lfs f0, 0x44(r1)
|
|
|
|
/* 802CD6D4 002CA634 38 BD 00 2C */ addi r5, r29, 0x2c
|
|
|
|
/* 802CD6D8 002CA638 D0 41 00 60 */ stfs f2, 0x60(r1)
|
|
|
|
/* 802CD6DC 002CA63C D0 21 00 64 */ stfs f1, 0x64(r1)
|
|
|
|
/* 802CD6E0 002CA640 D0 01 00 68 */ stfs f0, 0x68(r1)
|
|
|
|
/* 802CD6E4 002CA644 48 04 53 9D */ bl Rotate__12CTransform4fCFRC9CVector3f
|
|
|
|
/* 802CD6E8 002CA648 C0 41 00 30 */ lfs f2, 0x30(r1)
|
|
|
|
/* 802CD6EC 002CA64C 38 7C 00 10 */ addi r3, r28, 0x10
|
|
|
|
/* 802CD6F0 002CA650 C0 21 00 34 */ lfs f1, 0x34(r1)
|
|
|
|
/* 802CD6F4 002CA654 38 81 00 60 */ addi r4, r1, 0x60
|
|
|
|
/* 802CD6F8 002CA658 C0 01 00 38 */ lfs f0, 0x38(r1)
|
|
|
|
/* 802CD6FC 002CA65C 38 A1 00 54 */ addi r5, r1, 0x54
|
|
|
|
/* 802CD700 002CA660 D0 41 00 54 */ stfs f2, 0x54(r1)
|
|
|
|
/* 802CD704 002CA664 38 C1 00 14 */ addi r6, r1, 0x14
|
|
|
|
/* 802CD708 002CA668 C3 FD 00 38 */ lfs f31, 0x38(r29)
|
|
|
|
/* 802CD70C 002CA66C 38 E1 00 10 */ addi r7, r1, 0x10
|
|
|
|
/* 802CD710 002CA670 D0 21 00 58 */ stfs f1, 0x58(r1)
|
|
|
|
/* 802CD714 002CA674 39 01 00 0C */ addi r8, r1, 0xc
|
|
|
|
/* 802CD718 002CA678 39 21 00 08 */ addi r9, r1, 8
|
|
|
|
/* 802CD71C 002CA67C D0 01 00 5C */ stfs f0, 0x5c(r1)
|
|
|
|
/* 802CD720 002CA680 48 00 44 89 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb
|
|
|
|
/* 802CD724 002CA684 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
|
|
/* 802CD728 002CA688 41 82 00 24 */ beq lbl_802CD74C
|
|
|
|
/* 802CD72C 002CA68C C0 21 00 14 */ lfs f1, 0x14(r1)
|
|
|
|
/* 802CD730 002CA690 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CD734 002CA694 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
|
|
/* 802CD738 002CA698 41 80 00 14 */ blt lbl_802CD74C
|
|
|
|
/* 802CD73C 002CA69C FC 1F 00 40 */ fcmpo cr0, f31, f0
|
|
|
|
/* 802CD740 002CA6A0 40 81 00 6C */ ble lbl_802CD7AC
|
|
|
|
/* 802CD744 002CA6A4 FC 01 F8 40 */ fcmpo cr0, f1, f31
|
|
|
|
/* 802CD748 002CA6A8 40 81 00 64 */ ble lbl_802CD7AC
|
|
|
|
lbl_802CD74C:
|
|
|
|
/* 802CD74C 002CA6AC C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CD750 002CA6B0 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 802CD754 002CA6B4 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
|
|
|
|
/* 802CD758 002CA6B8 D0 3F 00 00 */ stfs f1, 0(r31)
|
|
|
|
/* 802CD75C 002CA6BC D0 3F 00 04 */ stfs f1, 4(r31)
|
|
|
|
/* 802CD760 002CA6C0 D0 3F 00 08 */ stfs f1, 8(r31)
|
|
|
|
/* 802CD764 002CA6C4 D0 3F 00 0C */ stfs f1, 0xc(r31)
|
|
|
|
/* 802CD768 002CA6C8 D0 01 00 18 */ stfs f0, 0x18(r1)
|
|
|
|
/* 802CD76C 002CA6CC D0 21 00 1C */ stfs f1, 0x1c(r1)
|
|
|
|
/* 802CD770 002CA6D0 D0 21 00 20 */ stfs f1, 0x20(r1)
|
|
|
|
/* 802CD774 002CA6D4 48 04 71 85 */ bl Normalize__9CVector3fFv
|
|
|
|
/* 802CD778 002CA6D8 C0 21 00 18 */ lfs f1, 0x18(r1)
|
|
|
|
/* 802CD77C 002CA6DC 38 00 00 00 */ li r0, 0
|
|
|
|
/* 802CD780 002CA6E0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CD784 002CA6E4 D0 3F 00 10 */ stfs f1, 0x10(r31)
|
|
|
|
/* 802CD788 002CA6E8 C0 21 00 1C */ lfs f1, 0x1c(r1)
|
|
|
|
/* 802CD78C 002CA6EC D0 3F 00 14 */ stfs f1, 0x14(r31)
|
|
|
|
/* 802CD790 002CA6F0 C0 21 00 20 */ lfs f1, 0x20(r1)
|
|
|
|
/* 802CD794 002CA6F4 D0 3F 00 18 */ stfs f1, 0x18(r31)
|
|
|
|
/* 802CD798 002CA6F8 D0 1F 00 1C */ stfs f0, 0x1c(r31)
|
|
|
|
/* 802CD79C 002CA6FC 98 1F 00 20 */ stb r0, 0x20(r31)
|
|
|
|
/* 802CD7A0 002CA700 90 1F 00 2C */ stw r0, 0x2c(r31)
|
|
|
|
/* 802CD7A4 002CA704 90 1F 00 28 */ stw r0, 0x28(r31)
|
|
|
|
/* 802CD7A8 002CA708 48 00 01 5C */ b lbl_802CD904
|
|
|
|
lbl_802CD7AC:
|
|
|
|
/* 802CD7AC 002CA70C 88 01 00 08 */ lbz r0, 8(r1)
|
|
|
|
/* 802CD7B0 002CA710 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 802CD7B4 002CA714 41 82 00 0C */ beq lbl_802CD7C0
|
|
|
|
/* 802CD7B8 002CA718 C0 62 C4 84 */ lfs f3, lbl_805AE1A4@sda21(r2)
|
|
|
|
/* 802CD7BC 002CA71C 48 00 00 08 */ b lbl_802CD7C4
|
|
|
|
lbl_802CD7C0:
|
|
|
|
/* 802CD7C0 002CA720 C0 62 C4 88 */ lfs f3, lbl_805AE1A8@sda21(r2)
|
|
|
|
lbl_802CD7C4:
|
|
|
|
/* 802CD7C4 002CA724 3C 60 80 5A */ lis r3, skZero3f@ha
|
|
|
|
/* 802CD7C8 002CA728 80 A1 00 0C */ lwz r5, 0xc(r1)
|
|
|
|
/* 802CD7CC 002CA72C 38 83 66 A0 */ addi r4, r3, skZero3f@l
|
|
|
|
/* 802CD7D0 002CA730 38 61 00 48 */ addi r3, r1, 0x48
|
|
|
|
/* 802CD7D4 002CA734 C0 44 00 00 */ lfs f2, 0(r4)
|
|
|
|
/* 802CD7D8 002CA738 54 A0 10 3A */ slwi r0, r5, 2
|
|
|
|
/* 802CD7DC 002CA73C C0 24 00 04 */ lfs f1, 4(r4)
|
|
|
|
/* 802CD7E0 002CA740 2C 05 00 00 */ cmpwi r5, 0
|
|
|
|
/* 802CD7E4 002CA744 C0 04 00 08 */ lfs f0, 8(r4)
|
|
|
|
/* 802CD7E8 002CA748 D0 41 00 48 */ stfs f2, 0x48(r1)
|
|
|
|
/* 802CD7EC 002CA74C D0 21 00 4C */ stfs f1, 0x4c(r1)
|
|
|
|
/* 802CD7F0 002CA750 D0 01 00 50 */ stfs f0, 0x50(r1)
|
|
|
|
/* 802CD7F4 002CA754 7C 63 05 2E */ stfsx f3, r3, r0
|
|
|
|
/* 802CD7F8 002CA758 C3 C1 00 48 */ lfs f30, 0x48(r1)
|
|
|
|
/* 802CD7FC 002CA75C C3 A1 00 4C */ lfs f29, 0x4c(r1)
|
|
|
|
/* 802CD800 002CA760 C3 81 00 50 */ lfs f28, 0x50(r1)
|
|
|
|
/* 802CD804 002CA764 41 82 00 10 */ beq lbl_802CD814
|
|
|
|
/* 802CD808 002CA768 7C 7C 02 14 */ add r3, r28, r0
|
|
|
|
/* 802CD80C 002CA76C C3 E3 00 10 */ lfs f31, 0x10(r3)
|
|
|
|
/* 802CD810 002CA770 48 00 00 10 */ b lbl_802CD820
|
|
|
|
lbl_802CD814:
|
|
|
|
/* 802CD814 002CA774 7C 7C 02 14 */ add r3, r28, r0
|
|
|
|
/* 802CD818 002CA778 C0 03 00 1C */ lfs f0, 0x1c(r3)
|
|
|
|
/* 802CD81C 002CA77C FF E0 00 50 */ fneg f31, f0
|
|
|
|
lbl_802CD820:
|
|
|
|
/* 802CD820 002CA780 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 802CD824 002CA784 81 9C 00 00 */ lwz r12, 0(r28)
|
|
|
|
/* 802CD828 002CA788 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CD82C 002CA78C 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD830 002CA790 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CD834 002CA794 C0 C1 00 14 */ lfs f6, 0x14(r1)
|
|
|
|
/* 802CD838 002CA798 38 00 00 01 */ li r0, 1
|
|
|
|
/* 802CD83C 002CA79C C0 41 00 58 */ lfs f2, 0x58(r1)
|
|
|
|
/* 802CD840 002CA7A0 38 81 01 00 */ addi r4, r1, 0x100
|
|
|
|
/* 802CD844 002CA7A4 C0 21 00 5C */ lfs f1, 0x5c(r1)
|
|
|
|
/* 802CD848 002CA7A8 C0 01 00 54 */ lfs f0, 0x54(r1)
|
|
|
|
/* 802CD84C 002CA7AC EC 86 00 B2 */ fmuls f4, f6, f2
|
|
|
|
/* 802CD850 002CA7B0 C0 A1 00 64 */ lfs f5, 0x64(r1)
|
|
|
|
/* 802CD854 002CA7B4 EC 46 00 72 */ fmuls f2, f6, f1
|
|
|
|
/* 802CD858 002CA7B8 C0 61 00 68 */ lfs f3, 0x68(r1)
|
|
|
|
/* 802CD85C 002CA7BC EC 06 00 32 */ fmuls f0, f6, f0
|
|
|
|
/* 802CD860 002CA7C0 C0 21 00 60 */ lfs f1, 0x60(r1)
|
|
|
|
/* 802CD864 002CA7C4 EC 85 20 2A */ fadds f4, f5, f4
|
|
|
|
/* 802CD868 002CA7C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1)
|
|
|
|
/* 802CD86C 002CA7CC EC 43 10 2A */ fadds f2, f3, f2
|
|
|
|
/* 802CD870 002CA7D0 EC 01 00 2A */ fadds f0, f1, f0
|
|
|
|
/* 802CD874 002CA7D4 D3 C1 00 B0 */ stfs f30, 0xb0(r1)
|
|
|
|
/* 802CD878 002CA7D8 D0 81 00 A8 */ stfs f4, 0xa8(r1)
|
|
|
|
/* 802CD87C 002CA7DC D0 01 00 A4 */ stfs f0, 0xa4(r1)
|
|
|
|
/* 802CD880 002CA7E0 D0 41 00 AC */ stfs f2, 0xac(r1)
|
|
|
|
/* 802CD884 002CA7E4 D3 A1 00 B4 */ stfs f29, 0xb4(r1)
|
|
|
|
/* 802CD888 002CA7E8 D3 81 00 B8 */ stfs f28, 0xb8(r1)
|
|
|
|
/* 802CD88C 002CA7EC D3 E1 00 BC */ stfs f31, 0xbc(r1)
|
|
|
|
/* 802CD890 002CA7F0 98 01 00 C0 */ stb r0, 0xc0(r1)
|
|
|
|
/* 802CD894 002CA7F4 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 802CD898 002CA7F8 80 A3 00 04 */ lwz r5, 4(r3)
|
|
|
|
/* 802CD89C 002CA7FC 38 61 00 A0 */ addi r3, r1, 0xa0
|
|
|
|
/* 802CD8A0 002CA800 90 A1 00 CC */ stw r5, 0xcc(r1)
|
|
|
|
/* 802CD8A4 002CA804 90 01 00 C8 */ stw r0, 0xc8(r1)
|
|
|
|
/* 802CD8A8 002CA808 4B FE 00 09 */ bl Transform__14CRayCastResultFRC12CTransform4f
|
|
|
|
/* 802CD8AC 002CA80C C0 01 00 A0 */ lfs f0, 0xa0(r1)
|
|
|
|
/* 802CD8B0 002CA810 D0 1F 00 00 */ stfs f0, 0(r31)
|
|
|
|
/* 802CD8B4 002CA814 C0 01 00 A4 */ lfs f0, 0xa4(r1)
|
|
|
|
/* 802CD8B8 002CA818 D0 1F 00 04 */ stfs f0, 4(r31)
|
|
|
|
/* 802CD8BC 002CA81C C0 01 00 A8 */ lfs f0, 0xa8(r1)
|
|
|
|
/* 802CD8C0 002CA820 D0 1F 00 08 */ stfs f0, 8(r31)
|
|
|
|
/* 802CD8C4 002CA824 C0 01 00 AC */ lfs f0, 0xac(r1)
|
|
|
|
/* 802CD8C8 002CA828 D0 1F 00 0C */ stfs f0, 0xc(r31)
|
|
|
|
/* 802CD8CC 002CA82C C0 01 00 B0 */ lfs f0, 0xb0(r1)
|
|
|
|
/* 802CD8D0 002CA830 D0 1F 00 10 */ stfs f0, 0x10(r31)
|
|
|
|
/* 802CD8D4 002CA834 C0 01 00 B4 */ lfs f0, 0xb4(r1)
|
|
|
|
/* 802CD8D8 002CA838 D0 1F 00 14 */ stfs f0, 0x14(r31)
|
|
|
|
/* 802CD8DC 002CA83C C0 01 00 B8 */ lfs f0, 0xb8(r1)
|
|
|
|
/* 802CD8E0 002CA840 D0 1F 00 18 */ stfs f0, 0x18(r31)
|
|
|
|
/* 802CD8E4 002CA844 C0 01 00 BC */ lfs f0, 0xbc(r1)
|
|
|
|
/* 802CD8E8 002CA848 D0 1F 00 1C */ stfs f0, 0x1c(r31)
|
|
|
|
/* 802CD8EC 002CA84C 88 01 00 C0 */ lbz r0, 0xc0(r1)
|
|
|
|
/* 802CD8F0 002CA850 98 1F 00 20 */ stb r0, 0x20(r31)
|
|
|
|
/* 802CD8F4 002CA854 80 01 00 C8 */ lwz r0, 0xc8(r1)
|
|
|
|
/* 802CD8F8 002CA858 80 61 00 CC */ lwz r3, 0xcc(r1)
|
|
|
|
/* 802CD8FC 002CA85C 90 7F 00 2C */ stw r3, 0x2c(r31)
|
|
|
|
/* 802CD900 002CA860 90 1F 00 28 */ stw r0, 0x28(r31)
|
|
|
|
lbl_802CD904:
|
|
|
|
/* 802CD904 002CA864 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
|
|
|
|
/* 802CD908 002CA868 CB E1 01 70 */ lfd f31, 0x170(r1)
|
|
|
|
/* 802CD90C 002CA86C E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
|
|
|
|
/* 802CD910 002CA870 CB C1 01 60 */ lfd f30, 0x160(r1)
|
|
|
|
/* 802CD914 002CA874 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0
|
|
|
|
/* 802CD918 002CA878 CB A1 01 50 */ lfd f29, 0x150(r1)
|
|
|
|
/* 802CD91C 002CA87C E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0
|
|
|
|
/* 802CD920 002CA880 CB 81 01 40 */ lfd f28, 0x140(r1)
|
|
|
|
/* 802CD924 002CA884 83 E1 01 3C */ lwz r31, 0x13c(r1)
|
|
|
|
/* 802CD928 002CA888 83 C1 01 38 */ lwz r30, 0x138(r1)
|
|
|
|
/* 802CD92C 002CA88C 83 A1 01 34 */ lwz r29, 0x134(r1)
|
|
|
|
/* 802CD930 002CA890 80 01 01 84 */ lwz r0, 0x184(r1)
|
|
|
|
/* 802CD934 002CA894 83 81 01 30 */ lwz r28, 0x130(r1)
|
|
|
|
/* 802CD938 002CA898 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CD93C 002CA89C 38 21 01 80 */ addi r1, r1, 0x180
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD940 002CA8A0 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
|
|
|
|
CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
|
|
|
|
/* 802CD944 002CA8A4 94 21 FE F0 */ stwu r1, -0x110(r1)
|
|
|
|
/* 802CD948 002CA8A8 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CD94C 002CA8AC 90 01 01 14 */ stw r0, 0x114(r1)
|
|
|
|
/* 802CD950 002CA8B0 BF 41 00 F8 */ stmw r26, 0xf8(r1)
|
|
|
|
/* 802CD954 002CA8B4 7C 7A 1B 78 */ mr r26, r3
|
|
|
|
/* 802CD958 002CA8B8 7C BC 2B 78 */ mr r28, r5
|
|
|
|
/* 802CD95C 002CA8BC 7C 9B 23 78 */ mr r27, r4
|
|
|
|
/* 802CD960 002CA8C0 7C DF 33 78 */ mr r31, r6
|
|
|
|
/* 802CD964 002CA8C4 38 BA 00 08 */ addi r5, r26, 8
|
|
|
|
/* 802CD968 002CA8C8 83 A3 00 00 */ lwz r29, 0(r3)
|
|
|
|
/* 802CD96C 002CA8CC 38 61 00 60 */ addi r3, r1, 0x60
|
|
|
|
/* 802CD970 002CA8D0 83 DA 00 38 */ lwz r30, 0x38(r26)
|
|
|
|
/* 802CD974 002CA8D4 81 9D 00 00 */ lwz r12, 0(r29)
|
|
|
|
/* 802CD978 002CA8D8 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 802CD97C 002CA8DC 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
|
|
/* 802CD980 002CA8E0 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CD988 002CA8E8 C0 A1 00 60 */ lfs f5, 0x60(r1)
|
|
|
|
/* 802CD98C 002CA8EC 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 802CD990 002CA8F0 C0 81 00 64 */ lfs f4, 0x64(r1)
|
|
|
|
/* 802CD994 002CA8F4 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 802CD998 002CA8F8 C0 61 00 68 */ lfs f3, 0x68(r1)
|
|
|
|
/* 802CD99C 002CA8FC 38 BA 00 40 */ addi r5, r26, 0x40
|
|
|
|
/* 802CD9A0 002CA900 C0 41 00 6C */ lfs f2, 0x6c(r1)
|
|
|
|
/* 802CD9A4 002CA904 C0 21 00 70 */ lfs f1, 0x70(r1)
|
|
|
|
/* 802CD9A8 002CA908 C0 01 00 74 */ lfs f0, 0x74(r1)
|
|
|
|
/* 802CD9AC 002CA90C D0 A1 00 78 */ stfs f5, 0x78(r1)
|
|
|
|
/* 802CD9B0 002CA910 D0 81 00 7C */ stfs f4, 0x7c(r1)
|
|
|
|
/* 802CD9B4 002CA914 D0 61 00 80 */ stfs f3, 0x80(r1)
|
|
|
|
/* 802CD9B8 002CA918 D0 41 00 84 */ stfs f2, 0x84(r1)
|
|
|
|
/* 802CD9BC 002CA91C D0 21 00 88 */ stfs f1, 0x88(r1)
|
|
|
|
/* 802CD9C0 002CA920 D0 01 00 8C */ stfs f0, 0x8c(r1)
|
|
|
|
/* 802CD9C4 002CA924 48 00 69 91 */ bl Transform__17CCollidableSphereCFRC12CTransform4f
|
|
|
|
/* 802CD9C8 002CA928 C0 C1 00 28 */ lfs f6, 0x28(r1)
|
|
|
|
/* 802CD9CC 002CA92C 3C 60 80 5A */ lis r3, skZero3f@ha
|
|
|
|
/* 802CD9D0 002CA930 C0 A1 00 2C */ lfs f5, 0x2c(r1)
|
|
|
|
/* 802CD9D4 002CA934 39 03 66 A0 */ addi r8, r3, skZero3f@l
|
|
|
|
/* 802CD9D8 002CA938 C0 81 00 30 */ lfs f4, 0x30(r1)
|
|
|
|
/* 802CD9DC 002CA93C 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 802CD9E0 002CA940 C0 61 00 34 */ lfs f3, 0x34(r1)
|
|
|
|
/* 802CD9E4 002CA944 38 81 00 78 */ addi r4, r1, 0x78
|
|
|
|
/* 802CD9E8 002CA948 C0 5B 00 08 */ lfs f2, 8(r27)
|
|
|
|
/* 802CD9EC 002CA94C 38 A1 00 1C */ addi r5, r1, 0x1c
|
|
|
|
/* 802CD9F0 002CA950 C0 3B 00 04 */ lfs f1, 4(r27)
|
|
|
|
/* 802CD9F4 002CA954 38 C1 00 08 */ addi r6, r1, 8
|
|
|
|
/* 802CD9F8 002CA958 C0 1B 00 00 */ lfs f0, 0(r27)
|
|
|
|
/* 802CD9FC 002CA95C FC E0 10 50 */ fneg f7, f2
|
|
|
|
/* 802CDA00 002CA960 D0 C1 00 50 */ stfs f6, 0x50(r1)
|
|
|
|
/* 802CDA04 002CA964 FC 40 08 50 */ fneg f2, f1
|
|
|
|
/* 802CDA08 002CA968 FC 00 00 50 */ fneg f0, f0
|
|
|
|
/* 802CDA0C 002CA96C C0 C8 00 00 */ lfs f6, 0(r8)
|
|
|
|
/* 802CDA10 002CA970 D0 A1 00 54 */ stfs f5, 0x54(r1)
|
|
|
|
/* 802CDA14 002CA974 C0 A8 00 04 */ lfs f5, 4(r8)
|
|
|
|
/* 802CDA18 002CA978 38 E1 00 44 */ addi r7, r1, 0x44
|
|
|
|
/* 802CDA1C 002CA97C D0 81 00 58 */ stfs f4, 0x58(r1)
|
|
|
|
/* 802CDA20 002CA980 C0 88 00 08 */ lfs f4, 8(r8)
|
|
|
|
/* 802CDA24 002CA984 39 01 00 38 */ addi r8, r1, 0x38
|
|
|
|
/* 802CDA28 002CA988 D0 61 00 5C */ stfs f3, 0x5c(r1)
|
|
|
|
/* 802CDA2C 002CA98C C8 3C 00 00 */ lfd f1, 0(r28)
|
|
|
|
/* 802CDA30 002CA990 D8 21 00 08 */ stfd f1, 8(r1)
|
|
|
|
/* 802CDA34 002CA994 D0 C1 00 44 */ stfs f6, 0x44(r1)
|
|
|
|
/* 802CDA38 002CA998 D0 A1 00 48 */ stfs f5, 0x48(r1)
|
|
|
|
/* 802CDA3C 002CA99C D0 81 00 4C */ stfs f4, 0x4c(r1)
|
|
|
|
/* 802CDA40 002CA9A0 D0 C1 00 38 */ stfs f6, 0x38(r1)
|
|
|
|
/* 802CDA44 002CA9A4 D0 A1 00 3C */ stfs f5, 0x3c(r1)
|
|
|
|
/* 802CDA48 002CA9A8 D0 81 00 40 */ stfs f4, 0x40(r1)
|
|
|
|
/* 802CDA4C 002CA9AC D0 01 00 1C */ stfs f0, 0x1c(r1)
|
|
|
|
/* 802CDA50 002CA9B0 D0 41 00 20 */ stfs f2, 0x20(r1)
|
|
|
|
/* 802CDA54 002CA9B4 D0 E1 00 24 */ stfs f7, 0x24(r1)
|
|
|
|
/* 802CDA58 002CA9B8 48 00 2A 39 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
|
|
|
|
/* 802CDA5C 002CA9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
|
|
/* 802CDA60 002CA9C0 41 82 01 78 */ beq lbl_802CDBD8
|
|
|
|
/* 802CDA64 002CA9C4 C8 E1 00 08 */ lfd f7, 8(r1)
|
|
|
|
/* 802CDA68 002CA9C8 C8 1C 00 00 */ lfd f0, 0(r28)
|
|
|
|
/* 802CDA6C 002CA9CC FC 07 00 40 */ fcmpo cr0, f7, f0
|
|
|
|
/* 802CDA70 002CA9D0 40 80 01 68 */ bge lbl_802CDBD8
|
|
|
|
/* 802CDA74 002CA9D4 C0 C1 00 5C */ lfs f6, 0x5c(r1)
|
|
|
|
/* 802CDA78 002CA9D8 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 802CDA7C 002CA9DC C0 41 00 3C */ lfs f2, 0x3c(r1)
|
|
|
|
/* 802CDA80 002CA9E0 C0 21 00 40 */ lfs f1, 0x40(r1)
|
|
|
|
/* 802CDA84 002CA9E4 C0 01 00 38 */ lfs f0, 0x38(r1)
|
|
|
|
/* 802CDA88 002CA9E8 EC 86 00 B2 */ fmuls f4, f6, f2
|
|
|
|
/* 802CDA8C 002CA9EC C0 A1 00 54 */ lfs f5, 0x54(r1)
|
|
|
|
/* 802CDA90 002CA9F0 EC 46 00 72 */ fmuls f2, f6, f1
|
|
|
|
/* 802CDA94 002CA9F4 C0 61 00 58 */ lfs f3, 0x58(r1)
|
|
|
|
/* 802CDA98 002CA9F8 EC 06 00 32 */ fmuls f0, f6, f0
|
|
|
|
/* 802CDA9C 002CA9FC C0 21 00 50 */ lfs f1, 0x50(r1)
|
|
|
|
/* 802CDAA0 002CAA00 EC 85 20 28 */ fsubs f4, f5, f4
|
|
|
|
/* 802CDAA4 002CAA04 EC 43 10 28 */ fsubs f2, f3, f2
|
|
|
|
/* 802CDAA8 002CAA08 EC 01 00 28 */ fsubs f0, f1, f0
|
|
|
|
/* 802CDAAC 002CAA0C D0 81 00 48 */ stfs f4, 0x48(r1)
|
|
|
|
/* 802CDAB0 002CAA10 D0 01 00 44 */ stfs f0, 0x44(r1)
|
|
|
|
/* 802CDAB4 002CAA14 D0 41 00 4C */ stfs f2, 0x4c(r1)
|
|
|
|
/* 802CDAB8 002CAA18 D8 FC 00 00 */ stfd f7, 0(r28)
|
|
|
|
/* 802CDABC 002CAA1C C0 41 00 38 */ lfs f2, 0x38(r1)
|
|
|
|
/* 802CDAC0 002CAA20 C0 21 00 3C */ lfs f1, 0x3c(r1)
|
|
|
|
/* 802CDAC4 002CAA24 C0 01 00 40 */ lfs f0, 0x40(r1)
|
|
|
|
/* 802CDAC8 002CAA28 FC 40 10 50 */ fneg f2, f2
|
|
|
|
/* 802CDACC 002CAA2C FC 20 08 50 */ fneg f1, f1
|
|
|
|
/* 802CDAD0 002CAA30 FC 00 00 50 */ fneg f0, f0
|
|
|
|
/* 802CDAD4 002CAA34 D0 41 00 10 */ stfs f2, 0x10(r1)
|
|
|
|
/* 802CDAD8 002CAA38 D0 21 00 14 */ stfs f1, 0x14(r1)
|
|
|
|
/* 802CDADC 002CAA3C D0 01 00 18 */ stfs f0, 0x18(r1)
|
|
|
|
/* 802CDAE0 002CAA40 81 9E 00 00 */ lwz r12, 0(r30)
|
|
|
|
/* 802CDAE4 002CAA44 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDAE8 002CAA48 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDAF0 002CAA50 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 802CDAF4 002CAA54 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 802CDAF8 002CAA58 81 9D 00 00 */ lwz r12, 0(r29)
|
|
|
|
/* 802CDAFC 002CAA5C 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDB00 002CAA60 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDB08 002CAA68 7C 65 1B 78 */ mr r5, r3
|
|
|
|
/* 802CDB0C 002CAA6C 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 802CDB10 002CAA70 38 61 00 90 */ addi r3, r1, 0x90
|
|
|
|
/* 802CDB14 002CAA74 38 81 00 44 */ addi r4, r1, 0x44
|
|
|
|
/* 802CDB18 002CAA78 38 E1 00 10 */ addi r7, r1, 0x10
|
|
|
|
/* 802CDB1C 002CAA7C 48 00 09 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f
|
|
|
|
/* 802CDB20 002CAA80 80 81 00 90 */ lwz r4, 0x90(r1)
|
|
|
|
/* 802CDB24 002CAA84 38 60 00 01 */ li r3, 1
|
|
|
|
/* 802CDB28 002CAA88 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
|
|
/* 802CDB2C 002CAA8C 90 9F 00 00 */ stw r4, 0(r31)
|
|
|
|
/* 802CDB30 002CAA90 90 1F 00 04 */ stw r0, 4(r31)
|
|
|
|
/* 802CDB34 002CAA94 80 01 00 98 */ lwz r0, 0x98(r1)
|
|
|
|
/* 802CDB38 002CAA98 90 1F 00 08 */ stw r0, 8(r31)
|
|
|
|
/* 802CDB3C 002CAA9C 80 81 00 9C */ lwz r4, 0x9c(r1)
|
|
|
|
/* 802CDB40 002CAAA0 80 01 00 A0 */ lwz r0, 0xa0(r1)
|
|
|
|
/* 802CDB44 002CAAA4 90 9F 00 0C */ stw r4, 0xc(r31)
|
|
|
|
/* 802CDB48 002CAAA8 90 1F 00 10 */ stw r0, 0x10(r31)
|
|
|
|
/* 802CDB4C 002CAAAC 80 01 00 A4 */ lwz r0, 0xa4(r1)
|
|
|
|
/* 802CDB50 002CAAB0 90 1F 00 14 */ stw r0, 0x14(r31)
|
|
|
|
/* 802CDB54 002CAAB4 80 81 00 A8 */ lwz r4, 0xa8(r1)
|
|
|
|
/* 802CDB58 002CAAB8 80 01 00 AC */ lwz r0, 0xac(r1)
|
|
|
|
/* 802CDB5C 002CAABC 90 9F 00 18 */ stw r4, 0x18(r31)
|
|
|
|
/* 802CDB60 002CAAC0 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
|
|
/* 802CDB64 002CAAC4 80 01 00 B0 */ lwz r0, 0xb0(r1)
|
|
|
|
/* 802CDB68 002CAAC8 90 1F 00 20 */ stw r0, 0x20(r31)
|
|
|
|
/* 802CDB6C 002CAACC 80 81 00 B4 */ lwz r4, 0xb4(r1)
|
|
|
|
/* 802CDB70 002CAAD0 80 01 00 B8 */ lwz r0, 0xb8(r1)
|
|
|
|
/* 802CDB74 002CAAD4 90 9F 00 24 */ stw r4, 0x24(r31)
|
|
|
|
/* 802CDB78 002CAAD8 90 1F 00 28 */ stw r0, 0x28(r31)
|
|
|
|
/* 802CDB7C 002CAADC 80 01 00 BC */ lwz r0, 0xbc(r1)
|
|
|
|
/* 802CDB80 002CAAE0 90 1F 00 2C */ stw r0, 0x2c(r31)
|
|
|
|
/* 802CDB84 002CAAE4 88 01 00 C0 */ lbz r0, 0xc0(r1)
|
|
|
|
/* 802CDB88 002CAAE8 98 1F 00 30 */ stb r0, 0x30(r31)
|
|
|
|
/* 802CDB8C 002CAAEC 88 01 00 C1 */ lbz r0, 0xc1(r1)
|
|
|
|
/* 802CDB90 002CAAF0 98 1F 00 31 */ stb r0, 0x31(r31)
|
|
|
|
/* 802CDB94 002CAAF4 C8 01 00 C8 */ lfd f0, 0xc8(r1)
|
|
|
|
/* 802CDB98 002CAAF8 D8 1F 00 38 */ stfd f0, 0x38(r31)
|
|
|
|
/* 802CDB9C 002CAAFC C8 01 00 D0 */ lfd f0, 0xd0(r1)
|
|
|
|
/* 802CDBA0 002CAB00 D8 1F 00 40 */ stfd f0, 0x40(r31)
|
|
|
|
/* 802CDBA4 002CAB04 80 81 00 D8 */ lwz r4, 0xd8(r1)
|
|
|
|
/* 802CDBA8 002CAB08 80 01 00 DC */ lwz r0, 0xdc(r1)
|
|
|
|
/* 802CDBAC 002CAB0C 90 9F 00 48 */ stw r4, 0x48(r31)
|
|
|
|
/* 802CDBB0 002CAB10 90 1F 00 4C */ stw r0, 0x4c(r31)
|
|
|
|
/* 802CDBB4 002CAB14 80 01 00 E0 */ lwz r0, 0xe0(r1)
|
|
|
|
/* 802CDBB8 002CAB18 90 1F 00 50 */ stw r0, 0x50(r31)
|
|
|
|
/* 802CDBBC 002CAB1C 80 81 00 E4 */ lwz r4, 0xe4(r1)
|
|
|
|
/* 802CDBC0 002CAB20 80 01 00 E8 */ lwz r0, 0xe8(r1)
|
|
|
|
/* 802CDBC4 002CAB24 90 9F 00 54 */ stw r4, 0x54(r31)
|
|
|
|
/* 802CDBC8 002CAB28 90 1F 00 58 */ stw r0, 0x58(r31)
|
|
|
|
/* 802CDBCC 002CAB2C 80 01 00 EC */ lwz r0, 0xec(r1)
|
|
|
|
/* 802CDBD0 002CAB30 90 1F 00 5C */ stw r0, 0x5c(r31)
|
|
|
|
/* 802CDBD4 002CAB34 48 00 00 08 */ b lbl_802CDBDC
|
|
|
|
lbl_802CDBD8:
|
|
|
|
/* 802CDBD8 002CAB38 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_802CDBDC:
|
|
|
|
/* 802CDBDC 002CAB3C BB 41 00 F8 */ lmw r26, 0xf8(r1)
|
|
|
|
/* 802CDBE0 002CAB40 80 01 01 14 */ lwz r0, 0x114(r1)
|
|
|
|
/* 802CDBE4 002CAB44 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CDBE8 002CAB48 38 21 01 10 */ addi r1, r1, 0x110
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo
|
|
|
|
CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo:
|
|
|
|
/* 802CDBF0 002CAB50 94 21 FE F0 */ stwu r1, -0x110(r1)
|
|
|
|
/* 802CDBF4 002CAB54 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CDBF8 002CAB58 90 01 01 14 */ stw r0, 0x114(r1)
|
|
|
|
/* 802CDBFC 002CAB5C BF 41 00 F8 */ stmw r26, 0xf8(r1)
|
|
|
|
/* 802CDC00 002CAB60 7C 7A 1B 78 */ mr r26, r3
|
|
|
|
/* 802CDC04 002CAB64 7C BC 2B 78 */ mr r28, r5
|
|
|
|
/* 802CDC08 002CAB68 7C 9B 23 78 */ mr r27, r4
|
|
|
|
/* 802CDC0C 002CAB6C 7C DF 33 78 */ mr r31, r6
|
|
|
|
/* 802CDC10 002CAB70 38 BA 00 08 */ addi r5, r26, 8
|
|
|
|
/* 802CDC14 002CAB74 83 A3 00 00 */ lwz r29, 0(r3)
|
|
|
|
/* 802CDC18 002CAB78 83 C3 00 38 */ lwz r30, 0x38(r3)
|
|
|
|
/* 802CDC1C 002CAB7C 38 61 00 4C */ addi r3, r1, 0x4c
|
|
|
|
/* 802CDC20 002CAB80 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 802CDC24 002CAB84 4B FF F8 B9 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDC28 002CAB88 C0 A1 00 4C */ lfs f5, 0x4c(r1)
|
|
|
|
/* 802CDC2C 002CAB8C 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 802CDC30 002CAB90 C0 81 00 50 */ lfs f4, 0x50(r1)
|
|
|
|
/* 802CDC34 002CAB94 38 61 00 34 */ addi r3, r1, 0x34
|
|
|
|
/* 802CDC38 002CAB98 C0 61 00 54 */ lfs f3, 0x54(r1)
|
|
|
|
/* 802CDC3C 002CAB9C 38 BA 00 40 */ addi r5, r26, 0x40
|
|
|
|
/* 802CDC40 002CABA0 C0 41 00 58 */ lfs f2, 0x58(r1)
|
|
|
|
/* 802CDC44 002CABA4 C0 21 00 5C */ lfs f1, 0x5c(r1)
|
|
|
|
/* 802CDC48 002CABA8 C0 01 00 60 */ lfs f0, 0x60(r1)
|
|
|
|
/* 802CDC4C 002CABAC D0 A1 00 7C */ stfs f5, 0x7c(r1)
|
|
|
|
/* 802CDC50 002CABB0 D0 81 00 80 */ stfs f4, 0x80(r1)
|
|
|
|
/* 802CDC54 002CABB4 D0 61 00 84 */ stfs f3, 0x84(r1)
|
|
|
|
/* 802CDC58 002CABB8 D0 41 00 88 */ stfs f2, 0x88(r1)
|
|
|
|
/* 802CDC5C 002CABBC D0 21 00 8C */ stfs f1, 0x8c(r1)
|
|
|
|
/* 802CDC60 002CABC0 D0 01 00 90 */ stfs f0, 0x90(r1)
|
|
|
|
/* 802CDC64 002CABC4 4B FF F8 79 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDC68 002CABC8 3C 60 80 5A */ lis r3, skZero3f@ha
|
|
|
|
/* 802CDC6C 002CABCC C0 A1 00 34 */ lfs f5, 0x34(r1)
|
|
|
|
/* 802CDC70 002CABD0 38 83 66 A0 */ addi r4, r3, skZero3f@l
|
|
|
|
/* 802CDC74 002CABD4 C0 81 00 38 */ lfs f4, 0x38(r1)
|
|
|
|
/* 802CDC78 002CABD8 C0 C4 00 00 */ lfs f6, 0(r4)
|
|
|
|
/* 802CDC7C 002CABDC 7F 65 DB 78 */ mr r5, r27
|
|
|
|
/* 802CDC80 002CABE0 C0 E4 00 04 */ lfs f7, 4(r4)
|
|
|
|
/* 802CDC84 002CABE4 38 61 00 7C */ addi r3, r1, 0x7c
|
|
|
|
/* 802CDC88 002CABE8 C1 04 00 08 */ lfs f8, 8(r4)
|
|
|
|
/* 802CDC8C 002CABEC 38 81 00 64 */ addi r4, r1, 0x64
|
|
|
|
/* 802CDC90 002CABF0 C0 61 00 3C */ lfs f3, 0x3c(r1)
|
|
|
|
/* 802CDC94 002CABF4 38 C1 00 08 */ addi r6, r1, 8
|
|
|
|
/* 802CDC98 002CABF8 C0 41 00 40 */ lfs f2, 0x40(r1)
|
|
|
|
/* 802CDC9C 002CABFC 38 E1 00 28 */ addi r7, r1, 0x28
|
|
|
|
/* 802CDCA0 002CAC00 C0 21 00 44 */ lfs f1, 0x44(r1)
|
|
|
|
/* 802CDCA4 002CAC04 39 01 00 1C */ addi r8, r1, 0x1c
|
|
|
|
/* 802CDCA8 002CAC08 C0 01 00 48 */ lfs f0, 0x48(r1)
|
|
|
|
/* 802CDCAC 002CAC0C D0 A1 00 64 */ stfs f5, 0x64(r1)
|
|
|
|
/* 802CDCB0 002CAC10 D0 81 00 68 */ stfs f4, 0x68(r1)
|
|
|
|
/* 802CDCB4 002CAC14 D0 61 00 6C */ stfs f3, 0x6c(r1)
|
|
|
|
/* 802CDCB8 002CAC18 D0 41 00 70 */ stfs f2, 0x70(r1)
|
|
|
|
/* 802CDCBC 002CAC1C D0 21 00 74 */ stfs f1, 0x74(r1)
|
|
|
|
/* 802CDCC0 002CAC20 D0 01 00 78 */ stfs f0, 0x78(r1)
|
|
|
|
/* 802CDCC4 002CAC24 D0 C1 00 28 */ stfs f6, 0x28(r1)
|
|
|
|
/* 802CDCC8 002CAC28 D0 E1 00 2C */ stfs f7, 0x2c(r1)
|
|
|
|
/* 802CDCCC 002CAC2C D1 01 00 30 */ stfs f8, 0x30(r1)
|
|
|
|
/* 802CDCD0 002CAC30 D0 C1 00 1C */ stfs f6, 0x1c(r1)
|
|
|
|
/* 802CDCD4 002CAC34 D0 E1 00 20 */ stfs f7, 0x20(r1)
|
|
|
|
/* 802CDCD8 002CAC38 D1 01 00 24 */ stfs f8, 0x24(r1)
|
|
|
|
/* 802CDCDC 002CAC3C 48 00 3F D9 */ bl AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f
|
|
|
|
/* 802CDCE0 002CAC40 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
|
|
/* 802CDCE4 002CAC44 41 82 01 48 */ beq lbl_802CDE2C
|
|
|
|
/* 802CDCE8 002CAC48 C8 21 00 08 */ lfd f1, 8(r1)
|
|
|
|
/* 802CDCEC 002CAC4C C8 02 C4 90 */ lfd f0, lbl_805AE1B0@sda21(r2)
|
|
|
|
/* 802CDCF0 002CAC50 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
|
|
/* 802CDCF4 002CAC54 40 81 01 38 */ ble lbl_802CDE2C
|
|
|
|
/* 802CDCF8 002CAC58 C8 1C 00 00 */ lfd f0, 0(r28)
|
|
|
|
/* 802CDCFC 002CAC5C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
|
|
/* 802CDD00 002CAC60 40 80 01 2C */ bge lbl_802CDE2C
|
|
|
|
/* 802CDD04 002CAC64 D8 3C 00 00 */ stfd f1, 0(r28)
|
|
|
|
/* 802CDD08 002CAC68 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 802CDD0C 002CAC6C C0 41 00 1C */ lfs f2, 0x1c(r1)
|
|
|
|
/* 802CDD10 002CAC70 C0 21 00 20 */ lfs f1, 0x20(r1)
|
|
|
|
/* 802CDD14 002CAC74 C0 01 00 24 */ lfs f0, 0x24(r1)
|
|
|
|
/* 802CDD18 002CAC78 FC 40 10 50 */ fneg f2, f2
|
|
|
|
/* 802CDD1C 002CAC7C FC 20 08 50 */ fneg f1, f1
|
|
|
|
/* 802CDD20 002CAC80 FC 00 00 50 */ fneg f0, f0
|
|
|
|
/* 802CDD24 002CAC84 D0 41 00 10 */ stfs f2, 0x10(r1)
|
|
|
|
/* 802CDD28 002CAC88 D0 21 00 14 */ stfs f1, 0x14(r1)
|
|
|
|
/* 802CDD2C 002CAC8C D0 01 00 18 */ stfs f0, 0x18(r1)
|
|
|
|
/* 802CDD30 002CAC90 81 9E 00 00 */ lwz r12, 0(r30)
|
|
|
|
/* 802CDD34 002CAC94 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDD38 002CAC98 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDD40 002CACA0 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 802CDD44 002CACA4 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 802CDD48 002CACA8 81 9D 00 00 */ lwz r12, 0(r29)
|
|
|
|
/* 802CDD4C 002CACAC 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDD50 002CACB0 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDD58 002CACB8 7C 65 1B 78 */ mr r5, r3
|
|
|
|
/* 802CDD5C 002CACBC 7F C6 F3 78 */ mr r6, r30
|
|
|
|
/* 802CDD60 002CACC0 38 61 00 98 */ addi r3, r1, 0x98
|
|
|
|
/* 802CDD64 002CACC4 38 81 00 28 */ addi r4, r1, 0x28
|
|
|
|
/* 802CDD68 002CACC8 38 E1 00 1C */ addi r7, r1, 0x1c
|
|
|
|
/* 802CDD6C 002CACCC 39 01 00 10 */ addi r8, r1, 0x10
|
|
|
|
/* 802CDD70 002CACD0 48 00 06 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f
|
|
|
|
/* 802CDD74 002CACD4 80 81 00 98 */ lwz r4, 0x98(r1)
|
|
|
|
/* 802CDD78 002CACD8 38 60 00 01 */ li r3, 1
|
|
|
|
/* 802CDD7C 002CACDC 80 01 00 9C */ lwz r0, 0x9c(r1)
|
|
|
|
/* 802CDD80 002CACE0 90 9F 00 00 */ stw r4, 0(r31)
|
|
|
|
/* 802CDD84 002CACE4 90 1F 00 04 */ stw r0, 4(r31)
|
|
|
|
/* 802CDD88 002CACE8 80 01 00 A0 */ lwz r0, 0xa0(r1)
|
|
|
|
/* 802CDD8C 002CACEC 90 1F 00 08 */ stw r0, 8(r31)
|
|
|
|
/* 802CDD90 002CACF0 80 81 00 A4 */ lwz r4, 0xa4(r1)
|
|
|
|
/* 802CDD94 002CACF4 80 01 00 A8 */ lwz r0, 0xa8(r1)
|
|
|
|
/* 802CDD98 002CACF8 90 9F 00 0C */ stw r4, 0xc(r31)
|
|
|
|
/* 802CDD9C 002CACFC 90 1F 00 10 */ stw r0, 0x10(r31)
|
|
|
|
/* 802CDDA0 002CAD00 80 01 00 AC */ lwz r0, 0xac(r1)
|
|
|
|
/* 802CDDA4 002CAD04 90 1F 00 14 */ stw r0, 0x14(r31)
|
|
|
|
/* 802CDDA8 002CAD08 80 81 00 B0 */ lwz r4, 0xb0(r1)
|
|
|
|
/* 802CDDAC 002CAD0C 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
|
|
/* 802CDDB0 002CAD10 90 9F 00 18 */ stw r4, 0x18(r31)
|
|
|
|
/* 802CDDB4 002CAD14 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
|
|
/* 802CDDB8 002CAD18 80 01 00 B8 */ lwz r0, 0xb8(r1)
|
|
|
|
/* 802CDDBC 002CAD1C 90 1F 00 20 */ stw r0, 0x20(r31)
|
|
|
|
/* 802CDDC0 002CAD20 80 81 00 BC */ lwz r4, 0xbc(r1)
|
|
|
|
/* 802CDDC4 002CAD24 80 01 00 C0 */ lwz r0, 0xc0(r1)
|
|
|
|
/* 802CDDC8 002CAD28 90 9F 00 24 */ stw r4, 0x24(r31)
|
|
|
|
/* 802CDDCC 002CAD2C 90 1F 00 28 */ stw r0, 0x28(r31)
|
|
|
|
/* 802CDDD0 002CAD30 80 01 00 C4 */ lwz r0, 0xc4(r1)
|
|
|
|
/* 802CDDD4 002CAD34 90 1F 00 2C */ stw r0, 0x2c(r31)
|
|
|
|
/* 802CDDD8 002CAD38 88 01 00 C8 */ lbz r0, 0xc8(r1)
|
|
|
|
/* 802CDDDC 002CAD3C 98 1F 00 30 */ stb r0, 0x30(r31)
|
|
|
|
/* 802CDDE0 002CAD40 88 01 00 C9 */ lbz r0, 0xc9(r1)
|
|
|
|
/* 802CDDE4 002CAD44 98 1F 00 31 */ stb r0, 0x31(r31)
|
|
|
|
/* 802CDDE8 002CAD48 C8 01 00 D0 */ lfd f0, 0xd0(r1)
|
|
|
|
/* 802CDDEC 002CAD4C D8 1F 00 38 */ stfd f0, 0x38(r31)
|
|
|
|
/* 802CDDF0 002CAD50 C8 01 00 D8 */ lfd f0, 0xd8(r1)
|
|
|
|
/* 802CDDF4 002CAD54 D8 1F 00 40 */ stfd f0, 0x40(r31)
|
|
|
|
/* 802CDDF8 002CAD58 80 81 00 E0 */ lwz r4, 0xe0(r1)
|
|
|
|
/* 802CDDFC 002CAD5C 80 01 00 E4 */ lwz r0, 0xe4(r1)
|
|
|
|
/* 802CDE00 002CAD60 90 9F 00 48 */ stw r4, 0x48(r31)
|
|
|
|
/* 802CDE04 002CAD64 90 1F 00 4C */ stw r0, 0x4c(r31)
|
|
|
|
/* 802CDE08 002CAD68 80 01 00 E8 */ lwz r0, 0xe8(r1)
|
|
|
|
/* 802CDE0C 002CAD6C 90 1F 00 50 */ stw r0, 0x50(r31)
|
|
|
|
/* 802CDE10 002CAD70 80 81 00 EC */ lwz r4, 0xec(r1)
|
|
|
|
/* 802CDE14 002CAD74 80 01 00 F0 */ lwz r0, 0xf0(r1)
|
|
|
|
/* 802CDE18 002CAD78 90 9F 00 54 */ stw r4, 0x54(r31)
|
|
|
|
/* 802CDE1C 002CAD7C 90 1F 00 58 */ stw r0, 0x58(r31)
|
|
|
|
/* 802CDE20 002CAD80 80 01 00 F4 */ lwz r0, 0xf4(r1)
|
|
|
|
/* 802CDE24 002CAD84 90 1F 00 5C */ stw r0, 0x5c(r31)
|
|
|
|
/* 802CDE28 002CAD88 48 00 00 08 */ b lbl_802CDE30
|
|
|
|
lbl_802CDE2C:
|
|
|
|
/* 802CDE2C 002CAD8C 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_802CDE30:
|
|
|
|
/* 802CDE30 002CAD90 BB 41 00 F8 */ lmw r26, 0xf8(r1)
|
|
|
|
/* 802CDE34 002CAD94 80 01 01 14 */ lwz r0, 0x114(r1)
|
|
|
|
/* 802CDE38 002CAD98 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CDE3C 002CAD9C 38 21 01 10 */ addi r1, r1, 0x110
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDE40 002CADA0 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList
|
|
|
|
AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList:
|
|
|
|
/* 802CDE44 002CADA4 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
|
|
/* 802CDE48 002CADA8 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CDE4C 002CADAC 90 01 00 84 */ stw r0, 0x84(r1)
|
|
|
|
/* 802CDE50 002CADB0 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
|
|
/* 802CDE54 002CADB4 93 C1 00 78 */ stw r30, 0x78(r1)
|
|
|
|
/* 802CDE58 002CADB8 93 A1 00 74 */ stw r29, 0x74(r1)
|
|
|
|
/* 802CDE5C 002CADBC 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 802CDE60 002CADC0 93 81 00 70 */ stw r28, 0x70(r1)
|
|
|
|
/* 802CDE64 002CADC4 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 802CDE68 002CADC8 38 BC 00 08 */ addi r5, r28, 8
|
|
|
|
/* 802CDE6C 002CADCC 83 C3 00 00 */ lwz r30, 0(r3)
|
|
|
|
/* 802CDE70 002CADD0 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 802CDE74 002CADD4 83 FC 00 38 */ lwz r31, 0x38(r28)
|
|
|
|
/* 802CDE78 002CADD8 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 802CDE7C 002CADDC 4B FF F6 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDE80 002CADE0 C0 A1 00 20 */ lfs f5, 0x20(r1)
|
|
|
|
/* 802CDE84 002CADE4 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 802CDE88 002CADE8 C0 81 00 24 */ lfs f4, 0x24(r1)
|
|
|
|
/* 802CDE8C 002CADEC 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 802CDE90 002CADF0 C0 61 00 28 */ lfs f3, 0x28(r1)
|
|
|
|
/* 802CDE94 002CADF4 38 BC 00 40 */ addi r5, r28, 0x40
|
|
|
|
/* 802CDE98 002CADF8 C0 41 00 2C */ lfs f2, 0x2c(r1)
|
|
|
|
/* 802CDE9C 002CADFC C0 21 00 30 */ lfs f1, 0x30(r1)
|
|
|
|
/* 802CDEA0 002CAE00 C0 01 00 34 */ lfs f0, 0x34(r1)
|
|
|
|
/* 802CDEA4 002CAE04 D0 A1 00 50 */ stfs f5, 0x50(r1)
|
|
|
|
/* 802CDEA8 002CAE08 D0 81 00 54 */ stfs f4, 0x54(r1)
|
|
|
|
/* 802CDEAC 002CAE0C D0 61 00 58 */ stfs f3, 0x58(r1)
|
|
|
|
/* 802CDEB0 002CAE10 D0 41 00 5C */ stfs f2, 0x5c(r1)
|
|
|
|
/* 802CDEB4 002CAE14 D0 21 00 60 */ stfs f1, 0x60(r1)
|
|
|
|
/* 802CDEB8 002CAE18 D0 01 00 64 */ stfs f0, 0x64(r1)
|
|
|
|
/* 802CDEBC 002CAE1C 4B FF F6 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDEC0 002CAE20 C0 A1 00 08 */ lfs f5, 8(r1)
|
|
|
|
/* 802CDEC4 002CAE24 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 802CDEC8 002CAE28 C0 81 00 0C */ lfs f4, 0xc(r1)
|
|
|
|
/* 802CDECC 002CAE2C C0 61 00 10 */ lfs f3, 0x10(r1)
|
|
|
|
/* 802CDED0 002CAE30 C0 41 00 14 */ lfs f2, 0x14(r1)
|
|
|
|
/* 802CDED4 002CAE34 C0 21 00 18 */ lfs f1, 0x18(r1)
|
|
|
|
/* 802CDED8 002CAE38 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
|
|
/* 802CDEDC 002CAE3C D0 A1 00 38 */ stfs f5, 0x38(r1)
|
|
|
|
/* 802CDEE0 002CAE40 D0 81 00 3C */ stfs f4, 0x3c(r1)
|
|
|
|
/* 802CDEE4 002CAE44 D0 61 00 40 */ stfs f3, 0x40(r1)
|
|
|
|
/* 802CDEE8 002CAE48 D0 41 00 44 */ stfs f2, 0x44(r1)
|
|
|
|
/* 802CDEEC 002CAE4C D0 21 00 48 */ stfs f1, 0x48(r1)
|
|
|
|
/* 802CDEF0 002CAE50 D0 01 00 4C */ stfs f0, 0x4c(r1)
|
|
|
|
/* 802CDEF4 002CAE54 81 9F 00 00 */ lwz r12, 0(r31)
|
|
|
|
/* 802CDEF8 002CAE58 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDEFC 002CAE5C 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDF04 002CAE64 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 802CDF08 002CAE68 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 802CDF0C 002CAE6C 81 9E 00 00 */ lwz r12, 0(r30)
|
|
|
|
/* 802CDF10 002CAE70 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
|
|
/* 802CDF14 002CAE74 7D 89 03 A6 */ mtctr r12
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl
|
2022-04-15 07:32:53 +00:00
|
|
|
/* 802CDF1C 002CAE7C 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 802CDF20 002CAE80 7F E6 FB 78 */ mr r6, r31
|
|
|
|
/* 802CDF24 002CAE84 7F A7 EB 78 */ mr r7, r29
|
|
|
|
/* 802CDF28 002CAE88 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 802CDF2C 002CAE8C 38 A1 00 38 */ addi r5, r1, 0x38
|
|
|
|
/* 802CDF30 002CAE90 48 00 4B 91 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList
|
|
|
|
/* 802CDF34 002CAE94 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
|
|
/* 802CDF38 002CAE98 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
|
|
/* 802CDF3C 002CAE9C 83 C1 00 78 */ lwz r30, 0x78(r1)
|
|
|
|
/* 802CDF40 002CAEA0 83 A1 00 74 */ lwz r29, 0x74(r1)
|
|
|
|
/* 802CDF44 002CAEA4 83 81 00 70 */ lwz r28, 0x70(r1)
|
|
|
|
/* 802CDF48 002CAEA8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CDF4C 002CAEAC 38 21 00 80 */ addi r1, r1, 0x80
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CDF50 002CAEB0 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure
|
|
|
|
AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure:
|
|
|
|
/* 802CDF54 002CAEB4 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
|
|
/* 802CDF58 002CAEB8 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 802CDF5C 002CAEBC 90 01 00 74 */ stw r0, 0x74(r1)
|
|
|
|
/* 802CDF60 002CAEC0 93 E1 00 6C */ stw r31, 0x6c(r1)
|
|
|
|
/* 802CDF64 002CAEC4 93 C1 00 68 */ stw r30, 0x68(r1)
|
|
|
|
/* 802CDF68 002CAEC8 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 802CDF6C 002CAECC 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 802CDF70 002CAED0 83 FE 00 38 */ lwz r31, 0x38(r30)
|
|
|
|
/* 802CDF74 002CAED4 38 BE 00 08 */ addi r5, r30, 8
|
|
|
|
/* 802CDF78 002CAED8 80 9E 00 00 */ lwz r4, 0(r30)
|
|
|
|
/* 802CDF7C 002CAEDC 4B FF F5 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDF80 002CAEE0 C0 A1 00 20 */ lfs f5, 0x20(r1)
|
|
|
|
/* 802CDF84 002CAEE4 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 802CDF88 002CAEE8 C0 81 00 24 */ lfs f4, 0x24(r1)
|
|
|
|
/* 802CDF8C 002CAEEC 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 802CDF90 002CAEF0 C0 61 00 28 */ lfs f3, 0x28(r1)
|
|
|
|
/* 802CDF94 002CAEF4 38 BE 00 40 */ addi r5, r30, 0x40
|
|
|
|
/* 802CDF98 002CAEF8 C0 41 00 2C */ lfs f2, 0x2c(r1)
|
|
|
|
/* 802CDF9C 002CAEFC C0 21 00 30 */ lfs f1, 0x30(r1)
|
|
|
|
/* 802CDFA0 002CAF00 C0 01 00 34 */ lfs f0, 0x34(r1)
|
|
|
|
/* 802CDFA4 002CAF04 D0 A1 00 50 */ stfs f5, 0x50(r1)
|
|
|
|
/* 802CDFA8 002CAF08 D0 81 00 54 */ stfs f4, 0x54(r1)
|
|
|
|
/* 802CDFAC 002CAF0C D0 61 00 58 */ stfs f3, 0x58(r1)
|
|
|
|
/* 802CDFB0 002CAF10 D0 41 00 5C */ stfs f2, 0x5c(r1)
|
|
|
|
/* 802CDFB4 002CAF14 D0 21 00 60 */ stfs f1, 0x60(r1)
|
|
|
|
/* 802CDFB8 002CAF18 D0 01 00 64 */ stfs f0, 0x64(r1)
|
|
|
|
/* 802CDFBC 002CAF1C 4B FF F5 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f
|
|
|
|
/* 802CDFC0 002CAF20 C0 A1 00 08 */ lfs f5, 8(r1)
|
|
|
|
/* 802CDFC4 002CAF24 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 802CDFC8 002CAF28 C0 81 00 0C */ lfs f4, 0xc(r1)
|
|
|
|
/* 802CDFCC 002CAF2C 38 81 00 38 */ addi r4, r1, 0x38
|
|
|
|
/* 802CDFD0 002CAF30 C0 61 00 10 */ lfs f3, 0x10(r1)
|
|
|
|
/* 802CDFD4 002CAF34 C0 41 00 14 */ lfs f2, 0x14(r1)
|
|
|
|
/* 802CDFD8 002CAF38 C0 21 00 18 */ lfs f1, 0x18(r1)
|
|
|
|
/* 802CDFDC 002CAF3C C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
|
|
/* 802CDFE0 002CAF40 D0 A1 00 38 */ stfs f5, 0x38(r1)
|
|
|
|
/* 802CDFE4 002CAF44 D0 81 00 3C */ stfs f4, 0x3c(r1)
|
|
|
|
/* 802CDFE8 002CAF48 D0 61 00 40 */ stfs f3, 0x40(r1)
|
|
|
|
/* 802CDFEC 002CAF4C D0 41 00 44 */ stfs f2, 0x44(r1)
|
|
|
|
/* 802CDFF0 002CAF50 D0 21 00 48 */ stfs f1, 0x48(r1)
|
|
|
|
/* 802CDFF4 002CAF54 D0 01 00 4C */ stfs f0, 0x4c(r1)
|
|
|
|
/* 802CDFF8 002CAF58 48 00 4E C5 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox
|
|
|
|
/* 802CDFFC 002CAF5C 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
|
|
/* 802CE000 002CAF60 83 E1 00 6C */ lwz r31, 0x6c(r1)
|
|
|
|
/* 802CE004 002CAF64 83 C1 00 68 */ lwz r30, 0x68(r1)
|
|
|
|
/* 802CE008 002CAF68 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 802CE00C 002CAF6C 38 21 00 70 */ addi r1, r1, 0x70
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CE010 002CAF70 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global GetType__16CCollidableAABoxFv
|
|
|
|
GetType__16CCollidableAABoxFv:
|
|
|
|
/* 802CE014 002CAF74 3C A0 80 2D */ lis r5, SetStaticTableIndex__16CCollidableAABoxFUi@ha
|
|
|
|
/* 802CE018 002CAF78 3C 80 80 3D */ lis r4, lbl_803D69E8@ha
|
|
|
|
/* 802CE01C 002CAF7C 38 05 E0 30 */ addi r0, r5, SetStaticTableIndex__16CCollidableAABoxFUi@l
|
|
|
|
/* 802CE020 002CAF80 90 03 00 00 */ stw r0, 0(r3)
|
|
|
|
/* 802CE024 002CAF84 38 04 69 E8 */ addi r0, r4, lbl_803D69E8@l
|
|
|
|
/* 802CE028 002CAF88 90 03 00 04 */ stw r0, 4(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CE02C 002CAF8C 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global SetStaticTableIndex__16CCollidableAABoxFUi
|
|
|
|
SetStaticTableIndex__16CCollidableAABoxFUi:
|
2022-04-23 07:19:32 +00:00
|
|
|
/* 802CE030 002CAF90 90 6D 9B 28 */ stw r3, sTableIndex__16CCollidableAABox@sda21(r13)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CE034 002CAF94 4E 80 00 20 */ blr
|
2022-04-15 07:32:53 +00:00
|
|
|
|
|
|
|
.global __sinit_CCollidableAABox_cpp
|
|
|
|
__sinit_CCollidableAABox_cpp:
|
|
|
|
/* 802CE038 002CAF98 C0 42 C4 88 */ lfs f2, lbl_805AE1A8@sda21(r2)
|
|
|
|
/* 802CE03C 002CAF9C 3C 60 80 48 */ lis r3, lbl_80479498@ha
|
|
|
|
/* 802CE040 002CAFA0 C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2)
|
|
|
|
/* 802CE044 002CAFA4 D4 43 94 98 */ stfsu f2, lbl_80479498@l(r3)
|
|
|
|
/* 802CE048 002CAFA8 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2)
|
|
|
|
/* 802CE04C 002CAFAC D0 23 00 04 */ stfs f1, 4(r3)
|
|
|
|
/* 802CE050 002CAFB0 D0 23 00 08 */ stfs f1, 8(r3)
|
|
|
|
/* 802CE054 002CAFB4 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
|
|
/* 802CE058 002CAFB8 D0 23 00 10 */ stfs f1, 0x10(r3)
|
|
|
|
/* 802CE05C 002CAFBC D0 23 00 14 */ stfs f1, 0x14(r3)
|
|
|
|
/* 802CE060 002CAFC0 D0 23 00 18 */ stfs f1, 0x18(r3)
|
|
|
|
/* 802CE064 002CAFC4 D0 43 00 1C */ stfs f2, 0x1c(r3)
|
|
|
|
/* 802CE068 002CAFC8 D0 23 00 20 */ stfs f1, 0x20(r3)
|
|
|
|
/* 802CE06C 002CAFCC D0 23 00 24 */ stfs f1, 0x24(r3)
|
|
|
|
/* 802CE070 002CAFD0 D0 03 00 28 */ stfs f0, 0x28(r3)
|
|
|
|
/* 802CE074 002CAFD4 D0 23 00 2C */ stfs f1, 0x2c(r3)
|
|
|
|
/* 802CE078 002CAFD8 D0 23 00 30 */ stfs f1, 0x30(r3)
|
|
|
|
/* 802CE07C 002CAFDC D0 23 00 34 */ stfs f1, 0x34(r3)
|
|
|
|
/* 802CE080 002CAFE0 D0 43 00 38 */ stfs f2, 0x38(r3)
|
|
|
|
/* 802CE084 002CAFE4 D0 23 00 3C */ stfs f1, 0x3c(r3)
|
|
|
|
/* 802CE088 002CAFE8 D0 23 00 40 */ stfs f1, 0x40(r3)
|
|
|
|
/* 802CE08C 002CAFEC D0 03 00 44 */ stfs f0, 0x44(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 802CE090 002CAFF0 4E 80 00 20 */ blr
|
2022-07-18 05:20:04 +00:00
|
|
|
|
|
|
|
.section .sdata2, "a"
|
|
|
|
.global lbl_805AE1A0
|
|
|
|
lbl_805AE1A0:
|
|
|
|
# ROM: 0x3FAA40
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global lbl_805AE1A4
|
|
|
|
lbl_805AE1A4:
|
|
|
|
# ROM: 0x3FAA44
|
|
|
|
.float 1.0
|
|
|
|
|
|
|
|
.global lbl_805AE1A8
|
|
|
|
lbl_805AE1A8:
|
|
|
|
# ROM: 0x3FAA48
|
|
|
|
.float -1.0
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global lbl_805AE1B0
|
|
|
|
lbl_805AE1B0:
|
|
|
|
# ROM: 0x3FAA50
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
|
2022-07-18 05:21:27 +00:00
|
|
|
|
|
|
|
.section .rodata
|
|
|
|
.global lbl_803D69E8
|
|
|
|
lbl_803D69E8:
|
|
|
|
# ROM: 0x3D39E8
|
|
|
|
.asciz "CCollidableAABox"
|
|
|
|
.balign 4
|
|
|
|
.4byte 0
|
|
|
|
|