.include "macros.inc"

.section .data
.balign 8

.global lbl_803EC8C8
lbl_803EC8C8:
	# ROM: 0x3E98C8
	.4byte 0
	.4byte 0
	.4byte __dt__10CGuiObjectFv
	.4byte Update__10CGuiObjectFf
	.4byte Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms
	.4byte 0

.section .text, "ax"

.global SetO2WTransform__10CGuiObjectFRC12CTransform4f
SetO2WTransform__10CGuiObjectFRC12CTransform4f:
/* 802C4738 002C1698  94 21 FF 30 */	stwu r1, -0xd0(r1)
/* 802C473C 002C169C  7C 08 02 A6 */	mflr r0
/* 802C4740 002C16A0  90 01 00 D4 */	stw r0, 0xd4(r1)
/* 802C4744 002C16A4  93 E1 00 CC */	stw r31, 0xcc(r1)
/* 802C4748 002C16A8  7C 9F 23 78 */	mr r31, r4
/* 802C474C 002C16AC  93 C1 00 C8 */	stw r30, 0xc8(r1)
/* 802C4750 002C16B0  7C 7E 1B 78 */	mr r30, r3
/* 802C4754 002C16B4  80 83 00 64 */	lwz r4, 0x64(r3)
/* 802C4758 002C16B8  38 61 00 38 */	addi r3, r1, 0x38
/* 802C475C 002C16BC  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4760 002C16C0  48 04 E5 3D */	bl GetQuickInverse__12CTransform4fCFv
/* 802C4764 002C16C4  38 61 00 98 */	addi r3, r1, 0x98
/* 802C4768 002C16C8  38 81 00 38 */	addi r4, r1, 0x38
/* 802C476C 002C16CC  48 04 E4 09 */	bl __ct__12CTransform4fFRC12CTransform4f
/* 802C4770 002C16D0  7F E5 FB 78 */	mr r5, r31
/* 802C4774 002C16D4  38 61 00 08 */	addi r3, r1, 8
/* 802C4778 002C16D8  38 81 00 98 */	addi r4, r1, 0x98
/* 802C477C 002C16DC  48 04 E1 D5 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4780 002C16E0  38 61 00 68 */	addi r3, r1, 0x68
/* 802C4784 002C16E4  38 81 00 08 */	addi r4, r1, 8
/* 802C4788 002C16E8  48 04 E3 ED */	bl __ct__12CTransform4fFRC12CTransform4f
/* 802C478C 002C16EC  7F C3 F3 78 */	mr r3, r30
/* 802C4790 002C16F0  38 81 00 68 */	addi r4, r1, 0x68
/* 802C4794 002C16F4  48 00 00 1D */	bl sub_802c47b0
/* 802C4798 002C16F8  80 01 00 D4 */	lwz r0, 0xd4(r1)
/* 802C479C 002C16FC  83 E1 00 CC */	lwz r31, 0xcc(r1)
/* 802C47A0 002C1700  83 C1 00 C8 */	lwz r30, 0xc8(r1)
/* 802C47A4 002C1704  7C 08 03 A6 */	mtlr r0
/* 802C47A8 002C1708  38 21 00 D0 */	addi r1, r1, 0xd0
/* 802C47AC 002C170C  4E 80 00 20 */	blr

.global sub_802c47b0
sub_802c47b0:
/* 802C47B0 002C1710  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 802C47B4 002C1714  7C 08 02 A6 */	mflr r0
/* 802C47B8 002C1718  90 01 00 14 */	stw r0, 0x14(r1)
/* 802C47BC 002C171C  93 E1 00 0C */	stw r31, 0xc(r1)
/* 802C47C0 002C1720  7C 7F 1B 78 */	mr r31, r3
/* 802C47C4 002C1724  38 7F 00 04 */	addi r3, r31, 4
/* 802C47C8 002C1728  48 04 E3 79 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C47CC 002C172C  7F E3 FB 78 */	mr r3, r31
/* 802C47D0 002C1730  48 00 00 19 */	bl RecalculateTransforms__10CGuiObjectFv
/* 802C47D4 002C1734  80 01 00 14 */	lwz r0, 0x14(r1)
/* 802C47D8 002C1738  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 802C47DC 002C173C  7C 08 03 A6 */	mtlr r0
/* 802C47E0 002C1740  38 21 00 10 */	addi r1, r1, 0x10
/* 802C47E4 002C1744  4E 80 00 20 */	blr

