.include "macros.inc" .section .data .global lbl_803ECAF8 lbl_803ECAF8: # ROM: 0x3E9AF8 .4byte 0 .4byte 0 .4byte GetTableIndex__17CCollidableSphereCFv .4byte SetMaterial__19CCollisionPrimitiveFRC13CMaterialList .4byte GetMaterial__19CCollisionPrimitiveCFv .4byte CalculateAABox__17CCollidableSphereCFRC12CTransform4f .4byte CalculateLocalAABox__17CCollidableSphereCFv .4byte GetPrimType__17CCollidableSphereCFv .4byte __dt__17CCollidableSphere .4byte CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure .global lbl_803ECB20 lbl_803ECB20: # ROM: 0x3E9B20 .4byte lbl_802D5044 .4byte lbl_802D4FA0 .4byte lbl_802D4FBC .4byte lbl_802D5044 .4byte lbl_802D4FD8 .4byte lbl_802D4EC0 .4byte lbl_802D4EDC .4byte lbl_802D5044 .4byte lbl_802D4FF4 .4byte lbl_802D4EF8 .4byte lbl_802D4F14 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5010 .4byte lbl_802D4E50 .4byte lbl_802D4E6C .4byte lbl_802D5044 .4byte lbl_802D4E88 .4byte lbl_802D4DE0 .4byte lbl_802D4DCC .4byte lbl_802D5044 .4byte lbl_802D4EA4 .4byte lbl_802D4DB8 .4byte lbl_802D4DA0 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D5044 .4byte lbl_802D502C .4byte lbl_802D4F30 .4byte lbl_802D4F4C .4byte lbl_802D5044 .4byte lbl_802D4F68 .4byte lbl_802D4E3C .4byte lbl_802D4E24 .4byte lbl_802D5044 .4byte lbl_802D4F84 .4byte lbl_802D4E0C .4byte lbl_802D4DF0 .4byte 0 .section .sdata .global lbl_805A86F8 lbl_805A86F8: # ROM: 0x3F6098 .4byte 0xFFFFFFFF .4byte 0 .section .bss .global lbl_80479558 lbl_80479558: .skip 0x48 .section .text, "ax" .global GetTableIndex__17CCollidableSphereCFv GetTableIndex__17CCollidableSphereCFv: /* 802D3E70 002D0DD0 80 6D 9B 38 */ lwz r3, lbl_805A86F8@sda21(r13) /* 802D3E74 002D0DD4 4E 80 00 20 */ blr .global CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: /* 802D3E78 002D0DD8 94 21 FE F0 */ stwu r1, -0x110(r1) /* 802D3E7C 002D0DDC 7C 08 02 A6 */ mflr r0 /* 802D3E80 002D0DE0 90 01 01 14 */ stw r0, 0x114(r1) /* 802D3E84 002D0DE4 DB E1 01 00 */ stfd f31, 0x100(r1) /* 802D3E88 002D0DE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 802D3E8C 002D0DEC DB C1 00 F0 */ stfd f30, 0xf0(r1) /* 802D3E90 002D0DF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 /* 802D3E94 002D0DF4 BF 41 00 D8 */ stmw r26, 0xd8(r1) /* 802D3E98 002D0DF8 7C 7A 1B 78 */ mr r26, r3 /* 802D3E9C 002D0DFC 7C 9B 23 78 */ mr r27, r4 /* 802D3EA0 002D0E00 83 A3 00 00 */ lwz r29, 0(r3) /* 802D3EA4 002D0E04 7C BC 2B 78 */ mr r28, r5 /* 802D3EA8 002D0E08 83 C3 00 38 */ lwz r30, 0x38(r3) /* 802D3EAC 002D0E0C 7C DF 33 78 */ mr r31, r6 /* 802D3EB0 002D0E10 38 61 00 34 */ addi r3, r1, 0x34 /* 802D3EB4 002D0E14 38 9A 00 08 */ addi r4, r26, 8 /* 802D3EB8 002D0E18 38 BD 00 10 */ addi r5, r29, 0x10 /* 802D3EBC 002D0E1C 48 03 EC 2D */ bl __ml__12CTransform4fCFRC9CVector3f /* 802D3EC0 002D0E20 C0 41 00 34 */ lfs f2, 0x34(r1) /* 802D3EC4 002D0E24 38 61 00 28 */ addi r3, r1, 0x28 /* 802D3EC8 002D0E28 C0 21 00 38 */ lfs f1, 0x38(r1) /* 802D3ECC 002D0E2C 38 9A 00 40 */ addi r4, r26, 0x40 /* 802D3ED0 002D0E30 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 802D3ED4 002D0E34 38 BE 00 10 */ addi r5, r30, 0x10 /* 802D3ED8 002D0E38 D0 41 00 68 */ stfs f2, 0x68(r1) /* 802D3EDC 002D0E3C D0 21 00 6C */ stfs f1, 0x6c(r1) /* 802D3EE0 002D0E40 D0 01 00 70 */ stfs f0, 0x70(r1) /* 802D3EE4 002D0E44 C3 FD 00 1C */ lfs f31, 0x1c(r29) /* 802D3EE8 002D0E48 C3 DE 00 1C */ lfs f30, 0x1c(r30) /* 802D3EEC 002D0E4C 48 03 EB FD */ bl __ml__12CTransform4fCFRC9CVector3f /* 802D3EF0 002D0E50 EC 1E F8 2A */ fadds f0, f30, f31 /* 802D3EF4 002D0E54 C0 61 00 28 */ lfs f3, 0x28(r1) /* 802D3EF8 002D0E58 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 802D3EFC 002D0E5C 7F 65 DB 78 */ mr r5, r27 /* 802D3F00 002D0E60 C0 21 00 30 */ lfs f1, 0x30(r1) /* 802D3F04 002D0E64 38 61 00 58 */ addi r3, r1, 0x58 /* 802D3F08 002D0E68 D0 61 00 58 */ stfs f3, 0x58(r1) /* 802D3F0C 002D0E6C 38 81 00 68 */ addi r4, r1, 0x68 /* 802D3F10 002D0E70 38 C1 00 08 */ addi r6, r1, 8 /* 802D3F14 002D0E74 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 802D3F18 002D0E78 D0 21 00 60 */ stfs f1, 0x60(r1) /* 802D3F1C 002D0E7C D0 01 00 64 */ stfs f0, 0x64(r1) /* 802D3F20 002D0E80 C8 1C 00 00 */ lfd f0, 0(r28) /* 802D3F24 002D0E84 D8 01 00 08 */ stfd f0, 8(r1) /* 802D3F28 002D0E88 4B FF FA A9 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd /* 802D3F2C 002D0E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802D3F30 002D0E90 41 82 01 D8 */ beq lbl_802D4108 /* 802D3F34 002D0E94 C8 21 00 08 */ lfd f1, 8(r1) /* 802D3F38 002D0E98 C8 02 C5 28 */ lfd f0, lbl_805AE248@sda21(r2) /* 802D3F3C 002D0E9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D3F40 002D0EA0 4C 41 13 82 */ cror 2, 1, 2 /* 802D3F44 002D0EA4 40 82 01 C4 */ bne lbl_802D4108 /* 802D3F48 002D0EA8 C8 1C 00 00 */ lfd f0, 0(r28) /* 802D3F4C 002D0EAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D3F50 002D0EB0 40 80 01 B8 */ bge lbl_802D4108 /* 802D3F54 002D0EB4 FC C0 08 18 */ frsp f6, f1 /* 802D3F58 002D0EB8 C0 5B 00 04 */ lfs f2, 4(r27) /* 802D3F5C 002D0EBC C0 3B 00 08 */ lfs f1, 8(r27) /* 802D3F60 002D0EC0 38 61 00 1C */ addi r3, r1, 0x1c /* 802D3F64 002D0EC4 C0 1B 00 00 */ lfs f0, 0(r27) /* 802D3F68 002D0EC8 38 81 00 10 */ addi r4, r1, 0x10 /* 802D3F6C 002D0ECC EC 86 00 B2 */ fmuls f4, f6, f2 /* 802D3F70 002D0ED0 C0 A1 00 6C */ lfs f5, 0x6c(r1) /* 802D3F74 002D0ED4 EC 46 00 72 */ fmuls f2, f6, f1 /* 802D3F78 002D0ED8 C0 61 00 70 */ lfs f3, 0x70(r1) /* 802D3F7C 002D0EDC EC 06 00 32 */ fmuls f0, f6, f0 /* 802D3F80 002D0EE0 C0 21 00 68 */ lfs f1, 0x68(r1) /* 802D3F84 002D0EE4 EC A5 20 2A */ fadds f5, f5, f4 /* 802D3F88 002D0EE8 C0 81 00 5C */ lfs f4, 0x5c(r1) /* 802D3F8C 002D0EEC EC 63 10 2A */ fadds f3, f3, f2 /* 802D3F90 002D0EF0 C0 41 00 60 */ lfs f2, 0x60(r1) /* 802D3F94 002D0EF4 EC 21 00 2A */ fadds f1, f1, f0 /* 802D3F98 002D0EF8 C0 01 00 58 */ lfs f0, 0x58(r1) /* 802D3F9C 002D0EFC EC 85 20 28 */ fsubs f4, f5, f4 /* 802D3FA0 002D0F00 EC 43 10 28 */ fsubs f2, f3, f2 /* 802D3FA4 002D0F04 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D3FA8 002D0F08 D0 81 00 14 */ stfs f4, 0x14(r1) /* 802D3FAC 002D0F0C D0 01 00 10 */ stfs f0, 0x10(r1) /* 802D3FB0 002D0F10 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802D3FB4 002D0F14 48 04 08 9D */ bl AsNormalized__9CVector3fCFv /* 802D3FB8 002D0F18 C0 E1 00 1C */ lfs f7, 0x1c(r1) /* 802D3FBC 002D0F1C 7F C3 F3 78 */ mr r3, r30 /* 802D3FC0 002D0F20 C0 61 00 20 */ lfs f3, 0x20(r1) /* 802D3FC4 002D0F24 C0 21 00 24 */ lfs f1, 0x24(r1) /* 802D3FC8 002D0F28 D0 E1 00 4C */ stfs f7, 0x4c(r1) /* 802D3FCC 002D0F2C C0 C1 00 5C */ lfs f6, 0x5c(r1) /* 802D3FD0 002D0F30 D0 61 00 50 */ stfs f3, 0x50(r1) /* 802D3FD4 002D0F34 C0 81 00 60 */ lfs f4, 0x60(r1) /* 802D3FD8 002D0F38 D0 21 00 54 */ stfs f1, 0x54(r1) /* 802D3FDC 002D0F3C C0 41 00 58 */ lfs f2, 0x58(r1) /* 802D3FE0 002D0F40 C1 1E 00 1C */ lfs f8, 0x1c(r30) /* 802D3FE4 002D0F44 C8 01 00 08 */ lfd f0, 8(r1) /* 802D3FE8 002D0F48 EC A8 00 F2 */ fmuls f5, f8, f3 /* 802D3FEC 002D0F4C EC 68 00 72 */ fmuls f3, f8, f1 /* 802D3FF0 002D0F50 EC 28 01 F2 */ fmuls f1, f8, f7 /* 802D3FF4 002D0F54 EC A6 28 2A */ fadds f5, f6, f5 /* 802D3FF8 002D0F58 EC 64 18 2A */ fadds f3, f4, f3 /* 802D3FFC 002D0F5C EC 22 08 2A */ fadds f1, f2, f1 /* 802D4000 002D0F60 D0 A1 00 44 */ stfs f5, 0x44(r1) /* 802D4004 002D0F64 D0 21 00 40 */ stfs f1, 0x40(r1) /* 802D4008 002D0F68 D0 61 00 48 */ stfs f3, 0x48(r1) /* 802D400C 002D0F6C D8 1C 00 00 */ stfd f0, 0(r28) /* 802D4010 002D0F70 81 9E 00 00 */ lwz r12, 0(r30) /* 802D4014 002D0F74 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4018 002D0F78 7D 89 03 A6 */ mtctr r12 /* 802D401C 002D0F7C 4E 80 04 21 */ bctrl /* 802D4020 002D0F80 7C 7E 1B 78 */ mr r30, r3 /* 802D4024 002D0F84 7F A3 EB 78 */ mr r3, r29 /* 802D4028 002D0F88 81 9D 00 00 */ lwz r12, 0(r29) /* 802D402C 002D0F8C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4030 002D0F90 7D 89 03 A6 */ mtctr r12 /* 802D4034 002D0F94 4E 80 04 21 */ bctrl /* 802D4038 002D0F98 7C 65 1B 78 */ mr r5, r3 /* 802D403C 002D0F9C 7F C6 F3 78 */ mr r6, r30 /* 802D4040 002D0FA0 38 61 00 78 */ addi r3, r1, 0x78 /* 802D4044 002D0FA4 38 81 00 40 */ addi r4, r1, 0x40 /* 802D4048 002D0FA8 38 E1 00 4C */ addi r7, r1, 0x4c /* 802D404C 002D0FAC 4B FF A3 FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f /* 802D4050 002D0FB0 80 81 00 78 */ lwz r4, 0x78(r1) /* 802D4054 002D0FB4 38 60 00 01 */ li r3, 1 /* 802D4058 002D0FB8 80 01 00 7C */ lwz r0, 0x7c(r1) /* 802D405C 002D0FBC 90 9F 00 00 */ stw r4, 0(r31) /* 802D4060 002D0FC0 90 1F 00 04 */ stw r0, 4(r31) /* 802D4064 002D0FC4 80 01 00 80 */ lwz r0, 0x80(r1) /* 802D4068 002D0FC8 90 1F 00 08 */ stw r0, 8(r31) /* 802D406C 002D0FCC 80 81 00 84 */ lwz r4, 0x84(r1) /* 802D4070 002D0FD0 80 01 00 88 */ lwz r0, 0x88(r1) /* 802D4074 002D0FD4 90 9F 00 0C */ stw r4, 0xc(r31) /* 802D4078 002D0FD8 90 1F 00 10 */ stw r0, 0x10(r31) /* 802D407C 002D0FDC 80 01 00 8C */ lwz r0, 0x8c(r1) /* 802D4080 002D0FE0 90 1F 00 14 */ stw r0, 0x14(r31) /* 802D4084 002D0FE4 80 81 00 90 */ lwz r4, 0x90(r1) /* 802D4088 002D0FE8 80 01 00 94 */ lwz r0, 0x94(r1) /* 802D408C 002D0FEC 90 9F 00 18 */ stw r4, 0x18(r31) /* 802D4090 002D0FF0 90 1F 00 1C */ stw r0, 0x1c(r31) /* 802D4094 002D0FF4 80 01 00 98 */ lwz r0, 0x98(r1) /* 802D4098 002D0FF8 90 1F 00 20 */ stw r0, 0x20(r31) /* 802D409C 002D0FFC 80 81 00 9C */ lwz r4, 0x9c(r1) /* 802D40A0 002D1000 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 802D40A4 002D1004 90 9F 00 24 */ stw r4, 0x24(r31) /* 802D40A8 002D1008 90 1F 00 28 */ stw r0, 0x28(r31) /* 802D40AC 002D100C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 802D40B0 002D1010 90 1F 00 2C */ stw r0, 0x2c(r31) /* 802D40B4 002D1014 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 802D40B8 002D1018 98 1F 00 30 */ stb r0, 0x30(r31) /* 802D40BC 002D101C 88 01 00 A9 */ lbz r0, 0xa9(r1) /* 802D40C0 002D1020 98 1F 00 31 */ stb r0, 0x31(r31) /* 802D40C4 002D1024 C8 01 00 B0 */ lfd f0, 0xb0(r1) /* 802D40C8 002D1028 D8 1F 00 38 */ stfd f0, 0x38(r31) /* 802D40CC 002D102C C8 01 00 B8 */ lfd f0, 0xb8(r1) /* 802D40D0 002D1030 D8 1F 00 40 */ stfd f0, 0x40(r31) /* 802D40D4 002D1034 80 81 00 C0 */ lwz r4, 0xc0(r1) /* 802D40D8 002D1038 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 802D40DC 002D103C 90 9F 00 48 */ stw r4, 0x48(r31) /* 802D40E0 002D1040 90 1F 00 4C */ stw r0, 0x4c(r31) /* 802D40E4 002D1044 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 802D40E8 002D1048 90 1F 00 50 */ stw r0, 0x50(r31) /* 802D40EC 002D104C 80 81 00 CC */ lwz r4, 0xcc(r1) /* 802D40F0 002D1050 80 01 00 D0 */ lwz r0, 0xd0(r1) /* 802D40F4 002D1054 90 9F 00 54 */ stw r4, 0x54(r31) /* 802D40F8 002D1058 90 1F 00 58 */ stw r0, 0x58(r31) /* 802D40FC 002D105C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802D4100 002D1060 90 1F 00 5C */ stw r0, 0x5c(r31) /* 802D4104 002D1064 48 00 00 08 */ b lbl_802D410C lbl_802D4108: /* 802D4108 002D1068 38 60 00 00 */ li r3, 0 lbl_802D410C: /* 802D410C 002D106C E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 802D4110 002D1070 CB E1 01 00 */ lfd f31, 0x100(r1) /* 802D4114 002D1074 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 /* 802D4118 002D1078 CB C1 00 F0 */ lfd f30, 0xf0(r1) /* 802D411C 002D107C BB 41 00 D8 */ lmw r26, 0xd8(r1) /* 802D4120 002D1080 80 01 01 14 */ lwz r0, 0x114(r1) /* 802D4124 002D1084 7C 08 03 A6 */ mtlr r0 /* 802D4128 002D1088 38 21 01 10 */ addi r1, r1, 0x110 /* 802D412C 002D108C 4E 80 00 20 */ blr .global CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: /* 802D4130 002D1090 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 802D4134 002D1094 7C 08 02 A6 */ mflr r0 /* 802D4138 002D1098 90 01 00 F4 */ stw r0, 0xf4(r1) /* 802D413C 002D109C BF 41 00 D8 */ stmw r26, 0xd8(r1) /* 802D4140 002D10A0 7C 7A 1B 78 */ mr r26, r3 /* 802D4144 002D10A4 7C BC 2B 78 */ mr r28, r5 /* 802D4148 002D10A8 7C 9B 23 78 */ mr r27, r4 /* 802D414C 002D10AC 7C DF 33 78 */ mr r31, r6 /* 802D4150 002D10B0 38 BA 00 40 */ addi r5, r26, 0x40 /* 802D4154 002D10B4 83 C3 00 38 */ lwz r30, 0x38(r3) /* 802D4158 002D10B8 38 61 00 48 */ addi r3, r1, 0x48 /* 802D415C 002D10BC 83 BA 00 00 */ lwz r29, 0(r26) /* 802D4160 002D10C0 81 9E 00 00 */ lwz r12, 0(r30) /* 802D4164 002D10C4 7F C4 F3 78 */ mr r4, r30 /* 802D4168 002D10C8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 802D416C 002D10CC 7D 89 03 A6 */ mtctr r12 /* 802D4170 002D10D0 4E 80 04 21 */ bctrl /* 802D4174 002D10D4 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 802D4178 002D10D8 7F A4 EB 78 */ mr r4, r29 /* 802D417C 002D10DC C0 81 00 4C */ lfs f4, 0x4c(r1) /* 802D4180 002D10E0 38 61 00 10 */ addi r3, r1, 0x10 /* 802D4184 002D10E4 C0 61 00 50 */ lfs f3, 0x50(r1) /* 802D4188 002D10E8 38 BA 00 08 */ addi r5, r26, 8 /* 802D418C 002D10EC C0 41 00 54 */ lfs f2, 0x54(r1) /* 802D4190 002D10F0 C0 21 00 58 */ lfs f1, 0x58(r1) /* 802D4194 002D10F4 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 802D4198 002D10F8 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 802D419C 002D10FC D0 81 00 64 */ stfs f4, 0x64(r1) /* 802D41A0 002D1100 D0 61 00 68 */ stfs f3, 0x68(r1) /* 802D41A4 002D1104 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 802D41A8 002D1108 D0 21 00 70 */ stfs f1, 0x70(r1) /* 802D41AC 002D110C D0 01 00 74 */ stfs f0, 0x74(r1) /* 802D41B0 002D1110 48 00 01 A5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D41B4 002D1114 C0 61 00 10 */ lfs f3, 0x10(r1) /* 802D41B8 002D1118 3C 60 80 5A */ lis r3, skZero3f@ha /* 802D41BC 002D111C C0 41 00 14 */ lfs f2, 0x14(r1) /* 802D41C0 002D1120 39 23 66 A0 */ addi r9, r3, skZero3f@l /* 802D41C4 002D1124 C0 21 00 18 */ lfs f1, 0x18(r1) /* 802D41C8 002D1128 7F 65 DB 78 */ mr r5, r27 /* 802D41CC 002D112C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 802D41D0 002D1130 38 61 00 38 */ addi r3, r1, 0x38 /* 802D41D4 002D1134 D0 61 00 38 */ stfs f3, 0x38(r1) /* 802D41D8 002D1138 38 81 00 60 */ addi r4, r1, 0x60 /* 802D41DC 002D113C C0 69 00 00 */ lfs f3, 0(r9) /* 802D41E0 002D1140 38 C1 00 08 */ addi r6, r1, 8 /* 802D41E4 002D1144 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 802D41E8 002D1148 38 E1 00 2C */ addi r7, r1, 0x2c /* 802D41EC 002D114C C0 49 00 04 */ lfs f2, 4(r9) /* 802D41F0 002D1150 39 01 00 20 */ addi r8, r1, 0x20 /* 802D41F4 002D1154 D0 21 00 40 */ stfs f1, 0x40(r1) /* 802D41F8 002D1158 C0 29 00 08 */ lfs f1, 8(r9) /* 802D41FC 002D115C D0 01 00 44 */ stfs f0, 0x44(r1) /* 802D4200 002D1160 C8 1C 00 00 */ lfd f0, 0(r28) /* 802D4204 002D1164 D8 01 00 08 */ stfd f0, 8(r1) /* 802D4208 002D1168 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 802D420C 002D116C D0 41 00 30 */ stfs f2, 0x30(r1) /* 802D4210 002D1170 D0 21 00 34 */ stfs f1, 0x34(r1) /* 802D4214 002D1174 D0 61 00 20 */ stfs f3, 0x20(r1) /* 802D4218 002D1178 D0 41 00 24 */ stfs f2, 0x24(r1) /* 802D421C 002D117C D0 21 00 28 */ stfs f1, 0x28(r1) /* 802D4220 002D1180 4B FF C2 71 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f /* 802D4224 002D1184 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802D4228 002D1188 41 82 01 14 */ beq lbl_802D433C /* 802D422C 002D118C C8 21 00 08 */ lfd f1, 8(r1) /* 802D4230 002D1190 C8 1C 00 00 */ lfd f0, 0(r28) /* 802D4234 002D1194 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D4238 002D1198 40 80 01 04 */ bge lbl_802D433C /* 802D423C 002D119C D8 3C 00 00 */ stfd f1, 0(r28) /* 802D4240 002D11A0 7F C3 F3 78 */ mr r3, r30 /* 802D4244 002D11A4 81 9E 00 00 */ lwz r12, 0(r30) /* 802D4248 002D11A8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D424C 002D11AC 7D 89 03 A6 */ mtctr r12 /* 802D4250 002D11B0 4E 80 04 21 */ bctrl /* 802D4254 002D11B4 7C 7E 1B 78 */ mr r30, r3 /* 802D4258 002D11B8 7F A3 EB 78 */ mr r3, r29 /* 802D425C 002D11BC 81 9D 00 00 */ lwz r12, 0(r29) /* 802D4260 002D11C0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4264 002D11C4 7D 89 03 A6 */ mtctr r12 /* 802D4268 002D11C8 4E 80 04 21 */ bctrl /* 802D426C 002D11CC 7C 65 1B 78 */ mr r5, r3 /* 802D4270 002D11D0 7F C6 F3 78 */ mr r6, r30 /* 802D4274 002D11D4 38 61 00 78 */ addi r3, r1, 0x78 /* 802D4278 002D11D8 38 81 00 2C */ addi r4, r1, 0x2c /* 802D427C 002D11DC 38 E1 00 20 */ addi r7, r1, 0x20 /* 802D4280 002D11E0 4B FF A1 C9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f /* 802D4284 002D11E4 80 81 00 78 */ lwz r4, 0x78(r1) /* 802D4288 002D11E8 38 60 00 01 */ li r3, 1 /* 802D428C 002D11EC 80 01 00 7C */ lwz r0, 0x7c(r1) /* 802D4290 002D11F0 90 9F 00 00 */ stw r4, 0(r31) /* 802D4294 002D11F4 90 1F 00 04 */ stw r0, 4(r31) /* 802D4298 002D11F8 80 01 00 80 */ lwz r0, 0x80(r1) /* 802D429C 002D11FC 90 1F 00 08 */ stw r0, 8(r31) /* 802D42A0 002D1200 80 81 00 84 */ lwz r4, 0x84(r1) /* 802D42A4 002D1204 80 01 00 88 */ lwz r0, 0x88(r1) /* 802D42A8 002D1208 90 9F 00 0C */ stw r4, 0xc(r31) /* 802D42AC 002D120C 90 1F 00 10 */ stw r0, 0x10(r31) /* 802D42B0 002D1210 80 01 00 8C */ lwz r0, 0x8c(r1) /* 802D42B4 002D1214 90 1F 00 14 */ stw r0, 0x14(r31) /* 802D42B8 002D1218 80 81 00 90 */ lwz r4, 0x90(r1) /* 802D42BC 002D121C 80 01 00 94 */ lwz r0, 0x94(r1) /* 802D42C0 002D1220 90 9F 00 18 */ stw r4, 0x18(r31) /* 802D42C4 002D1224 90 1F 00 1C */ stw r0, 0x1c(r31) /* 802D42C8 002D1228 80 01 00 98 */ lwz r0, 0x98(r1) /* 802D42CC 002D122C 90 1F 00 20 */ stw r0, 0x20(r31) /* 802D42D0 002D1230 80 81 00 9C */ lwz r4, 0x9c(r1) /* 802D42D4 002D1234 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 802D42D8 002D1238 90 9F 00 24 */ stw r4, 0x24(r31) /* 802D42DC 002D123C 90 1F 00 28 */ stw r0, 0x28(r31) /* 802D42E0 002D1240 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 802D42E4 002D1244 90 1F 00 2C */ stw r0, 0x2c(r31) /* 802D42E8 002D1248 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 802D42EC 002D124C 98 1F 00 30 */ stb r0, 0x30(r31) /* 802D42F0 002D1250 88 01 00 A9 */ lbz r0, 0xa9(r1) /* 802D42F4 002D1254 98 1F 00 31 */ stb r0, 0x31(r31) /* 802D42F8 002D1258 C8 01 00 B0 */ lfd f0, 0xb0(r1) /* 802D42FC 002D125C D8 1F 00 38 */ stfd f0, 0x38(r31) /* 802D4300 002D1260 C8 01 00 B8 */ lfd f0, 0xb8(r1) /* 802D4304 002D1264 D8 1F 00 40 */ stfd f0, 0x40(r31) /* 802D4308 002D1268 80 81 00 C0 */ lwz r4, 0xc0(r1) /* 802D430C 002D126C 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 802D4310 002D1270 90 9F 00 48 */ stw r4, 0x48(r31) /* 802D4314 002D1274 90 1F 00 4C */ stw r0, 0x4c(r31) /* 802D4318 002D1278 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 802D431C 002D127C 90 1F 00 50 */ stw r0, 0x50(r31) /* 802D4320 002D1280 80 81 00 CC */ lwz r4, 0xcc(r1) /* 802D4324 002D1284 80 01 00 D0 */ lwz r0, 0xd0(r1) /* 802D4328 002D1288 90 9F 00 54 */ stw r4, 0x54(r31) /* 802D432C 002D128C 90 1F 00 58 */ stw r0, 0x58(r31) /* 802D4330 002D1290 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802D4334 002D1294 90 1F 00 5C */ stw r0, 0x5c(r31) /* 802D4338 002D1298 48 00 00 08 */ b lbl_802D4340 lbl_802D433C: /* 802D433C 002D129C 38 60 00 00 */ li r3, 0 lbl_802D4340: /* 802D4340 002D12A0 BB 41 00 D8 */ lmw r26, 0xd8(r1) /* 802D4344 002D12A4 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 802D4348 002D12A8 7C 08 03 A6 */ mtlr r0 /* 802D434C 002D12AC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 802D4350 002D12B0 4E 80 00 20 */ blr .global Transform__17CCollidableSphereCFRC12CTransform4f Transform__17CCollidableSphereCFRC12CTransform4f: /* 802D4354 002D12B4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802D4358 002D12B8 7C 08 02 A6 */ mflr r0 /* 802D435C 002D12BC 90 01 00 34 */ stw r0, 0x34(r1) /* 802D4360 002D12C0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 802D4364 002D12C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 802D4368 002D12C8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802D436C 002D12CC 7C 86 23 78 */ mr r6, r4 /* 802D4370 002D12D0 C3 E4 00 1C */ lfs f31, 0x1c(r4) /* 802D4374 002D12D4 7C 7F 1B 78 */ mr r31, r3 /* 802D4378 002D12D8 7C A4 2B 78 */ mr r4, r5 /* 802D437C 002D12DC 38 61 00 08 */ addi r3, r1, 8 /* 802D4380 002D12E0 38 A6 00 10 */ addi r5, r6, 0x10 /* 802D4384 002D12E4 48 03 E7 65 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802D4388 002D12E8 C0 21 00 0C */ lfs f1, 0xc(r1) /* 802D438C 002D12EC C0 41 00 10 */ lfs f2, 0x10(r1) /* 802D4390 002D12F0 C0 01 00 08 */ lfs f0, 8(r1) /* 802D4394 002D12F4 D0 1F 00 00 */ stfs f0, 0(r31) /* 802D4398 002D12F8 D0 3F 00 04 */ stfs f1, 4(r31) /* 802D439C 002D12FC D0 5F 00 08 */ stfs f2, 8(r31) /* 802D43A0 002D1300 D3 FF 00 0C */ stfs f31, 0xc(r31) /* 802D43A4 002D1304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 802D43A8 002D1308 80 01 00 34 */ lwz r0, 0x34(r1) /* 802D43AC 002D130C CB E1 00 20 */ lfd f31, 0x20(r1) /* 802D43B0 002D1310 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802D43B4 002D1314 7C 08 03 A6 */ mtlr r0 /* 802D43B8 002D1318 38 21 00 30 */ addi r1, r1, 0x30 /* 802D43BC 002D131C 4E 80 00 20 */ blr .global GetPrimType__17CCollidableSphereCFv GetPrimType__17CCollidableSphereCFv: /* 802D43C0 002D1320 3C 60 53 50 */ lis r3, 0x53504852@ha /* 802D43C4 002D1324 38 63 48 52 */ addi r3, r3, 0x53504852@l /* 802D43C8 002D1328 4E 80 00 20 */ blr .global CalculateLocalAABox__17CCollidableSphereCFv CalculateLocalAABox__17CCollidableSphereCFv: /* 802D43CC 002D132C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802D43D0 002D1330 7C 08 02 A6 */ mflr r0 /* 802D43D4 002D1334 90 01 00 24 */ stw r0, 0x24(r1) /* 802D43D8 002D1338 38 A1 00 08 */ addi r5, r1, 8 /* 802D43DC 002D133C C0 A4 00 1C */ lfs f5, 0x1c(r4) /* 802D43E0 002D1340 C0 24 00 10 */ lfs f1, 0x10(r4) /* 802D43E4 002D1344 C0 C4 00 14 */ lfs f6, 0x14(r4) /* 802D43E8 002D1348 C0 E4 00 18 */ lfs f7, 0x18(r4) /* 802D43EC 002D134C EC 01 28 2A */ fadds f0, f1, f5 /* 802D43F0 002D1350 EC 41 28 28 */ fsubs f2, f1, f5 /* 802D43F4 002D1354 38 81 00 14 */ addi r4, r1, 0x14 /* 802D43F8 002D1358 EC 86 28 2A */ fadds f4, f6, f5 /* 802D43FC 002D135C EC 67 28 2A */ fadds f3, f7, f5 /* 802D4400 002D1360 D0 01 00 08 */ stfs f0, 8(r1) /* 802D4404 002D1364 EC 26 28 28 */ fsubs f1, f6, f5 /* 802D4408 002D1368 EC 07 28 28 */ fsubs f0, f7, f5 /* 802D440C 002D136C D0 81 00 0C */ stfs f4, 0xc(r1) /* 802D4410 002D1370 D0 61 00 10 */ stfs f3, 0x10(r1) /* 802D4414 002D1374 D0 41 00 14 */ stfs f2, 0x14(r1) /* 802D4418 002D1378 D0 21 00 18 */ stfs f1, 0x18(r1) /* 802D441C 002D137C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802D4420 002D1380 48 06 40 E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802D4424 002D1384 80 01 00 24 */ lwz r0, 0x24(r1) /* 802D4428 002D1388 7C 08 03 A6 */ mtlr r0 /* 802D442C 002D138C 38 21 00 20 */ addi r1, r1, 0x20 /* 802D4430 002D1390 4E 80 00 20 */ blr .global CalculateAABox__17CCollidableSphereCFRC12CTransform4f CalculateAABox__17CCollidableSphereCFRC12CTransform4f: /* 802D4434 002D1394 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802D4438 002D1398 7C 08 02 A6 */ mflr r0 /* 802D443C 002D139C 90 01 00 54 */ stw r0, 0x54(r1) /* 802D4440 002D13A0 DB E1 00 40 */ stfd f31, 0x40(r1) /* 802D4444 002D13A4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 802D4448 002D13A8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802D444C 002D13AC 7C 86 23 78 */ mr r6, r4 /* 802D4450 002D13B0 C3 E4 00 1C */ lfs f31, 0x1c(r4) /* 802D4454 002D13B4 7C 7F 1B 78 */ mr r31, r3 /* 802D4458 002D13B8 7C A4 2B 78 */ mr r4, r5 /* 802D445C 002D13BC 38 61 00 20 */ addi r3, r1, 0x20 /* 802D4460 002D13C0 38 A6 00 10 */ addi r5, r6, 0x10 /* 802D4464 002D13C4 48 03 E6 85 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802D4468 002D13C8 C0 21 00 24 */ lfs f1, 0x24(r1) /* 802D446C 002D13CC 7F E3 FB 78 */ mr r3, r31 /* 802D4470 002D13D0 C0 A1 00 28 */ lfs f5, 0x28(r1) /* 802D4474 002D13D4 38 81 00 14 */ addi r4, r1, 0x14 /* 802D4478 002D13D8 C0 41 00 20 */ lfs f2, 0x20(r1) /* 802D447C 002D13DC EC 01 F8 2A */ fadds f0, f1, f31 /* 802D4480 002D13E0 EC 65 F8 2A */ fadds f3, f5, f31 /* 802D4484 002D13E4 38 A1 00 08 */ addi r5, r1, 8 /* 802D4488 002D13E8 EC 82 F8 2A */ fadds f4, f2, f31 /* 802D448C 002D13EC EC 42 F8 28 */ fsubs f2, f2, f31 /* 802D4490 002D13F0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802D4494 002D13F4 EC 21 F8 28 */ fsubs f1, f1, f31 /* 802D4498 002D13F8 EC 05 F8 28 */ fsubs f0, f5, f31 /* 802D449C 002D13FC D0 81 00 08 */ stfs f4, 8(r1) /* 802D44A0 002D1400 D0 61 00 10 */ stfs f3, 0x10(r1) /* 802D44A4 002D1404 D0 41 00 14 */ stfs f2, 0x14(r1) /* 802D44A8 002D1408 D0 21 00 18 */ stfs f1, 0x18(r1) /* 802D44AC 002D140C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802D44B0 002D1410 48 06 40 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802D44B4 002D1414 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 802D44B8 002D1418 80 01 00 54 */ lwz r0, 0x54(r1) /* 802D44BC 002D141C CB E1 00 40 */ lfd f31, 0x40(r1) /* 802D44C0 002D1420 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802D44C4 002D1424 7C 08 03 A6 */ mtlr r0 /* 802D44C8 002D1428 38 21 00 50 */ addi r1, r1, 0x50 /* 802D44CC 002D142C 4E 80 00 20 */ blr .global CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure: /* 802D44D0 002D1430 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802D44D4 002D1434 7C 08 02 A6 */ mflr r0 /* 802D44D8 002D1438 90 01 00 84 */ stw r0, 0x84(r1) /* 802D44DC 002D143C 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802D44E0 002D1440 93 C1 00 78 */ stw r30, 0x78(r1) /* 802D44E4 002D1444 7C BE 2B 78 */ mr r30, r5 /* 802D44E8 002D1448 93 A1 00 74 */ stw r29, 0x74(r1) /* 802D44EC 002D144C 7C 9D 23 78 */ mr r29, r4 /* 802D44F0 002D1450 93 81 00 70 */ stw r28, 0x70(r1) /* 802D44F4 002D1454 7C 7C 1B 78 */ mr r28, r3 /* 802D44F8 002D1458 7F A3 EB 78 */ mr r3, r29 /* 802D44FC 002D145C 81 9D 00 00 */ lwz r12, 0(r29) /* 802D4500 002D1460 83 E5 00 6C */ lwz r31, 0x6c(r5) /* 802D4504 002D1464 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4508 002D1468 7D 89 03 A6 */ mtctr r12 /* 802D450C 002D146C 4E 80 04 21 */ bctrl /* 802D4510 002D1470 7C 64 1B 78 */ mr r4, r3 /* 802D4514 002D1474 7F E3 FB 78 */ mr r3, r31 /* 802D4518 002D1478 48 00 0E 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList /* 802D451C 002D147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802D4520 002D1480 40 82 00 64 */ bne lbl_802D4584 /* 802D4524 002D1484 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) /* 802D4528 002D1488 38 61 00 18 */ addi r3, r1, 0x18 /* 802D452C 002D148C C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D4530 002D1490 D0 3C 00 00 */ stfs f1, 0(r28) /* 802D4534 002D1494 D0 3C 00 04 */ stfs f1, 4(r28) /* 802D4538 002D1498 D0 3C 00 08 */ stfs f1, 8(r28) /* 802D453C 002D149C D0 3C 00 0C */ stfs f1, 0xc(r28) /* 802D4540 002D14A0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 802D4544 002D14A4 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 802D4548 002D14A8 D0 21 00 20 */ stfs f1, 0x20(r1) /* 802D454C 002D14AC 48 04 03 AD */ bl Normalize__9CVector3fFv /* 802D4550 002D14B0 C0 21 00 18 */ lfs f1, 0x18(r1) /* 802D4554 002D14B4 38 00 00 00 */ li r0, 0 /* 802D4558 002D14B8 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) /* 802D455C 002D14BC D0 3C 00 10 */ stfs f1, 0x10(r28) /* 802D4560 002D14C0 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 802D4564 002D14C4 D0 3C 00 14 */ stfs f1, 0x14(r28) /* 802D4568 002D14C8 C0 21 00 20 */ lfs f1, 0x20(r1) /* 802D456C 002D14CC D0 3C 00 18 */ stfs f1, 0x18(r28) /* 802D4570 002D14D0 D0 1C 00 1C */ stfs f0, 0x1c(r28) /* 802D4574 002D14D4 98 1C 00 20 */ stb r0, 0x20(r28) /* 802D4578 002D14D8 90 1C 00 2C */ stw r0, 0x2c(r28) /* 802D457C 002D14DC 90 1C 00 28 */ stw r0, 0x28(r28) /* 802D4580 002D14E0 48 00 01 D8 */ b lbl_802D4758 lbl_802D4584: /* 802D4584 002D14E4 7F A4 EB 78 */ mr r4, r29 /* 802D4588 002D14E8 38 61 00 30 */ addi r3, r1, 0x30 /* 802D458C 002D14EC 38 BE 00 3C */ addi r5, r30, 0x3c /* 802D4590 002D14F0 4B FF FD C5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D4594 002D14F4 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) /* 802D4598 002D14F8 38 61 00 30 */ addi r3, r1, 0x30 /* 802D459C 002D14FC C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D45A0 002D1500 7F C4 F3 78 */ mr r4, r30 /* 802D45A4 002D1504 D0 41 00 08 */ stfs f2, 8(r1) /* 802D45A8 002D1508 38 BE 00 2C */ addi r5, r30, 0x2c /* 802D45AC 002D150C C0 3E 00 38 */ lfs f1, 0x38(r30) /* 802D45B0 002D1510 38 C1 00 08 */ addi r6, r1, 8 /* 802D45B4 002D1514 D0 41 00 58 */ stfs f2, 0x58(r1) /* 802D45B8 002D1518 38 E1 00 58 */ addi r7, r1, 0x58 /* 802D45BC 002D151C D0 41 00 5C */ stfs f2, 0x5c(r1) /* 802D45C0 002D1520 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802D45C4 002D1524 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 802D45C8 002D1528 D0 41 00 50 */ stfs f2, 0x50(r1) /* 802D45CC 002D152C D0 01 00 54 */ stfs f0, 0x54(r1) /* 802D45D0 002D1530 4B FF F5 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f /* 802D45D4 002D1534 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802D45D8 002D1538 41 82 01 24 */ beq lbl_802D46FC /* 802D45DC 002D153C C0 21 00 5C */ lfs f1, 0x5c(r1) /* 802D45E0 002D1540 38 61 00 40 */ addi r3, r1, 0x40 /* 802D45E4 002D1544 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802D45E8 002D1548 C0 61 00 60 */ lfs f3, 0x60(r1) /* 802D45EC 002D154C C0 41 00 38 */ lfs f2, 0x38(r1) /* 802D45F0 002D1550 EC 81 00 28 */ fsubs f4, f1, f0 /* 802D45F4 002D1554 C0 21 00 58 */ lfs f1, 0x58(r1) /* 802D45F8 002D1558 C0 01 00 30 */ lfs f0, 0x30(r1) /* 802D45FC 002D155C EC 43 10 28 */ fsubs f2, f3, f2 /* 802D4600 002D1560 D0 81 00 44 */ stfs f4, 0x44(r1) /* 802D4604 002D1564 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D4608 002D1568 D0 41 00 48 */ stfs f2, 0x48(r1) /* 802D460C 002D156C D0 01 00 40 */ stfs f0, 0x40(r1) /* 802D4610 002D1570 48 04 02 A9 */ bl Magnitude__9CVector3fCFv /* 802D4614 002D1574 C0 02 C5 38 */ lfs f0, lbl_805AE258@sda21(r2) /* 802D4618 002D1578 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D461C 002D157C 40 81 00 34 */ ble lbl_802D4650 /* 802D4620 002D1580 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D4624 002D1584 C0 41 00 40 */ lfs f2, 0x40(r1) /* 802D4628 002D1588 EC 60 08 24 */ fdivs f3, f0, f1 /* 802D462C 002D158C C0 21 00 44 */ lfs f1, 0x44(r1) /* 802D4630 002D1590 C0 01 00 48 */ lfs f0, 0x48(r1) /* 802D4634 002D1594 EC 43 00 B2 */ fmuls f2, f3, f2 /* 802D4638 002D1598 EC 23 00 72 */ fmuls f1, f3, f1 /* 802D463C 002D159C EC 03 00 32 */ fmuls f0, f3, f0 /* 802D4640 002D15A0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 802D4644 002D15A4 D0 21 00 50 */ stfs f1, 0x50(r1) /* 802D4648 002D15A8 D0 01 00 54 */ stfs f0, 0x54(r1) /* 802D464C 002D15AC 48 00 00 1C */ b lbl_802D4668 lbl_802D4650: /* 802D4650 002D15B0 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 802D4654 002D15B4 C0 3E 00 30 */ lfs f1, 0x30(r30) /* 802D4658 002D15B8 C0 1E 00 34 */ lfs f0, 0x34(r30) /* 802D465C 002D15BC D0 41 00 4C */ stfs f2, 0x4c(r1) /* 802D4660 002D15C0 D0 21 00 50 */ stfs f1, 0x50(r1) /* 802D4664 002D15C4 D0 01 00 54 */ stfs f0, 0x54(r1) lbl_802D4668: /* 802D4668 002D15C8 7F A3 EB 78 */ mr r3, r29 /* 802D466C 002D15CC 81 9D 00 00 */ lwz r12, 0(r29) /* 802D4670 002D15D0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4674 002D15D4 7D 89 03 A6 */ mtctr r12 /* 802D4678 002D15D8 4E 80 04 21 */ bctrl /* 802D467C 002D15DC 7C 7F 1B 78 */ mr r31, r3 /* 802D4680 002D15E0 38 61 00 24 */ addi r3, r1, 0x24 /* 802D4684 002D15E4 38 81 00 4C */ addi r4, r1, 0x4c /* 802D4688 002D15E8 48 03 F7 49 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 802D468C 002D15EC C0 81 00 28 */ lfs f4, 0x28(r1) /* 802D4690 002D15F0 38 00 00 01 */ li r0, 1 /* 802D4694 002D15F4 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 802D4698 002D15F8 C0 A1 00 24 */ lfs f5, 0x24(r1) /* 802D469C 002D15FC EC 20 01 32 */ fmuls f1, f0, f4 /* 802D46A0 002D1600 C0 41 00 58 */ lfs f2, 0x58(r1) /* 802D46A4 002D1604 C0 C1 00 2C */ lfs f6, 0x2c(r1) /* 802D46A8 002D1608 C0 61 00 60 */ lfs f3, 0x60(r1) /* 802D46AC 002D160C C0 01 00 08 */ lfs f0, 8(r1) /* 802D46B0 002D1610 EC 22 09 7A */ fmadds f1, f2, f5, f1 /* 802D46B4 002D1614 D0 1C 00 00 */ stfs f0, 0(r28) /* 802D46B8 002D1618 EC 23 09 BA */ fmadds f1, f3, f6, f1 /* 802D46BC 002D161C C0 01 00 58 */ lfs f0, 0x58(r1) /* 802D46C0 002D1620 D0 1C 00 04 */ stfs f0, 4(r28) /* 802D46C4 002D1624 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 802D46C8 002D1628 D0 1C 00 08 */ stfs f0, 8(r28) /* 802D46CC 002D162C C0 01 00 60 */ lfs f0, 0x60(r1) /* 802D46D0 002D1630 D0 1C 00 0C */ stfs f0, 0xc(r28) /* 802D46D4 002D1634 D0 BC 00 10 */ stfs f5, 0x10(r28) /* 802D46D8 002D1638 D0 9C 00 14 */ stfs f4, 0x14(r28) /* 802D46DC 002D163C D0 DC 00 18 */ stfs f6, 0x18(r28) /* 802D46E0 002D1640 D0 3C 00 1C */ stfs f1, 0x1c(r28) /* 802D46E4 002D1644 98 1C 00 20 */ stb r0, 0x20(r28) /* 802D46E8 002D1648 80 1F 00 00 */ lwz r0, 0(r31) /* 802D46EC 002D164C 80 7F 00 04 */ lwz r3, 4(r31) /* 802D46F0 002D1650 90 7C 00 2C */ stw r3, 0x2c(r28) /* 802D46F4 002D1654 90 1C 00 28 */ stw r0, 0x28(r28) /* 802D46F8 002D1658 48 00 00 60 */ b lbl_802D4758 lbl_802D46FC: /* 802D46FC 002D165C C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) /* 802D4700 002D1660 38 61 00 0C */ addi r3, r1, 0xc /* 802D4704 002D1664 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D4708 002D1668 D0 3C 00 00 */ stfs f1, 0(r28) /* 802D470C 002D166C D0 3C 00 04 */ stfs f1, 4(r28) /* 802D4710 002D1670 D0 3C 00 08 */ stfs f1, 8(r28) /* 802D4714 002D1674 D0 3C 00 0C */ stfs f1, 0xc(r28) /* 802D4718 002D1678 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802D471C 002D167C D0 21 00 10 */ stfs f1, 0x10(r1) /* 802D4720 002D1680 D0 21 00 14 */ stfs f1, 0x14(r1) /* 802D4724 002D1684 48 04 01 D5 */ bl Normalize__9CVector3fFv /* 802D4728 002D1688 C0 21 00 0C */ lfs f1, 0xc(r1) /* 802D472C 002D168C 38 00 00 00 */ li r0, 0 /* 802D4730 002D1690 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) /* 802D4734 002D1694 D0 3C 00 10 */ stfs f1, 0x10(r28) /* 802D4738 002D1698 C0 21 00 10 */ lfs f1, 0x10(r1) /* 802D473C 002D169C D0 3C 00 14 */ stfs f1, 0x14(r28) /* 802D4740 002D16A0 C0 21 00 14 */ lfs f1, 0x14(r1) /* 802D4744 002D16A4 D0 3C 00 18 */ stfs f1, 0x18(r28) /* 802D4748 002D16A8 D0 1C 00 1C */ stfs f0, 0x1c(r28) /* 802D474C 002D16AC 98 1C 00 20 */ stb r0, 0x20(r28) /* 802D4750 002D16B0 90 1C 00 2C */ stw r0, 0x2c(r28) /* 802D4754 002D16B4 90 1C 00 28 */ stw r0, 0x28(r28) lbl_802D4758: /* 802D4758 002D16B8 80 01 00 84 */ lwz r0, 0x84(r1) /* 802D475C 002D16BC 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 802D4760 002D16C0 83 C1 00 78 */ lwz r30, 0x78(r1) /* 802D4764 002D16C4 83 A1 00 74 */ lwz r29, 0x74(r1) /* 802D4768 002D16C8 83 81 00 70 */ lwz r28, 0x70(r1) /* 802D476C 002D16CC 7C 08 03 A6 */ mtlr r0 /* 802D4770 002D16D0 38 21 00 80 */ addi r1, r1, 0x80 /* 802D4774 002D16D4 4E 80 00 20 */ blr .global Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure: /* 802D4778 002D16D8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802D477C 002D16DC 7C 08 02 A6 */ mflr r0 /* 802D4780 002D16E0 90 01 00 54 */ stw r0, 0x54(r1) /* 802D4784 002D16E4 93 E1 00 4C */ stw r31, 0x4c(r1) /* 802D4788 002D16E8 93 C1 00 48 */ stw r30, 0x48(r1) /* 802D478C 002D16EC 7C 7E 1B 78 */ mr r30, r3 /* 802D4790 002D16F0 38 61 00 18 */ addi r3, r1, 0x18 /* 802D4794 002D16F4 83 FE 00 38 */ lwz r31, 0x38(r30) /* 802D4798 002D16F8 38 BE 00 08 */ addi r5, r30, 8 /* 802D479C 002D16FC 80 9E 00 00 */ lwz r4, 0(r30) /* 802D47A0 002D1700 4B FF FB B5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D47A4 002D1704 C0 61 00 18 */ lfs f3, 0x18(r1) /* 802D47A8 002D1708 7F E4 FB 78 */ mr r4, r31 /* 802D47AC 002D170C C0 41 00 1C */ lfs f2, 0x1c(r1) /* 802D47B0 002D1710 38 61 00 08 */ addi r3, r1, 8 /* 802D47B4 002D1714 C0 21 00 20 */ lfs f1, 0x20(r1) /* 802D47B8 002D1718 38 BE 00 40 */ addi r5, r30, 0x40 /* 802D47BC 002D171C C0 01 00 24 */ lfs f0, 0x24(r1) /* 802D47C0 002D1720 D0 61 00 38 */ stfs f3, 0x38(r1) /* 802D47C4 002D1724 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 802D47C8 002D1728 D0 21 00 40 */ stfs f1, 0x40(r1) /* 802D47CC 002D172C D0 01 00 44 */ stfs f0, 0x44(r1) /* 802D47D0 002D1730 4B FF FB 85 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D47D4 002D1734 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 802D47D8 002D1738 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 802D47DC 002D173C C0 C1 00 08 */ lfs f6, 8(r1) /* 802D47E0 002D1740 EC 20 28 28 */ fsubs f1, f0, f5 /* 802D47E4 002D1744 C0 01 00 38 */ lfs f0, 0x38(r1) /* 802D47E8 002D1748 C0 81 00 10 */ lfs f4, 0x10(r1) /* 802D47EC 002D174C EC E0 30 28 */ fsubs f7, f0, f6 /* 802D47F0 002D1750 C0 61 00 14 */ lfs f3, 0x14(r1) /* 802D47F4 002D1754 EC 01 00 72 */ fmuls f0, f1, f1 /* 802D47F8 002D1758 C0 41 00 40 */ lfs f2, 0x40(r1) /* 802D47FC 002D175C C0 21 00 44 */ lfs f1, 0x44(r1) /* 802D4800 002D1760 EC 42 20 28 */ fsubs f2, f2, f4 /* 802D4804 002D1764 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 802D4808 002D1768 EC C1 18 2A */ fadds f6, f1, f3 /* 802D480C 002D176C EC 27 01 FA */ fmadds f1, f7, f7, f0 /* 802D4810 002D1770 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 802D4814 002D1774 EC 06 01 B2 */ fmuls f0, f6, f6 /* 802D4818 002D1778 D0 81 00 30 */ stfs f4, 0x30(r1) /* 802D481C 002D177C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 802D4820 002D1780 D0 61 00 34 */ stfs f3, 0x34(r1) /* 802D4824 002D1784 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D4828 002D1788 4C 40 13 82 */ cror 2, 0, 2 /* 802D482C 002D178C 7C 00 00 26 */ mfcr r0 /* 802D4830 002D1790 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 802D4834 002D1794 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802D4838 002D1798 83 C1 00 48 */ lwz r30, 0x48(r1) /* 802D483C 002D179C 80 01 00 54 */ lwz r0, 0x54(r1) /* 802D4840 002D17A0 7C 08 03 A6 */ mtlr r0 /* 802D4844 002D17A4 38 21 00 50 */ addi r1, r1, 0x50 /* 802D4848 002D17A8 4E 80 00 20 */ blr .global Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: /* 802D484C 002D17AC 94 21 FE D0 */ stwu r1, -0x130(r1) /* 802D4850 002D17B0 7C 08 02 A6 */ mflr r0 /* 802D4854 002D17B4 90 01 01 34 */ stw r0, 0x134(r1) /* 802D4858 002D17B8 DB E1 01 20 */ stfd f31, 0x120(r1) /* 802D485C 002D17BC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 802D4860 002D17C0 DB C1 01 10 */ stfd f30, 0x110(r1) /* 802D4864 002D17C4 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 802D4868 002D17C8 DB A1 01 00 */ stfd f29, 0x100(r1) /* 802D486C 002D17CC F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 /* 802D4870 002D17D0 DB 81 00 F0 */ stfd f28, 0xf0(r1) /* 802D4874 002D17D4 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 /* 802D4878 002D17D8 93 E1 00 EC */ stw r31, 0xec(r1) /* 802D487C 002D17DC 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 802D4880 002D17E0 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 802D4884 002D17E4 93 81 00 E0 */ stw r28, 0xe0(r1) /* 802D4888 002D17E8 7C 7C 1B 78 */ mr r28, r3 /* 802D488C 002D17EC 7C 9D 23 78 */ mr r29, r4 /* 802D4890 002D17F0 83 C3 00 00 */ lwz r30, 0(r3) /* 802D4894 002D17F4 38 61 00 24 */ addi r3, r1, 0x24 /* 802D4898 002D17F8 83 FC 00 38 */ lwz r31, 0x38(r28) /* 802D489C 002D17FC 38 BC 00 08 */ addi r5, r28, 8 /* 802D48A0 002D1800 7F C4 F3 78 */ mr r4, r30 /* 802D48A4 002D1804 4B FF FA B1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D48A8 002D1808 C0 61 00 24 */ lfs f3, 0x24(r1) /* 802D48AC 002D180C 7F E4 FB 78 */ mr r4, r31 /* 802D48B0 002D1810 C0 41 00 28 */ lfs f2, 0x28(r1) /* 802D48B4 002D1814 38 61 00 14 */ addi r3, r1, 0x14 /* 802D48B8 002D1818 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 802D48BC 002D181C 38 BC 00 40 */ addi r5, r28, 0x40 /* 802D48C0 002D1820 C0 01 00 30 */ lfs f0, 0x30(r1) /* 802D48C4 002D1824 D0 61 00 68 */ stfs f3, 0x68(r1) /* 802D48C8 002D1828 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 802D48CC 002D182C D0 21 00 70 */ stfs f1, 0x70(r1) /* 802D48D0 002D1830 D0 01 00 74 */ stfs f0, 0x74(r1) /* 802D48D4 002D1834 4B FF FA 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D48D8 002D1838 C0 61 00 14 */ lfs f3, 0x14(r1) /* 802D48DC 002D183C C3 A1 00 18 */ lfs f29, 0x18(r1) /* 802D48E0 002D1840 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 802D48E4 002D1844 C0 01 00 68 */ lfs f0, 0x68(r1) /* 802D48E8 002D1848 EC C1 E8 28 */ fsubs f6, f1, f29 /* 802D48EC 002D184C C3 C1 00 1C */ lfs f30, 0x1c(r1) /* 802D48F0 002D1850 EC 80 18 28 */ fsubs f4, f0, f3 /* 802D48F4 002D1854 C0 01 00 70 */ lfs f0, 0x70(r1) /* 802D48F8 002D1858 C3 E1 00 20 */ lfs f31, 0x20(r1) /* 802D48FC 002D185C EC A0 F0 28 */ fsubs f5, f0, f30 /* 802D4900 002D1860 C0 01 00 74 */ lfs f0, 0x74(r1) /* 802D4904 002D1864 EC 44 01 32 */ fmuls f2, f4, f4 /* 802D4908 002D1868 EC 26 01 B2 */ fmuls f1, f6, f6 /* 802D490C 002D186C D0 61 00 58 */ stfs f3, 0x58(r1) /* 802D4910 002D1870 EC 00 F8 2A */ fadds f0, f0, f31 /* 802D4914 002D1874 EC 65 01 72 */ fmuls f3, f5, f5 /* 802D4918 002D1878 D3 A1 00 5C */ stfs f29, 0x5c(r1) /* 802D491C 002D187C EC 22 08 2A */ fadds f1, f2, f1 /* 802D4920 002D1880 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D4924 002D1884 D3 C1 00 60 */ stfs f30, 0x60(r1) /* 802D4928 002D1888 EF 83 08 2A */ fadds f28, f3, f1 /* 802D492C 002D188C D3 E1 00 64 */ stfs f31, 0x64(r1) /* 802D4930 002D1890 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 802D4934 002D1894 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 802D4938 002D1898 D0 C1 00 50 */ stfs f6, 0x50(r1) /* 802D493C 002D189C D0 A1 00 54 */ stfs f5, 0x54(r1) /* 802D4940 002D18A0 4C 40 13 82 */ cror 2, 0, 2 /* 802D4944 002D18A4 40 82 00 F4 */ bne lbl_802D4A38 /* 802D4948 002D18A8 38 61 00 4C */ addi r3, r1, 0x4c /* 802D494C 002D18AC 48 03 FD AD */ bl CanBeNormalized__9CVector3fCFv /* 802D4950 002D18B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802D4954 002D18B4 41 82 00 40 */ beq lbl_802D4994 /* 802D4958 002D18B8 FC 20 E0 90 */ fmr f1, f28 /* 802D495C 002D18BC 48 04 0B A5 */ bl SqrtF__5CMathFf /* 802D4960 002D18C0 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D4964 002D18C4 38 81 00 08 */ addi r4, r1, 8 /* 802D4968 002D18C8 C0 41 00 50 */ lfs f2, 0x50(r1) /* 802D496C 002D18CC EC 60 08 24 */ fdivs f3, f0, f1 /* 802D4970 002D18D0 C0 21 00 54 */ lfs f1, 0x54(r1) /* 802D4974 002D18D4 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 802D4978 002D18D8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 802D497C 002D18DC EC 23 00 72 */ fmuls f1, f3, f1 /* 802D4980 002D18E0 EC 03 00 32 */ fmuls f0, f3, f0 /* 802D4984 002D18E4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 802D4988 002D18E8 D0 01 00 08 */ stfs f0, 8(r1) /* 802D498C 002D18EC D0 21 00 10 */ stfs f1, 0x10(r1) /* 802D4990 002D18F0 48 00 00 0C */ b lbl_802D499C lbl_802D4994: /* 802D4994 002D18F4 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 802D4998 002D18F8 38 83 67 18 */ addi r4, r3, lbl_805A6718@l lbl_802D499C: /* 802D499C 002D18FC C0 04 00 00 */ lfs f0, 0(r4) /* 802D49A0 002D1900 7F E3 FB 78 */ mr r3, r31 /* 802D49A4 002D1904 C0 21 00 58 */ lfs f1, 0x58(r1) /* 802D49A8 002D1908 D0 01 00 40 */ stfs f0, 0x40(r1) /* 802D49AC 002D190C EC 1F 00 32 */ fmuls f0, f31, f0 /* 802D49B0 002D1910 C0 44 00 04 */ lfs f2, 4(r4) /* 802D49B4 002D1914 EC 01 00 2A */ fadds f0, f1, f0 /* 802D49B8 002D1918 D0 41 00 44 */ stfs f2, 0x44(r1) /* 802D49BC 002D191C EC 3F 00 B2 */ fmuls f1, f31, f2 /* 802D49C0 002D1920 C0 44 00 08 */ lfs f2, 8(r4) /* 802D49C4 002D1924 EC 7D 08 2A */ fadds f3, f29, f1 /* 802D49C8 002D1928 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 802D49CC 002D192C D0 41 00 48 */ stfs f2, 0x48(r1) /* 802D49D0 002D1930 D0 01 00 34 */ stfs f0, 0x34(r1) /* 802D49D4 002D1934 EC 1E 08 2A */ fadds f0, f30, f1 /* 802D49D8 002D1938 D0 61 00 38 */ stfs f3, 0x38(r1) /* 802D49DC 002D193C D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802D49E0 002D1940 81 9F 00 00 */ lwz r12, 0(r31) /* 802D49E4 002D1944 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D49E8 002D1948 7D 89 03 A6 */ mtctr r12 /* 802D49EC 002D194C 4E 80 04 21 */ bctrl /* 802D49F0 002D1950 7C 7F 1B 78 */ mr r31, r3 /* 802D49F4 002D1954 7F C3 F3 78 */ mr r3, r30 /* 802D49F8 002D1958 81 9E 00 00 */ lwz r12, 0(r30) /* 802D49FC 002D195C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4A00 002D1960 7D 89 03 A6 */ mtctr r12 /* 802D4A04 002D1964 4E 80 04 21 */ bctrl /* 802D4A08 002D1968 7C 65 1B 78 */ mr r5, r3 /* 802D4A0C 002D196C 7F E6 FB 78 */ mr r6, r31 /* 802D4A10 002D1970 38 61 00 78 */ addi r3, r1, 0x78 /* 802D4A14 002D1974 38 81 00 34 */ addi r4, r1, 0x34 /* 802D4A18 002D1978 38 E1 00 40 */ addi r7, r1, 0x40 /* 802D4A1C 002D197C 4B FF 9A 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f /* 802D4A20 002D1980 7C 64 1B 78 */ mr r4, r3 /* 802D4A24 002D1984 7F A3 EB 78 */ mr r3, r29 /* 802D4A28 002D1988 38 A0 00 00 */ li r5, 0 /* 802D4A2C 002D198C 4B EB 0B F5 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob /* 802D4A30 002D1990 38 60 00 01 */ li r3, 1 /* 802D4A34 002D1994 48 00 00 08 */ b lbl_802D4A3C lbl_802D4A38: /* 802D4A38 002D1998 38 60 00 00 */ li r3, 0 lbl_802D4A3C: /* 802D4A3C 002D199C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 802D4A40 002D19A0 CB E1 01 20 */ lfd f31, 0x120(r1) /* 802D4A44 002D19A4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 802D4A48 002D19A8 CB C1 01 10 */ lfd f30, 0x110(r1) /* 802D4A4C 002D19AC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 /* 802D4A50 002D19B0 CB A1 01 00 */ lfd f29, 0x100(r1) /* 802D4A54 002D19B4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 /* 802D4A58 002D19B8 CB 81 00 F0 */ lfd f28, 0xf0(r1) /* 802D4A5C 002D19BC 83 E1 00 EC */ lwz r31, 0xec(r1) /* 802D4A60 002D19C0 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 802D4A64 002D19C4 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 802D4A68 002D19C8 80 01 01 34 */ lwz r0, 0x134(r1) /* 802D4A6C 002D19CC 83 81 00 E0 */ lwz r28, 0xe0(r1) /* 802D4A70 002D19D0 7C 08 03 A6 */ mtlr r0 /* 802D4A74 002D19D4 38 21 01 30 */ addi r1, r1, 0x130 /* 802D4A78 002D19D8 4E 80 00 20 */ blr .global Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: /* 802D4A7C 002D19DC 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 802D4A80 002D19E0 7C 08 02 A6 */ mflr r0 /* 802D4A84 002D19E4 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 802D4A88 002D19E8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) /* 802D4A8C 002D19EC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 /* 802D4A90 002D19F0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) /* 802D4A94 002D19F4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 /* 802D4A98 002D19F8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) /* 802D4A9C 002D19FC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 /* 802D4AA0 002D1A00 93 E1 01 9C */ stw r31, 0x19c(r1) /* 802D4AA4 002D1A04 93 C1 01 98 */ stw r30, 0x198(r1) /* 802D4AA8 002D1A08 93 A1 01 94 */ stw r29, 0x194(r1) /* 802D4AAC 002D1A0C 7C 66 1B 78 */ mr r6, r3 /* 802D4AB0 002D1A10 7C 9F 23 78 */ mr r31, r4 /* 802D4AB4 002D1A14 83 A3 00 00 */ lwz r29, 0(r3) /* 802D4AB8 002D1A18 38 61 00 44 */ addi r3, r1, 0x44 /* 802D4ABC 002D1A1C 83 C6 00 38 */ lwz r30, 0x38(r6) /* 802D4AC0 002D1A20 38 A6 00 08 */ addi r5, r6, 8 /* 802D4AC4 002D1A24 C3 A6 00 6C */ lfs f29, 0x6c(r6) /* 802D4AC8 002D1A28 7F A4 EB 78 */ mr r4, r29 /* 802D4ACC 002D1A2C C3 C6 00 5C */ lfs f30, 0x5c(r6) /* 802D4AD0 002D1A30 C3 E6 00 4C */ lfs f31, 0x4c(r6) /* 802D4AD4 002D1A34 4B FF F8 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D4AD8 002D1A38 C0 5E 00 20 */ lfs f2, 0x20(r30) /* 802D4ADC 002D1A3C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802D4AE0 002D1A40 C0 3E 00 24 */ lfs f1, 0x24(r30) /* 802D4AE4 002D1A44 38 81 00 38 */ addi r4, r1, 0x38 /* 802D4AE8 002D1A48 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 802D4AEC 002D1A4C EC 42 F0 2A */ fadds f2, f2, f30 /* 802D4AF0 002D1A50 EC 21 E8 2A */ fadds f1, f1, f29 /* 802D4AF4 002D1A54 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 802D4AF8 002D1A58 EC 00 F8 2A */ fadds f0, f0, f31 /* 802D4AFC 002D1A5C C0 A1 00 48 */ lfs f5, 0x48(r1) /* 802D4B00 002D1A60 D0 41 00 30 */ stfs f2, 0x30(r1) /* 802D4B04 002D1A64 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 802D4B08 002D1A68 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802D4B0C 002D1A6C 38 A1 00 2C */ addi r5, r1, 0x2c /* 802D4B10 002D1A70 C0 61 00 50 */ lfs f3, 0x50(r1) /* 802D4B14 002D1A74 D0 21 00 34 */ stfs f1, 0x34(r1) /* 802D4B18 002D1A78 C0 5E 00 14 */ lfs f2, 0x14(r30) /* 802D4B1C 002D1A7C C0 3E 00 18 */ lfs f1, 0x18(r30) /* 802D4B20 002D1A80 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 802D4B24 002D1A84 EC 42 F0 2A */ fadds f2, f2, f30 /* 802D4B28 002D1A88 EC 21 E8 2A */ fadds f1, f1, f29 /* 802D4B2C 002D1A8C D0 C1 00 A8 */ stfs f6, 0xa8(r1) /* 802D4B30 002D1A90 EC 00 F8 2A */ fadds f0, f0, f31 /* 802D4B34 002D1A94 D0 A1 00 AC */ stfs f5, 0xac(r1) /* 802D4B38 002D1A98 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 802D4B3C 002D1A9C D0 61 00 B4 */ stfs f3, 0xb4(r1) /* 802D4B40 002D1AA0 D0 01 00 38 */ stfs f0, 0x38(r1) /* 802D4B44 002D1AA4 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 802D4B48 002D1AA8 D0 21 00 40 */ stfs f1, 0x40(r1) /* 802D4B4C 002D1AAC 48 06 39 BD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802D4B50 002D1AB0 C0 A1 00 A8 */ lfs f5, 0xa8(r1) /* 802D4B54 002D1AB4 38 00 00 03 */ li r0, 3 /* 802D4B58 002D1AB8 C0 01 00 AC */ lfs f0, 0xac(r1) /* 802D4B5C 002D1ABC 38 61 00 90 */ addi r3, r1, 0x90 /* 802D4B60 002D1AC0 C0 21 00 B0 */ lfs f1, 0xb0(r1) /* 802D4B64 002D1AC4 38 81 00 9C */ addi r4, r1, 0x9c /* 802D4B68 002D1AC8 C0 E1 00 B8 */ lfs f7, 0xb8(r1) /* 802D4B6C 002D1ACC 38 C1 00 84 */ addi r6, r1, 0x84 /* 802D4B70 002D1AD0 C1 01 00 BC */ lfs f8, 0xbc(r1) /* 802D4B74 002D1AD4 39 00 00 00 */ li r8, 0 /* 802D4B78 002D1AD8 C0 C1 00 C0 */ lfs f6, 0xc0(r1) /* 802D4B7C 002D1ADC 38 A0 00 00 */ li r5, 0 /* 802D4B80 002D1AE0 C0 81 00 C4 */ lfs f4, 0xc4(r1) /* 802D4B84 002D1AE4 38 E0 00 01 */ li r7, 1 /* 802D4B88 002D1AE8 C0 61 00 C8 */ lfs f3, 0xc8(r1) /* 802D4B8C 002D1AEC C0 41 00 CC */ lfs f2, 0xcc(r1) /* 802D4B90 002D1AF0 D0 A1 00 9C */ stfs f5, 0x9c(r1) /* 802D4B94 002D1AF4 C0 A2 C5 30 */ lfs f5, lbl_805AE250@sda21(r2) /* 802D4B98 002D1AF8 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 802D4B9C 002D1AFC C3 E1 00 B4 */ lfs f31, 0xb4(r1) /* 802D4BA0 002D1B00 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 802D4BA4 002D1B04 D0 E1 00 90 */ stfs f7, 0x90(r1) /* 802D4BA8 002D1B08 D1 01 00 94 */ stfs f8, 0x94(r1) /* 802D4BAC 002D1B0C D0 C1 00 98 */ stfs f6, 0x98(r1) /* 802D4BB0 002D1B10 D0 81 00 84 */ stfs f4, 0x84(r1) /* 802D4BB4 002D1B14 D0 61 00 88 */ stfs f3, 0x88(r1) /* 802D4BB8 002D1B18 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 802D4BBC 002D1B1C 7C 09 03 A6 */ mtctr r0 lbl_802D4BC0: /* 802D4BC0 002D1B20 C0 64 00 00 */ lfs f3, 0(r4) /* 802D4BC4 002D1B24 C0 83 00 00 */ lfs f4, 0(r3) /* 802D4BC8 002D1B28 FC 03 20 40 */ fcmpo cr0, f3, f4 /* 802D4BCC 002D1B2C 40 80 00 38 */ bge lbl_802D4C04 /* 802D4BD0 002D1B30 EC 43 F8 2A */ fadds f2, f3, f31 /* 802D4BD4 002D1B34 FC 02 20 40 */ fcmpo cr0, f2, f4 /* 802D4BD8 002D1B38 4C 41 13 82 */ cror 2, 1, 2 /* 802D4BDC 002D1B3C 40 82 00 20 */ bne lbl_802D4BFC /* 802D4BE0 002D1B40 EC 43 20 28 */ fsubs f2, f3, f4 /* 802D4BE4 002D1B44 38 00 00 01 */ li r0, 1 /* 802D4BE8 002D1B48 7C 00 28 30 */ slw r0, r0, r5 /* 802D4BEC 002D1B4C 7D 08 03 78 */ or r8, r8, r0 /* 802D4BF0 002D1B50 EC 42 00 B2 */ fmuls f2, f2, f2 /* 802D4BF4 002D1B54 EC A5 10 2A */ fadds f5, f5, f2 /* 802D4BF8 002D1B58 48 00 00 4C */ b lbl_802D4C44 lbl_802D4BFC: /* 802D4BFC 002D1B5C 38 60 00 00 */ li r3, 0 /* 802D4C00 002D1B60 48 00 04 CC */ b lbl_802D50CC lbl_802D4C04: /* 802D4C04 002D1B64 C0 86 00 00 */ lfs f4, 0(r6) /* 802D4C08 002D1B68 FC 03 20 40 */ fcmpo cr0, f3, f4 /* 802D4C0C 002D1B6C 40 81 00 38 */ ble lbl_802D4C44 /* 802D4C10 002D1B70 EC 43 F8 28 */ fsubs f2, f3, f31 /* 802D4C14 002D1B74 FC 02 20 40 */ fcmpo cr0, f2, f4 /* 802D4C18 002D1B78 4C 40 13 82 */ cror 2, 0, 2 /* 802D4C1C 002D1B7C 40 82 00 20 */ bne lbl_802D4C3C /* 802D4C20 002D1B80 EC 43 20 28 */ fsubs f2, f3, f4 /* 802D4C24 002D1B84 38 00 00 01 */ li r0, 1 /* 802D4C28 002D1B88 7C 00 38 30 */ slw r0, r0, r7 /* 802D4C2C 002D1B8C 7D 08 03 78 */ or r8, r8, r0 /* 802D4C30 002D1B90 EC 42 00 B2 */ fmuls f2, f2, f2 /* 802D4C34 002D1B94 EC A5 10 2A */ fadds f5, f5, f2 /* 802D4C38 002D1B98 48 00 00 0C */ b lbl_802D4C44 lbl_802D4C3C: /* 802D4C3C 002D1B9C 38 60 00 00 */ li r3, 0 /* 802D4C40 002D1BA0 48 00 04 8C */ b lbl_802D50CC lbl_802D4C44: /* 802D4C44 002D1BA4 38 63 00 04 */ addi r3, r3, 4 /* 802D4C48 002D1BA8 38 84 00 04 */ addi r4, r4, 4 /* 802D4C4C 002D1BAC 38 A5 00 02 */ addi r5, r5, 2 /* 802D4C50 002D1BB0 38 C6 00 04 */ addi r6, r6, 4 /* 802D4C54 002D1BB4 38 E7 00 02 */ addi r7, r7, 2 /* 802D4C58 002D1BB8 42 00 FF 68 */ bdnz lbl_802D4BC0 /* 802D4C5C 002D1BBC 2C 08 00 00 */ cmpwi r8, 0 /* 802D4C60 002D1BC0 40 82 00 F0 */ bne lbl_802D4D50 /* 802D4C64 002D1BC4 38 61 00 08 */ addi r3, r1, 8 /* 802D4C68 002D1BC8 38 81 00 B8 */ addi r4, r1, 0xb8 /* 802D4C6C 002D1BCC 48 06 29 A1 */ bl GetCenterPoint__6CAABoxCFv /* 802D4C70 002D1BD0 C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 802D4C74 002D1BD4 38 61 00 20 */ addi r3, r1, 0x20 /* 802D4C78 002D1BD8 C0 01 00 0C */ lfs f0, 0xc(r1) /* 802D4C7C 002D1BDC 38 81 00 14 */ addi r4, r1, 0x14 /* 802D4C80 002D1BE0 C0 61 00 A4 */ lfs f3, 0xa4(r1) /* 802D4C84 002D1BE4 C0 41 00 10 */ lfs f2, 0x10(r1) /* 802D4C88 002D1BE8 EC 81 00 28 */ fsubs f4, f1, f0 /* 802D4C8C 002D1BEC C0 21 00 9C */ lfs f1, 0x9c(r1) /* 802D4C90 002D1BF0 C0 01 00 08 */ lfs f0, 8(r1) /* 802D4C94 002D1BF4 EC 43 10 28 */ fsubs f2, f3, f2 /* 802D4C98 002D1BF8 D0 81 00 18 */ stfs f4, 0x18(r1) /* 802D4C9C 002D1BFC EC 01 00 28 */ fsubs f0, f1, f0 /* 802D4CA0 002D1C00 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 802D4CA4 002D1C04 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802D4CA8 002D1C08 48 03 FB A9 */ bl AsNormalized__9CVector3fCFv /* 802D4CAC 002D1C0C C1 01 00 20 */ lfs f8, 0x20(r1) /* 802D4CB0 002D1C10 7F C3 F3 78 */ mr r3, r30 /* 802D4CB4 002D1C14 C0 E1 00 24 */ lfs f7, 0x24(r1) /* 802D4CB8 002D1C18 C0 C1 00 28 */ lfs f6, 0x28(r1) /* 802D4CBC 002D1C1C EC 1F 02 32 */ fmuls f0, f31, f8 /* 802D4CC0 002D1C20 C0 21 00 9C */ lfs f1, 0x9c(r1) /* 802D4CC4 002D1C24 EC 9F 01 F2 */ fmuls f4, f31, f7 /* 802D4CC8 002D1C28 C0 A1 00 A0 */ lfs f5, 0xa0(r1) /* 802D4CCC 002D1C2C EC 5F 01 B2 */ fmuls f2, f31, f6 /* 802D4CD0 002D1C30 C0 61 00 A4 */ lfs f3, 0xa4(r1) /* 802D4CD4 002D1C34 EC 85 20 2A */ fadds f4, f5, f4 /* 802D4CD8 002D1C38 D1 01 00 78 */ stfs f8, 0x78(r1) /* 802D4CDC 002D1C3C EC 43 10 2A */ fadds f2, f3, f2 /* 802D4CE0 002D1C40 EC 01 00 2A */ fadds f0, f1, f0 /* 802D4CE4 002D1C44 D0 E1 00 7C */ stfs f7, 0x7c(r1) /* 802D4CE8 002D1C48 D0 C1 00 80 */ stfs f6, 0x80(r1) /* 802D4CEC 002D1C4C D0 01 00 6C */ stfs f0, 0x6c(r1) /* 802D4CF0 002D1C50 D0 81 00 70 */ stfs f4, 0x70(r1) /* 802D4CF4 002D1C54 D0 41 00 74 */ stfs f2, 0x74(r1) /* 802D4CF8 002D1C58 81 9E 00 00 */ lwz r12, 0(r30) /* 802D4CFC 002D1C5C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4D00 002D1C60 7D 89 03 A6 */ mtctr r12 /* 802D4D04 002D1C64 4E 80 04 21 */ bctrl /* 802D4D08 002D1C68 7C 7E 1B 78 */ mr r30, r3 /* 802D4D0C 002D1C6C 7F A3 EB 78 */ mr r3, r29 /* 802D4D10 002D1C70 81 9D 00 00 */ lwz r12, 0(r29) /* 802D4D14 002D1C74 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D4D18 002D1C78 7D 89 03 A6 */ mtctr r12 /* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl /* 802D4D20 002D1C80 7C 65 1B 78 */ mr r5, r3 /* 802D4D24 002D1C84 7F C6 F3 78 */ mr r6, r30 /* 802D4D28 002D1C88 38 61 01 30 */ addi r3, r1, 0x130 /* 802D4D2C 002D1C8C 38 81 00 6C */ addi r4, r1, 0x6c /* 802D4D30 002D1C90 38 E1 00 78 */ addi r7, r1, 0x78 /* 802D4D34 002D1C94 4B FF 97 15 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f /* 802D4D38 002D1C98 7C 64 1B 78 */ mr r4, r3 /* 802D4D3C 002D1C9C 7F E3 FB 78 */ mr r3, r31 /* 802D4D40 002D1CA0 38 A0 00 00 */ li r5, 0 /* 802D4D44 002D1CA4 4B EB 08 DD */ bl Add__18CCollisionInfoListFRC14CCollisionInfob /* 802D4D48 002D1CA8 38 60 00 01 */ li r3, 1 /* 802D4D4C 002D1CAC 48 00 03 80 */ b lbl_802D50CC lbl_802D4D50: /* 802D4D50 002D1CB0 EC 5F 07 F2 */ fmuls f2, f31, f31 /* 802D4D54 002D1CB4 FC 05 10 40 */ fcmpo cr0, f5, f2 /* 802D4D58 002D1CB8 40 81 00 0C */ ble lbl_802D4D64 /* 802D4D5C 002D1CBC 38 60 00 00 */ li r3, 0 /* 802D4D60 002D1CC0 48 00 03 6C */ b lbl_802D50CC lbl_802D4D64: /* 802D4D64 002D1CC4 3C 60 80 5A */ lis r3, skZero3f@ha /* 802D4D68 002D1CC8 C4 83 66 A0 */ lfsu f4, skZero3f@l(r3) /* 802D4D6C 002D1CCC 28 08 00 2A */ cmplwi r8, 0x2a /* 802D4D70 002D1CD0 C0 63 00 04 */ lfs f3, 4(r3) /* 802D4D74 002D1CD4 C0 43 00 08 */ lfs f2, 8(r3) /* 802D4D78 002D1CD8 D0 81 00 60 */ stfs f4, 0x60(r1) /* 802D4D7C 002D1CDC D0 61 00 64 */ stfs f3, 0x64(r1) /* 802D4D80 002D1CE0 D0 41 00 68 */ stfs f2, 0x68(r1) /* 802D4D84 002D1CE4 41 81 02 C0 */ bgt lbl_802D5044 /* 802D4D88 002D1CE8 3C 60 80 3F */ lis r3, lbl_803ECB20@ha /* 802D4D8C 002D1CEC 55 00 10 3A */ slwi r0, r8, 2 /* 802D4D90 002D1CF0 38 63 CB 20 */ addi r3, r3, lbl_803ECB20@l /* 802D4D94 002D1CF4 7C 03 00 2E */ lwzx r0, r3, r0 /* 802D4D98 002D1CF8 7C 09 03 A6 */ mtctr r0 /* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr .global lbl_802D4DA0 lbl_802D4DA0: /* 802D4DA0 002D1D00 C0 61 00 C4 */ lfs f3, 0xc4(r1) /* 802D4DA4 002D1D04 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 802D4DA8 002D1D08 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4DAC 002D1D0C D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4DB0 002D1D10 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 802D4DB4 002D1D14 48 00 02 90 */ b lbl_802D5044 .global lbl_802D4DB8 lbl_802D4DB8: /* 802D4DB8 002D1D18 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 802D4DBC 002D1D1C D0 E1 00 60 */ stfs f7, 0x60(r1) /* 802D4DC0 002D1D20 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4DC4 002D1D24 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 802D4DC8 002D1D28 48 00 02 7C */ b lbl_802D5044 .global lbl_802D4DCC lbl_802D4DCC: /* 802D4DCC 002D1D2C C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 802D4DD0 002D1D30 D1 01 00 64 */ stfs f8, 0x64(r1) /* 802D4DD4 002D1D34 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802D4DD8 002D1D38 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 802D4DDC 002D1D3C 48 00 02 68 */ b lbl_802D5044 .global lbl_802D4DE0 lbl_802D4DE0: /* 802D4DE0 002D1D40 D0 E1 00 60 */ stfs f7, 0x60(r1) /* 802D4DE4 002D1D44 D1 01 00 64 */ stfs f8, 0x64(r1) /* 802D4DE8 002D1D48 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 802D4DEC 002D1D4C 48 00 02 58 */ b lbl_802D5044 .global lbl_802D4DF0 lbl_802D4DF0: /* 802D4DF0 002D1D50 C0 81 00 CC */ lfs f4, 0xcc(r1) /* 802D4DF4 002D1D54 C0 61 00 C4 */ lfs f3, 0xc4(r1) /* 802D4DF8 002D1D58 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 802D4DFC 002D1D5C D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4E00 002D1D60 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4E04 002D1D64 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4E08 002D1D68 48 00 02 3C */ b lbl_802D5044 .global lbl_802D4E0C lbl_802D4E0C: /* 802D4E0C 002D1D6C C0 61 00 CC */ lfs f3, 0xcc(r1) /* 802D4E10 002D1D70 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 802D4E14 002D1D74 D0 E1 00 60 */ stfs f7, 0x60(r1) /* 802D4E18 002D1D78 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4E1C 002D1D7C D0 61 00 68 */ stfs f3, 0x68(r1) /* 802D4E20 002D1D80 48 00 02 24 */ b lbl_802D5044 .global lbl_802D4E24 lbl_802D4E24: /* 802D4E24 002D1D84 C0 61 00 CC */ lfs f3, 0xcc(r1) /* 802D4E28 002D1D88 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 802D4E2C 002D1D8C D1 01 00 64 */ stfs f8, 0x64(r1) /* 802D4E30 002D1D90 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802D4E34 002D1D94 D0 61 00 68 */ stfs f3, 0x68(r1) /* 802D4E38 002D1D98 48 00 02 0C */ b lbl_802D5044 .global lbl_802D4E3C lbl_802D4E3C: /* 802D4E3C 002D1D9C C0 41 00 CC */ lfs f2, 0xcc(r1) /* 802D4E40 002D1DA0 D0 E1 00 60 */ stfs f7, 0x60(r1) /* 802D4E44 002D1DA4 D1 01 00 64 */ stfs f8, 0x64(r1) /* 802D4E48 002D1DA8 D0 41 00 68 */ stfs f2, 0x68(r1) /* 802D4E4C 002D1DAC 48 00 01 F8 */ b lbl_802D5044 .global lbl_802D4E50 lbl_802D4E50: /* 802D4E50 002D1DB0 C0 81 00 98 */ lfs f4, 0x98(r1) /* 802D4E54 002D1DB4 C0 61 00 90 */ lfs f3, 0x90(r1) /* 802D4E58 002D1DB8 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4E5C 002D1DBC D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4E60 002D1DC0 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4E64 002D1DC4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4E68 002D1DC8 48 00 01 DC */ b lbl_802D5044 .global lbl_802D4E6C lbl_802D4E6C: /* 802D4E6C 002D1DCC C0 81 00 98 */ lfs f4, 0x98(r1) /* 802D4E70 002D1DD0 C0 61 00 84 */ lfs f3, 0x84(r1) /* 802D4E74 002D1DD4 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4E78 002D1DD8 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4E7C 002D1DDC D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4E80 002D1DE0 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4E84 002D1DE4 48 00 01 C0 */ b lbl_802D5044 .global lbl_802D4E88 lbl_802D4E88: /* 802D4E88 002D1DE8 C0 81 00 98 */ lfs f4, 0x98(r1) /* 802D4E8C 002D1DEC C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4E90 002D1DF0 C0 41 00 94 */ lfs f2, 0x94(r1) /* 802D4E94 002D1DF4 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4E98 002D1DF8 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4E9C 002D1DFC D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4EA0 002D1E00 48 00 01 A4 */ b lbl_802D5044 .global lbl_802D4EA4 lbl_802D4EA4: /* 802D4EA4 002D1E04 C0 81 00 98 */ lfs f4, 0x98(r1) /* 802D4EA8 002D1E08 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4EAC 002D1E0C C0 41 00 88 */ lfs f2, 0x88(r1) /* 802D4EB0 002D1E10 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4EB4 002D1E14 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4EB8 002D1E18 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4EBC 002D1E1C 48 00 01 88 */ b lbl_802D5044 .global lbl_802D4EC0 lbl_802D4EC0: /* 802D4EC0 002D1E20 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4EC4 002D1E24 C0 61 00 90 */ lfs f3, 0x90(r1) /* 802D4EC8 002D1E28 C0 41 00 94 */ lfs f2, 0x94(r1) /* 802D4ECC 002D1E2C D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4ED0 002D1E30 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4ED4 002D1E34 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4ED8 002D1E38 48 00 01 6C */ b lbl_802D5044 .global lbl_802D4EDC lbl_802D4EDC: /* 802D4EDC 002D1E3C C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4EE0 002D1E40 C0 61 00 84 */ lfs f3, 0x84(r1) /* 802D4EE4 002D1E44 C0 41 00 94 */ lfs f2, 0x94(r1) /* 802D4EE8 002D1E48 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4EEC 002D1E4C D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4EF0 002D1E50 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4EF4 002D1E54 48 00 01 50 */ b lbl_802D5044 .global lbl_802D4EF8 lbl_802D4EF8: /* 802D4EF8 002D1E58 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4EFC 002D1E5C C0 61 00 90 */ lfs f3, 0x90(r1) /* 802D4F00 002D1E60 C0 41 00 88 */ lfs f2, 0x88(r1) /* 802D4F04 002D1E64 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F08 002D1E68 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F0C 002D1E6C D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F10 002D1E70 48 00 01 34 */ b lbl_802D5044 .global lbl_802D4F14 lbl_802D4F14: /* 802D4F14 002D1E74 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4F18 002D1E78 C0 61 00 84 */ lfs f3, 0x84(r1) /* 802D4F1C 002D1E7C C0 41 00 88 */ lfs f2, 0x88(r1) /* 802D4F20 002D1E80 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F24 002D1E84 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F28 002D1E88 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F2C 002D1E8C 48 00 01 18 */ b lbl_802D5044 .global lbl_802D4F30 lbl_802D4F30: /* 802D4F30 002D1E90 C0 81 00 8C */ lfs f4, 0x8c(r1) /* 802D4F34 002D1E94 C0 61 00 90 */ lfs f3, 0x90(r1) /* 802D4F38 002D1E98 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4F3C 002D1E9C D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F40 002D1EA0 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F44 002D1EA4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F48 002D1EA8 48 00 00 FC */ b lbl_802D5044 .global lbl_802D4F4C lbl_802D4F4C: /* 802D4F4C 002D1EAC C0 81 00 8C */ lfs f4, 0x8c(r1) /* 802D4F50 002D1EB0 C0 61 00 84 */ lfs f3, 0x84(r1) /* 802D4F54 002D1EB4 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4F58 002D1EB8 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F5C 002D1EBC D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F60 002D1EC0 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F64 002D1EC4 48 00 00 E0 */ b lbl_802D5044 .global lbl_802D4F68 lbl_802D4F68: /* 802D4F68 002D1EC8 C0 81 00 8C */ lfs f4, 0x8c(r1) /* 802D4F6C 002D1ECC C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4F70 002D1ED0 C0 41 00 94 */ lfs f2, 0x94(r1) /* 802D4F74 002D1ED4 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F78 002D1ED8 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F7C 002D1EDC D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F80 002D1EE0 48 00 00 C4 */ b lbl_802D5044 .global lbl_802D4F84 lbl_802D4F84: /* 802D4F84 002D1EE4 C0 81 00 8C */ lfs f4, 0x8c(r1) /* 802D4F88 002D1EE8 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4F8C 002D1EEC C0 41 00 88 */ lfs f2, 0x88(r1) /* 802D4F90 002D1EF0 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4F94 002D1EF4 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4F98 002D1EF8 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4F9C 002D1EFC 48 00 00 A8 */ b lbl_802D5044 .global lbl_802D4FA0 lbl_802D4FA0: /* 802D4FA0 002D1F00 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4FA4 002D1F04 C0 61 00 90 */ lfs f3, 0x90(r1) /* 802D4FA8 002D1F08 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4FAC 002D1F0C D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4FB0 002D1F10 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4FB4 002D1F14 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4FB8 002D1F18 48 00 00 8C */ b lbl_802D5044 .global lbl_802D4FBC lbl_802D4FBC: /* 802D4FBC 002D1F1C C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4FC0 002D1F20 C0 61 00 84 */ lfs f3, 0x84(r1) /* 802D4FC4 002D1F24 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D4FC8 002D1F28 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4FCC 002D1F2C D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4FD0 002D1F30 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4FD4 002D1F34 48 00 00 70 */ b lbl_802D5044 .global lbl_802D4FD8 lbl_802D4FD8: /* 802D4FD8 002D1F38 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4FDC 002D1F3C C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4FE0 002D1F40 C0 41 00 94 */ lfs f2, 0x94(r1) /* 802D4FE4 002D1F44 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D4FE8 002D1F48 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D4FEC 002D1F4C D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D4FF0 002D1F50 48 00 00 54 */ b lbl_802D5044 .global lbl_802D4FF4 lbl_802D4FF4: /* 802D4FF4 002D1F54 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 802D4FF8 002D1F58 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D4FFC 002D1F5C C0 41 00 88 */ lfs f2, 0x88(r1) /* 802D5000 002D1F60 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D5004 002D1F64 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D5008 002D1F68 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D500C 002D1F6C 48 00 00 38 */ b lbl_802D5044 .global lbl_802D5010 lbl_802D5010: /* 802D5010 002D1F70 C0 81 00 98 */ lfs f4, 0x98(r1) /* 802D5014 002D1F74 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D5018 002D1F78 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D501C 002D1F7C D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D5020 002D1F80 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D5024 002D1F84 D0 81 00 68 */ stfs f4, 0x68(r1) /* 802D5028 002D1F88 48 00 00 1C */ b lbl_802D5044 .global lbl_802D502C lbl_802D502C: /* 802D502C 002D1F8C C0 81 00 8C */ lfs f4, 0x8c(r1) /* 802D5030 002D1F90 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 802D5034 002D1F94 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802D5038 002D1F98 D0 61 00 60 */ stfs f3, 0x60(r1) /* 802D503C 002D1F9C D0 41 00 64 */ stfs f2, 0x64(r1) /* 802D5040 002D1FA0 D0 81 00 68 */ stfs f4, 0x68(r1) .global lbl_802D5044 lbl_802D5044: /* 802D5044 002D1FA4 C0 41 00 64 */ lfs f2, 0x64(r1) /* 802D5048 002D1FA8 38 61 00 54 */ addi r3, r1, 0x54 /* 802D504C 002D1FAC C0 61 00 68 */ lfs f3, 0x68(r1) /* 802D5050 002D1FB0 EC 80 10 28 */ fsubs f4, f0, f2 /* 802D5054 002D1FB4 C0 41 00 A8 */ lfs f2, 0xa8(r1) /* 802D5058 002D1FB8 C0 01 00 60 */ lfs f0, 0x60(r1) /* 802D505C 002D1FBC EC 21 18 28 */ fsubs f1, f1, f3 /* 802D5060 002D1FC0 EC 02 00 28 */ fsubs f0, f2, f0 /* 802D5064 002D1FC4 D0 81 00 58 */ stfs f4, 0x58(r1) /* 802D5068 002D1FC8 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 802D506C 002D1FCC D0 01 00 54 */ stfs f0, 0x54(r1) /* 802D5070 002D1FD0 48 03 F8 89 */ bl Normalize__9CVector3fFv /* 802D5074 002D1FD4 7F C3 F3 78 */ mr r3, r30 /* 802D5078 002D1FD8 81 9E 00 00 */ lwz r12, 0(r30) /* 802D507C 002D1FDC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D5080 002D1FE0 7D 89 03 A6 */ mtctr r12 /* 802D5084 002D1FE4 4E 80 04 21 */ bctrl /* 802D5088 002D1FE8 7C 7E 1B 78 */ mr r30, r3 /* 802D508C 002D1FEC 7F A3 EB 78 */ mr r3, r29 /* 802D5090 002D1FF0 81 9D 00 00 */ lwz r12, 0(r29) /* 802D5094 002D1FF4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802D5098 002D1FF8 7D 89 03 A6 */ mtctr r12 /* 802D509C 002D1FFC 4E 80 04 21 */ bctrl /* 802D50A0 002D2000 7C 65 1B 78 */ mr r5, r3 /* 802D50A4 002D2004 7F C6 F3 78 */ mr r6, r30 /* 802D50A8 002D2008 38 61 00 D0 */ addi r3, r1, 0xd0 /* 802D50AC 002D200C 38 81 00 60 */ addi r4, r1, 0x60 /* 802D50B0 002D2010 38 E1 00 54 */ addi r7, r1, 0x54 /* 802D50B4 002D2014 4B FF 93 95 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f /* 802D50B8 002D2018 7C 64 1B 78 */ mr r4, r3 /* 802D50BC 002D201C 7F E3 FB 78 */ mr r3, r31 /* 802D50C0 002D2020 38 A0 00 00 */ li r5, 0 /* 802D50C4 002D2024 4B EB 05 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob /* 802D50C8 002D2028 38 60 00 01 */ li r3, 1 lbl_802D50CC: /* 802D50CC 002D202C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 /* 802D50D0 002D2030 CB E1 01 C0 */ lfd f31, 0x1c0(r1) /* 802D50D4 002D2034 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 /* 802D50D8 002D2038 CB C1 01 B0 */ lfd f30, 0x1b0(r1) /* 802D50DC 002D203C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 /* 802D50E0 002D2040 CB A1 01 A0 */ lfd f29, 0x1a0(r1) /* 802D50E4 002D2044 83 E1 01 9C */ lwz r31, 0x19c(r1) /* 802D50E8 002D2048 83 C1 01 98 */ lwz r30, 0x198(r1) /* 802D50EC 002D204C 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 802D50F0 002D2050 83 A1 01 94 */ lwz r29, 0x194(r1) /* 802D50F4 002D2054 7C 08 03 A6 */ mtlr r0 /* 802D50F8 002D2058 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 802D50FC 002D205C 4E 80 00 20 */ blr .global Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure: /* 802D5100 002D2060 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802D5104 002D2064 7C 08 02 A6 */ mflr r0 /* 802D5108 002D2068 90 01 00 94 */ stw r0, 0x94(r1) /* 802D510C 002D206C DB E1 00 80 */ stfd f31, 0x80(r1) /* 802D5110 002D2070 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 802D5114 002D2074 DB C1 00 70 */ stfd f30, 0x70(r1) /* 802D5118 002D2078 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 802D511C 002D207C DB A1 00 60 */ stfd f29, 0x60(r1) /* 802D5120 002D2080 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 802D5124 002D2084 93 E1 00 5C */ stw r31, 0x5c(r1) /* 802D5128 002D2088 7C 64 1B 78 */ mr r4, r3 /* 802D512C 002D208C 38 61 00 20 */ addi r3, r1, 0x20 /* 802D5130 002D2090 83 E4 00 38 */ lwz r31, 0x38(r4) /* 802D5134 002D2094 38 A4 00 08 */ addi r5, r4, 8 /* 802D5138 002D2098 C3 A4 00 6C */ lfs f29, 0x6c(r4) /* 802D513C 002D209C C3 C4 00 5C */ lfs f30, 0x5c(r4) /* 802D5140 002D20A0 C3 E4 00 4C */ lfs f31, 0x4c(r4) /* 802D5144 002D20A4 80 84 00 00 */ lwz r4, 0(r4) /* 802D5148 002D20A8 4B FF F2 0D */ bl Transform__17CCollidableSphereCFRC12CTransform4f /* 802D514C 002D20AC C0 61 00 20 */ lfs f3, 0x20(r1) /* 802D5150 002D20B0 38 61 00 40 */ addi r3, r1, 0x40 /* 802D5154 002D20B4 C0 41 00 24 */ lfs f2, 0x24(r1) /* 802D5158 002D20B8 38 81 00 14 */ addi r4, r1, 0x14 /* 802D515C 002D20BC C0 21 00 28 */ lfs f1, 0x28(r1) /* 802D5160 002D20C0 38 A1 00 08 */ addi r5, r1, 8 /* 802D5164 002D20C4 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 802D5168 002D20C8 D0 61 00 30 */ stfs f3, 0x30(r1) /* 802D516C 002D20CC D0 41 00 34 */ stfs f2, 0x34(r1) /* 802D5170 002D20D0 D0 21 00 38 */ stfs f1, 0x38(r1) /* 802D5174 002D20D4 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802D5178 002D20D8 C0 5F 00 20 */ lfs f2, 0x20(r31) /* 802D517C 002D20DC C0 3F 00 24 */ lfs f1, 0x24(r31) /* 802D5180 002D20E0 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 802D5184 002D20E4 EC 42 F0 2A */ fadds f2, f2, f30 /* 802D5188 002D20E8 EC 21 E8 2A */ fadds f1, f1, f29 /* 802D518C 002D20EC EC 00 F8 2A */ fadds f0, f0, f31 /* 802D5190 002D20F0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 802D5194 002D20F4 D0 01 00 08 */ stfs f0, 8(r1) /* 802D5198 002D20F8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 802D519C 002D20FC C0 5F 00 14 */ lfs f2, 0x14(r31) /* 802D51A0 002D2100 C0 3F 00 18 */ lfs f1, 0x18(r31) /* 802D51A4 002D2104 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 802D51A8 002D2108 EC 42 F0 2A */ fadds f2, f2, f30 /* 802D51AC 002D210C EC 21 E8 2A */ fadds f1, f1, f29 /* 802D51B0 002D2110 EC 00 F8 2A */ fadds f0, f0, f31 /* 802D51B4 002D2114 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802D51B8 002D2118 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802D51BC 002D211C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 802D51C0 002D2120 48 06 33 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802D51C4 002D2124 38 61 00 30 */ addi r3, r1, 0x30 /* 802D51C8 002D2128 38 81 00 40 */ addi r4, r1, 0x40 /* 802D51CC 002D212C 48 00 00 31 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox /* 802D51D0 002D2130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 802D51D4 002D2134 CB E1 00 80 */ lfd f31, 0x80(r1) /* 802D51D8 002D2138 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 802D51DC 002D213C CB C1 00 70 */ lfd f30, 0x70(r1) /* 802D51E0 002D2140 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 802D51E4 002D2144 CB A1 00 60 */ lfd f29, 0x60(r1) /* 802D51E8 002D2148 80 01 00 94 */ lwz r0, 0x94(r1) /* 802D51EC 002D214C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 802D51F0 002D2150 7C 08 03 A6 */ mtlr r0 /* 802D51F4 002D2154 38 21 00 90 */ addi r1, r1, 0x90 /* 802D51F8 002D2158 4E 80 00 20 */ blr .global Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox: /* 802D51FC 002D215C C0 23 00 00 */ lfs f1, 0(r3) /* 802D5200 002D2160 C0 04 00 00 */ lfs f0, 0(r4) /* 802D5204 002D2164 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) /* 802D5208 002D2168 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D520C 002D216C 40 80 00 14 */ bge lbl_802D5220 /* 802D5210 002D2170 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D5214 002D2174 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D5218 002D2178 EC 42 00 2A */ fadds f2, f2, f0 /* 802D521C 002D217C 48 00 00 1C */ b lbl_802D5238 lbl_802D5220: /* 802D5220 002D2180 C0 04 00 0C */ lfs f0, 0xc(r4) /* 802D5224 002D2184 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D5228 002D2188 40 81 00 10 */ ble lbl_802D5238 /* 802D522C 002D218C EC 01 00 28 */ fsubs f0, f1, f0 /* 802D5230 002D2190 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D5234 002D2194 EC 42 00 2A */ fadds f2, f2, f0 lbl_802D5238: /* 802D5238 002D2198 C0 23 00 04 */ lfs f1, 4(r3) /* 802D523C 002D219C 38 C4 00 10 */ addi r6, r4, 0x10 /* 802D5240 002D21A0 C0 04 00 04 */ lfs f0, 4(r4) /* 802D5244 002D21A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D5248 002D21A8 40 80 00 14 */ bge lbl_802D525C /* 802D524C 002D21AC EC 01 00 28 */ fsubs f0, f1, f0 /* 802D5250 002D21B0 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D5254 002D21B4 EC 42 00 2A */ fadds f2, f2, f0 /* 802D5258 002D21B8 48 00 00 1C */ b lbl_802D5274 lbl_802D525C: /* 802D525C 002D21BC C0 06 00 00 */ lfs f0, 0(r6) /* 802D5260 002D21C0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D5264 002D21C4 40 81 00 10 */ ble lbl_802D5274 /* 802D5268 002D21C8 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D526C 002D21CC EC 00 00 32 */ fmuls f0, f0, f0 /* 802D5270 002D21D0 EC 42 00 2A */ fadds f2, f2, f0 lbl_802D5274: /* 802D5274 002D21D4 C0 23 00 08 */ lfs f1, 8(r3) /* 802D5278 002D21D8 C0 04 00 08 */ lfs f0, 8(r4) /* 802D527C 002D21DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D5280 002D21E0 40 80 00 14 */ bge lbl_802D5294 /* 802D5284 002D21E4 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D5288 002D21E8 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D528C 002D21EC EC 42 00 2A */ fadds f2, f2, f0 /* 802D5290 002D21F0 48 00 00 1C */ b lbl_802D52AC lbl_802D5294: /* 802D5294 002D21F4 C0 06 00 04 */ lfs f0, 4(r6) /* 802D5298 002D21F8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802D529C 002D21FC 40 81 00 10 */ ble lbl_802D52AC /* 802D52A0 002D2200 EC 01 00 28 */ fsubs f0, f1, f0 /* 802D52A4 002D2204 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D52A8 002D2208 EC 42 00 2A */ fadds f2, f2, f0 lbl_802D52AC: /* 802D52AC 002D220C C0 03 00 0C */ lfs f0, 0xc(r3) /* 802D52B0 002D2210 EC 00 00 32 */ fmuls f0, f0, f0 /* 802D52B4 002D2214 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802D52B8 002D2218 7C 00 00 26 */ mfcr r0 /* 802D52BC 002D221C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f /* 802D52C0 002D2220 7C 00 00 34 */ cntlzw r0, r0 /* 802D52C4 002D2224 54 03 D9 7E */ srwi r3, r0, 5 /* 802D52C8 002D2228 4E 80 00 20 */ blr .global GetType__17CCollidableSphereFv GetType__17CCollidableSphereFv: /* 802D52CC 002D222C 3C A0 80 2D */ lis r5, SetStaticTableIndex__17CCollidableSphereFUi@ha /* 802D52D0 002D2230 3C 80 80 3D */ lis r4, lbl_803D6A90@ha /* 802D52D4 002D2234 38 05 52 E8 */ addi r0, r5, SetStaticTableIndex__17CCollidableSphereFUi@l /* 802D52D8 002D2238 90 03 00 00 */ stw r0, 0(r3) /* 802D52DC 002D223C 38 04 6A 90 */ addi r0, r4, lbl_803D6A90@l /* 802D52E0 002D2240 90 03 00 04 */ stw r0, 4(r3) /* 802D52E4 002D2244 4E 80 00 20 */ blr .global SetStaticTableIndex__17CCollidableSphereFUi SetStaticTableIndex__17CCollidableSphereFUi: /* 802D52E8 002D2248 90 6D 9B 38 */ stw r3, lbl_805A86F8@sda21(r13) /* 802D52EC 002D224C 4E 80 00 20 */ blr .global __sinit_CCollidableSphere_cpp __sinit_CCollidableSphere_cpp: /* 802D52F0 002D2250 C0 42 C5 3C */ lfs f2, lbl_805AE25C@sda21(r2) /* 802D52F4 002D2254 3C 60 80 48 */ lis r3, lbl_80479558@ha /* 802D52F8 002D2258 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) /* 802D52FC 002D225C D4 43 95 58 */ stfsu f2, lbl_80479558@l(r3) /* 802D5300 002D2260 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) /* 802D5304 002D2264 D0 23 00 04 */ stfs f1, 4(r3) /* 802D5308 002D2268 D0 23 00 08 */ stfs f1, 8(r3) /* 802D530C 002D226C D0 03 00 0C */ stfs f0, 0xc(r3) /* 802D5310 002D2270 D0 23 00 10 */ stfs f1, 0x10(r3) /* 802D5314 002D2274 D0 23 00 14 */ stfs f1, 0x14(r3) /* 802D5318 002D2278 D0 23 00 18 */ stfs f1, 0x18(r3) /* 802D531C 002D227C D0 43 00 1C */ stfs f2, 0x1c(r3) /* 802D5320 002D2280 D0 23 00 20 */ stfs f1, 0x20(r3) /* 802D5324 002D2284 D0 23 00 24 */ stfs f1, 0x24(r3) /* 802D5328 002D2288 D0 03 00 28 */ stfs f0, 0x28(r3) /* 802D532C 002D228C D0 23 00 2C */ stfs f1, 0x2c(r3) /* 802D5330 002D2290 D0 23 00 30 */ stfs f1, 0x30(r3) /* 802D5334 002D2294 D0 23 00 34 */ stfs f1, 0x34(r3) /* 802D5338 002D2298 D0 43 00 38 */ stfs f2, 0x38(r3) /* 802D533C 002D229C D0 23 00 3C */ stfs f1, 0x3c(r3) /* 802D5340 002D22A0 D0 23 00 40 */ stfs f1, 0x40(r3) /* 802D5344 002D22A4 D0 03 00 44 */ stfs f0, 0x44(r3) /* 802D5348 002D22A8 4E 80 00 20 */ blr .section .sdata2, "a" .global lbl_805AE248 lbl_805AE248: # ROM: 0x3FAAE8 .4byte 0 .4byte 0 .global lbl_805AE250 lbl_805AE250: # ROM: 0x3FAAF0 .4byte 0 .global lbl_805AE254 lbl_805AE254: # ROM: 0x3FAAF4 .float 1.0 .global lbl_805AE258 lbl_805AE258: # ROM: 0x3FAAF8 .float 0.01 .global lbl_805AE25C lbl_805AE25C: # ROM: 0x3FAAFC .float -1.0 .section .rodata .global lbl_803D6A90 lbl_803D6A90: # ROM: 0x3D3A90 .asciz "CCollidableSphere" .balign 4 .4byte 0