prime/asm/MetroidPrime/CVisorFlare.s

1059 lines
53 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A7F50
lbl_805A7F50:
# ROM: 0x3F58F0
.float 1.0E-4
.global lbl_805A7F54
lbl_805A7F54:
# ROM: 0x3F58F4
.4byte 0x0000002A
.global lbl_805A7F58
lbl_805A7F58:
# ROM: 0x3F58F8
.4byte 0x00000013
.global lbl_805A7F5C
lbl_805A7F5C:
# ROM: 0x3F58FC
.4byte 0x0000001A
.global lbl_805A7F60
lbl_805A7F60:
# ROM: 0x3F5900
.4byte 0
.global lbl_805A7F64
lbl_805A7F64:
# ROM: 0x3F5904
.4byte 0
.section .text, "ax"
.global ResetTevSwapMode__11CVisorFlareCFRC13CStateManager
ResetTevSwapMode__11CVisorFlareCFRC13CStateManager:
/* 802075FC 0020455C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80207600 00204560 7C 08 02 A6 */ mflr r0
/* 80207604 00204564 90 01 00 14 */ stw r0, 0x14(r1)
/* 80207608 00204568 80 04 0F 34 */ lwz r0, 0xf34(r4)
/* 8020760C 0020456C 2C 00 00 00 */ cmpwi r0, 0
/* 80207610 00204570 40 82 00 14 */ bne lbl_80207624
/* 80207614 00204574 38 60 00 00 */ li r3, 0
/* 80207618 00204578 38 80 00 00 */ li r4, 0
/* 8020761C 0020457C 38 A0 00 00 */ li r5, 0
/* 80207620 00204580 48 17 42 11 */ bl GXSetTevSwapMode
lbl_80207624:
/* 80207624 00204584 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80207628 00204588 7C 08 03 A6 */ mtlr r0
/* 8020762C 0020458C 38 21 00 10 */ addi r1, r1, 0x10
/* 80207630 00204590 4E 80 00 20 */ blr
.global SetupRenderState__11CVisorFlareCFRC13CStateManager
SetupRenderState__11CVisorFlareCFRC13CStateManager:
/* 80207634 00204594 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80207638 00204598 7C 08 02 A6 */ mflr r0
/* 8020763C 0020459C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80207640 002045A0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80207644 002045A4 7C 7F 1B 78 */ mr r31, r3
/* 80207648 002045A8 80 04 0F 34 */ lwz r0, 0xf34(r4)
/* 8020764C 002045AC 2C 00 00 00 */ cmpwi r0, 0
/* 80207650 002045B0 40 82 01 5C */ bne lbl_802077AC
/* 80207654 002045B4 38 60 00 01 */ li r3, 1
/* 80207658 002045B8 38 80 00 01 */ li r4, 1
/* 8020765C 002045BC 38 A0 00 01 */ li r5, 1
/* 80207660 002045C0 38 C0 00 00 */ li r6, 0
/* 80207664 002045C4 48 10 12 6D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 80207668 002045C8 38 60 00 00 */ li r3, 0
/* 8020766C 002045CC 48 10 05 E5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
/* 80207670 002045D0 38 60 00 00 */ li r3, 0
/* 80207674 002045D4 38 80 00 00 */ li r4, 0
/* 80207678 002045D8 38 A0 00 00 */ li r5, 0
/* 8020767C 002045DC 38 C0 00 FF */ li r6, 0xff
/* 80207680 002045E0 48 10 12 CD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 80207684 002045E4 38 60 00 07 */ li r3, 7
/* 80207688 002045E8 38 80 00 00 */ li r4, 0
/* 8020768C 002045EC 38 A0 00 01 */ li r5, 1
/* 80207690 002045F0 38 C0 00 07 */ li r6, 7
/* 80207694 002045F4 38 E0 00 00 */ li r7, 0
/* 80207698 002045F8 48 10 11 7D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8020769C 002045FC 38 60 00 00 */ li r3, 0
/* 802076A0 00204600 38 80 00 00 */ li r4, 0
/* 802076A4 00204604 38 A0 00 01 */ li r5, 1
/* 802076A8 00204608 48 17 41 89 */ bl GXSetTevSwapMode
/* 802076AC 0020460C 38 60 00 00 */ li r3, 0
/* 802076B0 00204610 38 80 00 1C */ li r4, 0x1c
/* 802076B4 00204614 48 10 13 2D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel
/* 802076B8 00204618 38 60 00 00 */ li r3, 0
/* 802076BC 0020461C 38 80 00 1C */ li r4, 0x1c
/* 802076C0 00204620 48 10 12 DD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
/* 802076C4 00204624 38 60 00 00 */ li r3, 0
/* 802076C8 00204628 38 80 00 0F */ li r4, 0xf
/* 802076CC 0020462C 38 A0 00 08 */ li r5, 8
/* 802076D0 00204630 38 C0 00 0E */ li r6, 0xe
/* 802076D4 00204634 38 E0 00 0F */ li r7, 0xf
/* 802076D8 00204638 48 10 15 15 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 802076DC 0020463C 38 60 00 00 */ li r3, 0
/* 802076E0 00204640 38 80 00 07 */ li r4, 7
/* 802076E4 00204644 38 A0 00 04 */ li r5, 4
/* 802076E8 00204648 38 C0 00 06 */ li r6, 6
/* 802076EC 0020464C 38 E0 00 07 */ li r7, 7
/* 802076F0 00204650 48 10 14 A5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 802076F4 00204654 38 60 00 01 */ li r3, 1
/* 802076F8 00204658 48 10 17 1D */ bl SetNumTexGens__3CGXFUc
/* 802076FC 0020465C 38 60 00 00 */ li r3, 0
/* 80207700 00204660 48 10 17 51 */ bl SetNumChans__3CGXFUc
/* 80207704 00204664 38 60 00 00 */ li r3, 0
/* 80207708 00204668 38 80 00 01 */ li r4, 1
/* 8020770C 0020466C 38 A0 00 04 */ li r5, 4
/* 80207710 00204670 38 C0 00 3C */ li r6, 0x3c
/* 80207714 00204674 38 E0 00 00 */ li r7, 0
/* 80207718 00204678 39 00 00 7D */ li r8, 0x7d
/* 8020771C 0020467C 48 10 0F B1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 80207720 00204680 80 1F 00 00 */ lwz r0, 0(r31)
/* 80207724 00204684 2C 00 00 01 */ cmpwi r0, 1
/* 80207728 00204688 41 82 00 20 */ beq lbl_80207748
/* 8020772C 0020468C 40 80 00 70 */ bge lbl_8020779C
/* 80207730 00204690 2C 00 00 00 */ cmpwi r0, 0
/* 80207734 00204694 40 80 00 08 */ bge lbl_8020773C
/* 80207738 00204698 48 00 00 64 */ b lbl_8020779C
lbl_8020773C:
/* 8020773C 0020469C 38 60 00 01 */ li r3, 1
/* 80207740 002046A0 48 10 15 51 */ bl SetNumTevStages__3CGXFUc
/* 80207744 002046A4 48 00 00 58 */ b lbl_8020779C
lbl_80207748:
/* 80207748 002046A8 38 60 00 01 */ li r3, 1
/* 8020774C 002046AC 48 10 05 05 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
/* 80207750 002046B0 38 60 00 01 */ li r3, 1
/* 80207754 002046B4 38 80 00 00 */ li r4, 0
/* 80207758 002046B8 38 A0 00 00 */ li r5, 0
/* 8020775C 002046BC 38 C0 00 FF */ li r6, 0xff
/* 80207760 002046C0 48 10 11 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 80207764 002046C4 38 60 00 01 */ li r3, 1
/* 80207768 002046C8 38 80 00 0F */ li r4, 0xf
/* 8020776C 002046CC 38 A0 00 09 */ li r5, 9
/* 80207770 002046D0 38 C0 00 00 */ li r6, 0
/* 80207774 002046D4 38 E0 00 0F */ li r7, 0xf
/* 80207778 002046D8 48 10 14 75 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8020777C 002046DC 38 60 00 01 */ li r3, 1
/* 80207780 002046E0 38 80 00 07 */ li r4, 7
/* 80207784 002046E4 38 A0 00 04 */ li r5, 4
/* 80207788 002046E8 38 C0 00 00 */ li r6, 0
/* 8020778C 002046EC 38 E0 00 07 */ li r7, 7
/* 80207790 002046F0 48 10 14 05 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 80207794 002046F4 38 60 00 02 */ li r3, 2
/* 80207798 002046F8 48 10 14 F9 */ bl SetNumTevStages__3CGXFUc
lbl_8020779C:
/* 8020779C 002046FC 3C 60 80 3D */ lis r3, lbl_803D2720@ha
/* 802077A0 00204700 38 63 27 20 */ addi r3, r3, lbl_803D2720@l
/* 802077A4 00204704 48 10 06 85 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList
/* 802077A8 00204708 48 00 00 68 */ b lbl_80207810
lbl_802077AC:
/* 802077AC 0020470C 80 1F 00 00 */ lwz r0, 0(r31)
/* 802077B0 00204710 2C 00 00 01 */ cmpwi r0, 1
/* 802077B4 00204714 41 82 00 2C */ beq lbl_802077E0
/* 802077B8 00204718 40 80 00 3C */ bge lbl_802077F4
/* 802077BC 0020471C 2C 00 00 00 */ cmpwi r0, 0
/* 802077C0 00204720 40 80 00 08 */ bge lbl_802077C8
/* 802077C4 00204724 48 00 00 30 */ b lbl_802077F4
lbl_802077C8:
/* 802077C8 00204728 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802077CC 0020472C 81 83 00 00 */ lwz r12, 0(r3)
/* 802077D0 00204730 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802077D4 00204734 7D 89 03 A6 */ mtctr r12
/* 802077D8 00204738 4E 80 04 21 */ bctrl
/* 802077DC 0020473C 48 00 00 18 */ b lbl_802077F4
lbl_802077E0:
/* 802077E0 00204740 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802077E4 00204744 81 83 00 00 */ lwz r12, 0(r3)
/* 802077E8 00204748 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 802077EC 0020474C 7D 89 03 A6 */ mtctr r12
/* 802077F0 00204750 4E 80 04 21 */ bctrl
lbl_802077F4:
/* 802077F4 00204754 3C 80 80 5A */ lis r4, kEnvModulate__9CGraphics@ha
/* 802077F8 00204758 38 60 00 00 */ li r3, 0
/* 802077FC 0020475C 38 84 5E BC */ addi r4, r4, kEnvModulate__9CGraphics@l
/* 80207800 00204760 48 10 2A B9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80207804 00204764 80 8D 9C 68 */ lwz r4, kEnvPassthru__9CGraphics@sda21(r13)
/* 80207808 00204768 38 60 00 01 */ li r3, 1
/* 8020780C 0020476C 48 10 2A AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
lbl_80207810:
/* 80207810 00204770 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80207814 00204774 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80207818 00204778 7C 08 03 A6 */ mtlr r0
/* 8020781C 0020477C 38 21 00 10 */ addi r1, r1, 0x10
/* 80207820 00204780 4E 80 00 20 */ blr
.global DrawStreamed__11CVisorFlareCFRC6CColorff
DrawStreamed__11CVisorFlareCFRC6CColorff:
/* 80207824 00204784 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80207828 00204788 7C 08 02 A6 */ mflr r0
/* 8020782C 0020478C 90 01 00 64 */ stw r0, 0x64(r1)
/* 80207830 00204790 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80207834 00204794 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80207838 00204798 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8020783C 0020479C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 80207840 002047A0 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 80207844 002047A4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
/* 80207848 002047A8 DB 81 00 20 */ stfd f28, 0x20(r1)
/* 8020784C 002047AC F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0
/* 80207850 002047B0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80207854 002047B4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80207858 002047B8 FF 80 08 90 */ fmr f28, f1
/* 8020785C 002047BC 7C 7E 1B 78 */ mr r30, r3
/* 80207860 002047C0 FF A0 10 90 */ fmr f29, f2
/* 80207864 002047C4 7C 9F 23 78 */ mr r31, r4
/* 80207868 002047C8 38 60 00 98 */ li r3, 0x98
/* 8020786C 002047CC 48 10 3D FD */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 80207870 002047D0 88 7F 00 03 */ lbz r3, 3(r31)
/* 80207874 002047D4 3C 00 43 30 */ lis r0, 0x4330
/* 80207878 002047D8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8020787C 002047DC C8 22 B0 F0 */ lfd f1, lbl_805ACE10@sda21(r2)
/* 80207880 002047E0 90 61 00 14 */ stw r3, 0x14(r1)
/* 80207884 002047E4 C0 5E 00 24 */ lfs f2, 0x24(r30)
/* 80207888 002047E8 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8020788C 002047EC EC 00 08 28 */ fsubs f0, f0, f1
/* 80207890 002047F0 EF E2 00 32 */ fmuls f31, f2, f0
/* 80207894 002047F4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80207898 002047F8 38 61 00 0C */ addi r3, r1, 0xc
/* 8020789C 002047FC 80 9F 00 00 */ lwz r4, 0(r31)
/* 802078A0 00204800 88 01 00 08 */ lbz r0, 8(r1)
/* 802078A4 00204804 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17
/* 802078A8 00204808 90 01 00 0C */ stw r0, 0xc(r1)
/* 802078AC 0020480C 48 10 3C 9D */ bl StreamColor__9CGraphicsFRC6CColor
/* 802078B0 00204810 C0 22 B0 E8 */ lfs f1, lbl_805ACE08@sda21(r2)
/* 802078B4 00204814 C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2)
/* 802078B8 00204818 48 10 3B AD */ bl StreamTexcoord__9CGraphicsFff
/* 802078BC 0020481C EC 3C E8 28 */ fsubs f1, f28, f29
/* 802078C0 00204820 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 802078C4 00204824 EC 7D E0 2A */ fadds f3, f29, f28
/* 802078C8 00204828 48 10 3D 71 */ bl StreamVertex__9CGraphicsFfff
/* 802078CC 0020482C C0 22 B0 EC */ lfs f1, lbl_805ACE0C@sda21(r2)
/* 802078D0 00204830 FC 40 08 90 */ fmr f2, f1
/* 802078D4 00204834 48 10 3B 91 */ bl StreamTexcoord__9CGraphicsFff
/* 802078D8 00204838 EF DC E8 2A */ fadds f30, f28, f29
/* 802078DC 0020483C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 802078E0 00204840 EF FD E0 28 */ fsubs f31, f29, f28
/* 802078E4 00204844 FC 20 F0 90 */ fmr f1, f30
/* 802078E8 00204848 FC 60 F8 90 */ fmr f3, f31
/* 802078EC 0020484C 48 10 3D 4D */ bl StreamVertex__9CGraphicsFfff
/* 802078F0 00204850 C0 22 B0 E8 */ lfs f1, lbl_805ACE08@sda21(r2)
/* 802078F4 00204854 FC 40 08 90 */ fmr f2, f1
/* 802078F8 00204858 48 10 3B 6D */ bl StreamTexcoord__9CGraphicsFff
/* 802078FC 0020485C FC 20 F0 50 */ fneg f1, f30
/* 80207900 00204860 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 80207904 00204864 FC 60 F8 50 */ fneg f3, f31
/* 80207908 00204868 48 10 3D 31 */ bl StreamVertex__9CGraphicsFfff
/* 8020790C 0020486C C0 22 B0 EC */ lfs f1, lbl_805ACE0C@sda21(r2)
/* 80207910 00204870 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 80207914 00204874 48 10 3B 51 */ bl StreamTexcoord__9CGraphicsFff
/* 80207918 00204878 FC 20 E0 50 */ fneg f1, f28
/* 8020791C 0020487C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 80207920 00204880 FC 00 E8 50 */ fneg f0, f29
/* 80207924 00204884 EC 21 E8 2A */ fadds f1, f1, f29
/* 80207928 00204888 EC 60 E0 28 */ fsubs f3, f0, f28
/* 8020792C 0020488C 48 10 3D 0D */ bl StreamVertex__9CGraphicsFfff
/* 80207930 00204890 48 10 3A E1 */ bl StreamEnd__9CGraphicsFv
/* 80207934 00204894 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 80207938 00204898 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8020793C 0020489C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 80207940 002048A0 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 80207944 002048A4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
/* 80207948 002048A8 CB A1 00 30 */ lfd f29, 0x30(r1)
/* 8020794C 002048AC E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0
/* 80207950 002048B0 CB 81 00 20 */ lfd f28, 0x20(r1)
/* 80207954 002048B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80207958 002048B8 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8020795C 002048BC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80207960 002048C0 7C 08 03 A6 */ mtlr r0
/* 80207964 002048C4 38 21 00 60 */ addi r1, r1, 0x60
/* 80207968 002048C8 4E 80 00 20 */ blr
.global DrawDirect__11CVisorFlareCFRC6CColorff
DrawDirect__11CVisorFlareCFRC6CColorff:
/* 8020796C 002048CC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80207970 002048D0 7C 08 02 A6 */ mflr r0
/* 80207974 002048D4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80207978 002048D8 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8020797C 002048DC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80207980 002048E0 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 80207984 002048E4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 80207988 002048E8 80 04 00 00 */ lwz r0, 0(r4)
/* 8020798C 002048EC FF E0 08 90 */ fmr f31, f1
/* 80207990 002048F0 FF C0 10 90 */ fmr f30, f2
/* 80207994 002048F4 38 81 00 0C */ addi r4, r1, 0xc
/* 80207998 002048F8 90 01 00 0C */ stw r0, 0xc(r1)
/* 8020799C 002048FC E0 44 A0 00 */ psq_l f2, 0(r4), 1, qr2
/* 802079A0 00204900 C0 02 B0 FC */ lfs f0, lbl_805ACE1C@sda21(r2)
/* 802079A4 00204904 C0 23 00 24 */ lfs f1, 0x24(r3)
/* 802079A8 00204908 EC 00 00 B2 */ fmuls f0, f0, f2
/* 802079AC 0020490C C0 42 B0 F8 */ lfs f2, lbl_805ACE18@sda21(r2)
/* 802079B0 00204910 EC 01 00 32 */ fmuls f0, f1, f0
/* 802079B4 00204914 EC 62 00 32 */ fmuls f3, f2, f0
/* 802079B8 00204918 F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2
/* 802079BC 0020491C 38 60 00 00 */ li r3, 0
/* 802079C0 00204920 88 01 00 08 */ lbz r0, 8(r1)
/* 802079C4 00204924 98 01 00 0F */ stb r0, 0xf(r1)
/* 802079C8 00204928 48 10 12 7D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 802079CC 0020492C 38 60 00 98 */ li r3, 0x98
/* 802079D0 00204930 38 80 00 00 */ li r4, 0
/* 802079D4 00204934 38 A0 00 04 */ li r5, 4
/* 802079D8 00204938 48 10 0B AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 802079DC 0020493C EC 1F F0 28 */ fsubs f0, f31, f30
/* 802079E0 00204940 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 802079E4 00204944 EC BE F8 2A */ fadds f5, f30, f31
/* 802079E8 00204948 C0 C2 B0 E8 */ lfs f6, lbl_805ACE08@sda21(r2)
/* 802079EC 0020494C EC FE F8 28 */ fsubs f7, f30, f31
/* 802079F0 00204950 C0 82 B0 EC */ lfs f4, lbl_805ACE0C@sda21(r2)
/* 802079F4 00204954 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3)
/* 802079F8 00204958 FC 20 F8 50 */ fneg f1, f31
/* 802079FC 0020495C FC 00 F0 50 */ fneg f0, f30
/* 80207A00 00204960 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A04 00204964 FC 60 28 50 */ fneg f3, f5
/* 80207A08 00204968 FC 40 38 50 */ fneg f2, f7
/* 80207A0C 0020496C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3)
/* 80207A10 00204970 EC 21 F0 2A */ fadds f1, f1, f30
/* 80207A14 00204974 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80207A18 00204978 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A1C 0020497C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3)
/* 80207A20 00204980 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3)
/* 80207A24 00204984 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A28 00204988 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3)
/* 80207A2C 0020498C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3)
/* 80207A30 00204990 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3)
/* 80207A34 00204994 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3)
/* 80207A38 00204998 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A3C 0020499C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3)
/* 80207A40 002049A0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A44 002049A4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A48 002049A8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3)
/* 80207A4C 002049AC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A50 002049B0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3)
/* 80207A54 002049B4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3)
/* 80207A58 002049B8 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3)
/* 80207A5C 002049BC 48 10 0B 25 */ bl End__3CGXFv
/* 80207A60 002049C0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 80207A64 002049C4 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80207A68 002049C8 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 80207A6C 002049CC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80207A70 002049D0 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 80207A74 002049D4 7C 08 03 A6 */ mtlr r0
/* 80207A78 002049D8 38 21 00 30 */ addi r1, r1, 0x30
/* 80207A7C 002049DC 4E 80 00 20 */ blr
.global Render__11CVisorFlareCFRC9CVector3fRC13CStateManager
Render__11CVisorFlareCFRC9CVector3fRC13CStateManager:
/* 80207A80 002049E0 94 21 FD F0 */ stwu r1, -0x210(r1)
/* 80207A84 002049E4 7C 08 02 A6 */ mflr r0
/* 80207A88 002049E8 90 01 02 14 */ stw r0, 0x214(r1)
/* 80207A8C 002049EC DB E1 02 00 */ stfd f31, 0x200(r1)
/* 80207A90 002049F0 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0
/* 80207A94 002049F4 DB C1 01 F0 */ stfd f30, 0x1f0(r1)
/* 80207A98 002049F8 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0
/* 80207A9C 002049FC DB A1 01 E0 */ stfd f29, 0x1e0(r1)
/* 80207AA0 00204A00 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0
/* 80207AA4 00204A04 DB 81 01 D0 */ stfd f28, 0x1d0(r1)
/* 80207AA8 00204A08 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0
/* 80207AAC 00204A0C DB 61 01 C0 */ stfd f27, 0x1c0(r1)
/* 80207AB0 00204A10 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0
/* 80207AB4 00204A14 DB 41 01 B0 */ stfd f26, 0x1b0(r1)
/* 80207AB8 00204A18 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0
/* 80207ABC 00204A1C DB 21 01 A0 */ stfd f25, 0x1a0(r1)
/* 80207AC0 00204A20 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0
/* 80207AC4 00204A24 DB 01 01 90 */ stfd f24, 0x190(r1)
/* 80207AC8 00204A28 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0
/* 80207ACC 00204A2C DA E1 01 80 */ stfd f23, 0x180(r1)
/* 80207AD0 00204A30 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0
/* 80207AD4 00204A34 BF 01 01 60 */ stmw r24, 0x160(r1)
/* 80207AD8 00204A38 7C 7E 1B 78 */ mr r30, r3
/* 80207ADC 00204A3C C0 02 B1 00 */ lfs f0, lbl_805ACE20@sda21(r2)
/* 80207AE0 00204A40 C0 43 00 28 */ lfs f2, 0x28(r3)
/* 80207AE4 00204A44 7C 99 23 78 */ mr r25, r4
/* 80207AE8 00204A48 C0 23 00 18 */ lfs f1, 0x18(r3)
/* 80207AEC 00204A4C 7C BF 2B 78 */ mr r31, r5
/* 80207AF0 00204A50 EC 22 08 28 */ fsubs f1, f2, f1
/* 80207AF4 00204A54 FC 20 0A 10 */ fabs f1, f1
/* 80207AF8 00204A58 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80207AFC 00204A5C 41 80 04 00 */ blt lbl_80207EFC
/* 80207B00 00204A60 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80207B04 00204A64 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 80207B08 00204A68 2C 00 00 00 */ cmpwi r0, 0
/* 80207B0C 00204A6C 41 82 00 08 */ beq lbl_80207B14
/* 80207B10 00204A70 48 00 03 EC */ b lbl_80207EFC
lbl_80207B14:
/* 80207B14 00204A74 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
/* 80207B18 00204A78 7F E4 FB 78 */ mr r4, r31
/* 80207B1C 00204A7C 80 63 00 00 */ lwz r3, 0(r3)
/* 80207B20 00204A80 4B E8 9A 39 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 80207B24 00204A84 2C 03 00 03 */ cmpwi r3, 3
/* 80207B28 00204A88 41 82 00 24 */ beq lbl_80207B4C
/* 80207B2C 00204A8C 40 80 03 D0 */ bge lbl_80207EFC
/* 80207B30 00204A90 2C 03 00 00 */ cmpwi r3, 0
/* 80207B34 00204A94 41 82 00 08 */ beq lbl_80207B3C
/* 80207B38 00204A98 48 00 03 C4 */ b lbl_80207EFC
lbl_80207B3C:
/* 80207B3C 00204A9C 80 1E 00 30 */ lwz r0, 0x30(r30)
/* 80207B40 00204AA0 2C 00 00 00 */ cmpwi r0, 0
/* 80207B44 00204AA4 41 82 00 1C */ beq lbl_80207B60
/* 80207B48 00204AA8 48 00 03 B4 */ b lbl_80207EFC
lbl_80207B4C:
/* 80207B4C 00204AAC 80 1E 00 2C */ lwz r0, 0x2c(r30)
/* 80207B50 00204AB0 2C 00 00 00 */ cmpwi r0, 0
/* 80207B54 00204AB4 41 82 00 0C */ beq lbl_80207B60
/* 80207B58 00204AB8 48 00 03 A4 */ b lbl_80207EFC
/* 80207B5C 00204ABC 48 00 03 A0 */ b lbl_80207EFC
lbl_80207B60:
/* 80207B60 00204AC0 48 10 4E 1D */ bl DisableAllLights__9CGraphicsFv
/* 80207B64 00204AC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80207B68 00204AC8 38 80 00 00 */ li r4, 0
/* 80207B6C 00204ACC 38 A0 00 00 */ li r5, 0
/* 80207B70 00204AD0 81 83 00 00 */ lwz r12, 0(r3)
/* 80207B74 00204AD4 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 80207B78 00204AD8 7D 89 03 A6 */ mtctr r12
/* 80207B7C 00204ADC 4E 80 04 21 */ bctrl
/* 80207B80 00204AE0 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80207B84 00204AE4 7F E4 FB 78 */ mr r4, r31
/* 80207B88 00204AE8 4B E0 3F 91 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
/* 80207B8C 00204AEC 7C 7D 1B 78 */ mr r29, r3
/* 80207B90 00204AF0 3C 60 80 5A */ lis r3, mViewMatrix__9CGraphics@ha
/* 80207B94 00204AF4 C0 BD 00 60 */ lfs f5, 0x60(r29)
/* 80207B98 00204AF8 38 83 61 D4 */ addi r4, r3, mViewMatrix__9CGraphics@l
/* 80207B9C 00204AFC C0 9D 00 50 */ lfs f4, 0x50(r29)
/* 80207BA0 00204B00 38 61 01 30 */ addi r3, r1, 0x130
/* 80207BA4 00204B04 C0 7D 00 40 */ lfs f3, 0x40(r29)
/* 80207BA8 00204B08 C0 59 00 00 */ lfs f2, 0(r25)
/* 80207BAC 00204B0C C0 39 00 04 */ lfs f1, 4(r25)
/* 80207BB0 00204B10 C0 19 00 08 */ lfs f0, 8(r25)
/* 80207BB4 00204B14 D0 61 00 94 */ stfs f3, 0x94(r1)
/* 80207BB8 00204B18 D0 81 00 98 */ stfs f4, 0x98(r1)
/* 80207BBC 00204B1C D0 A1 00 9C */ stfs f5, 0x9c(r1)
/* 80207BC0 00204B20 D0 41 00 88 */ stfs f2, 0x88(r1)
/* 80207BC4 00204B24 D0 21 00 8C */ stfs f1, 0x8c(r1)
/* 80207BC8 00204B28 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 80207BCC 00204B2C 48 10 AF A9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80207BD0 00204B30 38 61 00 D0 */ addi r3, r1, 0xd0
/* 80207BD4 00204B34 38 81 01 30 */ addi r4, r1, 0x130
/* 80207BD8 00204B38 48 10 AB 09 */ bl GetInverse__12CTransform4fCFv
/* 80207BDC 00204B3C 38 61 00 4C */ addi r3, r1, 0x4c
/* 80207BE0 00204B40 38 81 00 D0 */ addi r4, r1, 0xd0
/* 80207BE4 00204B44 38 A1 00 88 */ addi r5, r1, 0x88
/* 80207BE8 00204B48 48 10 AF 01 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 80207BEC 00204B4C C0 61 00 4C */ lfs f3, 0x4c(r1)
/* 80207BF0 00204B50 38 61 00 40 */ addi r3, r1, 0x40
/* 80207BF4 00204B54 C0 21 00 54 */ lfs f1, 0x54(r1)
/* 80207BF8 00204B58 38 81 01 30 */ addi r4, r1, 0x130
/* 80207BFC 00204B5C C0 41 00 50 */ lfs f2, 0x50(r1)
/* 80207C00 00204B60 FC 00 18 50 */ fneg f0, f3
/* 80207C04 00204B64 D0 61 00 7C */ stfs f3, 0x7c(r1)
/* 80207C08 00204B68 FC 60 08 50 */ fneg f3, f1
/* 80207C0C 00204B6C 38 A1 00 7C */ addi r5, r1, 0x7c
/* 80207C10 00204B70 D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80207C14 00204B74 D0 21 00 84 */ stfs f1, 0x84(r1)
/* 80207C18 00204B78 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80207C1C 00204B7C D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80207C20 00204B80 D0 61 00 84 */ stfs f3, 0x84(r1)
/* 80207C24 00204B84 48 10 AE C5 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 80207C28 00204B88 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80207C2C 00204B8C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2)
/* 80207C30 00204B90 C0 A1 00 88 */ lfs f5, 0x88(r1)
/* 80207C34 00204B94 EC 00 10 28 */ fsubs f0, f0, f2
/* 80207C38 00204B98 C0 21 00 94 */ lfs f1, 0x94(r1)
/* 80207C3C 00204B9C C0 81 00 8C */ lfs f4, 0x8c(r1)
/* 80207C40 00204BA0 C0 61 00 98 */ lfs f3, 0x98(r1)
/* 80207C44 00204BA4 EC A5 08 28 */ fsubs f5, f5, f1
/* 80207C48 00204BA8 FC 00 02 10 */ fabs f0, f0
/* 80207C4C 00204BAC C0 22 B1 00 */ lfs f1, lbl_805ACE20@sda21(r2)
/* 80207C50 00204BB0 EC 64 18 28 */ fsubs f3, f4, f3
/* 80207C54 00204BB4 C3 A1 00 40 */ lfs f29, 0x40(r1)
/* 80207C58 00204BB8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80207C5C 00204BBC C3 81 00 44 */ lfs f28, 0x44(r1)
/* 80207C60 00204BC0 C3 61 00 48 */ lfs f27, 0x48(r1)
/* 80207C64 00204BC4 C3 5D 00 48 */ lfs f26, 0x48(r29)
/* 80207C68 00204BC8 C3 1D 00 38 */ lfs f24, 0x38(r29)
/* 80207C6C 00204BCC 41 80 02 90 */ blt lbl_80207EFC
/* 80207C70 00204BD0 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80207C74 00204BD4 FF 20 10 90 */ fmr f25, f2
/* 80207C78 00204BD8 EC 00 10 28 */ fsubs f0, f0, f2
/* 80207C7C 00204BDC FC 00 02 10 */ fabs f0, f0
/* 80207C80 00204BE0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80207C84 00204BE4 41 80 00 80 */ blt lbl_80207D04
/* 80207C88 00204BE8 D0 A1 00 28 */ stfs f5, 0x28(r1)
/* 80207C8C 00204BEC 38 61 00 34 */ addi r3, r1, 0x34
/* 80207C90 00204BF0 38 81 00 28 */ addi r4, r1, 0x28
/* 80207C94 00204BF4 D0 61 00 2C */ stfs f3, 0x2c(r1)
/* 80207C98 00204BF8 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80207C9C 00204BFC 48 10 CB B5 */ bl AsNormalized__9CVector3fCFv
/* 80207CA0 00204C00 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2)
/* 80207CA4 00204C04 38 61 00 1C */ addi r3, r1, 0x1c
/* 80207CA8 00204C08 D3 01 00 10 */ stfs f24, 0x10(r1)
/* 80207CAC 00204C0C 38 81 00 10 */ addi r4, r1, 0x10
/* 80207CB0 00204C10 C3 01 00 34 */ lfs f24, 0x34(r1)
/* 80207CB4 00204C14 D3 41 00 14 */ stfs f26, 0x14(r1)
/* 80207CB8 00204C18 C3 21 00 38 */ lfs f25, 0x38(r1)
/* 80207CBC 00204C1C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80207CC0 00204C20 C3 41 00 3C */ lfs f26, 0x3c(r1)
/* 80207CC4 00204C24 48 10 CB 8D */ bl AsNormalized__9CVector3fCFv
/* 80207CC8 00204C28 C3 C1 00 20 */ lfs f30, 0x20(r1)
/* 80207CCC 00204C2C C3 E1 00 1C */ lfs f31, 0x1c(r1)
/* 80207CD0 00204C30 EC 19 07 B2 */ fmuls f0, f25, f30
/* 80207CD4 00204C34 C0 21 00 24 */ lfs f1, 0x24(r1)
/* 80207CD8 00204C38 EC 18 07 FA */ fmadds f0, f24, f31, f0
/* 80207CDC 00204C3C EC 3A 00 7A */ fmadds f1, f26, f1, f0
/* 80207CE0 00204C40 48 10 D6 B1 */ bl ArcCosineR__5CMathFf
/* 80207CE4 00204C44 EC 5F 06 72 */ fmuls f2, f31, f25
/* 80207CE8 00204C48 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2)
/* 80207CEC 00204C4C EC 58 17 B8 */ fmsubs f2, f24, f30, f2
/* 80207CF0 00204C50 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80207CF4 00204C54 40 80 00 08 */ bge lbl_80207CFC
/* 80207CF8 00204C58 FC 20 08 50 */ fneg f1, f1
lbl_80207CFC:
/* 80207CFC 00204C5C C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80207D00 00204C60 EF 20 00 72 */ fmuls f25, f0, f1
lbl_80207D04:
/* 80207D04 00204C64 80 1F 0F 34 */ lwz r0, 0xf34(r31)
/* 80207D08 00204C68 7F C3 F3 78 */ mr r3, r30
/* 80207D0C 00204C6C 7F E4 FB 78 */ mr r4, r31
/* 80207D10 00204C70 7C 00 00 34 */ cntlzw r0, r0
/* 80207D14 00204C74 54 1A D9 7E */ srwi r26, r0, 5
/* 80207D18 00204C78 4B FF F9 1D */ bl SetupRenderState__11CVisorFlareCFRC13CStateManager
/* 80207D1C 00204C7C C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2)
/* 80207D20 00204C80 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
/* 80207D24 00204C84 C3 C2 B0 EC */ lfs f30, lbl_805ACE0C@sda21(r2)
/* 80207D28 00204C88 3B A3 66 F4 */ addi r29, r3, sUpVector__9CVector3f@l
/* 80207D2C 00204C8C EF 59 00 28 */ fsubs f26, f25, f0
/* 80207D30 00204C90 C3 E2 B1 04 */ lfs f31, lbl_805ACE24@sda21(r2)
/* 80207D34 00204C94 3B 20 00 00 */ li r25, 0
/* 80207D38 00204C98 3B 60 00 00 */ li r27, 0
/* 80207D3C 00204C9C 48 00 01 A8 */ b lbl_80207EE4
lbl_80207D40:
/* 80207D40 00204CA0 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80207D44 00204CA4 7F A6 EB 78 */ mr r6, r29
/* 80207D48 00204CA8 C0 A1 00 8C */ lfs f5, 0x8c(r1)
/* 80207D4C 00204CAC 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80207D50 00204CB0 7F 80 DA 14 */ add r28, r0, r27
/* 80207D54 00204CB4 C0 61 00 90 */ lfs f3, 0x90(r1)
/* 80207D58 00204CB8 C0 1C 00 08 */ lfs f0, 8(r28)
/* 80207D5C 00204CBC 38 81 00 70 */ addi r4, r1, 0x70
/* 80207D60 00204CC0 C0 21 00 88 */ lfs f1, 0x88(r1)
/* 80207D64 00204CC4 38 A1 00 94 */ addi r5, r1, 0x94
/* 80207D68 00204CC8 EC DE 00 28 */ fsubs f6, f30, f0
/* 80207D6C 00204CCC EC 9C 00 32 */ fmuls f4, f28, f0
/* 80207D70 00204CD0 EC 5B 00 32 */ fmuls f2, f27, f0
/* 80207D74 00204CD4 EC 1D 00 32 */ fmuls f0, f29, f0
/* 80207D78 00204CD8 EC 85 21 BA */ fmadds f4, f5, f6, f4
/* 80207D7C 00204CDC EC 43 11 BA */ fmadds f2, f3, f6, f2
/* 80207D80 00204CE0 EC 01 01 BA */ fmadds f0, f1, f6, f0
/* 80207D84 00204CE4 D0 81 00 74 */ stfs f4, 0x74(r1)
/* 80207D88 00204CE8 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80207D8C 00204CEC D0 41 00 78 */ stfs f2, 0x78(r1)
/* 80207D90 00204CF0 48 10 BD 81 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80207D94 00204CF4 38 61 01 00 */ addi r3, r1, 0x100
/* 80207D98 00204CF8 38 81 00 A0 */ addi r4, r1, 0xa0
/* 80207D9C 00204CFC 48 10 AD D9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80207DA0 00204D00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80207DA4 00204D04 38 81 01 00 */ addi r4, r1, 0x100
/* 80207DA8 00204D08 81 83 00 00 */ lwz r12, 0(r3)
/* 80207DAC 00204D0C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80207DB0 00204D10 7D 89 03 A6 */ mtctr r12
/* 80207DB4 00204D14 4E 80 04 21 */ bctrl
/* 80207DB8 00204D18 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80207DBC 00204D1C 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80207DC0 00204D20 EC 3F 00 32 */ fmuls f1, f31, f0
/* 80207DC4 00204D24 C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 80207DC8 00204D28 28 00 00 00 */ cmplwi r0, 0
/* 80207DCC 00204D2C EF 01 00 32 */ fmuls f24, f1, f0
/* 80207DD0 00204D30 41 82 00 50 */ beq lbl_80207E20
/* 80207DD4 00204D34 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 80207DD8 00204D38 38 61 00 64 */ addi r3, r1, 0x64
/* 80207DDC 00204D3C C0 01 00 98 */ lfs f0, 0x98(r1)
/* 80207DE0 00204D40 C0 61 00 78 */ lfs f3, 0x78(r1)
/* 80207DE4 00204D44 C0 41 00 9C */ lfs f2, 0x9c(r1)
/* 80207DE8 00204D48 EC 81 00 28 */ fsubs f4, f1, f0
/* 80207DEC 00204D4C C0 21 00 70 */ lfs f1, 0x70(r1)
/* 80207DF0 00204D50 C0 01 00 94 */ lfs f0, 0x94(r1)
/* 80207DF4 00204D54 EC 43 10 28 */ fsubs f2, f3, f2
/* 80207DF8 00204D58 D0 81 00 68 */ stfs f4, 0x68(r1)
/* 80207DFC 00204D5C EC 01 00 28 */ fsubs f0, f1, f0
/* 80207E00 00204D60 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 80207E04 00204D64 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80207E08 00204D68 48 10 C8 F1 */ bl CanBeNormalized__9CVector3fCFv
/* 80207E0C 00204D6C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80207E10 00204D70 41 82 00 10 */ beq lbl_80207E20
/* 80207E14 00204D74 38 61 00 64 */ addi r3, r1, 0x64
/* 80207E18 00204D78 48 10 CA A1 */ bl Magnitude__9CVector3fCFv
/* 80207E1C 00204D7C EF 18 00 72 */ fmuls f24, f24, f1
lbl_80207E20:
/* 80207E20 00204D80 80 7C 00 00 */ lwz r3, 0(r28)
/* 80207E24 00204D84 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80207E28 00204D88 28 00 00 00 */ cmplwi r0, 0
/* 80207E2C 00204D8C 41 82 00 B0 */ beq lbl_80207EDC
/* 80207E30 00204D90 3B 01 00 58 */ addi r24, r1, 0x58
/* 80207E34 00204D94 7F 84 E3 78 */ mr r4, r28
/* 80207E38 00204D98 7F 03 C3 78 */ mr r3, r24
/* 80207E3C 00204D9C 48 13 90 6D */ bl __ct__6CTokenFRC6CToken
/* 80207E40 00204DA0 7F 03 C3 78 */ mr r3, r24
/* 80207E44 00204DA4 48 13 8F C9 */ bl GetObj__6CTokenFv
/* 80207E48 00204DA8 80 63 00 04 */ lwz r3, 4(r3)
/* 80207E4C 00204DAC 38 80 00 00 */ li r4, 0
/* 80207E50 00204DB0 38 A0 00 01 */ li r5, 1
/* 80207E54 00204DB4 90 61 00 60 */ stw r3, 0x60(r1)
/* 80207E58 00204DB8 48 10 78 E5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 80207E5C 00204DBC FC 20 D2 10 */ fabs f1, f26
/* 80207E60 00204DC0 C0 02 B1 00 */ lfs f0, lbl_805ACE20@sda21(r2)
/* 80207E64 00204DC4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80207E68 00204DC8 40 80 00 10 */ bge lbl_80207E78
/* 80207E6C 00204DCC FC 40 C0 90 */ fmr f2, f24
/* 80207E70 00204DD0 C2 E2 B0 E8 */ lfs f23, lbl_805ACE08@sda21(r2)
/* 80207E74 00204DD4 48 00 00 24 */ b lbl_80207E98
lbl_80207E78:
/* 80207E78 00204DD8 FC 20 C8 90 */ fmr f1, f25
/* 80207E7C 00204DDC 48 18 CC 61 */ bl sin
/* 80207E80 00204DE0 FC 00 08 18 */ frsp f0, f1
/* 80207E84 00204DE4 FC 20 C8 90 */ fmr f1, f25
/* 80207E88 00204DE8 EE F8 00 32 */ fmuls f23, f24, f0
/* 80207E8C 00204DEC 48 18 C5 65 */ bl cos
/* 80207E90 00204DF0 FC 00 08 18 */ frsp f0, f1
/* 80207E94 00204DF4 EC 58 00 32 */ fmuls f2, f24, f0
lbl_80207E98:
/* 80207E98 00204DF8 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 80207E9C 00204DFC 80 7C 00 10 */ lwz r3, 0x10(r28)
/* 80207EA0 00204E00 41 82 00 1C */ beq lbl_80207EBC
/* 80207EA4 00204E04 FC 20 B8 90 */ fmr f1, f23
/* 80207EA8 00204E08 90 61 00 0C */ stw r3, 0xc(r1)
/* 80207EAC 00204E0C 7F C3 F3 78 */ mr r3, r30
/* 80207EB0 00204E10 38 81 00 0C */ addi r4, r1, 0xc
/* 80207EB4 00204E14 4B FF FA B9 */ bl DrawDirect__11CVisorFlareCFRC6CColorff
/* 80207EB8 00204E18 48 00 00 18 */ b lbl_80207ED0
lbl_80207EBC:
/* 80207EBC 00204E1C FC 20 B8 90 */ fmr f1, f23
/* 80207EC0 00204E20 90 61 00 08 */ stw r3, 8(r1)
/* 80207EC4 00204E24 7F C3 F3 78 */ mr r3, r30
/* 80207EC8 00204E28 38 81 00 08 */ addi r4, r1, 8
/* 80207ECC 00204E2C 4B FF F9 59 */ bl DrawStreamed__11CVisorFlareCFRC6CColorff
lbl_80207ED0:
/* 80207ED0 00204E30 38 61 00 58 */ addi r3, r1, 0x58
/* 80207ED4 00204E34 38 80 00 00 */ li r4, 0
/* 80207ED8 00204E38 48 13 8F 69 */ bl __dt__6CTokenFv
lbl_80207EDC:
/* 80207EDC 00204E3C 3B 7B 00 14 */ addi r27, r27, 0x14
/* 80207EE0 00204E40 3B 39 00 01 */ addi r25, r25, 1
lbl_80207EE4:
/* 80207EE4 00204E44 80 1E 00 08 */ lwz r0, 8(r30)
/* 80207EE8 00204E48 7C 19 00 00 */ cmpw r25, r0
/* 80207EEC 00204E4C 41 80 FE 54 */ blt lbl_80207D40
/* 80207EF0 00204E50 7F C3 F3 78 */ mr r3, r30
/* 80207EF4 00204E54 7F E4 FB 78 */ mr r4, r31
/* 80207EF8 00204E58 4B FF F7 05 */ bl ResetTevSwapMode__11CVisorFlareCFRC13CStateManager
lbl_80207EFC:
/* 80207EFC 00204E5C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0
/* 80207F00 00204E60 CB E1 02 00 */ lfd f31, 0x200(r1)
/* 80207F04 00204E64 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0
/* 80207F08 00204E68 CB C1 01 F0 */ lfd f30, 0x1f0(r1)
/* 80207F0C 00204E6C E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0
/* 80207F10 00204E70 CB A1 01 E0 */ lfd f29, 0x1e0(r1)
/* 80207F14 00204E74 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0
/* 80207F18 00204E78 CB 81 01 D0 */ lfd f28, 0x1d0(r1)
/* 80207F1C 00204E7C E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0
/* 80207F20 00204E80 CB 61 01 C0 */ lfd f27, 0x1c0(r1)
/* 80207F24 00204E84 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0
/* 80207F28 00204E88 CB 41 01 B0 */ lfd f26, 0x1b0(r1)
/* 80207F2C 00204E8C E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0
/* 80207F30 00204E90 CB 21 01 A0 */ lfd f25, 0x1a0(r1)
/* 80207F34 00204E94 E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0
/* 80207F38 00204E98 CB 01 01 90 */ lfd f24, 0x190(r1)
/* 80207F3C 00204E9C E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0
/* 80207F40 00204EA0 CA E1 01 80 */ lfd f23, 0x180(r1)
/* 80207F44 00204EA4 BB 01 01 60 */ lmw r24, 0x160(r1)
/* 80207F48 00204EA8 80 01 02 14 */ lwz r0, 0x214(r1)
/* 80207F4C 00204EAC 7C 08 03 A6 */ mtlr r0
/* 80207F50 00204EB0 38 21 02 10 */ addi r1, r1, 0x210
/* 80207F54 00204EB4 4E 80 00 20 */ blr
.global Update__11CVisorFlareFfRC9CVector3fPC6CActorR13CStateManager
Update__11CVisorFlareFfRC9CVector3fPC6CActorR13CStateManager:
/* 80207F58 00204EB8 94 21 F6 E0 */ stwu r1, -0x920(r1)
/* 80207F5C 00204EBC 7C 08 02 A6 */ mflr r0
/* 80207F60 00204EC0 90 01 09 24 */ stw r0, 0x924(r1)
/* 80207F64 00204EC4 DB E1 09 10 */ stfd f31, 0x910(r1)
/* 80207F68 00204EC8 F3 E1 09 18 */ psq_st f31, -1768(r1), 0, qr0
/* 80207F6C 00204ECC DB C1 09 00 */ stfd f30, 0x900(r1)
/* 80207F70 00204ED0 F3 C1 09 08 */ psq_st f30, -1784(r1), 0, qr0
/* 80207F74 00204ED4 DB A1 08 F0 */ stfd f29, 0x8f0(r1)
/* 80207F78 00204ED8 F3 A1 08 F8 */ psq_st f29, -1800(r1), 0, qr0
/* 80207F7C 00204EDC BF 61 08 DC */ stmw r27, 0x8dc(r1)
/* 80207F80 00204EE0 7C DF 33 78 */ mr r31, r6
/* 80207F84 00204EE4 FF E0 08 90 */ fmr f31, f1
/* 80207F88 00204EE8 80 C6 08 B8 */ lwz r6, 0x8b8(r6)
/* 80207F8C 00204EEC 7C 7D 1B 78 */ mr r29, r3
/* 80207F90 00204EF0 7C 9E 23 78 */ mr r30, r4
/* 80207F94 00204EF4 7C BB 2B 78 */ mr r27, r5
/* 80207F98 00204EF8 80 66 00 00 */ lwz r3, 0(r6)
/* 80207F9C 00204EFC 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80207FA0 00204F00 2C 03 00 00 */ cmpwi r3, 0
/* 80207FA4 00204F04 41 82 00 18 */ beq lbl_80207FBC
/* 80207FA8 00204F08 80 1D 00 2C */ lwz r0, 0x2c(r29)
/* 80207FAC 00204F0C 2C 00 00 01 */ cmpwi r0, 1
/* 80207FB0 00204F10 41 82 02 FC */ beq lbl_802082AC
/* 80207FB4 00204F14 2C 03 00 03 */ cmpwi r3, 3
/* 80207FB8 00204F18 40 82 02 F4 */ bne lbl_802082AC
lbl_80207FBC:
/* 80207FBC 00204F1C 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80207FC0 00204F20 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 80207FC4 00204F24 2C 00 00 00 */ cmpwi r0, 0
/* 80207FC8 00204F28 40 82 02 E4 */ bne lbl_802082AC
/* 80207FCC 00204F2C 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80207FD0 00204F30 7F E4 FB 78 */ mr r4, r31
/* 80207FD4 00204F34 4B E0 3B 45 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
/* 80207FD8 00204F38 C0 A3 00 60 */ lfs f5, 0x60(r3)
/* 80207FDC 00204F3C C0 1E 00 08 */ lfs f0, 8(r30)
/* 80207FE0 00204F40 C0 83 00 50 */ lfs f4, 0x50(r3)
/* 80207FE4 00204F44 C0 43 00 40 */ lfs f2, 0x40(r3)
/* 80207FE8 00204F48 EC 60 28 28 */ fsubs f3, f0, f5
/* 80207FEC 00204F4C C0 3E 00 04 */ lfs f1, 4(r30)
/* 80207FF0 00204F50 38 61 00 28 */ addi r3, r1, 0x28
/* 80207FF4 00204F54 C0 1E 00 00 */ lfs f0, 0(r30)
/* 80207FF8 00204F58 EC 21 20 28 */ fsubs f1, f1, f4
/* 80207FFC 00204F5C D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80208000 00204F60 EC 00 10 28 */ fsubs f0, f0, f2
/* 80208004 00204F64 D0 81 00 38 */ stfs f4, 0x38(r1)
/* 80208008 00204F68 D0 A1 00 3C */ stfs f5, 0x3c(r1)
/* 8020800C 00204F6C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80208010 00204F70 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80208014 00204F74 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 80208018 00204F78 48 10 C8 A1 */ bl Magnitude__9CVector3fCFv
/* 8020801C 00204F7C FF A0 08 90 */ fmr f29, f1
/* 80208020 00204F80 C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2)
/* 80208024 00204F84 C0 61 00 28 */ lfs f3, 0x28(r1)
/* 80208028 00204F88 38 60 00 00 */ li r3, 0
/* 8020802C 00204F8C C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 80208030 00204F90 38 80 00 01 */ li r4, 1
/* 80208034 00204F94 EC 82 E8 24 */ fdivs f4, f2, f29
/* 80208038 00204F98 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8020803C 00204F9C 80 AD 93 94 */ lwz r5, lbl_805A7F54@sda21(r13)
/* 80208040 00204FA0 EC 43 01 32 */ fmuls f2, f3, f4
/* 80208044 00204FA4 EC 21 01 32 */ fmuls f1, f1, f4
/* 80208048 00204FA8 EC 00 01 32 */ fmuls f0, f0, f4
/* 8020804C 00204FAC D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80208050 00204FB0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80208054 00204FB4 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80208058 00204FB8 48 18 1E 9D */ bl __shl2i
/* 8020805C 00204FBC 38 00 00 00 */ li r0, 0
/* 80208060 00204FC0 39 20 00 01 */ li r9, 1
/* 80208064 00204FC4 90 81 00 8C */ stw r4, 0x8c(r1)
/* 80208068 00204FC8 FC 20 E8 90 */ fmr f1, f29
/* 8020806C 00204FCC 7F 68 DB 78 */ mr r8, r27
/* 80208070 00204FD0 38 81 00 D0 */ addi r4, r1, 0xd0
/* 80208074 00204FD4 90 61 00 88 */ stw r3, 0x88(r1)
/* 80208078 00204FD8 7F E3 FB 78 */ mr r3, r31
/* 8020807C 00204FDC 38 A1 00 34 */ addi r5, r1, 0x34
/* 80208080 00204FE0 91 21 00 68 */ stw r9, 0x68(r1)
/* 80208084 00204FE4 38 C1 00 28 */ addi r6, r1, 0x28
/* 80208088 00204FE8 38 E1 00 88 */ addi r7, r1, 0x88
/* 8020808C 00204FEC 90 01 00 94 */ stw r0, 0x94(r1)
/* 80208090 00204FF0 90 01 00 90 */ stw r0, 0x90(r1)
/* 80208094 00204FF4 91 21 00 98 */ stw r9, 0x98(r1)
/* 80208098 00204FF8 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8020809C 00204FFC 4B E4 46 3D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor"
/* 802080A0 00205000 80 AD 93 9C */ lwz r5, lbl_805A7F5C@sda21(r13)
/* 802080A4 00205004 38 60 00 00 */ li r3, 0
/* 802080A8 00205008 38 80 00 01 */ li r4, 1
/* 802080AC 0020500C 48 18 1E 49 */ bl __shl2i
/* 802080B0 00205010 80 AD 93 98 */ lwz r5, lbl_805A7F58@sda21(r13)
/* 802080B4 00205014 7C 9B 23 78 */ mr r27, r4
/* 802080B8 00205018 7C 7C 1B 78 */ mr r28, r3
/* 802080BC 0020501C 38 60 00 00 */ li r3, 0
/* 802080C0 00205020 38 80 00 01 */ li r4, 1
/* 802080C4 00205024 48 18 1E 31 */ bl __shl2i
/* 802080C8 00205028 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 802080CC 0020502C 39 40 00 03 */ li r10, 3
/* 802080D0 00205030 FC 20 E8 90 */ fmr f1, f29
/* 802080D4 00205034 90 81 00 74 */ stw r4, 0x74(r1)
/* 802080D8 00205038 7F E4 FB 78 */ mr r4, r31
/* 802080DC 0020503C 38 A1 00 08 */ addi r5, r1, 8
/* 802080E0 00205040 90 61 00 70 */ stw r3, 0x70(r1)
/* 802080E4 00205044 38 61 00 A0 */ addi r3, r1, 0xa0
/* 802080E8 00205048 91 41 00 50 */ stw r10, 0x50(r1)
/* 802080EC 0020504C 38 C1 00 34 */ addi r6, r1, 0x34
/* 802080F0 00205050 38 E1 00 28 */ addi r7, r1, 0x28
/* 802080F4 00205054 39 01 00 70 */ addi r8, r1, 0x70
/* 802080F8 00205058 93 61 00 7C */ stw r27, 0x7c(r1)
/* 802080FC 0020505C 39 21 00 D0 */ addi r9, r1, 0xd0
/* 80208100 00205060 93 81 00 78 */ stw r28, 0x78(r1)
/* 80208104 00205064 91 41 00 80 */ stw r10, 0x80(r1)
/* 80208108 00205068 B0 01 00 08 */ sth r0, 8(r1)
/* 8020810C 0020506C 4B E4 4E B9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 80208110 00205070 80 C1 00 D0 */ lwz r6, 0xd0(r1)
/* 80208114 00205074 38 60 00 00 */ li r3, 0
/* 80208118 00205078 88 81 00 C0 */ lbz r4, 0xc0(r1)
/* 8020811C 0020507C 2C 06 00 00 */ cmpwi r6, 0
/* 80208120 00205080 40 81 00 40 */ ble lbl_80208160
/* 80208124 00205084 2C 06 00 08 */ cmpwi r6, 8
/* 80208128 00205088 38 A6 FF F8 */ addi r5, r6, -8
/* 8020812C 0020508C 40 81 00 20 */ ble lbl_8020814C
/* 80208130 00205090 38 05 00 07 */ addi r0, r5, 7
/* 80208134 00205094 54 00 E8 FE */ srwi r0, r0, 3
/* 80208138 00205098 7C 09 03 A6 */ mtctr r0
/* 8020813C 0020509C 2C 05 00 00 */ cmpwi r5, 0
/* 80208140 002050A0 40 81 00 0C */ ble lbl_8020814C
lbl_80208144:
/* 80208144 002050A4 38 63 00 08 */ addi r3, r3, 8
/* 80208148 002050A8 42 00 FF FC */ bdnz lbl_80208144
lbl_8020814C:
/* 8020814C 002050AC 7C 03 30 50 */ subf r0, r3, r6
/* 80208150 002050B0 7C 09 03 A6 */ mtctr r0
/* 80208154 002050B4 7C 03 30 00 */ cmpw r3, r6
/* 80208158 002050B8 40 80 00 08 */ bge lbl_80208160
lbl_8020815C:
/* 8020815C 002050BC 42 00 00 00 */ bdnz lbl_8020815C
lbl_80208160:
/* 80208160 002050C0 38 00 00 00 */ li r0, 0
/* 80208164 002050C4 28 04 00 00 */ cmplwi r4, 0
/* 80208168 002050C8 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8020816C 002050CC 41 82 00 14 */ beq lbl_80208180
/* 80208170 002050D0 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 80208174 002050D4 EC 00 F8 2A */ fadds f0, f0, f31
/* 80208178 002050D8 D0 1D 00 28 */ stfs f0, 0x28(r29)
/* 8020817C 002050DC 48 00 00 10 */ b lbl_8020818C
lbl_80208180:
/* 80208180 002050E0 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 80208184 002050E4 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80208188 002050E8 D0 1D 00 28 */ stfs f0, 0x28(r29)
lbl_8020818C:
/* 8020818C 002050EC C0 2D 93 A0 */ lfs f1, lbl_805A7F60@sda21(r13)
/* 80208190 002050F0 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 80208194 002050F4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80208198 002050F8 40 80 00 0C */ bge lbl_802081A4
/* 8020819C 002050FC 38 7D 00 28 */ addi r3, r29, 0x28
/* 802081A0 00205100 48 00 00 08 */ b lbl_802081A8
lbl_802081A4:
/* 802081A4 00205104 38 6D 93 A0 */ addi r3, r13, lbl_805A7F60@sda21
lbl_802081A8:
/* 802081A8 00205108 C0 23 00 00 */ lfs f1, 0(r3)
/* 802081AC 0020510C C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 802081B0 00205110 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802081B4 00205114 40 80 00 08 */ bge lbl_802081BC
/* 802081B8 00205118 48 00 00 08 */ b lbl_802081C0
lbl_802081BC:
/* 802081BC 0020511C 38 7D 00 18 */ addi r3, r29, 0x18
lbl_802081C0:
/* 802081C0 00205120 C0 03 00 00 */ lfs f0, 0(r3)
/* 802081C4 00205124 7F E4 FB 78 */ mr r4, r31
/* 802081C8 00205128 D0 1D 00 28 */ stfs f0, 0x28(r29)
/* 802081CC 0020512C 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 802081D0 00205130 4B E0 39 49 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
/* 802081D4 00205134 C0 3E 00 04 */ lfs f1, 4(r30)
/* 802081D8 00205138 38 81 00 1C */ addi r4, r1, 0x1c
/* 802081DC 0020513C C0 03 00 50 */ lfs f0, 0x50(r3)
/* 802081E0 00205140 C0 7E 00 08 */ lfs f3, 8(r30)
/* 802081E4 00205144 C0 43 00 60 */ lfs f2, 0x60(r3)
/* 802081E8 00205148 EC 81 00 28 */ fsubs f4, f1, f0
/* 802081EC 0020514C C0 3E 00 00 */ lfs f1, 0(r30)
/* 802081F0 00205150 C0 03 00 40 */ lfs f0, 0x40(r3)
/* 802081F4 00205154 EC 63 10 28 */ fsubs f3, f3, f2
/* 802081F8 00205158 C3 E3 00 58 */ lfs f31, 0x58(r3)
/* 802081FC 0020515C EC 01 00 28 */ fsubs f0, f1, f0
/* 80208200 00205160 C3 A3 00 48 */ lfs f29, 0x48(r3)
/* 80208204 00205164 C3 C3 00 38 */ lfs f30, 0x38(r3)
/* 80208208 00205168 38 61 00 10 */ addi r3, r1, 0x10
/* 8020820C 0020516C C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2)
/* 80208210 00205170 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80208214 00205174 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 80208218 00205178 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 8020821C 0020517C C0 3D 00 28 */ lfs f1, 0x28(r29)
/* 80208220 00205180 C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 80208224 00205184 EC 01 00 24 */ fdivs f0, f1, f0
/* 80208228 00205188 EC 02 00 28 */ fsubs f0, f2, f0
/* 8020822C 0020518C D0 1D 00 24 */ stfs f0, 0x24(r29)
/* 80208230 00205190 48 10 C6 21 */ bl AsNormalized__9CVector3fCFv
/* 80208234 00205194 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80208238 00205198 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8020823C 0020519C EC 00 07 72 */ fmuls f0, f0, f29
/* 80208240 002051A0 C0 41 00 18 */ lfs f2, 0x18(r1)
/* 80208244 002051A4 C0 A2 B1 08 */ lfs f5, lbl_805ACE28@sda21(r2)
/* 80208248 002051A8 C0 9D 00 1C */ lfs f4, 0x1c(r29)
/* 8020824C 002051AC EC 21 07 BA */ fmadds f1, f1, f30, f0
/* 80208250 002051B0 C0 62 B0 EC */ lfs f3, lbl_805ACE0C@sda21(r2)
/* 80208254 002051B4 EC 85 01 32 */ fmuls f4, f5, f4
/* 80208258 002051B8 C0 0D 93 A4 */ lfs f0, lbl_805A7F64@sda21(r13)
/* 8020825C 002051BC EC 22 0F FA */ fmadds f1, f2, f31, f1
/* 80208260 002051C0 EC 23 08 28 */ fsubs f1, f3, f1
/* 80208264 002051C4 EC 24 18 7C */ fnmsubs f1, f4, f1, f3
/* 80208268 002051C8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8020826C 002051CC D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80208270 002051D0 40 80 00 0C */ bge lbl_8020827C
/* 80208274 002051D4 38 61 00 0C */ addi r3, r1, 0xc
/* 80208278 002051D8 48 00 00 08 */ b lbl_80208280
lbl_8020827C:
/* 8020827C 002051DC 38 6D 93 A4 */ addi r3, r13, lbl_805A7F64@sda21
lbl_80208280:
/* 80208280 002051E0 C0 3D 00 24 */ lfs f1, 0x24(r29)
/* 80208284 002051E4 C0 03 00 00 */ lfs f0, 0(r3)
/* 80208288 002051E8 EC 01 00 32 */ fmuls f0, f1, f0
/* 8020828C 002051EC D0 1D 00 24 */ stfs f0, 0x24(r29)
/* 80208290 002051F0 80 1D 00 2C */ lwz r0, 0x2c(r29)
/* 80208294 002051F4 2C 00 00 02 */ cmpwi r0, 2
/* 80208298 002051F8 40 82 00 14 */ bne lbl_802082AC
/* 8020829C 002051FC C0 3F 0F 28 */ lfs f1, 0xf28(r31)
/* 802082A0 00205200 C0 1D 00 24 */ lfs f0, 0x24(r29)
/* 802082A4 00205204 EC 01 00 2A */ fadds f0, f1, f0
/* 802082A8 00205208 D0 1F 0F 28 */ stfs f0, 0xf28(r31)
lbl_802082AC:
/* 802082AC 0020520C E3 E1 09 18 */ psq_l f31, -1768(r1), 0, qr0
/* 802082B0 00205210 CB E1 09 10 */ lfd f31, 0x910(r1)
/* 802082B4 00205214 E3 C1 09 08 */ psq_l f30, -1784(r1), 0, qr0
/* 802082B8 00205218 CB C1 09 00 */ lfd f30, 0x900(r1)
/* 802082BC 0020521C E3 A1 08 F8 */ psq_l f29, -1800(r1), 0, qr0
/* 802082C0 00205220 CB A1 08 F0 */ lfd f29, 0x8f0(r1)
/* 802082C4 00205224 BB 61 08 DC */ lmw r27, 0x8dc(r1)
/* 802082C8 00205228 80 01 09 24 */ lwz r0, 0x924(r1)
/* 802082CC 0020522C 7C 08 03 A6 */ mtlr r0
/* 802082D0 00205230 38 21 09 20 */ addi r1, r1, 0x920
/* 802082D4 00205234 4E 80 00 20 */ blr
.global "__ct__11CVisorFlareFQ211CVisorFlare10EBlendModebfffUiUiRCQ24rstl60vector<Q211CVisorFlare9CFlareDef,Q24rstl17rmemory_allocator>"
"__ct__11CVisorFlareFQ211CVisorFlare10EBlendModebfffUiUiRCQ24rstl60vector<Q211CVisorFlare9CFlareDef,Q24rstl17rmemory_allocator>":
/* 802082D8 00205238 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802082DC 0020523C 7C 08 02 A6 */ mflr r0
/* 802082E0 00205240 90 01 00 44 */ stw r0, 0x44(r1)
/* 802082E4 00205244 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 802082E8 00205248 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 802082EC 0020524C DB C1 00 20 */ stfd f30, 0x20(r1)
/* 802082F0 00205250 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 802082F4 00205254 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802082F8 00205258 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802082FC 0020525C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80208300 00205260 93 81 00 10 */ stw r28, 0x10(r1)
/* 80208304 00205264 D0 21 00 08 */ stfs f1, 8(r1)
/* 80208308 00205268 FF C0 10 90 */ fmr f30, f2
/* 8020830C 0020526C FF E0 18 90 */ fmr f31, f3
/* 80208310 00205270 7C 7C 1B 78 */ mr r28, r3
/* 80208314 00205274 90 83 00 00 */ stw r4, 0(r3)
/* 80208318 00205278 7C BD 2B 78 */ mr r29, r5
/* 8020831C 0020527C 7C DE 33 78 */ mr r30, r6
/* 80208320 00205280 7C FF 3B 78 */ mr r31, r7
/* 80208324 00205284 7D 04 43 78 */ mr r4, r8
/* 80208328 00205288 38 7C 00 04 */ addi r3, r28, 4
/* 8020832C 0020528C 4B EC 61 41 */ bl "__ct__Q24rstl60vector<Q211CVisorFlare9CFlareDef,Q24rstl17rmemory_allocator>FRCQ24rstl60vector<Q211CVisorFlare9CFlareDef,Q24rstl17rmemory_allocator>"
/* 80208330 00205290 9B BC 00 14 */ stb r29, 0x14(r28)
/* 80208334 00205294 C0 2D 93 90 */ lfs f1, lbl_805A7F50@sda21(r13)
/* 80208338 00205298 C0 01 00 08 */ lfs f0, 8(r1)
/* 8020833C 0020529C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80208340 002052A0 40 80 00 0C */ bge lbl_8020834C
/* 80208344 002052A4 38 61 00 08 */ addi r3, r1, 8
/* 80208348 002052A8 48 00 00 08 */ b lbl_80208350
lbl_8020834C:
/* 8020834C 002052AC 38 6D 93 90 */ addi r3, r13, lbl_805A7F50@sda21
lbl_80208350:
/* 80208350 002052B0 C0 23 00 00 */ lfs f1, 0(r3)
/* 80208354 002052B4 7F 83 E3 78 */ mr r3, r28
/* 80208358 002052B8 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2)
/* 8020835C 002052BC D0 3C 00 18 */ stfs f1, 0x18(r28)
/* 80208360 002052C0 D3 DC 00 1C */ stfs f30, 0x1c(r28)
/* 80208364 002052C4 D3 FC 00 20 */ stfs f31, 0x20(r28)
/* 80208368 002052C8 D0 1C 00 24 */ stfs f0, 0x24(r28)
/* 8020836C 002052CC D0 1C 00 28 */ stfs f0, 0x28(r28)
/* 80208370 002052D0 93 DC 00 2C */ stw r30, 0x2c(r28)
/* 80208374 002052D4 93 FC 00 30 */ stw r31, 0x30(r28)
/* 80208378 002052D8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8020837C 002052DC CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80208380 002052E0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 80208384 002052E4 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 80208388 002052E8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8020838C 002052EC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80208390 002052F0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80208394 002052F4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80208398 002052F8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8020839C 002052FC 7C 08 03 A6 */ mtlr r0
/* 802083A0 00205300 38 21 00 40 */ addi r1, r1, 0x40
/* 802083A4 00205304 4E 80 00 20 */ blr
.global "__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi"
"__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi":
/* 802083A8 00205308 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802083AC 0020530C 7C 08 02 A6 */ mflr r0
/* 802083B0 00205310 90 01 00 24 */ stw r0, 0x24(r1)
/* 802083B4 00205314 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 802083B8 00205318 FF E0 10 90 */ fmr f31, f2
/* 802083BC 0020531C DB C1 00 10 */ stfd f30, 0x10(r1)
/* 802083C0 00205320 FF C0 08 90 */ fmr f30, f1
/* 802083C4 00205324 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802083C8 00205328 7C BF 2B 78 */ mr r31, r5
/* 802083CC 0020532C 93 C1 00 08 */ stw r30, 8(r1)
/* 802083D0 00205330 7C 7E 1B 78 */ mr r30, r3
/* 802083D4 00205334 48 13 8A D5 */ bl __ct__6CTokenFRC6CToken
/* 802083D8 00205338 D3 DE 00 08 */ stfs f30, 8(r30)
/* 802083DC 0020533C 7F C3 F3 78 */ mr r3, r30
/* 802083E0 00205340 D3 FE 00 0C */ stfs f31, 0xc(r30)
/* 802083E4 00205344 93 FE 00 10 */ stw r31, 0x10(r30)
/* 802083E8 00205348 48 13 89 9D */ bl Lock__6CTokenFv
/* 802083EC 0020534C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802083F0 00205350 7F C3 F3 78 */ mr r3, r30
/* 802083F4 00205354 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 802083F8 00205358 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 802083FC 0020535C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80208400 00205360 83 C1 00 08 */ lwz r30, 8(r1)
/* 80208404 00205364 7C 08 03 A6 */ mtlr r0
/* 80208408 00205368 38 21 00 20 */ addi r1, r1, 0x20
/* 8020840C 0020536C 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ACE08
lbl_805ACE08:
# ROM: 0x3F96A8
.4byte 0
.global lbl_805ACE0C
lbl_805ACE0C:
# ROM: 0x3F96AC
.float 1.0
.global lbl_805ACE10
lbl_805ACE10:
# ROM: 0x3F96B0
.4byte 0x43300000
.4byte 0
.global lbl_805ACE18
lbl_805ACE18:
# ROM: 0x3F96B8
.float 255.0
.global lbl_805ACE1C
lbl_805ACE1C:
# ROM: 0x3F96BC
.4byte 0x3B808081
.global lbl_805ACE20
lbl_805ACE20:
# ROM: 0x3F96C0
.4byte 0x3727C5AC
.global lbl_805ACE24
lbl_805ACE24:
# ROM: 0x3F96C4
.float 0.5
.global lbl_805ACE28
lbl_805ACE28:
# ROM: 0x3F96C8
.float 4.0
.4byte 0
.section .rodata
.balign 8
.global lbl_803D2720
lbl_803D2720:
# ROM: 0x3CF720
.4byte 0x00000009
.4byte 0x00000001
.4byte 0x0000000D
.4byte 0x00000001
.4byte 0x000000FF
.4byte 0