.global RecalculateTransforms__10CGuiObjectFv
RecalculateTransforms__10CGuiObjectFv:
/* 802C47E8 002C1748  94 21 FD 10 */	stwu r1, -0x2f0(r1)
/* 802C47EC 002C174C  7C 08 02 A6 */	mflr r0
/* 802C47F0 002C1750  90 01 02 F4 */	stw r0, 0x2f4(r1)
/* 802C47F4 002C1754  93 E1 02 EC */	stw r31, 0x2ec(r1)
/* 802C47F8 002C1758  7C 7F 1B 78 */	mr r31, r3
/* 802C47FC 002C175C  93 C1 02 E8 */	stw r30, 0x2e8(r1)
/* 802C4800 002C1760  93 A1 02 E4 */	stw r29, 0x2e4(r1)
/* 802C4804 002C1764  93 81 02 E0 */	stw r28, 0x2e0(r1)
/* 802C4808 002C1768  80 83 00 64 */	lwz r4, 0x64(r3)
/* 802C480C 002C176C  28 04 00 00 */	cmplwi r4, 0
/* 802C4810 002C1770  41 82 00 24 */	beq lbl_802C4834
/* 802C4814 002C1774  38 61 02 A8 */	addi r3, r1, 0x2a8
/* 802C4818 002C1778  38 84 00 34 */	addi r4, r4, 0x34
/* 802C481C 002C177C  38 BF 00 04 */	addi r5, r31, 4
/* 802C4820 002C1780  48 04 E1 31 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4824 002C1784  38 7F 00 34 */	addi r3, r31, 0x34
/* 802C4828 002C1788  38 81 02 A8 */	addi r4, r1, 0x2a8
/* 802C482C 002C178C  48 04 E3 15 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4830 002C1790  48 00 00 10 */	b lbl_802C4840
lbl_802C4834:
/* 802C4834 002C1794  38 7F 00 34 */	addi r3, r31, 0x34
/* 802C4838 002C1798  38 9F 00 04 */	addi r4, r31, 4
/* 802C483C 002C179C  48 04 E3 05 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4840:
/* 802C4840 002C17A0  83 DF 00 6C */	lwz r30, 0x6c(r31)
/* 802C4844 002C17A4  28 1E 00 00 */	cmplwi r30, 0
/* 802C4848 002C17A8  41 82 02 54 */	beq lbl_802C4A9C
/* 802C484C 002C17AC  80 9E 00 64 */	lwz r4, 0x64(r30)
/* 802C4850 002C17B0  28 04 00 00 */	cmplwi r4, 0
/* 802C4854 002C17B4  41 82 00 24 */	beq lbl_802C4878
/* 802C4858 002C17B8  38 61 02 78 */	addi r3, r1, 0x278
/* 802C485C 002C17BC  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4860 002C17C0  38 BE 00 04 */	addi r5, r30, 4
/* 802C4864 002C17C4  48 04 E0 ED */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4868 002C17C8  38 7E 00 34 */	addi r3, r30, 0x34
/* 802C486C 002C17CC  38 81 02 78 */	addi r4, r1, 0x278
/* 802C4870 002C17D0  48 04 E2 D1 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4874 002C17D4  48 00 00 10 */	b lbl_802C4884
lbl_802C4878:
/* 802C4878 002C17D8  38 7E 00 34 */	addi r3, r30, 0x34
/* 802C487C 002C17DC  38 9E 00 04 */	addi r4, r30, 4
/* 802C4880 002C17E0  48 04 E2 C1 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4884:
/* 802C4884 002C17E4  83 BE 00 6C */	lwz r29, 0x6c(r30)
/* 802C4888 002C17E8  28 1D 00 00 */	cmplwi r29, 0
/* 802C488C 002C17EC  41 82 01 04 */	beq lbl_802C4990
/* 802C4890 002C17F0  80 9D 00 64 */	lwz r4, 0x64(r29)
/* 802C4894 002C17F4  28 04 00 00 */	cmplwi r4, 0
/* 802C4898 002C17F8  41 82 00 24 */	beq lbl_802C48BC
/* 802C489C 002C17FC  38 61 02 18 */	addi r3, r1, 0x218
/* 802C48A0 002C1800  38 84 00 34 */	addi r4, r4, 0x34
/* 802C48A4 002C1804  38 BD 00 04 */	addi r5, r29, 4
/* 802C48A8 002C1808  48 04 E0 A9 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C48AC 002C180C  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C48B0 002C1810  38 81 02 18 */	addi r4, r1, 0x218
/* 802C48B4 002C1814  48 04 E2 8D */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C48B8 002C1818  48 00 00 10 */	b lbl_802C48C8
lbl_802C48BC:
/* 802C48BC 002C181C  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C48C0 002C1820  38 9D 00 04 */	addi r4, r29, 4
/* 802C48C4 002C1824  48 04 E2 7D */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C48C8:
/* 802C48C8 002C1828  83 9D 00 6C */	lwz r28, 0x6c(r29)
/* 802C48CC 002C182C  28 1C 00 00 */	cmplwi r28, 0
/* 802C48D0 002C1830  41 82 00 5C */	beq lbl_802C492C
/* 802C48D4 002C1834  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C48D8 002C1838  28 04 00 00 */	cmplwi r4, 0
/* 802C48DC 002C183C  41 82 00 24 */	beq lbl_802C4900
/* 802C48E0 002C1840  38 61 01 58 */	addi r3, r1, 0x158
/* 802C48E4 002C1844  38 84 00 34 */	addi r4, r4, 0x34
/* 802C48E8 002C1848  38 BC 00 04 */	addi r5, r28, 4
/* 802C48EC 002C184C  48 04 E0 65 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C48F0 002C1850  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C48F4 002C1854  38 81 01 58 */	addi r4, r1, 0x158
/* 802C48F8 002C1858  48 04 E2 49 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C48FC 002C185C  48 00 00 10 */	b lbl_802C490C
lbl_802C4900:
/* 802C4900 002C1860  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4904 002C1864  38 9C 00 04 */	addi r4, r28, 4
/* 802C4908 002C1868  48 04 E2 39 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C490C:
/* 802C490C 002C186C  80 7C 00 6C */	lwz r3, 0x6c(r28)
/* 802C4910 002C1870  28 03 00 00 */	cmplwi r3, 0
/* 802C4914 002C1874  41 82 00 08 */	beq lbl_802C491C
/* 802C4918 002C1878  4B FF FE D1 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C491C:
/* 802C491C 002C187C  80 7C 00 68 */	lwz r3, 0x68(r28)
/* 802C4920 002C1880  28 03 00 00 */	cmplwi r3, 0
/* 802C4924 002C1884  41 82 00 08 */	beq lbl_802C492C
/* 802C4928 002C1888  4B FF FE C1 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C492C:
/* 802C492C 002C188C  83 9D 00 68 */	lwz r28, 0x68(r29)
/* 802C4930 002C1890  28 1C 00 00 */	cmplwi r28, 0
/* 802C4934 002C1894  41 82 00 5C */	beq lbl_802C4990
/* 802C4938 002C1898  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C493C 002C189C  28 04 00 00 */	cmplwi r4, 0
/* 802C4940 002C18A0  41 82 00 24 */	beq lbl_802C4964
/* 802C4944 002C18A4  38 61 01 28 */	addi r3, r1, 0x128
/* 802C4948 002C18A8  38 84 00 34 */	addi r4, r4, 0x34
/* 802C494C 002C18AC  38 BC 00 04 */	addi r5, r28, 4
/* 802C4950 002C18B0  48 04 E0 01 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4954 002C18B4  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4958 002C18B8  38 81 01 28 */	addi r4, r1, 0x128
/* 802C495C 002C18BC  48 04 E1 E5 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4960 002C18C0  48 00 00 10 */	b lbl_802C4970
lbl_802C4964:
/* 802C4964 002C18C4  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4968 002C18C8  38 9C 00 04 */	addi r4, r28, 4
/* 802C496C 002C18CC  48 04 E1 D5 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4970:
/* 802C4970 002C18D0  80 7C 00 6C */	lwz r3, 0x6c(r28)
/* 802C4974 002C18D4  28 03 00 00 */	cmplwi r3, 0
/* 802C4978 002C18D8  41 82 00 08 */	beq lbl_802C4980
/* 802C497C 002C18DC  4B FF FE 6D */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4980:
/* 802C4980 002C18E0  80 7C 00 68 */	lwz r3, 0x68(r28)
/* 802C4984 002C18E4  28 03 00 00 */	cmplwi r3, 0
/* 802C4988 002C18E8  41 82 00 08 */	beq lbl_802C4990
/* 802C498C 002C18EC  4B FF FE 5D */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4990:
/* 802C4990 002C18F0  83 9E 00 68 */	lwz r28, 0x68(r30)
/* 802C4994 002C18F4  28 1C 00 00 */	cmplwi r28, 0
/* 802C4998 002C18F8  41 82 01 04 */	beq lbl_802C4A9C
/* 802C499C 002C18FC  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C49A0 002C1900  28 04 00 00 */	cmplwi r4, 0
/* 802C49A4 002C1904  41 82 00 24 */	beq lbl_802C49C8
/* 802C49A8 002C1908  38 61 01 E8 */	addi r3, r1, 0x1e8
/* 802C49AC 002C190C  38 84 00 34 */	addi r4, r4, 0x34
/* 802C49B0 002C1910  38 BC 00 04 */	addi r5, r28, 4
/* 802C49B4 002C1914  48 04 DF 9D */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C49B8 002C1918  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C49BC 002C191C  38 81 01 E8 */	addi r4, r1, 0x1e8
/* 802C49C0 002C1920  48 04 E1 81 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C49C4 002C1924  48 00 00 10 */	b lbl_802C49D4
lbl_802C49C8:
/* 802C49C8 002C1928  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C49CC 002C192C  38 9C 00 04 */	addi r4, r28, 4
/* 802C49D0 002C1930  48 04 E1 71 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C49D4:
/* 802C49D4 002C1934  83 BC 00 6C */	lwz r29, 0x6c(r28)
/* 802C49D8 002C1938  28 1D 00 00 */	cmplwi r29, 0
/* 802C49DC 002C193C  41 82 00 5C */	beq lbl_802C4A38
/* 802C49E0 002C1940  80 9D 00 64 */	lwz r4, 0x64(r29)
/* 802C49E4 002C1944  28 04 00 00 */	cmplwi r4, 0
/* 802C49E8 002C1948  41 82 00 24 */	beq lbl_802C4A0C
/* 802C49EC 002C194C  38 61 00 F8 */	addi r3, r1, 0xf8
/* 802C49F0 002C1950  38 84 00 34 */	addi r4, r4, 0x34
/* 802C49F4 002C1954  38 BD 00 04 */	addi r5, r29, 4
/* 802C49F8 002C1958  48 04 DF 59 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C49FC 002C195C  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4A00 002C1960  38 81 00 F8 */	addi r4, r1, 0xf8
/* 802C4A04 002C1964  48 04 E1 3D */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4A08 002C1968  48 00 00 10 */	b lbl_802C4A18
lbl_802C4A0C:
/* 802C4A0C 002C196C  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4A10 002C1970  38 9D 00 04 */	addi r4, r29, 4
/* 802C4A14 002C1974  48 04 E1 2D */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4A18:
/* 802C4A18 002C1978  80 7D 00 6C */	lwz r3, 0x6c(r29)
/* 802C4A1C 002C197C  28 03 00 00 */	cmplwi r3, 0
/* 802C4A20 002C1980  41 82 00 08 */	beq lbl_802C4A28
/* 802C4A24 002C1984  4B FF FD C5 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4A28:
/* 802C4A28 002C1988  80 7D 00 68 */	lwz r3, 0x68(r29)
/* 802C4A2C 002C198C  28 03 00 00 */	cmplwi r3, 0
/* 802C4A30 002C1990  41 82 00 08 */	beq lbl_802C4A38
/* 802C4A34 002C1994  4B FF FD B5 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4A38:
/* 802C4A38 002C1998  83 9C 00 68 */	lwz r28, 0x68(r28)
/* 802C4A3C 002C199C  28 1C 00 00 */	cmplwi r28, 0
/* 802C4A40 002C19A0  41 82 00 5C */	beq lbl_802C4A9C
/* 802C4A44 002C19A4  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C4A48 002C19A8  28 04 00 00 */	cmplwi r4, 0
/* 802C4A4C 002C19AC  41 82 00 24 */	beq lbl_802C4A70
/* 802C4A50 002C19B0  38 61 00 C8 */	addi r3, r1, 0xc8
/* 802C4A54 002C19B4  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4A58 002C19B8  38 BC 00 04 */	addi r5, r28, 4
/* 802C4A5C 002C19BC  48 04 DE F5 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4A60 002C19C0  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4A64 002C19C4  38 81 00 C8 */	addi r4, r1, 0xc8
/* 802C4A68 002C19C8  48 04 E0 D9 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4A6C 002C19CC  48 00 00 10 */	b lbl_802C4A7C
lbl_802C4A70:
/* 802C4A70 002C19D0  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4A74 002C19D4  38 9C 00 04 */	addi r4, r28, 4
/* 802C4A78 002C19D8  48 04 E0 C9 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4A7C:
/* 802C4A7C 002C19DC  80 7C 00 6C */	lwz r3, 0x6c(r28)
/* 802C4A80 002C19E0  28 03 00 00 */	cmplwi r3, 0
/* 802C4A84 002C19E4  41 82 00 08 */	beq lbl_802C4A8C
/* 802C4A88 002C19E8  4B FF FD 61 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4A8C:
/* 802C4A8C 002C19EC  80 7C 00 68 */	lwz r3, 0x68(r28)
/* 802C4A90 002C19F0  28 03 00 00 */	cmplwi r3, 0
/* 802C4A94 002C19F4  41 82 00 08 */	beq lbl_802C4A9C
/* 802C4A98 002C19F8  4B FF FD 51 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4A9C:
/* 802C4A9C 002C19FC  83 9F 00 68 */	lwz r28, 0x68(r31)
/* 802C4AA0 002C1A00  28 1C 00 00 */	cmplwi r28, 0
/* 802C4AA4 002C1A04  41 82 02 54 */	beq lbl_802C4CF8
/* 802C4AA8 002C1A08  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C4AAC 002C1A0C  28 04 00 00 */	cmplwi r4, 0
/* 802C4AB0 002C1A10  41 82 00 24 */	beq lbl_802C4AD4
/* 802C4AB4 002C1A14  38 61 02 48 */	addi r3, r1, 0x248
/* 802C4AB8 002C1A18  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4ABC 002C1A1C  38 BC 00 04 */	addi r5, r28, 4
/* 802C4AC0 002C1A20  48 04 DE 91 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4AC4 002C1A24  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4AC8 002C1A28  38 81 02 48 */	addi r4, r1, 0x248
/* 802C4ACC 002C1A2C  48 04 E0 75 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4AD0 002C1A30  48 00 00 10 */	b lbl_802C4AE0
lbl_802C4AD4:
/* 802C4AD4 002C1A34  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4AD8 002C1A38  38 9C 00 04 */	addi r4, r28, 4
/* 802C4ADC 002C1A3C  48 04 E0 65 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4AE0:
/* 802C4AE0 002C1A40  83 BC 00 6C */	lwz r29, 0x6c(r28)
/* 802C4AE4 002C1A44  28 1D 00 00 */	cmplwi r29, 0
/* 802C4AE8 002C1A48  41 82 01 04 */	beq lbl_802C4BEC
/* 802C4AEC 002C1A4C  80 9D 00 64 */	lwz r4, 0x64(r29)
/* 802C4AF0 002C1A50  28 04 00 00 */	cmplwi r4, 0
/* 802C4AF4 002C1A54  41 82 00 24 */	beq lbl_802C4B18
/* 802C4AF8 002C1A58  38 61 01 B8 */	addi r3, r1, 0x1b8
/* 802C4AFC 002C1A5C  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4B00 002C1A60  38 BD 00 04 */	addi r5, r29, 4
/* 802C4B04 002C1A64  48 04 DE 4D */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4B08 002C1A68  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4B0C 002C1A6C  38 81 01 B8 */	addi r4, r1, 0x1b8
/* 802C4B10 002C1A70  48 04 E0 31 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4B14 002C1A74  48 00 00 10 */	b lbl_802C4B24
lbl_802C4B18:
/* 802C4B18 002C1A78  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4B1C 002C1A7C  38 9D 00 04 */	addi r4, r29, 4
/* 802C4B20 002C1A80  48 04 E0 21 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4B24:
/* 802C4B24 002C1A84  83 DD 00 6C */	lwz r30, 0x6c(r29)
/* 802C4B28 002C1A88  28 1E 00 00 */	cmplwi r30, 0
/* 802C4B2C 002C1A8C  41 82 00 5C */	beq lbl_802C4B88
/* 802C4B30 002C1A90  80 9E 00 64 */	lwz r4, 0x64(r30)
/* 802C4B34 002C1A94  28 04 00 00 */	cmplwi r4, 0
/* 802C4B38 002C1A98  41 82 00 24 */	beq lbl_802C4B5C
/* 802C4B3C 002C1A9C  38 61 00 98 */	addi r3, r1, 0x98
/* 802C4B40 002C1AA0  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4B44 002C1AA4  38 BE 00 04 */	addi r5, r30, 4
/* 802C4B48 002C1AA8  48 04 DE 09 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4B4C 002C1AAC  38 7E 00 34 */	addi r3, r30, 0x34
/* 802C4B50 002C1AB0  38 81 00 98 */	addi r4, r1, 0x98
/* 802C4B54 002C1AB4  48 04 DF ED */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4B58 002C1AB8  48 00 00 10 */	b lbl_802C4B68
lbl_802C4B5C:
/* 802C4B5C 002C1ABC  38 7E 00 34 */	addi r3, r30, 0x34
/* 802C4B60 002C1AC0  38 9E 00 04 */	addi r4, r30, 4
/* 802C4B64 002C1AC4  48 04 DF DD */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4B68:
/* 802C4B68 002C1AC8  80 7E 00 6C */	lwz r3, 0x6c(r30)
/* 802C4B6C 002C1ACC  28 03 00 00 */	cmplwi r3, 0
/* 802C4B70 002C1AD0  41 82 00 08 */	beq lbl_802C4B78
/* 802C4B74 002C1AD4  4B FF FC 75 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4B78:
/* 802C4B78 002C1AD8  80 7E 00 68 */	lwz r3, 0x68(r30)
/* 802C4B7C 002C1ADC  28 03 00 00 */	cmplwi r3, 0
/* 802C4B80 002C1AE0  41 82 00 08 */	beq lbl_802C4B88
/* 802C4B84 002C1AE4  4B FF FC 65 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4B88:
/* 802C4B88 002C1AE8  83 BD 00 68 */	lwz r29, 0x68(r29)
/* 802C4B8C 002C1AEC  28 1D 00 00 */	cmplwi r29, 0
/* 802C4B90 002C1AF0  41 82 00 5C */	beq lbl_802C4BEC
/* 802C4B94 002C1AF4  80 9D 00 64 */	lwz r4, 0x64(r29)
/* 802C4B98 002C1AF8  28 04 00 00 */	cmplwi r4, 0
/* 802C4B9C 002C1AFC  41 82 00 24 */	beq lbl_802C4BC0
/* 802C4BA0 002C1B00  38 61 00 68 */	addi r3, r1, 0x68
/* 802C4BA4 002C1B04  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4BA8 002C1B08  38 BD 00 04 */	addi r5, r29, 4
/* 802C4BAC 002C1B0C  48 04 DD A5 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4BB0 002C1B10  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4BB4 002C1B14  38 81 00 68 */	addi r4, r1, 0x68
/* 802C4BB8 002C1B18  48 04 DF 89 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4BBC 002C1B1C  48 00 00 10 */	b lbl_802C4BCC
lbl_802C4BC0:
/* 802C4BC0 002C1B20  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4BC4 002C1B24  38 9D 00 04 */	addi r4, r29, 4
/* 802C4BC8 002C1B28  48 04 DF 79 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4BCC:
/* 802C4BCC 002C1B2C  80 7D 00 6C */	lwz r3, 0x6c(r29)
/* 802C4BD0 002C1B30  28 03 00 00 */	cmplwi r3, 0
/* 802C4BD4 002C1B34  41 82 00 08 */	beq lbl_802C4BDC
/* 802C4BD8 002C1B38  4B FF FC 11 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4BDC:
/* 802C4BDC 002C1B3C  80 7D 00 68 */	lwz r3, 0x68(r29)
/* 802C4BE0 002C1B40  28 03 00 00 */	cmplwi r3, 0
/* 802C4BE4 002C1B44  41 82 00 08 */	beq lbl_802C4BEC
/* 802C4BE8 002C1B48  4B FF FC 01 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4BEC:
/* 802C4BEC 002C1B4C  83 9C 00 68 */	lwz r28, 0x68(r28)
/* 802C4BF0 002C1B50  28 1C 00 00 */	cmplwi r28, 0
/* 802C4BF4 002C1B54  41 82 01 04 */	beq lbl_802C4CF8
/* 802C4BF8 002C1B58  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C4BFC 002C1B5C  28 04 00 00 */	cmplwi r4, 0
/* 802C4C00 002C1B60  41 82 00 24 */	beq lbl_802C4C24
/* 802C4C04 002C1B64  38 61 01 88 */	addi r3, r1, 0x188
/* 802C4C08 002C1B68  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4C0C 002C1B6C  38 BC 00 04 */	addi r5, r28, 4
/* 802C4C10 002C1B70  48 04 DD 41 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4C14 002C1B74  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4C18 002C1B78  38 81 01 88 */	addi r4, r1, 0x188
/* 802C4C1C 002C1B7C  48 04 DF 25 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4C20 002C1B80  48 00 00 10 */	b lbl_802C4C30
lbl_802C4C24:
/* 802C4C24 002C1B84  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4C28 002C1B88  38 9C 00 04 */	addi r4, r28, 4
/* 802C4C2C 002C1B8C  48 04 DF 15 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4C30:
/* 802C4C30 002C1B90  83 BC 00 6C */	lwz r29, 0x6c(r28)
/* 802C4C34 002C1B94  28 1D 00 00 */	cmplwi r29, 0
/* 802C4C38 002C1B98  41 82 00 5C */	beq lbl_802C4C94
/* 802C4C3C 002C1B9C  80 9D 00 64 */	lwz r4, 0x64(r29)
/* 802C4C40 002C1BA0  28 04 00 00 */	cmplwi r4, 0
/* 802C4C44 002C1BA4  41 82 00 24 */	beq lbl_802C4C68
/* 802C4C48 002C1BA8  38 61 00 38 */	addi r3, r1, 0x38
/* 802C4C4C 002C1BAC  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4C50 002C1BB0  38 BD 00 04 */	addi r5, r29, 4
/* 802C4C54 002C1BB4  48 04 DC FD */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4C58 002C1BB8  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4C5C 002C1BBC  38 81 00 38 */	addi r4, r1, 0x38
/* 802C4C60 002C1BC0  48 04 DE E1 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4C64 002C1BC4  48 00 00 10 */	b lbl_802C4C74
lbl_802C4C68:
/* 802C4C68 002C1BC8  38 7D 00 34 */	addi r3, r29, 0x34
/* 802C4C6C 002C1BCC  38 9D 00 04 */	addi r4, r29, 4
/* 802C4C70 002C1BD0  48 04 DE D1 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4C74:
/* 802C4C74 002C1BD4  80 7D 00 6C */	lwz r3, 0x6c(r29)
/* 802C4C78 002C1BD8  28 03 00 00 */	cmplwi r3, 0
/* 802C4C7C 002C1BDC  41 82 00 08 */	beq lbl_802C4C84
/* 802C4C80 002C1BE0  4B FF FB 69 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4C84:
/* 802C4C84 002C1BE4  80 7D 00 68 */	lwz r3, 0x68(r29)
/* 802C4C88 002C1BE8  28 03 00 00 */	cmplwi r3, 0
/* 802C4C8C 002C1BEC  41 82 00 08 */	beq lbl_802C4C94
/* 802C4C90 002C1BF0  4B FF FB 59 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4C94:
/* 802C4C94 002C1BF4  83 9C 00 68 */	lwz r28, 0x68(r28)
/* 802C4C98 002C1BF8  28 1C 00 00 */	cmplwi r28, 0
/* 802C4C9C 002C1BFC  41 82 00 5C */	beq lbl_802C4CF8
/* 802C4CA0 002C1C00  80 9C 00 64 */	lwz r4, 0x64(r28)
/* 802C4CA4 002C1C04  28 04 00 00 */	cmplwi r4, 0
/* 802C4CA8 002C1C08  41 82 00 24 */	beq lbl_802C4CCC
/* 802C4CAC 002C1C0C  38 61 00 08 */	addi r3, r1, 8
/* 802C4CB0 002C1C10  38 84 00 34 */	addi r4, r4, 0x34
/* 802C4CB4 002C1C14  38 BC 00 04 */	addi r5, r28, 4
/* 802C4CB8 002C1C18  48 04 DC 99 */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4CBC 002C1C1C  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4CC0 002C1C20  38 81 00 08 */	addi r4, r1, 8
/* 802C4CC4 002C1C24  48 04 DE 7D */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4CC8 002C1C28  48 00 00 10 */	b lbl_802C4CD8
lbl_802C4CCC:
/* 802C4CCC 002C1C2C  38 7C 00 34 */	addi r3, r28, 0x34
/* 802C4CD0 002C1C30  38 9C 00 04 */	addi r4, r28, 4
/* 802C4CD4 002C1C34  48 04 DE 6D */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4CD8:
/* 802C4CD8 002C1C38  80 7C 00 6C */	lwz r3, 0x6c(r28)
/* 802C4CDC 002C1C3C  28 03 00 00 */	cmplwi r3, 0
/* 802C4CE0 002C1C40  41 82 00 08 */	beq lbl_802C4CE8
/* 802C4CE4 002C1C44  4B FF FB 05 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4CE8:
/* 802C4CE8 002C1C48  80 7C 00 68 */	lwz r3, 0x68(r28)
/* 802C4CEC 002C1C4C  28 03 00 00 */	cmplwi r3, 0
/* 802C4CF0 002C1C50  41 82 00 08 */	beq lbl_802C4CF8
/* 802C4CF4 002C1C54  4B FF FA F5 */	bl RecalculateTransforms__10CGuiObjectFv
lbl_802C4CF8:
/* 802C4CF8 002C1C58  80 01 02 F4 */	lwz r0, 0x2f4(r1)
/* 802C4CFC 002C1C5C  83 E1 02 EC */	lwz r31, 0x2ec(r1)
/* 802C4D00 002C1C60  83 C1 02 E8 */	lwz r30, 0x2e8(r1)
/* 802C4D04 002C1C64  83 A1 02 E4 */	lwz r29, 0x2e4(r1)
/* 802C4D08 002C1C68  83 81 02 E0 */	lwz r28, 0x2e0(r1)
/* 802C4D0C 002C1C6C  7C 08 03 A6 */	mtlr r0
/* 802C4D10 002C1C70  38 21 02 F0 */	addi r1, r1, 0x2f0
/* 802C4D14 002C1C74  4E 80 00 20 */	blr

