prime/asm/WorldFormat/CAreaOctTree_Tests.s

2054 lines
101 KiB
ArmAsm

.include "macros.inc"
.section .bss
.balign 8
.global lbl_8046E0F0
lbl_8046E0F0:
.skip 0x100
.section .sbss, "wa"
.balign 8
.global lbl_805A9178
lbl_805A9178:
.skip 0x8
.section .text, "ax"
.global LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f
LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f:
/* 802A0A0C 0029D96C 94 21 FB A0 */ stwu r1, -0x460(r1)
/* 802A0A10 0029D970 7C 08 02 A6 */ mflr r0
/* 802A0A14 0029D974 90 01 04 64 */ stw r0, 0x464(r1)
/* 802A0A18 0029D978 DB E1 04 50 */ stfd f31, 0x450(r1)
/* 802A0A1C 0029D97C F3 E1 04 58 */ psq_st f31, 1112(r1), 0, qr0
/* 802A0A20 0029D980 DB C1 04 40 */ stfd f30, 0x440(r1)
/* 802A0A24 0029D984 F3 C1 04 48 */ psq_st f30, 1096(r1), 0, qr0
/* 802A0A28 0029D988 DB A1 04 30 */ stfd f29, 0x430(r1)
/* 802A0A2C 0029D98C F3 A1 04 38 */ psq_st f29, 1080(r1), 0, qr0
/* 802A0A30 0029D990 DB 81 04 20 */ stfd f28, 0x420(r1)
/* 802A0A34 0029D994 F3 81 04 28 */ psq_st f28, 1064(r1), 0, qr0
/* 802A0A38 0029D998 DB 61 04 10 */ stfd f27, 0x410(r1)
/* 802A0A3C 0029D99C F3 61 04 18 */ psq_st f27, 1048(r1), 0, qr0
/* 802A0A40 0029D9A0 DB 41 04 00 */ stfd f26, 0x400(r1)
/* 802A0A44 0029D9A4 F3 41 04 08 */ psq_st f26, 1032(r1), 0, qr0
/* 802A0A48 0029D9A8 DB 21 03 F0 */ stfd f25, 0x3f0(r1)
/* 802A0A4C 0029D9AC F3 21 03 F8 */ psq_st f25, 1016(r1), 0, qr0
/* 802A0A50 0029D9B0 DB 01 03 E0 */ stfd f24, 0x3e0(r1)
/* 802A0A54 0029D9B4 F3 01 03 E8 */ psq_st f24, 1000(r1), 0, qr0
/* 802A0A58 0029D9B8 DA E1 03 D0 */ stfd f23, 0x3d0(r1)
/* 802A0A5C 0029D9BC F2 E1 03 D8 */ psq_st f23, 984(r1), 0, qr0
/* 802A0A60 0029D9C0 DA C1 03 C0 */ stfd f22, 0x3c0(r1)
/* 802A0A64 0029D9C4 F2 C1 03 C8 */ psq_st f22, 968(r1), 0, qr0
/* 802A0A68 0029D9C8 DA A1 03 B0 */ stfd f21, 0x3b0(r1)
/* 802A0A6C 0029D9CC F2 A1 03 B8 */ psq_st f21, 952(r1), 0, qr0
/* 802A0A70 0029D9D0 BE 01 03 70 */ stmw r16, 0x370(r1)
/* 802A0A74 0029D9D4 FF 80 08 90 */ fmr f28, f1
/* 802A0A78 0029D9D8 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2)
/* 802A0A7C 0029D9DC FF 40 10 90 */ fmr f26, f2
/* 802A0A80 0029D9E0 C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2)
/* 802A0A84 0029D9E4 FF 20 18 90 */ fmr f25, f3
/* 802A0A88 0029D9E8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A0A8C 0029D9EC EF E4 07 32 */ fmuls f31, f4, f28
/* 802A0A90 0029D9F0 7C 7B 1B 78 */ mr r27, r3
/* 802A0A94 0029D9F4 FC 19 00 00 */ fcmpu cr0, f25, f0
/* 802A0A98 0029D9F8 7C 9C 23 78 */ mr r28, r4
/* 802A0A9C 0029D9FC EF 61 06 B2 */ fmuls f27, f1, f26
/* 802A0AA0 0029DA00 7C BD 2B 78 */ mr r29, r5
/* 802A0AA4 0029DA04 7C DE 33 78 */ mr r30, r6
/* 802A0AA8 0029DA08 7C FF 3B 78 */ mr r31, r7
/* 802A0AAC 0029DA0C 41 82 00 24 */ beq lbl_802A0AD0
/* 802A0AB0 0029DA10 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 802A0AB4 0029DA14 40 80 00 08 */ bge lbl_802A0ABC
/* 802A0AB8 0029DA18 FF E0 00 90 */ fmr f31, f0
lbl_802A0ABC:
/* 802A0ABC 0029DA1C FC 1B C8 40 */ fcmpo cr0, f27, f25
/* 802A0AC0 0029DA20 40 81 00 08 */ ble lbl_802A0AC8
/* 802A0AC4 0029DA24 FF 60 C8 90 */ fmr f27, f25
lbl_802A0AC8:
/* 802A0AC8 0029DA28 FC 1F D8 40 */ fcmpo cr0, f31, f27
/* 802A0ACC 0029DA2C 41 81 0A A0 */ bgt lbl_802A156C
lbl_802A0AD0:
/* 802A0AD0 0029DA30 80 1B 00 20 */ lwz r0, 0x20(r27)
/* 802A0AD4 0029DA34 2C 00 00 02 */ cmpwi r0, 2
/* 802A0AD8 0029DA38 40 82 03 0C */ bne lbl_802A0DE4
/* 802A0ADC 0029DA3C 7F 64 DB 78 */ mr r4, r27
/* 802A0AE0 0029DA40 38 61 00 08 */ addi r3, r1, 8
/* 802A0AE4 0029DA44 48 00 22 59 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv
/* 802A0AE8 0029DA48 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A0AEC 0029DA4C 38 00 00 00 */ li r0, 0
/* 802A0AF0 0029DA50 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A0AF4 0029DA54 FF C0 D8 90 */ fmr f30, f27
/* 802A0AF8 0029DA58 82 61 00 08 */ lwz r19, 8(r1)
/* 802A0AFC 0029DA5C 3A 81 03 38 */ addi r20, r1, 0x338
/* 802A0B00 0029DA60 D0 21 03 28 */ stfs f1, 0x328(r1)
/* 802A0B04 0029DA64 3A 40 00 00 */ li r18, 0
/* 802A0B08 0029DA68 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2)
/* 802A0B0C 0029DA6C D0 01 03 2C */ stfs f0, 0x32c(r1)
/* 802A0B10 0029DA70 3A C0 00 00 */ li r22, 0
/* 802A0B14 0029DA74 D0 01 03 30 */ stfs f0, 0x330(r1)
/* 802A0B18 0029DA78 D0 01 03 34 */ stfs f0, 0x334(r1)
/* 802A0B1C 0029DA7C 98 01 03 60 */ stb r0, 0x360(r1)
/* 802A0B20 0029DA80 D0 01 03 64 */ stfs f0, 0x364(r1)
/* 802A0B24 0029DA84 A2 B3 00 18 */ lhz r21, 0x18(r19)
/* 802A0B28 0029DA88 48 00 02 60 */ b lbl_802A0D88
lbl_802A0B2C:
/* 802A0B2C 0029DA8C 80 9B 00 1C */ lwz r4, 0x1c(r27)
/* 802A0B30 0029DA90 38 61 01 EC */ addi r3, r1, 0x1ec
/* 802A0B34 0029DA94 A0 B3 00 1A */ lhz r5, 0x1a(r19)
/* 802A0B38 0029DA98 48 00 1E FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs
/* 802A0B3C 0029DA9C C0 21 01 F4 */ lfs f1, 0x1f4(r1)
/* 802A0B40 0029DAA0 C2 C1 02 0C */ lfs f22, 0x20c(r1)
/* 802A0B44 0029DAA4 C3 21 02 00 */ lfs f25, 0x200(r1)
/* 802A0B48 0029DAA8 C0 61 01 EC */ lfs f3, 0x1ec(r1)
/* 802A0B4C 0029DAAC EC F6 08 28 */ fsubs f7, f22, f1
/* 802A0B50 0029DAB0 C3 01 02 04 */ lfs f24, 0x204(r1)
/* 802A0B54 0029DAB4 EC 99 08 28 */ fsubs f4, f25, f1
/* 802A0B58 0029DAB8 C0 41 01 F0 */ lfs f2, 0x1f0(r1)
/* 802A0B5C 0029DABC C2 E1 02 08 */ lfs f23, 0x208(r1)
/* 802A0B60 0029DAC0 ED 38 18 28 */ fsubs f9, f24, f3
/* 802A0B64 0029DAC4 C3 41 01 FC */ lfs f26, 0x1fc(r1)
/* 802A0B68 0029DAC8 C1 BC 00 0C */ lfs f13, 0xc(r28)
/* 802A0B6C 0029DACC ED 17 10 28 */ fsubs f8, f23, f2
/* 802A0B70 0029DAD0 C2 A1 01 F8 */ lfs f21, 0x1f8(r1)
/* 802A0B74 0029DAD4 EC BA 10 28 */ fsubs f5, f26, f2
/* 802A0B78 0029DAD8 C3 7C 00 14 */ lfs f27, 0x14(r28)
/* 802A0B7C 0029DADC EC C7 03 72 */ fmuls f6, f7, f13
/* 802A0B80 0029DAE0 C3 9C 00 10 */ lfs f28, 0x10(r28)
/* 802A0B84 0029DAE4 EC 08 06 F2 */ fmuls f0, f8, f27
/* 802A0B88 0029DAE8 80 61 02 10 */ lwz r3, 0x210(r1)
/* 802A0B8C 0029DAEC ED 7B 32 78 */ fmsubs f11, f27, f9, f6
/* 802A0B90 0029DAF0 D0 61 03 00 */ stfs f3, 0x300(r1)
/* 802A0B94 0029DAF4 ED 89 07 32 */ fmuls f12, f9, f28
/* 802A0B98 0029DAF8 EC D5 18 28 */ fsubs f6, f21, f3
/* 802A0B9C 0029DAFC ED 5C 01 F8 */ fmsubs f10, f28, f7, f0
/* 802A0BA0 0029DB00 D0 41 03 04 */ stfs f2, 0x304(r1)
/* 802A0BA4 0029DB04 EC 05 02 F2 */ fmuls f0, f5, f11
/* 802A0BA8 0029DB08 ED 8D 62 38 */ fmsubs f12, f13, f8, f12
/* 802A0BAC 0029DB0C D0 21 03 08 */ stfs f1, 0x308(r1)
/* 802A0BB0 0029DB10 EC 06 02 BA */ fmadds f0, f6, f10, f0
/* 802A0BB4 0029DB14 D2 A1 03 0C */ stfs f21, 0x30c(r1)
/* 802A0BB8 0029DB18 D3 41 03 10 */ stfs f26, 0x310(r1)
/* 802A0BBC 0029DB1C EE A4 03 3A */ fmadds f21, f4, f12, f0
/* 802A0BC0 0029DB20 D3 21 03 14 */ stfs f25, 0x314(r1)
/* 802A0BC4 0029DB24 FC 00 AA 10 */ fabs f0, f21
/* 802A0BC8 0029DB28 D3 01 03 18 */ stfs f24, 0x318(r1)
/* 802A0BCC 0029DB2C D2 E1 03 1C */ stfs f23, 0x31c(r1)
/* 802A0BD0 0029DB30 FC 00 00 18 */ frsp f0, f0
/* 802A0BD4 0029DB34 D2 C1 03 20 */ stfs f22, 0x320(r1)
/* 802A0BD8 0029DB38 FC 00 E8 40 */ fcmpo cr0, f0, f29
/* 802A0BDC 0029DB3C 90 61 03 24 */ stw r3, 0x324(r1)
/* 802A0BE0 0029DB40 41 80 01 A0 */ blt lbl_802A0D80
/* 802A0BE4 0029DB44 C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2)
/* 802A0BE8 0029DB48 C2 FC 00 04 */ lfs f23, 4(r28)
/* 802A0BEC 0029DB4C EF 40 A8 24 */ fdivs f26, f0, f21
/* 802A0BF0 0029DB50 C2 DC 00 00 */ lfs f22, 0(r28)
/* 802A0BF4 0029DB54 C3 3C 00 08 */ lfs f25, 8(r28)
/* 802A0BF8 0029DB58 C3 02 C1 24 */ lfs f24, lbl_805ADE44@sda21(r2)
/* 802A0BFC 0029DB5C EE F7 10 28 */ fsubs f23, f23, f2
/* 802A0C00 0029DB60 EE D6 18 28 */ fsubs f22, f22, f3
/* 802A0C04 0029DB64 EE B9 08 28 */ fsubs f21, f25, f1
/* 802A0C08 0029DB68 EC 37 02 F2 */ fmuls f1, f23, f11
/* 802A0C0C 0029DB6C EC 36 0A BA */ fmadds f1, f22, f10, f1
/* 802A0C10 0029DB70 EC 35 0B 3A */ fmadds f1, f21, f12, f1
/* 802A0C14 0029DB74 ED 5A 00 72 */ fmuls f10, f26, f1
/* 802A0C18 0029DB78 FC 0A C0 40 */ fcmpo cr0, f10, f24
/* 802A0C1C 0029DB7C 41 80 01 64 */ blt lbl_802A0D80
/* 802A0C20 0029DB80 FC 0A 00 40 */ fcmpo cr0, f10, f0
/* 802A0C24 0029DB84 41 81 01 5C */ bgt lbl_802A0D80
/* 802A0C28 0029DB88 EC 44 05 B2 */ fmuls f2, f4, f22
/* 802A0C2C 0029DB8C EC 25 05 72 */ fmuls f1, f5, f21
/* 802A0C30 0029DB90 EC 66 05 F2 */ fmuls f3, f6, f23
/* 802A0C34 0029DB94 EC D5 11 B8 */ fmsubs f6, f21, f6, f2
/* 802A0C38 0029DB98 EC 57 09 38 */ fmsubs f2, f23, f4, f1
/* 802A0C3C 0029DB9C EC 76 19 78 */ fmsubs f3, f22, f5, f3
/* 802A0C40 0029DBA0 EC 26 02 32 */ fmuls f1, f6, f8
/* 802A0C44 0029DBA4 EC 22 0A 7A */ fmadds f1, f2, f9, f1
/* 802A0C48 0029DBA8 EC 23 09 FA */ fmadds f1, f3, f7, f1
/* 802A0C4C 0029DBAC EF 3A 00 72 */ fmuls f25, f26, f1
/* 802A0C50 0029DBB0 FC 19 F0 40 */ fcmpo cr0, f25, f30
/* 802A0C54 0029DBB4 4C 41 13 82 */ cror 2, 1, 2
/* 802A0C58 0029DBB8 41 82 01 28 */ beq lbl_802A0D80
/* 802A0C5C 0029DBBC FC 19 F8 40 */ fcmpo cr0, f25, f31
/* 802A0C60 0029DBC0 41 80 01 20 */ blt lbl_802A0D80
/* 802A0C64 0029DBC4 EC 26 07 32 */ fmuls f1, f6, f28
/* 802A0C68 0029DBC8 EC 22 0B 7A */ fmadds f1, f2, f13, f1
/* 802A0C6C 0029DBCC EC 23 0E FA */ fmadds f1, f3, f27, f1
/* 802A0C70 0029DBD0 EC 3A 00 72 */ fmuls f1, f26, f1
/* 802A0C74 0029DBD4 FC 01 C0 40 */ fcmpo cr0, f1, f24
/* 802A0C78 0029DBD8 41 80 01 08 */ blt lbl_802A0D80
/* 802A0C7C 0029DBDC EC 2A 08 2A */ fadds f1, f10, f1
/* 802A0C80 0029DBE0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A0C84 0029DBE4 41 81 00 FC */ bgt lbl_802A0D80
/* 802A0C88 0029DBE8 38 00 00 00 */ li r0, 0
/* 802A0C8C 0029DBEC 90 61 00 24 */ stw r3, 0x24(r1)
/* 802A0C90 0029DBF0 7F A3 EB 78 */ mr r3, r29
/* 802A0C94 0029DBF4 38 81 00 20 */ addi r4, r1, 0x20
/* 802A0C98 0029DBF8 90 01 00 20 */ stw r0, 0x20(r1)
/* 802A0C9C 0029DBFC 48 03 46 B1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
/* 802A0CA0 0029DC00 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A0CA4 0029DC04 41 82 00 DC */ beq lbl_802A0D80
/* 802A0CA8 0029DC08 FC 19 F0 40 */ fcmpo cr0, f25, f30
/* 802A0CAC 0029DC0C 4C 40 13 82 */ cror 2, 0, 2
/* 802A0CB0 0029DC10 40 82 00 D0 */ bne lbl_802A0D80
/* 802A0CB4 0029DC14 88 01 03 60 */ lbz r0, 0x360(r1)
/* 802A0CB8 0029DC18 FF C0 C8 90 */ fmr f30, f25
/* 802A0CBC 0029DC1C 3A 40 00 01 */ li r18, 1
/* 802A0CC0 0029DC20 28 00 00 00 */ cmplwi r0, 0
/* 802A0CC4 0029DC24 40 82 00 68 */ bne lbl_802A0D2C
/* 802A0CC8 0029DC28 28 14 00 00 */ cmplwi r20, 0
/* 802A0CCC 0029DC2C 41 82 00 54 */ beq lbl_802A0D20
/* 802A0CD0 0029DC30 C1 01 03 00 */ lfs f8, 0x300(r1)
/* 802A0CD4 0029DC34 C0 E1 03 04 */ lfs f7, 0x304(r1)
/* 802A0CD8 0029DC38 C0 C1 03 08 */ lfs f6, 0x308(r1)
/* 802A0CDC 0029DC3C C0 A1 03 0C */ lfs f5, 0x30c(r1)
/* 802A0CE0 0029DC40 C0 81 03 10 */ lfs f4, 0x310(r1)
/* 802A0CE4 0029DC44 C0 61 03 14 */ lfs f3, 0x314(r1)
/* 802A0CE8 0029DC48 C0 41 03 18 */ lfs f2, 0x318(r1)
/* 802A0CEC 0029DC4C C0 21 03 1C */ lfs f1, 0x31c(r1)
/* 802A0CF0 0029DC50 C0 01 03 20 */ lfs f0, 0x320(r1)
/* 802A0CF4 0029DC54 80 01 03 24 */ lwz r0, 0x324(r1)
/* 802A0CF8 0029DC58 D1 01 03 38 */ stfs f8, 0x338(r1)
/* 802A0CFC 0029DC5C D0 E1 03 3C */ stfs f7, 0x33c(r1)
/* 802A0D00 0029DC60 D0 C1 03 40 */ stfs f6, 0x340(r1)
/* 802A0D04 0029DC64 D0 A1 03 44 */ stfs f5, 0x344(r1)
/* 802A0D08 0029DC68 D0 81 03 48 */ stfs f4, 0x348(r1)
/* 802A0D0C 0029DC6C D0 61 03 4C */ stfs f3, 0x34c(r1)
/* 802A0D10 0029DC70 D0 41 03 50 */ stfs f2, 0x350(r1)
/* 802A0D14 0029DC74 D0 21 03 54 */ stfs f1, 0x354(r1)
/* 802A0D18 0029DC78 D0 01 03 58 */ stfs f0, 0x358(r1)
/* 802A0D1C 0029DC7C 90 01 03 5C */ stw r0, 0x35c(r1)
lbl_802A0D20:
/* 802A0D20 0029DC80 38 00 00 01 */ li r0, 1
/* 802A0D24 0029DC84 98 01 03 60 */ stb r0, 0x360(r1)
/* 802A0D28 0029DC88 48 00 00 54 */ b lbl_802A0D7C
lbl_802A0D2C:
/* 802A0D2C 0029DC8C 81 61 03 00 */ lwz r11, 0x300(r1)
/* 802A0D30 0029DC90 81 41 03 04 */ lwz r10, 0x304(r1)
/* 802A0D34 0029DC94 81 21 03 08 */ lwz r9, 0x308(r1)
/* 802A0D38 0029DC98 81 01 03 0C */ lwz r8, 0x30c(r1)
/* 802A0D3C 0029DC9C 80 E1 03 10 */ lwz r7, 0x310(r1)
/* 802A0D40 0029DCA0 80 C1 03 14 */ lwz r6, 0x314(r1)
/* 802A0D44 0029DCA4 80 A1 03 18 */ lwz r5, 0x318(r1)
/* 802A0D48 0029DCA8 80 81 03 1C */ lwz r4, 0x31c(r1)
/* 802A0D4C 0029DCAC 80 61 03 20 */ lwz r3, 0x320(r1)
/* 802A0D50 0029DCB0 80 01 03 24 */ lwz r0, 0x324(r1)
/* 802A0D54 0029DCB4 91 61 03 38 */ stw r11, 0x338(r1)
/* 802A0D58 0029DCB8 91 41 03 3C */ stw r10, 0x33c(r1)
/* 802A0D5C 0029DCBC 91 21 03 40 */ stw r9, 0x340(r1)
/* 802A0D60 0029DCC0 91 01 03 44 */ stw r8, 0x344(r1)
/* 802A0D64 0029DCC4 90 E1 03 48 */ stw r7, 0x348(r1)
/* 802A0D68 0029DCC8 90 C1 03 4C */ stw r6, 0x34c(r1)
/* 802A0D6C 0029DCCC 90 A1 03 50 */ stw r5, 0x350(r1)
/* 802A0D70 0029DCD0 90 81 03 54 */ stw r4, 0x354(r1)
/* 802A0D74 0029DCD4 90 61 03 58 */ stw r3, 0x358(r1)
/* 802A0D78 0029DCD8 90 01 03 5C */ stw r0, 0x35c(r1)
lbl_802A0D7C:
/* 802A0D7C 0029DCDC D3 21 03 64 */ stfs f25, 0x364(r1)
lbl_802A0D80:
/* 802A0D80 0029DCE0 3A 73 00 02 */ addi r19, r19, 2
/* 802A0D84 0029DCE4 3A D6 00 01 */ addi r22, r22, 1
lbl_802A0D88:
/* 802A0D88 0029DCE8 7C 16 A8 00 */ cmpw r22, r21
/* 802A0D8C 0029DCEC 41 80 FD A0 */ blt lbl_802A0B2C
/* 802A0D90 0029DCF0 56 40 06 3F */ clrlwi. r0, r18, 0x18
/* 802A0D94 0029DCF4 41 82 00 3C */ beq lbl_802A0DD0
/* 802A0D98 0029DCF8 7F C3 F3 78 */ mr r3, r30
/* 802A0D9C 0029DCFC 38 81 03 28 */ addi r4, r1, 0x328
/* 802A0DA0 0029DD00 48 00 08 39 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A0DA4 0029DD04 38 61 00 34 */ addi r3, r1, 0x34
/* 802A0DA8 0029DD08 38 9E 00 10 */ addi r4, r30, 0x10
/* 802A0DAC 0029DD0C 48 00 18 89 */ bl GetPlane__17CCollisionSurfaceCFv
/* 802A0DB0 0029DD10 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 802A0DB4 0029DD14 D0 1E 00 00 */ stfs f0, 0(r30)
/* 802A0DB8 0029DD18 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 802A0DBC 0029DD1C D0 1E 00 04 */ stfs f0, 4(r30)
/* 802A0DC0 0029DD20 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 802A0DC4 0029DD24 D0 1E 00 08 */ stfs f0, 8(r30)
/* 802A0DC8 0029DD28 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 802A0DCC 0029DD2C D0 1E 00 0C */ stfs f0, 0xc(r30)
lbl_802A0DD0:
/* 802A0DD0 0029DD30 28 14 00 00 */ cmplwi r20, 0
/* 802A0DD4 0029DD34 41 82 07 98 */ beq lbl_802A156C
/* 802A0DD8 0029DD38 38 00 00 00 */ li r0, 0
/* 802A0DDC 0029DD3C 98 01 03 60 */ stb r0, 0x360(r1)
/* 802A0DE0 0029DD40 48 00 07 8C */ b lbl_802A156C
lbl_802A0DE4:
/* 802A0DE4 0029DD44 2C 00 00 01 */ cmpwi r0, 1
/* 802A0DE8 0029DD48 40 82 07 84 */ bne lbl_802A156C
/* 802A0DEC 0029DD4C 80 7B 00 18 */ lwz r3, 0x18(r27)
/* 802A0DF0 0029DD50 A0 03 00 00 */ lhz r0, 0(r3)
/* 802A0DF4 0029DD54 28 00 00 0A */ cmplwi r0, 0xa
/* 802A0DF8 0029DD58 40 82 02 C8 */ bne lbl_802A10C0
/* 802A0DFC 0029DD5C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A0E00 0029DD60 38 00 00 00 */ li r0, 0
/* 802A0E04 0029DD64 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A0E08 0029DD68 7F 64 DB 78 */ mr r4, r27
/* 802A0E0C 0029DD6C D0 01 02 C4 */ stfs f0, 0x2c4(r1)
/* 802A0E10 0029DD70 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 802A0E14 0029DD74 38 A0 00 00 */ li r5, 0
/* 802A0E18 0029DD78 D0 21 02 C0 */ stfs f1, 0x2c0(r1)
/* 802A0E1C 0029DD7C D0 01 02 C8 */ stfs f0, 0x2c8(r1)
/* 802A0E20 0029DD80 D0 01 02 CC */ stfs f0, 0x2cc(r1)
/* 802A0E24 0029DD84 98 01 02 F8 */ stb r0, 0x2f8(r1)
/* 802A0E28 0029DD88 D0 01 02 FC */ stfs f0, 0x2fc(r1)
/* 802A0E2C 0029DD8C D0 21 02 80 */ stfs f1, 0x280(r1)
/* 802A0E30 0029DD90 D0 01 02 84 */ stfs f0, 0x284(r1)
/* 802A0E34 0029DD94 D0 01 02 88 */ stfs f0, 0x288(r1)
/* 802A0E38 0029DD98 D0 01 02 8C */ stfs f0, 0x28c(r1)
/* 802A0E3C 0029DD9C 98 01 02 B8 */ stb r0, 0x2b8(r1)
/* 802A0E40 0029DDA0 D0 01 02 BC */ stfs f0, 0x2bc(r1)
/* 802A0E44 0029DDA4 48 00 1F 1D */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A0E48 0029DDA8 C0 A1 01 C8 */ lfs f5, 0x1c8(r1)
/* 802A0E4C 0029DDAC 7F 84 E3 78 */ mr r4, r28
/* 802A0E50 0029DDB0 C0 81 01 CC */ lfs f4, 0x1cc(r1)
/* 802A0E54 0029DDB4 38 61 00 A8 */ addi r3, r1, 0xa8
/* 802A0E58 0029DDB8 C0 61 01 D0 */ lfs f3, 0x1d0(r1)
/* 802A0E5C 0029DDBC 38 A1 00 18 */ addi r5, r1, 0x18
/* 802A0E60 0029DDC0 C0 41 01 D4 */ lfs f2, 0x1d4(r1)
/* 802A0E64 0029DDC4 38 C1 00 14 */ addi r6, r1, 0x14
/* 802A0E68 0029DDC8 C0 21 01 D8 */ lfs f1, 0x1d8(r1)
/* 802A0E6C 0029DDCC C0 01 01 DC */ lfs f0, 0x1dc(r1)
/* 802A0E70 0029DDD0 81 01 01 E0 */ lwz r8, 0x1e0(r1)
/* 802A0E74 0029DDD4 80 E1 01 E4 */ lwz r7, 0x1e4(r1)
/* 802A0E78 0029DDD8 80 01 01 E8 */ lwz r0, 0x1e8(r1)
/* 802A0E7C 0029DDDC D0 A1 02 5C */ stfs f5, 0x25c(r1)
/* 802A0E80 0029DDE0 D0 81 02 60 */ stfs f4, 0x260(r1)
/* 802A0E84 0029DDE4 D0 61 02 64 */ stfs f3, 0x264(r1)
/* 802A0E88 0029DDE8 D0 41 02 68 */ stfs f2, 0x268(r1)
/* 802A0E8C 0029DDEC D0 21 02 6C */ stfs f1, 0x26c(r1)
/* 802A0E90 0029DDF0 D0 01 02 70 */ stfs f0, 0x270(r1)
/* 802A0E94 0029DDF4 91 01 02 74 */ stw r8, 0x274(r1)
/* 802A0E98 0029DDF8 90 E1 02 78 */ stw r7, 0x278(r1)
/* 802A0E9C 0029DDFC 90 01 02 7C */ stw r0, 0x27c(r1)
/* 802A0EA0 0029DE00 D0 A1 00 A8 */ stfs f5, 0xa8(r1)
/* 802A0EA4 0029DE04 D0 81 00 AC */ stfs f4, 0xac(r1)
/* 802A0EA8 0029DE08 D0 61 00 B0 */ stfs f3, 0xb0(r1)
/* 802A0EAC 0029DE0C D0 41 00 B4 */ stfs f2, 0xb4(r1)
/* 802A0EB0 0029DE10 D0 21 00 B8 */ stfs f1, 0xb8(r1)
/* 802A0EB4 0029DE14 D0 01 00 BC */ stfs f0, 0xbc(r1)
/* 802A0EB8 0029DE18 D3 81 00 18 */ stfs f28, 0x18(r1)
/* 802A0EBC 0029DE1C D3 41 00 14 */ stfs f26, 0x14(r1)
/* 802A0EC0 0029DE20 48 00 15 B5 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A0EC4 0029DE24 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A0EC8 0029DE28 41 82 00 28 */ beq lbl_802A0EF0
/* 802A0ECC 0029DE2C FC 60 C8 90 */ fmr f3, f25
/* 802A0ED0 0029DE30 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802A0ED4 0029DE34 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 802A0ED8 0029DE38 7F 84 E3 78 */ mr r4, r28
/* 802A0EDC 0029DE3C 7F A5 EB 78 */ mr r5, r29
/* 802A0EE0 0029DE40 7F E7 FB 78 */ mr r7, r31
/* 802A0EE4 0029DE44 38 61 02 5C */ addi r3, r1, 0x25c
/* 802A0EE8 0029DE48 38 C1 02 C0 */ addi r6, r1, 0x2c0
/* 802A0EEC 0029DE4C 4B FF FB 21 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f
lbl_802A0EF0:
/* 802A0EF0 0029DE50 7F 64 DB 78 */ mr r4, r27
/* 802A0EF4 0029DE54 38 61 01 A4 */ addi r3, r1, 0x1a4
/* 802A0EF8 0029DE58 38 A0 00 01 */ li r5, 1
/* 802A0EFC 0029DE5C 48 00 1E 65 */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A0F00 0029DE60 C0 A1 01 A4 */ lfs f5, 0x1a4(r1)
/* 802A0F04 0029DE64 7F 84 E3 78 */ mr r4, r28
/* 802A0F08 0029DE68 C0 81 01 A8 */ lfs f4, 0x1a8(r1)
/* 802A0F0C 0029DE6C 38 61 00 90 */ addi r3, r1, 0x90
/* 802A0F10 0029DE70 C0 61 01 AC */ lfs f3, 0x1ac(r1)
/* 802A0F14 0029DE74 38 A1 00 10 */ addi r5, r1, 0x10
/* 802A0F18 0029DE78 C0 41 01 B0 */ lfs f2, 0x1b0(r1)
/* 802A0F1C 0029DE7C 38 C1 00 0C */ addi r6, r1, 0xc
/* 802A0F20 0029DE80 C0 21 01 B4 */ lfs f1, 0x1b4(r1)
/* 802A0F24 0029DE84 C0 01 01 B8 */ lfs f0, 0x1b8(r1)
/* 802A0F28 0029DE88 81 01 01 BC */ lwz r8, 0x1bc(r1)
/* 802A0F2C 0029DE8C 80 E1 01 C0 */ lwz r7, 0x1c0(r1)
/* 802A0F30 0029DE90 80 01 01 C4 */ lwz r0, 0x1c4(r1)
/* 802A0F34 0029DE94 D0 A1 02 38 */ stfs f5, 0x238(r1)
/* 802A0F38 0029DE98 D0 81 02 3C */ stfs f4, 0x23c(r1)
/* 802A0F3C 0029DE9C D0 61 02 40 */ stfs f3, 0x240(r1)
/* 802A0F40 0029DEA0 D0 41 02 44 */ stfs f2, 0x244(r1)
/* 802A0F44 0029DEA4 D0 21 02 48 */ stfs f1, 0x248(r1)
/* 802A0F48 0029DEA8 D0 01 02 4C */ stfs f0, 0x24c(r1)
/* 802A0F4C 0029DEAC 91 01 02 50 */ stw r8, 0x250(r1)
/* 802A0F50 0029DEB0 90 E1 02 54 */ stw r7, 0x254(r1)
/* 802A0F54 0029DEB4 90 01 02 58 */ stw r0, 0x258(r1)
/* 802A0F58 0029DEB8 D0 A1 00 90 */ stfs f5, 0x90(r1)
/* 802A0F5C 0029DEBC D0 81 00 94 */ stfs f4, 0x94(r1)
/* 802A0F60 0029DEC0 D0 61 00 98 */ stfs f3, 0x98(r1)
/* 802A0F64 0029DEC4 D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 802A0F68 0029DEC8 D0 21 00 A0 */ stfs f1, 0xa0(r1)
/* 802A0F6C 0029DECC D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 802A0F70 0029DED0 D3 81 00 10 */ stfs f28, 0x10(r1)
/* 802A0F74 0029DED4 D3 41 00 0C */ stfs f26, 0xc(r1)
/* 802A0F78 0029DED8 48 00 14 FD */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A0F7C 0029DEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A0F80 0029DEE0 41 82 00 28 */ beq lbl_802A0FA8
/* 802A0F84 0029DEE4 FC 60 C8 90 */ fmr f3, f25
/* 802A0F88 0029DEE8 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 802A0F8C 0029DEEC C0 41 00 0C */ lfs f2, 0xc(r1)
/* 802A0F90 0029DEF0 7F 84 E3 78 */ mr r4, r28
/* 802A0F94 0029DEF4 7F A5 EB 78 */ mr r5, r29
/* 802A0F98 0029DEF8 7F E7 FB 78 */ mr r7, r31
/* 802A0F9C 0029DEFC 38 61 02 38 */ addi r3, r1, 0x238
/* 802A0FA0 0029DF00 38 C1 02 80 */ addi r6, r1, 0x280
/* 802A0FA4 0029DF04 4B FF FA 69 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f
lbl_802A0FA8:
/* 802A0FA8 0029DF08 88 61 02 F8 */ lbz r3, 0x2f8(r1)
/* 802A0FAC 0029DF0C 28 03 00 00 */ cmplwi r3, 0
/* 802A0FB0 0029DF10 40 82 00 54 */ bne lbl_802A1004
/* 802A0FB4 0029DF14 88 01 02 B8 */ lbz r0, 0x2b8(r1)
/* 802A0FB8 0029DF18 28 00 00 00 */ cmplwi r0, 0
/* 802A0FBC 0029DF1C 40 82 00 48 */ bne lbl_802A1004
/* 802A0FC0 0029DF20 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A0FC4 0029DF24 38 00 00 00 */ li r0, 0
/* 802A0FC8 0029DF28 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A0FCC 0029DF2C 7F C3 F3 78 */ mr r3, r30
/* 802A0FD0 0029DF30 D0 01 01 68 */ stfs f0, 0x168(r1)
/* 802A0FD4 0029DF34 38 81 01 64 */ addi r4, r1, 0x164
/* 802A0FD8 0029DF38 D0 21 01 64 */ stfs f1, 0x164(r1)
/* 802A0FDC 0029DF3C D0 01 01 6C */ stfs f0, 0x16c(r1)
/* 802A0FE0 0029DF40 D0 01 01 70 */ stfs f0, 0x170(r1)
/* 802A0FE4 0029DF44 98 01 01 9C */ stb r0, 0x19c(r1)
/* 802A0FE8 0029DF48 D0 01 01 A0 */ stfs f0, 0x1a0(r1)
/* 802A0FEC 0029DF4C 48 00 05 ED */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A0FF0 0029DF50 38 00 00 00 */ li r0, 0
/* 802A0FF4 0029DF54 98 01 01 9C */ stb r0, 0x19c(r1)
/* 802A0FF8 0029DF58 98 01 02 B8 */ stb r0, 0x2b8(r1)
/* 802A0FFC 0029DF5C 98 01 02 F8 */ stb r0, 0x2f8(r1)
/* 802A1000 0029DF60 48 00 05 6C */ b lbl_802A156C
lbl_802A1004:
/* 802A1004 0029DF64 28 03 00 00 */ cmplwi r3, 0
/* 802A1008 0029DF68 41 82 00 40 */ beq lbl_802A1048
/* 802A100C 0029DF6C 88 01 02 B8 */ lbz r0, 0x2b8(r1)
/* 802A1010 0029DF70 28 00 00 00 */ cmplwi r0, 0
/* 802A1014 0029DF74 41 82 00 34 */ beq lbl_802A1048
/* 802A1018 0029DF78 C0 21 02 FC */ lfs f1, 0x2fc(r1)
/* 802A101C 0029DF7C C0 01 02 BC */ lfs f0, 0x2bc(r1)
/* 802A1020 0029DF80 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A1024 0029DF84 40 80 00 14 */ bge lbl_802A1038
/* 802A1028 0029DF88 7F C3 F3 78 */ mr r3, r30
/* 802A102C 0029DF8C 38 81 02 C0 */ addi r4, r1, 0x2c0
/* 802A1030 0029DF90 48 00 05 A9 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A1034 0029DF94 48 00 00 38 */ b lbl_802A106C
lbl_802A1038:
/* 802A1038 0029DF98 7F C3 F3 78 */ mr r3, r30
/* 802A103C 0029DF9C 38 81 02 80 */ addi r4, r1, 0x280
/* 802A1040 0029DFA0 48 00 05 99 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A1044 0029DFA4 48 00 00 28 */ b lbl_802A106C
lbl_802A1048:
/* 802A1048 0029DFA8 28 03 00 00 */ cmplwi r3, 0
/* 802A104C 0029DFAC 41 82 00 14 */ beq lbl_802A1060
/* 802A1050 0029DFB0 7F C3 F3 78 */ mr r3, r30
/* 802A1054 0029DFB4 38 81 02 C0 */ addi r4, r1, 0x2c0
/* 802A1058 0029DFB8 48 00 05 81 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A105C 0029DFBC 48 00 00 10 */ b lbl_802A106C
lbl_802A1060:
/* 802A1060 0029DFC0 7F C3 F3 78 */ mr r3, r30
/* 802A1064 0029DFC4 38 81 02 80 */ addi r4, r1, 0x280
/* 802A1068 0029DFC8 48 00 05 71 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
lbl_802A106C:
/* 802A106C 0029DFCC C0 1E 00 3C */ lfs f0, 0x3c(r30)
/* 802A1070 0029DFD0 FC 00 D8 40 */ fcmpo cr0, f0, f27
/* 802A1074 0029DFD4 40 81 00 3C */ ble lbl_802A10B0
/* 802A1078 0029DFD8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A107C 0029DFDC 38 00 00 00 */ li r0, 0
/* 802A1080 0029DFE0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A1084 0029DFE4 7F C3 F3 78 */ mr r3, r30
/* 802A1088 0029DFE8 D0 01 01 28 */ stfs f0, 0x128(r1)
/* 802A108C 0029DFEC 38 81 01 24 */ addi r4, r1, 0x124
/* 802A1090 0029DFF0 D0 21 01 24 */ stfs f1, 0x124(r1)
/* 802A1094 0029DFF4 D0 01 01 2C */ stfs f0, 0x12c(r1)
/* 802A1098 0029DFF8 D0 01 01 30 */ stfs f0, 0x130(r1)
/* 802A109C 0029DFFC 98 01 01 5C */ stb r0, 0x15c(r1)
/* 802A10A0 0029E000 D0 01 01 60 */ stfs f0, 0x160(r1)
/* 802A10A4 0029E004 48 00 05 35 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A10A8 0029E008 38 00 00 00 */ li r0, 0
/* 802A10AC 0029E00C 98 01 01 5C */ stb r0, 0x15c(r1)
lbl_802A10B0:
/* 802A10B0 0029E010 38 00 00 00 */ li r0, 0
/* 802A10B4 0029E014 98 01 02 B8 */ stb r0, 0x2b8(r1)
/* 802A10B8 0029E018 98 01 02 F8 */ stb r0, 0x2f8(r1)
/* 802A10BC 0029E01C 48 00 04 B0 */ b lbl_802A156C
lbl_802A10C0:
/* 802A10C0 0029E020 3C 60 80 3D */ lis r3, lbl_803D6008@ha
/* 802A10C4 0029E024 7F 64 DB 78 */ mr r4, r27
/* 802A10C8 0029E028 39 03 60 08 */ addi r8, r3, lbl_803D6008@l
/* 802A10CC 0029E02C 38 61 00 28 */ addi r3, r1, 0x28
/* 802A10D0 0029E030 80 E8 00 00 */ lwz r7, 0(r8)
/* 802A10D4 0029E034 3A 20 00 00 */ li r17, 0
/* 802A10D8 0029E038 80 C8 00 04 */ lwz r6, 4(r8)
/* 802A10DC 0029E03C 80 A8 00 08 */ lwz r5, 8(r8)
/* 802A10E0 0029E040 80 08 00 0C */ lwz r0, 0xc(r8)
/* 802A10E4 0029E044 90 E1 00 74 */ stw r7, 0x74(r1)
/* 802A10E8 0029E048 90 C1 00 78 */ stw r6, 0x78(r1)
/* 802A10EC 0029E04C 90 A1 00 7C */ stw r5, 0x7c(r1)
/* 802A10F0 0029E050 90 01 00 80 */ stw r0, 0x80(r1)
/* 802A10F4 0029E054 48 09 65 19 */ bl GetCenterPoint__6CAABoxCFv
/* 802A10F8 0029E058 C0 3C 00 10 */ lfs f1, 0x10(r28)
/* 802A10FC 0029E05C 3A 41 00 68 */ addi r18, r1, 0x68
/* 802A1100 0029E060 C0 1C 00 14 */ lfs f0, 0x14(r28)
/* 802A1104 0029E064 7E 5A 93 78 */ mr r26, r18
/* 802A1108 0029E068 C0 5C 00 0C */ lfs f2, 0xc(r28)
/* 802A110C 0029E06C EC BC 00 72 */ fmuls f5, f28, f1
/* 802A1110 0029E070 C0 DC 00 04 */ lfs f6, 4(r28)
/* 802A1114 0029E074 EC 3A 00 72 */ fmuls f1, f26, f1
/* 802A1118 0029E078 EC 7C 00 32 */ fmuls f3, f28, f0
/* 802A111C 0029E07C C0 9C 00 08 */ lfs f4, 8(r28)
/* 802A1120 0029E080 EC 1A 00 32 */ fmuls f0, f26, f0
/* 802A1124 0029E084 ED 26 28 2A */ fadds f9, f6, f5
/* 802A1128 0029E088 C0 E1 00 28 */ lfs f7, 0x28(r1)
/* 802A112C 0029E08C ED 04 18 2A */ fadds f8, f4, f3
/* 802A1130 0029E090 ED 46 08 2A */ fadds f10, f6, f1
/* 802A1134 0029E094 C0 A1 00 2C */ lfs f5, 0x2c(r1)
/* 802A1138 0029E098 EC C4 00 2A */ fadds f6, f4, f0
/* 802A113C 0029E09C C0 81 00 30 */ lfs f4, 0x30(r1)
/* 802A1140 0029E0A0 EC 3C 00 B2 */ fmuls f1, f28, f2
/* 802A1144 0029E0A4 C0 7C 00 00 */ lfs f3, 0(r28)
/* 802A1148 0029E0A8 EC 1A 00 B2 */ fmuls f0, f26, f2
/* 802A114C 0029E0AC D0 E1 00 68 */ stfs f7, 0x68(r1)
/* 802A1150 0029E0B0 EC 23 08 2A */ fadds f1, f3, f1
/* 802A1154 0029E0B4 7F 96 E3 78 */ mr r22, r28
/* 802A1158 0029E0B8 D0 A1 00 6C */ stfs f5, 0x6c(r1)
/* 802A115C 0029E0BC 7F F5 FB 78 */ mr r21, r31
/* 802A1160 0029E0C0 EC 03 00 2A */ fadds f0, f3, f0
/* 802A1164 0029E0C4 D0 81 00 70 */ stfs f4, 0x70(r1)
/* 802A1168 0029E0C8 3B 21 00 5C */ addi r25, r1, 0x5c
/* 802A116C 0029E0CC 3B 01 00 50 */ addi r24, r1, 0x50
/* 802A1170 0029E0D0 D0 21 00 5C */ stfs f1, 0x5c(r1)
/* 802A1174 0029E0D4 3A 81 00 84 */ addi r20, r1, 0x84
/* 802A1178 0029E0D8 D1 21 00 60 */ stfs f9, 0x60(r1)
/* 802A117C 0029E0DC 3A 61 00 74 */ addi r19, r1, 0x74
/* 802A1180 0029E0E0 3A 00 00 00 */ li r16, 0
/* 802A1184 0029E0E4 3A E0 00 00 */ li r23, 0
/* 802A1188 0029E0E8 D1 01 00 64 */ stfs f8, 0x64(r1)
/* 802A118C 0029E0EC D0 01 00 50 */ stfs f0, 0x50(r1)
/* 802A1190 0029E0F0 D1 41 00 54 */ stfs f10, 0x54(r1)
/* 802A1194 0029E0F4 D0 C1 00 58 */ stfs f6, 0x58(r1)
lbl_802A1198:
/* 802A1198 0029E0F8 C0 59 00 00 */ lfs f2, 0(r25)
/* 802A119C 0029E0FC C0 3A 00 00 */ lfs f1, 0(r26)
/* 802A11A0 0029E100 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 802A11A4 0029E104 40 80 00 10 */ bge lbl_802A11B4
/* 802A11A8 0029E108 C0 18 00 00 */ lfs f0, 0(r24)
/* 802A11AC 0029E10C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802A11B0 0029E110 41 81 00 18 */ bgt lbl_802A11C8
lbl_802A11B4:
/* 802A11B4 0029E114 C0 18 00 00 */ lfs f0, 0(r24)
/* 802A11B8 0029E118 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802A11BC 0029E11C 40 80 00 4C */ bge lbl_802A1208
/* 802A11C0 0029E120 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 802A11C4 0029E124 40 81 00 44 */ ble lbl_802A1208
lbl_802A11C8:
/* 802A11C8 0029E128 7C 7C BA 14 */ add r3, r28, r23
/* 802A11CC 0029E12C C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2)
/* 802A11D0 0029E130 C0 23 00 0C */ lfs f1, 0xc(r3)
/* 802A11D4 0029E134 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2)
/* 802A11D8 0029E138 48 00 14 41 */ bl _close_enough__Ffff
/* 802A11DC 0029E13C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A11E0 0029E140 40 82 00 28 */ bne lbl_802A1208
/* 802A11E4 0029E144 C0 3A 00 00 */ lfs f1, 0(r26)
/* 802A11E8 0029E148 3A 31 00 01 */ addi r17, r17, 1
/* 802A11EC 0029E14C C0 16 00 00 */ lfs f0, 0(r22)
/* 802A11F0 0029E150 92 13 00 00 */ stw r16, 0(r19)
/* 802A11F4 0029E154 3A 73 00 04 */ addi r19, r19, 4
/* 802A11F8 0029E158 EC 01 00 28 */ fsubs f0, f1, f0
/* 802A11FC 0029E15C C0 35 00 00 */ lfs f1, 0(r21)
/* 802A1200 0029E160 EC 01 00 32 */ fmuls f0, f1, f0
/* 802A1204 0029E164 D0 14 00 00 */ stfs f0, 0(r20)
lbl_802A1208:
/* 802A1208 0029E168 3A 10 00 01 */ addi r16, r16, 1
/* 802A120C 0029E16C 3B 39 00 04 */ addi r25, r25, 4
/* 802A1210 0029E170 2C 10 00 03 */ cmpwi r16, 3
/* 802A1214 0029E174 3B 18 00 04 */ addi r24, r24, 4
/* 802A1218 0029E178 3A F7 00 04 */ addi r23, r23, 4
/* 802A121C 0029E17C 3A D6 00 04 */ addi r22, r22, 4
/* 802A1220 0029E180 3A B5 00 04 */ addi r21, r21, 4
/* 802A1224 0029E184 3A 94 00 04 */ addi r20, r20, 4
/* 802A1228 0029E188 3B 5A 00 04 */ addi r26, r26, 4
/* 802A122C 0029E18C 41 80 FF 6C */ blt lbl_802A1198
/* 802A1230 0029E190 2C 11 00 02 */ cmpwi r17, 2
/* 802A1234 0029E194 41 82 00 20 */ beq lbl_802A1254
/* 802A1238 0029E198 40 80 00 10 */ bge lbl_802A1248
/* 802A123C 0029E19C 2C 11 00 00 */ cmpwi r17, 0
/* 802A1240 0029E1A0 40 80 01 3C */ bge lbl_802A137C
/* 802A1244 0029E1A4 48 00 03 28 */ b lbl_802A156C
lbl_802A1248:
/* 802A1248 0029E1A8 2C 11 00 04 */ cmpwi r17, 4
/* 802A124C 0029E1AC 40 80 03 20 */ bge lbl_802A156C
/* 802A1250 0029E1B0 48 00 00 34 */ b lbl_802A1284
lbl_802A1254:
/* 802A1254 0029E1B4 80 C1 00 78 */ lwz r6, 0x78(r1)
/* 802A1258 0029E1B8 38 61 00 84 */ addi r3, r1, 0x84
/* 802A125C 0029E1BC 80 A1 00 74 */ lwz r5, 0x74(r1)
/* 802A1260 0029E1C0 54 C4 10 3A */ slwi r4, r6, 2
/* 802A1264 0029E1C4 54 A0 10 3A */ slwi r0, r5, 2
/* 802A1268 0029E1C8 7C 23 24 2E */ lfsx f1, r3, r4
/* 802A126C 0029E1CC 7C 03 04 2E */ lfsx f0, r3, r0
/* 802A1270 0029E1D0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A1274 0029E1D4 40 80 01 08 */ bge lbl_802A137C
/* 802A1278 0029E1D8 90 C1 00 74 */ stw r6, 0x74(r1)
/* 802A127C 0029E1DC 90 A1 00 78 */ stw r5, 0x78(r1)
/* 802A1280 0029E1E0 48 00 00 FC */ b lbl_802A137C
lbl_802A1284:
/* 802A1284 0029E1E4 C0 41 00 84 */ lfs f2, 0x84(r1)
/* 802A1288 0029E1E8 C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 802A128C 0029E1EC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802A1290 0029E1F0 7C 00 00 26 */ mfcr r0
/* 802A1294 0029E1F4 C0 21 00 88 */ lfs f1, 0x88(r1)
/* 802A1298 0029E1F8 54 03 0F FE */ srwi r3, r0, 0x1f
/* 802A129C 0029E1FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A12A0 0029E200 7C 00 00 26 */ mfcr r0
/* 802A12A4 0029E204 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 802A12A8 0029E208 54 00 0F FE */ srwi r0, r0, 0x1f
/* 802A12AC 0029E20C 40 80 00 68 */ bge lbl_802A1314
/* 802A12B0 0029E210 28 03 00 00 */ cmplwi r3, 0
/* 802A12B4 0029E214 40 82 00 20 */ bne lbl_802A12D4
/* 802A12B8 0029E218 38 80 00 02 */ li r4, 2
/* 802A12BC 0029E21C 38 60 00 00 */ li r3, 0
/* 802A12C0 0029E220 38 00 00 01 */ li r0, 1
/* 802A12C4 0029E224 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A12C8 0029E228 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A12CC 0029E22C 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A12D0 0029E230 48 00 00 AC */ b lbl_802A137C
lbl_802A12D4:
/* 802A12D4 0029E234 28 00 00 00 */ cmplwi r0, 0
/* 802A12D8 0029E238 41 82 00 20 */ beq lbl_802A12F8
/* 802A12DC 0029E23C 38 80 00 00 */ li r4, 0
/* 802A12E0 0029E240 38 60 00 01 */ li r3, 1
/* 802A12E4 0029E244 38 00 00 02 */ li r0, 2
/* 802A12E8 0029E248 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A12EC 0029E24C 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A12F0 0029E250 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A12F4 0029E254 48 00 00 88 */ b lbl_802A137C
lbl_802A12F8:
/* 802A12F8 0029E258 38 80 00 00 */ li r4, 0
/* 802A12FC 0029E25C 38 60 00 02 */ li r3, 2
/* 802A1300 0029E260 38 00 00 01 */ li r0, 1
/* 802A1304 0029E264 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A1308 0029E268 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A130C 0029E26C 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A1310 0029E270 48 00 00 6C */ b lbl_802A137C
lbl_802A1314:
/* 802A1314 0029E274 28 00 00 00 */ cmplwi r0, 0
/* 802A1318 0029E278 40 82 00 20 */ bne lbl_802A1338
/* 802A131C 0029E27C 38 80 00 02 */ li r4, 2
/* 802A1320 0029E280 38 60 00 01 */ li r3, 1
/* 802A1324 0029E284 38 00 00 00 */ li r0, 0
/* 802A1328 0029E288 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A132C 0029E28C 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A1330 0029E290 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A1334 0029E294 48 00 00 48 */ b lbl_802A137C
lbl_802A1338:
/* 802A1338 0029E298 28 03 00 00 */ cmplwi r3, 0
/* 802A133C 0029E29C 41 82 00 20 */ beq lbl_802A135C
/* 802A1340 0029E2A0 38 80 00 01 */ li r4, 1
/* 802A1344 0029E2A4 38 60 00 00 */ li r3, 0
/* 802A1348 0029E2A8 38 00 00 02 */ li r0, 2
/* 802A134C 0029E2AC 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A1350 0029E2B0 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A1354 0029E2B4 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A1358 0029E2B8 48 00 00 24 */ b lbl_802A137C
lbl_802A135C:
/* 802A135C 0029E2BC 38 80 00 01 */ li r4, 1
/* 802A1360 0029E2C0 38 60 00 02 */ li r3, 2
/* 802A1364 0029E2C4 38 00 00 00 */ li r0, 0
/* 802A1368 0029E2C8 90 81 00 74 */ stw r4, 0x74(r1)
/* 802A136C 0029E2CC 90 61 00 78 */ stw r3, 0x78(r1)
/* 802A1370 0029E2D0 90 01 00 7C */ stw r0, 0x7c(r1)
/* 802A1374 0029E2D4 48 00 00 08 */ b lbl_802A137C
/* 802A1378 0029E2D8 48 00 01 F4 */ b lbl_802A156C
lbl_802A137C:
/* 802A137C 0029E2DC C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 802A1380 0029E2E0 3A 00 00 00 */ li r16, 0
/* 802A1384 0029E2E4 C0 5C 00 10 */ lfs f2, 0x10(r28)
/* 802A1388 0029E2E8 38 00 00 00 */ li r0, 0
/* 802A138C 0029E2EC EC 1C 00 32 */ fmuls f0, f28, f0
/* 802A1390 0029E2F0 C0 3C 00 00 */ lfs f1, 0(r28)
/* 802A1394 0029E2F4 C0 7C 00 14 */ lfs f3, 0x14(r28)
/* 802A1398 0029E2F8 EC BC 00 B2 */ fmuls f5, f28, f2
/* 802A139C 0029E2FC C0 DC 00 04 */ lfs f6, 4(r28)
/* 802A13A0 0029E300 38 60 00 01 */ li r3, 1
/* 802A13A4 0029E304 EC 41 00 2A */ fadds f2, f1, f0
/* 802A13A8 0029E308 C0 9C 00 08 */ lfs f4, 8(r28)
/* 802A13AC 0029E30C EC 7C 00 F2 */ fmuls f3, f28, f3
/* 802A13B0 0029E310 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 802A13B4 0029E314 EC A6 28 2A */ fadds f5, f6, f5
/* 802A13B8 0029E318 FC 20 10 18 */ frsp f1, f2
/* 802A13BC 0029E31C EC 64 18 2A */ fadds f3, f4, f3
/* 802A13C0 0029E320 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 802A13C4 0029E324 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A13C8 0029E328 D0 A1 00 48 */ stfs f5, 0x48(r1)
/* 802A13CC 0029E32C D0 61 00 4C */ stfs f3, 0x4c(r1)
/* 802A13D0 0029E330 4C 41 13 82 */ cror 2, 1, 2
/* 802A13D4 0029E334 40 82 00 0C */ bne lbl_802A13E0
/* 802A13D8 0029E338 7C 60 00 30 */ slw r0, r3, r0
/* 802A13DC 0029E33C 7C 10 03 78 */ mr r16, r0
lbl_802A13E0:
/* 802A13E0 0029E340 C0 21 00 48 */ lfs f1, 0x48(r1)
/* 802A13E4 0029E344 38 00 00 01 */ li r0, 1
/* 802A13E8 0029E348 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 802A13EC 0029E34C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A13F0 0029E350 4C 41 13 82 */ cror 2, 1, 2
/* 802A13F4 0029E354 40 82 00 0C */ bne lbl_802A1400
/* 802A13F8 0029E358 7C 60 00 30 */ slw r0, r3, r0
/* 802A13FC 0029E35C 7E 10 03 78 */ or r16, r16, r0
lbl_802A1400:
/* 802A1400 0029E360 C0 21 00 4C */ lfs f1, 0x4c(r1)
/* 802A1404 0029E364 38 00 00 02 */ li r0, 2
/* 802A1408 0029E368 C0 12 00 08 */ lfs f0, 8(r18)
/* 802A140C 0029E36C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A1410 0029E370 4C 41 13 82 */ cror 2, 1, 2
/* 802A1414 0029E374 40 82 00 0C */ bne lbl_802A1420
/* 802A1418 0029E378 7C 60 00 30 */ slw r0, r3, r0
/* 802A141C 0029E37C 7E 10 03 78 */ or r16, r16, r0
lbl_802A1420:
/* 802A1420 0029E380 FE A0 E0 90 */ fmr f21, f28
/* 802A1424 0029E384 3A 61 00 70 */ addi r19, r1, 0x70
/* 802A1428 0029E388 3A 91 FF FF */ addi r20, r17, -1
/* 802A142C 0029E38C 3A 40 FF FF */ li r18, -1
/* 802A1430 0029E390 48 00 01 34 */ b lbl_802A1564
lbl_802A1434:
/* 802A1434 0029E394 2C 12 00 00 */ cmpwi r18, 0
/* 802A1438 0029E398 41 80 00 14 */ blt lbl_802A144C
/* 802A143C 0029E39C 80 13 00 00 */ lwz r0, 0(r19)
/* 802A1440 0029E3A0 38 60 00 01 */ li r3, 1
/* 802A1444 0029E3A4 7C 60 00 30 */ slw r0, r3, r0
/* 802A1448 0029E3A8 7E 10 02 78 */ xor r16, r16, r0
lbl_802A144C:
/* 802A144C 0029E3AC 7C 12 A0 00 */ cmpw r18, r20
/* 802A1450 0029E3B0 40 80 00 18 */ bge lbl_802A1468
/* 802A1454 0029E3B4 80 13 00 04 */ lwz r0, 4(r19)
/* 802A1458 0029E3B8 38 61 00 84 */ addi r3, r1, 0x84
/* 802A145C 0029E3BC 54 00 10 3A */ slwi r0, r0, 2
/* 802A1460 0029E3C0 7E C3 04 2E */ lfsx f22, r3, r0
/* 802A1464 0029E3C4 48 00 00 08 */ b lbl_802A146C
lbl_802A1468:
/* 802A1468 0029E3C8 FE C0 D0 90 */ fmr f22, f26
lbl_802A146C:
/* 802A146C 0029E3CC FC 16 F8 40 */ fcmpo cr0, f22, f31
/* 802A1470 0029E3D0 40 81 00 E8 */ ble lbl_802A1558
/* 802A1474 0029E3D4 FC 15 B0 40 */ fcmpo cr0, f21, f22
/* 802A1478 0029E3D8 4C 40 13 82 */ cror 2, 0, 2
/* 802A147C 0029E3DC 40 82 00 DC */ bne lbl_802A1558
/* 802A1480 0029E3E0 7F 64 DB 78 */ mr r4, r27
/* 802A1484 0029E3E4 7E 05 83 78 */ mr r5, r16
/* 802A1488 0029E3E8 38 61 01 00 */ addi r3, r1, 0x100
/* 802A148C 0029E3EC 48 00 18 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A1490 0029E3F0 80 01 01 20 */ lwz r0, 0x120(r1)
/* 802A1494 0029E3F4 C0 A1 01 00 */ lfs f5, 0x100(r1)
/* 802A1498 0029E3F8 C0 81 01 04 */ lfs f4, 0x104(r1)
/* 802A149C 0029E3FC 2C 00 00 00 */ cmpwi r0, 0
/* 802A14A0 0029E400 C0 61 01 08 */ lfs f3, 0x108(r1)
/* 802A14A4 0029E404 C0 41 01 0C */ lfs f2, 0x10c(r1)
/* 802A14A8 0029E408 C0 21 01 10 */ lfs f1, 0x110(r1)
/* 802A14AC 0029E40C C0 01 01 14 */ lfs f0, 0x114(r1)
/* 802A14B0 0029E410 80 81 01 18 */ lwz r4, 0x118(r1)
/* 802A14B4 0029E414 80 61 01 1C */ lwz r3, 0x11c(r1)
/* 802A14B8 0029E418 D0 A1 02 14 */ stfs f5, 0x214(r1)
/* 802A14BC 0029E41C D0 81 02 18 */ stfs f4, 0x218(r1)
/* 802A14C0 0029E420 D0 61 02 1C */ stfs f3, 0x21c(r1)
/* 802A14C4 0029E424 D0 41 02 20 */ stfs f2, 0x220(r1)
/* 802A14C8 0029E428 D0 21 02 24 */ stfs f1, 0x224(r1)
/* 802A14CC 0029E42C D0 01 02 28 */ stfs f0, 0x228(r1)
/* 802A14D0 0029E430 90 81 02 2C */ stw r4, 0x22c(r1)
/* 802A14D4 0029E434 90 61 02 30 */ stw r3, 0x230(r1)
/* 802A14D8 0029E438 90 01 02 34 */ stw r0, 0x234(r1)
/* 802A14DC 0029E43C 41 82 00 28 */ beq lbl_802A1504
/* 802A14E0 0029E440 FC 20 A8 90 */ fmr f1, f21
/* 802A14E4 0029E444 7F 84 E3 78 */ mr r4, r28
/* 802A14E8 0029E448 FC 40 B0 90 */ fmr f2, f22
/* 802A14EC 0029E44C 7F A5 EB 78 */ mr r5, r29
/* 802A14F0 0029E450 FC 60 C8 90 */ fmr f3, f25
/* 802A14F4 0029E454 7F C6 F3 78 */ mr r6, r30
/* 802A14F8 0029E458 7F E7 FB 78 */ mr r7, r31
/* 802A14FC 0029E45C 38 61 02 14 */ addi r3, r1, 0x214
/* 802A1500 0029E460 4B FF F5 0D */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f
lbl_802A1504:
/* 802A1504 0029E464 88 1E 00 38 */ lbz r0, 0x38(r30)
/* 802A1508 0029E468 28 00 00 00 */ cmplwi r0, 0
/* 802A150C 0029E46C 41 82 00 4C */ beq lbl_802A1558
/* 802A1510 0029E470 C0 1E 00 3C */ lfs f0, 0x3c(r30)
/* 802A1514 0029E474 FC 00 D8 40 */ fcmpo cr0, f0, f27
/* 802A1518 0029E478 40 81 00 54 */ ble lbl_802A156C
/* 802A151C 0029E47C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A1520 0029E480 38 00 00 00 */ li r0, 0
/* 802A1524 0029E484 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A1528 0029E488 7F C3 F3 78 */ mr r3, r30
/* 802A152C 0029E48C D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 802A1530 0029E490 38 81 00 C0 */ addi r4, r1, 0xc0
/* 802A1534 0029E494 D0 21 00 C0 */ stfs f1, 0xc0(r1)
/* 802A1538 0029E498 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 802A153C 0029E49C D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 802A1540 0029E4A0 98 01 00 F8 */ stb r0, 0xf8(r1)
/* 802A1544 0029E4A4 D0 01 00 FC */ stfs f0, 0xfc(r1)
/* 802A1548 0029E4A8 48 00 00 91 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
/* 802A154C 0029E4AC 38 00 00 00 */ li r0, 0
/* 802A1550 0029E4B0 98 01 00 F8 */ stb r0, 0xf8(r1)
/* 802A1554 0029E4B4 48 00 00 18 */ b lbl_802A156C
lbl_802A1558:
/* 802A1558 0029E4B8 FE A0 B0 90 */ fmr f21, f22
/* 802A155C 0029E4BC 3A 73 00 04 */ addi r19, r19, 4
/* 802A1560 0029E4C0 3A 52 00 01 */ addi r18, r18, 1
lbl_802A1564:
/* 802A1564 0029E4C4 7C 12 88 00 */ cmpw r18, r17
/* 802A1568 0029E4C8 41 80 FE CC */ blt lbl_802A1434
lbl_802A156C:
/* 802A156C 0029E4CC E3 E1 04 58 */ psq_l f31, 1112(r1), 0, qr0
/* 802A1570 0029E4D0 CB E1 04 50 */ lfd f31, 0x450(r1)
/* 802A1574 0029E4D4 E3 C1 04 48 */ psq_l f30, 1096(r1), 0, qr0
/* 802A1578 0029E4D8 CB C1 04 40 */ lfd f30, 0x440(r1)
/* 802A157C 0029E4DC E3 A1 04 38 */ psq_l f29, 1080(r1), 0, qr0
/* 802A1580 0029E4E0 CB A1 04 30 */ lfd f29, 0x430(r1)
/* 802A1584 0029E4E4 E3 81 04 28 */ psq_l f28, 1064(r1), 0, qr0
/* 802A1588 0029E4E8 CB 81 04 20 */ lfd f28, 0x420(r1)
/* 802A158C 0029E4EC E3 61 04 18 */ psq_l f27, 1048(r1), 0, qr0
/* 802A1590 0029E4F0 CB 61 04 10 */ lfd f27, 0x410(r1)
/* 802A1594 0029E4F4 E3 41 04 08 */ psq_l f26, 1032(r1), 0, qr0
/* 802A1598 0029E4F8 CB 41 04 00 */ lfd f26, 0x400(r1)
/* 802A159C 0029E4FC E3 21 03 F8 */ psq_l f25, 1016(r1), 0, qr0
/* 802A15A0 0029E500 CB 21 03 F0 */ lfd f25, 0x3f0(r1)
/* 802A15A4 0029E504 E3 01 03 E8 */ psq_l f24, 1000(r1), 0, qr0
/* 802A15A8 0029E508 CB 01 03 E0 */ lfd f24, 0x3e0(r1)
/* 802A15AC 0029E50C E2 E1 03 D8 */ psq_l f23, 984(r1), 0, qr0
/* 802A15B0 0029E510 CA E1 03 D0 */ lfd f23, 0x3d0(r1)
/* 802A15B4 0029E514 E2 C1 03 C8 */ psq_l f22, 968(r1), 0, qr0
/* 802A15B8 0029E518 CA C1 03 C0 */ lfd f22, 0x3c0(r1)
/* 802A15BC 0029E51C E2 A1 03 B8 */ psq_l f21, 952(r1), 0, qr0
/* 802A15C0 0029E520 CA A1 03 B0 */ lfd f21, 0x3b0(r1)
/* 802A15C4 0029E524 BA 01 03 70 */ lmw r16, 0x370(r1)
/* 802A15C8 0029E528 80 01 04 64 */ lwz r0, 0x464(r1)
/* 802A15CC 0029E52C 7C 08 03 A6 */ mtlr r0
/* 802A15D0 0029E530 38 21 04 60 */ addi r1, r1, 0x460
/* 802A15D4 0029E534 4E 80 00 20 */ blr
.global __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult
__as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult:
/* 802A15D8 0029E538 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802A15DC 0029E53C 7C 08 02 A6 */ mflr r0
/* 802A15E0 0029E540 90 01 00 14 */ stw r0, 0x14(r1)
/* 802A15E4 0029E544 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802A15E8 0029E548 7C 9F 23 78 */ mr r31, r4
/* 802A15EC 0029E54C 93 C1 00 08 */ stw r30, 8(r1)
/* 802A15F0 0029E550 7C 7E 1B 78 */ mr r30, r3
/* 802A15F4 0029E554 38 7E 00 10 */ addi r3, r30, 0x10
/* 802A15F8 0029E558 C0 04 00 00 */ lfs f0, 0(r4)
/* 802A15FC 0029E55C 38 9F 00 10 */ addi r4, r31, 0x10
/* 802A1600 0029E560 D0 1E 00 00 */ stfs f0, 0(r30)
/* 802A1604 0029E564 C0 1F 00 04 */ lfs f0, 4(r31)
/* 802A1608 0029E568 D0 1E 00 04 */ stfs f0, 4(r30)
/* 802A160C 0029E56C C0 1F 00 08 */ lfs f0, 8(r31)
/* 802A1610 0029E570 D0 1E 00 08 */ stfs f0, 8(r30)
/* 802A1614 0029E574 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 802A1618 0029E578 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 802A161C 0029E57C 48 00 00 29 */ bl "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>"
/* 802A1620 0029E580 C0 1F 00 3C */ lfs f0, 0x3c(r31)
/* 802A1624 0029E584 7F C3 F3 78 */ mr r3, r30
/* 802A1628 0029E588 D0 1E 00 3C */ stfs f0, 0x3c(r30)
/* 802A162C 0029E58C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802A1630 0029E590 83 C1 00 08 */ lwz r30, 8(r1)
/* 802A1634 0029E594 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802A1638 0029E598 7C 08 03 A6 */ mtlr r0
/* 802A163C 0029E59C 38 21 00 10 */ addi r1, r1, 0x10
/* 802A1640 0029E5A0 4E 80 00 20 */ blr
.global "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>"
"__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>":
/* 802A1644 0029E5A4 7C 03 20 40 */ cmplw r3, r4
/* 802A1648 0029E5A8 4D 82 00 20 */ beqlr
/* 802A164C 0029E5AC 88 04 00 28 */ lbz r0, 0x28(r4)
/* 802A1650 0029E5B0 28 00 00 00 */ cmplwi r0, 0
/* 802A1654 0029E5B4 41 82 00 C8 */ beq lbl_802A171C
/* 802A1658 0029E5B8 88 03 00 28 */ lbz r0, 0x28(r3)
/* 802A165C 0029E5BC 28 00 00 00 */ cmplwi r0, 0
/* 802A1660 0029E5C0 40 82 00 68 */ bne lbl_802A16C8
/* 802A1664 0029E5C4 28 03 00 00 */ cmplwi r3, 0
/* 802A1668 0029E5C8 41 82 00 54 */ beq lbl_802A16BC
/* 802A166C 0029E5CC C0 04 00 00 */ lfs f0, 0(r4)
/* 802A1670 0029E5D0 D0 03 00 00 */ stfs f0, 0(r3)
/* 802A1674 0029E5D4 C0 04 00 04 */ lfs f0, 4(r4)
/* 802A1678 0029E5D8 D0 03 00 04 */ stfs f0, 4(r3)
/* 802A167C 0029E5DC C0 04 00 08 */ lfs f0, 8(r4)
/* 802A1680 0029E5E0 D0 03 00 08 */ stfs f0, 8(r3)
/* 802A1684 0029E5E4 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 802A1688 0029E5E8 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 802A168C 0029E5EC C0 04 00 10 */ lfs f0, 0x10(r4)
/* 802A1690 0029E5F0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 802A1694 0029E5F4 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 802A1698 0029E5F8 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 802A169C 0029E5FC C0 04 00 18 */ lfs f0, 0x18(r4)
/* 802A16A0 0029E600 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 802A16A4 0029E604 C0 04 00 1C */ lfs f0, 0x1c(r4)
/* 802A16A8 0029E608 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 802A16AC 0029E60C C0 04 00 20 */ lfs f0, 0x20(r4)
/* 802A16B0 0029E610 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 802A16B4 0029E614 80 04 00 24 */ lwz r0, 0x24(r4)
/* 802A16B8 0029E618 90 03 00 24 */ stw r0, 0x24(r3)
lbl_802A16BC:
/* 802A16BC 0029E61C 38 00 00 01 */ li r0, 1
/* 802A16C0 0029E620 98 03 00 28 */ stb r0, 0x28(r3)
/* 802A16C4 0029E624 4E 80 00 20 */ blr
lbl_802A16C8:
/* 802A16C8 0029E628 80 A4 00 00 */ lwz r5, 0(r4)
/* 802A16CC 0029E62C 80 04 00 04 */ lwz r0, 4(r4)
/* 802A16D0 0029E630 90 A3 00 00 */ stw r5, 0(r3)
/* 802A16D4 0029E634 90 03 00 04 */ stw r0, 4(r3)
/* 802A16D8 0029E638 80 04 00 08 */ lwz r0, 8(r4)
/* 802A16DC 0029E63C 90 03 00 08 */ stw r0, 8(r3)
/* 802A16E0 0029E640 80 A4 00 0C */ lwz r5, 0xc(r4)
/* 802A16E4 0029E644 80 04 00 10 */ lwz r0, 0x10(r4)
/* 802A16E8 0029E648 90 A3 00 0C */ stw r5, 0xc(r3)
/* 802A16EC 0029E64C 90 03 00 10 */ stw r0, 0x10(r3)
/* 802A16F0 0029E650 80 04 00 14 */ lwz r0, 0x14(r4)
/* 802A16F4 0029E654 90 03 00 14 */ stw r0, 0x14(r3)
/* 802A16F8 0029E658 80 A4 00 18 */ lwz r5, 0x18(r4)
/* 802A16FC 0029E65C 80 04 00 1C */ lwz r0, 0x1c(r4)
/* 802A1700 0029E660 90 A3 00 18 */ stw r5, 0x18(r3)
/* 802A1704 0029E664 90 03 00 1C */ stw r0, 0x1c(r3)
/* 802A1708 0029E668 80 04 00 20 */ lwz r0, 0x20(r4)
/* 802A170C 0029E66C 90 03 00 20 */ stw r0, 0x20(r3)
/* 802A1710 0029E670 80 04 00 24 */ lwz r0, 0x24(r4)
/* 802A1714 0029E674 90 03 00 24 */ stw r0, 0x24(r3)
/* 802A1718 0029E678 4E 80 00 20 */ blr
lbl_802A171C:
/* 802A171C 0029E67C 38 00 00 00 */ li r0, 0
/* 802A1720 0029E680 98 03 00 28 */ stb r0, 0x28(r3)
/* 802A1724 0029E684 4E 80 00 20 */ blr
.global LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f
LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f:
/* 802A1728 0029E688 94 21 FC 70 */ stwu r1, -0x390(r1)
/* 802A172C 0029E68C 7C 08 02 A6 */ mflr r0
/* 802A1730 0029E690 90 01 03 94 */ stw r0, 0x394(r1)
/* 802A1734 0029E694 DB E1 03 80 */ stfd f31, 0x380(r1)
/* 802A1738 0029E698 F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0
/* 802A173C 0029E69C DB C1 03 70 */ stfd f30, 0x370(r1)
/* 802A1740 0029E6A0 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0
/* 802A1744 0029E6A4 DB A1 03 60 */ stfd f29, 0x360(r1)
/* 802A1748 0029E6A8 F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0
/* 802A174C 0029E6AC DB 81 03 50 */ stfd f28, 0x350(r1)
/* 802A1750 0029E6B0 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0
/* 802A1754 0029E6B4 DB 61 03 40 */ stfd f27, 0x340(r1)
/* 802A1758 0029E6B8 F3 61 03 48 */ psq_st f27, 840(r1), 0, qr0
/* 802A175C 0029E6BC DB 41 03 30 */ stfd f26, 0x330(r1)
/* 802A1760 0029E6C0 F3 41 03 38 */ psq_st f26, 824(r1), 0, qr0
/* 802A1764 0029E6C4 DB 21 03 20 */ stfd f25, 0x320(r1)
/* 802A1768 0029E6C8 F3 21 03 28 */ psq_st f25, 808(r1), 0, qr0
/* 802A176C 0029E6CC DB 01 03 10 */ stfd f24, 0x310(r1)
/* 802A1770 0029E6D0 F3 01 03 18 */ psq_st f24, 792(r1), 0, qr0
/* 802A1774 0029E6D4 DA E1 03 00 */ stfd f23, 0x300(r1)
/* 802A1778 0029E6D8 F2 E1 03 08 */ psq_st f23, 776(r1), 0, qr0
/* 802A177C 0029E6DC DA C1 02 F0 */ stfd f22, 0x2f0(r1)
/* 802A1780 0029E6E0 F2 C1 02 F8 */ psq_st f22, 760(r1), 0, qr0
/* 802A1784 0029E6E4 DA A1 02 E0 */ stfd f21, 0x2e0(r1)
/* 802A1788 0029E6E8 F2 A1 02 E8 */ psq_st f21, 744(r1), 0, qr0
/* 802A178C 0029E6EC BF 01 02 C0 */ stmw r24, 0x2c0(r1)
/* 802A1790 0029E6F0 FF 80 08 90 */ fmr f28, f1
/* 802A1794 0029E6F4 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2)
/* 802A1798 0029E6F8 FF 60 10 90 */ fmr f27, f2
/* 802A179C 0029E6FC C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2)
/* 802A17A0 0029E700 FF 40 18 90 */ fmr f26, f3
/* 802A17A4 0029E704 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A17A8 0029E708 3C E0 80 3D */ lis r7, lbl_803D5EF0@ha
/* 802A17AC 0029E70C EF E4 07 32 */ fmuls f31, f4, f28
/* 802A17B0 0029E710 FC 1A 00 00 */ fcmpu cr0, f26, f0
/* 802A17B4 0029E714 7C 7E 1B 78 */ mr r30, r3
/* 802A17B8 0029E718 EF C1 06 F2 */ fmuls f30, f1, f27
/* 802A17BC 0029E71C 7C 9F 23 78 */ mr r31, r4
/* 802A17C0 0029E720 7C BD 2B 78 */ mr r29, r5
/* 802A17C4 0029E724 7C DB 33 78 */ mr r27, r6
/* 802A17C8 0029E728 3B 07 5E F0 */ addi r24, r7, lbl_803D5EF0@l
/* 802A17CC 0029E72C 41 82 00 2C */ beq lbl_802A17F8
/* 802A17D0 0029E730 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 802A17D4 0029E734 40 80 00 08 */ bge lbl_802A17DC
/* 802A17D8 0029E738 FF E0 00 90 */ fmr f31, f0
lbl_802A17DC:
/* 802A17DC 0029E73C FC 1E D0 40 */ fcmpo cr0, f30, f26
/* 802A17E0 0029E740 40 81 00 08 */ ble lbl_802A17E8
/* 802A17E4 0029E744 FF C0 D0 90 */ fmr f30, f26
lbl_802A17E8:
/* 802A17E8 0029E748 FC 1F F0 40 */ fcmpo cr0, f31, f30
/* 802A17EC 0029E74C 40 81 00 0C */ ble lbl_802A17F8
/* 802A17F0 0029E750 38 60 00 01 */ li r3, 1
/* 802A17F4 0029E754 48 00 0A 4C */ b lbl_802A2240
lbl_802A17F8:
/* 802A17F8 0029E758 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 802A17FC 0029E75C 2C 00 00 02 */ cmpwi r0, 2
/* 802A1800 0029E760 40 82 01 C0 */ bne lbl_802A19C0
/* 802A1804 0029E764 7F C4 F3 78 */ mr r4, r30
/* 802A1808 0029E768 38 61 00 08 */ addi r3, r1, 8
/* 802A180C 0029E76C 48 00 15 31 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv
/* 802A1810 0029E770 83 01 00 08 */ lwz r24, 8(r1)
/* 802A1814 0029E774 3B 40 00 00 */ li r26, 0
/* 802A1818 0029E778 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2)
/* 802A181C 0029E77C A3 38 00 18 */ lhz r25, 0x18(r24)
/* 802A1820 0029E780 48 00 01 90 */ b lbl_802A19B0
lbl_802A1824:
/* 802A1824 0029E784 80 9E 00 1C */ lwz r4, 0x1c(r30)
/* 802A1828 0029E788 38 61 02 00 */ addi r3, r1, 0x200
/* 802A182C 0029E78C A0 B8 00 1A */ lhz r5, 0x1a(r24)
/* 802A1830 0029E790 48 00 12 05 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs
/* 802A1834 0029E794 C0 21 02 08 */ lfs f1, 0x208(r1)
/* 802A1838 0029E798 C2 C1 02 20 */ lfs f22, 0x220(r1)
/* 802A183C 0029E79C C3 21 02 14 */ lfs f25, 0x214(r1)
/* 802A1840 0029E7A0 C0 61 02 00 */ lfs f3, 0x200(r1)
/* 802A1844 0029E7A4 EC F6 08 28 */ fsubs f7, f22, f1
/* 802A1848 0029E7A8 C3 01 02 18 */ lfs f24, 0x218(r1)
/* 802A184C 0029E7AC EC 99 08 28 */ fsubs f4, f25, f1
/* 802A1850 0029E7B0 C0 41 02 04 */ lfs f2, 0x204(r1)
/* 802A1854 0029E7B4 C2 E1 02 1C */ lfs f23, 0x21c(r1)
/* 802A1858 0029E7B8 ED 38 18 28 */ fsubs f9, f24, f3
/* 802A185C 0029E7BC C3 41 02 10 */ lfs f26, 0x210(r1)
/* 802A1860 0029E7C0 C1 BF 00 0C */ lfs f13, 0xc(r31)
/* 802A1864 0029E7C4 ED 17 10 28 */ fsubs f8, f23, f2
/* 802A1868 0029E7C8 C2 A1 02 0C */ lfs f21, 0x20c(r1)
/* 802A186C 0029E7CC EC BA 10 28 */ fsubs f5, f26, f2
/* 802A1870 0029E7D0 C3 7F 00 14 */ lfs f27, 0x14(r31)
/* 802A1874 0029E7D4 EC C7 03 72 */ fmuls f6, f7, f13
/* 802A1878 0029E7D8 C3 9F 00 10 */ lfs f28, 0x10(r31)
/* 802A187C 0029E7DC EC 08 06 F2 */ fmuls f0, f8, f27
/* 802A1880 0029E7E0 80 61 02 24 */ lwz r3, 0x224(r1)
/* 802A1884 0029E7E4 ED 7B 32 78 */ fmsubs f11, f27, f9, f6
/* 802A1888 0029E7E8 D0 61 02 94 */ stfs f3, 0x294(r1)
/* 802A188C 0029E7EC ED 89 07 32 */ fmuls f12, f9, f28
/* 802A1890 0029E7F0 EC D5 18 28 */ fsubs f6, f21, f3
/* 802A1894 0029E7F4 ED 5C 01 F8 */ fmsubs f10, f28, f7, f0
/* 802A1898 0029E7F8 D0 41 02 98 */ stfs f2, 0x298(r1)
/* 802A189C 0029E7FC EC 05 02 F2 */ fmuls f0, f5, f11
/* 802A18A0 0029E800 ED 8D 62 38 */ fmsubs f12, f13, f8, f12
/* 802A18A4 0029E804 D0 21 02 9C */ stfs f1, 0x29c(r1)
/* 802A18A8 0029E808 EC 06 02 BA */ fmadds f0, f6, f10, f0
/* 802A18AC 0029E80C D2 A1 02 A0 */ stfs f21, 0x2a0(r1)
/* 802A18B0 0029E810 D3 41 02 A4 */ stfs f26, 0x2a4(r1)
/* 802A18B4 0029E814 EE A4 03 3A */ fmadds f21, f4, f12, f0
/* 802A18B8 0029E818 D3 21 02 A8 */ stfs f25, 0x2a8(r1)
/* 802A18BC 0029E81C FC 00 AA 10 */ fabs f0, f21
/* 802A18C0 0029E820 D3 01 02 AC */ stfs f24, 0x2ac(r1)
/* 802A18C4 0029E824 D2 E1 02 B0 */ stfs f23, 0x2b0(r1)
/* 802A18C8 0029E828 FC 00 00 18 */ frsp f0, f0
/* 802A18CC 0029E82C D2 C1 02 B4 */ stfs f22, 0x2b4(r1)
/* 802A18D0 0029E830 FC 00 E8 40 */ fcmpo cr0, f0, f29
/* 802A18D4 0029E834 90 61 02 B8 */ stw r3, 0x2b8(r1)
/* 802A18D8 0029E838 41 80 00 D0 */ blt lbl_802A19A8
/* 802A18DC 0029E83C C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2)
/* 802A18E0 0029E840 C2 FF 00 04 */ lfs f23, 4(r31)
/* 802A18E4 0029E844 EF 40 A8 24 */ fdivs f26, f0, f21
/* 802A18E8 0029E848 C2 DF 00 00 */ lfs f22, 0(r31)
/* 802A18EC 0029E84C C3 1F 00 08 */ lfs f24, 8(r31)
/* 802A18F0 0029E850 C3 22 C1 24 */ lfs f25, lbl_805ADE44@sda21(r2)
/* 802A18F4 0029E854 EE F7 10 28 */ fsubs f23, f23, f2
/* 802A18F8 0029E858 EE D6 18 28 */ fsubs f22, f22, f3
/* 802A18FC 0029E85C EE B8 08 28 */ fsubs f21, f24, f1
/* 802A1900 0029E860 EC 37 02 F2 */ fmuls f1, f23, f11
/* 802A1904 0029E864 EC 36 0A BA */ fmadds f1, f22, f10, f1
/* 802A1908 0029E868 EC 35 0B 3A */ fmadds f1, f21, f12, f1
/* 802A190C 0029E86C ED 5A 00 72 */ fmuls f10, f26, f1
/* 802A1910 0029E870 FC 0A C8 40 */ fcmpo cr0, f10, f25
/* 802A1914 0029E874 41 80 00 94 */ blt lbl_802A19A8
/* 802A1918 0029E878 FC 0A 00 40 */ fcmpo cr0, f10, f0
/* 802A191C 0029E87C 41 81 00 8C */ bgt lbl_802A19A8
/* 802A1920 0029E880 EC 44 05 B2 */ fmuls f2, f4, f22
/* 802A1924 0029E884 EC 25 05 72 */ fmuls f1, f5, f21
/* 802A1928 0029E888 EC 66 05 F2 */ fmuls f3, f6, f23
/* 802A192C 0029E88C EC D5 11 B8 */ fmsubs f6, f21, f6, f2
/* 802A1930 0029E890 EC 57 09 38 */ fmsubs f2, f23, f4, f1
/* 802A1934 0029E894 EC 76 19 78 */ fmsubs f3, f22, f5, f3
/* 802A1938 0029E898 EC 26 02 32 */ fmuls f1, f6, f8
/* 802A193C 0029E89C EC 22 0A 7A */ fmadds f1, f2, f9, f1
/* 802A1940 0029E8A0 EC 23 09 FA */ fmadds f1, f3, f7, f1
/* 802A1944 0029E8A4 EC 3A 00 72 */ fmuls f1, f26, f1
/* 802A1948 0029E8A8 FC 01 F0 40 */ fcmpo cr0, f1, f30
/* 802A194C 0029E8AC 4C 41 13 82 */ cror 2, 1, 2
/* 802A1950 0029E8B0 41 82 00 58 */ beq lbl_802A19A8
/* 802A1954 0029E8B4 FC 01 F8 40 */ fcmpo cr0, f1, f31
/* 802A1958 0029E8B8 41 80 00 50 */ blt lbl_802A19A8
/* 802A195C 0029E8BC EC 26 07 32 */ fmuls f1, f6, f28
/* 802A1960 0029E8C0 EC 22 0B 7A */ fmadds f1, f2, f13, f1
/* 802A1964 0029E8C4 EC 23 0E FA */ fmadds f1, f3, f27, f1
/* 802A1968 0029E8C8 EC 3A 00 72 */ fmuls f1, f26, f1
/* 802A196C 0029E8CC FC 01 C8 40 */ fcmpo cr0, f1, f25
/* 802A1970 0029E8D0 41 80 00 38 */ blt lbl_802A19A8
/* 802A1974 0029E8D4 EC 2A 08 2A */ fadds f1, f10, f1
/* 802A1978 0029E8D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A197C 0029E8DC 41 81 00 2C */ bgt lbl_802A19A8
/* 802A1980 0029E8E0 38 00 00 00 */ li r0, 0
/* 802A1984 0029E8E4 90 61 00 24 */ stw r3, 0x24(r1)
/* 802A1988 0029E8E8 7F A3 EB 78 */ mr r3, r29
/* 802A198C 0029E8EC 38 81 00 20 */ addi r4, r1, 0x20
/* 802A1990 0029E8F0 90 01 00 20 */ stw r0, 0x20(r1)
/* 802A1994 0029E8F4 48 03 39 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList
/* 802A1998 0029E8F8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A199C 0029E8FC 41 82 00 0C */ beq lbl_802A19A8
/* 802A19A0 0029E900 38 60 00 00 */ li r3, 0
/* 802A19A4 0029E904 48 00 08 9C */ b lbl_802A2240
lbl_802A19A8:
/* 802A19A8 0029E908 3B 18 00 02 */ addi r24, r24, 2
/* 802A19AC 0029E90C 3B 5A 00 01 */ addi r26, r26, 1
lbl_802A19B0:
/* 802A19B0 0029E910 7C 1A C8 00 */ cmpw r26, r25
/* 802A19B4 0029E914 41 80 FE 70 */ blt lbl_802A1824
/* 802A19B8 0029E918 38 60 00 01 */ li r3, 1
/* 802A19BC 0029E91C 48 00 08 84 */ b lbl_802A2240
lbl_802A19C0:
/* 802A19C0 0029E920 2C 00 00 01 */ cmpwi r0, 1
/* 802A19C4 0029E924 40 82 08 78 */ bne lbl_802A223C
/* 802A19C8 0029E928 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 802A19CC 0029E92C A0 03 00 00 */ lhz r0, 0(r3)
/* 802A19D0 0029E930 28 00 00 0A */ cmplwi r0, 0xa
/* 802A19D4 0029E934 40 82 01 94 */ bne lbl_802A1B68
/* 802A19D8 0029E938 7F C4 F3 78 */ mr r4, r30
/* 802A19DC 0029E93C 38 61 01 DC */ addi r3, r1, 0x1dc
/* 802A19E0 0029E940 38 A0 00 00 */ li r5, 0
/* 802A19E4 0029E944 48 00 13 7D */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A19E8 0029E948 C0 A1 01 DC */ lfs f5, 0x1dc(r1)
/* 802A19EC 0029E94C 7F E4 FB 78 */ mr r4, r31
/* 802A19F0 0029E950 C0 81 01 E0 */ lfs f4, 0x1e0(r1)
/* 802A19F4 0029E954 38 61 01 7C */ addi r3, r1, 0x17c
/* 802A19F8 0029E958 C0 61 01 E4 */ lfs f3, 0x1e4(r1)
/* 802A19FC 0029E95C 38 A1 00 18 */ addi r5, r1, 0x18
/* 802A1A00 0029E960 C0 41 01 E8 */ lfs f2, 0x1e8(r1)
/* 802A1A04 0029E964 38 C1 00 14 */ addi r6, r1, 0x14
/* 802A1A08 0029E968 C0 21 01 EC */ lfs f1, 0x1ec(r1)
/* 802A1A0C 0029E96C C0 01 01 F0 */ lfs f0, 0x1f0(r1)
/* 802A1A10 0029E970 81 01 01 F4 */ lwz r8, 0x1f4(r1)
/* 802A1A14 0029E974 80 E1 01 F8 */ lwz r7, 0x1f8(r1)
/* 802A1A18 0029E978 80 01 01 FC */ lwz r0, 0x1fc(r1)
/* 802A1A1C 0029E97C D0 A1 02 70 */ stfs f5, 0x270(r1)
/* 802A1A20 0029E980 D0 81 02 74 */ stfs f4, 0x274(r1)
/* 802A1A24 0029E984 D0 61 02 78 */ stfs f3, 0x278(r1)
/* 802A1A28 0029E988 D0 41 02 7C */ stfs f2, 0x27c(r1)
/* 802A1A2C 0029E98C D0 21 02 80 */ stfs f1, 0x280(r1)
/* 802A1A30 0029E990 D0 01 02 84 */ stfs f0, 0x284(r1)
/* 802A1A34 0029E994 91 01 02 88 */ stw r8, 0x288(r1)
/* 802A1A38 0029E998 90 E1 02 8C */ stw r7, 0x28c(r1)
/* 802A1A3C 0029E99C 90 01 02 90 */ stw r0, 0x290(r1)
/* 802A1A40 0029E9A0 D0 A1 01 7C */ stfs f5, 0x17c(r1)
/* 802A1A44 0029E9A4 D0 81 01 80 */ stfs f4, 0x180(r1)
/* 802A1A48 0029E9A8 D0 61 01 84 */ stfs f3, 0x184(r1)
/* 802A1A4C 0029E9AC D0 41 01 88 */ stfs f2, 0x188(r1)
/* 802A1A50 0029E9B0 D0 21 01 8C */ stfs f1, 0x18c(r1)
/* 802A1A54 0029E9B4 D0 01 01 90 */ stfs f0, 0x190(r1)
/* 802A1A58 0029E9B8 D3 81 00 18 */ stfs f28, 0x18(r1)
/* 802A1A5C 0029E9BC D3 61 00 14 */ stfs f27, 0x14(r1)
/* 802A1A60 0029E9C0 48 00 0A 15 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A1A64 0029E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A1A68 0029E9C8 41 82 00 34 */ beq lbl_802A1A9C
/* 802A1A6C 0029E9CC FC 60 D0 90 */ fmr f3, f26
/* 802A1A70 0029E9D0 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 802A1A74 0029E9D4 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 802A1A78 0029E9D8 7F E4 FB 78 */ mr r4, r31
/* 802A1A7C 0029E9DC 7F A5 EB 78 */ mr r5, r29
/* 802A1A80 0029E9E0 7F 66 DB 78 */ mr r6, r27
/* 802A1A84 0029E9E4 38 61 02 70 */ addi r3, r1, 0x270
/* 802A1A88 0029E9E8 4B FF FC A1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f
/* 802A1A8C 0029E9EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A1A90 0029E9F0 40 82 00 0C */ bne lbl_802A1A9C
/* 802A1A94 0029E9F4 38 60 00 00 */ li r3, 0
/* 802A1A98 0029E9F8 48 00 07 A8 */ b lbl_802A2240
lbl_802A1A9C:
/* 802A1A9C 0029E9FC 7F C4 F3 78 */ mr r4, r30
/* 802A1AA0 0029EA00 38 61 01 B8 */ addi r3, r1, 0x1b8
/* 802A1AA4 0029EA04 38 A0 00 01 */ li r5, 1
/* 802A1AA8 0029EA08 48 00 12 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A1AAC 0029EA0C C0 A1 01 B8 */ lfs f5, 0x1b8(r1)
/* 802A1AB0 0029EA10 7F E4 FB 78 */ mr r4, r31
/* 802A1AB4 0029EA14 C0 81 01 BC */ lfs f4, 0x1bc(r1)
/* 802A1AB8 0029EA18 38 61 01 64 */ addi r3, r1, 0x164
/* 802A1ABC 0029EA1C C0 61 01 C0 */ lfs f3, 0x1c0(r1)
/* 802A1AC0 0029EA20 38 A1 00 10 */ addi r5, r1, 0x10
/* 802A1AC4 0029EA24 C0 41 01 C4 */ lfs f2, 0x1c4(r1)
/* 802A1AC8 0029EA28 38 C1 00 0C */ addi r6, r1, 0xc
/* 802A1ACC 0029EA2C C0 21 01 C8 */ lfs f1, 0x1c8(r1)
/* 802A1AD0 0029EA30 C0 01 01 CC */ lfs f0, 0x1cc(r1)
/* 802A1AD4 0029EA34 81 01 01 D0 */ lwz r8, 0x1d0(r1)
/* 802A1AD8 0029EA38 80 E1 01 D4 */ lwz r7, 0x1d4(r1)
/* 802A1ADC 0029EA3C 80 01 01 D8 */ lwz r0, 0x1d8(r1)
/* 802A1AE0 0029EA40 D0 A1 02 4C */ stfs f5, 0x24c(r1)
/* 802A1AE4 0029EA44 D0 81 02 50 */ stfs f4, 0x250(r1)
/* 802A1AE8 0029EA48 D0 61 02 54 */ stfs f3, 0x254(r1)
/* 802A1AEC 0029EA4C D0 41 02 58 */ stfs f2, 0x258(r1)
/* 802A1AF0 0029EA50 D0 21 02 5C */ stfs f1, 0x25c(r1)
/* 802A1AF4 0029EA54 D0 01 02 60 */ stfs f0, 0x260(r1)
/* 802A1AF8 0029EA58 91 01 02 64 */ stw r8, 0x264(r1)
/* 802A1AFC 0029EA5C 90 E1 02 68 */ stw r7, 0x268(r1)
/* 802A1B00 0029EA60 90 01 02 6C */ stw r0, 0x26c(r1)
/* 802A1B04 0029EA64 D0 A1 01 64 */ stfs f5, 0x164(r1)
/* 802A1B08 0029EA68 D0 81 01 68 */ stfs f4, 0x168(r1)
/* 802A1B0C 0029EA6C D0 61 01 6C */ stfs f3, 0x16c(r1)
/* 802A1B10 0029EA70 D0 41 01 70 */ stfs f2, 0x170(r1)
/* 802A1B14 0029EA74 D0 21 01 74 */ stfs f1, 0x174(r1)
/* 802A1B18 0029EA78 D0 01 01 78 */ stfs f0, 0x178(r1)
/* 802A1B1C 0029EA7C D3 81 00 10 */ stfs f28, 0x10(r1)
/* 802A1B20 0029EA80 D3 61 00 0C */ stfs f27, 0xc(r1)
/* 802A1B24 0029EA84 48 00 09 51 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A1B28 0029EA88 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A1B2C 0029EA8C 41 82 00 34 */ beq lbl_802A1B60
/* 802A1B30 0029EA90 FC 60 D0 90 */ fmr f3, f26
/* 802A1B34 0029EA94 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 802A1B38 0029EA98 C0 41 00 0C */ lfs f2, 0xc(r1)
/* 802A1B3C 0029EA9C 7F E4 FB 78 */ mr r4, r31
/* 802A1B40 0029EAA0 7F A5 EB 78 */ mr r5, r29
/* 802A1B44 0029EAA4 7F 66 DB 78 */ mr r6, r27
/* 802A1B48 0029EAA8 38 61 02 4C */ addi r3, r1, 0x24c
/* 802A1B4C 0029EAAC 4B FF FB DD */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f
/* 802A1B50 0029EAB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A1B54 0029EAB4 40 82 00 0C */ bne lbl_802A1B60
/* 802A1B58 0029EAB8 38 60 00 00 */ li r3, 0
/* 802A1B5C 0029EABC 48 00 06 E4 */ b lbl_802A2240
lbl_802A1B60:
/* 802A1B60 0029EAC0 38 60 00 01 */ li r3, 1
/* 802A1B64 0029EAC4 48 00 06 DC */ b lbl_802A2240
lbl_802A1B68:
/* 802A1B68 0029EAC8 7F C4 F3 78 */ mr r4, r30
/* 802A1B6C 0029EACC 38 61 01 28 */ addi r3, r1, 0x128
/* 802A1B70 0029EAD0 48 09 5A 9D */ bl GetCenterPoint__6CAABoxCFv
/* 802A1B74 0029EAD4 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 802A1B78 0029EAD8 39 21 01 34 */ addi r9, r1, 0x134
/* 802A1B7C 0029EADC C0 9F 00 14 */ lfs f4, 0x14(r31)
/* 802A1B80 0029EAE0 38 00 00 03 */ li r0, 3
/* 802A1B84 0029EAE4 C0 5F 00 0C */ lfs f2, 0xc(r31)
/* 802A1B88 0029EAE8 EC BC 00 32 */ fmuls f5, f28, f0
/* 802A1B8C 0029EAEC C3 A1 01 28 */ lfs f29, 0x128(r1)
/* 802A1B90 0029EAF0 EC 7C 01 32 */ fmuls f3, f28, f4
/* 802A1B94 0029EAF4 C1 A1 01 2C */ lfs f13, 0x12c(r1)
/* 802A1B98 0029EAF8 EC 3C 00 B2 */ fmuls f1, f28, f2
/* 802A1B9C 0029EAFC C1 7F 00 04 */ lfs f11, 4(r31)
/* 802A1BA0 0029EB00 C1 3F 00 00 */ lfs f9, 0(r31)
/* 802A1BA4 0029EB04 EC 1B 00 32 */ fmuls f0, f27, f0
/* 802A1BA8 0029EB08 C1 81 01 30 */ lfs f12, 0x130(r1)
/* 802A1BAC 0029EB0C EC DB 00 B2 */ fmuls f6, f27, f2
/* 802A1BB0 0029EB10 C1 5F 00 08 */ lfs f10, 8(r31)
/* 802A1BB4 0029EB14 EC FB 01 32 */ fmuls f7, f27, f4
/* 802A1BB8 0029EB18 EE CB 28 2A */ fadds f22, f11, f5
/* 802A1BBC 0029EB1C EE AA 18 2A */ fadds f21, f10, f3
/* 802A1BC0 0029EB20 C0 BB 00 08 */ lfs f5, 8(r27)
/* 802A1BC4 0029EB24 EC 8C 50 28 */ fsubs f4, f12, f10
/* 802A1BC8 0029EB28 C0 7B 00 04 */ lfs f3, 4(r27)
/* 802A1BCC 0029EB2C EC 4D 58 28 */ fsubs f2, f13, f11
/* 802A1BD0 0029EB30 ED 09 08 2A */ fadds f8, f9, f1
/* 802A1BD4 0029EB34 ED 6B 00 2A */ fadds f11, f11, f0
/* 802A1BD8 0029EB38 C0 3B 00 00 */ lfs f1, 0(r27)
/* 802A1BDC 0029EB3C EC 1D 48 28 */ fsubs f0, f29, f9
/* 802A1BE0 0029EB40 7D 23 4B 78 */ mr r3, r9
/* 802A1BE4 0029EB44 EC EA 38 2A */ fadds f7, f10, f7
/* 802A1BE8 0029EB48 EC C9 30 2A */ fadds f6, f9, f6
/* 802A1BEC 0029EB4C EC 85 01 32 */ fmuls f4, f5, f4
/* 802A1BF0 0029EB50 D3 A1 01 58 */ stfs f29, 0x158(r1)
/* 802A1BF4 0029EB54 EC 43 00 B2 */ fmuls f2, f3, f2
/* 802A1BF8 0029EB58 38 98 00 00 */ addi r4, r24, 0
/* 802A1BFC 0029EB5C EC 01 00 32 */ fmuls f0, f1, f0
/* 802A1C00 0029EB60 D1 A1 01 5C */ stfs f13, 0x15c(r1)
/* 802A1C04 0029EB64 38 A1 01 58 */ addi r5, r1, 0x158
/* 802A1C08 0029EB68 38 C1 01 4C */ addi r6, r1, 0x14c
/* 802A1C0C 0029EB6C D1 81 01 60 */ stfs f12, 0x160(r1)
/* 802A1C10 0029EB70 38 E1 01 40 */ addi r7, r1, 0x140
/* 802A1C14 0029EB74 39 18 00 0C */ addi r8, r24, 0xc
/* 802A1C18 0029EB78 3B 80 00 00 */ li r28, 0
/* 802A1C1C 0029EB7C D1 01 01 4C */ stfs f8, 0x14c(r1)
/* 802A1C20 0029EB80 3B 20 00 00 */ li r25, 0
/* 802A1C24 0029EB84 3B 40 00 00 */ li r26, 0
/* 802A1C28 0029EB88 D2 C1 01 50 */ stfs f22, 0x150(r1)
/* 802A1C2C 0029EB8C D2 A1 01 54 */ stfs f21, 0x154(r1)
/* 802A1C30 0029EB90 D0 C1 01 40 */ stfs f6, 0x140(r1)
/* 802A1C34 0029EB94 D1 61 01 44 */ stfs f11, 0x144(r1)
/* 802A1C38 0029EB98 D0 E1 01 48 */ stfs f7, 0x148(r1)
/* 802A1C3C 0029EB9C D0 01 01 34 */ stfs f0, 0x134(r1)
/* 802A1C40 0029EBA0 D0 41 01 38 */ stfs f2, 0x138(r1)
/* 802A1C44 0029EBA4 D0 81 01 3C */ stfs f4, 0x13c(r1)
/* 802A1C48 0029EBA8 7C 09 03 A6 */ mtctr r0
lbl_802A1C4C:
/* 802A1C4C 0029EBAC C0 06 00 00 */ lfs f0, 0(r6)
/* 802A1C50 0029EBB0 C0 25 00 00 */ lfs f1, 0(r5)
/* 802A1C54 0029EBB4 81 44 00 00 */ lwz r10, 0(r4)
/* 802A1C58 0029EBB8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802A1C5C 0029EBBC 4C 41 13 82 */ cror 2, 1, 2
/* 802A1C60 0029EBC0 40 82 00 08 */ bne lbl_802A1C68
/* 802A1C64 0029EBC4 7F 9C 53 78 */ or r28, r28, r10
lbl_802A1C68:
/* 802A1C68 0029EBC8 C0 07 00 00 */ lfs f0, 0(r7)
/* 802A1C6C 0029EBCC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802A1C70 0029EBD0 4C 41 13 82 */ cror 2, 1, 2
/* 802A1C74 0029EBD4 40 82 00 08 */ bne lbl_802A1C7C
/* 802A1C78 0029EBD8 7F 39 53 78 */ or r25, r25, r10
lbl_802A1C7C:
/* 802A1C7C 0029EBDC 80 08 00 00 */ lwz r0, 0(r8)
/* 802A1C80 0029EBE0 C0 29 00 00 */ lfs f1, 0(r9)
/* 802A1C84 0029EBE4 54 00 10 3A */ slwi r0, r0, 2
/* 802A1C88 0029EBE8 7C 03 04 2E */ lfsx f0, r3, r0
/* 802A1C8C 0029EBEC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A1C90 0029EBF0 40 80 00 08 */ bge lbl_802A1C98
/* 802A1C94 0029EBF4 7F 5A 53 78 */ or r26, r26, r10
lbl_802A1C98:
/* 802A1C98 0029EBF8 38 84 00 04 */ addi r4, r4, 4
/* 802A1C9C 0029EBFC 38 A5 00 04 */ addi r5, r5, 4
/* 802A1CA0 0029EC00 38 C6 00 04 */ addi r6, r6, 4
/* 802A1CA4 0029EC04 38 E7 00 04 */ addi r7, r7, 4
/* 802A1CA8 0029EC08 39 08 00 04 */ addi r8, r8, 4
/* 802A1CAC 0029EC0C 39 29 00 04 */ addi r9, r9, 4
/* 802A1CB0 0029EC10 42 00 FF 9C */ bdnz lbl_802A1C4C
/* 802A1CB4 0029EC14 88 0D A5 B8 */ lbz r0, lbl_805A9178@sda21(r13)
/* 802A1CB8 0029EC18 7C 00 07 75 */ extsb. r0, r0
/* 802A1CBC 0029EC1C 40 82 04 4C */ bne lbl_802A2108
/* 802A1CC0 0029EC20 38 00 00 00 */ li r0, 0
/* 802A1CC4 0029EC24 38 61 01 1C */ addi r3, r1, 0x11c
/* 802A1CC8 0029EC28 90 01 01 18 */ stw r0, 0x118(r1)
/* 802A1CCC 0029EC2C 38 80 00 00 */ li r4, 0
/* 802A1CD0 0029EC30 38 A0 00 00 */ li r5, 0
/* 802A1CD4 0029EC34 38 C0 00 00 */ li r6, 0
/* 802A1CD8 0029EC38 48 07 2F 71 */ bl __ct__9CVector3iFiii
/* 802A1CDC 0029EC3C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1CE0 0029EC40 80 81 01 18 */ lwz r4, 0x118(r1)
/* 802A1CE4 0029EC44 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1CE8 0029EC48 80 C1 01 1C */ lwz r6, 0x11c(r1)
/* 802A1CEC 0029EC4C 81 01 01 20 */ lwz r8, 0x120(r1)
/* 802A1CF0 0029EC50 38 00 00 01 */ li r0, 1
/* 802A1CF4 0029EC54 80 E1 01 24 */ lwz r7, 0x124(r1)
/* 802A1CF8 0029EC58 38 61 01 0C */ addi r3, r1, 0x10c
/* 802A1CFC 0029EC5C 90 89 00 00 */ stw r4, 0(r9)
/* 802A1D00 0029EC60 38 80 00 00 */ li r4, 0
/* 802A1D04 0029EC64 38 A0 00 00 */ li r5, 0
/* 802A1D08 0029EC68 90 C9 00 04 */ stw r6, 4(r9)
/* 802A1D0C 0029EC6C 38 C0 00 00 */ li r6, 0
/* 802A1D10 0029EC70 91 09 00 08 */ stw r8, 8(r9)
/* 802A1D14 0029EC74 90 E9 00 0C */ stw r7, 0xc(r9)
/* 802A1D18 0029EC78 90 01 01 08 */ stw r0, 0x108(r1)
/* 802A1D1C 0029EC7C 48 07 2F 2D */ bl __ct__9CVector3iFiii
/* 802A1D20 0029EC80 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1D24 0029EC84 80 81 01 08 */ lwz r4, 0x108(r1)
/* 802A1D28 0029EC88 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1D2C 0029EC8C 80 C1 01 0C */ lwz r6, 0x10c(r1)
/* 802A1D30 0029EC90 81 01 01 10 */ lwz r8, 0x110(r1)
/* 802A1D34 0029EC94 38 00 00 01 */ li r0, 1
/* 802A1D38 0029EC98 80 E1 01 14 */ lwz r7, 0x114(r1)
/* 802A1D3C 0029EC9C 38 61 00 FC */ addi r3, r1, 0xfc
/* 802A1D40 0029ECA0 90 89 00 10 */ stw r4, 0x10(r9)
/* 802A1D44 0029ECA4 38 80 00 01 */ li r4, 1
/* 802A1D48 0029ECA8 38 A0 00 00 */ li r5, 0
/* 802A1D4C 0029ECAC 90 C9 00 14 */ stw r6, 0x14(r9)
/* 802A1D50 0029ECB0 38 C0 00 00 */ li r6, 0
/* 802A1D54 0029ECB4 91 09 00 18 */ stw r8, 0x18(r9)
/* 802A1D58 0029ECB8 90 E9 00 1C */ stw r7, 0x1c(r9)
/* 802A1D5C 0029ECBC 90 01 00 F8 */ stw r0, 0xf8(r1)
/* 802A1D60 0029ECC0 48 07 2E E9 */ bl __ct__9CVector3iFiii
/* 802A1D64 0029ECC4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1D68 0029ECC8 80 81 00 F8 */ lwz r4, 0xf8(r1)
/* 802A1D6C 0029ECCC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1D70 0029ECD0 80 C1 00 FC */ lwz r6, 0xfc(r1)
/* 802A1D74 0029ECD4 81 01 01 00 */ lwz r8, 0x100(r1)
/* 802A1D78 0029ECD8 38 00 00 02 */ li r0, 2
/* 802A1D7C 0029ECDC 80 E1 01 04 */ lwz r7, 0x104(r1)
/* 802A1D80 0029ECE0 38 61 00 EC */ addi r3, r1, 0xec
/* 802A1D84 0029ECE4 90 89 00 20 */ stw r4, 0x20(r9)
/* 802A1D88 0029ECE8 38 80 00 00 */ li r4, 0
/* 802A1D8C 0029ECEC 38 A0 00 01 */ li r5, 1
/* 802A1D90 0029ECF0 90 C9 00 24 */ stw r6, 0x24(r9)
/* 802A1D94 0029ECF4 38 C0 00 00 */ li r6, 0
/* 802A1D98 0029ECF8 91 09 00 28 */ stw r8, 0x28(r9)
/* 802A1D9C 0029ECFC 90 E9 00 2C */ stw r7, 0x2c(r9)
/* 802A1DA0 0029ED00 90 01 00 E8 */ stw r0, 0xe8(r1)
/* 802A1DA4 0029ED04 48 07 2E A5 */ bl __ct__9CVector3iFiii
/* 802A1DA8 0029ED08 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1DAC 0029ED0C 80 81 00 E8 */ lwz r4, 0xe8(r1)
/* 802A1DB0 0029ED10 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1DB4 0029ED14 80 C1 00 EC */ lwz r6, 0xec(r1)
/* 802A1DB8 0029ED18 81 01 00 F0 */ lwz r8, 0xf0(r1)
/* 802A1DBC 0029ED1C 38 00 00 02 */ li r0, 2
/* 802A1DC0 0029ED20 80 E1 00 F4 */ lwz r7, 0xf4(r1)
/* 802A1DC4 0029ED24 38 61 00 DC */ addi r3, r1, 0xdc
/* 802A1DC8 0029ED28 90 89 00 30 */ stw r4, 0x30(r9)
/* 802A1DCC 0029ED2C 38 80 00 01 */ li r4, 1
/* 802A1DD0 0029ED30 38 A0 00 00 */ li r5, 0
/* 802A1DD4 0029ED34 90 C9 00 34 */ stw r6, 0x34(r9)
/* 802A1DD8 0029ED38 38 C0 00 00 */ li r6, 0
/* 802A1DDC 0029ED3C 91 09 00 38 */ stw r8, 0x38(r9)
/* 802A1DE0 0029ED40 90 E9 00 3C */ stw r7, 0x3c(r9)
/* 802A1DE4 0029ED44 90 01 00 D8 */ stw r0, 0xd8(r1)
/* 802A1DE8 0029ED48 48 07 2E 61 */ bl __ct__9CVector3iFiii
/* 802A1DEC 0029ED4C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1DF0 0029ED50 80 81 00 D8 */ lwz r4, 0xd8(r1)
/* 802A1DF4 0029ED54 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1DF8 0029ED58 80 C1 00 DC */ lwz r6, 0xdc(r1)
/* 802A1DFC 0029ED5C 81 01 00 E0 */ lwz r8, 0xe0(r1)
/* 802A1E00 0029ED60 38 00 00 01 */ li r0, 1
/* 802A1E04 0029ED64 80 E1 00 E4 */ lwz r7, 0xe4(r1)
/* 802A1E08 0029ED68 38 61 00 CC */ addi r3, r1, 0xcc
/* 802A1E0C 0029ED6C 90 89 00 40 */ stw r4, 0x40(r9)
/* 802A1E10 0029ED70 38 80 00 02 */ li r4, 2
/* 802A1E14 0029ED74 38 A0 00 00 */ li r5, 0
/* 802A1E18 0029ED78 90 C9 00 44 */ stw r6, 0x44(r9)
/* 802A1E1C 0029ED7C 38 C0 00 00 */ li r6, 0
/* 802A1E20 0029ED80 91 09 00 48 */ stw r8, 0x48(r9)
/* 802A1E24 0029ED84 90 E9 00 4C */ stw r7, 0x4c(r9)
/* 802A1E28 0029ED88 90 01 00 C8 */ stw r0, 0xc8(r1)
/* 802A1E2C 0029ED8C 48 07 2E 1D */ bl __ct__9CVector3iFiii
/* 802A1E30 0029ED90 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1E34 0029ED94 80 81 00 C8 */ lwz r4, 0xc8(r1)
/* 802A1E38 0029ED98 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1E3C 0029ED9C 80 C1 00 CC */ lwz r6, 0xcc(r1)
/* 802A1E40 0029EDA0 81 01 00 D0 */ lwz r8, 0xd0(r1)
/* 802A1E44 0029EDA4 38 00 00 02 */ li r0, 2
/* 802A1E48 0029EDA8 80 E1 00 D4 */ lwz r7, 0xd4(r1)
/* 802A1E4C 0029EDAC 38 61 00 BC */ addi r3, r1, 0xbc
/* 802A1E50 0029EDB0 90 89 00 50 */ stw r4, 0x50(r9)
/* 802A1E54 0029EDB4 38 80 00 00 */ li r4, 0
/* 802A1E58 0029EDB8 38 A0 00 02 */ li r5, 2
/* 802A1E5C 0029EDBC 90 C9 00 54 */ stw r6, 0x54(r9)
/* 802A1E60 0029EDC0 38 C0 00 00 */ li r6, 0
/* 802A1E64 0029EDC4 91 09 00 58 */ stw r8, 0x58(r9)
/* 802A1E68 0029EDC8 90 E9 00 5C */ stw r7, 0x5c(r9)
/* 802A1E6C 0029EDCC 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 802A1E70 0029EDD0 48 07 2D D9 */ bl __ct__9CVector3iFiii
/* 802A1E74 0029EDD4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1E78 0029EDD8 80 81 00 B8 */ lwz r4, 0xb8(r1)
/* 802A1E7C 0029EDDC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1E80 0029EDE0 80 C1 00 BC */ lwz r6, 0xbc(r1)
/* 802A1E84 0029EDE4 81 01 00 C0 */ lwz r8, 0xc0(r1)
/* 802A1E88 0029EDE8 38 00 00 02 */ li r0, 2
/* 802A1E8C 0029EDEC 80 E1 00 C4 */ lwz r7, 0xc4(r1)
/* 802A1E90 0029EDF0 38 61 00 AC */ addi r3, r1, 0xac
/* 802A1E94 0029EDF4 90 89 00 60 */ stw r4, 0x60(r9)
/* 802A1E98 0029EDF8 38 80 00 02 */ li r4, 2
/* 802A1E9C 0029EDFC 38 A0 00 00 */ li r5, 0
/* 802A1EA0 0029EE00 90 C9 00 64 */ stw r6, 0x64(r9)
/* 802A1EA4 0029EE04 38 C0 00 00 */ li r6, 0
/* 802A1EA8 0029EE08 91 09 00 68 */ stw r8, 0x68(r9)
/* 802A1EAC 0029EE0C 90 E9 00 6C */ stw r7, 0x6c(r9)
/* 802A1EB0 0029EE10 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 802A1EB4 0029EE14 48 07 2D 95 */ bl __ct__9CVector3iFiii
/* 802A1EB8 0029EE18 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1EBC 0029EE1C 80 81 00 A8 */ lwz r4, 0xa8(r1)
/* 802A1EC0 0029EE20 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1EC4 0029EE24 80 C1 00 AC */ lwz r6, 0xac(r1)
/* 802A1EC8 0029EE28 81 01 00 B0 */ lwz r8, 0xb0(r1)
/* 802A1ECC 0029EE2C 38 00 00 02 */ li r0, 2
/* 802A1ED0 0029EE30 80 E1 00 B4 */ lwz r7, 0xb4(r1)
/* 802A1ED4 0029EE34 38 61 00 9C */ addi r3, r1, 0x9c
/* 802A1ED8 0029EE38 90 89 00 70 */ stw r4, 0x70(r9)
/* 802A1EDC 0029EE3C 38 80 00 02 */ li r4, 2
/* 802A1EE0 0029EE40 38 A0 00 01 */ li r5, 1
/* 802A1EE4 0029EE44 90 C9 00 74 */ stw r6, 0x74(r9)
/* 802A1EE8 0029EE48 38 C0 00 00 */ li r6, 0
/* 802A1EEC 0029EE4C 91 09 00 78 */ stw r8, 0x78(r9)
/* 802A1EF0 0029EE50 90 E9 00 7C */ stw r7, 0x7c(r9)
/* 802A1EF4 0029EE54 90 01 00 98 */ stw r0, 0x98(r1)
/* 802A1EF8 0029EE58 48 07 2D 51 */ bl __ct__9CVector3iFiii
/* 802A1EFC 0029EE5C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1F00 0029EE60 80 81 00 98 */ lwz r4, 0x98(r1)
/* 802A1F04 0029EE64 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1F08 0029EE68 80 C1 00 9C */ lwz r6, 0x9c(r1)
/* 802A1F0C 0029EE6C 81 01 00 A0 */ lwz r8, 0xa0(r1)
/* 802A1F10 0029EE70 38 00 00 02 */ li r0, 2
/* 802A1F14 0029EE74 80 E1 00 A4 */ lwz r7, 0xa4(r1)
/* 802A1F18 0029EE78 38 61 00 8C */ addi r3, r1, 0x8c
/* 802A1F1C 0029EE7C 90 89 00 80 */ stw r4, 0x80(r9)
/* 802A1F20 0029EE80 38 80 00 01 */ li r4, 1
/* 802A1F24 0029EE84 38 A0 00 02 */ li r5, 2
/* 802A1F28 0029EE88 90 C9 00 84 */ stw r6, 0x84(r9)
/* 802A1F2C 0029EE8C 38 C0 00 00 */ li r6, 0
/* 802A1F30 0029EE90 91 09 00 88 */ stw r8, 0x88(r9)
/* 802A1F34 0029EE94 90 E9 00 8C */ stw r7, 0x8c(r9)
/* 802A1F38 0029EE98 90 01 00 88 */ stw r0, 0x88(r1)
/* 802A1F3C 0029EE9C 48 07 2D 0D */ bl __ct__9CVector3iFiii
/* 802A1F40 0029EEA0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1F44 0029EEA4 80 81 00 88 */ lwz r4, 0x88(r1)
/* 802A1F48 0029EEA8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1F4C 0029EEAC 80 C1 00 8C */ lwz r6, 0x8c(r1)
/* 802A1F50 0029EEB0 81 01 00 90 */ lwz r8, 0x90(r1)
/* 802A1F54 0029EEB4 38 00 00 03 */ li r0, 3
/* 802A1F58 0029EEB8 80 E1 00 94 */ lwz r7, 0x94(r1)
/* 802A1F5C 0029EEBC 38 61 00 7C */ addi r3, r1, 0x7c
/* 802A1F60 0029EEC0 90 89 00 90 */ stw r4, 0x90(r9)
/* 802A1F64 0029EEC4 38 80 00 00 */ li r4, 0
/* 802A1F68 0029EEC8 38 A0 00 02 */ li r5, 2
/* 802A1F6C 0029EECC 90 C9 00 94 */ stw r6, 0x94(r9)
/* 802A1F70 0029EED0 38 C0 00 01 */ li r6, 1
/* 802A1F74 0029EED4 91 09 00 98 */ stw r8, 0x98(r9)
/* 802A1F78 0029EED8 90 E9 00 9C */ stw r7, 0x9c(r9)
/* 802A1F7C 0029EEDC 90 01 00 78 */ stw r0, 0x78(r1)
/* 802A1F80 0029EEE0 48 07 2C C9 */ bl __ct__9CVector3iFiii
/* 802A1F84 0029EEE4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1F88 0029EEE8 80 81 00 78 */ lwz r4, 0x78(r1)
/* 802A1F8C 0029EEEC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1F90 0029EEF0 80 C1 00 7C */ lwz r6, 0x7c(r1)
/* 802A1F94 0029EEF4 81 01 00 80 */ lwz r8, 0x80(r1)
/* 802A1F98 0029EEF8 38 00 00 03 */ li r0, 3
/* 802A1F9C 0029EEFC 80 E1 00 84 */ lwz r7, 0x84(r1)
/* 802A1FA0 0029EF00 38 61 00 6C */ addi r3, r1, 0x6c
/* 802A1FA4 0029EF04 90 89 00 A0 */ stw r4, 0xa0(r9)
/* 802A1FA8 0029EF08 38 80 00 01 */ li r4, 1
/* 802A1FAC 0029EF0C 38 A0 00 00 */ li r5, 0
/* 802A1FB0 0029EF10 90 C9 00 A4 */ stw r6, 0xa4(r9)
/* 802A1FB4 0029EF14 38 C0 00 02 */ li r6, 2
/* 802A1FB8 0029EF18 91 09 00 A8 */ stw r8, 0xa8(r9)
/* 802A1FBC 0029EF1C 90 E9 00 AC */ stw r7, 0xac(r9)
/* 802A1FC0 0029EF20 90 01 00 68 */ stw r0, 0x68(r1)
/* 802A1FC4 0029EF24 48 07 2C 85 */ bl __ct__9CVector3iFiii
/* 802A1FC8 0029EF28 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A1FCC 0029EF2C 80 81 00 68 */ lwz r4, 0x68(r1)
/* 802A1FD0 0029EF30 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A1FD4 0029EF34 80 C1 00 6C */ lwz r6, 0x6c(r1)
/* 802A1FD8 0029EF38 81 01 00 70 */ lwz r8, 0x70(r1)
/* 802A1FDC 0029EF3C 38 00 00 03 */ li r0, 3
/* 802A1FE0 0029EF40 80 E1 00 74 */ lwz r7, 0x74(r1)
/* 802A1FE4 0029EF44 38 61 00 5C */ addi r3, r1, 0x5c
/* 802A1FE8 0029EF48 90 89 00 B0 */ stw r4, 0xb0(r9)
/* 802A1FEC 0029EF4C 38 80 00 00 */ li r4, 0
/* 802A1FF0 0029EF50 38 A0 00 01 */ li r5, 1
/* 802A1FF4 0029EF54 90 C9 00 B4 */ stw r6, 0xb4(r9)
/* 802A1FF8 0029EF58 38 C0 00 02 */ li r6, 2
/* 802A1FFC 0029EF5C 91 09 00 B8 */ stw r8, 0xb8(r9)
/* 802A2000 0029EF60 90 E9 00 BC */ stw r7, 0xbc(r9)
/* 802A2004 0029EF64 90 01 00 58 */ stw r0, 0x58(r1)
/* 802A2008 0029EF68 48 07 2C 41 */ bl __ct__9CVector3iFiii
/* 802A200C 0029EF6C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A2010 0029EF70 80 81 00 58 */ lwz r4, 0x58(r1)
/* 802A2014 0029EF74 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A2018 0029EF78 80 C1 00 5C */ lwz r6, 0x5c(r1)
/* 802A201C 0029EF7C 81 01 00 60 */ lwz r8, 0x60(r1)
/* 802A2020 0029EF80 38 00 00 03 */ li r0, 3
/* 802A2024 0029EF84 80 E1 00 64 */ lwz r7, 0x64(r1)
/* 802A2028 0029EF88 38 61 00 4C */ addi r3, r1, 0x4c
/* 802A202C 0029EF8C 90 89 00 C0 */ stw r4, 0xc0(r9)
/* 802A2030 0029EF90 38 80 00 02 */ li r4, 2
/* 802A2034 0029EF94 38 A0 00 01 */ li r5, 1
/* 802A2038 0029EF98 90 C9 00 C4 */ stw r6, 0xc4(r9)
/* 802A203C 0029EF9C 38 C0 00 00 */ li r6, 0
/* 802A2040 0029EFA0 91 09 00 C8 */ stw r8, 0xc8(r9)
/* 802A2044 0029EFA4 90 E9 00 CC */ stw r7, 0xcc(r9)
/* 802A2048 0029EFA8 90 01 00 48 */ stw r0, 0x48(r1)
/* 802A204C 0029EFAC 48 07 2B FD */ bl __ct__9CVector3iFiii
/* 802A2050 0029EFB0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A2054 0029EFB4 80 81 00 48 */ lwz r4, 0x48(r1)
/* 802A2058 0029EFB8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A205C 0029EFBC 80 C1 00 4C */ lwz r6, 0x4c(r1)
/* 802A2060 0029EFC0 81 01 00 50 */ lwz r8, 0x50(r1)
/* 802A2064 0029EFC4 38 00 00 03 */ li r0, 3
/* 802A2068 0029EFC8 80 E1 00 54 */ lwz r7, 0x54(r1)
/* 802A206C 0029EFCC 38 61 00 3C */ addi r3, r1, 0x3c
/* 802A2070 0029EFD0 90 89 00 D0 */ stw r4, 0xd0(r9)
/* 802A2074 0029EFD4 38 80 00 02 */ li r4, 2
/* 802A2078 0029EFD8 38 A0 00 00 */ li r5, 0
/* 802A207C 0029EFDC 90 C9 00 D4 */ stw r6, 0xd4(r9)
/* 802A2080 0029EFE0 38 C0 00 01 */ li r6, 1
/* 802A2084 0029EFE4 91 09 00 D8 */ stw r8, 0xd8(r9)
/* 802A2088 0029EFE8 90 E9 00 DC */ stw r7, 0xdc(r9)
/* 802A208C 0029EFEC 90 01 00 38 */ stw r0, 0x38(r1)
/* 802A2090 0029EFF0 48 07 2B B9 */ bl __ct__9CVector3iFiii
/* 802A2094 0029EFF4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A2098 0029EFF8 80 81 00 38 */ lwz r4, 0x38(r1)
/* 802A209C 0029EFFC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l
/* 802A20A0 0029F000 80 C1 00 3C */ lwz r6, 0x3c(r1)
/* 802A20A4 0029F004 81 01 00 40 */ lwz r8, 0x40(r1)
/* 802A20A8 0029F008 38 00 00 03 */ li r0, 3
/* 802A20AC 0029F00C 80 E1 00 44 */ lwz r7, 0x44(r1)
/* 802A20B0 0029F010 38 61 00 2C */ addi r3, r1, 0x2c
/* 802A20B4 0029F014 90 89 00 E0 */ stw r4, 0xe0(r9)
/* 802A20B8 0029F018 38 80 00 01 */ li r4, 1
/* 802A20BC 0029F01C 38 A0 00 02 */ li r5, 2
/* 802A20C0 0029F020 90 C9 00 E4 */ stw r6, 0xe4(r9)
/* 802A20C4 0029F024 38 C0 00 00 */ li r6, 0
/* 802A20C8 0029F028 91 09 00 E8 */ stw r8, 0xe8(r9)
/* 802A20CC 0029F02C 90 E9 00 EC */ stw r7, 0xec(r9)
/* 802A20D0 0029F030 90 01 00 28 */ stw r0, 0x28(r1)
/* 802A20D4 0029F034 48 07 2B 75 */ bl __ct__9CVector3iFiii
/* 802A20D8 0029F038 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A20DC 0029F03C 80 E1 00 28 */ lwz r7, 0x28(r1)
/* 802A20E0 0029F040 38 C3 E0 F0 */ addi r6, r3, lbl_8046E0F0@l
/* 802A20E4 0029F044 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 802A20E8 0029F048 80 81 00 30 */ lwz r4, 0x30(r1)
/* 802A20EC 0029F04C 38 00 00 01 */ li r0, 1
/* 802A20F0 0029F050 80 61 00 34 */ lwz r3, 0x34(r1)
/* 802A20F4 0029F054 90 E6 00 F0 */ stw r7, 0xf0(r6)
/* 802A20F8 0029F058 90 A6 00 F4 */ stw r5, 0xf4(r6)
/* 802A20FC 0029F05C 90 86 00 F8 */ stw r4, 0xf8(r6)
/* 802A2100 0029F060 90 66 00 FC */ stw r3, 0xfc(r6)
/* 802A2104 0029F064 98 0D A5 B8 */ stb r0, lbl_805A9178@sda21(r13)
lbl_802A2108:
/* 802A2108 0029F068 7F 80 CA 78 */ xor r0, r28, r25
/* 802A210C 0029F06C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha
/* 802A2110 0029F070 57 44 28 34 */ slwi r4, r26, 5
/* 802A2114 0029F074 38 B8 00 18 */ addi r5, r24, 0x18
/* 802A2118 0029F078 54 00 10 3A */ slwi r0, r0, 2
/* 802A211C 0029F07C FE A0 E0 90 */ fmr f21, f28
/* 802A2120 0029F080 7C 84 02 14 */ add r4, r4, r0
/* 802A2124 0029F084 38 03 E0 F0 */ addi r0, r3, lbl_8046E0F0@l
/* 802A2128 0029F088 7C 65 20 2E */ lwzx r3, r5, r4
/* 802A212C 0029F08C 7F 9A E3 78 */ mr r26, r28
/* 802A2130 0029F090 3B 80 00 00 */ li r28, 0
/* 802A2134 0029F094 54 63 20 36 */ slwi r3, r3, 4
/* 802A2138 0029F098 7F 20 1A 14 */ add r25, r0, r3
/* 802A213C 0029F09C 3B 19 00 04 */ addi r24, r25, 4
/* 802A2140 0029F0A0 48 00 00 F0 */ b lbl_802A2230
lbl_802A2144:
/* 802A2144 0029F0A4 7C 1C 00 00 */ cmpw r28, r0
/* 802A2148 0029F0A8 40 80 00 18 */ bge lbl_802A2160
/* 802A214C 0029F0AC 80 18 00 00 */ lwz r0, 0(r24)
/* 802A2150 0029F0B0 38 61 01 34 */ addi r3, r1, 0x134
/* 802A2154 0029F0B4 54 00 10 3A */ slwi r0, r0, 2
/* 802A2158 0029F0B8 7E C3 04 2E */ lfsx f22, r3, r0
/* 802A215C 0029F0BC 48 00 00 08 */ b lbl_802A2164
lbl_802A2160:
/* 802A2160 0029F0C0 FE C0 D8 90 */ fmr f22, f27
lbl_802A2164:
/* 802A2164 0029F0C4 FC 16 F8 40 */ fcmpo cr0, f22, f31
/* 802A2168 0029F0C8 40 81 00 A0 */ ble lbl_802A2208
/* 802A216C 0029F0CC FC 15 B0 40 */ fcmpo cr0, f21, f22
/* 802A2170 0029F0D0 4C 40 13 82 */ cror 2, 0, 2
/* 802A2174 0029F0D4 40 82 00 94 */ bne lbl_802A2208
/* 802A2178 0029F0D8 7F C4 F3 78 */ mr r4, r30
/* 802A217C 0029F0DC 7F 45 D3 78 */ mr r5, r26
/* 802A2180 0029F0E0 38 61 01 94 */ addi r3, r1, 0x194
/* 802A2184 0029F0E4 48 00 0B DD */ bl GetChild__Q212CAreaOctTree4NodeCFi
/* 802A2188 0029F0E8 80 01 01 B4 */ lwz r0, 0x1b4(r1)
/* 802A218C 0029F0EC C0 A1 01 94 */ lfs f5, 0x194(r1)
/* 802A2190 0029F0F0 C0 81 01 98 */ lfs f4, 0x198(r1)
/* 802A2194 0029F0F4 2C 00 00 00 */ cmpwi r0, 0
/* 802A2198 0029F0F8 C0 61 01 9C */ lfs f3, 0x19c(r1)
/* 802A219C 0029F0FC C0 41 01 A0 */ lfs f2, 0x1a0(r1)
/* 802A21A0 0029F100 C0 21 01 A4 */ lfs f1, 0x1a4(r1)
/* 802A21A4 0029F104 C0 01 01 A8 */ lfs f0, 0x1a8(r1)
/* 802A21A8 0029F108 80 81 01 AC */ lwz r4, 0x1ac(r1)
/* 802A21AC 0029F10C 80 61 01 B0 */ lwz r3, 0x1b0(r1)
/* 802A21B0 0029F110 D0 A1 02 28 */ stfs f5, 0x228(r1)
/* 802A21B4 0029F114 D0 81 02 2C */ stfs f4, 0x22c(r1)
/* 802A21B8 0029F118 D0 61 02 30 */ stfs f3, 0x230(r1)
/* 802A21BC 0029F11C D0 41 02 34 */ stfs f2, 0x234(r1)
/* 802A21C0 0029F120 D0 21 02 38 */ stfs f1, 0x238(r1)
/* 802A21C4 0029F124 D0 01 02 3C */ stfs f0, 0x23c(r1)
/* 802A21C8 0029F128 90 81 02 40 */ stw r4, 0x240(r1)
/* 802A21CC 0029F12C 90 61 02 44 */ stw r3, 0x244(r1)
/* 802A21D0 0029F130 90 01 02 48 */ stw r0, 0x248(r1)
/* 802A21D4 0029F134 41 82 00 34 */ beq lbl_802A2208
/* 802A21D8 0029F138 FC 20 A8 90 */ fmr f1, f21
/* 802A21DC 0029F13C 7F E4 FB 78 */ mr r4, r31
/* 802A21E0 0029F140 FC 40 B0 90 */ fmr f2, f22
/* 802A21E4 0029F144 7F A5 EB 78 */ mr r5, r29
/* 802A21E8 0029F148 FC 60 D0 90 */ fmr f3, f26
/* 802A21EC 0029F14C 7F 66 DB 78 */ mr r6, r27
/* 802A21F0 0029F150 38 61 02 28 */ addi r3, r1, 0x228
/* 802A21F4 0029F154 4B FF F5 35 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f
/* 802A21F8 0029F158 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A21FC 0029F15C 40 82 00 0C */ bne lbl_802A2208
/* 802A2200 0029F160 38 60 00 00 */ li r3, 0
/* 802A2204 0029F164 48 00 00 3C */ b lbl_802A2240
lbl_802A2208:
/* 802A2208 0029F168 80 19 00 00 */ lwz r0, 0(r25)
/* 802A220C 0029F16C 7C 1C 00 00 */ cmpw r28, r0
/* 802A2210 0029F170 40 80 00 14 */ bge lbl_802A2224
/* 802A2214 0029F174 80 18 00 00 */ lwz r0, 0(r24)
/* 802A2218 0029F178 38 60 00 01 */ li r3, 1
/* 802A221C 0029F17C 7C 60 00 30 */ slw r0, r3, r0
/* 802A2220 0029F180 7F 5A 02 78 */ xor r26, r26, r0
lbl_802A2224:
/* 802A2224 0029F184 FE A0 B0 90 */ fmr f21, f22
/* 802A2228 0029F188 3B 18 00 04 */ addi r24, r24, 4
/* 802A222C 0029F18C 3B 9C 00 01 */ addi r28, r28, 1
lbl_802A2230:
/* 802A2230 0029F190 80 19 00 00 */ lwz r0, 0(r25)
/* 802A2234 0029F194 7C 1C 00 00 */ cmpw r28, r0
/* 802A2238 0029F198 40 81 FF 0C */ ble lbl_802A2144
lbl_802A223C:
/* 802A223C 0029F19C 38 60 00 01 */ li r3, 1
lbl_802A2240:
/* 802A2240 0029F1A0 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0
/* 802A2244 0029F1A4 CB E1 03 80 */ lfd f31, 0x380(r1)
/* 802A2248 0029F1A8 E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0
/* 802A224C 0029F1AC CB C1 03 70 */ lfd f30, 0x370(r1)
/* 802A2250 0029F1B0 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0
/* 802A2254 0029F1B4 CB A1 03 60 */ lfd f29, 0x360(r1)
/* 802A2258 0029F1B8 E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0
/* 802A225C 0029F1BC CB 81 03 50 */ lfd f28, 0x350(r1)
/* 802A2260 0029F1C0 E3 61 03 48 */ psq_l f27, 840(r1), 0, qr0
/* 802A2264 0029F1C4 CB 61 03 40 */ lfd f27, 0x340(r1)
/* 802A2268 0029F1C8 E3 41 03 38 */ psq_l f26, 824(r1), 0, qr0
/* 802A226C 0029F1CC CB 41 03 30 */ lfd f26, 0x330(r1)
/* 802A2270 0029F1D0 E3 21 03 28 */ psq_l f25, 808(r1), 0, qr0
/* 802A2274 0029F1D4 CB 21 03 20 */ lfd f25, 0x320(r1)
/* 802A2278 0029F1D8 E3 01 03 18 */ psq_l f24, 792(r1), 0, qr0
/* 802A227C 0029F1DC CB 01 03 10 */ lfd f24, 0x310(r1)
/* 802A2280 0029F1E0 E2 E1 03 08 */ psq_l f23, 776(r1), 0, qr0
/* 802A2284 0029F1E4 CA E1 03 00 */ lfd f23, 0x300(r1)
/* 802A2288 0029F1E8 E2 C1 02 F8 */ psq_l f22, 760(r1), 0, qr0
/* 802A228C 0029F1EC CA C1 02 F0 */ lfd f22, 0x2f0(r1)
/* 802A2290 0029F1F0 E2 A1 02 E8 */ psq_l f21, 744(r1), 0, qr0
/* 802A2294 0029F1F4 CA A1 02 E0 */ lfd f21, 0x2e0(r1)
/* 802A2298 0029F1F8 BB 01 02 C0 */ lmw r24, 0x2c0(r1)
/* 802A229C 0029F1FC 80 01 03 94 */ lwz r0, 0x394(r1)
/* 802A22A0 0029F200 7C 08 03 A6 */ mtlr r0
/* 802A22A4 0029F204 38 21 03 90 */ addi r1, r1, 0x390
/* 802A22A8 0029F208 4E 80 00 20 */ blr
.global LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf
LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf:
/* 802A22AC 0029F20C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802A22B0 0029F210 7C 08 02 A6 */ mflr r0
/* 802A22B4 0029F214 90 01 00 44 */ stw r0, 0x44(r1)
/* 802A22B8 0029F218 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 802A22BC 0029F21C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 802A22C0 0029F220 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802A22C4 0029F224 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802A22C8 0029F228 93 A1 00 24 */ stw r29, 0x24(r1)
/* 802A22CC 0029F22C 7C 7D 1B 78 */ mr r29, r3
/* 802A22D0 0029F230 FF E0 08 90 */ fmr f31, f1
/* 802A22D4 0029F234 80 03 00 20 */ lwz r0, 0x20(r3)
/* 802A22D8 0029F238 7C 9E 23 78 */ mr r30, r4
/* 802A22DC 0029F23C 7C BF 2B 78 */ mr r31, r5
/* 802A22E0 0029F240 2C 00 00 00 */ cmpwi r0, 0
/* 802A22E4 0029F244 40 82 00 0C */ bne lbl_802A22F0
/* 802A22E8 0029F248 38 60 00 01 */ li r3, 1
/* 802A22EC 0029F24C 48 00 00 80 */ b lbl_802A236C
lbl_802A22F0:
/* 802A22F0 0029F250 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A22F4 0029F254 38 A1 00 0C */ addi r5, r1, 0xc
/* 802A22F8 0029F258 38 C1 00 08 */ addi r6, r1, 8
/* 802A22FC 0029F25C D0 01 00 0C */ stfs f0, 0xc(r1)
/* 802A2300 0029F260 D0 01 00 08 */ stfs f0, 8(r1)
/* 802A2304 0029F264 48 00 01 71 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A2308 0029F268 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A230C 0029F26C 40 82 00 0C */ bne lbl_802A2318
/* 802A2310 0029F270 38 60 00 01 */ li r3, 1
/* 802A2314 0029F274 48 00 00 58 */ b lbl_802A236C
lbl_802A2318:
/* 802A2318 0029F278 C0 FE 00 14 */ lfs f7, 0x14(r30)
/* 802A231C 0029F27C FC 60 F8 90 */ fmr f3, f31
/* 802A2320 0029F280 C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2)
/* 802A2324 0029F284 7F A3 EB 78 */ mr r3, r29
/* 802A2328 0029F288 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 802A232C 0029F28C 7F C4 F3 78 */ mr r4, r30
/* 802A2330 0029F290 C0 BE 00 0C */ lfs f5, 0xc(r30)
/* 802A2334 0029F294 EC 86 00 24 */ fdivs f4, f6, f0
/* 802A2338 0029F298 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 802A233C 0029F29C C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2)
/* 802A2340 0029F2A0 7F E5 FB 78 */ mr r5, r31
/* 802A2344 0029F2A4 C0 01 00 08 */ lfs f0, 8(r1)
/* 802A2348 0029F2A8 38 C1 00 10 */ addi r6, r1, 0x10
/* 802A234C 0029F2AC EC A6 28 24 */ fdivs f5, f6, f5
/* 802A2350 0029F2B0 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 802A2354 0029F2B4 EC 86 38 24 */ fdivs f4, f6, f7
/* 802A2358 0029F2B8 D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 802A235C 0029F2BC EC 21 10 28 */ fsubs f1, f1, f2
/* 802A2360 0029F2C0 D0 81 00 18 */ stfs f4, 0x18(r1)
/* 802A2364 0029F2C4 EC 42 00 2A */ fadds f2, f2, f0
/* 802A2368 0029F2C8 4B FF F3 C1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f
lbl_802A236C:
/* 802A236C 0029F2CC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 802A2370 0029F2D0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802A2374 0029F2D4 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 802A2378 0029F2D8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802A237C 0029F2DC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802A2380 0029F2E0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802A2384 0029F2E4 7C 08 03 A6 */ mtlr r0
/* 802A2388 0029F2E8 38 21 00 40 */ addi r1, r1, 0x40
/* 802A238C 0029F2EC 4E 80 00 20 */ blr
.global LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf
LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf:
/* 802A2390 0029F2F0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802A2394 0029F2F4 7C 08 02 A6 */ mflr r0
/* 802A2398 0029F2F8 90 01 00 44 */ stw r0, 0x44(r1)
/* 802A239C 0029F2FC DB E1 00 30 */ stfd f31, 0x30(r1)
/* 802A23A0 0029F300 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 802A23A4 0029F304 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802A23A8 0029F308 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802A23AC 0029F30C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 802A23B0 0029F310 93 81 00 20 */ stw r28, 0x20(r1)
/* 802A23B4 0029F314 7C 7C 1B 78 */ mr r28, r3
/* 802A23B8 0029F318 FF E0 08 90 */ fmr f31, f1
/* 802A23BC 0029F31C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 802A23C0 0029F320 7C 9D 23 78 */ mr r29, r4
/* 802A23C4 0029F324 7C BE 2B 78 */ mr r30, r5
/* 802A23C8 0029F328 7C DF 33 78 */ mr r31, r6
/* 802A23CC 0029F32C 2C 00 00 00 */ cmpwi r0, 0
/* 802A23D0 0029F330 41 82 00 7C */ beq lbl_802A244C
/* 802A23D4 0029F334 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A23D8 0029F338 38 A1 00 0C */ addi r5, r1, 0xc
/* 802A23DC 0029F33C 38 C1 00 08 */ addi r6, r1, 8
/* 802A23E0 0029F340 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 802A23E4 0029F344 D0 01 00 08 */ stfs f0, 8(r1)
/* 802A23E8 0029F348 48 00 00 8D */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf
/* 802A23EC 0029F34C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A23F0 0029F350 41 82 00 5C */ beq lbl_802A244C
/* 802A23F4 0029F354 C0 FD 00 14 */ lfs f7, 0x14(r29)
/* 802A23F8 0029F358 FC 60 F8 90 */ fmr f3, f31
/* 802A23FC 0029F35C C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2)
/* 802A2400 0029F360 7F 83 E3 78 */ mr r3, r28
/* 802A2404 0029F364 C0 1D 00 10 */ lfs f0, 0x10(r29)
/* 802A2408 0029F368 7F A4 EB 78 */ mr r4, r29
/* 802A240C 0029F36C C0 BD 00 0C */ lfs f5, 0xc(r29)
/* 802A2410 0029F370 EC 86 00 24 */ fdivs f4, f6, f0
/* 802A2414 0029F374 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 802A2418 0029F378 C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2)
/* 802A241C 0029F37C 7F C5 F3 78 */ mr r5, r30
/* 802A2420 0029F380 C0 01 00 08 */ lfs f0, 8(r1)
/* 802A2424 0029F384 7F E6 FB 78 */ mr r6, r31
/* 802A2428 0029F388 EC A6 28 24 */ fdivs f5, f6, f5
/* 802A242C 0029F38C D0 81 00 14 */ stfs f4, 0x14(r1)
/* 802A2430 0029F390 38 E1 00 10 */ addi r7, r1, 0x10
/* 802A2434 0029F394 EC 86 38 24 */ fdivs f4, f6, f7
/* 802A2438 0029F398 D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 802A243C 0029F39C EC 21 10 28 */ fsubs f1, f1, f2
/* 802A2440 0029F3A0 D0 81 00 18 */ stfs f4, 0x18(r1)
/* 802A2444 0029F3A4 EC 42 00 2A */ fadds f2, f2, f0
/* 802A2448 0029F3A8 4B FF E5 C5 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f
lbl_802A244C:
/* 802A244C 0029F3AC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 802A2450 0029F3B0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802A2454 0029F3B4 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 802A2458 0029F3B8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802A245C 0029F3BC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802A2460 0029F3C0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802A2464 0029F3C4 83 81 00 20 */ lwz r28, 0x20(r1)
/* 802A2468 0029F3C8 7C 08 03 A6 */ mtlr r0
/* 802A246C 0029F3CC 38 21 00 40 */ addi r1, r1, 0x40
/* 802A2470 0029F3D0 4E 80 00 20 */ blr
.global BoxLineTest__FRC6CAABoxRC5CLineRfRf
BoxLineTest__FRC6CAABoxRC5CLineRfRf:
/* 802A2474 0029F3D4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802A2478 0029F3D8 7C 08 02 A6 */ mflr r0
/* 802A247C 0029F3DC C0 22 C1 38 */ lfs f1, lbl_805ADE58@sda21(r2)
/* 802A2480 0029F3E0 90 01 00 44 */ stw r0, 0x44(r1)
/* 802A2484 0029F3E4 C0 02 C1 3C */ lfs f0, lbl_805ADE5C@sda21(r2)
/* 802A2488 0029F3E8 BF 21 00 24 */ stmw r25, 0x24(r1)
/* 802A248C 0029F3EC 7C B9 2B 78 */ mr r25, r5
/* 802A2490 0029F3F0 7C DA 33 78 */ mr r26, r6
/* 802A2494 0029F3F4 7C 7D 1B 78 */ mr r29, r3
/* 802A2498 0029F3F8 3B E1 00 08 */ addi r31, r1, 8
/* 802A249C 0029F3FC 3B C1 00 14 */ addi r30, r1, 0x14
/* 802A24A0 0029F400 3B 83 00 0C */ addi r28, r3, 0xc
/* 802A24A4 0029F404 3B 60 00 00 */ li r27, 0
/* 802A24A8 0029F408 C0 E4 00 00 */ lfs f7, 0(r4)
/* 802A24AC 0029F40C C0 C4 00 04 */ lfs f6, 4(r4)
/* 802A24B0 0029F410 C0 A4 00 08 */ lfs f5, 8(r4)
/* 802A24B4 0029F414 C0 84 00 0C */ lfs f4, 0xc(r4)
/* 802A24B8 0029F418 C0 64 00 10 */ lfs f3, 0x10(r4)
/* 802A24BC 0029F41C C0 44 00 14 */ lfs f2, 0x14(r4)
/* 802A24C0 0029F420 D0 E1 00 14 */ stfs f7, 0x14(r1)
/* 802A24C4 0029F424 D0 25 00 00 */ stfs f1, 0(r5)
/* 802A24C8 0029F428 D0 C1 00 18 */ stfs f6, 0x18(r1)
/* 802A24CC 0029F42C D0 A1 00 1C */ stfs f5, 0x1c(r1)
/* 802A24D0 0029F430 D0 81 00 08 */ stfs f4, 8(r1)
/* 802A24D4 0029F434 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 802A24D8 0029F438 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 802A24DC 0029F43C D0 06 00 00 */ stfs f0, 0(r6)
lbl_802A24E0:
/* 802A24E0 0029F440 C0 3F 00 00 */ lfs f1, 0(r31)
/* 802A24E4 0029F444 C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2)
/* 802A24E8 0029F448 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2)
/* 802A24EC 0029F44C 48 00 01 2D */ bl _close_enough__Ffff
/* 802A24F0 0029F450 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802A24F4 0029F454 41 82 00 28 */ beq lbl_802A251C
/* 802A24F8 0029F458 C0 3E 00 00 */ lfs f1, 0(r30)
/* 802A24FC 0029F45C C0 1D 00 00 */ lfs f0, 0(r29)
/* 802A2500 0029F460 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A2504 0029F464 41 80 00 10 */ blt lbl_802A2514
/* 802A2508 0029F468 C0 1C 00 00 */ lfs f0, 0(r28)
/* 802A250C 0029F46C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A2510 0029F470 40 81 00 C0 */ ble lbl_802A25D0
lbl_802A2514:
/* 802A2514 0029F474 38 60 00 00 */ li r3, 0
/* 802A2518 0029F478 48 00 00 EC */ b lbl_802A2604
lbl_802A251C:
/* 802A251C 0029F47C C0 7F 00 00 */ lfs f3, 0(r31)
/* 802A2520 0029F480 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2)
/* 802A2524 0029F484 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 802A2528 0029F488 40 80 00 58 */ bge lbl_802A2580
/* 802A252C 0029F48C C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A2530 0029F490 C0 19 00 00 */ lfs f0, 0(r25)
/* 802A2534 0029F494 EC A1 18 24 */ fdivs f5, f1, f3
/* 802A2538 0029F498 C0 5C 00 00 */ lfs f2, 0(r28)
/* 802A253C 0029F49C C0 9E 00 00 */ lfs f4, 0(r30)
/* 802A2540 0029F4A0 C0 3D 00 00 */ lfs f1, 0(r29)
/* 802A2544 0029F4A4 EC 42 20 28 */ fsubs f2, f2, f4
/* 802A2548 0029F4A8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802A254C 0029F4AC EC 61 20 28 */ fsubs f3, f1, f4
/* 802A2550 0029F4B0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802A2554 0029F4B4 40 80 00 0C */ bge lbl_802A2560
/* 802A2558 0029F4B8 EC 02 01 72 */ fmuls f0, f2, f5
/* 802A255C 0029F4BC D0 19 00 00 */ stfs f0, 0(r25)
lbl_802A2560:
/* 802A2560 0029F4C0 C0 3A 00 00 */ lfs f1, 0(r26)
/* 802A2564 0029F4C4 C0 1F 00 00 */ lfs f0, 0(r31)
/* 802A2568 0029F4C8 EC 01 00 32 */ fmuls f0, f1, f0
/* 802A256C 0029F4CC FC 03 00 40 */ fcmpo cr0, f3, f0
/* 802A2570 0029F4D0 40 81 00 60 */ ble lbl_802A25D0
/* 802A2574 0029F4D4 EC 03 01 72 */ fmuls f0, f3, f5
/* 802A2578 0029F4D8 D0 1A 00 00 */ stfs f0, 0(r26)
/* 802A257C 0029F4DC 48 00 00 54 */ b lbl_802A25D0
lbl_802A2580:
/* 802A2580 0029F4E0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2)
/* 802A2584 0029F4E4 C0 19 00 00 */ lfs f0, 0(r25)
/* 802A2588 0029F4E8 EC A1 18 24 */ fdivs f5, f1, f3
/* 802A258C 0029F4EC C0 5D 00 00 */ lfs f2, 0(r29)
/* 802A2590 0029F4F0 C0 9E 00 00 */ lfs f4, 0(r30)
/* 802A2594 0029F4F4 C0 3C 00 00 */ lfs f1, 0(r28)
/* 802A2598 0029F4F8 EC 42 20 28 */ fsubs f2, f2, f4
/* 802A259C 0029F4FC EC 00 00 F2 */ fmuls f0, f0, f3
/* 802A25A0 0029F500 EC 61 20 28 */ fsubs f3, f1, f4
/* 802A25A4 0029F504 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802A25A8 0029F508 40 81 00 0C */ ble lbl_802A25B4
/* 802A25AC 0029F50C EC 02 01 72 */ fmuls f0, f2, f5
/* 802A25B0 0029F510 D0 19 00 00 */ stfs f0, 0(r25)
lbl_802A25B4:
/* 802A25B4 0029F514 C0 3A 00 00 */ lfs f1, 0(r26)
/* 802A25B8 0029F518 C0 1F 00 00 */ lfs f0, 0(r31)
/* 802A25BC 0029F51C EC 01 00 32 */ fmuls f0, f1, f0
/* 802A25C0 0029F520 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 802A25C4 0029F524 40 80 00 0C */ bge lbl_802A25D0
/* 802A25C8 0029F528 EC 03 01 72 */ fmuls f0, f3, f5
/* 802A25CC 0029F52C D0 1A 00 00 */ stfs f0, 0(r26)
lbl_802A25D0:
/* 802A25D0 0029F530 3B 7B 00 01 */ addi r27, r27, 1
/* 802A25D4 0029F534 3B DE 00 04 */ addi r30, r30, 4
/* 802A25D8 0029F538 2C 1B 00 03 */ cmpwi r27, 3
/* 802A25DC 0029F53C 3B BD 00 04 */ addi r29, r29, 4
/* 802A25E0 0029F540 3B 9C 00 04 */ addi r28, r28, 4
/* 802A25E4 0029F544 3B FF 00 04 */ addi r31, r31, 4
/* 802A25E8 0029F548 41 80 FE F8 */ blt lbl_802A24E0
/* 802A25EC 0029F54C C0 39 00 00 */ lfs f1, 0(r25)
/* 802A25F0 0029F550 C0 1A 00 00 */ lfs f0, 0(r26)
/* 802A25F4 0029F554 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802A25F8 0029F558 4C 40 13 82 */ cror 2, 0, 2
/* 802A25FC 0029F55C 7C 00 00 26 */ mfcr r0
/* 802A2600 0029F560 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
lbl_802A2604:
/* 802A2604 0029F564 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 802A2608 0029F568 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802A260C 0029F56C 7C 08 03 A6 */ mtlr r0
/* 802A2610 0029F570 38 21 00 40 */ addi r1, r1, 0x40
/* 802A2614 0029F574 4E 80 00 20 */ blr
.global _close_enough__Ffff
_close_enough__Ffff:
/* 802A2618 0029F578 EC 01 10 28 */ fsubs f0, f1, f2
/* 802A261C 0029F57C FC 00 02 10 */ fabs f0, f0
/* 802A2620 0029F580 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 802A2624 0029F584 4C 40 13 82 */ cror 2, 0, 2
/* 802A2628 0029F588 7C 00 00 26 */ mfcr r0
/* 802A262C 0029F58C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
/* 802A2630 0029F590 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ADE40
lbl_805ADE40:
# ROM: 0x3FA6E0
.float 1.0
.global lbl_805ADE44
lbl_805ADE44:
# ROM: 0x3FA6E4
.4byte 0
.global lbl_805ADE48
lbl_805ADE48:
# ROM: 0x3FA6E8
.4byte 0x3F7FFF38
.global lbl_805ADE4C
lbl_805ADE4C:
# ROM: 0x3FA6EC
.4byte 0x3F800064
.global lbl_805ADE50
lbl_805ADE50:
# ROM: 0x3FA6F0
.4byte 0x35A00000
.global lbl_805ADE54
lbl_805ADE54:
# ROM: 0x3FA6F4
.float 1.0E-4
.global lbl_805ADE58
lbl_805ADE58:
# ROM: 0x3FA6F8
.4byte 0xFF7FFFFF
.global lbl_805ADE5C
lbl_805ADE5C:
# ROM: 0x3FA6FC
.4byte 0x7F7FFFFF
.section .rodata
.balign 8
.global lbl_803D5EF0
lbl_803D5EF0:
# ROM: 0x3D2EF0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000001
.4byte 0x00000002
.4byte 0
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000005
.4byte 0x00000006
.4byte 0x00000008
.4byte 0x0000000A
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000003
.4byte 0x00000005
.4byte 0x00000006
.4byte 0x00000008
.4byte 0x0000000A
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000005
.4byte 0x00000006
.4byte 0x00000009
.4byte 0x0000000B
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000003
.4byte 0x00000005
.4byte 0x00000006
.4byte 0x00000009
.4byte 0x0000000C
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000005
.4byte 0x00000007
.4byte 0x00000008
.4byte 0x0000000D
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000003
.4byte 0x00000005
.4byte 0x00000007
.4byte 0x00000008
.4byte 0x0000000E
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000005
.4byte 0x00000007
.4byte 0x00000009
.4byte 0x0000000F
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000003
.4byte 0x00000005
.4byte 0x00000007
.4byte 0x00000009
.4byte 0x0000000F
.global lbl_803D6008
lbl_803D6008:
# ROM: 0x3D3008
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0