prime/asm/Kyoto/Math/CAABox.s

1396 lines
70 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global ClosestPointAlongVector__6CAABoxCFRC9CVector3f
ClosestPointAlongVector__6CAABoxCFRC9CVector3f:
/* 803371DC 0033413C C0 05 00 00 */ lfs f0, 0(r5)
/* 803371E0 00334140 C0 24 00 00 */ lfs f1, 0(r4)
/* 803371E4 00334144 C0 64 00 0C */ lfs f3, 0xc(r4)
/* 803371E8 00334148 C0 45 00 04 */ lfs f2, 4(r5)
/* 803371EC 0033414C FC A0 18 6E */ fsel f5, f0, f1, f3
/* 803371F0 00334150 C0 64 00 04 */ lfs f3, 4(r4)
/* 803371F4 00334154 C0 84 00 10 */ lfs f4, 0x10(r4)
/* 803371F8 00334158 C0 05 00 08 */ lfs f0, 8(r5)
/* 803371FC 0033415C C0 24 00 08 */ lfs f1, 8(r4)
/* 80337200 00334160 FC 62 20 EE */ fsel f3, f2, f3, f4
/* 80337204 00334164 C0 44 00 14 */ lfs f2, 0x14(r4)
/* 80337208 00334168 D0 A3 00 00 */ stfs f5, 0(r3)
/* 8033720C 0033416C FC 00 10 6E */ fsel f0, f0, f1, f2
/* 80337210 00334170 D0 63 00 04 */ stfs f3, 4(r3)
/* 80337214 00334174 D0 03 00 08 */ stfs f0, 8(r3)
/* 80337218 00334178 4E 80 00 20 */ blr
.global FurthestPointAlongVector__6CAABoxCFRC9CVector3f
FurthestPointAlongVector__6CAABoxCFRC9CVector3f:
/* 8033721C 0033417C C0 05 00 00 */ lfs f0, 0(r5)
/* 80337220 00334180 C0 24 00 0C */ lfs f1, 0xc(r4)
/* 80337224 00334184 C0 64 00 00 */ lfs f3, 0(r4)
/* 80337228 00334188 C0 45 00 04 */ lfs f2, 4(r5)
/* 8033722C 0033418C FC A0 18 6E */ fsel f5, f0, f1, f3
/* 80337230 00334190 C0 64 00 10 */ lfs f3, 0x10(r4)
/* 80337234 00334194 C0 84 00 04 */ lfs f4, 4(r4)
/* 80337238 00334198 C0 05 00 08 */ lfs f0, 8(r5)
/* 8033723C 0033419C C0 24 00 14 */ lfs f1, 0x14(r4)
/* 80337240 003341A0 FC 62 20 EE */ fsel f3, f2, f3, f4
/* 80337244 003341A4 C0 44 00 08 */ lfs f2, 8(r4)
/* 80337248 003341A8 D0 A3 00 00 */ stfs f5, 0(r3)
/* 8033724C 003341AC FC 00 10 6E */ fsel f0, f0, f1, f2
/* 80337250 003341B0 D0 63 00 04 */ stfs f3, 4(r3)
/* 80337254 003341B4 D0 03 00 08 */ stfs f0, 8(r3)
/* 80337258 003341B8 4E 80 00 20 */ blr
.global DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox
DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox:
/* 8033725C 003341BC 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80337260 003341C0 7C 08 02 A6 */ mflr r0
/* 80337264 003341C4 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80337268 003341C8 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 8033726C 003341CC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80337270 003341D0 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 80337274 003341D4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 80337278 003341D8 DB A1 00 70 */ stfd f29, 0x70(r1)
/* 8033727C 003341DC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 80337280 003341E0 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80337284 003341E4 C0 04 00 00 */ lfs f0, 0(r4)
/* 80337288 003341E8 C0 C3 00 0C */ lfs f6, 0xc(r3)
/* 8033728C 003341EC FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80337290 003341F0 7C 00 00 26 */ mfcr r0
/* 80337294 003341F4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80337298 003341F8 C0 E4 00 0C */ lfs f7, 0xc(r4)
/* 8033729C 003341FC 54 05 0F FE */ srwi r5, r0, 0x1f
/* 803372A0 00334200 FC 01 38 40 */ fcmpo cr0, f1, f7
/* 803372A4 00334204 7C 00 00 26 */ mfcr r0
/* 803372A8 00334208 C0 44 00 04 */ lfs f2, 4(r4)
/* 803372AC 0033420C C1 03 00 10 */ lfs f8, 0x10(r3)
/* 803372B0 00334210 54 06 17 FE */ rlwinm r6, r0, 2, 0x1f, 0x1f
/* 803372B4 00334214 FC 08 10 40 */ fcmpo cr0, f8, f2
/* 803372B8 00334218 7C 00 00 26 */ mfcr r0
/* 803372BC 0033421C C0 63 00 04 */ lfs f3, 4(r3)
/* 803372C0 00334220 C1 24 00 10 */ lfs f9, 0x10(r4)
/* 803372C4 00334224 54 07 0F FE */ srwi r7, r0, 0x1f
/* 803372C8 00334228 FC 03 48 40 */ fcmpo cr0, f3, f9
/* 803372CC 0033422C 7C 00 00 26 */ mfcr r0
/* 803372D0 00334230 C0 84 00 08 */ lfs f4, 8(r4)
/* 803372D4 00334234 C1 43 00 14 */ lfs f10, 0x14(r3)
/* 803372D8 00334238 54 08 17 FE */ rlwinm r8, r0, 2, 0x1f, 0x1f
/* 803372DC 0033423C FC 0A 20 40 */ fcmpo cr0, f10, f4
/* 803372E0 00334240 7C 00 00 26 */ mfcr r0
/* 803372E4 00334244 C0 A3 00 08 */ lfs f5, 8(r3)
/* 803372E8 00334248 C1 64 00 14 */ lfs f11, 0x14(r4)
/* 803372EC 0033424C 54 09 0F FE */ srwi r9, r0, 0x1f
/* 803372F0 00334250 FC 05 58 40 */ fcmpo cr0, f5, f11
/* 803372F4 00334254 7C 00 00 26 */ mfcr r0
/* 803372F8 00334258 28 05 00 00 */ cmplwi r5, 0
/* 803372FC 0033425C 54 0A 17 FE */ rlwinm r10, r0, 2, 0x1f, 0x1f
/* 80337300 00334260 39 60 00 00 */ li r11, 0
/* 80337304 00334264 38 00 00 00 */ li r0, 0
/* 80337308 00334268 40 82 00 10 */ bne lbl_80337318
/* 8033730C 0033426C 28 06 00 00 */ cmplwi r6, 0
/* 80337310 00334270 40 82 00 08 */ bne lbl_80337318
/* 80337314 00334274 38 00 00 01 */ li r0, 1
lbl_80337318:
/* 80337318 00334278 28 07 00 00 */ cmplwi r7, 0
/* 8033731C 0033427C 38 80 00 00 */ li r4, 0
/* 80337320 00334280 40 82 00 10 */ bne lbl_80337330
/* 80337324 00334284 28 08 00 00 */ cmplwi r8, 0
/* 80337328 00334288 40 82 00 08 */ bne lbl_80337330
/* 8033732C 0033428C 38 80 00 01 */ li r4, 1
lbl_80337330:
/* 80337330 00334290 28 09 00 00 */ cmplwi r9, 0
/* 80337334 00334294 38 60 00 00 */ li r3, 0
/* 80337338 00334298 40 82 00 10 */ bne lbl_80337348
/* 8033733C 0033429C 28 0A 00 00 */ cmplwi r10, 0
/* 80337340 003342A0 40 82 00 08 */ bne lbl_80337348
/* 80337344 003342A4 38 60 00 01 */ li r3, 1
lbl_80337348:
/* 80337348 003342A8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8033734C 003342AC 41 82 00 08 */ beq lbl_80337354
/* 80337350 003342B0 61 6B 00 01 */ ori r11, r11, 1
lbl_80337354:
/* 80337354 003342B4 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80337358 003342B8 41 82 00 08 */ beq lbl_80337360
/* 8033735C 003342BC 61 6B 00 02 */ ori r11, r11, 2
lbl_80337360:
/* 80337360 003342C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80337364 003342C4 41 82 00 08 */ beq lbl_8033736C
/* 80337368 003342C8 61 6B 00 04 */ ori r11, r11, 4
lbl_8033736C:
/* 8033736C 003342CC 28 05 00 00 */ cmplwi r5, 0
/* 80337370 003342D0 41 82 00 10 */ beq lbl_80337380
/* 80337374 003342D4 FF E0 30 90 */ fmr f31, f6
/* 80337378 003342D8 FC 20 00 90 */ fmr f1, f0
/* 8033737C 003342DC 48 00 00 0C */ b lbl_80337388
lbl_80337380:
/* 80337380 003342E0 FF E0 08 90 */ fmr f31, f1
/* 80337384 003342E4 FC 20 38 90 */ fmr f1, f7
lbl_80337388:
/* 80337388 003342E8 28 07 00 00 */ cmplwi r7, 0
/* 8033738C 003342EC 41 82 00 10 */ beq lbl_8033739C
/* 80337390 003342F0 FF C0 40 90 */ fmr f30, f8
/* 80337394 003342F4 FC C0 10 90 */ fmr f6, f2
/* 80337398 003342F8 48 00 00 0C */ b lbl_803373A4
lbl_8033739C:
/* 8033739C 003342FC FF C0 18 90 */ fmr f30, f3
/* 803373A0 00334300 FC C0 48 90 */ fmr f6, f9
lbl_803373A4:
/* 803373A4 00334304 28 09 00 00 */ cmplwi r9, 0
/* 803373A8 00334308 41 82 00 10 */ beq lbl_803373B8
/* 803373AC 0033430C FF A0 50 90 */ fmr f29, f10
/* 803373B0 00334310 FC 40 20 90 */ fmr f2, f4
/* 803373B4 00334314 48 00 00 0C */ b lbl_803373C0
lbl_803373B8:
/* 803373B8 00334318 FF A0 28 90 */ fmr f29, f5
/* 803373BC 0033431C FC 40 58 90 */ fmr f2, f11
lbl_803373C0:
/* 803373C0 00334320 28 0B 00 07 */ cmplwi r11, 7
/* 803373C4 00334324 41 81 01 40 */ bgt lbl_80337504
/* 803373C8 00334328 3C 60 80 3F */ lis r3, lbl_803EE318@ha
/* 803373CC 0033432C 55 60 10 3A */ slwi r0, r11, 2
/* 803373D0 00334330 38 63 E3 18 */ addi r3, r3, lbl_803EE318@l
/* 803373D4 00334334 7C 03 00 2E */ lwzx r0, r3, r0
/* 803373D8 00334338 7C 09 03 A6 */ mtctr r0
/* 803373DC 0033433C 4E 80 04 20 */ bctr
/* 803373E0 00334340 FC 80 F0 18 */ frsp f4, f30
/* 803373E4 00334344 D3 E1 00 50 */ stfs f31, 0x50(r1)
/* 803373E8 00334348 FC 60 E8 18 */ frsp f3, f29
/* 803373EC 0033434C 38 61 00 5C */ addi r3, r1, 0x5c
/* 803373F0 00334350 FC 00 F8 18 */ frsp f0, f31
/* 803373F4 00334354 D3 C1 00 54 */ stfs f30, 0x54(r1)
/* 803373F8 00334358 EC 84 30 28 */ fsubs f4, f4, f6
/* 803373FC 0033435C D3 A1 00 58 */ stfs f29, 0x58(r1)
/* 80337400 00334360 EC 43 10 28 */ fsubs f2, f3, f2
/* 80337404 00334364 EC 00 08 28 */ fsubs f0, f0, f1
/* 80337408 00334368 D0 81 00 60 */ stfs f4, 0x60(r1)
/* 8033740C 0033436C D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 80337410 00334370 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 80337414 00334374 4B FD D4 A5 */ bl Magnitude__9CVector3fCFv
/* 80337418 00334378 48 00 00 F0 */ b lbl_80337508
/* 8033741C 0033437C FC 20 30 90 */ fmr f1, f6
/* 80337420 00334380 38 61 00 38 */ addi r3, r1, 0x38
/* 80337424 00334384 4B FD CD DD */ bl __ct__9CVector2fFff
/* 80337428 00334388 FC 20 F0 90 */ fmr f1, f30
/* 8033742C 0033438C 7C 7F 1B 78 */ mr r31, r3
/* 80337430 00334390 FC 40 E8 90 */ fmr f2, f29
/* 80337434 00334394 38 61 00 40 */ addi r3, r1, 0x40
/* 80337438 00334398 4B FD CD C9 */ bl __ct__9CVector2fFff
/* 8033743C 0033439C 7C 64 1B 78 */ mr r4, r3
/* 80337440 003343A0 7F E5 FB 78 */ mr r5, r31
/* 80337444 003343A4 38 61 00 48 */ addi r3, r1, 0x48
/* 80337448 003343A8 4B FD CA F1 */ bl __mi__FRC9CVector2fRC9CVector2f
/* 8033744C 003343AC 38 61 00 48 */ addi r3, r1, 0x48
/* 80337450 003343B0 4B FD CC A5 */ bl Magnitude__9CVector2fCFv
/* 80337454 003343B4 48 00 00 B4 */ b lbl_80337508
/* 80337458 003343B8 38 61 00 20 */ addi r3, r1, 0x20
/* 8033745C 003343BC 4B FD CD A5 */ bl __ct__9CVector2fFff
/* 80337460 003343C0 FC 20 F8 90 */ fmr f1, f31
/* 80337464 003343C4 7C 7F 1B 78 */ mr r31, r3
/* 80337468 003343C8 FC 40 E8 90 */ fmr f2, f29
/* 8033746C 003343CC 38 61 00 28 */ addi r3, r1, 0x28
/* 80337470 003343D0 4B FD CD 91 */ bl __ct__9CVector2fFff
/* 80337474 003343D4 7C 64 1B 78 */ mr r4, r3
/* 80337478 003343D8 7F E5 FB 78 */ mr r5, r31
/* 8033747C 003343DC 38 61 00 30 */ addi r3, r1, 0x30
/* 80337480 003343E0 4B FD CA B9 */ bl __mi__FRC9CVector2fRC9CVector2f
/* 80337484 003343E4 38 61 00 30 */ addi r3, r1, 0x30
/* 80337488 003343E8 4B FD CC 6D */ bl Magnitude__9CVector2fCFv
/* 8033748C 003343EC 48 00 00 7C */ b lbl_80337508
/* 80337490 003343F0 EC 1D 10 28 */ fsubs f0, f29, f2
/* 80337494 003343F4 FC 00 02 10 */ fabs f0, f0
/* 80337498 003343F8 FC 20 00 18 */ frsp f1, f0
/* 8033749C 003343FC 48 00 00 6C */ b lbl_80337508
/* 803374A0 00334400 FC 40 30 90 */ fmr f2, f6
/* 803374A4 00334404 38 61 00 08 */ addi r3, r1, 8
/* 803374A8 00334408 4B FD CD 59 */ bl __ct__9CVector2fFff
/* 803374AC 0033440C FC 20 F8 90 */ fmr f1, f31
/* 803374B0 00334410 7C 7F 1B 78 */ mr r31, r3
/* 803374B4 00334414 FC 40 F0 90 */ fmr f2, f30
/* 803374B8 00334418 38 61 00 10 */ addi r3, r1, 0x10
/* 803374BC 0033441C 4B FD CD 45 */ bl __ct__9CVector2fFff
/* 803374C0 00334420 7C 64 1B 78 */ mr r4, r3
/* 803374C4 00334424 7F E5 FB 78 */ mr r5, r31
/* 803374C8 00334428 38 61 00 18 */ addi r3, r1, 0x18
/* 803374CC 0033442C 4B FD CA 6D */ bl __mi__FRC9CVector2fRC9CVector2f
/* 803374D0 00334430 38 61 00 18 */ addi r3, r1, 0x18
/* 803374D4 00334434 4B FD CC 21 */ bl Magnitude__9CVector2fCFv
/* 803374D8 00334438 48 00 00 30 */ b lbl_80337508
/* 803374DC 0033443C EC 1E 30 28 */ fsubs f0, f30, f6
/* 803374E0 00334440 FC 00 02 10 */ fabs f0, f0
/* 803374E4 00334444 FC 20 00 18 */ frsp f1, f0
/* 803374E8 00334448 48 00 00 20 */ b lbl_80337508
/* 803374EC 0033444C EC 1F 08 28 */ fsubs f0, f31, f1
/* 803374F0 00334450 FC 00 02 10 */ fabs f0, f0
/* 803374F4 00334454 FC 20 00 18 */ frsp f1, f0
/* 803374F8 00334458 48 00 00 10 */ b lbl_80337508
/* 803374FC 0033445C C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2)
/* 80337500 00334460 48 00 00 08 */ b lbl_80337508
lbl_80337504:
/* 80337504 00334464 C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2)
lbl_80337508:
/* 80337508 00334468 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 8033750C 0033446C CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80337510 00334470 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 80337514 00334474 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 80337518 00334478 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 8033751C 0033447C CB A1 00 70 */ lfd f29, 0x70(r1)
/* 80337520 00334480 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80337524 00334484 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 80337528 00334488 7C 08 03 A6 */ mtlr r0
/* 8033752C 0033448C 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80337530 00334490 4E 80 00 20 */ blr
.global PointInside__6CAABoxCFRC9CVector3f
PointInside__6CAABoxCFRC9CVector3f:
/* 80337534 00334494 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337538 00334498 38 00 00 00 */ li r0, 0
/* 8033753C 0033449C C0 03 00 00 */ lfs f0, 0(r3)
/* 80337540 003344A0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337544 003344A4 4C 41 13 82 */ cror 2, 1, 2
/* 80337548 003344A8 40 82 00 60 */ bne lbl_803375A8
/* 8033754C 003344AC C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80337550 003344B0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337554 003344B4 4C 40 13 82 */ cror 2, 0, 2
/* 80337558 003344B8 40 82 00 50 */ bne lbl_803375A8
/* 8033755C 003344BC C0 24 00 04 */ lfs f1, 4(r4)
/* 80337560 003344C0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80337564 003344C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337568 003344C8 4C 41 13 82 */ cror 2, 1, 2
/* 8033756C 003344CC 40 82 00 3C */ bne lbl_803375A8
/* 80337570 003344D0 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80337574 003344D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337578 003344D8 4C 40 13 82 */ cror 2, 0, 2
/* 8033757C 003344DC 40 82 00 2C */ bne lbl_803375A8
/* 80337580 003344E0 C0 24 00 08 */ lfs f1, 8(r4)
/* 80337584 003344E4 C0 03 00 08 */ lfs f0, 8(r3)
/* 80337588 003344E8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8033758C 003344EC 4C 41 13 82 */ cror 2, 1, 2
/* 80337590 003344F0 40 82 00 18 */ bne lbl_803375A8
/* 80337594 003344F4 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80337598 003344F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8033759C 003344FC 4C 40 13 82 */ cror 2, 0, 2
/* 803375A0 00334500 40 82 00 08 */ bne lbl_803375A8
/* 803375A4 00334504 38 00 00 01 */ li r0, 1
lbl_803375A8:
/* 803375A8 00334508 7C 03 03 78 */ mr r3, r0
/* 803375AC 0033450C 4E 80 00 20 */ blr
.global GetPoint__6CAABoxCFi
GetPoint__6CAABoxCFi:
/* 803375B0 00334510 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803375B4 00334514 39 24 00 0C */ addi r9, r4, 0xc
/* 803375B8 00334518 54 A7 07 7A */ rlwinm r7, r5, 0, 0x1d, 0x1d
/* 803375BC 0033451C 54 A6 0F 7A */ rlwinm r6, r5, 1, 0x1d, 0x1d
/* 803375C0 00334520 80 02 D7 88 */ lwz r0, lbl_805AF4A8@sda21(r2)
/* 803375C4 00334524 39 01 00 08 */ addi r8, r1, 8
/* 803375C8 00334528 81 42 D7 8C */ lwz r10, lbl_805AF4AC@sda21(r2)
/* 803375CC 0033452C 90 01 00 08 */ stw r0, 8(r1)
/* 803375D0 00334530 54 A0 17 7A */ rlwinm r0, r5, 2, 0x1d, 0x1d
/* 803375D4 00334534 91 41 00 0C */ stw r10, 0xc(r1)
/* 803375D8 00334538 90 81 00 08 */ stw r4, 8(r1)
/* 803375DC 0033453C 91 21 00 0C */ stw r9, 0xc(r1)
/* 803375E0 00334540 7C E8 38 2E */ lwzx r7, r8, r7
/* 803375E4 00334544 7C A8 30 2E */ lwzx r5, r8, r6
/* 803375E8 00334548 7C 88 00 2E */ lwzx r4, r8, r0
/* 803375EC 0033454C C0 27 00 08 */ lfs f1, 8(r7)
/* 803375F0 00334550 C0 45 00 04 */ lfs f2, 4(r5)
/* 803375F4 00334554 C0 04 00 00 */ lfs f0, 0(r4)
/* 803375F8 00334558 D0 03 00 00 */ stfs f0, 0(r3)
/* 803375FC 0033455C D0 43 00 04 */ stfs f2, 4(r3)
/* 80337600 00334560 D0 23 00 08 */ stfs f1, 8(r3)
/* 80337604 00334564 38 21 00 10 */ addi r1, r1, 0x10
/* 80337608 00334568 4E 80 00 20 */ blr
.global GetCenterPoint__6CAABoxCFv
GetCenterPoint__6CAABoxCFv:
/* 8033760C 0033456C C0 24 00 00 */ lfs f1, 0(r4)
/* 80337610 00334570 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337614 00334574 C0 64 00 04 */ lfs f3, 4(r4)
/* 80337618 00334578 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 8033761C 0033457C EC 01 00 2A */ fadds f0, f1, f0
/* 80337620 00334580 C0 82 CB 8C */ lfs f4, lbl_805AE8AC@sda21(r2)
/* 80337624 00334584 EC 63 10 2A */ fadds f3, f3, f2
/* 80337628 00334588 C0 44 00 08 */ lfs f2, 8(r4)
/* 8033762C 0033458C C0 24 00 14 */ lfs f1, 0x14(r4)
/* 80337630 00334590 EC 04 00 32 */ fmuls f0, f4, f0
/* 80337634 00334594 EC 22 08 2A */ fadds f1, f2, f1
/* 80337638 00334598 EC 44 00 F2 */ fmuls f2, f4, f3
/* 8033763C 0033459C D0 03 00 00 */ stfs f0, 0(r3)
/* 80337640 003345A0 EC 04 00 72 */ fmuls f0, f4, f1
/* 80337644 003345A4 D0 43 00 04 */ stfs f2, 4(r3)
/* 80337648 003345A8 D0 03 00 08 */ stfs f0, 8(r3)
/* 8033764C 003345AC 4E 80 00 20 */ blr
.global GetVolume__6CAABoxCFv
GetVolume__6CAABoxCFv:
/* 80337650 003345B0 C0 63 00 0C */ lfs f3, 0xc(r3)
/* 80337654 003345B4 C0 43 00 00 */ lfs f2, 0(r3)
/* 80337658 003345B8 C0 23 00 10 */ lfs f1, 0x10(r3)
/* 8033765C 003345BC C0 03 00 04 */ lfs f0, 4(r3)
/* 80337660 003345C0 EC 43 10 28 */ fsubs f2, f3, f2
/* 80337664 003345C4 C0 63 00 14 */ lfs f3, 0x14(r3)
/* 80337668 003345C8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8033766C 003345CC C0 23 00 08 */ lfs f1, 8(r3)
/* 80337670 003345D0 EC 23 08 28 */ fsubs f1, f3, f1
/* 80337674 003345D4 EC 02 00 32 */ fmuls f0, f2, f0
/* 80337678 003345D8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8033767C 003345DC 4E 80 00 20 */ blr
.global Invalid__6CAABoxCFv
Invalid__6CAABoxCFv:
/* 80337680 003345E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80337684 003345E4 7C 08 02 A6 */ mflr r0
/* 80337688 003345E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8033768C 003345EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80337690 003345F0 7C 7F 1B 78 */ mr r31, r3
/* 80337694 003345F4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80337698 003345F8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8033769C 003345FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803376A0 00334600 40 81 00 2C */ ble lbl_803376CC
/* 803376A4 00334604 C0 3F 00 04 */ lfs f1, 4(r31)
/* 803376A8 00334608 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 803376AC 0033460C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803376B0 00334610 40 81 00 1C */ ble lbl_803376CC
/* 803376B4 00334614 C0 3F 00 08 */ lfs f1, 8(r31)
/* 803376B8 00334618 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 803376BC 0033461C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803376C0 00334620 40 81 00 0C */ ble lbl_803376CC
/* 803376C4 00334624 38 60 00 01 */ li r3, 1
/* 803376C8 00334628 48 00 00 48 */ b lbl_80337710
lbl_803376CC:
/* 803376CC 0033462C 3C 60 80 5A */ lis r3, skZero3f@ha
/* 803376D0 00334630 C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2)
/* 803376D4 00334634 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 803376D8 00334638 7F E3 FB 78 */ mr r3, r31
/* 803376DC 0033463C 4B FD CE D5 */ bl IsEqu__9CVector3fCFRC9CVector3ff
/* 803376E0 00334640 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803376E4 00334644 41 82 00 28 */ beq lbl_8033770C
/* 803376E8 00334648 3C 60 80 5A */ lis r3, skZero3f@ha
/* 803376EC 0033464C C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2)
/* 803376F0 00334650 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 803376F4 00334654 38 7F 00 0C */ addi r3, r31, 0xc
/* 803376F8 00334658 4B FD CE B9 */ bl IsEqu__9CVector3fCFRC9CVector3ff
/* 803376FC 0033465C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80337700 00334660 41 82 00 0C */ beq lbl_8033770C
/* 80337704 00334664 38 60 00 01 */ li r3, 1
/* 80337708 00334668 48 00 00 08 */ b lbl_80337710
lbl_8033770C:
/* 8033770C 0033466C 38 60 00 00 */ li r3, 0
lbl_80337710:
/* 80337710 00334670 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80337714 00334674 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80337718 00334678 7C 08 03 A6 */ mtlr r0
/* 8033771C 0033467C 38 21 00 10 */ addi r1, r1, 0x10
/* 80337720 00334680 4E 80 00 20 */ blr
.global GetBooleanIntersection__6CAABoxCFRC6CAABox
GetBooleanIntersection__6CAABoxCFRC6CAABox:
/* 80337724 00334684 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80337728 00334688 7C 08 02 A6 */ mflr r0
/* 8033772C 0033468C 3C C0 80 5A */ lis r6, skZero3f@ha
/* 80337730 00334690 7C A7 2B 78 */ mr r7, r5
/* 80337734 00334694 90 01 00 24 */ stw r0, 0x24(r1)
/* 80337738 00334698 38 00 00 03 */ li r0, 3
/* 8033773C 0033469C 7C 88 23 78 */ mr r8, r4
/* 80337740 003346A0 39 41 00 14 */ addi r10, r1, 0x14
/* 80337744 003346A4 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6)
/* 80337748 003346A8 39 61 00 08 */ addi r11, r1, 8
/* 8033774C 003346AC 39 20 00 00 */ li r9, 0
/* 80337750 003346B0 C0 26 00 04 */ lfs f1, 4(r6)
/* 80337754 003346B4 C0 46 00 08 */ lfs f2, 8(r6)
/* 80337758 003346B8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8033775C 003346BC D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80337760 003346C0 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337764 003346C4 D0 01 00 08 */ stfs f0, 8(r1)
/* 80337768 003346C8 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8033776C 003346CC D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337770 003346D0 7C 09 03 A6 */ mtctr r0
lbl_80337774:
/* 80337774 003346D4 C0 68 00 00 */ lfs f3, 0(r8)
/* 80337778 003346D8 C0 47 00 00 */ lfs f2, 0(r7)
/* 8033777C 003346DC FC 03 10 40 */ fcmpo cr0, f3, f2
/* 80337780 003346E0 4C 40 13 82 */ cror 2, 0, 2
/* 80337784 003346E4 40 82 00 2C */ bne lbl_803377B0
/* 80337788 003346E8 7C C4 4A 14 */ add r6, r4, r9
/* 8033778C 003346EC 7D 85 4A 14 */ add r12, r5, r9
/* 80337790 003346F0 C0 26 00 0C */ lfs f1, 0xc(r6)
/* 80337794 003346F4 C0 0C 00 0C */ lfs f0, 0xc(r12)
/* 80337798 003346F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8033779C 003346FC 4C 41 13 82 */ cror 2, 1, 2
/* 803377A0 00334700 40 82 00 10 */ bne lbl_803377B0
/* 803377A4 00334704 D0 4A 00 00 */ stfs f2, 0(r10)
/* 803377A8 00334708 D0 0B 00 00 */ stfs f0, 0(r11)
/* 803377AC 0033470C 48 00 00 94 */ b lbl_80337840
lbl_803377B0:
/* 803377B0 00334710 FC 02 18 40 */ fcmpo cr0, f2, f3
/* 803377B4 00334714 4C 40 13 82 */ cror 2, 0, 2
/* 803377B8 00334718 40 82 00 2C */ bne lbl_803377E4
/* 803377BC 0033471C 7C C5 4A 14 */ add r6, r5, r9
/* 803377C0 00334720 7D 84 4A 14 */ add r12, r4, r9
/* 803377C4 00334724 C0 26 00 0C */ lfs f1, 0xc(r6)
/* 803377C8 00334728 C0 0C 00 0C */ lfs f0, 0xc(r12)
/* 803377CC 0033472C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803377D0 00334730 4C 41 13 82 */ cror 2, 1, 2
/* 803377D4 00334734 40 82 00 10 */ bne lbl_803377E4
/* 803377D8 00334738 D0 6A 00 00 */ stfs f3, 0(r10)
/* 803377DC 0033473C D0 0B 00 00 */ stfs f0, 0(r11)
/* 803377E0 00334740 48 00 00 60 */ b lbl_80337840
lbl_803377E4:
/* 803377E4 00334744 FC 02 18 40 */ fcmpo cr0, f2, f3
/* 803377E8 00334748 4C 40 13 82 */ cror 2, 0, 2
/* 803377EC 0033474C 40 82 00 24 */ bne lbl_80337810
/* 803377F0 00334750 7C C5 4A 14 */ add r6, r5, r9
/* 803377F4 00334754 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 803377F8 00334758 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 803377FC 0033475C 4C 41 13 82 */ cror 2, 1, 2
/* 80337800 00334760 40 82 00 10 */ bne lbl_80337810
/* 80337804 00334764 D0 6A 00 00 */ stfs f3, 0(r10)
/* 80337808 00334768 D0 0B 00 00 */ stfs f0, 0(r11)
/* 8033780C 0033476C 48 00 00 34 */ b lbl_80337840
lbl_80337810:
/* 80337810 00334770 7C C4 4A 14 */ add r6, r4, r9
/* 80337814 00334774 C0 26 00 0C */ lfs f1, 0xc(r6)
/* 80337818 00334778 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 8033781C 0033477C 4C 40 13 82 */ cror 2, 0, 2
/* 80337820 00334780 40 82 00 20 */ bne lbl_80337840
/* 80337824 00334784 7C C5 4A 14 */ add r6, r5, r9
/* 80337828 00334788 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 8033782C 0033478C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80337830 00334790 4C 41 13 82 */ cror 2, 1, 2
/* 80337834 00334794 40 82 00 0C */ bne lbl_80337840
/* 80337838 00334798 D0 4A 00 00 */ stfs f2, 0(r10)
/* 8033783C 0033479C D0 2B 00 00 */ stfs f1, 0(r11)
lbl_80337840:
/* 80337840 003347A0 38 E7 00 04 */ addi r7, r7, 4
/* 80337844 003347A4 39 08 00 04 */ addi r8, r8, 4
/* 80337848 003347A8 39 29 00 04 */ addi r9, r9, 4
/* 8033784C 003347AC 39 4A 00 04 */ addi r10, r10, 4
/* 80337850 003347B0 39 6B 00 04 */ addi r11, r11, 4
/* 80337854 003347B4 42 00 FF 20 */ bdnz lbl_80337774
/* 80337858 003347B8 38 81 00 14 */ addi r4, r1, 0x14
/* 8033785C 003347BC 38 A1 00 08 */ addi r5, r1, 8
/* 80337860 003347C0 48 00 0C A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80337864 003347C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80337868 003347C8 7C 08 03 A6 */ mtlr r0
/* 8033786C 003347CC 38 21 00 20 */ addi r1, r1, 0x20
/* 80337870 003347D0 4E 80 00 20 */ blr
.global ClampToBox__6CAABoxCFRC9CVector3f
ClampToBox__6CAABoxCFRC9CVector3f:
/* 80337874 003347D4 C0 05 00 08 */ lfs f0, 8(r5)
/* 80337878 003347D8 C0 24 00 08 */ lfs f1, 8(r4)
/* 8033787C 003347DC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80337880 003347E0 40 80 00 08 */ bge lbl_80337888
/* 80337884 003347E4 48 00 00 18 */ b lbl_8033789C
lbl_80337888:
/* 80337888 003347E8 C0 24 00 14 */ lfs f1, 0x14(r4)
/* 8033788C 003347EC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80337890 003347F0 40 81 00 08 */ ble lbl_80337898
/* 80337894 003347F4 48 00 00 08 */ b lbl_8033789C
lbl_80337898:
/* 80337898 003347F8 FC 20 00 90 */ fmr f1, f0
lbl_8033789C:
/* 8033789C 003347FC C0 05 00 04 */ lfs f0, 4(r5)
/* 803378A0 00334800 C0 44 00 04 */ lfs f2, 4(r4)
/* 803378A4 00334804 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 803378A8 00334808 40 80 00 08 */ bge lbl_803378B0
/* 803378AC 0033480C 48 00 00 18 */ b lbl_803378C4
lbl_803378B0:
/* 803378B0 00334810 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 803378B4 00334814 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 803378B8 00334818 40 81 00 08 */ ble lbl_803378C0
/* 803378BC 0033481C 48 00 00 08 */ b lbl_803378C4
lbl_803378C0:
/* 803378C0 00334820 FC 40 00 90 */ fmr f2, f0
lbl_803378C4:
/* 803378C4 00334824 C0 05 00 00 */ lfs f0, 0(r5)
/* 803378C8 00334828 C0 64 00 00 */ lfs f3, 0(r4)
/* 803378CC 0033482C FC 00 18 40 */ fcmpo cr0, f0, f3
/* 803378D0 00334830 40 80 00 08 */ bge lbl_803378D8
/* 803378D4 00334834 48 00 00 18 */ b lbl_803378EC
lbl_803378D8:
/* 803378D8 00334838 C0 64 00 0C */ lfs f3, 0xc(r4)
/* 803378DC 0033483C FC 00 18 40 */ fcmpo cr0, f0, f3
/* 803378E0 00334840 40 81 00 08 */ ble lbl_803378E8
/* 803378E4 00334844 48 00 00 08 */ b lbl_803378EC
lbl_803378E8:
/* 803378E8 00334848 FC 60 00 90 */ fmr f3, f0
lbl_803378EC:
/* 803378EC 0033484C D0 63 00 00 */ stfs f3, 0(r3)
/* 803378F0 00334850 D0 43 00 04 */ stfs f2, 4(r3)
/* 803378F4 00334854 D0 23 00 08 */ stfs f1, 8(r3)
/* 803378F8 00334858 4E 80 00 20 */ blr
.global GetTransformedAABox__6CAABoxCFRC12CTransform4f
GetTransformedAABox__6CAABoxCFRC12CTransform4f:
/* 803378FC 0033485C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80337900 00334860 7C 08 02 A6 */ mflr r0
/* 80337904 00334864 3C C0 80 5A */ lis r6, skIdentity4f@ha
/* 80337908 00334868 90 01 00 24 */ stw r0, 0x24(r1)
/* 8033790C 0033486C 38 06 66 70 */ addi r0, r6, skIdentity4f@l
/* 80337910 00334870 7C 05 00 40 */ cmplw r5, r0
/* 80337914 00334874 40 82 00 38 */ bne lbl_8033794C
/* 80337918 00334878 C0 04 00 00 */ lfs f0, 0(r4)
/* 8033791C 0033487C D0 03 00 00 */ stfs f0, 0(r3)
/* 80337920 00334880 C0 04 00 04 */ lfs f0, 4(r4)
/* 80337924 00334884 D0 03 00 04 */ stfs f0, 4(r3)
/* 80337928 00334888 C0 04 00 08 */ lfs f0, 8(r4)
/* 8033792C 0033488C D0 03 00 08 */ stfs f0, 8(r3)
/* 80337930 00334890 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337934 00334894 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80337938 00334898 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 8033793C 0033489C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80337940 003348A0 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80337944 003348A4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80337948 003348A8 48 00 00 CC */ b lbl_80337A14
lbl_8033794C:
/* 8033794C 003348AC C0 45 00 2C */ lfs f2, 0x2c(r5)
/* 80337950 003348B0 39 21 00 14 */ addi r9, r1, 0x14
/* 80337954 003348B4 C0 25 00 1C */ lfs f1, 0x1c(r5)
/* 80337958 003348B8 39 41 00 08 */ addi r10, r1, 8
/* 8033795C 003348BC C0 05 00 0C */ lfs f0, 0xc(r5)
/* 80337960 003348C0 39 60 00 00 */ li r11, 0
/* 80337964 003348C4 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80337968 003348C8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8033796C 003348CC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337970 003348D0 D0 01 00 08 */ stfs f0, 8(r1)
/* 80337974 003348D4 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80337978 003348D8 D0 41 00 10 */ stfs f2, 0x10(r1)
lbl_8033797C:
/* 8033797C 003348DC 38 00 00 03 */ li r0, 3
/* 80337980 003348E0 7C 86 23 78 */ mr r6, r4
/* 80337984 003348E4 7C A7 2B 78 */ mr r7, r5
/* 80337988 003348E8 39 04 00 0C */ addi r8, r4, 0xc
/* 8033798C 003348EC 7C 09 03 A6 */ mtctr r0
lbl_80337990:
/* 80337990 003348F0 C0 47 00 00 */ lfs f2, 0(r7)
/* 80337994 003348F4 C0 26 00 00 */ lfs f1, 0(r6)
/* 80337998 003348F8 C0 08 00 00 */ lfs f0, 0(r8)
/* 8033799C 003348FC EC 62 00 72 */ fmuls f3, f2, f1
/* 803379A0 00334900 EC 42 00 32 */ fmuls f2, f2, f0
/* 803379A4 00334904 FC 03 10 40 */ fcmpo cr0, f3, f2
/* 803379A8 00334908 40 80 00 20 */ bge lbl_803379C8
/* 803379AC 0033490C C0 29 00 00 */ lfs f1, 0(r9)
/* 803379B0 00334910 C0 0A 00 00 */ lfs f0, 0(r10)
/* 803379B4 00334914 EC 21 18 2A */ fadds f1, f1, f3
/* 803379B8 00334918 EC 00 10 2A */ fadds f0, f0, f2
/* 803379BC 0033491C D0 29 00 00 */ stfs f1, 0(r9)
/* 803379C0 00334920 D0 0A 00 00 */ stfs f0, 0(r10)
/* 803379C4 00334924 48 00 00 1C */ b lbl_803379E0
lbl_803379C8:
/* 803379C8 00334928 C0 29 00 00 */ lfs f1, 0(r9)
/* 803379CC 0033492C C0 0A 00 00 */ lfs f0, 0(r10)
/* 803379D0 00334930 EC 21 10 2A */ fadds f1, f1, f2
/* 803379D4 00334934 EC 00 18 2A */ fadds f0, f0, f3
/* 803379D8 00334938 D0 29 00 00 */ stfs f1, 0(r9)
/* 803379DC 0033493C D0 0A 00 00 */ stfs f0, 0(r10)
lbl_803379E0:
/* 803379E0 00334940 38 C6 00 04 */ addi r6, r6, 4
/* 803379E4 00334944 38 E7 00 04 */ addi r7, r7, 4
/* 803379E8 00334948 39 08 00 04 */ addi r8, r8, 4
/* 803379EC 0033494C 42 00 FF A4 */ bdnz lbl_80337990
/* 803379F0 00334950 39 6B 00 01 */ addi r11, r11, 1
/* 803379F4 00334954 39 29 00 04 */ addi r9, r9, 4
/* 803379F8 00334958 2C 0B 00 03 */ cmpwi r11, 3
/* 803379FC 0033495C 39 4A 00 04 */ addi r10, r10, 4
/* 80337A00 00334960 38 A5 00 10 */ addi r5, r5, 0x10
/* 80337A04 00334964 41 80 FF 78 */ blt lbl_8033797C
/* 80337A08 00334968 38 81 00 14 */ addi r4, r1, 0x14
/* 80337A0C 0033496C 38 A1 00 08 */ addi r5, r1, 8
/* 80337A10 00334970 48 00 0A F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
lbl_80337A14:
/* 80337A14 00334974 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80337A18 00334978 7C 08 03 A6 */ mtlr r0
/* 80337A1C 0033497C 38 21 00 20 */ addi r1, r1, 0x20
/* 80337A20 00334980 4E 80 00 20 */ blr
.global InsidePlane__6CAABoxCFRC6CPlane
InsidePlane__6CAABoxCFRC6CPlane:
/* 80337A24 00334984 C0 64 00 04 */ lfs f3, 4(r4)
/* 80337A28 00334988 C0 03 00 04 */ lfs f0, 4(r3)
/* 80337A2C 0033498C C0 23 00 10 */ lfs f1, 0x10(r3)
/* 80337A30 00334990 C0 A4 00 00 */ lfs f5, 0(r4)
/* 80337A34 00334994 FC 03 08 2E */ fsel f0, f3, f0, f1
/* 80337A38 00334998 C0 23 00 00 */ lfs f1, 0(r3)
/* 80337A3C 0033499C C0 43 00 0C */ lfs f2, 0xc(r3)
/* 80337A40 003349A0 C0 C4 00 08 */ lfs f6, 8(r4)
/* 80337A44 003349A4 FC 85 10 6E */ fsel f4, f5, f1, f2
/* 80337A48 003349A8 C0 43 00 08 */ lfs f2, 8(r3)
/* 80337A4C 003349AC EC 23 00 32 */ fmuls f1, f3, f0
/* 80337A50 003349B0 C0 63 00 14 */ lfs f3, 0x14(r3)
/* 80337A54 003349B4 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337A58 003349B8 FC 46 18 AE */ fsel f2, f6, f2, f3
/* 80337A5C 003349BC EC 25 09 3A */ fmadds f1, f5, f4, f1
/* 80337A60 003349C0 EC 26 08 BA */ fmadds f1, f6, f2, f1
/* 80337A64 003349C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337A68 003349C8 4C 41 13 82 */ cror 2, 1, 2
/* 80337A6C 003349CC 7C 00 00 26 */ mfcr r0
/* 80337A70 003349D0 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f
/* 80337A74 003349D4 7C 00 00 34 */ cntlzw r0, r0
/* 80337A78 003349D8 54 03 D9 7E */ srwi r3, r0, 5
/* 80337A7C 003349DC 4E 80 00 20 */ blr
.global Inside__6CAABoxCFRC6CAABox
Inside__6CAABoxCFRC6CAABox:
/* 80337A80 003349E0 C0 23 00 00 */ lfs f1, 0(r3)
/* 80337A84 003349E4 C0 04 00 00 */ lfs f0, 0(r4)
/* 80337A88 003349E8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337A8C 003349EC 4C 41 13 82 */ cror 2, 1, 2
/* 80337A90 003349F0 40 82 00 70 */ bne lbl_80337B00
/* 80337A94 003349F4 C0 23 00 0C */ lfs f1, 0xc(r3)
/* 80337A98 003349F8 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337A9C 003349FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337AA0 00334A00 4C 40 13 82 */ cror 2, 0, 2
/* 80337AA4 00334A04 40 82 00 5C */ bne lbl_80337B00
/* 80337AA8 00334A08 C0 23 00 04 */ lfs f1, 4(r3)
/* 80337AAC 00334A0C C0 04 00 04 */ lfs f0, 4(r4)
/* 80337AB0 00334A10 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337AB4 00334A14 4C 41 13 82 */ cror 2, 1, 2
/* 80337AB8 00334A18 40 82 00 48 */ bne lbl_80337B00
/* 80337ABC 00334A1C C0 23 00 10 */ lfs f1, 0x10(r3)
/* 80337AC0 00334A20 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 80337AC4 00334A24 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337AC8 00334A28 4C 40 13 82 */ cror 2, 0, 2
/* 80337ACC 00334A2C 40 82 00 34 */ bne lbl_80337B00
/* 80337AD0 00334A30 C0 23 00 08 */ lfs f1, 8(r3)
/* 80337AD4 00334A34 C0 04 00 08 */ lfs f0, 8(r4)
/* 80337AD8 00334A38 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337ADC 00334A3C 4C 41 13 82 */ cror 2, 1, 2
/* 80337AE0 00334A40 40 82 00 20 */ bne lbl_80337B00
/* 80337AE4 00334A44 C0 23 00 14 */ lfs f1, 0x14(r3)
/* 80337AE8 00334A48 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80337AEC 00334A4C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337AF0 00334A50 4C 40 13 82 */ cror 2, 0, 2
/* 80337AF4 00334A54 40 82 00 0C */ bne lbl_80337B00
/* 80337AF8 00334A58 38 60 00 01 */ li r3, 1
/* 80337AFC 00334A5C 4E 80 00 20 */ blr
lbl_80337B00:
/* 80337B00 00334A60 38 60 00 00 */ li r3, 0
/* 80337B04 00334A64 4E 80 00 20 */ blr
.global AccumulateBounds__6CAABoxFRC9CVector3f
AccumulateBounds__6CAABoxFRC9CVector3f:
/* 80337B08 00334A68 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337B0C 00334A6C C0 03 00 00 */ lfs f0, 0(r3)
/* 80337B10 00334A70 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B14 00334A74 40 80 00 08 */ bge lbl_80337B1C
/* 80337B18 00334A78 D0 23 00 00 */ stfs f1, 0(r3)
lbl_80337B1C:
/* 80337B1C 00334A7C C0 24 00 04 */ lfs f1, 4(r4)
/* 80337B20 00334A80 C0 03 00 04 */ lfs f0, 4(r3)
/* 80337B24 00334A84 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B28 00334A88 40 80 00 08 */ bge lbl_80337B30
/* 80337B2C 00334A8C D0 23 00 04 */ stfs f1, 4(r3)
lbl_80337B30:
/* 80337B30 00334A90 C0 24 00 08 */ lfs f1, 8(r4)
/* 80337B34 00334A94 C0 03 00 08 */ lfs f0, 8(r3)
/* 80337B38 00334A98 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B3C 00334A9C 40 80 00 08 */ bge lbl_80337B44
/* 80337B40 00334AA0 D0 23 00 08 */ stfs f1, 8(r3)
lbl_80337B44:
/* 80337B44 00334AA4 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337B48 00334AA8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80337B4C 00334AAC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B50 00334AB0 40 81 00 08 */ ble lbl_80337B58
/* 80337B54 00334AB4 D0 23 00 0C */ stfs f1, 0xc(r3)
lbl_80337B58:
/* 80337B58 00334AB8 C0 24 00 04 */ lfs f1, 4(r4)
/* 80337B5C 00334ABC C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80337B60 00334AC0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B64 00334AC4 40 81 00 08 */ ble lbl_80337B6C
/* 80337B68 00334AC8 D0 23 00 10 */ stfs f1, 0x10(r3)
lbl_80337B6C:
/* 80337B6C 00334ACC C0 24 00 08 */ lfs f1, 8(r4)
/* 80337B70 00334AD0 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80337B74 00334AD4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B78 00334AD8 4C 81 00 20 */ blelr
/* 80337B7C 00334ADC D0 23 00 14 */ stfs f1, 0x14(r3)
/* 80337B80 00334AE0 4E 80 00 20 */ blr
.global DoBoundsOverlap__6CAABoxCFRC6CAABox
DoBoundsOverlap__6CAABoxCFRC6CAABox:
/* 80337B84 00334AE4 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337B88 00334AE8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80337B8C 00334AEC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337B90 00334AF0 41 81 00 54 */ bgt lbl_80337BE4
/* 80337B94 00334AF4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80337B98 00334AF8 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337B9C 00334AFC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337BA0 00334B00 41 81 00 44 */ bgt lbl_80337BE4
/* 80337BA4 00334B04 C0 24 00 04 */ lfs f1, 4(r4)
/* 80337BA8 00334B08 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80337BAC 00334B0C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337BB0 00334B10 41 81 00 34 */ bgt lbl_80337BE4
/* 80337BB4 00334B14 C0 23 00 04 */ lfs f1, 4(r3)
/* 80337BB8 00334B18 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 80337BBC 00334B1C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337BC0 00334B20 41 81 00 24 */ bgt lbl_80337BE4
/* 80337BC4 00334B24 C0 24 00 08 */ lfs f1, 8(r4)
/* 80337BC8 00334B28 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80337BCC 00334B2C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337BD0 00334B30 41 81 00 14 */ bgt lbl_80337BE4
/* 80337BD4 00334B34 C0 23 00 08 */ lfs f1, 8(r3)
/* 80337BD8 00334B38 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80337BDC 00334B3C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80337BE0 00334B40 40 81 00 0C */ ble lbl_80337BEC
lbl_80337BE4:
/* 80337BE4 00334B44 38 60 00 00 */ li r3, 0
/* 80337BE8 00334B48 4E 80 00 20 */ blr
lbl_80337BEC:
/* 80337BEC 00334B4C 38 60 00 01 */ li r3, 1
/* 80337BF0 00334B50 4E 80 00 20 */ blr
.global GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi
GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi:
/* 80337BF4 00334B54 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80337BF8 00334B58 7C 08 02 A6 */ mflr r0
/* 80337BFC 00334B5C 2C 05 00 03 */ cmpwi r5, 3
/* 80337C00 00334B60 90 01 00 64 */ stw r0, 0x64(r1)
/* 80337C04 00334B64 BF 21 00 44 */ stmw r25, 0x44(r1)
/* 80337C08 00334B68 7C 7F 1B 78 */ mr r31, r3
/* 80337C0C 00334B6C C0 64 00 04 */ lfs f3, 4(r4)
/* 80337C10 00334B70 C0 44 00 14 */ lfs f2, 0x14(r4)
/* 80337C14 00334B74 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337C18 00334B78 C0 84 00 08 */ lfs f4, 8(r4)
/* 80337C1C 00334B7C C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337C20 00334B80 D0 21 00 08 */ stfs f1, 8(r1)
/* 80337C24 00334B84 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80337C28 00334B88 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337C2C 00334B8C D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80337C30 00334B90 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80337C34 00334B94 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 80337C38 00334B98 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80337C3C 00334B9C D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80337C40 00334BA0 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337C44 00334BA4 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80337C48 00334BA8 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80337C4C 00334BAC D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80337C50 00334BB0 41 82 00 E0 */ beq lbl_80337D30
/* 80337C54 00334BB4 40 80 00 14 */ bge lbl_80337C68
/* 80337C58 00334BB8 2C 05 00 01 */ cmpwi r5, 1
/* 80337C5C 00334BBC 41 82 00 64 */ beq lbl_80337CC0
/* 80337C60 00334BC0 40 80 00 98 */ bge lbl_80337CF8
/* 80337C64 00334BC4 48 00 00 14 */ b lbl_80337C78
lbl_80337C68:
/* 80337C68 00334BC8 2C 05 00 05 */ cmpwi r5, 5
/* 80337C6C 00334BCC 41 82 01 34 */ beq lbl_80337DA0
/* 80337C70 00334BD0 40 80 00 08 */ bge lbl_80337C78
/* 80337C74 00334BD4 48 00 00 F4 */ b lbl_80337D68
lbl_80337C78:
/* 80337C78 00334BD8 C0 64 00 04 */ lfs f3, 4(r4)
/* 80337C7C 00334BDC C0 44 00 14 */ lfs f2, 0x14(r4)
/* 80337C80 00334BE0 C0 24 00 00 */ lfs f1, 0(r4)
/* 80337C84 00334BE4 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80337C88 00334BE8 C0 84 00 08 */ lfs f4, 8(r4)
/* 80337C8C 00334BEC D0 21 00 08 */ stfs f1, 8(r1)
/* 80337C90 00334BF0 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80337C94 00334BF4 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337C98 00334BF8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80337C9C 00334BFC D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80337CA0 00334C00 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337CA4 00334C04 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80337CA8 00334C08 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80337CAC 00334C0C D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337CB0 00334C10 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80337CB4 00334C14 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80337CB8 00334C18 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80337CBC 00334C1C 48 00 01 18 */ b lbl_80337DD4
lbl_80337CC0:
/* 80337CC0 00334C20 C0 64 00 10 */ lfs f3, 0x10(r4)
/* 80337CC4 00334C24 D0 01 00 08 */ stfs f0, 8(r1)
/* 80337CC8 00334C28 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80337CCC 00334C2C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337CD0 00334C30 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80337CD4 00334C34 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80337CD8 00334C38 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337CDC 00334C3C D0 21 00 20 */ stfs f1, 0x20(r1)
/* 80337CE0 00334C40 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80337CE4 00334C44 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337CE8 00334C48 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80337CEC 00334C4C D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80337CF0 00334C50 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80337CF4 00334C54 48 00 00 E0 */ b lbl_80337DD4
lbl_80337CF8:
/* 80337CF8 00334C58 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 80337CFC 00334C5C D0 21 00 08 */ stfs f1, 8(r1)
/* 80337D00 00334C60 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80337D04 00334C64 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337D08 00334C68 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80337D0C 00334C6C D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80337D10 00334C70 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337D14 00334C74 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 80337D18 00334C78 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80337D1C 00334C7C D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337D20 00334C80 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80337D24 00334C84 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80337D28 00334C88 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80337D2C 00334C8C 48 00 00 A8 */ b lbl_80337DD4
lbl_80337D30:
/* 80337D30 00334C90 C0 24 00 10 */ lfs f1, 0x10(r4)
/* 80337D34 00334C94 D0 01 00 08 */ stfs f0, 8(r1)
/* 80337D38 00334C98 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80337D3C 00334C9C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337D40 00334CA0 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80337D44 00334CA4 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80337D48 00334CA8 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337D4C 00334CAC D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80337D50 00334CB0 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80337D54 00334CB4 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337D58 00334CB8 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80337D5C 00334CBC D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80337D60 00334CC0 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80337D64 00334CC4 48 00 00 70 */ b lbl_80337DD4
lbl_80337D68:
/* 80337D68 00334CC8 C0 84 00 10 */ lfs f4, 0x10(r4)
/* 80337D6C 00334CCC D0 21 00 08 */ stfs f1, 8(r1)
/* 80337D70 00334CD0 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 80337D74 00334CD4 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80337D78 00334CD8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80337D7C 00334CDC D0 81 00 18 */ stfs f4, 0x18(r1)
/* 80337D80 00334CE0 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80337D84 00334CE4 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80337D88 00334CE8 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80337D8C 00334CEC D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80337D90 00334CF0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80337D94 00334CF4 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80337D98 00334CF8 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80337D9C 00334CFC 48 00 00 38 */ b lbl_80337DD4
lbl_80337DA0:
/* 80337DA0 00334D00 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 80337DA4 00334D04 D0 21 00 08 */ stfs f1, 8(r1)
/* 80337DA8 00334D08 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80337DAC 00334D0C D0 81 00 10 */ stfs f4, 0x10(r1)
/* 80337DB0 00334D10 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80337DB4 00334D14 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80337DB8 00334D18 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 80337DBC 00334D1C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80337DC0 00334D20 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 80337DC4 00334D24 D0 81 00 28 */ stfs f4, 0x28(r1)
/* 80337DC8 00334D28 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80337DCC 00334D2C D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80337DD0 00334D30 D0 81 00 34 */ stfs f4, 0x34(r1)
lbl_80337DD4:
/* 80337DD4 00334D34 38 06 00 01 */ addi r0, r6, 1
/* 80337DD8 00334D38 38 66 00 02 */ addi r3, r6, 2
/* 80337DDC 00334D3C 54 05 F0 02 */ slwi r5, r0, 0x1e
/* 80337DE0 00334D40 3B C1 00 08 */ addi r30, r1, 8
/* 80337DE4 00334D44 54 07 0F FE */ srwi r7, r0, 0x1f
/* 80337DE8 00334D48 54 60 F0 02 */ slwi r0, r3, 0x1e
/* 80337DEC 00334D4C 54 64 0F FE */ srwi r4, r3, 0x1f
/* 80337DF0 00334D50 7F DC F3 78 */ mr r28, r30
/* 80337DF4 00334D54 7C A7 28 50 */ subf r5, r7, r5
/* 80337DF8 00334D58 7F DA F3 78 */ mr r26, r30
/* 80337DFC 00334D5C 7C 04 00 50 */ subf r0, r4, r0
/* 80337E00 00334D60 7F E3 FB 78 */ mr r3, r31
/* 80337E04 00334D64 54 A5 10 3E */ rotlwi r5, r5, 2
/* 80337E08 00334D68 54 00 10 3E */ rotlwi r0, r0, 2
/* 80337E0C 00334D6C 7C A5 3A 14 */ add r5, r5, r7
/* 80337E10 00334D70 7C 00 22 14 */ add r0, r0, r4
/* 80337E14 00334D74 1F A6 00 0C */ mulli r29, r6, 0xc
/* 80337E18 00334D78 1F 65 00 0C */ mulli r27, r5, 0xc
/* 80337E1C 00334D7C 7F DE EA 14 */ add r30, r30, r29
/* 80337E20 00334D80 1F 20 00 0C */ mulli r25, r0, 0xc
/* 80337E24 00334D84 7F C4 F3 78 */ mr r4, r30
/* 80337E28 00334D88 7F 9C DA 14 */ add r28, r28, r27
/* 80337E2C 00334D8C 7F 5A CA 14 */ add r26, r26, r25
/* 80337E30 00334D90 7F 85 E3 78 */ mr r5, r28
/* 80337E34 00334D94 7F 46 D3 78 */ mr r6, r26
/* 80337E38 00334D98 4B FF F2 71 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80337E3C 00334D9C C0 1E 00 00 */ lfs f0, 0(r30)
/* 80337E40 00334DA0 38 61 00 0C */ addi r3, r1, 0xc
/* 80337E44 00334DA4 38 81 00 10 */ addi r4, r1, 0x10
/* 80337E48 00334DA8 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80337E4C 00334DAC 7C 03 EC 2E */ lfsx f0, r3, r29
/* 80337E50 00334DB0 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80337E54 00334DB4 7C 04 EC 2E */ lfsx f0, r4, r29
/* 80337E58 00334DB8 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 80337E5C 00334DBC C0 1C 00 00 */ lfs f0, 0(r28)
/* 80337E60 00334DC0 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 80337E64 00334DC4 7C 03 DC 2E */ lfsx f0, r3, r27
/* 80337E68 00334DC8 D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 80337E6C 00334DCC 7C 04 DC 2E */ lfsx f0, r4, r27
/* 80337E70 00334DD0 D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 80337E74 00334DD4 C0 1A 00 00 */ lfs f0, 0(r26)
/* 80337E78 00334DD8 D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 80337E7C 00334DDC 7C 03 CC 2E */ lfsx f0, r3, r25
/* 80337E80 00334DE0 D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 80337E84 00334DE4 7C 04 CC 2E */ lfsx f0, r4, r25
/* 80337E88 00334DE8 D0 1F 00 30 */ stfs f0, 0x30(r31)
/* 80337E8C 00334DEC BB 21 00 44 */ lmw r25, 0x44(r1)
/* 80337E90 00334DF0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80337E94 00334DF4 7C 08 03 A6 */ mtlr r0
/* 80337E98 00334DF8 38 21 00 60 */ addi r1, r1, 0x60
/* 80337E9C 00334DFC 4E 80 00 20 */ blr
.global GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId
GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId:
/* 80337EA0 00334E00 94 21 FD D0 */ stwu r1, -0x230(r1)
/* 80337EA4 00334E04 7C 08 02 A6 */ mflr r0
/* 80337EA8 00334E08 90 01 02 34 */ stw r0, 0x234(r1)
/* 80337EAC 00334E0C DB E1 02 20 */ stfd f31, 0x220(r1)
/* 80337EB0 00334E10 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0
/* 80337EB4 00334E14 DB C1 02 10 */ stfd f30, 0x210(r1)
/* 80337EB8 00334E18 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0
/* 80337EBC 00334E1C DB A1 02 00 */ stfd f29, 0x200(r1)
/* 80337EC0 00334E20 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0
/* 80337EC4 00334E24 DB 81 01 F0 */ stfd f28, 0x1f0(r1)
/* 80337EC8 00334E28 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0
/* 80337ECC 00334E2C 93 E1 01 EC */ stw r31, 0x1ec(r1)
/* 80337ED0 00334E30 28 05 00 0B */ cmplwi r5, 0xb
/* 80337ED4 00334E34 7C 7F 1B 78 */ mr r31, r3
/* 80337ED8 00334E38 41 81 05 8C */ bgt lbl_80338464
/* 80337EDC 00334E3C 3C 60 80 3F */ lis r3, lbl_803EE338@ha
/* 80337EE0 00334E40 54 A0 10 3A */ slwi r0, r5, 2
/* 80337EE4 00334E44 38 63 E3 38 */ addi r3, r3, lbl_803EE338@l
/* 80337EE8 00334E48 7C 03 00 2E */ lwzx r0, r3, r0
/* 80337EEC 00334E4C 7C 09 03 A6 */ mtctr r0
/* 80337EF0 00334E50 4E 80 04 20 */ bctr
/* 80337EF4 00334E54 C3 A4 00 04 */ lfs f29, 4(r4)
/* 80337EF8 00334E58 38 61 01 C4 */ addi r3, r1, 0x1c4
/* 80337EFC 00334E5C C3 84 00 00 */ lfs f28, 0(r4)
/* 80337F00 00334E60 EC 3D E8 28 */ fsubs f1, f29, f29
/* 80337F04 00334E64 C3 E4 00 08 */ lfs f31, 8(r4)
/* 80337F08 00334E68 C3 C4 00 14 */ lfs f30, 0x14(r4)
/* 80337F0C 00334E6C EC 5C E0 28 */ fsubs f2, f28, f28
/* 80337F10 00334E70 38 81 01 D0 */ addi r4, r1, 0x1d0
/* 80337F14 00334E74 EC 1F F0 28 */ fsubs f0, f31, f30
/* 80337F18 00334E78 D0 41 01 D0 */ stfs f2, 0x1d0(r1)
/* 80337F1C 00334E7C D0 21 01 D4 */ stfs f1, 0x1d4(r1)
/* 80337F20 00334E80 D0 01 01 D8 */ stfs f0, 0x1d8(r1)
/* 80337F24 00334E84 4B FD C9 2D */ bl AsNormalized__9CVector3fCFv
/* 80337F28 00334E88 38 61 01 B8 */ addi r3, r1, 0x1b8
/* 80337F2C 00334E8C 38 81 01 C4 */ addi r4, r1, 0x1c4
/* 80337F30 00334E90 4B FD BE A1 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80337F34 00334E94 D3 9F 00 00 */ stfs f28, 0(r31)
/* 80337F38 00334E98 D3 BF 00 04 */ stfs f29, 4(r31)
/* 80337F3C 00334E9C D3 DF 00 08 */ stfs f30, 8(r31)
/* 80337F40 00334EA0 C0 01 01 B8 */ lfs f0, 0x1b8(r1)
/* 80337F44 00334EA4 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80337F48 00334EA8 C0 01 01 BC */ lfs f0, 0x1bc(r1)
/* 80337F4C 00334EAC D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80337F50 00334EB0 C0 01 01 C0 */ lfs f0, 0x1c0(r1)
/* 80337F54 00334EB4 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80337F58 00334EB8 D3 9F 00 18 */ stfs f28, 0x18(r31)
/* 80337F5C 00334EBC D3 BF 00 1C */ stfs f29, 0x1c(r31)
/* 80337F60 00334EC0 D3 FF 00 20 */ stfs f31, 0x20(r31)
/* 80337F64 00334EC4 48 00 05 70 */ b lbl_803384D4
/* 80337F68 00334EC8 C3 84 00 14 */ lfs f28, 0x14(r4)
/* 80337F6C 00334ECC 38 61 01 A0 */ addi r3, r1, 0x1a0
/* 80337F70 00334ED0 C3 A4 00 00 */ lfs f29, 0(r4)
/* 80337F74 00334ED4 EC 1C E0 28 */ fsubs f0, f28, f28
/* 80337F78 00334ED8 C3 C4 00 10 */ lfs f30, 0x10(r4)
/* 80337F7C 00334EDC C3 E4 00 04 */ lfs f31, 4(r4)
/* 80337F80 00334EE0 EC 5D E8 28 */ fsubs f2, f29, f29
/* 80337F84 00334EE4 38 81 01 AC */ addi r4, r1, 0x1ac
/* 80337F88 00334EE8 EC 3E F8 28 */ fsubs f1, f30, f31
/* 80337F8C 00334EEC D0 41 01 AC */ stfs f2, 0x1ac(r1)
/* 80337F90 00334EF0 D0 21 01 B0 */ stfs f1, 0x1b0(r1)
/* 80337F94 00334EF4 D0 01 01 B4 */ stfs f0, 0x1b4(r1)
/* 80337F98 00334EF8 4B FD C8 B9 */ bl AsNormalized__9CVector3fCFv
/* 80337F9C 00334EFC 38 61 01 94 */ addi r3, r1, 0x194
/* 80337FA0 00334F00 38 81 01 A0 */ addi r4, r1, 0x1a0
/* 80337FA4 00334F04 4B FD BE 2D */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80337FA8 00334F08 D3 BF 00 00 */ stfs f29, 0(r31)
/* 80337FAC 00334F0C D3 FF 00 04 */ stfs f31, 4(r31)
/* 80337FB0 00334F10 D3 9F 00 08 */ stfs f28, 8(r31)
/* 80337FB4 00334F14 C0 01 01 94 */ lfs f0, 0x194(r1)
/* 80337FB8 00334F18 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80337FBC 00334F1C C0 01 01 98 */ lfs f0, 0x198(r1)
/* 80337FC0 00334F20 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80337FC4 00334F24 C0 01 01 9C */ lfs f0, 0x19c(r1)
/* 80337FC8 00334F28 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80337FCC 00334F2C D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 80337FD0 00334F30 D3 DF 00 1C */ stfs f30, 0x1c(r31)
/* 80337FD4 00334F34 D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 80337FD8 00334F38 48 00 04 FC */ b lbl_803384D4
/* 80337FDC 00334F3C C3 84 00 08 */ lfs f28, 8(r4)
/* 80337FE0 00334F40 38 61 01 7C */ addi r3, r1, 0x17c
/* 80337FE4 00334F44 C3 A4 00 04 */ lfs f29, 4(r4)
/* 80337FE8 00334F48 EC 1C E0 28 */ fsubs f0, f28, f28
/* 80337FEC 00334F4C C3 C4 00 0C */ lfs f30, 0xc(r4)
/* 80337FF0 00334F50 C3 E4 00 00 */ lfs f31, 0(r4)
/* 80337FF4 00334F54 EC 3D E8 28 */ fsubs f1, f29, f29
/* 80337FF8 00334F58 38 81 01 88 */ addi r4, r1, 0x188
/* 80337FFC 00334F5C EC 5E F8 28 */ fsubs f2, f30, f31
/* 80338000 00334F60 D0 21 01 8C */ stfs f1, 0x18c(r1)
/* 80338004 00334F64 D0 41 01 88 */ stfs f2, 0x188(r1)
/* 80338008 00334F68 D0 01 01 90 */ stfs f0, 0x190(r1)
/* 8033800C 00334F6C 4B FD C8 45 */ bl AsNormalized__9CVector3fCFv
/* 80338010 00334F70 38 61 01 70 */ addi r3, r1, 0x170
/* 80338014 00334F74 38 81 01 7C */ addi r4, r1, 0x17c
/* 80338018 00334F78 4B FD BD B9 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 8033801C 00334F7C D3 FF 00 00 */ stfs f31, 0(r31)
/* 80338020 00334F80 D3 BF 00 04 */ stfs f29, 4(r31)
/* 80338024 00334F84 D3 9F 00 08 */ stfs f28, 8(r31)
/* 80338028 00334F88 C0 01 01 70 */ lfs f0, 0x170(r1)
/* 8033802C 00334F8C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80338030 00334F90 C0 01 01 74 */ lfs f0, 0x174(r1)
/* 80338034 00334F94 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80338038 00334F98 C0 01 01 78 */ lfs f0, 0x178(r1)
/* 8033803C 00334F9C D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80338040 00334FA0 D3 DF 00 18 */ stfs f30, 0x18(r31)
/* 80338044 00334FA4 D3 BF 00 1C */ stfs f29, 0x1c(r31)
/* 80338048 00334FA8 D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 8033804C 00334FAC 48 00 04 88 */ b lbl_803384D4
/* 80338050 00334FB0 C3 84 00 08 */ lfs f28, 8(r4)
/* 80338054 00334FB4 38 61 01 58 */ addi r3, r1, 0x158
/* 80338058 00334FB8 C3 A4 00 00 */ lfs f29, 0(r4)
/* 8033805C 00334FBC EC 1C E0 28 */ fsubs f0, f28, f28
/* 80338060 00334FC0 C3 C4 00 10 */ lfs f30, 0x10(r4)
/* 80338064 00334FC4 C3 E4 00 04 */ lfs f31, 4(r4)
/* 80338068 00334FC8 EC 5D E8 28 */ fsubs f2, f29, f29
/* 8033806C 00334FCC 38 81 01 64 */ addi r4, r1, 0x164
/* 80338070 00334FD0 EC 3E F8 28 */ fsubs f1, f30, f31
/* 80338074 00334FD4 D0 41 01 64 */ stfs f2, 0x164(r1)
/* 80338078 00334FD8 D0 21 01 68 */ stfs f1, 0x168(r1)
/* 8033807C 00334FDC D0 01 01 6C */ stfs f0, 0x16c(r1)
/* 80338080 00334FE0 4B FD C7 D1 */ bl AsNormalized__9CVector3fCFv
/* 80338084 00334FE4 38 61 01 4C */ addi r3, r1, 0x14c
/* 80338088 00334FE8 38 81 01 58 */ addi r4, r1, 0x158
/* 8033808C 00334FEC 4B FD BD 45 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338090 00334FF0 D3 BF 00 00 */ stfs f29, 0(r31)
/* 80338094 00334FF4 D3 FF 00 04 */ stfs f31, 4(r31)
/* 80338098 00334FF8 D3 9F 00 08 */ stfs f28, 8(r31)
/* 8033809C 00334FFC C0 01 01 4C */ lfs f0, 0x14c(r1)
/* 803380A0 00335000 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 803380A4 00335004 C0 01 01 50 */ lfs f0, 0x150(r1)
/* 803380A8 00335008 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 803380AC 0033500C C0 01 01 54 */ lfs f0, 0x154(r1)
/* 803380B0 00335010 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 803380B4 00335014 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 803380B8 00335018 D3 DF 00 1C */ stfs f30, 0x1c(r31)
/* 803380BC 0033501C D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 803380C0 00335020 48 00 04 14 */ b lbl_803384D4
/* 803380C4 00335024 C3 84 00 04 */ lfs f28, 4(r4)
/* 803380C8 00335028 38 61 01 34 */ addi r3, r1, 0x134
/* 803380CC 0033502C C3 A4 00 0C */ lfs f29, 0xc(r4)
/* 803380D0 00335030 EC 3C E0 28 */ fsubs f1, f28, f28
/* 803380D4 00335034 C3 C4 00 14 */ lfs f30, 0x14(r4)
/* 803380D8 00335038 C3 E4 00 08 */ lfs f31, 8(r4)
/* 803380DC 0033503C EC 5D E8 28 */ fsubs f2, f29, f29
/* 803380E0 00335040 38 81 01 40 */ addi r4, r1, 0x140
/* 803380E4 00335044 EC 1E F8 28 */ fsubs f0, f30, f31
/* 803380E8 00335048 D0 41 01 40 */ stfs f2, 0x140(r1)
/* 803380EC 0033504C D0 21 01 44 */ stfs f1, 0x144(r1)
/* 803380F0 00335050 D0 01 01 48 */ stfs f0, 0x148(r1)
/* 803380F4 00335054 4B FD C7 5D */ bl AsNormalized__9CVector3fCFv
/* 803380F8 00335058 38 61 01 28 */ addi r3, r1, 0x128
/* 803380FC 0033505C 38 81 01 34 */ addi r4, r1, 0x134
/* 80338100 00335060 4B FD BC D1 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338104 00335064 D3 BF 00 00 */ stfs f29, 0(r31)
/* 80338108 00335068 D3 9F 00 04 */ stfs f28, 4(r31)
/* 8033810C 0033506C D3 FF 00 08 */ stfs f31, 8(r31)
/* 80338110 00335070 C0 01 01 28 */ lfs f0, 0x128(r1)
/* 80338114 00335074 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80338118 00335078 C0 01 01 2C */ lfs f0, 0x12c(r1)
/* 8033811C 0033507C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80338120 00335080 C0 01 01 30 */ lfs f0, 0x130(r1)
/* 80338124 00335084 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80338128 00335088 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 8033812C 0033508C D3 9F 00 1C */ stfs f28, 0x1c(r31)
/* 80338130 00335090 D3 DF 00 20 */ stfs f30, 0x20(r31)
/* 80338134 00335094 48 00 03 A0 */ b lbl_803384D4
/* 80338138 00335098 C3 84 00 08 */ lfs f28, 8(r4)
/* 8033813C 0033509C 38 61 01 10 */ addi r3, r1, 0x110
/* 80338140 003350A0 C3 A4 00 0C */ lfs f29, 0xc(r4)
/* 80338144 003350A4 EC 1C E0 28 */ fsubs f0, f28, f28
/* 80338148 003350A8 C3 C4 00 10 */ lfs f30, 0x10(r4)
/* 8033814C 003350AC C3 E4 00 04 */ lfs f31, 4(r4)
/* 80338150 003350B0 EC 5D E8 28 */ fsubs f2, f29, f29
/* 80338154 003350B4 38 81 01 1C */ addi r4, r1, 0x11c
/* 80338158 003350B8 EC 3E F8 28 */ fsubs f1, f30, f31
/* 8033815C 003350BC D0 41 01 1C */ stfs f2, 0x11c(r1)
/* 80338160 003350C0 D0 21 01 20 */ stfs f1, 0x120(r1)
/* 80338164 003350C4 D0 01 01 24 */ stfs f0, 0x124(r1)
/* 80338168 003350C8 4B FD C6 E9 */ bl AsNormalized__9CVector3fCFv
/* 8033816C 003350CC 38 61 01 04 */ addi r3, r1, 0x104
/* 80338170 003350D0 38 81 01 10 */ addi r4, r1, 0x110
/* 80338174 003350D4 4B FD BC 5D */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338178 003350D8 D3 BF 00 00 */ stfs f29, 0(r31)
/* 8033817C 003350DC D3 FF 00 04 */ stfs f31, 4(r31)
/* 80338180 003350E0 D3 9F 00 08 */ stfs f28, 8(r31)
/* 80338184 003350E4 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 80338188 003350E8 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8033818C 003350EC C0 01 01 08 */ lfs f0, 0x108(r1)
/* 80338190 003350F0 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80338194 003350F4 C0 01 01 0C */ lfs f0, 0x10c(r1)
/* 80338198 003350F8 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8033819C 003350FC D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 803381A0 00335100 D3 DF 00 1C */ stfs f30, 0x1c(r31)
/* 803381A4 00335104 D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 803381A8 00335108 48 00 03 2C */ b lbl_803384D4
/* 803381AC 0033510C C3 84 00 14 */ lfs f28, 0x14(r4)
/* 803381B0 00335110 38 61 00 EC */ addi r3, r1, 0xec
/* 803381B4 00335114 C3 A4 00 04 */ lfs f29, 4(r4)
/* 803381B8 00335118 EC 1C E0 28 */ fsubs f0, f28, f28
/* 803381BC 0033511C C3 C4 00 00 */ lfs f30, 0(r4)
/* 803381C0 00335120 C3 E4 00 0C */ lfs f31, 0xc(r4)
/* 803381C4 00335124 EC 3D E8 28 */ fsubs f1, f29, f29
/* 803381C8 00335128 38 81 00 F8 */ addi r4, r1, 0xf8
/* 803381CC 0033512C EC 5E F8 28 */ fsubs f2, f30, f31
/* 803381D0 00335130 D0 21 00 FC */ stfs f1, 0xfc(r1)
/* 803381D4 00335134 D0 41 00 F8 */ stfs f2, 0xf8(r1)
/* 803381D8 00335138 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 803381DC 0033513C 4B FD C6 75 */ bl AsNormalized__9CVector3fCFv
/* 803381E0 00335140 38 61 00 E0 */ addi r3, r1, 0xe0
/* 803381E4 00335144 38 81 00 EC */ addi r4, r1, 0xec
/* 803381E8 00335148 4B FD BB E9 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 803381EC 0033514C D3 FF 00 00 */ stfs f31, 0(r31)
/* 803381F0 00335150 D3 BF 00 04 */ stfs f29, 4(r31)
/* 803381F4 00335154 D3 9F 00 08 */ stfs f28, 8(r31)
/* 803381F8 00335158 C0 01 00 E0 */ lfs f0, 0xe0(r1)
/* 803381FC 0033515C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80338200 00335160 C0 01 00 E4 */ lfs f0, 0xe4(r1)
/* 80338204 00335164 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80338208 00335168 C0 01 00 E8 */ lfs f0, 0xe8(r1)
/* 8033820C 0033516C D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80338210 00335170 D3 DF 00 18 */ stfs f30, 0x18(r31)
/* 80338214 00335174 D3 BF 00 1C */ stfs f29, 0x1c(r31)
/* 80338218 00335178 D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 8033821C 0033517C 48 00 02 B8 */ b lbl_803384D4
/* 80338220 00335180 C3 84 00 14 */ lfs f28, 0x14(r4)
/* 80338224 00335184 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80338228 00335188 C3 A4 00 0C */ lfs f29, 0xc(r4)
/* 8033822C 0033518C EC 1C E0 28 */ fsubs f0, f28, f28
/* 80338230 00335190 C3 C4 00 10 */ lfs f30, 0x10(r4)
/* 80338234 00335194 C3 E4 00 04 */ lfs f31, 4(r4)
/* 80338238 00335198 EC 5D E8 28 */ fsubs f2, f29, f29
/* 8033823C 0033519C 38 81 00 D4 */ addi r4, r1, 0xd4
/* 80338240 003351A0 EC 3E F8 28 */ fsubs f1, f30, f31
/* 80338244 003351A4 D0 41 00 D4 */ stfs f2, 0xd4(r1)
/* 80338248 003351A8 D0 21 00 D8 */ stfs f1, 0xd8(r1)
/* 8033824C 003351AC D0 01 00 DC */ stfs f0, 0xdc(r1)
/* 80338250 003351B0 4B FD C6 01 */ bl AsNormalized__9CVector3fCFv
/* 80338254 003351B4 38 61 00 BC */ addi r3, r1, 0xbc
/* 80338258 003351B8 38 81 00 C8 */ addi r4, r1, 0xc8
/* 8033825C 003351BC 4B FD BB 75 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338260 003351C0 D3 BF 00 00 */ stfs f29, 0(r31)
/* 80338264 003351C4 D3 FF 00 04 */ stfs f31, 4(r31)
/* 80338268 003351C8 D3 9F 00 08 */ stfs f28, 8(r31)
/* 8033826C 003351CC C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 80338270 003351D0 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80338274 003351D4 C0 01 00 C0 */ lfs f0, 0xc0(r1)
/* 80338278 003351D8 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8033827C 003351DC C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 80338280 003351E0 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80338284 003351E4 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 80338288 003351E8 D3 DF 00 1C */ stfs f30, 0x1c(r31)
/* 8033828C 003351EC D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 80338290 003351F0 48 00 02 44 */ b lbl_803384D4
/* 80338294 003351F4 C3 84 00 10 */ lfs f28, 0x10(r4)
/* 80338298 003351F8 38 61 00 A4 */ addi r3, r1, 0xa4
/* 8033829C 003351FC C3 A4 00 0C */ lfs f29, 0xc(r4)
/* 803382A0 00335200 EC 3C E0 28 */ fsubs f1, f28, f28
/* 803382A4 00335204 C3 C4 00 08 */ lfs f30, 8(r4)
/* 803382A8 00335208 C3 E4 00 14 */ lfs f31, 0x14(r4)
/* 803382AC 0033520C EC 5D E8 28 */ fsubs f2, f29, f29
/* 803382B0 00335210 38 81 00 B0 */ addi r4, r1, 0xb0
/* 803382B4 00335214 EC 1E F8 28 */ fsubs f0, f30, f31
/* 803382B8 00335218 D0 41 00 B0 */ stfs f2, 0xb0(r1)
/* 803382BC 0033521C D0 21 00 B4 */ stfs f1, 0xb4(r1)
/* 803382C0 00335220 D0 01 00 B8 */ stfs f0, 0xb8(r1)
/* 803382C4 00335224 4B FD C5 8D */ bl AsNormalized__9CVector3fCFv
/* 803382C8 00335228 38 61 00 98 */ addi r3, r1, 0x98
/* 803382CC 0033522C 38 81 00 A4 */ addi r4, r1, 0xa4
/* 803382D0 00335230 4B FD BB 01 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 803382D4 00335234 D3 BF 00 00 */ stfs f29, 0(r31)
/* 803382D8 00335238 D3 9F 00 04 */ stfs f28, 4(r31)
/* 803382DC 0033523C D3 FF 00 08 */ stfs f31, 8(r31)
/* 803382E0 00335240 C0 01 00 98 */ lfs f0, 0x98(r1)
/* 803382E4 00335244 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 803382E8 00335248 C0 01 00 9C */ lfs f0, 0x9c(r1)
/* 803382EC 0033524C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 803382F0 00335250 C0 01 00 A0 */ lfs f0, 0xa0(r1)
/* 803382F4 00335254 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 803382F8 00335258 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 803382FC 0033525C D3 9F 00 1C */ stfs f28, 0x1c(r31)
/* 80338300 00335260 D3 DF 00 20 */ stfs f30, 0x20(r31)
/* 80338304 00335264 48 00 01 D0 */ b lbl_803384D4
/* 80338308 00335268 C3 84 00 08 */ lfs f28, 8(r4)
/* 8033830C 0033526C 38 61 00 80 */ addi r3, r1, 0x80
/* 80338310 00335270 C3 A4 00 10 */ lfs f29, 0x10(r4)
/* 80338314 00335274 EC 1C E0 28 */ fsubs f0, f28, f28
/* 80338318 00335278 C3 C4 00 00 */ lfs f30, 0(r4)
/* 8033831C 0033527C C3 E4 00 0C */ lfs f31, 0xc(r4)
/* 80338320 00335280 EC 3D E8 28 */ fsubs f1, f29, f29
/* 80338324 00335284 38 81 00 8C */ addi r4, r1, 0x8c
/* 80338328 00335288 EC 5E F8 28 */ fsubs f2, f30, f31
/* 8033832C 0033528C D0 21 00 90 */ stfs f1, 0x90(r1)
/* 80338330 00335290 D0 41 00 8C */ stfs f2, 0x8c(r1)
/* 80338334 00335294 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 80338338 00335298 4B FD C5 19 */ bl AsNormalized__9CVector3fCFv
/* 8033833C 0033529C 38 61 00 74 */ addi r3, r1, 0x74
/* 80338340 003352A0 38 81 00 80 */ addi r4, r1, 0x80
/* 80338344 003352A4 4B FD BA 8D */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338348 003352A8 D3 FF 00 00 */ stfs f31, 0(r31)
/* 8033834C 003352AC D3 BF 00 04 */ stfs f29, 4(r31)
/* 80338350 003352B0 D3 9F 00 08 */ stfs f28, 8(r31)
/* 80338354 003352B4 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 80338358 003352B8 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8033835C 003352BC C0 01 00 78 */ lfs f0, 0x78(r1)
/* 80338360 003352C0 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80338364 003352C4 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 80338368 003352C8 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8033836C 003352CC D3 DF 00 18 */ stfs f30, 0x18(r31)
/* 80338370 003352D0 D3 BF 00 1C */ stfs f29, 0x1c(r31)
/* 80338374 003352D4 D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 80338378 003352D8 48 00 01 5C */ b lbl_803384D4
/* 8033837C 003352DC C3 84 00 10 */ lfs f28, 0x10(r4)
/* 80338380 003352E0 38 61 00 5C */ addi r3, r1, 0x5c
/* 80338384 003352E4 C3 A4 00 00 */ lfs f29, 0(r4)
/* 80338388 003352E8 EC 3C E0 28 */ fsubs f1, f28, f28
/* 8033838C 003352EC C3 C4 00 14 */ lfs f30, 0x14(r4)
/* 80338390 003352F0 C3 E4 00 08 */ lfs f31, 8(r4)
/* 80338394 003352F4 EC 5D E8 28 */ fsubs f2, f29, f29
/* 80338398 003352F8 38 81 00 68 */ addi r4, r1, 0x68
/* 8033839C 003352FC EC 1E F8 28 */ fsubs f0, f30, f31
/* 803383A0 00335300 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 803383A4 00335304 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 803383A8 00335308 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 803383AC 0033530C 4B FD C4 A5 */ bl AsNormalized__9CVector3fCFv
/* 803383B0 00335310 38 61 00 50 */ addi r3, r1, 0x50
/* 803383B4 00335314 38 81 00 5C */ addi r4, r1, 0x5c
/* 803383B8 00335318 4B FD BA 19 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 803383BC 0033531C D3 BF 00 00 */ stfs f29, 0(r31)
/* 803383C0 00335320 D3 9F 00 04 */ stfs f28, 4(r31)
/* 803383C4 00335324 D3 FF 00 08 */ stfs f31, 8(r31)
/* 803383C8 00335328 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 803383CC 0033532C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 803383D0 00335330 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 803383D4 00335334 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 803383D8 00335338 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 803383DC 0033533C D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 803383E0 00335340 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 803383E4 00335344 D3 9F 00 1C */ stfs f28, 0x1c(r31)
/* 803383E8 00335348 D3 DF 00 20 */ stfs f30, 0x20(r31)
/* 803383EC 0033534C 48 00 00 E8 */ b lbl_803384D4
/* 803383F0 00335350 C3 84 00 14 */ lfs f28, 0x14(r4)
/* 803383F4 00335354 38 61 00 38 */ addi r3, r1, 0x38
/* 803383F8 00335358 C3 A4 00 10 */ lfs f29, 0x10(r4)
/* 803383FC 0033535C EC 1C E0 28 */ fsubs f0, f28, f28
/* 80338400 00335360 C3 C4 00 0C */ lfs f30, 0xc(r4)
/* 80338404 00335364 C3 E4 00 00 */ lfs f31, 0(r4)
/* 80338408 00335368 EC 3D E8 28 */ fsubs f1, f29, f29
/* 8033840C 0033536C 38 81 00 44 */ addi r4, r1, 0x44
/* 80338410 00335370 EC 5E F8 28 */ fsubs f2, f30, f31
/* 80338414 00335374 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 80338418 00335378 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8033841C 0033537C D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80338420 00335380 4B FD C4 31 */ bl AsNormalized__9CVector3fCFv
/* 80338424 00335384 38 61 00 2C */ addi r3, r1, 0x2c
/* 80338428 00335388 38 81 00 38 */ addi r4, r1, 0x38
/* 8033842C 0033538C 4B FD B9 A5 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 80338430 00335390 D3 FF 00 00 */ stfs f31, 0(r31)
/* 80338434 00335394 D3 BF 00 04 */ stfs f29, 4(r31)
/* 80338438 00335398 D3 9F 00 08 */ stfs f28, 8(r31)
/* 8033843C 0033539C C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80338440 003353A0 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80338444 003353A4 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 80338448 003353A8 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8033844C 003353AC C0 01 00 34 */ lfs f0, 0x34(r1)
/* 80338450 003353B0 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80338454 003353B4 D3 DF 00 18 */ stfs f30, 0x18(r31)
/* 80338458 003353B8 D3 BF 00 1C */ stfs f29, 0x1c(r31)
/* 8033845C 003353BC D3 9F 00 20 */ stfs f28, 0x20(r31)
/* 80338460 003353C0 48 00 00 74 */ b lbl_803384D4
lbl_80338464:
/* 80338464 003353C4 C3 84 00 04 */ lfs f28, 4(r4)
/* 80338468 003353C8 38 61 00 14 */ addi r3, r1, 0x14
/* 8033846C 003353CC C3 A4 00 00 */ lfs f29, 0(r4)
/* 80338470 003353D0 EC 3C E0 28 */ fsubs f1, f28, f28
/* 80338474 003353D4 C3 C4 00 08 */ lfs f30, 8(r4)
/* 80338478 003353D8 C3 E4 00 14 */ lfs f31, 0x14(r4)
/* 8033847C 003353DC EC 5D E8 28 */ fsubs f2, f29, f29
/* 80338480 003353E0 38 81 00 20 */ addi r4, r1, 0x20
/* 80338484 003353E4 EC 1E F8 28 */ fsubs f0, f30, f31
/* 80338488 003353E8 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8033848C 003353EC D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80338490 003353F0 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80338494 003353F4 4B FD C3 BD */ bl AsNormalized__9CVector3fCFv
/* 80338498 003353F8 38 61 00 08 */ addi r3, r1, 8
/* 8033849C 003353FC 38 81 00 14 */ addi r4, r1, 0x14
/* 803384A0 00335400 4B FD B9 31 */ bl __ct__13CUnitVector3fFRC9CVector3f
/* 803384A4 00335404 D3 BF 00 00 */ stfs f29, 0(r31)
/* 803384A8 00335408 D3 9F 00 04 */ stfs f28, 4(r31)
/* 803384AC 0033540C D3 FF 00 08 */ stfs f31, 8(r31)
/* 803384B0 00335410 C0 01 00 08 */ lfs f0, 8(r1)
/* 803384B4 00335414 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 803384B8 00335418 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 803384BC 0033541C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 803384C0 00335420 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 803384C4 00335424 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 803384C8 00335428 D3 BF 00 18 */ stfs f29, 0x18(r31)
/* 803384CC 0033542C D3 9F 00 1C */ stfs f28, 0x1c(r31)
/* 803384D0 00335430 D3 DF 00 20 */ stfs f30, 0x20(r31)
lbl_803384D4:
/* 803384D4 00335434 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0
/* 803384D8 00335438 CB E1 02 20 */ lfd f31, 0x220(r1)
/* 803384DC 0033543C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0
/* 803384E0 00335440 CB C1 02 10 */ lfd f30, 0x210(r1)
/* 803384E4 00335444 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0
/* 803384E8 00335448 CB A1 02 00 */ lfd f29, 0x200(r1)
/* 803384EC 0033544C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0
/* 803384F0 00335450 CB 81 01 F0 */ lfd f28, 0x1f0(r1)
/* 803384F4 00335454 80 01 02 34 */ lwz r0, 0x234(r1)
/* 803384F8 00335458 83 E1 01 EC */ lwz r31, 0x1ec(r1)
/* 803384FC 0033545C 7C 08 03 A6 */ mtlr r0
/* 80338500 00335460 38 21 02 30 */ addi r1, r1, 0x230
/* 80338504 00335464 4E 80 00 20 */ blr
.global __ct__6CAABoxFRC9CVector3fRC9CVector3f
__ct__6CAABoxFRC9CVector3fRC9CVector3f:
/* 80338508 00335468 C0 04 00 00 */ lfs f0, 0(r4)
/* 8033850C 0033546C D0 03 00 00 */ stfs f0, 0(r3)
/* 80338510 00335470 C0 04 00 04 */ lfs f0, 4(r4)
/* 80338514 00335474 D0 03 00 04 */ stfs f0, 4(r3)
/* 80338518 00335478 C0 04 00 08 */ lfs f0, 8(r4)
/* 8033851C 0033547C D0 03 00 08 */ stfs f0, 8(r3)
/* 80338520 00335480 C0 05 00 00 */ lfs f0, 0(r5)
/* 80338524 00335484 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80338528 00335488 C0 05 00 04 */ lfs f0, 4(r5)
/* 8033852C 0033548C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80338530 00335490 C0 05 00 08 */ lfs f0, 8(r5)
/* 80338534 00335494 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80338538 00335498 4E 80 00 20 */ blr
.global __ct__6CAABoxFR12CInputStream
__ct__6CAABoxFR12CInputStream:
/* 8033853C 0033549C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338540 003354A0 7C 08 02 A6 */ mflr r0
/* 80338544 003354A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338548 003354A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8033854C 003354AC 7C 9F 23 78 */ mr r31, r4
/* 80338550 003354B0 93 C1 00 08 */ stw r30, 8(r1)
/* 80338554 003354B4 7C 7E 1B 78 */ mr r30, r3
/* 80338558 003354B8 4B FD C6 35 */ bl __ct__9CVector3fFR12CInputStream
/* 8033855C 003354BC 7F E4 FB 78 */ mr r4, r31
/* 80338560 003354C0 38 7E 00 0C */ addi r3, r30, 0xc
/* 80338564 003354C4 4B FD C6 29 */ bl __ct__9CVector3fFR12CInputStream
/* 80338568 003354C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8033856C 003354CC 7F C3 F3 78 */ mr r3, r30
/* 80338570 003354D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338574 003354D4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80338578 003354D8 7C 08 03 A6 */ mtlr r0
/* 8033857C 003354DC 38 21 00 10 */ addi r1, r1, 0x10
/* 80338580 003354E0 4E 80 00 20 */ blr
.global __sinit_CAABox_cpp
__sinit_CAABox_cpp:
/* 80338584 003354E4 C0 42 CB 94 */ lfs f2, lbl_805AE8B4@sda21(r2)
/* 80338588 003354E8 3C 80 80 5A */ lis r4, lbl_805A6754@ha
/* 8033858C 003354EC C0 02 CB 88 */ lfs f0, lbl_805AE8A8@sda21(r2)
/* 80338590 003354F0 3C 60 80 5A */ lis r3, lbl_805A6784@ha
/* 80338594 003354F4 D4 44 67 54 */ stfsu f2, lbl_805A6754@l(r4)
/* 80338598 003354F8 C0 22 CB 98 */ lfs f1, lbl_805AE8B8@sda21(r2)
/* 8033859C 003354FC D4 03 67 84 */ stfsu f0, lbl_805A6784@l(r3)
/* 803385A0 00335500 D0 44 00 04 */ stfs f2, 4(r4)
/* 803385A4 00335504 D0 44 00 08 */ stfs f2, 8(r4)
/* 803385A8 00335508 D0 24 00 0C */ stfs f1, 0xc(r4)
/* 803385AC 0033550C D0 24 00 10 */ stfs f1, 0x10(r4)
/* 803385B0 00335510 D0 24 00 14 */ stfs f1, 0x14(r4)
/* 803385B4 00335514 D0 03 00 04 */ stfs f0, 4(r3)
/* 803385B8 00335518 D0 03 00 08 */ stfs f0, 8(r3)
/* 803385BC 0033551C D0 03 00 0C */ stfs f0, 0xc(r3)
/* 803385C0 00335520 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 803385C4 00335524 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 803385C8 00335528 4E 80 00 20 */ blr