.global GetParent__10CGuiObjectFv
GetParent__10CGuiObjectFv:
/* 802C4D18 002C1C78  80 63 00 64 */	lwz r3, 0x64(r3)
/* 802C4D1C 002C1C7C  4E 80 00 20 */	blr

.global GetNextSibling__10CGuiObjectFv
GetNextSibling__10CGuiObjectFv:
/* 802C4D20 002C1C80  80 63 00 6C */	lwz r3, 0x6c(r3)
/* 802C4D24 002C1C84  4E 80 00 20 */	blr

.global GetNextSibling__18CGuiCompoundWidgetFv
GetNextSibling__18CGuiCompoundWidgetFv:
/* 802C4D28 002C1C88  80 63 00 6C */	lwz r3, 0x6c(r3)
/* 802C4D2C 002C1C8C  4E 80 00 20 */	blr

.global GetChildObject__10CGuiObjectFv
GetChildObject__10CGuiObjectFv:
/* 802C4D30 002C1C90  80 63 00 68 */	lwz r3, 0x68(r3)
/* 802C4D34 002C1C94  4E 80 00 20 */	blr

.global GetChildObject__18CGuiCompoundWidgetFv
GetChildObject__18CGuiCompoundWidgetFv:
/* 802C4D38 002C1C98  80 63 00 68 */	lwz r3, 0x68(r3)
/* 802C4D3C 002C1C9C  4E 80 00 20 */	blr

