.include "macros.inc" .section .sbss, "wa" .global lbl_805A91A8 lbl_805A91A8: .skip 0x4 .global lbl_805A91AC lbl_805A91AC: .skip 0x4 .section .text, "ax" .global Update__6CDecalFf Update__6CDecalFf: /* 802B4828 002B1788 80 83 00 58 */ lwz r4, 0x58(r3) /* 802B482C 002B178C 80 03 00 40 */ lwz r0, 0x40(r3) /* 802B4830 002B1790 7C 04 00 00 */ cmpw r4, r0 /* 802B4834 002B1794 41 80 00 10 */ blt lbl_802B4844 /* 802B4838 002B1798 80 03 00 5C */ lwz r0, 0x5c(r3) /* 802B483C 002B179C 60 00 00 01 */ ori r0, r0, 1 /* 802B4840 002B17A0 90 03 00 5C */ stw r0, 0x5c(r3) lbl_802B4844: /* 802B4844 002B17A4 80 83 00 58 */ lwz r4, 0x58(r3) /* 802B4848 002B17A8 80 03 00 4C */ lwz r0, 0x4c(r3) /* 802B484C 002B17AC 7C 04 00 00 */ cmpw r4, r0 /* 802B4850 002B17B0 41 80 00 10 */ blt lbl_802B4860 /* 802B4854 002B17B4 80 03 00 5C */ lwz r0, 0x5c(r3) /* 802B4858 002B17B8 60 00 00 02 */ ori r0, r0, 2 /* 802B485C 002B17BC 90 03 00 5C */ stw r0, 0x5c(r3) lbl_802B4860: /* 802B4860 002B17C0 80 83 00 58 */ lwz r4, 0x58(r3) /* 802B4864 002B17C4 80 03 00 54 */ lwz r0, 0x54(r3) /* 802B4868 002B17C8 7C 04 00 00 */ cmpw r4, r0 /* 802B486C 002B17CC 41 80 00 10 */ blt lbl_802B487C /* 802B4870 002B17D0 80 03 00 5C */ lwz r0, 0x5c(r3) /* 802B4874 002B17D4 60 00 00 04 */ ori r0, r0, 4 /* 802B4878 002B17D8 90 03 00 5C */ stw r0, 0x5c(r3) lbl_802B487C: /* 802B487C 002B17DC 80 83 00 58 */ lwz r4, 0x58(r3) /* 802B4880 002B17E0 38 04 00 01 */ addi r0, r4, 1 /* 802B4884 002B17E4 90 03 00 58 */ stw r0, 0x58(r3) /* 802B4888 002B17E8 4E 80 00 20 */ blr .global Render__6CDecalCFv Render__6CDecalCFv: /* 802B488C 002B17EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802B4890 002B17F0 7C 08 02 A6 */ mflr r0 /* 802B4894 002B17F4 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 /* 802B4898 002B17F8 90 01 00 24 */ stw r0, 0x24(r1) /* 802B489C 002B17FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802B48A0 002B1800 93 C1 00 18 */ stw r30, 0x18(r1) /* 802B48A4 002B1804 7C 7E 1B 78 */ mr r30, r3 /* 802B48A8 002B1808 38 61 00 08 */ addi r3, r1, 8 /* 802B48AC 002B180C 48 05 DD D5 */ bl __ct__13CGlobalRandomFR9CRandom16 /* 802B48B0 002B1810 80 1E 00 5C */ lwz r0, 0x5c(r30) /* 802B48B4 002B1814 2C 00 00 07 */ cmpwi r0, 7 /* 802B48B8 002B1818 40 82 00 14 */ bne lbl_802B48CC /* 802B48BC 002B181C 38 61 00 08 */ addi r3, r1, 8 /* 802B48C0 002B1820 38 80 FF FF */ li r4, -1 /* 802B48C4 002B1824 48 05 DD 41 */ bl __dt__13CGlobalRandomFv /* 802B48C8 002B1828 48 00 00 CC */ b lbl_802B4994 lbl_802B48CC: /* 802B48CC 002B182C 48 05 80 B1 */ bl DisableAllLights__9CGraphicsFv /* 802B48D0 002B1830 80 7E 00 58 */ lwz r3, 0x58(r30) /* 802B48D4 002B1834 48 07 5E 75 */ bl SetEmitterTime__16CParticleGlobalsFi /* 802B48D8 002B1838 83 FE 00 08 */ lwz r31, 8(r30) /* 802B48DC 002B183C 80 1F 00 14 */ lwz r0, 0x14(r31) /* 802B48E0 002B1840 28 00 00 00 */ cmplwi r0, 0 /* 802B48E4 002B1844 41 82 00 30 */ beq lbl_802B4914 /* 802B48E8 002B1848 80 1E 00 5C */ lwz r0, 0x5c(r30) /* 802B48EC 002B184C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 802B48F0 002B1850 40 82 00 24 */ bne lbl_802B4914 /* 802B48F4 002B1854 80 7E 00 40 */ lwz r3, 0x40(r30) /* 802B48F8 002B1858 48 07 5E 81 */ bl SetParticleLifetime__16CParticleGlobalsFi /* 802B48FC 002B185C 80 7E 00 58 */ lwz r3, 0x58(r30) /* 802B4900 002B1860 48 07 5D 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi /* 802B4904 002B1864 7F C3 F3 78 */ mr r3, r30 /* 802B4908 002B1868 7F E5 FB 78 */ mr r5, r31 /* 802B490C 002B186C 38 9E 00 3C */ addi r4, r30, 0x3c /* 802B4910 002B1870 48 00 05 41 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr lbl_802B4914: /* 802B4914 002B1874 80 7E 00 08 */ lwz r3, 8(r30) /* 802B4918 002B1878 3B E3 00 1C */ addi r31, r3, 0x1c /* 802B491C 002B187C 80 03 00 30 */ lwz r0, 0x30(r3) /* 802B4920 002B1880 28 00 00 00 */ cmplwi r0, 0 /* 802B4924 002B1884 41 82 00 30 */ beq lbl_802B4954 /* 802B4928 002B1888 80 1E 00 5C */ lwz r0, 0x5c(r30) /* 802B492C 002B188C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 802B4930 002B1890 40 82 00 24 */ bne lbl_802B4954 /* 802B4934 002B1894 80 7E 00 4C */ lwz r3, 0x4c(r30) /* 802B4938 002B1898 48 07 5E 41 */ bl SetParticleLifetime__16CParticleGlobalsFi /* 802B493C 002B189C 80 7E 00 58 */ lwz r3, 0x58(r30) /* 802B4940 002B18A0 48 07 5D 3D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi /* 802B4944 002B18A4 7F C3 F3 78 */ mr r3, r30 /* 802B4948 002B18A8 7F E5 FB 78 */ mr r5, r31 /* 802B494C 002B18AC 38 9E 00 48 */ addi r4, r30, 0x48 /* 802B4950 002B18B0 48 00 05 01 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr lbl_802B4954: /* 802B4954 002B18B4 80 7E 00 08 */ lwz r3, 8(r30) /* 802B4958 002B18B8 88 03 00 44 */ lbz r0, 0x44(r3) /* 802B495C 002B18BC 28 00 00 00 */ cmplwi r0, 0 /* 802B4960 002B18C0 41 82 00 28 */ beq lbl_802B4988 /* 802B4964 002B18C4 80 1E 00 5C */ lwz r0, 0x5c(r30) /* 802B4968 002B18C8 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d /* 802B496C 002B18CC 40 82 00 1C */ bne lbl_802B4988 /* 802B4970 002B18D0 80 7E 00 54 */ lwz r3, 0x54(r30) /* 802B4974 002B18D4 48 07 5E 05 */ bl SetParticleLifetime__16CParticleGlobalsFi /* 802B4978 002B18D8 80 7E 00 58 */ lwz r3, 0x58(r30) /* 802B497C 002B18DC 48 07 5D 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi /* 802B4980 002B18E0 7F C3 F3 78 */ mr r3, r30 /* 802B4984 002B18E4 48 00 00 29 */ bl RenderMdl__6CDecalCFv lbl_802B4988: /* 802B4988 002B18E8 38 61 00 08 */ addi r3, r1, 8 /* 802B498C 002B18EC 38 80 FF FF */ li r4, -1 /* 802B4990 002B18F0 48 05 DC 75 */ bl __dt__13CGlobalRandomFv lbl_802B4994: /* 802B4994 002B18F4 80 01 00 24 */ lwz r0, 0x24(r1) /* 802B4998 002B18F8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802B499C 002B18FC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802B49A0 002B1900 7C 08 03 A6 */ mtlr r0 /* 802B49A4 002B1904 38 21 00 20 */ addi r1, r1, 0x20 /* 802B49A8 002B1908 4E 80 00 20 */ blr .global RenderMdl__6CDecalCFv RenderMdl__6CDecalCFv: /* 802B49AC 002B190C 94 21 FC C0 */ stwu r1, -0x340(r1) /* 802B49B0 002B1910 7C 08 02 A6 */ mflr r0 /* 802B49B4 002B1914 90 01 03 44 */ stw r0, 0x344(r1) /* 802B49B8 002B1918 93 E1 03 3C */ stw r31, 0x33c(r1) /* 802B49BC 002B191C 7C 7F 1B 78 */ mr r31, r3 /* 802B49C0 002B1920 93 C1 03 38 */ stw r30, 0x338(r1) /* 802B49C4 002B1924 48 09 55 E9 */ bl White__6CColorFv /* 802B49C8 002B1928 3C 80 80 5A */ lis r4, skZero3f@ha /* 802B49CC 002B192C 80 03 00 00 */ lwz r0, 0(r3) /* 802B49D0 002B1930 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 802B49D4 002B1934 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 802B49D8 002B1938 C0 45 00 00 */ lfs f2, 0(r5) /* 802B49DC 002B193C 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 802B49E0 002B1940 C0 25 00 04 */ lfs f1, 4(r5) /* 802B49E4 002B1944 38 61 03 04 */ addi r3, r1, 0x304 /* 802B49E8 002B1948 C0 05 00 08 */ lfs f0, 8(r5) /* 802B49EC 002B194C 90 01 00 20 */ stw r0, 0x20(r1) /* 802B49F0 002B1950 D0 41 00 88 */ stfs f2, 0x88(r1) /* 802B49F4 002B1954 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 802B49F8 002B1958 D0 01 00 90 */ stfs f0, 0x90(r1) /* 802B49FC 002B195C 48 05 E1 79 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802B4A00 002B1960 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4A04 002B1964 88 03 00 5C */ lbz r0, 0x5c(r3) /* 802B4A08 002B1968 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802B4A0C 002B196C 40 82 00 1C */ bne lbl_802B4A28 /* 802B4A10 002B1970 38 61 02 74 */ addi r3, r1, 0x274 /* 802B4A14 002B1974 38 9F 00 0C */ addi r4, r31, 0xc /* 802B4A18 002B1978 48 05 E2 29 */ bl GetRotation__12CTransform4fCFv /* 802B4A1C 002B197C 38 61 03 04 */ addi r3, r1, 0x304 /* 802B4A20 002B1980 38 81 02 74 */ addi r4, r1, 0x274 /* 802B4A24 002B1984 48 05 E1 1D */ bl __as__12CTransform4fFRC12CTransform4f lbl_802B4A28: /* 802B4A28 002B1988 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4A2C 002B198C 3B C0 00 00 */ li r30, 0 /* 802B4A30 002B1990 80 63 00 50 */ lwz r3, 0x50(r3) /* 802B4A34 002B1994 28 03 00 00 */ cmplwi r3, 0 /* 802B4A38 002B1998 41 82 00 20 */ beq lbl_802B4A58 /* 802B4A3C 002B199C 81 83 00 00 */ lwz r12, 0(r3) /* 802B4A40 002B19A0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B4A44 002B19A4 7D 89 03 A6 */ mtctr r12 /* 802B4A48 002B19A8 4E 80 04 21 */ bctrl /* 802B4A4C 002B19AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802B4A50 002B19B0 41 82 00 08 */ beq lbl_802B4A58 /* 802B4A54 002B19B4 3B C0 00 01 */ li r30, 1 lbl_802B4A58: /* 802B4A58 002B19B8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 802B4A5C 002B19BC 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4A60 002B19C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 802B4A64 002B19C4 48 05 E1 11 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802B4A68 002B19C8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 802B4A6C 002B19CC 41 82 00 84 */ beq lbl_802B4AF0 /* 802B4A70 002B19D0 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4A74 002B19D4 38 BF 00 60 */ addi r5, r31, 0x60 /* 802B4A78 002B19D8 80 9F 00 58 */ lwz r4, 0x58(r31) /* 802B4A7C 002B19DC 80 63 00 50 */ lwz r3, 0x50(r3) /* 802B4A80 002B19E0 81 83 00 00 */ lwz r12, 0(r3) /* 802B4A84 002B19E4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4A88 002B19E8 7D 89 03 A6 */ mtctr r12 /* 802B4A8C 002B19EC 4E 80 04 21 */ bctrl /* 802B4A90 002B19F0 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4A94 002B19F4 38 61 02 44 */ addi r3, r1, 0x244 /* 802B4A98 002B19F8 C0 1F 00 68 */ lfs f0, 0x68(r31) /* 802B4A9C 002B19FC 38 81 00 1C */ addi r4, r1, 0x1c /* 802B4AA0 002B1A00 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4AA4 002B1A04 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802B4AA8 002B1A08 48 05 ED 69 */ bl RotateZ__12CTransform4fFRC9CRelAngle /* 802B4AAC 002B1A0C 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4AB0 002B1A10 38 81 02 44 */ addi r4, r1, 0x244 /* 802B4AB4 002B1A14 48 05 E0 8D */ bl __as__12CTransform4fFRC12CTransform4f /* 802B4AB8 002B1A18 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4ABC 002B1A1C 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4AC0 002B1A20 C0 1F 00 64 */ lfs f0, 0x64(r31) /* 802B4AC4 002B1A24 38 81 00 18 */ addi r4, r1, 0x18 /* 802B4AC8 002B1A28 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4ACC 002B1A2C D0 01 00 18 */ stfs f0, 0x18(r1) /* 802B4AD0 002B1A30 48 05 EB 09 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle /* 802B4AD4 002B1A34 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4AD8 002B1A38 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4ADC 002B1A3C C0 1F 00 60 */ lfs f0, 0x60(r31) /* 802B4AE0 002B1A40 38 81 00 14 */ addi r4, r1, 0x14 /* 802B4AE4 002B1A44 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4AE8 002B1A48 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802B4AEC 002B1A4C 48 05 EC 09 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle lbl_802B4AF0: /* 802B4AF0 002B1A50 38 61 02 14 */ addi r3, r1, 0x214 /* 802B4AF4 002B1A54 38 81 03 04 */ addi r4, r1, 0x304 /* 802B4AF8 002B1A58 38 A1 02 D4 */ addi r5, r1, 0x2d4 /* 802B4AFC 002B1A5C 48 05 DE 55 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4B00 002B1A60 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4B04 002B1A64 38 81 02 14 */ addi r4, r1, 0x214 /* 802B4B08 002B1A68 48 05 E0 39 */ bl __as__12CTransform4fFRC12CTransform4f /* 802B4B0C 002B1A6C 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4B10 002B1A70 80 63 00 4C */ lwz r3, 0x4c(r3) /* 802B4B14 002B1A74 28 03 00 00 */ cmplwi r3, 0 /* 802B4B18 002B1A78 41 82 00 1C */ beq lbl_802B4B34 /* 802B4B1C 002B1A7C 81 83 00 00 */ lwz r12, 0(r3) /* 802B4B20 002B1A80 38 A1 00 88 */ addi r5, r1, 0x88 /* 802B4B24 002B1A84 80 9F 00 58 */ lwz r4, 0x58(r31) /* 802B4B28 002B1A88 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4B2C 002B1A8C 7D 89 03 A6 */ mtctr r12 /* 802B4B30 002B1A90 4E 80 04 21 */ bctrl lbl_802B4B34: /* 802B4B34 002B1A94 38 61 00 4C */ addi r3, r1, 0x4c /* 802B4B38 002B1A98 38 81 03 04 */ addi r4, r1, 0x304 /* 802B4B3C 002B1A9C 38 A1 00 88 */ addi r5, r1, 0x88 /* 802B4B40 002B1AA0 48 05 DF A9 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802B4B44 002B1AA4 C0 BF 00 38 */ lfs f5, 0x38(r31) /* 802B4B48 002B1AA8 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 802B4B4C 002B1AAC C0 9F 00 28 */ lfs f4, 0x28(r31) /* 802B4B50 002B1AB0 38 81 00 64 */ addi r4, r1, 0x64 /* 802B4B54 002B1AB4 C0 7F 00 18 */ lfs f3, 0x18(r31) /* 802B4B58 002B1AB8 C0 41 00 50 */ lfs f2, 0x50(r1) /* 802B4B5C 002B1ABC C0 21 00 54 */ lfs f1, 0x54(r1) /* 802B4B60 002B1AC0 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 802B4B64 002B1AC4 EC 44 10 2A */ fadds f2, f4, f2 /* 802B4B68 002B1AC8 EC 25 08 2A */ fadds f1, f5, f1 /* 802B4B6C 002B1ACC D0 61 00 58 */ stfs f3, 0x58(r1) /* 802B4B70 002B1AD0 EC 03 00 2A */ fadds f0, f3, f0 /* 802B4B74 002B1AD4 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 802B4B78 002B1AD8 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 802B4B7C 002B1ADC D0 01 00 64 */ stfs f0, 0x64(r1) /* 802B4B80 002B1AE0 D0 41 00 68 */ stfs f2, 0x68(r1) /* 802B4B84 002B1AE4 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 802B4B88 002B1AE8 48 05 E5 B9 */ bl Translate__12CTransform4fFRC9CVector3f /* 802B4B8C 002B1AEC 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4B90 002B1AF0 38 81 01 E4 */ addi r4, r1, 0x1e4 /* 802B4B94 002B1AF4 48 05 DF E1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802B4B98 002B1AF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 802B4B9C 002B1AFC 41 82 00 24 */ beq lbl_802B4BC0 /* 802B4BA0 002B1B00 38 61 01 24 */ addi r3, r1, 0x124 /* 802B4BA4 002B1B04 38 81 02 A4 */ addi r4, r1, 0x2a4 /* 802B4BA8 002B1B08 38 A1 02 D4 */ addi r5, r1, 0x2d4 /* 802B4BAC 002B1B0C 48 05 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4BB0 002B1B10 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4BB4 002B1B14 38 81 01 24 */ addi r4, r1, 0x124 /* 802B4BB8 002B1B18 48 05 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f /* 802B4BBC 002B1B1C 48 00 00 E8 */ b lbl_802B4CA4 lbl_802B4BC0: /* 802B4BC0 002B1B20 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4BC4 002B1B24 80 63 00 50 */ lwz r3, 0x50(r3) /* 802B4BC8 002B1B28 28 03 00 00 */ cmplwi r3, 0 /* 802B4BCC 002B1B2C 41 82 00 BC */ beq lbl_802B4C88 /* 802B4BD0 002B1B30 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) /* 802B4BD4 002B1B34 38 A1 00 7C */ addi r5, r1, 0x7c /* 802B4BD8 002B1B38 80 9F 00 58 */ lwz r4, 0x58(r31) /* 802B4BDC 002B1B3C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 802B4BE0 002B1B40 D0 01 00 80 */ stfs f0, 0x80(r1) /* 802B4BE4 002B1B44 D0 01 00 84 */ stfs f0, 0x84(r1) /* 802B4BE8 002B1B48 81 83 00 00 */ lwz r12, 0(r3) /* 802B4BEC 002B1B4C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4BF0 002B1B50 7D 89 03 A6 */ mtctr r12 /* 802B4BF4 002B1B54 4E 80 04 21 */ bctrl /* 802B4BF8 002B1B58 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4BFC 002B1B5C 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 802B4C00 002B1B60 C0 01 00 84 */ lfs f0, 0x84(r1) /* 802B4C04 002B1B64 38 81 00 10 */ addi r4, r1, 0x10 /* 802B4C08 002B1B68 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4C0C 002B1B6C D0 01 00 10 */ stfs f0, 0x10(r1) /* 802B4C10 002B1B70 48 05 EC 01 */ bl RotateZ__12CTransform4fFRC9CRelAngle /* 802B4C14 002B1B74 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4C18 002B1B78 38 81 01 B4 */ addi r4, r1, 0x1b4 /* 802B4C1C 002B1B7C 48 05 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f /* 802B4C20 002B1B80 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4C24 002B1B84 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4C28 002B1B88 C0 01 00 80 */ lfs f0, 0x80(r1) /* 802B4C2C 002B1B8C 38 81 00 0C */ addi r4, r1, 0xc /* 802B4C30 002B1B90 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4C34 002B1B94 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802B4C38 002B1B98 48 05 E9 A1 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle /* 802B4C3C 002B1B9C C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) /* 802B4C40 002B1BA0 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 802B4C44 002B1BA4 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 802B4C48 002B1BA8 38 81 00 08 */ addi r4, r1, 8 /* 802B4C4C 002B1BAC EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4C50 002B1BB0 D0 01 00 08 */ stfs f0, 8(r1) /* 802B4C54 002B1BB4 48 05 EA A1 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle /* 802B4C58 002B1BB8 38 61 01 84 */ addi r3, r1, 0x184 /* 802B4C5C 002B1BBC 38 81 03 04 */ addi r4, r1, 0x304 /* 802B4C60 002B1BC0 38 A1 02 D4 */ addi r5, r1, 0x2d4 /* 802B4C64 002B1BC4 48 05 DC ED */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4C68 002B1BC8 38 61 00 F4 */ addi r3, r1, 0xf4 /* 802B4C6C 002B1BCC 38 81 02 A4 */ addi r4, r1, 0x2a4 /* 802B4C70 002B1BD0 38 A1 01 84 */ addi r5, r1, 0x184 /* 802B4C74 002B1BD4 48 05 DC DD */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4C78 002B1BD8 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4C7C 002B1BDC 38 81 00 F4 */ addi r4, r1, 0xf4 /* 802B4C80 002B1BE0 48 05 DE C1 */ bl __as__12CTransform4fFRC12CTransform4f /* 802B4C84 002B1BE4 48 00 00 20 */ b lbl_802B4CA4 lbl_802B4C88: /* 802B4C88 002B1BE8 38 61 00 C4 */ addi r3, r1, 0xc4 /* 802B4C8C 002B1BEC 38 81 02 A4 */ addi r4, r1, 0x2a4 /* 802B4C90 002B1BF0 38 A1 02 D4 */ addi r5, r1, 0x2d4 /* 802B4C94 002B1BF4 48 05 DC BD */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4C98 002B1BF8 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4C9C 002B1BFC 38 81 00 C4 */ addi r4, r1, 0xc4 /* 802B4CA0 002B1C00 48 05 DE A1 */ bl __as__12CTransform4fFRC12CTransform4f lbl_802B4CA4: /* 802B4CA4 002B1C04 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4CA8 002B1C08 80 63 00 54 */ lwz r3, 0x54(r3) /* 802B4CAC 002B1C0C 28 03 00 00 */ cmplwi r3, 0 /* 802B4CB0 002B1C10 41 82 00 5C */ beq lbl_802B4D0C /* 802B4CB4 002B1C14 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) /* 802B4CB8 002B1C18 38 A1 00 70 */ addi r5, r1, 0x70 /* 802B4CBC 002B1C1C 80 9F 00 58 */ lwz r4, 0x58(r31) /* 802B4CC0 002B1C20 D0 01 00 70 */ stfs f0, 0x70(r1) /* 802B4CC4 002B1C24 D0 01 00 74 */ stfs f0, 0x74(r1) /* 802B4CC8 002B1C28 D0 01 00 78 */ stfs f0, 0x78(r1) /* 802B4CCC 002B1C2C 81 83 00 00 */ lwz r12, 0(r3) /* 802B4CD0 002B1C30 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4CD4 002B1C34 7D 89 03 A6 */ mtctr r12 /* 802B4CD8 002B1C38 4E 80 04 21 */ bctrl /* 802B4CDC 002B1C3C C0 21 00 70 */ lfs f1, 0x70(r1) /* 802B4CE0 002B1C40 38 61 01 54 */ addi r3, r1, 0x154 /* 802B4CE4 002B1C44 C0 41 00 74 */ lfs f2, 0x74(r1) /* 802B4CE8 002B1C48 C0 61 00 78 */ lfs f3, 0x78(r1) /* 802B4CEC 002B1C4C 48 05 E5 1D */ bl Scale__12CTransform4fFfff /* 802B4CF0 002B1C50 38 61 00 94 */ addi r3, r1, 0x94 /* 802B4CF4 002B1C54 38 81 02 A4 */ addi r4, r1, 0x2a4 /* 802B4CF8 002B1C58 38 A1 01 54 */ addi r5, r1, 0x154 /* 802B4CFC 002B1C5C 48 05 DC 55 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802B4D00 002B1C60 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4D04 002B1C64 38 81 00 94 */ addi r4, r1, 0x94 /* 802B4D08 002B1C68 48 05 DE 39 */ bl __as__12CTransform4fFRC12CTransform4f lbl_802B4D0C: /* 802B4D0C 002B1C6C 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4D10 002B1C70 80 63 00 58 */ lwz r3, 0x58(r3) /* 802B4D14 002B1C74 28 03 00 00 */ cmplwi r3, 0 /* 802B4D18 002B1C78 41 82 00 1C */ beq lbl_802B4D34 /* 802B4D1C 002B1C7C 81 83 00 00 */ lwz r12, 0(r3) /* 802B4D20 002B1C80 38 A1 00 20 */ addi r5, r1, 0x20 /* 802B4D24 002B1C84 80 9F 00 58 */ lwz r4, 0x58(r31) /* 802B4D28 002B1C88 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4D2C 002B1C8C 7D 89 03 A6 */ mtctr r12 /* 802B4D30 002B1C90 4E 80 04 21 */ bctrl lbl_802B4D34: /* 802B4D34 002B1C94 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 802B4D38 002B1C98 48 05 78 A9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f /* 802B4D3C 002B1C9C 81 1F 00 08 */ lwz r8, 8(r31) /* 802B4D40 002B1CA0 88 08 00 5C */ lbz r0, 0x5c(r8) /* 802B4D44 002B1CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802B4D48 002B1CA8 41 82 00 4C */ beq lbl_802B4D94 /* 802B4D4C 002B1CAC 38 C0 00 03 */ li r6, 3 /* 802B4D50 002B1CB0 80 A1 00 20 */ lwz r5, 0x20(r1) /* 802B4D54 002B1CB4 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d /* 802B4D58 002B1CB8 38 60 00 07 */ li r3, 7 /* 802B4D5C 002B1CBC 38 E0 00 00 */ li r7, 0 /* 802B4D60 002B1CC0 98 61 00 44 */ stb r3, 0x44(r1) /* 802B4D64 002B1CC4 60 00 00 01 */ ori r0, r0, 1 /* 802B4D68 002B1CC8 38 81 00 44 */ addi r4, r1, 0x44 /* 802B4D6C 002B1CCC 98 E1 00 45 */ stb r7, 0x45(r1) /* 802B4D70 002B1CD0 B0 01 00 46 */ sth r0, 0x46(r1) /* 802B4D74 002B1CD4 90 A1 00 48 */ stw r5, 0x48(r1) /* 802B4D78 002B1CD8 98 61 00 3C */ stb r3, 0x3c(r1) /* 802B4D7C 002B1CDC 80 68 00 40 */ lwz r3, 0x40(r8) /* 802B4D80 002B1CE0 98 E1 00 3D */ stb r7, 0x3d(r1) /* 802B4D84 002B1CE4 B0 C1 00 3E */ sth r6, 0x3e(r1) /* 802B4D88 002B1CE8 90 A1 00 40 */ stw r5, 0x40(r1) /* 802B4D8C 002B1CEC 48 0A 0E 49 */ bl Draw__6CModelCFRC11CModelFlags /* 802B4D90 002B1CF0 48 00 00 9C */ b lbl_802B4E2C lbl_802B4D94: /* 802B4D94 002B1CF4 E0 41 A0 23 */ psq_l f2, 35(r1), 1, qr2 /* 802B4D98 002B1CF8 C0 02 C2 5C */ lfs f0, lbl_805ADF7C@sda21(r2) /* 802B4D9C 002B1CFC C0 22 C2 58 */ lfs f1, lbl_805ADF78@sda21(r2) /* 802B4DA0 002B1D00 EC 00 00 B2 */ fmuls f0, f0, f2 /* 802B4DA4 002B1D04 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 802B4DA8 002B1D08 40 82 00 40 */ bne lbl_802B4DE8 /* 802B4DAC 002B1D0C 38 80 00 00 */ li r4, 0 /* 802B4DB0 002B1D10 38 00 00 03 */ li r0, 3 /* 802B4DB4 002B1D14 FC 40 08 90 */ fmr f2, f1 /* 802B4DB8 002B1D18 98 81 00 34 */ stb r4, 0x34(r1) /* 802B4DBC 002B1D1C FC 60 08 90 */ fmr f3, f1 /* 802B4DC0 002B1D20 38 61 00 38 */ addi r3, r1, 0x38 /* 802B4DC4 002B1D24 FC 80 08 90 */ fmr f4, f1 /* 802B4DC8 002B1D28 98 81 00 35 */ stb r4, 0x35(r1) /* 802B4DCC 002B1D2C B0 01 00 36 */ sth r0, 0x36(r1) /* 802B4DD0 002B1D30 48 0A E6 1D */ bl __ct__6CColorFffff /* 802B4DD4 002B1D34 80 7F 00 08 */ lwz r3, 8(r31) /* 802B4DD8 002B1D38 38 81 00 34 */ addi r4, r1, 0x34 /* 802B4DDC 002B1D3C 80 63 00 40 */ lwz r3, 0x40(r3) /* 802B4DE0 002B1D40 48 0A 0D F5 */ bl Draw__6CModelCFRC11CModelFlags /* 802B4DE4 002B1D44 48 00 00 48 */ b lbl_802B4E2C lbl_802B4DE8: /* 802B4DE8 002B1D48 38 C0 00 03 */ li r6, 3 /* 802B4DEC 002B1D4C 80 A1 00 20 */ lwz r5, 0x20(r1) /* 802B4DF0 002B1D50 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d /* 802B4DF4 002B1D54 38 60 00 05 */ li r3, 5 /* 802B4DF8 002B1D58 38 E0 00 00 */ li r7, 0 /* 802B4DFC 002B1D5C 98 61 00 2C */ stb r3, 0x2c(r1) /* 802B4E00 002B1D60 60 00 00 01 */ ori r0, r0, 1 /* 802B4E04 002B1D64 38 81 00 2C */ addi r4, r1, 0x2c /* 802B4E08 002B1D68 98 E1 00 2D */ stb r7, 0x2d(r1) /* 802B4E0C 002B1D6C B0 01 00 2E */ sth r0, 0x2e(r1) /* 802B4E10 002B1D70 90 A1 00 30 */ stw r5, 0x30(r1) /* 802B4E14 002B1D74 98 61 00 24 */ stb r3, 0x24(r1) /* 802B4E18 002B1D78 80 68 00 40 */ lwz r3, 0x40(r8) /* 802B4E1C 002B1D7C 98 E1 00 25 */ stb r7, 0x25(r1) /* 802B4E20 002B1D80 B0 C1 00 26 */ sth r6, 0x26(r1) /* 802B4E24 002B1D84 90 A1 00 28 */ stw r5, 0x28(r1) /* 802B4E28 002B1D88 48 0A 0D AD */ bl Draw__6CModelCFRC11CModelFlags lbl_802B4E2C: /* 802B4E2C 002B1D8C 38 60 00 01 */ li r3, 1 /* 802B4E30 002B1D90 48 05 6C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 802B4E34 002B1D94 48 05 40 75 */ bl ResetStates__13CTevCombinersFv /* 802B4E38 002B1D98 80 01 03 44 */ lwz r0, 0x344(r1) /* 802B4E3C 002B1D9C 83 E1 03 3C */ lwz r31, 0x33c(r1) /* 802B4E40 002B1DA0 83 C1 03 38 */ lwz r30, 0x338(r1) /* 802B4E44 002B1DA4 7C 08 03 A6 */ mtlr r0 /* 802B4E48 002B1DA8 38 21 03 40 */ addi r1, r1, 0x340 /* 802B4E4C 002B1DAC 4E 80 00 20 */ blr .global RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr: /* 802B4E50 002B1DB0 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802B4E54 002B1DB4 7C 08 02 A6 */ mflr r0 /* 802B4E58 002B1DB8 90 01 00 94 */ stw r0, 0x94(r1) /* 802B4E5C 002B1DBC DB E1 00 80 */ stfd f31, 0x80(r1) /* 802B4E60 002B1DC0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 802B4E64 002B1DC4 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802B4E68 002B1DC8 93 C1 00 78 */ stw r30, 0x78(r1) /* 802B4E6C 002B1DCC 93 A1 00 74 */ stw r29, 0x74(r1) /* 802B4E70 002B1DD0 93 81 00 70 */ stw r28, 0x70(r1) /* 802B4E74 002B1DD4 7C 7C 1B 78 */ mr r28, r3 /* 802B4E78 002B1DD8 7C 9D 23 78 */ mr r29, r4 /* 802B4E7C 002B1DDC 7C BE 2B 78 */ mr r30, r5 /* 802B4E80 002B1DE0 48 09 51 2D */ bl White__6CColorFv /* 802B4E84 002B1DE4 3C 80 80 5A */ lis r4, skZero3f@ha /* 802B4E88 002B1DE8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 802B4E8C 002B1DEC 80 BE 00 10 */ lwz r5, 0x10(r30) /* 802B4E90 002B1DF0 80 03 00 00 */ lwz r0, 0(r3) /* 802B4E94 002B1DF4 C0 62 C2 58 */ lfs f3, lbl_805ADF78@sda21(r2) /* 802B4E98 002B1DF8 28 05 00 00 */ cmplwi r5, 0 /* 802B4E9C 002B1DFC C0 24 00 04 */ lfs f1, 4(r4) /* 802B4EA0 002B1E00 C0 04 00 08 */ lfs f0, 8(r4) /* 802B4EA4 002B1E04 90 01 00 0C */ stw r0, 0xc(r1) /* 802B4EA8 002B1E08 D0 61 00 08 */ stfs f3, 8(r1) /* 802B4EAC 002B1E0C D0 41 00 34 */ stfs f2, 0x34(r1) /* 802B4EB0 002B1E10 D0 21 00 38 */ stfs f1, 0x38(r1) /* 802B4EB4 002B1E14 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802B4EB8 002B1E18 41 82 00 20 */ beq lbl_802B4ED8 /* 802B4EBC 002B1E1C 7C A3 2B 78 */ mr r3, r5 /* 802B4EC0 002B1E20 38 A1 00 0C */ addi r5, r1, 0xc /* 802B4EC4 002B1E24 81 83 00 00 */ lwz r12, 0(r3) /* 802B4EC8 002B1E28 80 9C 00 58 */ lwz r4, 0x58(r28) /* 802B4ECC 002B1E2C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4ED0 002B1E30 7D 89 03 A6 */ mtctr r12 /* 802B4ED4 002B1E34 4E 80 04 21 */ bctrl lbl_802B4ED8: /* 802B4ED8 002B1E38 80 7E 00 04 */ lwz r3, 4(r30) /* 802B4EDC 002B1E3C 28 03 00 00 */ cmplwi r3, 0 /* 802B4EE0 002B1E40 41 82 00 2C */ beq lbl_802B4F0C /* 802B4EE4 002B1E44 81 83 00 00 */ lwz r12, 0(r3) /* 802B4EE8 002B1E48 38 A1 00 08 */ addi r5, r1, 8 /* 802B4EEC 002B1E4C 80 9C 00 58 */ lwz r4, 0x58(r28) /* 802B4EF0 002B1E50 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4EF4 002B1E54 7D 89 03 A6 */ mtctr r12 /* 802B4EF8 002B1E58 4E 80 04 21 */ bctrl /* 802B4EFC 002B1E5C C0 21 00 08 */ lfs f1, 8(r1) /* 802B4F00 002B1E60 C0 02 C2 60 */ lfs f0, lbl_805ADF80@sda21(r2) /* 802B4F04 002B1E64 EC 01 00 32 */ fmuls f0, f1, f0 /* 802B4F08 002B1E68 D0 01 00 08 */ stfs f0, 8(r1) lbl_802B4F0C: /* 802B4F0C 002B1E6C 80 7E 00 08 */ lwz r3, 8(r30) /* 802B4F10 002B1E70 28 03 00 00 */ cmplwi r3, 0 /* 802B4F14 002B1E74 41 82 00 1C */ beq lbl_802B4F30 /* 802B4F18 002B1E78 81 83 00 00 */ lwz r12, 0(r3) /* 802B4F1C 002B1E7C 38 BD 00 08 */ addi r5, r29, 8 /* 802B4F20 002B1E80 80 9C 00 58 */ lwz r4, 0x58(r28) /* 802B4F24 002B1E84 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4F28 002B1E88 7D 89 03 A6 */ mtctr r12 /* 802B4F2C 002B1E8C 4E 80 04 21 */ bctrl lbl_802B4F30: /* 802B4F30 002B1E90 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802B4F34 002B1E94 28 03 00 00 */ cmplwi r3, 0 /* 802B4F38 002B1E98 41 82 00 24 */ beq lbl_802B4F5C /* 802B4F3C 002B1E9C 81 83 00 00 */ lwz r12, 0(r3) /* 802B4F40 002B1EA0 38 A1 00 34 */ addi r5, r1, 0x34 /* 802B4F44 002B1EA4 80 9C 00 58 */ lwz r4, 0x58(r28) /* 802B4F48 002B1EA8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B4F4C 002B1EAC 7D 89 03 A6 */ mtctr r12 /* 802B4F50 002B1EB0 4E 80 04 21 */ bctrl /* 802B4F54 002B1EB4 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) /* 802B4F58 002B1EB8 D0 01 00 38 */ stfs f0, 0x38(r1) lbl_802B4F5C: /* 802B4F5C 002B1EBC 38 61 00 40 */ addi r3, r1, 0x40 /* 802B4F60 002B1EC0 38 9C 00 0C */ addi r4, r28, 0xc /* 802B4F64 002B1EC4 48 05 DC 11 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802B4F68 002B1EC8 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 802B4F6C 002B1ECC 38 61 00 40 */ addi r3, r1, 0x40 /* 802B4F70 002B1ED0 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802B4F74 002B1ED4 C0 61 00 5C */ lfs f3, 0x5c(r1) /* 802B4F78 002B1ED8 C0 41 00 38 */ lfs f2, 0x38(r1) /* 802B4F7C 002B1EDC EC 81 00 2A */ fadds f4, f1, f0 /* 802B4F80 002B1EE0 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 802B4F84 002B1EE4 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 802B4F88 002B1EE8 EC 43 10 2A */ fadds f2, f3, f2 /* 802B4F8C 002B1EEC D0 81 00 4C */ stfs f4, 0x4c(r1) /* 802B4F90 002B1EF0 EC 01 00 2A */ fadds f0, f1, f0 /* 802B4F94 002B1EF4 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 802B4F98 002B1EF8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 802B4F9C 002B1EFC 48 05 76 45 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f /* 802B4FA0 002B1F00 38 60 00 07 */ li r3, 7 /* 802B4FA4 002B1F04 38 80 00 00 */ li r4, 0 /* 802B4FA8 002B1F08 38 A0 00 00 */ li r5, 0 /* 802B4FAC 002B1F0C 38 C0 00 07 */ li r6, 7 /* 802B4FB0 002B1F10 38 E0 00 00 */ li r7, 0 /* 802B4FB4 002B1F14 48 05 6A 75 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc /* 802B4FB8 002B1F18 88 0D A5 EC */ lbz r0, lbl_805A91AC@sda21(r13) /* 802B4FBC 002B1F1C 3B E0 00 00 */ li r31, 0 /* 802B4FC0 002B1F20 7F E3 FB 78 */ mr r3, r31 /* 802B4FC4 002B1F24 28 00 00 00 */ cmplwi r0, 0 /* 802B4FC8 002B1F28 41 82 00 14 */ beq lbl_802B4FDC /* 802B4FCC 002B1F2C 88 1E 00 18 */ lbz r0, 0x18(r30) /* 802B4FD0 002B1F30 28 00 00 00 */ cmplwi r0, 0 /* 802B4FD4 002B1F34 41 82 00 08 */ beq lbl_802B4FDC /* 802B4FD8 002B1F38 38 60 00 01 */ li r3, 1 lbl_802B4FDC: /* 802B4FDC 002B1F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802B4FE0 002B1F40 41 82 00 14 */ beq lbl_802B4FF4 /* 802B4FE4 002B1F44 80 1E 00 14 */ lwz r0, 0x14(r30) /* 802B4FE8 002B1F48 28 00 00 00 */ cmplwi r0, 0 /* 802B4FEC 002B1F4C 41 82 00 08 */ beq lbl_802B4FF4 /* 802B4FF0 002B1F50 3B E0 00 01 */ li r31, 1 lbl_802B4FF4: /* 802B4FF4 002B1F54 88 1E 00 18 */ lbz r0, 0x18(r30) /* 802B4FF8 002B1F58 28 00 00 00 */ cmplwi r0, 0 /* 802B4FFC 002B1F5C 41 82 00 4C */ beq lbl_802B5048 /* 802B5000 002B1F60 38 60 00 01 */ li r3, 1 /* 802B5004 002B1F64 38 80 00 03 */ li r4, 3 /* 802B5008 002B1F68 38 A0 00 00 */ li r5, 0 /* 802B500C 002B1F6C 48 05 6A 89 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb /* 802B5010 002B1F70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802B5014 002B1F74 41 82 00 1C */ beq lbl_802B5030 /* 802B5018 002B1F78 38 60 00 01 */ li r3, 1 /* 802B501C 002B1F7C 38 80 00 01 */ li r4, 1 /* 802B5020 002B1F80 38 A0 00 01 */ li r5, 1 /* 802B5024 002B1F84 38 C0 00 00 */ li r6, 0 /* 802B5028 002B1F88 48 05 6A 29 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp /* 802B502C 002B1F8C 48 00 00 40 */ b lbl_802B506C lbl_802B5030: /* 802B5030 002B1F90 38 60 00 01 */ li r3, 1 /* 802B5034 002B1F94 38 80 00 04 */ li r4, 4 /* 802B5038 002B1F98 38 A0 00 01 */ li r5, 1 /* 802B503C 002B1F9C 38 C0 00 00 */ li r6, 0 /* 802B5040 002B1FA0 48 05 6A 11 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp /* 802B5044 002B1FA4 48 00 00 28 */ b lbl_802B506C lbl_802B5048: /* 802B5048 002B1FA8 38 60 00 01 */ li r3, 1 /* 802B504C 002B1FAC 38 80 00 03 */ li r4, 3 /* 802B5050 002B1FB0 38 A0 00 00 */ li r5, 0 /* 802B5054 002B1FB4 48 05 6A 41 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb /* 802B5058 002B1FB8 38 60 00 01 */ li r3, 1 /* 802B505C 002B1FBC 38 80 00 04 */ li r4, 4 /* 802B5060 002B1FC0 38 A0 00 05 */ li r5, 5 /* 802B5064 002B1FC4 38 C0 00 00 */ li r6, 0 /* 802B5068 002B1FC8 48 05 69 E9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp lbl_802B506C: /* 802B506C 002B1FCC 80 9E 00 14 */ lwz r4, 0x14(r30) /* 802B5070 002B1FD0 C0 22 C2 54 */ lfs f1, lbl_805ADF74@sda21(r2) /* 802B5074 002B1FD4 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) /* 802B5078 002B1FD8 28 04 00 00 */ cmplwi r4, 0 /* 802B507C 002B1FDC D0 21 00 24 */ stfs f1, 0x24(r1) /* 802B5080 002B1FE0 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802B5084 002B1FE4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 802B5088 002B1FE8 D0 01 00 30 */ stfs f0, 0x30(r1) /* 802B508C 002B1FEC 41 82 01 30 */ beq lbl_802B51BC /* 802B5090 002B1FF0 81 84 00 00 */ lwz r12, 0(r4) /* 802B5094 002B1FF4 38 61 00 18 */ addi r3, r1, 0x18 /* 802B5098 002B1FF8 80 BC 00 58 */ lwz r5, 0x58(r28) /* 802B509C 002B1FFC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B50A0 002B2000 7D 89 03 A6 */ mtctr r12 /* 802B50A4 002B2004 4E 80 04 21 */ bctrl /* 802B50A8 002B2008 38 61 00 10 */ addi r3, r1, 0x10 /* 802B50AC 002B200C 38 81 00 18 */ addi r4, r1, 0x18 /* 802B50B0 002B2010 48 08 BD F9 */ bl __ct__6CTokenFRC6CToken /* 802B50B4 002B2014 38 61 00 18 */ addi r3, r1, 0x18 /* 802B50B8 002B2018 38 80 00 00 */ li r4, 0 /* 802B50BC 002B201C 48 08 BD 85 */ bl __dt__6CTokenFv /* 802B50C0 002B2020 80 61 00 10 */ lwz r3, 0x10(r1) /* 802B50C4 002B2024 80 03 00 10 */ lwz r0, 0x10(r3) /* 802B50C8 002B2028 28 00 00 00 */ cmplwi r0, 0 /* 802B50CC 002B202C 40 82 00 14 */ bne lbl_802B50E0 /* 802B50D0 002B2030 38 61 00 10 */ addi r3, r1, 0x10 /* 802B50D4 002B2034 38 80 00 00 */ li r4, 0 /* 802B50D8 002B2038 48 08 BD 69 */ bl __dt__6CTokenFv /* 802B50DC 002B203C 48 00 03 2C */ b lbl_802B5408 lbl_802B50E0: /* 802B50E0 002B2040 38 61 00 10 */ addi r3, r1, 0x10 /* 802B50E4 002B2044 48 08 BD 29 */ bl GetObj__6CTokenFv /* 802B50E8 002B2048 80 63 00 04 */ lwz r3, 4(r3) /* 802B50EC 002B204C 38 80 00 00 */ li r4, 0 /* 802B50F0 002B2050 38 A0 00 01 */ li r5, 1 /* 802B50F4 002B2054 48 05 A6 49 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 802B50F8 002B2058 38 61 00 10 */ addi r3, r1, 0x10 /* 802B50FC 002B205C 48 08 BD 11 */ bl GetObj__6CTokenFv /* 802B5100 002B2060 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha /* 802B5104 002B2064 38 60 00 00 */ li r3, 0 /* 802B5108 002B2068 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l /* 802B510C 002B206C 48 05 51 AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 802B5110 002B2070 80 7E 00 14 */ lwz r3, 0x14(r30) /* 802B5114 002B2074 38 A1 00 24 */ addi r5, r1, 0x24 /* 802B5118 002B2078 80 9C 00 58 */ lwz r4, 0x58(r28) /* 802B511C 002B207C 81 83 00 00 */ lwz r12, 0(r3) /* 802B5120 002B2080 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B5124 002B2084 7D 89 03 A6 */ mtctr r12 /* 802B5128 002B2088 4E 80 04 21 */ bctrl /* 802B512C 002B208C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802B5130 002B2090 41 82 00 70 */ beq lbl_802B51A0 /* 802B5134 002B2094 38 60 00 02 */ li r3, 2 /* 802B5138 002B2098 48 05 3B 59 */ bl SetNumTevStages__3CGXFUc /* 802B513C 002B209C 38 60 00 01 */ li r3, 1 /* 802B5140 002B20A0 38 80 00 0F */ li r4, 0xf /* 802B5144 002B20A4 38 A0 00 00 */ li r5, 0 /* 802B5148 002B20A8 38 C0 00 01 */ li r6, 1 /* 802B514C 002B20AC 38 E0 00 0F */ li r7, 0xf /* 802B5150 002B20B0 48 05 3A 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 802B5154 002B20B4 38 60 00 01 */ li r3, 1 /* 802B5158 002B20B8 38 80 00 07 */ li r4, 7 /* 802B515C 002B20BC 38 A0 00 04 */ li r5, 4 /* 802B5160 002B20C0 38 C0 00 00 */ li r6, 0 /* 802B5164 002B20C4 38 E0 00 07 */ li r7, 7 /* 802B5168 002B20C8 48 05 3A 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 802B516C 002B20CC 38 60 00 01 */ li r3, 1 /* 802B5170 002B20D0 48 05 2A E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 802B5174 002B20D4 38 60 00 04 */ li r3, 4 /* 802B5178 002B20D8 38 80 00 00 */ li r4, 0 /* 802B517C 002B20DC 38 A0 00 01 */ li r5, 1 /* 802B5180 002B20E0 38 C0 00 00 */ li r6, 0 /* 802B5184 002B20E4 38 E0 00 00 */ li r7, 0 /* 802B5188 002B20E8 48 05 36 8D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc /* 802B518C 002B20EC 38 60 00 01 */ li r3, 1 /* 802B5190 002B20F0 38 80 00 00 */ li r4, 0 /* 802B5194 002B20F4 38 A0 00 01 */ li r5, 1 /* 802B5198 002B20F8 48 0C 66 99 */ bl GXSetTevSwapMode /* 802B519C 002B20FC 48 00 00 10 */ b lbl_802B51AC lbl_802B51A0: /* 802B51A0 002B2100 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 802B51A4 002B2104 38 60 00 01 */ li r3, 1 /* 802B51A8 002B2108 48 05 51 11 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass lbl_802B51AC: /* 802B51AC 002B210C 38 61 00 10 */ addi r3, r1, 0x10 /* 802B51B0 002B2110 38 80 00 00 */ li r4, 0 /* 802B51B4 002B2114 48 08 BC 8D */ bl __dt__6CTokenFv /* 802B51B8 002B2118 48 00 00 1C */ b lbl_802B51D4 lbl_802B51BC: /* 802B51BC 002B211C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 802B51C0 002B2120 38 60 00 00 */ li r3, 0 /* 802B51C4 002B2124 48 05 50 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 802B51C8 002B2128 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 802B51CC 002B212C 38 60 00 01 */ li r3, 1 /* 802B51D0 002B2130 48 05 50 E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass lbl_802B51D4: /* 802B51D4 002B2134 38 60 00 00 */ li r3, 0 /* 802B51D8 002B2138 38 80 00 00 */ li r4, 0 /* 802B51DC 002B213C 38 A0 00 00 */ li r5, 0 /* 802B51E0 002B2140 38 C0 00 04 */ li r6, 4 /* 802B51E4 002B2144 48 05 37 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802B51E8 002B2148 38 60 00 01 */ li r3, 1 /* 802B51EC 002B214C 38 80 00 00 */ li r4, 0 /* 802B51F0 002B2150 38 A0 00 00 */ li r5, 0 /* 802B51F4 002B2154 38 C0 00 FF */ li r6, 0xff /* 802B51F8 002B2158 48 05 37 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802B51FC 002B215C 38 60 00 01 */ li r3, 1 /* 802B5200 002B2160 48 05 3C 15 */ bl SetNumTexGens__3CGXFUc /* 802B5204 002B2164 38 60 00 01 */ li r3, 1 /* 802B5208 002B2168 48 05 3C 49 */ bl SetNumChans__3CGXFUc /* 802B520C 002B216C 38 60 00 00 */ li r3, 0 /* 802B5210 002B2170 48 05 34 81 */ bl SetNumIndStages__3CGXFUc /* 802B5214 002B2174 38 60 00 00 */ li r3, 0 /* 802B5218 002B2178 38 80 00 01 */ li r4, 1 /* 802B521C 002B217C 38 A0 00 04 */ li r5, 4 /* 802B5220 002B2180 38 C0 00 3C */ li r6, 0x3c /* 802B5224 002B2184 38 E0 00 00 */ li r7, 0 /* 802B5228 002B2188 39 00 00 7D */ li r8, 0x7d /* 802B522C 002B218C 48 05 34 A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 802B5230 002B2190 38 60 00 00 */ li r3, 0 /* 802B5234 002B2194 38 80 00 00 */ li r4, 0 /* 802B5238 002B2198 38 A0 00 00 */ li r5, 0 /* 802B523C 002B219C 38 C0 00 01 */ li r6, 1 /* 802B5240 002B21A0 38 E0 00 00 */ li r7, 0 /* 802B5244 002B21A4 39 00 00 00 */ li r8, 0 /* 802B5248 002B21A8 39 20 00 02 */ li r9, 2 /* 802B524C 002B21AC 48 05 3A 81 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 802B5250 002B21B0 3C 60 80 3D */ lis r3, lbl_803D6550@ha /* 802B5254 002B21B4 38 63 65 50 */ addi r3, r3, lbl_803D6550@l /* 802B5258 002B21B8 48 05 2B D1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 802B525C 002B21BC 38 60 00 98 */ li r3, 0x98 /* 802B5260 002B21C0 38 80 00 00 */ li r4, 0 /* 802B5264 002B21C4 38 A0 00 04 */ li r5, 4 /* 802B5268 002B21C8 48 05 33 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 802B526C 002B21CC C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) /* 802B5270 002B21D0 C0 3D 00 08 */ lfs f1, 8(r29) /* 802B5274 002B21D4 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 802B5278 002B21D8 40 82 00 8C */ bne lbl_802B5304 /* 802B527C 002B21DC C0 21 00 08 */ lfs f1, 8(r1) /* 802B5280 002B21E0 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 802B5284 002B21E4 C0 02 C2 64 */ lfs f0, lbl_805ADF84@sda21(r2) /* 802B5288 002B21E8 FC 60 08 50 */ fneg f3, f1 /* 802B528C 002B21EC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 802B5290 002B21F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B5294 002B21F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 802B5298 002B21F8 80 01 00 0C */ lwz r0, 0xc(r1) /* 802B529C 002B21FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B52A0 002B2200 C0 81 00 24 */ lfs f4, 0x24(r1) /* 802B52A4 002B2204 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B52A8 002B2208 C0 41 00 30 */ lfs f2, 0x30(r1) /* 802B52AC 002B220C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B52B0 002B2210 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 802B52B4 002B2214 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B52B8 002B2218 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 802B52BC 002B221C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B52C0 002B2220 C0 A1 00 2C */ lfs f5, 0x2c(r1) /* 802B52C4 002B2224 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B52C8 002B2228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B52CC 002B222C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 802B52D0 002B2230 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B52D4 002B2234 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 802B52D8 002B2238 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B52DC 002B223C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B52E0 002B2240 C0 41 00 28 */ lfs f2, 0x28(r1) /* 802B52E4 002B2244 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B52E8 002B2248 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 802B52EC 002B224C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B52F0 002B2250 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 802B52F4 002B2254 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B52F8 002B2258 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B52FC 002B225C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B5300 002B2260 48 00 00 D4 */ b lbl_802B53D4 lbl_802B5304: /* 802B5304 002B2264 C0 02 C2 50 */ lfs f0, lbl_805ADF70@sda21(r2) /* 802B5308 002B2268 EF E0 00 72 */ fmuls f31, f0, f1 /* 802B530C 002B226C FC 20 F8 90 */ fmr f1, f31 /* 802B5310 002B2270 48 0D F7 CD */ bl sin /* 802B5314 002B2274 FC 40 08 18 */ frsp f2, f1 /* 802B5318 002B2278 C0 01 00 08 */ lfs f0, 8(r1) /* 802B531C 002B227C FC 20 F8 90 */ fmr f1, f31 /* 802B5320 002B2280 EF E0 00 B2 */ fmuls f31, f0, f2 /* 802B5324 002B2284 48 0D F0 CD */ bl cos /* 802B5328 002B2288 FC 40 08 18 */ frsp f2, f1 /* 802B532C 002B228C C0 01 00 08 */ lfs f0, 8(r1) /* 802B5330 002B2290 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 802B5334 002B2294 C0 A2 C2 64 */ lfs f5, lbl_805ADF84@sda21(r2) /* 802B5338 002B2298 FC 20 F8 50 */ fneg f1, f31 /* 802B533C 002B229C EC C0 00 B2 */ fmuls f6, f0, f2 /* 802B5340 002B22A0 EC 1F 30 28 */ fsubs f0, f31, f6 /* 802B5344 002B22A4 EC 86 F8 2A */ fadds f4, f6, f31 /* 802B5348 002B22A8 EC E6 F8 28 */ fsubs f7, f6, f31 /* 802B534C 002B22AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B5350 002B22B0 FC 00 30 50 */ fneg f0, f6 /* 802B5354 002B22B4 FC 60 20 50 */ fneg f3, f4 /* 802B5358 002B22B8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B535C 002B22BC FC 40 38 50 */ fneg f2, f7 /* 802B5360 002B22C0 EC 21 30 2A */ fadds f1, f1, f6 /* 802B5364 002B22C4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B5368 002B22C8 EC 00 F8 28 */ fsubs f0, f0, f31 /* 802B536C 002B22CC 80 01 00 0C */ lwz r0, 0xc(r1) /* 802B5370 002B22D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B5374 002B22D4 C1 01 00 24 */ lfs f8, 0x24(r1) /* 802B5378 002B22D8 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) /* 802B537C 002B22DC C0 C1 00 30 */ lfs f6, 0x30(r1) /* 802B5380 002B22E0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 802B5384 002B22E4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B5388 002B22E8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B538C 002B22EC D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) /* 802B5390 002B22F0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B5394 002B22F4 C0 81 00 2C */ lfs f4, 0x2c(r1) /* 802B5398 002B22F8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B539C 002B22FC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 802B53A0 002B2300 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 802B53A4 002B2304 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B53A8 002B2308 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B53AC 002B230C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B53B0 002B2310 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) /* 802B53B4 002B2314 C0 41 00 28 */ lfs f2, 0x28(r1) /* 802B53B8 002B2318 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 802B53BC 002B231C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 802B53C0 002B2320 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 802B53C4 002B2324 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802B53C8 002B2328 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 802B53CC 002B232C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 802B53D0 002B2330 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) lbl_802B53D4: /* 802B53D4 002B2334 48 05 31 AD */ bl End__3CGXFv /* 802B53D8 002B2338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802B53DC 002B233C 41 82 00 2C */ beq lbl_802B5408 /* 802B53E0 002B2340 38 60 00 01 */ li r3, 1 /* 802B53E4 002B2344 38 80 00 00 */ li r4, 0 /* 802B53E8 002B2348 38 A0 00 00 */ li r5, 0 /* 802B53EC 002B234C 48 0C 64 45 */ bl GXSetTevSwapMode /* 802B53F0 002B2350 38 60 00 07 */ li r3, 7 /* 802B53F4 002B2354 38 80 00 00 */ li r4, 0 /* 802B53F8 002B2358 38 A0 00 01 */ li r5, 1 /* 802B53FC 002B235C 38 C0 00 07 */ li r6, 7 /* 802B5400 002B2360 38 E0 00 00 */ li r7, 0 /* 802B5404 002B2364 48 05 34 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc lbl_802B5408: /* 802B5408 002B2368 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 802B540C 002B236C 80 01 00 94 */ lwz r0, 0x94(r1) /* 802B5410 002B2370 CB E1 00 80 */ lfd f31, 0x80(r1) /* 802B5414 002B2374 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 802B5418 002B2378 83 C1 00 78 */ lwz r30, 0x78(r1) /* 802B541C 002B237C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 802B5420 002B2380 83 81 00 70 */ lwz r28, 0x70(r1) /* 802B5424 002B2384 7C 08 03 A6 */ mtlr r0 /* 802B5428 002B2388 38 21 00 90 */ addi r1, r1, 0x90 /* 802B542C 002B238C 4E 80 00 20 */ blr .global "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f": /* 802B5430 002B2390 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802B5434 002B2394 7C 08 02 A6 */ mflr r0 /* 802B5438 002B2398 90 01 00 34 */ stw r0, 0x34(r1) /* 802B543C 002B239C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802B5440 002B23A0 7C 7F 1B 78 */ mr r31, r3 /* 802B5444 002B23A4 7F E0 FB 78 */ mr r0, r31 /* 802B5448 002B23A8 93 C1 00 28 */ stw r30, 0x28(r1) /* 802B544C 002B23AC 7C BE 2B 78 */ mr r30, r5 /* 802B5450 002B23B0 93 A1 00 24 */ stw r29, 0x24(r1) /* 802B5454 002B23B4 7C 1D 03 78 */ mr r29, r0 /* 802B5458 002B23B8 48 08 BA 51 */ bl __ct__6CTokenFRC6CToken /* 802B545C 002B23BC 7F A3 EB 78 */ mr r3, r29 /* 802B5460 002B23C0 48 08 B9 AD */ bl GetObj__6CTokenFv /* 802B5464 002B23C4 80 03 00 04 */ lwz r0, 4(r3) /* 802B5468 002B23C8 7F C4 F3 78 */ mr r4, r30 /* 802B546C 002B23CC 38 7F 00 0C */ addi r3, r31, 0xc /* 802B5470 002B23D0 90 1D 00 08 */ stw r0, 8(r29) /* 802B5474 002B23D4 48 05 D7 01 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802B5478 002B23D8 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 802B547C 002B23DC 38 E0 00 01 */ li r7, 1 /* 802B5480 002B23E0 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 802B5484 002B23E4 3C 60 80 5A */ lis r3, skZero3f@ha /* 802B5488 002B23E8 98 1F 00 3C */ stb r0, 0x3c(r31) /* 802B548C 002B23EC 38 C0 00 00 */ li r6, 0 /* 802B5490 002B23F0 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) /* 802B5494 002B23F4 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 802B5498 002B23F8 90 DF 00 40 */ stw r6, 0x40(r31) /* 802B549C 002B23FC 38 61 00 10 */ addi r3, r1, 0x10 /* 802B54A0 002B2400 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 /* 802B54A4 002B2404 D0 1F 00 44 */ stfs f0, 0x44(r31) /* 802B54A8 002B2408 88 1F 00 48 */ lbz r0, 0x48(r31) /* 802B54AC 002B240C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 802B54B0 002B2410 98 1F 00 48 */ stb r0, 0x48(r31) /* 802B54B4 002B2414 90 DF 00 4C */ stw r6, 0x4c(r31) /* 802B54B8 002B2418 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 802B54BC 002B241C 90 DF 00 54 */ stw r6, 0x54(r31) /* 802B54C0 002B2420 90 DF 00 58 */ stw r6, 0x58(r31) /* 802B54C4 002B2424 90 DF 00 5C */ stw r6, 0x5c(r31) /* 802B54C8 002B2428 C0 05 00 00 */ lfs f0, 0(r5) /* 802B54CC 002B242C D0 1F 00 60 */ stfs f0, 0x60(r31) /* 802B54D0 002B2430 C0 05 00 04 */ lfs f0, 4(r5) /* 802B54D4 002B2434 D0 1F 00 64 */ stfs f0, 0x64(r31) /* 802B54D8 002B2438 C0 05 00 08 */ lfs f0, 8(r5) /* 802B54DC 002B243C D0 1F 00 68 */ stfs f0, 0x68(r31) /* 802B54E0 002B2440 48 05 D1 A1 */ bl __ct__13CGlobalRandomFR9CRandom16 /* 802B54E4 002B2444 83 DF 00 08 */ lwz r30, 8(r31) /* 802B54E8 002B2448 80 1E 00 14 */ lwz r0, 0x14(r30) /* 802B54EC 002B244C 28 00 00 00 */ cmplwi r0, 0 /* 802B54F0 002B2450 41 82 01 38 */ beq lbl_802B5628 /* 802B54F4 002B2454 80 7E 00 00 */ lwz r3, 0(r30) /* 802B54F8 002B2458 28 03 00 00 */ cmplwi r3, 0 /* 802B54FC 002B245C 41 82 00 20 */ beq lbl_802B551C /* 802B5500 002B2460 81 83 00 00 */ lwz r12, 0(r3) /* 802B5504 002B2464 38 BF 00 40 */ addi r5, r31, 0x40 /* 802B5508 002B2468 38 80 00 00 */ li r4, 0 /* 802B550C 002B246C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B5510 002B2470 7D 89 03 A6 */ mtctr r12 /* 802B5514 002B2474 4E 80 04 21 */ bctrl /* 802B5518 002B2478 48 00 00 10 */ b lbl_802B5528 lbl_802B551C: /* 802B551C 002B247C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha /* 802B5520 002B2480 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l /* 802B5524 002B2484 90 1F 00 40 */ stw r0, 0x40(r31) lbl_802B5528: /* 802B5528 002B2488 80 7E 00 08 */ lwz r3, 8(r30) /* 802B552C 002B248C 28 03 00 00 */ cmplwi r3, 0 /* 802B5530 002B2490 41 82 00 44 */ beq lbl_802B5574 /* 802B5534 002B2494 81 83 00 00 */ lwz r12, 0(r3) /* 802B5538 002B2498 38 BF 00 44 */ addi r5, r31, 0x44 /* 802B553C 002B249C 38 80 00 00 */ li r4, 0 /* 802B5540 002B24A0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B5544 002B24A4 7D 89 03 A6 */ mtctr r12 /* 802B5548 002B24A8 4E 80 04 21 */ bctrl /* 802B554C 002B24AC 80 7E 00 08 */ lwz r3, 8(r30) /* 802B5550 002B24B0 81 83 00 00 */ lwz r12, 0(r3) /* 802B5554 002B24B4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B5558 002B24B8 7D 89 03 A6 */ mtctr r12 /* 802B555C 002B24BC 4E 80 04 21 */ bctrl /* 802B5560 002B24C0 88 9F 00 3C */ lbz r4, 0x3c(r31) /* 802B5564 002B24C4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B5568 002B24C8 7C 00 18 38 */ and r0, r0, r3 /* 802B556C 002B24CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B5570 002B24D0 98 9F 00 3C */ stb r4, 0x3c(r31) lbl_802B5574: /* 802B5574 002B24D4 80 7E 00 04 */ lwz r3, 4(r30) /* 802B5578 002B24D8 28 03 00 00 */ cmplwi r3, 0 /* 802B557C 002B24DC 41 82 00 78 */ beq lbl_802B55F4 /* 802B5580 002B24E0 81 83 00 00 */ lwz r12, 0(r3) /* 802B5584 002B24E4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B5588 002B24E8 7D 89 03 A6 */ mtctr r12 /* 802B558C 002B24EC 4E 80 04 21 */ bctrl /* 802B5590 002B24F0 88 9F 00 3C */ lbz r4, 0x3c(r31) /* 802B5594 002B24F4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B5598 002B24F8 7C 00 18 38 */ and r0, r0, r3 /* 802B559C 002B24FC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B55A0 002B2500 98 9F 00 3C */ stb r4, 0x3c(r31) /* 802B55A4 002B2504 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 802B55A8 002B2508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802B55AC 002B250C 41 82 00 48 */ beq lbl_802B55F4 /* 802B55B0 002B2510 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) /* 802B55B4 002B2514 38 A1 00 0C */ addi r5, r1, 0xc /* 802B55B8 002B2518 38 80 00 00 */ li r4, 0 /* 802B55BC 002B251C D0 01 00 0C */ stfs f0, 0xc(r1) /* 802B55C0 002B2520 80 7E 00 04 */ lwz r3, 4(r30) /* 802B55C4 002B2524 81 83 00 00 */ lwz r12, 0(r3) /* 802B55C8 002B2528 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B55CC 002B252C 7D 89 03 A6 */ mtctr r12 /* 802B55D0 002B2530 4E 80 04 21 */ bctrl /* 802B55D4 002B2534 C0 21 00 0C */ lfs f1, 0xc(r1) /* 802B55D8 002B2538 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) /* 802B55DC 002B253C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802B55E0 002B2540 4C 40 13 82 */ cror 2, 0, 2 /* 802B55E4 002B2544 7C 60 00 26 */ mfcr r3 /* 802B55E8 002B2548 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 802B55EC 002B254C 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 /* 802B55F0 002B2550 98 1F 00 3C */ stb r0, 0x3c(r31) lbl_802B55F4: /* 802B55F4 002B2554 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802B55F8 002B2558 28 03 00 00 */ cmplwi r3, 0 /* 802B55FC 002B255C 41 82 00 48 */ beq lbl_802B5644 /* 802B5600 002B2560 81 83 00 00 */ lwz r12, 0(r3) /* 802B5604 002B2564 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B5608 002B2568 7D 89 03 A6 */ mtctr r12 /* 802B560C 002B256C 4E 80 04 21 */ bctrl /* 802B5610 002B2570 88 9F 00 3C */ lbz r4, 0x3c(r31) /* 802B5614 002B2574 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B5618 002B2578 7C 00 18 38 */ and r0, r0, r3 /* 802B561C 002B257C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B5620 002B2580 98 9F 00 3C */ stb r4, 0x3c(r31) /* 802B5624 002B2584 48 00 00 20 */ b lbl_802B5644 lbl_802B5628: /* 802B5628 002B2588 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 802B562C 002B258C 38 60 00 00 */ li r3, 0 /* 802B5630 002B2590 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802B5634 002B2594 98 1F 00 3C */ stb r0, 0x3c(r31) /* 802B5638 002B2598 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802B563C 002B259C 60 00 00 01 */ ori r0, r0, 1 /* 802B5640 002B25A0 90 1F 00 5C */ stw r0, 0x5c(r31) lbl_802B5644: /* 802B5644 002B25A4 83 DF 00 08 */ lwz r30, 8(r31) /* 802B5648 002B25A8 80 1E 00 30 */ lwz r0, 0x30(r30) /* 802B564C 002B25AC 28 00 00 00 */ cmplwi r0, 0 /* 802B5650 002B25B0 41 82 01 38 */ beq lbl_802B5788 /* 802B5654 002B25B4 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802B5658 002B25B8 28 03 00 00 */ cmplwi r3, 0 /* 802B565C 002B25BC 41 82 00 20 */ beq lbl_802B567C /* 802B5660 002B25C0 81 83 00 00 */ lwz r12, 0(r3) /* 802B5664 002B25C4 38 BF 00 4C */ addi r5, r31, 0x4c /* 802B5668 002B25C8 38 80 00 00 */ li r4, 0 /* 802B566C 002B25CC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B5670 002B25D0 7D 89 03 A6 */ mtctr r12 /* 802B5674 002B25D4 4E 80 04 21 */ bctrl /* 802B5678 002B25D8 48 00 00 10 */ b lbl_802B5688 lbl_802B567C: /* 802B567C 002B25DC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha /* 802B5680 002B25E0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l /* 802B5684 002B25E4 90 1F 00 4C */ stw r0, 0x4c(r31) lbl_802B5688: /* 802B5688 002B25E8 80 7E 00 24 */ lwz r3, 0x24(r30) /* 802B568C 002B25EC 28 03 00 00 */ cmplwi r3, 0 /* 802B5690 002B25F0 41 82 00 44 */ beq lbl_802B56D4 /* 802B5694 002B25F4 81 83 00 00 */ lwz r12, 0(r3) /* 802B5698 002B25F8 38 BF 00 50 */ addi r5, r31, 0x50 /* 802B569C 002B25FC 38 80 00 00 */ li r4, 0 /* 802B56A0 002B2600 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B56A4 002B2604 7D 89 03 A6 */ mtctr r12 /* 802B56A8 002B2608 4E 80 04 21 */ bctrl /* 802B56AC 002B260C 80 7E 00 24 */ lwz r3, 0x24(r30) /* 802B56B0 002B2610 81 83 00 00 */ lwz r12, 0(r3) /* 802B56B4 002B2614 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B56B8 002B2618 7D 89 03 A6 */ mtctr r12 /* 802B56BC 002B261C 4E 80 04 21 */ bctrl /* 802B56C0 002B2620 88 9F 00 48 */ lbz r4, 0x48(r31) /* 802B56C4 002B2624 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B56C8 002B2628 7C 00 18 38 */ and r0, r0, r3 /* 802B56CC 002B262C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B56D0 002B2630 98 9F 00 48 */ stb r4, 0x48(r31) lbl_802B56D4: /* 802B56D4 002B2634 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802B56D8 002B2638 28 03 00 00 */ cmplwi r3, 0 /* 802B56DC 002B263C 41 82 00 78 */ beq lbl_802B5754 /* 802B56E0 002B2640 81 83 00 00 */ lwz r12, 0(r3) /* 802B56E4 002B2644 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B56E8 002B2648 7D 89 03 A6 */ mtctr r12 /* 802B56EC 002B264C 4E 80 04 21 */ bctrl /* 802B56F0 002B2650 88 9F 00 48 */ lbz r4, 0x48(r31) /* 802B56F4 002B2654 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B56F8 002B2658 7C 00 18 38 */ and r0, r0, r3 /* 802B56FC 002B265C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B5700 002B2660 98 9F 00 48 */ stb r4, 0x48(r31) /* 802B5704 002B2664 88 1F 00 48 */ lbz r0, 0x48(r31) /* 802B5708 002B2668 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802B570C 002B266C 41 82 00 48 */ beq lbl_802B5754 /* 802B5710 002B2670 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) /* 802B5714 002B2674 38 A1 00 08 */ addi r5, r1, 8 /* 802B5718 002B2678 38 80 00 00 */ li r4, 0 /* 802B571C 002B267C D0 01 00 08 */ stfs f0, 8(r1) /* 802B5720 002B2680 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802B5724 002B2684 81 83 00 00 */ lwz r12, 0(r3) /* 802B5728 002B2688 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B572C 002B268C 7D 89 03 A6 */ mtctr r12 /* 802B5730 002B2690 4E 80 04 21 */ bctrl /* 802B5734 002B2694 C0 21 00 08 */ lfs f1, 8(r1) /* 802B5738 002B2698 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) /* 802B573C 002B269C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802B5740 002B26A0 4C 40 13 82 */ cror 2, 0, 2 /* 802B5744 002B26A4 7C 60 00 26 */ mfcr r3 /* 802B5748 002B26A8 88 1F 00 48 */ lbz r0, 0x48(r31) /* 802B574C 002B26AC 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 /* 802B5750 002B26B0 98 1F 00 48 */ stb r0, 0x48(r31) lbl_802B5754: /* 802B5754 002B26B4 80 7E 00 28 */ lwz r3, 0x28(r30) /* 802B5758 002B26B8 28 03 00 00 */ cmplwi r3, 0 /* 802B575C 002B26BC 41 82 00 48 */ beq lbl_802B57A4 /* 802B5760 002B26C0 81 83 00 00 */ lwz r12, 0(r3) /* 802B5764 002B26C4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802B5768 002B26C8 7D 89 03 A6 */ mtctr r12 /* 802B576C 002B26CC 4E 80 04 21 */ bctrl /* 802B5770 002B26D0 88 9F 00 48 */ lbz r4, 0x48(r31) /* 802B5774 002B26D4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f /* 802B5778 002B26D8 7C 00 18 38 */ and r0, r0, r3 /* 802B577C 002B26DC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 802B5780 002B26E0 98 9F 00 48 */ stb r4, 0x48(r31) /* 802B5784 002B26E4 48 00 00 20 */ b lbl_802B57A4 lbl_802B5788: /* 802B5788 002B26E8 88 1F 00 48 */ lbz r0, 0x48(r31) /* 802B578C 002B26EC 38 60 00 00 */ li r3, 0 /* 802B5790 002B26F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802B5794 002B26F4 98 1F 00 48 */ stb r0, 0x48(r31) /* 802B5798 002B26F8 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802B579C 002B26FC 60 00 00 02 */ ori r0, r0, 2 /* 802B57A0 002B2700 90 1F 00 5C */ stw r0, 0x5c(r31) lbl_802B57A4: /* 802B57A4 002B2704 80 7F 00 08 */ lwz r3, 8(r31) /* 802B57A8 002B2708 88 03 00 44 */ lbz r0, 0x44(r3) /* 802B57AC 002B270C 28 00 00 00 */ cmplwi r0, 0 /* 802B57B0 002B2710 41 82 00 64 */ beq lbl_802B5814 /* 802B57B4 002B2714 80 63 00 48 */ lwz r3, 0x48(r3) /* 802B57B8 002B2718 28 03 00 00 */ cmplwi r3, 0 /* 802B57BC 002B271C 41 82 00 20 */ beq lbl_802B57DC /* 802B57C0 002B2720 81 83 00 00 */ lwz r12, 0(r3) /* 802B57C4 002B2724 38 BF 00 54 */ addi r5, r31, 0x54 /* 802B57C8 002B2728 38 80 00 00 */ li r4, 0 /* 802B57CC 002B272C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B57D0 002B2730 7D 89 03 A6 */ mtctr r12 /* 802B57D4 002B2734 4E 80 04 21 */ bctrl /* 802B57D8 002B2738 48 00 00 10 */ b lbl_802B57E8 lbl_802B57DC: /* 802B57DC 002B273C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha /* 802B57E0 002B2740 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l /* 802B57E4 002B2744 90 1F 00 54 */ stw r0, 0x54(r31) lbl_802B57E8: /* 802B57E8 002B2748 80 7F 00 08 */ lwz r3, 8(r31) /* 802B57EC 002B274C 80 63 00 50 */ lwz r3, 0x50(r3) /* 802B57F0 002B2750 28 03 00 00 */ cmplwi r3, 0 /* 802B57F4 002B2754 41 82 00 2C */ beq lbl_802B5820 /* 802B57F8 002B2758 81 83 00 00 */ lwz r12, 0(r3) /* 802B57FC 002B275C 38 BF 00 60 */ addi r5, r31, 0x60 /* 802B5800 002B2760 38 80 00 00 */ li r4, 0 /* 802B5804 002B2764 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802B5808 002B2768 7D 89 03 A6 */ mtctr r12 /* 802B580C 002B276C 4E 80 04 21 */ bctrl /* 802B5810 002B2770 48 00 00 10 */ b lbl_802B5820 lbl_802B5814: /* 802B5814 002B2774 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802B5818 002B2778 60 00 00 04 */ ori r0, r0, 4 /* 802B581C 002B277C 90 1F 00 5C */ stw r0, 0x5c(r31) lbl_802B5820: /* 802B5820 002B2780 38 61 00 10 */ addi r3, r1, 0x10 /* 802B5824 002B2784 38 80 FF FF */ li r4, -1 /* 802B5828 002B2788 48 05 CD DD */ bl __dt__13CGlobalRandomFv /* 802B582C 002B278C 80 01 00 34 */ lwz r0, 0x34(r1) /* 802B5830 002B2790 7F E3 FB 78 */ mr r3, r31 /* 802B5834 002B2794 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802B5838 002B2798 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802B583C 002B279C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802B5840 002B27A0 7C 08 03 A6 */ mtlr r0 /* 802B5844 002B27A4 38 21 00 30 */ addi r1, r1, 0x30 /* 802B5848 002B27A8 4E 80 00 20 */ blr .global SetGlobalSeed__6CDecalFUs SetGlobalSeed__6CDecalFUs: /* 802B584C 002B27AC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802B5850 002B27B0 7C 08 02 A6 */ mflr r0 /* 802B5854 002B27B4 90 01 00 14 */ stw r0, 0x14(r1) /* 802B5858 002B27B8 7C 60 1B 78 */ mr r0, r3 /* 802B585C 002B27BC 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 /* 802B5860 002B27C0 54 04 04 3E */ clrlwi r4, r0, 0x10 /* 802B5864 002B27C4 48 05 CD 81 */ bl SetSeed__9CRandom16FUi /* 802B5868 002B27C8 80 01 00 14 */ lwz r0, 0x14(r1) /* 802B586C 002B27CC 7C 08 03 A6 */ mtlr r0 /* 802B5870 002B27D0 38 21 00 10 */ addi r1, r1, 0x10 /* 802B5874 002B27D4 4E 80 00 20 */ blr .global __sinit_CDecal_cpp __sinit_CDecal_cpp: /* 802B5878 002B27D8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802B587C 002B27DC 7C 08 02 A6 */ mflr r0 /* 802B5880 002B27E0 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 /* 802B5884 002B27E4 38 80 00 63 */ li r4, 0x63 /* 802B5888 002B27E8 90 01 00 14 */ stw r0, 0x14(r1) /* 802B588C 002B27EC 48 05 CD 61 */ bl __ct__9CRandom16FUi /* 802B5890 002B27F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 802B5894 002B27F4 7C 08 03 A6 */ mtlr r0 /* 802B5898 002B27F8 38 21 00 10 */ addi r1, r1, 0x10 /* 802B589C 002B27FC 4E 80 00 20 */ blr .section .sdata2, "a" .global lbl_805ADF70 lbl_805ADF70: # ROM: 0x3FA810 .float 0.017453292 .global lbl_805ADF74 lbl_805ADF74: # ROM: 0x3FA814 .4byte 0 .global lbl_805ADF78 lbl_805ADF78: # ROM: 0x3FA818 .float 1.0 .global lbl_805ADF7C lbl_805ADF7C: # ROM: 0x3FA81C .4byte 0x3B808081 .global lbl_805ADF80 lbl_805ADF80: # ROM: 0x3FA820 .float 0.5 .global lbl_805ADF84 lbl_805ADF84: # ROM: 0x3FA824 .float 0.001 .section .rodata .global lbl_803D6550 lbl_803D6550: # ROM: 0x3D3550 .4byte 0x00000009 .4byte 0x00000001 .4byte 0x0000000B .4byte 0x00000001 .4byte 0x0000000D .4byte 0x00000001 .4byte 0x000000FF .4byte 0