.global AddChildObject__10CGuiObjectFP10CGuiObjectbb
AddChildObject__10CGuiObjectFP10CGuiObjectbb:
/* 802C4D40 002C1CA0  94 21 FE 40 */	stwu r1, -0x1c0(r1)
/* 802C4D44 002C1CA4  7C 08 02 A6 */	mflr r0
/* 802C4D48 002C1CA8  90 01 01 C4 */	stw r0, 0x1c4(r1)
/* 802C4D4C 002C1CAC  DB E1 01 B0 */	stfd f31, 0x1b0(r1)
/* 802C4D50 002C1CB0  F3 E1 01 B8 */	psq_st f31, 440(r1), 0, qr0
/* 802C4D54 002C1CB4  DB C1 01 A0 */	stfd f30, 0x1a0(r1)
/* 802C4D58 002C1CB8  F3 C1 01 A8 */	psq_st f30, 424(r1), 0, qr0
/* 802C4D5C 002C1CBC  93 E1 01 9C */	stw r31, 0x19c(r1)
/* 802C4D60 002C1CC0  93 C1 01 98 */	stw r30, 0x198(r1)
/* 802C4D64 002C1CC4  93 A1 01 94 */	stw r29, 0x194(r1)
/* 802C4D68 002C1CC8  7C 7D 1B 78 */	mr r29, r3
/* 802C4D6C 002C1CCC  7C 9E 23 78 */	mr r30, r4
/* 802C4D70 002C1CD0  93 A4 00 64 */	stw r29, 0x64(r4)
/* 802C4D74 002C1CD4  80 63 00 68 */	lwz r3, 0x68(r3)
/* 802C4D78 002C1CD8  28 03 00 00 */	cmplwi r3, 0
/* 802C4D7C 002C1CDC  40 82 00 0C */	bne lbl_802C4D88
/* 802C4D80 002C1CE0  93 DD 00 68 */	stw r30, 0x68(r29)
/* 802C4D84 002C1CE4  48 00 00 30 */	b lbl_802C4DB4
lbl_802C4D88:
/* 802C4D88 002C1CE8  54 C0 06 3F */	clrlwi. r0, r6, 0x18
/* 802C4D8C 002C1CEC  41 82 00 20 */	beq lbl_802C4DAC
lbl_802C4D90:
/* 802C4D90 002C1CF0  80 03 00 6C */	lwz r0, 0x6c(r3)
/* 802C4D94 002C1CF4  28 00 00 00 */	cmplwi r0, 0
/* 802C4D98 002C1CF8  40 82 00 0C */	bne lbl_802C4DA4
/* 802C4D9C 002C1CFC  93 C3 00 6C */	stw r30, 0x6c(r3)
/* 802C4DA0 002C1D00  48 00 00 14 */	b lbl_802C4DB4
lbl_802C4DA4:
/* 802C4DA4 002C1D04  7C 03 03 78 */	mr r3, r0
/* 802C4DA8 002C1D08  4B FF FF E8 */	b lbl_802C4D90
lbl_802C4DAC:
/* 802C4DAC 002C1D0C  90 7E 00 6C */	stw r3, 0x6c(r30)
/* 802C4DB0 002C1D10  93 DD 00 68 */	stw r30, 0x68(r29)
lbl_802C4DB4:
/* 802C4DB4 002C1D14  54 A0 06 3F */	clrlwi. r0, r5, 0x18
/* 802C4DB8 002C1D18  41 82 02 3C */	beq lbl_802C4FF4
/* 802C4DBC 002C1D1C  3C 60 80 5A */	lis r3, sIdentity__12CTransform4f@ha
/* 802C4DC0 002C1D20  83 FE 00 64 */	lwz r31, 0x64(r30)
/* 802C4DC4 002C1D24  38 83 66 70 */	addi r4, r3, sIdentity__12CTransform4f@l
/* 802C4DC8 002C1D28  38 61 01 58 */	addi r3, r1, 0x158
/* 802C4DCC 002C1D2C  48 04 DD A9 */	bl __ct__12CTransform4fFRC12CTransform4f
/* 802C4DD0 002C1D30  C0 62 C3 98 */	lfs f3, lbl_805AE0B8@sda21(r2)
/* 802C4DD4 002C1D34  38 61 00 A4 */	addi r3, r1, 0xa4
/* 802C4DD8 002C1D38  C0 5F 00 50 */	lfs f2, 0x50(r31)
/* 802C4DDC 002C1D3C  C0 3F 00 60 */	lfs f1, 0x60(r31)
/* 802C4DE0 002C1D40  C0 1F 00 40 */	lfs f0, 0x40(r31)
/* 802C4DE4 002C1D44  EC 43 00 B2 */	fmuls f2, f3, f2
/* 802C4DE8 002C1D48  EC 23 00 72 */	fmuls f1, f3, f1
/* 802C4DEC 002C1D4C  EC 03 00 32 */	fmuls f0, f3, f0
/* 802C4DF0 002C1D50  D0 41 00 CC */	stfs f2, 0xcc(r1)
/* 802C4DF4 002C1D54  D0 01 00 C8 */	stfs f0, 0xc8(r1)
/* 802C4DF8 002C1D58  D0 21 00 D0 */	stfs f1, 0xd0(r1)
/* 802C4DFC 002C1D5C  C0 5F 00 5C */	lfs f2, 0x5c(r31)
/* 802C4E00 002C1D60  C0 3F 00 4C */	lfs f1, 0x4c(r31)
/* 802C4E04 002C1D64  C0 1F 00 3C */	lfs f0, 0x3c(r31)
/* 802C4E08 002C1D68  D0 01 00 A4 */	stfs f0, 0xa4(r1)
/* 802C4E0C 002C1D6C  D0 21 00 A8 */	stfs f1, 0xa8(r1)
/* 802C4E10 002C1D70  D0 41 00 AC */	stfs f2, 0xac(r1)
/* 802C4E14 002C1D74  48 04 FA A5 */	bl Magnitude__9CVector3fCFv
/* 802C4E18 002C1D78  C0 5F 00 58 */	lfs f2, 0x58(r31)
/* 802C4E1C 002C1D7C  FF C0 08 90 */	fmr f30, f1
/* 802C4E20 002C1D80  C0 3F 00 48 */	lfs f1, 0x48(r31)
/* 802C4E24 002C1D84  38 61 00 B0 */	addi r3, r1, 0xb0
/* 802C4E28 002C1D88  C0 1F 00 38 */	lfs f0, 0x38(r31)
/* 802C4E2C 002C1D8C  D0 01 00 B0 */	stfs f0, 0xb0(r1)
/* 802C4E30 002C1D90  D0 21 00 B4 */	stfs f1, 0xb4(r1)
/* 802C4E34 002C1D94  D0 41 00 B8 */	stfs f2, 0xb8(r1)
/* 802C4E38 002C1D98  48 04 FA 81 */	bl Magnitude__9CVector3fCFv
/* 802C4E3C 002C1D9C  C0 5F 00 54 */	lfs f2, 0x54(r31)
/* 802C4E40 002C1DA0  FF E0 08 90 */	fmr f31, f1
/* 802C4E44 002C1DA4  C0 3F 00 44 */	lfs f1, 0x44(r31)
/* 802C4E48 002C1DA8  38 61 00 BC */	addi r3, r1, 0xbc
/* 802C4E4C 002C1DAC  C0 1F 00 34 */	lfs f0, 0x34(r31)
/* 802C4E50 002C1DB0  D0 01 00 BC */	stfs f0, 0xbc(r1)
/* 802C4E54 002C1DB4  D0 21 00 C0 */	stfs f1, 0xc0(r1)
/* 802C4E58 002C1DB8  D0 41 00 C4 */	stfs f2, 0xc4(r1)
/* 802C4E5C 002C1DBC  48 04 FA 5D */	bl Magnitude__9CVector3fCFv
/* 802C4E60 002C1DC0  C0 62 C3 9C */	lfs f3, lbl_805AE0BC@sda21(r2)
/* 802C4E64 002C1DC4  38 61 01 34 */	addi r3, r1, 0x134
/* 802C4E68 002C1DC8  C0 DF 00 5C */	lfs f6, 0x5c(r31)
/* 802C4E6C 002C1DCC  38 81 00 98 */	addi r4, r1, 0x98
/* 802C4E70 002C1DD0  EC A3 F0 24 */	fdivs f5, f3, f30
/* 802C4E74 002C1DD4  C0 5F 00 4C */	lfs f2, 0x4c(r31)
/* 802C4E78 002C1DD8  C0 1F 00 3C */	lfs f0, 0x3c(r31)
/* 802C4E7C 002C1DDC  38 A1 00 80 */	addi r5, r1, 0x80
/* 802C4E80 002C1DE0  D0 41 00 60 */	stfs f2, 0x60(r1)
/* 802C4E84 002C1DE4  38 C1 00 68 */	addi r6, r1, 0x68
/* 802C4E88 002C1DE8  EC 85 00 B2 */	fmuls f4, f5, f2
/* 802C4E8C 002C1DEC  D0 01 00 5C */	stfs f0, 0x5c(r1)
/* 802C4E90 002C1DF0  EC 45 01 B2 */	fmuls f2, f5, f6
/* 802C4E94 002C1DF4  EC 05 00 32 */	fmuls f0, f5, f0
/* 802C4E98 002C1DF8  D0 C1 00 64 */	stfs f6, 0x64(r1)
/* 802C4E9C 002C1DFC  EC A3 F8 24 */	fdivs f5, f3, f31
/* 802C4EA0 002C1E00  D0 81 00 6C */	stfs f4, 0x6c(r1)
/* 802C4EA4 002C1E04  D0 01 00 68 */	stfs f0, 0x68(r1)
/* 802C4EA8 002C1E08  D0 41 00 70 */	stfs f2, 0x70(r1)
/* 802C4EAC 002C1E0C  C1 1F 00 58 */	lfs f8, 0x58(r31)
/* 802C4EB0 002C1E10  C0 1F 00 48 */	lfs f0, 0x48(r31)
/* 802C4EB4 002C1E14  C0 5F 00 38 */	lfs f2, 0x38(r31)
/* 802C4EB8 002C1E18  EC C5 00 32 */	fmuls f6, f5, f0
/* 802C4EBC 002C1E1C  EC 85 02 32 */	fmuls f4, f5, f8
/* 802C4EC0 002C1E20  D0 01 00 78 */	stfs f0, 0x78(r1)
/* 802C4EC4 002C1E24  EC 05 00 B2 */	fmuls f0, f5, f2
/* 802C4EC8 002C1E28  EC A3 08 24 */	fdivs f5, f3, f1
/* 802C4ECC 002C1E2C  D0 C1 00 84 */	stfs f6, 0x84(r1)
/* 802C4ED0 002C1E30  D0 01 00 80 */	stfs f0, 0x80(r1)
/* 802C4ED4 002C1E34  D0 81 00 88 */	stfs f4, 0x88(r1)
/* 802C4ED8 002C1E38  C0 FF 00 54 */	lfs f7, 0x54(r31)
/* 802C4EDC 002C1E3C  C0 DF 00 44 */	lfs f6, 0x44(r31)
/* 802C4EE0 002C1E40  C0 3F 00 34 */	lfs f1, 0x34(r31)
/* 802C4EE4 002C1E44  EC 85 01 B2 */	fmuls f4, f5, f6
/* 802C4EE8 002C1E48  EC 65 01 F2 */	fmuls f3, f5, f7
/* 802C4EEC 002C1E4C  D0 41 00 74 */	stfs f2, 0x74(r1)
/* 802C4EF0 002C1E50  EC 05 00 72 */	fmuls f0, f5, f1
/* 802C4EF4 002C1E54  D1 01 00 7C */	stfs f8, 0x7c(r1)
/* 802C4EF8 002C1E58  D0 21 00 8C */	stfs f1, 0x8c(r1)
/* 802C4EFC 002C1E5C  D0 C1 00 90 */	stfs f6, 0x90(r1)
/* 802C4F00 002C1E60  D0 E1 00 94 */	stfs f7, 0x94(r1)
/* 802C4F04 002C1E64  D0 01 00 98 */	stfs f0, 0x98(r1)
/* 802C4F08 002C1E68  D0 81 00 9C */	stfs f4, 0x9c(r1)
/* 802C4F0C 002C1E6C  D0 61 00 A0 */	stfs f3, 0xa0(r1)
/* 802C4F10 002C1E70  48 04 B7 6D */	bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 802C4F14 002C1E74  38 61 00 50 */	addi r3, r1, 0x50
/* 802C4F18 002C1E78  38 81 01 34 */	addi r4, r1, 0x134
/* 802C4F1C 002C1E7C  38 A1 00 C8 */	addi r5, r1, 0xc8
/* 802C4F20 002C1E80  48 04 B3 75 */	bl __ml__9CMatrix3fCFRC9CVector3f
/* 802C4F24 002C1E84  C0 A1 01 54 */	lfs f5, 0x154(r1)
/* 802C4F28 002C1E88  38 61 01 58 */	addi r3, r1, 0x158
/* 802C4F2C 002C1E8C  C0 81 01 48 */	lfs f4, 0x148(r1)
/* 802C4F30 002C1E90  38 81 01 04 */	addi r4, r1, 0x104
/* 802C4F34 002C1E94  C0 61 01 3C */	lfs f3, 0x13c(r1)
/* 802C4F38 002C1E98  C0 E1 01 50 */	lfs f7, 0x150(r1)
/* 802C4F3C 002C1E9C  C0 C1 01 44 */	lfs f6, 0x144(r1)
/* 802C4F40 002C1EA0  C0 41 01 38 */	lfs f2, 0x138(r1)
/* 802C4F44 002C1EA4  C1 21 01 4C */	lfs f9, 0x14c(r1)
/* 802C4F48 002C1EA8  C1 01 01 40 */	lfs f8, 0x140(r1)
/* 802C4F4C 002C1EAC  C0 21 01 34 */	lfs f1, 0x134(r1)
/* 802C4F50 002C1EB0  C1 41 00 54 */	lfs f10, 0x54(r1)
/* 802C4F54 002C1EB4  C1 61 00 58 */	lfs f11, 0x58(r1)
/* 802C4F58 002C1EB8  C0 01 00 50 */	lfs f0, 0x50(r1)
/* 802C4F5C 002C1EBC  D0 61 00 08 */	stfs f3, 8(r1)
/* 802C4F60 002C1EC0  D0 81 00 0C */	stfs f4, 0xc(r1)
/* 802C4F64 002C1EC4  D0 A1 00 10 */	stfs f5, 0x10(r1)
/* 802C4F68 002C1EC8  D0 41 00 14 */	stfs f2, 0x14(r1)
/* 802C4F6C 002C1ECC  D0 C1 00 18 */	stfs f6, 0x18(r1)
/* 802C4F70 002C1ED0  D0 E1 00 1C */	stfs f7, 0x1c(r1)
/* 802C4F74 002C1ED4  D0 21 00 20 */	stfs f1, 0x20(r1)
/* 802C4F78 002C1ED8  D1 01 00 24 */	stfs f8, 0x24(r1)
/* 802C4F7C 002C1EDC  D1 21 00 28 */	stfs f9, 0x28(r1)
/* 802C4F80 002C1EE0  D0 61 00 2C */	stfs f3, 0x2c(r1)
/* 802C4F84 002C1EE4  D0 81 00 30 */	stfs f4, 0x30(r1)
/* 802C4F88 002C1EE8  D0 A1 00 34 */	stfs f5, 0x34(r1)
/* 802C4F8C 002C1EEC  D0 41 00 38 */	stfs f2, 0x38(r1)
/* 802C4F90 002C1EF0  D0 C1 00 3C */	stfs f6, 0x3c(r1)
/* 802C4F94 002C1EF4  D0 E1 00 40 */	stfs f7, 0x40(r1)
/* 802C4F98 002C1EF8  D0 21 00 44 */	stfs f1, 0x44(r1)
/* 802C4F9C 002C1EFC  D1 01 00 48 */	stfs f8, 0x48(r1)
/* 802C4FA0 002C1F00  D1 21 00 4C */	stfs f9, 0x4c(r1)
/* 802C4FA4 002C1F04  D0 21 01 04 */	stfs f1, 0x104(r1)
/* 802C4FA8 002C1F08  D0 41 01 08 */	stfs f2, 0x108(r1)
/* 802C4FAC 002C1F0C  D0 61 01 0C */	stfs f3, 0x10c(r1)
/* 802C4FB0 002C1F10  D0 01 01 10 */	stfs f0, 0x110(r1)
/* 802C4FB4 002C1F14  D1 01 01 14 */	stfs f8, 0x114(r1)
/* 802C4FB8 002C1F18  D0 C1 01 18 */	stfs f6, 0x118(r1)
/* 802C4FBC 002C1F1C  D0 81 01 1C */	stfs f4, 0x11c(r1)
/* 802C4FC0 002C1F20  D1 41 01 20 */	stfs f10, 0x120(r1)
/* 802C4FC4 002C1F24  D1 21 01 24 */	stfs f9, 0x124(r1)
/* 802C4FC8 002C1F28  D0 E1 01 28 */	stfs f7, 0x128(r1)
/* 802C4FCC 002C1F2C  D0 A1 01 2C */	stfs f5, 0x12c(r1)
/* 802C4FD0 002C1F30  D1 61 01 30 */	stfs f11, 0x130(r1)
/* 802C4FD4 002C1F34  48 04 DB 6D */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C4FD8 002C1F38  38 61 00 D4 */	addi r3, r1, 0xd4
/* 802C4FDC 002C1F3C  38 81 01 58 */	addi r4, r1, 0x158
/* 802C4FE0 002C1F40  38 BE 00 34 */	addi r5, r30, 0x34
/* 802C4FE4 002C1F44  48 04 D9 6D */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C4FE8 002C1F48  38 7E 00 04 */	addi r3, r30, 4
/* 802C4FEC 002C1F4C  38 81 00 D4 */	addi r4, r1, 0xd4
/* 802C4FF0 002C1F50  48 04 DB 51 */	bl __as__12CTransform4fFRC12CTransform4f
lbl_802C4FF4:
/* 802C4FF4 002C1F54  7F A3 EB 78 */	mr r3, r29
/* 802C4FF8 002C1F58  4B FF F7 F1 */	bl RecalculateTransforms__10CGuiObjectFv
/* 802C4FFC 002C1F5C  E3 E1 01 B8 */	psq_l f31, 440(r1), 0, qr0
/* 802C5000 002C1F60  CB E1 01 B0 */	lfd f31, 0x1b0(r1)
/* 802C5004 002C1F64  E3 C1 01 A8 */	psq_l f30, 424(r1), 0, qr0
/* 802C5008 002C1F68  CB C1 01 A0 */	lfd f30, 0x1a0(r1)
/* 802C500C 002C1F6C  83 E1 01 9C */	lwz r31, 0x19c(r1)
/* 802C5010 002C1F70  83 C1 01 98 */	lwz r30, 0x198(r1)
/* 802C5014 002C1F74  80 01 01 C4 */	lwz r0, 0x1c4(r1)
/* 802C5018 002C1F78  83 A1 01 94 */	lwz r29, 0x194(r1)
/* 802C501C 002C1F7C  7C 08 03 A6 */	mtlr r0
/* 802C5020 002C1F80  38 21 01 C0 */	addi r1, r1, 0x1c0
/* 802C5024 002C1F84  4E 80 00 20 */	blr

.global MultiplyO2P__10CGuiObjectFRC12CTransform4f
MultiplyO2P__10CGuiObjectFRC12CTransform4f:
/* 802C5028 002C1F88  94 21 FF C0 */	stwu r1, -0x40(r1)
/* 802C502C 002C1F8C  7C 08 02 A6 */	mflr r0
/* 802C5030 002C1F90  90 01 00 44 */	stw r0, 0x44(r1)
/* 802C5034 002C1F94  93 E1 00 3C */	stw r31, 0x3c(r1)
/* 802C5038 002C1F98  7C 7F 1B 78 */	mr r31, r3
/* 802C503C 002C1F9C  38 61 00 08 */	addi r3, r1, 8
/* 802C5040 002C1FA0  38 BF 00 04 */	addi r5, r31, 4
/* 802C5044 002C1FA4  48 04 D9 0D */	bl __ml__12CTransform4fCFRC12CTransform4f
/* 802C5048 002C1FA8  38 7F 00 04 */	addi r3, r31, 4
/* 802C504C 002C1FAC  38 81 00 08 */	addi r4, r1, 8
/* 802C5050 002C1FB0  48 04 DA F1 */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C5054 002C1FB4  7F E3 FB 78 */	mr r3, r31
/* 802C5058 002C1FB8  4B FF F7 91 */	bl RecalculateTransforms__10CGuiObjectFv
/* 802C505C 002C1FBC  80 01 00 44 */	lwz r0, 0x44(r1)
/* 802C5060 002C1FC0  83 E1 00 3C */	lwz r31, 0x3c(r1)
/* 802C5064 002C1FC4  7C 08 03 A6 */	mtlr r0
/* 802C5068 002C1FC8  38 21 00 40 */	addi r1, r1, 0x40
/* 802C506C 002C1FCC  4E 80 00 20 */	blr

.global RotateTranslateW2O__10CGuiObjectCFRC9CVector3f
RotateTranslateW2O__10CGuiObjectCFRC9CVector3f:
/* 802C5070 002C1FD0  94 21 FF D0 */	stwu r1, -0x30(r1)
/* 802C5074 002C1FD4  7C 08 02 A6 */	mflr r0
/* 802C5078 002C1FD8  7C 86 23 78 */	mr r6, r4
/* 802C507C 002C1FDC  90 01 00 34 */	stw r0, 0x34(r1)
/* 802C5080 002C1FE0  93 E1 00 2C */	stw r31, 0x2c(r1)
/* 802C5084 002C1FE4  7C 7F 1B 78 */	mr r31, r3
/* 802C5088 002C1FE8  38 61 00 14 */	addi r3, r1, 0x14
/* 802C508C 002C1FEC  C0 04 00 60 */	lfs f0, 0x60(r4)
/* 802C5090 002C1FF0  38 86 00 34 */	addi r4, r6, 0x34
/* 802C5094 002C1FF4  C0 25 00 08 */	lfs f1, 8(r5)
/* 802C5098 002C1FF8  C0 65 00 04 */	lfs f3, 4(r5)
/* 802C509C 002C1FFC  EC 81 00 28 */	fsubs f4, f1, f0
/* 802C50A0 002C2000  C0 46 00 50 */	lfs f2, 0x50(r6)
/* 802C50A4 002C2004  C0 25 00 00 */	lfs f1, 0(r5)
/* 802C50A8 002C2008  38 A1 00 08 */	addi r5, r1, 8
/* 802C50AC 002C200C  C0 06 00 40 */	lfs f0, 0x40(r6)
/* 802C50B0 002C2010  EC 43 10 28 */	fsubs f2, f3, f2
/* 802C50B4 002C2014  EC 01 00 28 */	fsubs f0, f1, f0
/* 802C50B8 002C2018  D0 81 00 10 */	stfs f4, 0x10(r1)
/* 802C50BC 002C201C  D0 41 00 0C */	stfs f2, 0xc(r1)
/* 802C50C0 002C2020  D0 01 00 08 */	stfs f0, 8(r1)
/* 802C50C4 002C2024  48 04 D9 61 */	bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 802C50C8 002C2028  C0 21 00 18 */	lfs f1, 0x18(r1)
/* 802C50CC 002C202C  C0 41 00 1C */	lfs f2, 0x1c(r1)
/* 802C50D0 002C2030  C0 01 00 14 */	lfs f0, 0x14(r1)
/* 802C50D4 002C2034  D0 1F 00 00 */	stfs f0, 0(r31)
/* 802C50D8 002C2038  D0 3F 00 04 */	stfs f1, 4(r31)
/* 802C50DC 002C203C  D0 5F 00 08 */	stfs f2, 8(r31)
/* 802C50E0 002C2040  83 E1 00 2C */	lwz r31, 0x2c(r1)
/* 802C50E4 002C2044  80 01 00 34 */	lwz r0, 0x34(r1)
/* 802C50E8 002C2048  7C 08 03 A6 */	mtlr r0
/* 802C50EC 002C204C  38 21 00 30 */	addi r1, r1, 0x30
/* 802C50F0 002C2050  4E 80 00 20 */	blr

.global RotateO2P__10CGuiObjectCFRC9CVector3f
RotateO2P__10CGuiObjectCFRC9CVector3f:
/* 802C50F4 002C2054  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 802C50F8 002C2058  7C 08 02 A6 */	mflr r0
/* 802C50FC 002C205C  38 84 00 04 */	addi r4, r4, 4
/* 802C5100 002C2060  90 01 00 24 */	stw r0, 0x24(r1)
/* 802C5104 002C2064  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 802C5108 002C2068  7C 7F 1B 78 */	mr r31, r3
/* 802C510C 002C206C  38 61 00 08 */	addi r3, r1, 8
/* 802C5110 002C2070  48 04 D9 71 */	bl Rotate__12CTransform4fCFRC9CVector3f
/* 802C5114 002C2074  C0 21 00 0C */	lfs f1, 0xc(r1)
/* 802C5118 002C2078  C0 41 00 10 */	lfs f2, 0x10(r1)
/* 802C511C 002C207C  C0 01 00 08 */	lfs f0, 8(r1)
/* 802C5120 002C2080  D0 1F 00 00 */	stfs f0, 0(r31)
/* 802C5124 002C2084  D0 3F 00 04 */	stfs f1, 4(r31)
/* 802C5128 002C2088  D0 5F 00 08 */	stfs f2, 8(r31)
/* 802C512C 002C208C  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 802C5130 002C2090  80 01 00 24 */	lwz r0, 0x24(r1)
/* 802C5134 002C2094  7C 08 03 A6 */	mtlr r0
/* 802C5138 002C2098  38 21 00 20 */	addi r1, r1, 0x20
/* 802C513C 002C209C  4E 80 00 20 */	blr

.global RotateReset__10CGuiObjectFv
RotateReset__10CGuiObjectFv:
/* 802C5140 002C20A0  94 21 FF C0 */	stwu r1, -0x40(r1)
/* 802C5144 002C20A4  7C 08 02 A6 */	mflr r0
/* 802C5148 002C20A8  90 01 00 44 */	stw r0, 0x44(r1)
/* 802C514C 002C20AC  DB E1 00 30 */	stfd f31, 0x30(r1)
/* 802C5150 002C20B0  F3 E1 00 38 */	psq_st f31, 56(r1), 0, qr0
/* 802C5154 002C20B4  DB C1 00 20 */	stfd f30, 0x20(r1)
/* 802C5158 002C20B8  F3 C1 00 28 */	psq_st f30, 40(r1), 0, qr0
/* 802C515C 002C20BC  DB A1 00 10 */	stfd f29, 0x10(r1)
/* 802C5160 002C20C0  F3 A1 00 18 */	psq_st f29, 24(r1), 0, qr0
/* 802C5164 002C20C4  93 E1 00 0C */	stw r31, 0xc(r1)
/* 802C5168 002C20C8  7C 7F 1B 78 */	mr r31, r3
/* 802C516C 002C20CC  3C 60 80 5A */	lis r3, sIdentity__12CTransform4f@ha
/* 802C5170 002C20D0  C3 BF 00 30 */	lfs f29, 0x30(r31)
/* 802C5174 002C20D4  38 83 66 70 */	addi r4, r3, sIdentity__12CTransform4f@l
/* 802C5178 002C20D8  C3 DF 00 20 */	lfs f30, 0x20(r31)
/* 802C517C 002C20DC  38 7F 00 04 */	addi r3, r31, 4
/* 802C5180 002C20E0  C3 FF 00 10 */	lfs f31, 0x10(r31)
/* 802C5184 002C20E4  48 04 D9 BD */	bl __as__12CTransform4fFRC12CTransform4f
/* 802C5188 002C20E8  D3 FF 00 10 */	stfs f31, 0x10(r31)
/* 802C518C 002C20EC  7F E3 FB 78 */	mr r3, r31
/* 802C5190 002C20F0  D3 DF 00 20 */	stfs f30, 0x20(r31)
/* 802C5194 002C20F4  D3 BF 00 30 */	stfs f29, 0x30(r31)
/* 802C5198 002C20F8  4B FF F6 51 */	bl RecalculateTransforms__10CGuiObjectFv
/* 802C519C 002C20FC  E3 E1 00 38 */	psq_l f31, 56(r1), 0, qr0
/* 802C51A0 002C2100  CB E1 00 30 */	lfd f31, 0x30(r1)
/* 802C51A4 002C2104  E3 C1 00 28 */	psq_l f30, 40(r1), 0, qr0
/* 802C51A8 002C2108  CB C1 00 20 */	lfd f30, 0x20(r1)
/* 802C51AC 002C210C  E3 A1 00 18 */	psq_l f29, 24(r1), 0, qr0
/* 802C51B0 002C2110  CB A1 00 10 */	lfd f29, 0x10(r1)
/* 802C51B4 002C2114  80 01 00 44 */	lwz r0, 0x44(r1)
/* 802C51B8 002C2118  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 802C51BC 002C211C  7C 08 03 A6 */	mtlr r0
/* 802C51C0 002C2120  38 21 00 40 */	addi r1, r1, 0x40
/* 802C51C4 002C2124  4E 80 00 20 */	blr

.global SetLocalPosition__10CGuiObjectFRC9CVector3f
SetLocalPosition__10CGuiObjectFRC9CVector3f:
/* 802C51C8 002C2128  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 802C51CC 002C212C  7C 08 02 A6 */	mflr r0
/* 802C51D0 002C2130  90 01 00 24 */	stw r0, 0x24(r1)
/* 802C51D4 002C2134  C0 24 00 04 */	lfs f1, 4(r4)
/* 802C51D8 002C2138  C0 03 00 20 */	lfs f0, 0x20(r3)
/* 802C51DC 002C213C  C0 64 00 08 */	lfs f3, 8(r4)
/* 802C51E0 002C2140  EC 81 00 28 */	fsubs f4, f1, f0
/* 802C51E4 002C2144  C0 43 00 30 */	lfs f2, 0x30(r3)
/* 802C51E8 002C2148  C0 24 00 00 */	lfs f1, 0(r4)
/* 802C51EC 002C214C  38 81 00 08 */	addi r4, r1, 8
/* 802C51F0 002C2150  C0 03 00 10 */	lfs f0, 0x10(r3)
/* 802C51F4 002C2154  EC 43 10 28 */	fsubs f2, f3, f2
/* 802C51F8 002C2158  EC 01 00 28 */	fsubs f0, f1, f0
/* 802C51FC 002C215C  D0 81 00 0C */	stfs f4, 0xc(r1)
/* 802C5200 002C2160  D0 41 00 10 */	stfs f2, 0x10(r1)
/* 802C5204 002C2164  D0 01 00 08 */	stfs f0, 8(r1)
/* 802C5208 002C2168  48 00 00 4D */	bl MoveInWorld__10CGuiObjectFRC9CVector3f
/* 802C520C 002C216C  80 01 00 24 */	lwz r0, 0x24(r1)
/* 802C5210 002C2170  7C 08 03 A6 */	mtlr r0
/* 802C5214 002C2174  38 21 00 20 */	addi r1, r1, 0x20
/* 802C5218 002C2178  4E 80 00 20 */	blr

.global GetLocalPosition__10CGuiObjectCFv
GetLocalPosition__10CGuiObjectCFv:
/* 802C521C 002C217C  C0 44 00 30 */	lfs f2, 0x30(r4)
/* 802C5220 002C2180  C0 24 00 20 */	lfs f1, 0x20(r4)
/* 802C5224 002C2184  C0 04 00 10 */	lfs f0, 0x10(r4)
/* 802C5228 002C2188  D0 03 00 00 */	stfs f0, 0(r3)
/* 802C522C 002C218C  D0 23 00 04 */	stfs f1, 4(r3)
/* 802C5230 002C2190  D0 43 00 08 */	stfs f2, 8(r3)
/* 802C5234 002C2194  4E 80 00 20 */	blr

.global GetWorldPosition__10CGuiObjectCFv
GetWorldPosition__10CGuiObjectCFv:
/* 802C5238 002C2198  C0 44 00 60 */	lfs f2, 0x60(r4)
/* 802C523C 002C219C  C0 24 00 50 */	lfs f1, 0x50(r4)
/* 802C5240 002C21A0  C0 04 00 40 */	lfs f0, 0x40(r4)
/* 802C5244 002C21A4  D0 03 00 00 */	stfs f0, 0(r3)
/* 802C5248 002C21A8  D0 23 00 04 */	stfs f1, 4(r3)
/* 802C524C 002C21AC  D0 43 00 08 */	stfs f2, 8(r3)
/* 802C5250 002C21B0  4E 80 00 20 */	blr

.global MoveInWorld__10CGuiObjectFRC9CVector3f
MoveInWorld__10CGuiObjectFRC9CVector3f:
/* 802C5254 002C21B4  94 21 FF D0 */	stwu r1, -0x30(r1)
/* 802C5258 002C21B8  7C 08 02 A6 */	mflr r0
/* 802C525C 002C21BC  90 01 00 34 */	stw r0, 0x34(r1)
/* 802C5260 002C21C0  93 E1 00 2C */	stw r31, 0x2c(r1)
/* 802C5264 002C21C4  7C 9F 23 78 */	mr r31, r4
/* 802C5268 002C21C8  93 C1 00 28 */	stw r30, 0x28(r1)
/* 802C526C 002C21CC  7C 7E 1B 78 */	mr r30, r3
/* 802C5270 002C21D0  80 83 00 64 */	lwz r4, 0x64(r3)
/* 802C5274 002C21D4  28 04 00 00 */	cmplwi r4, 0
/* 802C5278 002C21D8  41 82 00 2C */	beq lbl_802C52A4
/* 802C527C 002C21DC  7F E5 FB 78 */	mr r5, r31
/* 802C5280 002C21E0  38 61 00 14 */	addi r3, r1, 0x14
/* 802C5284 002C21E4  38 84 00 34 */	addi r4, r4, 0x34
/* 802C5288 002C21E8  48 04 D7 9D */	bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 802C528C 002C21EC  C0 41 00 14 */	lfs f2, 0x14(r1)
/* 802C5290 002C21F0  C0 21 00 18 */	lfs f1, 0x18(r1)
/* 802C5294 002C21F4  C0 01 00 1C */	lfs f0, 0x1c(r1)
/* 802C5298 002C21F8  D0 41 00 08 */	stfs f2, 8(r1)
/* 802C529C 002C21FC  D0 21 00 0C */	stfs f1, 0xc(r1)
/* 802C52A0 002C2200  D0 01 00 10 */	stfs f0, 0x10(r1)
lbl_802C52A4:
/* 802C52A4 002C2204  C0 3E 00 10 */	lfs f1, 0x10(r30)
/* 802C52A8 002C2208  7F C3 F3 78 */	mr r3, r30
/* 802C52AC 002C220C  C0 1F 00 00 */	lfs f0, 0(r31)
/* 802C52B0 002C2210  EC 01 00 2A */	fadds f0, f1, f0
/* 802C52B4 002C2214  D0 1E 00 10 */	stfs f0, 0x10(r30)
/* 802C52B8 002C2218  C0 3E 00 20 */	lfs f1, 0x20(r30)
/* 802C52BC 002C221C  C0 1F 00 04 */	lfs f0, 4(r31)
/* 802C52C0 002C2220  EC 01 00 2A */	fadds f0, f1, f0
/* 802C52C4 002C2224  D0 1E 00 20 */	stfs f0, 0x20(r30)
/* 802C52C8 002C2228  C0 3E 00 30 */	lfs f1, 0x30(r30)
/* 802C52CC 002C222C  C0 1F 00 08 */	lfs f0, 8(r31)
/* 802C52D0 002C2230  EC 01 00 2A */	fadds f0, f1, f0
/* 802C52D4 002C2234  D0 1E 00 30 */	stfs f0, 0x30(r30)
/* 802C52D8 002C2238  4B FF F5 11 */	bl RecalculateTransforms__10CGuiObjectFv
/* 802C52DC 002C223C  80 01 00 34 */	lwz r0, 0x34(r1)
/* 802C52E0 002C2240  83 E1 00 2C */	lwz r31, 0x2c(r1)
/* 802C52E4 002C2244  83 C1 00 28 */	lwz r30, 0x28(r1)
/* 802C52E8 002C2248  7C 08 03 A6 */	mtlr r0
/* 802C52EC 002C224C  38 21 00 30 */	addi r1, r1, 0x30
/* 802C52F0 002C2250  4E 80 00 20 */	blr

.global Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms
Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms:
/* 802C52F4 002C2254  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 802C52F8 002C2258  7C 08 02 A6 */	mflr r0
/* 802C52FC 002C225C  90 01 00 14 */	stw r0, 0x14(r1)
/* 802C5300 002C2260  93 E1 00 0C */	stw r31, 0xc(r1)
/* 802C5304 002C2264  7C 9F 23 78 */	mr r31, r4
/* 802C5308 002C2268  93 C1 00 08 */	stw r30, 8(r1)
/* 802C530C 002C226C  7C 7E 1B 78 */	mr r30, r3
/* 802C5310 002C2270  80 63 00 68 */	lwz r3, 0x68(r3)
/* 802C5314 002C2274  28 03 00 00 */	cmplwi r3, 0
/* 802C5318 002C2278  41 82 00 14 */	beq lbl_802C532C
/* 802C531C 002C227C  81 83 00 00 */	lwz r12, 0(r3)
/* 802C5320 002C2280  81 8C 00 10 */	lwz r12, 0x10(r12)
/* 802C5324 002C2284  7D 89 03 A6 */	mtctr r12
/* 802C5328 002C2288  4E 80 04 21 */	bctrl
lbl_802C532C:
/* 802C532C 002C228C  80 7E 00 6C */	lwz r3, 0x6c(r30)
/* 802C5330 002C2290  28 03 00 00 */	cmplwi r3, 0
/* 802C5334 002C2294  41 82 00 18 */	beq lbl_802C534C
/* 802C5338 002C2298  81 83 00 00 */	lwz r12, 0(r3)
/* 802C533C 002C229C  7F E4 FB 78 */	mr r4, r31
/* 802C5340 002C22A0  81 8C 00 10 */	lwz r12, 0x10(r12)
/* 802C5344 002C22A4  7D 89 03 A6 */	mtctr r12
/* 802C5348 002C22A8  4E 80 04 21 */	bctrl
lbl_802C534C:
/* 802C534C 002C22AC  80 01 00 14 */	lwz r0, 0x14(r1)
/* 802C5350 002C22B0  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 802C5354 002C22B4  83 C1 00 08 */	lwz r30, 8(r1)
/* 802C5358 002C22B8  7C 08 03 A6 */	mtlr r0
/* 802C535C 002C22BC  38 21 00 10 */	addi r1, r1, 0x10
/* 802C5360 002C22C0  4E 80 00 20 */	blr

.global Update__10CGuiObjectFf
Update__10CGuiObjectFf:
/* 802C5364 002C22C4  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 802C5368 002C22C8  7C 08 02 A6 */	mflr r0
/* 802C536C 002C22CC  90 01 00 24 */	stw r0, 0x24(r1)
/* 802C5370 002C22D0  DB E1 00 18 */	stfd f31, 0x18(r1)
/* 802C5374 002C22D4  FF E0 08 90 */	fmr f31, f1
/* 802C5378 002C22D8  93 E1 00 14 */	stw r31, 0x14(r1)
/* 802C537C 002C22DC  7C 7F 1B 78 */	mr r31, r3
/* 802C5380 002C22E0  80 63 00 68 */	lwz r3, 0x68(r3)
/* 802C5384 002C22E4  28 03 00 00 */	cmplwi r3, 0
/* 802C5388 002C22E8  41 82 00 14 */	beq lbl_802C539C
/* 802C538C 002C22EC  81 83 00 00 */	lwz r12, 0(r3)
/* 802C5390 002C22F0  81 8C 00 0C */	lwz r12, 0xc(r12)
/* 802C5394 002C22F4  7D 89 03 A6 */	mtctr r12
/* 802C5398 002C22F8  4E 80 04 21 */	bctrl
lbl_802C539C:
/* 802C539C 002C22FC  80 7F 00 6C */	lwz r3, 0x6c(r31)
/* 802C53A0 002C2300  28 03 00 00 */	cmplwi r3, 0
/* 802C53A4 002C2304  41 82 00 18 */	beq lbl_802C53BC
/* 802C53A8 002C2308  81 83 00 00 */	lwz r12, 0(r3)
/* 802C53AC 002C230C  FC 20 F8 90 */	fmr f1, f31
/* 802C53B0 002C2310  81 8C 00 0C */	lwz r12, 0xc(r12)
/* 802C53B4 002C2314  7D 89 03 A6 */	mtctr r12
/* 802C53B8 002C2318  4E 80 04 21 */	bctrl
lbl_802C53BC:
/* 802C53BC 002C231C  80 01 00 24 */	lwz r0, 0x24(r1)
/* 802C53C0 002C2320  CB E1 00 18 */	lfd f31, 0x18(r1)
/* 802C53C4 002C2324  83 E1 00 14 */	lwz r31, 0x14(r1)
/* 802C53C8 002C2328  7C 08 03 A6 */	mtlr r0
/* 802C53CC 002C232C  38 21 00 20 */	addi r1, r1, 0x20
/* 802C53D0 002C2330  4E 80 00 20 */	blr

.global __dt__10CGuiObjectFv
__dt__10CGuiObjectFv:
/* 802C53D4 002C2334  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 802C53D8 002C2338  7C 08 02 A6 */	mflr r0
/* 802C53DC 002C233C  90 01 00 14 */	stw r0, 0x14(r1)
/* 802C53E0 002C2340  93 E1 00 0C */	stw r31, 0xc(r1)
/* 802C53E4 002C2344  7C 9F 23 78 */	mr r31, r4
/* 802C53E8 002C2348  93 C1 00 08 */	stw r30, 8(r1)
/* 802C53EC 002C234C  7C 7E 1B 79 */	or. r30, r3, r3
/* 802C53F0 002C2350  41 82 00 70 */	beq lbl_802C5460
/* 802C53F4 002C2354  3C 60 80 3F */	lis r3, lbl_803EC8C8@ha
/* 802C53F8 002C2358  38 03 C8 C8 */	addi r0, r3, lbl_803EC8C8@l
/* 802C53FC 002C235C  90 1E 00 00 */	stw r0, 0(r30)
/* 802C5400 002C2360  80 7E 00 68 */	lwz r3, 0x68(r30)
/* 802C5404 002C2364  28 03 00 00 */	cmplwi r3, 0
/* 802C5408 002C2368  41 82 00 18 */	beq lbl_802C5420
/* 802C540C 002C236C  81 83 00 00 */	lwz r12, 0(r3)
/* 802C5410 002C2370  38 80 00 01 */	li r4, 1
/* 802C5414 002C2374  81 8C 00 08 */	lwz r12, 8(r12)
/* 802C5418 002C2378  7D 89 03 A6 */	mtctr r12
/* 802C541C 002C237C  4E 80 04 21 */	bctrl
lbl_802C5420:
/* 802C5420 002C2380  38 00 00 00 */	li r0, 0
/* 802C5424 002C2384  90 1E 00 68 */	stw r0, 0x68(r30)
/* 802C5428 002C2388  80 7E 00 6C */	lwz r3, 0x6c(r30)
/* 802C542C 002C238C  28 03 00 00 */	cmplwi r3, 0
/* 802C5430 002C2390  41 82 00 18 */	beq lbl_802C5448
/* 802C5434 002C2394  81 83 00 00 */	lwz r12, 0(r3)
/* 802C5438 002C2398  38 80 00 01 */	li r4, 1
/* 802C543C 002C239C  81 8C 00 08 */	lwz r12, 8(r12)
/* 802C5440 002C23A0  7D 89 03 A6 */	mtctr r12
/* 802C5444 002C23A4  4E 80 04 21 */	bctrl
lbl_802C5448:
/* 802C5448 002C23A8  38 60 00 00 */	li r3, 0
/* 802C544C 002C23AC  7F E0 07 35 */	extsh. r0, r31
/* 802C5450 002C23B0  90 7E 00 6C */	stw r3, 0x6c(r30)
/* 802C5454 002C23B4  40 81 00 0C */	ble lbl_802C5460
/* 802C5458 002C23B8  7F C3 F3 78 */	mr r3, r30
/* 802C545C 002C23BC  48 05 04 D5 */	bl Free__7CMemoryFPCv
lbl_802C5460:
/* 802C5460 002C23C0  80 01 00 14 */	lwz r0, 0x14(r1)
/* 802C5464 002C23C4  7F C3 F3 78 */	mr r3, r30
/* 802C5468 002C23C8  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 802C546C 002C23CC  83 C1 00 08 */	lwz r30, 8(r1)
/* 802C5470 002C23D0  7C 08 03 A6 */	mtlr r0
/* 802C5474 002C23D4  38 21 00 10 */	addi r1, r1, 0x10
/* 802C5478 002C23D8  4E 80 00 20 */	blr

.global __ct__10CGuiObjectFv
__ct__10CGuiObjectFv:
/* 802C547C 002C23DC  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 802C5480 002C23E0  7C 08 02 A6 */	mflr r0
/* 802C5484 002C23E4  3C 80 80 3F */	lis r4, lbl_803EC8C8@ha
/* 802C5488 002C23E8  90 01 00 14 */	stw r0, 0x14(r1)
/* 802C548C 002C23EC  38 04 C8 C8 */	addi r0, r4, lbl_803EC8C8@l
/* 802C5490 002C23F0  93 E1 00 0C */	stw r31, 0xc(r1)
/* 802C5494 002C23F4  7C 7F 1B 78 */	mr r31, r3
/* 802C5498 002C23F8  3C 60 80 5A */	lis r3, sIdentity__12CTransform4f@ha
/* 802C549C 002C23FC  90 1F 00 00 */	stw r0, 0(r31)
/* 802C54A0 002C2400  38 83 66 70 */	addi r4, r3, sIdentity__12CTransform4f@l
/* 802C54A4 002C2404  38 7F 00 04 */	addi r3, r31, 4
/* 802C54A8 002C2408  48 04 D6 CD */	bl __ct__12CTransform4fFRC12CTransform4f
/* 802C54AC 002C240C  3C 80 80 5A */	lis r4, sIdentity__12CTransform4f@ha
/* 802C54B0 002C2410  38 7F 00 34 */	addi r3, r31, 0x34
/* 802C54B4 002C2414  38 84 66 70 */	addi r4, r4, sIdentity__12CTransform4f@l
/* 802C54B8 002C2418  48 04 D6 BD */	bl __ct__12CTransform4fFRC12CTransform4f
/* 802C54BC 002C241C  38 00 00 00 */	li r0, 0
/* 802C54C0 002C2420  7F E3 FB 78 */	mr r3, r31
/* 802C54C4 002C2424  90 1F 00 64 */	stw r0, 0x64(r31)
/* 802C54C8 002C2428  90 1F 00 68 */	stw r0, 0x68(r31)
/* 802C54CC 002C242C  90 1F 00 6C */	stw r0, 0x6c(r31)
/* 802C54D0 002C2430  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 802C54D4 002C2434  80 01 00 14 */	lwz r0, 0x14(r1)
/* 802C54D8 002C2438  7C 08 03 A6 */	mtlr r0
/* 802C54DC 002C243C  38 21 00 10 */	addi r1, r1, 0x10
/* 802C54E0 002C2440  4E 80 00 20 */	blr

.section .sdata2, "a"
.balign 8
.global lbl_805AE0B8
lbl_805AE0B8:
	# ROM: 0x3FA958
	.float -1.0

.global lbl_805AE0BC
lbl_805AE0BC:
	# ROM: 0x3FA95C
	.float 1.0