prime/asm/MetroidPrime/Enemies/CPhazonPool.s

1615 lines
78 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .data
.balign 8
.global lbl_803EBB48
lbl_803EBB48:
# ROM: 0x3E8B48
.4byte 0
.4byte 0
.4byte __dt__11CPhazonPoolFv
.4byte Accept__11CPhazonPoolFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__11CPhazonPoolFfR13CStateManager
.4byte AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__6CActorFb
.4byte PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__11CPhazonPoolCFRC13CStateManager
.4byte CanRenderUnsorted__6CActorCFRC13CStateManager
.4byte CalculateRenderBounds__6CActorFv
.4byte HealthInfo__6CActorFR13CStateManager
.4byte GetDamageVulnerability__6CActorCFv
.4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo
.4byte GetTouchBounds__11CPhazonPoolCFv
.4byte Touch__11CPhazonPoolFR6CActorR13CStateManager
.4byte GetOrbitPosition__6CActorCFRC13CStateManager
.4byte GetAimPosition__6CActorCFRC13CStateManagerf
.4byte GetHomingPosition__6CActorCFRC13CStateManagerf
.4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager
.4byte GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
.4byte FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
.4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager
.4byte GetSortingBounds__6CActorCFRC12CTransform4f
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
.4byte InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager
.global lbl_803EBBC4
lbl_803EBBC4:
# ROM: 0x3E8BC4
.4byte lbl_80292B38
.4byte lbl_80292AF0
.4byte lbl_80292B38
.4byte lbl_80292B00
.4byte lbl_80292B38
.4byte lbl_80292AD0
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292AF0
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292B38
.4byte lbl_80292954
.4byte lbl_80292B30
.section .sdata
.balign 8
.global lbl_805A8580
lbl_805A8580:
# ROM: 0x3F5F20
.4byte 0x01000000
.4byte 0
.section .text, "ax"
.global sub_802925e0
sub_802925e0:
/* 802925E0 0028F540 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802925E4 0028F544 7C 08 02 A6 */ mflr r0
/* 802925E8 0028F548 90 01 00 14 */ stw r0, 0x14(r1)
/* 802925EC 0028F54C 80 63 01 70 */ lwz r3, 0x170(r3)
/* 802925F0 0028F550 28 03 00 00 */ cmplwi r3, 0
/* 802925F4 0028F554 41 82 00 14 */ beq lbl_80292608
/* 802925F8 0028F558 81 83 00 00 */ lwz r12, 0(r3)
/* 802925FC 0028F55C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80292600 0028F560 7D 89 03 A6 */ mtctr r12
/* 80292604 0028F564 4E 80 04 21 */ bctrl
lbl_80292608:
/* 80292608 0028F568 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029260C 0028F56C 7C 08 03 A6 */ mtlr r0
/* 80292610 0028F570 38 21 00 10 */ addi r1, r1, 0x10
/* 80292614 0028F574 4E 80 00 20 */ blr
.global sub_80292618
sub_80292618:
/* 80292618 0028F578 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8029261C 0028F57C 7C 08 02 A6 */ mflr r0
/* 80292620 0028F580 90 01 00 44 */ stw r0, 0x44(r1)
/* 80292624 0028F584 BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 80292628 0028F588 7C 7B 1B 78 */ mr r27, r3
/* 8029262C 0028F58C 7C 9C 23 78 */ mr r28, r4
/* 80292630 0028F590 83 E3 01 54 */ lwz r31, 0x154(r3)
/* 80292634 0028F594 48 00 00 64 */ b lbl_80292698
lbl_80292638:
/* 80292638 0028F598 83 DF 00 04 */ lwz r30, 4(r31)
/* 8029263C 0028F59C 7F 83 E3 78 */ mr r3, r28
/* 80292640 0028F5A0 A0 1F 00 08 */ lhz r0, 8(r31)
/* 80292644 0028F5A4 38 81 00 10 */ addi r4, r1, 0x10
/* 80292648 0028F5A8 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8029264C 0028F5AC 4B DB 9F 29 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80292650 0028F5B0 7C 64 1B 78 */ mr r4, r3
/* 80292654 0028F5B4 38 61 00 14 */ addi r3, r1, 0x14
/* 80292658 0028F5B8 4B E1 D6 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8029265C 0028F5BC 83 A3 00 04 */ lwz r29, 4(r3)
/* 80292660 0028F5C0 28 1D 00 00 */ cmplwi r29, 0
/* 80292664 0028F5C4 41 82 00 30 */ beq lbl_80292694
/* 80292668 0028F5C8 7F E4 FB 78 */ mr r4, r31
/* 8029266C 0028F5CC 38 7B 01 50 */ addi r3, r27, 0x150
/* 80292670 0028F5D0 4B E6 F7 9D */ bl sub_80101e0c
/* 80292674 0028F5D4 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80292678 0028F5D8 7F 83 E3 78 */ mr r3, r28
/* 8029267C 0028F5DC 7F A4 EB 78 */ mr r4, r29
/* 80292680 0028F5E0 38 A1 00 0C */ addi r5, r1, 0xc
/* 80292684 0028F5E4 B0 01 00 08 */ sth r0, 8(r1)
/* 80292688 0028F5E8 38 C0 00 2F */ li r6, 0x2f
/* 8029268C 0028F5EC B0 01 00 0C */ sth r0, 0xc(r1)
/* 80292690 0028F5F0 4B DB 18 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_80292694:
/* 80292694 0028F5F4 7F DF F3 78 */ mr r31, r30
lbl_80292698:
/* 80292698 0028F5F8 80 1B 01 58 */ lwz r0, 0x158(r27)
/* 8029269C 0028F5FC 7C 1F 00 40 */ cmplw r31, r0
/* 802926A0 0028F600 40 82 FF 98 */ bne lbl_80292638
/* 802926A4 0028F604 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 802926A8 0028F608 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802926AC 0028F60C 7C 08 03 A6 */ mtlr r0
/* 802926B0 0028F610 38 21 00 40 */ addi r1, r1, 0x40
/* 802926B4 0028F614 4E 80 00 20 */ blr
.global UpdateInhabitants__11CPhazonPoolFR13CStateManager
UpdateInhabitants__11CPhazonPoolFR13CStateManager:
/* 802926B8 0028F618 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 802926BC 0028F61C 7C 08 02 A6 */ mflr r0
/* 802926C0 0028F620 90 01 00 94 */ stw r0, 0x94(r1)
/* 802926C4 0028F624 BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 802926C8 0028F628 7C 7B 1B 78 */ mr r27, r3
/* 802926CC 0028F62C 7C 9C 23 78 */ mr r28, r4
/* 802926D0 0028F630 83 E3 01 54 */ lwz r31, 0x154(r3)
/* 802926D4 0028F634 48 00 01 34 */ b lbl_80292808
lbl_802926D8:
/* 802926D8 0028F638 83 DF 00 04 */ lwz r30, 4(r31)
/* 802926DC 0028F63C 7F 83 E3 78 */ mr r3, r28
/* 802926E0 0028F640 A0 1F 00 08 */ lhz r0, 8(r31)
/* 802926E4 0028F644 38 81 00 18 */ addi r4, r1, 0x18
/* 802926E8 0028F648 B0 01 00 18 */ sth r0, 0x18(r1)
/* 802926EC 0028F64C 4B DB 9E 89 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 802926F0 0028F650 7C 64 1B 78 */ mr r4, r3
/* 802926F4 0028F654 38 61 00 1C */ addi r3, r1, 0x1c
/* 802926F8 0028F658 4B E1 D5 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 802926FC 0028F65C 83 A3 00 04 */ lwz r29, 4(r3)
/* 80292700 0028F660 28 1D 00 00 */ cmplwi r29, 0
/* 80292704 0028F664 41 82 00 8C */ beq lbl_80292790
/* 80292708 0028F668 7F A4 EB 78 */ mr r4, r29
/* 8029270C 0028F66C 38 61 00 3C */ addi r3, r1, 0x3c
/* 80292710 0028F670 81 9D 00 00 */ lwz r12, 0(r29)
/* 80292714 0028F674 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80292718 0028F678 7D 89 03 A6 */ mtctr r12
/* 8029271C 0028F67C 4E 80 04 21 */ bctrl
/* 80292720 0028F680 88 01 00 54 */ lbz r0, 0x54(r1)
/* 80292724 0028F684 28 00 00 00 */ cmplwi r0, 0
/* 80292728 0028F688 98 01 00 70 */ stb r0, 0x70(r1)
/* 8029272C 0028F68C 41 82 00 3C */ beq lbl_80292768
/* 80292730 0028F690 34 61 00 58 */ addic. r3, r1, 0x58
/* 80292734 0028F694 41 82 00 34 */ beq lbl_80292768
/* 80292738 0028F698 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8029273C 0028F69C D0 03 00 00 */ stfs f0, 0(r3)
/* 80292740 0028F6A0 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80292744 0028F6A4 D0 03 00 04 */ stfs f0, 4(r3)
/* 80292748 0028F6A8 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 8029274C 0028F6AC D0 03 00 08 */ stfs f0, 8(r3)
/* 80292750 0028F6B0 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 80292754 0028F6B4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80292758 0028F6B8 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 8029275C 0028F6BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80292760 0028F6C0 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 80292764 0028F6C4 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_80292768:
/* 80292768 0028F6C8 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8029276C 0028F6CC 38 60 00 00 */ li r3, 0
/* 80292770 0028F6D0 98 61 00 54 */ stb r3, 0x54(r1)
/* 80292774 0028F6D4 28 00 00 00 */ cmplwi r0, 0
/* 80292778 0028F6D8 41 82 00 10 */ beq lbl_80292788
/* 8029277C 0028F6DC 7F 64 DB 78 */ mr r4, r27
/* 80292780 0028F6E0 38 61 00 24 */ addi r3, r1, 0x24
/* 80292784 0028F6E4 4B DE 3F 49 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
lbl_80292788:
/* 80292788 0028F6E8 38 00 00 00 */ li r0, 0
/* 8029278C 0028F6EC 98 01 00 70 */ stb r0, 0x70(r1)
lbl_80292790:
/* 80292790 0028F6F0 28 1D 00 00 */ cmplwi r29, 0
/* 80292794 0028F6F4 41 82 00 3C */ beq lbl_802927D0
/* 80292798 0028F6F8 88 1F 00 0A */ lbz r0, 0xa(r31)
/* 8029279C 0028F6FC 28 00 00 00 */ cmplwi r0, 0
/* 802927A0 0028F700 41 82 00 30 */ beq lbl_802927D0
/* 802927A4 0028F704 A0 1B 00 08 */ lhz r0, 8(r27)
/* 802927A8 0028F708 7F 83 E3 78 */ mr r3, r28
/* 802927AC 0028F70C 7F A4 EB 78 */ mr r4, r29
/* 802927B0 0028F710 38 A1 00 14 */ addi r5, r1, 0x14
/* 802927B4 0028F714 B0 01 00 10 */ sth r0, 0x10(r1)
/* 802927B8 0028F718 38 C0 00 2E */ li r6, 0x2e
/* 802927BC 0028F71C B0 01 00 14 */ sth r0, 0x14(r1)
/* 802927C0 0028F720 4B DB 17 11 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
/* 802927C4 0028F724 38 00 00 00 */ li r0, 0
/* 802927C8 0028F728 98 1F 00 0A */ stb r0, 0xa(r31)
/* 802927CC 0028F72C 48 00 00 38 */ b lbl_80292804
lbl_802927D0:
/* 802927D0 0028F730 7F E4 FB 78 */ mr r4, r31
/* 802927D4 0028F734 38 7B 01 50 */ addi r3, r27, 0x150
/* 802927D8 0028F738 4B E6 F6 35 */ bl sub_80101e0c
/* 802927DC 0028F73C 28 1D 00 00 */ cmplwi r29, 0
/* 802927E0 0028F740 41 82 00 24 */ beq lbl_80292804
/* 802927E4 0028F744 A0 1B 00 08 */ lhz r0, 8(r27)
/* 802927E8 0028F748 7F 83 E3 78 */ mr r3, r28
/* 802927EC 0028F74C 7F A4 EB 78 */ mr r4, r29
/* 802927F0 0028F750 38 A1 00 0C */ addi r5, r1, 0xc
/* 802927F4 0028F754 B0 01 00 08 */ sth r0, 8(r1)
/* 802927F8 0028F758 38 C0 00 2F */ li r6, 0x2f
/* 802927FC 0028F75C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80292800 0028F760 4B DB 16 D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_80292804:
/* 80292804 0028F764 7F DF F3 78 */ mr r31, r30
lbl_80292808:
/* 80292808 0028F768 80 1B 01 58 */ lwz r0, 0x158(r27)
/* 8029280C 0028F76C 7C 1F 00 40 */ cmplw r31, r0
/* 80292810 0028F770 40 82 FE C8 */ bne lbl_802926D8
/* 80292814 0028F774 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80292818 0028F778 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8029281C 0028F77C 7C 08 03 A6 */ mtlr r0
/* 80292820 0028F780 38 21 00 90 */ addi r1, r1, 0x90
/* 80292824 0028F784 4E 80 00 20 */ blr
.global AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager:
/* 80292828 0028F788 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029282C 0028F78C 7C 08 02 A6 */ mflr r0
/* 80292830 0028F790 90 01 00 24 */ stw r0, 0x24(r1)
/* 80292834 0028F794 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80292838 0028F798 7C BF 2B 78 */ mr r31, r5
/* 8029283C 0028F79C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80292840 0028F7A0 7C 9E 23 78 */ mr r30, r4
/* 80292844 0028F7A4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80292848 0028F7A8 7C 7D 1B 78 */ mr r29, r3
/* 8029284C 0028F7AC 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80292850 0028F7B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80292854 0028F7B4 41 82 00 44 */ beq lbl_80292898
/* 80292858 0028F7B8 80 9D 01 70 */ lwz r4, 0x170(r29)
/* 8029285C 0028F7BC 28 04 00 00 */ cmplwi r4, 0
/* 80292860 0028F7C0 41 82 00 18 */ beq lbl_80292878
/* 80292864 0028F7C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80292868 0028F7C8 81 83 00 00 */ lwz r12, 0(r3)
/* 8029286C 0028F7CC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80292870 0028F7D0 7D 89 03 A6 */ mtctr r12
/* 80292874 0028F7D4 4E 80 04 21 */ bctrl
lbl_80292878:
/* 80292878 0028F7D8 80 9D 01 74 */ lwz r4, 0x174(r29)
/* 8029287C 0028F7DC 28 04 00 00 */ cmplwi r4, 0
/* 80292880 0028F7E0 41 82 00 18 */ beq lbl_80292898
/* 80292884 0028F7E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80292888 0028F7E8 81 83 00 00 */ lwz r12, 0(r3)
/* 8029288C 0028F7EC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80292890 0028F7F0 7D 89 03 A6 */ mtctr r12
/* 80292894 0028F7F4 4E 80 04 21 */ bctrl
lbl_80292898:
/* 80292898 0028F7F8 7F A3 EB 78 */ mr r3, r29
/* 8029289C 0028F7FC 7F C4 F3 78 */ mr r4, r30
/* 802928A0 0028F800 7F E5 FB 78 */ mr r5, r31
/* 802928A4 0028F804 4B DC 22 95 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
/* 802928A8 0028F808 7F A3 EB 78 */ mr r3, r29
/* 802928AC 0028F80C 7F E4 FB 78 */ mr r4, r31
/* 802928B0 0028F810 4B DC 21 1D */ bl EnsureRendered__6CActorCFRC13CStateManager
/* 802928B4 0028F814 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802928B8 0028F818 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802928BC 0028F81C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802928C0 0028F820 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802928C4 0028F824 7C 08 03 A6 */ mtlr r0
/* 802928C8 0028F828 38 21 00 20 */ addi r1, r1, 0x20
/* 802928CC 0028F82C 4E 80 00 20 */ blr
.global Accept__11CPhazonPoolFR8IVisitor
Accept__11CPhazonPoolFR8IVisitor:
/* 802928D0 0028F830 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802928D4 0028F834 7C 08 02 A6 */ mflr r0
/* 802928D8 0028F838 90 01 00 14 */ stw r0, 0x14(r1)
/* 802928DC 0028F83C 7C 60 1B 78 */ mr r0, r3
/* 802928E0 0028F840 7C 83 23 78 */ mr r3, r4
/* 802928E4 0028F844 81 84 00 00 */ lwz r12, 0(r4)
/* 802928E8 0028F848 7C 04 03 78 */ mr r4, r0
/* 802928EC 0028F84C 81 8C 00 CC */ lwz r12, 0xcc(r12)
/* 802928F0 0028F850 7D 89 03 A6 */ mtctr r12
/* 802928F4 0028F854 4E 80 04 21 */ bctrl
/* 802928F8 0028F858 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802928FC 0028F85C 7C 08 03 A6 */ mtlr r0
/* 80292900 0028F860 38 21 00 10 */ addi r1, r1, 0x10
/* 80292904 0028F864 4E 80 00 20 */ blr
.global AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80292908 0028F868 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8029290C 0028F86C 7C 08 02 A6 */ mflr r0
/* 80292910 0028F870 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80292914 0028F874 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 80292918 0028F878 7C DF 33 78 */ mr r31, r6
/* 8029291C 0028F87C 93 C1 00 98 */ stw r30, 0x98(r1)
/* 80292920 0028F880 7C BE 2B 78 */ mr r30, r5
/* 80292924 0028F884 93 A1 00 94 */ stw r29, 0x94(r1)
/* 80292928 0028F888 7C 9D 23 78 */ mr r29, r4
/* 8029292C 0028F88C 28 1D 00 22 */ cmplwi r29, 0x22
/* 80292930 0028F890 93 81 00 90 */ stw r28, 0x90(r1)
/* 80292934 0028F894 7C 7C 1B 78 */ mr r28, r3
/* 80292938 0028F898 41 81 02 00 */ bgt lbl_80292B38
/* 8029293C 0028F89C 3C 80 80 3F */ lis r4, lbl_803EBBC4@ha
/* 80292940 0028F8A0 57 A0 10 3A */ slwi r0, r29, 2
/* 80292944 0028F8A4 38 84 BB C4 */ addi r4, r4, lbl_803EBBC4@l
/* 80292948 0028F8A8 7C 04 00 2E */ lwzx r0, r4, r0
/* 8029294C 0028F8AC 7C 09 03 A6 */ mtctr r0
/* 80292950 0028F8B0 4E 80 04 20 */ bctr
.global lbl_80292954
lbl_80292954:
/* 80292954 0028F8B4 80 7C 01 70 */ lwz r3, 0x170(r28)
/* 80292958 0028F8B8 28 03 00 00 */ cmplwi r3, 0
/* 8029295C 0028F8BC 41 82 00 30 */ beq lbl_8029298C
/* 80292960 0028F8C0 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 80292964 0028F8C4 38 81 00 3C */ addi r4, r1, 0x3c
/* 80292968 0028F8C8 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8029296C 0028F8CC C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 80292970 0028F8D0 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80292974 0028F8D4 D0 21 00 40 */ stfs f1, 0x40(r1)
/* 80292978 0028F8D8 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8029297C 0028F8DC 81 83 00 00 */ lwz r12, 0(r3)
/* 80292980 0028F8E0 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 80292984 0028F8E4 7D 89 03 A6 */ mtctr r12
/* 80292988 0028F8E8 4E 80 04 21 */ bctrl
lbl_8029298C:
/* 8029298C 0028F8EC 80 9C 01 68 */ lwz r4, 0x168(r28)
/* 80292990 0028F8F0 28 04 00 00 */ cmplwi r4, 0
/* 80292994 0028F8F4 41 82 00 14 */ beq lbl_802929A8
/* 80292998 0028F8F8 38 61 00 78 */ addi r3, r1, 0x78
/* 8029299C 0028F8FC 4B E8 2C 29 */ bl GetBounds__10CModelDataCFv
/* 802929A0 0028F900 38 E1 00 78 */ addi r7, r1, 0x78
/* 802929A4 0028F904 48 00 00 64 */ b lbl_80292A08
lbl_802929A8:
/* 802929A8 0028F908 C0 BC 01 94 */ lfs f5, 0x194(r28)
/* 802929AC 0028F90C 38 61 00 60 */ addi r3, r1, 0x60
/* 802929B0 0028F910 C0 9C 01 98 */ lfs f4, 0x198(r28)
/* 802929B4 0028F914 38 81 00 24 */ addi r4, r1, 0x24
/* 802929B8 0028F918 C0 7C 01 90 */ lfs f3, 0x190(r28)
/* 802929BC 0028F91C FC 40 28 50 */ fneg f2, f5
/* 802929C0 0028F920 C0 C2 BF 18 */ lfs f6, lbl_805ADC38@sda21(r2)
/* 802929C4 0028F924 FC 20 20 50 */ fneg f1, f4
/* 802929C8 0028F928 FC 00 18 50 */ fneg f0, f3
/* 802929CC 0028F92C 38 A1 00 30 */ addi r5, r1, 0x30
/* 802929D0 0028F930 EC A6 01 72 */ fmuls f5, f6, f5
/* 802929D4 0028F934 EC 86 01 32 */ fmuls f4, f6, f4
/* 802929D8 0028F938 EC 66 00 F2 */ fmuls f3, f6, f3
/* 802929DC 0028F93C EC 46 00 B2 */ fmuls f2, f6, f2
/* 802929E0 0028F940 D0 A1 00 34 */ stfs f5, 0x34(r1)
/* 802929E4 0028F944 EC 26 00 72 */ fmuls f1, f6, f1
/* 802929E8 0028F948 EC 06 00 32 */ fmuls f0, f6, f0
/* 802929EC 0028F94C D0 61 00 30 */ stfs f3, 0x30(r1)
/* 802929F0 0028F950 D0 81 00 38 */ stfs f4, 0x38(r1)
/* 802929F4 0028F954 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 802929F8 0028F958 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 802929FC 0028F95C D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80292A00 0028F960 48 0A 5B 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80292A04 0028F964 7C 67 1B 78 */ mr r7, r3
lbl_80292A08:
/* 80292A08 0028F968 80 C7 00 00 */ lwz r6, 0(r7)
/* 80292A0C 0028F96C 38 61 00 48 */ addi r3, r1, 0x48
/* 80292A10 0028F970 80 07 00 04 */ lwz r0, 4(r7)
/* 80292A14 0028F974 38 81 00 18 */ addi r4, r1, 0x18
/* 80292A18 0028F978 38 A1 00 0C */ addi r5, r1, 0xc
/* 80292A1C 0028F97C 90 DC 01 78 */ stw r6, 0x178(r28)
/* 80292A20 0028F980 90 1C 01 7C */ stw r0, 0x17c(r28)
/* 80292A24 0028F984 80 07 00 08 */ lwz r0, 8(r7)
/* 80292A28 0028F988 90 1C 01 80 */ stw r0, 0x180(r28)
/* 80292A2C 0028F98C 80 C7 00 0C */ lwz r6, 0xc(r7)
/* 80292A30 0028F990 80 07 00 10 */ lwz r0, 0x10(r7)
/* 80292A34 0028F994 90 DC 01 84 */ stw r6, 0x184(r28)
/* 80292A38 0028F998 90 1C 01 88 */ stw r0, 0x188(r28)
/* 80292A3C 0028F99C 80 07 00 14 */ lwz r0, 0x14(r7)
/* 80292A40 0028F9A0 90 1C 01 8C */ stw r0, 0x18c(r28)
/* 80292A44 0028F9A4 C0 1C 01 8C */ lfs f0, 0x18c(r28)
/* 80292A48 0028F9A8 C0 BC 01 98 */ lfs f5, 0x198(r28)
/* 80292A4C 0028F9AC C0 3C 01 88 */ lfs f1, 0x188(r28)
/* 80292A50 0028F9B0 C0 9C 01 94 */ lfs f4, 0x194(r28)
/* 80292A54 0028F9B4 EC 40 01 72 */ fmuls f2, f0, f5
/* 80292A58 0028F9B8 C0 1C 01 84 */ lfs f0, 0x184(r28)
/* 80292A5C 0028F9BC C0 7C 01 90 */ lfs f3, 0x190(r28)
/* 80292A60 0028F9C0 EC 21 01 32 */ fmuls f1, f1, f4
/* 80292A64 0028F9C4 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80292A68 0028F9C8 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80292A6C 0028F9CC D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80292A70 0028F9D0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80292A74 0028F9D4 C0 5C 01 80 */ lfs f2, 0x180(r28)
/* 80292A78 0028F9D8 C0 3C 01 7C */ lfs f1, 0x17c(r28)
/* 80292A7C 0028F9DC C0 1C 01 78 */ lfs f0, 0x178(r28)
/* 80292A80 0028F9E0 EC 42 01 72 */ fmuls f2, f2, f5
/* 80292A84 0028F9E4 EC 21 01 32 */ fmuls f1, f1, f4
/* 80292A88 0028F9E8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80292A8C 0028F9EC D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80292A90 0028F9F0 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80292A94 0028F9F4 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80292A98 0028F9F8 48 0A 5A 71 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80292A9C 0028F9FC 80 61 00 48 */ lwz r3, 0x48(r1)
/* 80292AA0 0028FA00 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 80292AA4 0028FA04 90 7C 01 30 */ stw r3, 0x130(r28)
/* 80292AA8 0028FA08 90 1C 01 34 */ stw r0, 0x134(r28)
/* 80292AAC 0028FA0C 80 01 00 50 */ lwz r0, 0x50(r1)
/* 80292AB0 0028FA10 90 1C 01 38 */ stw r0, 0x138(r28)
/* 80292AB4 0028FA14 80 61 00 54 */ lwz r3, 0x54(r1)
/* 80292AB8 0028FA18 80 01 00 58 */ lwz r0, 0x58(r1)
/* 80292ABC 0028FA1C 90 7C 01 3C */ stw r3, 0x13c(r28)
/* 80292AC0 0028FA20 90 1C 01 40 */ stw r0, 0x140(r28)
/* 80292AC4 0028FA24 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 80292AC8 0028FA28 90 1C 01 44 */ stw r0, 0x144(r28)
/* 80292ACC 0028FA2C 48 00 00 6C */ b lbl_80292B38
.global lbl_80292AD0
lbl_80292AD0:
/* 80292AD0 0028FA30 80 1C 01 DC */ lwz r0, 0x1dc(r28)
/* 80292AD4 0028FA34 2C 00 00 02 */ cmpwi r0, 2
/* 80292AD8 0028FA38 40 82 00 60 */ bne lbl_80292B38
/* 80292ADC 0028FA3C C0 3C 01 CC */ lfs f1, 0x1cc(r28)
/* 80292AE0 0028FA40 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2)
/* 80292AE4 0028FA44 EC 01 00 2A */ fadds f0, f1, f0
/* 80292AE8 0028FA48 D0 1C 01 CC */ stfs f0, 0x1cc(r28)
/* 80292AEC 0028FA4C 48 00 00 4C */ b lbl_80292B38
.global lbl_80292AF0
lbl_80292AF0:
/* 80292AF0 0028FA50 7F 83 E3 78 */ mr r3, r28
/* 80292AF4 0028FA54 7F E4 FB 78 */ mr r4, r31
/* 80292AF8 0028FA58 48 00 07 15 */ bl sub_8029320c
/* 80292AFC 0028FA5C 48 00 00 3C */ b lbl_80292B38
.global lbl_80292B00
lbl_80292B00:
/* 80292B00 0028FA60 88 9C 01 E0 */ lbz r4, 0x1e0(r28)
/* 80292B04 0028FA64 54 80 D7 FE */ rlwinm r0, r4, 0x1a, 0x1f, 0x1f
/* 80292B08 0028FA68 28 00 00 01 */ cmplwi r0, 1
/* 80292B0C 0028FA6C 41 82 00 2C */ beq lbl_80292B38
/* 80292B10 0028FA70 38 00 00 01 */ li r0, 1
/* 80292B14 0028FA74 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80292B18 0028FA78 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19
/* 80292B1C 0028FA7C 98 9C 01 E0 */ stb r4, 0x1e0(r28)
/* 80292B20 0028FA80 38 80 00 00 */ li r4, 0
/* 80292B24 0028FA84 D0 1C 01 C4 */ stfs f0, 0x1c4(r28)
/* 80292B28 0028FA88 4B FF FA B9 */ bl sub_802925e0
/* 80292B2C 0028FA8C 48 00 00 0C */ b lbl_80292B38
.global lbl_80292B30
lbl_80292B30:
/* 80292B30 0028FA90 7F E4 FB 78 */ mr r4, r31
/* 80292B34 0028FA94 4B FF FA E5 */ bl sub_80292618
.global lbl_80292B38
lbl_80292B38:
/* 80292B38 0028FA98 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80292B3C 0028FA9C 7F 83 E3 78 */ mr r3, r28
/* 80292B40 0028FAA0 7F A4 EB 78 */ mr r4, r29
/* 80292B44 0028FAA4 7F E6 FB 78 */ mr r6, r31
/* 80292B48 0028FAA8 B0 01 00 08 */ sth r0, 8(r1)
/* 80292B4C 0028FAAC 38 A1 00 08 */ addi r5, r1, 8
/* 80292B50 0028FAB0 4B DE 39 A9 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80292B54 0028FAB4 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80292B58 0028FAB8 83 E1 00 9C */ lwz r31, 0x9c(r1)
/* 80292B5C 0028FABC 83 C1 00 98 */ lwz r30, 0x98(r1)
/* 80292B60 0028FAC0 83 A1 00 94 */ lwz r29, 0x94(r1)
/* 80292B64 0028FAC4 83 81 00 90 */ lwz r28, 0x90(r1)
/* 80292B68 0028FAC8 7C 08 03 A6 */ mtlr r0
/* 80292B6C 0028FACC 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80292B70 0028FAD0 4E 80 00 20 */ blr
.global GetTouchBounds__11CPhazonPoolCFv
GetTouchBounds__11CPhazonPoolCFv:
/* 80292B74 0028FAD4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80292B78 0028FAD8 7C 08 02 A6 */ mflr r0
/* 80292B7C 0028FADC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80292B80 0028FAE0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80292B84 0028FAE4 7C 7F 1B 78 */ mr r31, r3
/* 80292B88 0028FAE8 4B DE 3A BD */ bl GetTouchBounds__14CScriptTriggerCFv
/* 80292B8C 0028FAEC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80292B90 0028FAF0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80292B94 0028FAF4 7C 08 03 A6 */ mtlr r0
/* 80292B98 0028FAF8 38 21 00 10 */ addi r1, r1, 0x10
/* 80292B9C 0028FAFC 4E 80 00 20 */ blr
.global Touch__11CPhazonPoolFR6CActorR13CStateManager
Touch__11CPhazonPoolFR6CActorR13CStateManager:
/* 80292BA0 0028FB00 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80292BA4 0028FB04 7C 08 02 A6 */ mflr r0
/* 80292BA8 0028FB08 90 01 00 74 */ stw r0, 0x74(r1)
/* 80292BAC 0028FB0C BF 21 00 54 */ stmw r25, 0x54(r1)
/* 80292BB0 0028FB10 7C 7D 1B 78 */ mr r29, r3
/* 80292BB4 0028FB14 7C 9E 23 78 */ mr r30, r4
/* 80292BB8 0028FB18 7C BF 2B 78 */ mr r31, r5
/* 80292BBC 0028FB1C 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80292BC0 0028FB20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80292BC4 0028FB24 41 82 01 88 */ beq lbl_80292D4C
/* 80292BC8 0028FB28 80 1D 01 DC */ lwz r0, 0x1dc(r29)
/* 80292BCC 0028FB2C 2C 00 00 02 */ cmpwi r0, 2
/* 80292BD0 0028FB30 41 82 00 08 */ beq lbl_80292BD8
/* 80292BD4 0028FB34 48 00 01 78 */ b lbl_80292D4C
lbl_80292BD8:
/* 80292BD8 0028FB38 4B DE 3B 71 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager
/* 80292BDC 0028FB3C 80 7E 00 68 */ lwz r3, 0x68(r30)
/* 80292BE0 0028FB40 38 00 00 04 */ li r0, 4
/* 80292BE4 0028FB44 80 BE 00 6C */ lwz r5, 0x6c(r30)
/* 80292BE8 0028FB48 38 80 00 00 */ li r4, 0
/* 80292BEC 0028FB4C 7C 60 00 38 */ and r0, r3, r0
/* 80292BF0 0028FB50 7C A3 20 38 */ and r3, r5, r4
/* 80292BF4 0028FB54 7C 63 22 78 */ xor r3, r3, r4
/* 80292BF8 0028FB58 7C 00 22 78 */ xor r0, r0, r4
/* 80292BFC 0028FB5C 7C 60 03 79 */ or. r0, r3, r0
/* 80292C00 0028FB60 40 82 01 4C */ bne lbl_80292D4C
/* 80292C04 0028FB64 80 9D 01 54 */ lwz r4, 0x154(r29)
/* 80292C08 0028FB68 80 BD 01 58 */ lwz r5, 0x158(r29)
/* 80292C0C 0028FB6C 48 00 00 24 */ b lbl_80292C30
lbl_80292C10:
/* 80292C10 0028FB70 A0 64 00 08 */ lhz r3, 8(r4)
/* 80292C14 0028FB74 A0 1E 00 08 */ lhz r0, 8(r30)
/* 80292C18 0028FB78 7C 03 00 40 */ cmplw r3, r0
/* 80292C1C 0028FB7C 40 82 00 10 */ bne lbl_80292C2C
/* 80292C20 0028FB80 38 00 00 01 */ li r0, 1
/* 80292C24 0028FB84 98 04 00 0A */ stb r0, 0xa(r4)
/* 80292C28 0028FB88 48 00 01 24 */ b lbl_80292D4C
lbl_80292C2C:
/* 80292C2C 0028FB8C 80 84 00 04 */ lwz r4, 4(r4)
lbl_80292C30:
/* 80292C30 0028FB90 7C 04 28 40 */ cmplw r4, r5
/* 80292C34 0028FB94 40 82 FF DC */ bne lbl_80292C10
/* 80292C38 0028FB98 7F C4 F3 78 */ mr r4, r30
/* 80292C3C 0028FB9C 38 61 00 10 */ addi r3, r1, 0x10
/* 80292C40 0028FBA0 81 9E 00 00 */ lwz r12, 0(r30)
/* 80292C44 0028FBA4 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80292C48 0028FBA8 7D 89 03 A6 */ mtctr r12
/* 80292C4C 0028FBAC 4E 80 04 21 */ bctrl
/* 80292C50 0028FBB0 88 01 00 28 */ lbz r0, 0x28(r1)
/* 80292C54 0028FBB4 28 00 00 00 */ cmplwi r0, 0
/* 80292C58 0028FBB8 98 01 00 44 */ stb r0, 0x44(r1)
/* 80292C5C 0028FBBC 41 82 00 3C */ beq lbl_80292C98
/* 80292C60 0028FBC0 34 61 00 2C */ addic. r3, r1, 0x2c
/* 80292C64 0028FBC4 41 82 00 34 */ beq lbl_80292C98
/* 80292C68 0028FBC8 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80292C6C 0028FBCC D0 03 00 00 */ stfs f0, 0(r3)
/* 80292C70 0028FBD0 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80292C74 0028FBD4 D0 03 00 04 */ stfs f0, 4(r3)
/* 80292C78 0028FBD8 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80292C7C 0028FBDC D0 03 00 08 */ stfs f0, 8(r3)
/* 80292C80 0028FBE0 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80292C84 0028FBE4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80292C88 0028FBE8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80292C8C 0028FBEC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80292C90 0028FBF0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80292C94 0028FBF4 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_80292C98:
/* 80292C98 0028FBF8 88 01 00 44 */ lbz r0, 0x44(r1)
/* 80292C9C 0028FBFC 38 60 00 00 */ li r3, 0
/* 80292CA0 0028FC00 98 61 00 28 */ stb r3, 0x28(r1)
/* 80292CA4 0028FC04 28 00 00 00 */ cmplwi r0, 0
/* 80292CA8 0028FC08 40 82 00 0C */ bne lbl_80292CB4
/* 80292CAC 0028FC0C 98 61 00 44 */ stb r3, 0x44(r1)
/* 80292CB0 0028FC10 48 00 00 9C */ b lbl_80292D4C
lbl_80292CB4:
/* 80292CB4 0028FC14 83 7D 01 58 */ lwz r27, 0x158(r29)
/* 80292CB8 0028FC18 3C 60 80 3D */ lis r3, lbl_803D5B78@ha
/* 80292CBC 0028FC1C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l
/* 80292CC0 0028FC20 A3 3E 00 08 */ lhz r25, 8(r30)
/* 80292CC4 0028FC24 8B 8D 99 C0 */ lbz r28, lbl_805A8580@sda21(r13)
/* 80292CC8 0028FC28 38 60 00 0C */ li r3, 0xc
/* 80292CCC 0028FC2C 83 5B 00 00 */ lwz r26, 0(r27)
/* 80292CD0 0028FC30 38 A0 00 00 */ li r5, 0
/* 80292CD4 0028FC34 48 08 2B 45 */ bl __nwa__FUlPCcPCc
/* 80292CD8 0028FC38 28 03 00 00 */ cmplwi r3, 0
/* 80292CDC 0028FC3C 41 82 00 0C */ beq lbl_80292CE8
/* 80292CE0 0028FC40 93 43 00 00 */ stw r26, 0(r3)
/* 80292CE4 0028FC44 93 63 00 04 */ stw r27, 4(r3)
lbl_80292CE8:
/* 80292CE8 0028FC48 34 83 00 08 */ addic. r4, r3, 8
/* 80292CEC 0028FC4C 41 82 00 0C */ beq lbl_80292CF8
/* 80292CF0 0028FC50 B3 24 00 00 */ sth r25, 0(r4)
/* 80292CF4 0028FC54 9B 84 00 02 */ stb r28, 2(r4)
lbl_80292CF8:
/* 80292CF8 0028FC58 80 1D 01 54 */ lwz r0, 0x154(r29)
/* 80292CFC 0028FC5C 7C 1B 00 40 */ cmplw r27, r0
/* 80292D00 0028FC60 40 82 00 08 */ bne lbl_80292D08
/* 80292D04 0028FC64 90 7D 01 54 */ stw r3, 0x154(r29)
lbl_80292D08:
/* 80292D08 0028FC68 80 E3 00 00 */ lwz r7, 0(r3)
/* 80292D0C 0028FC6C 7F C4 F3 78 */ mr r4, r30
/* 80292D10 0028FC70 38 A1 00 0C */ addi r5, r1, 0xc
/* 80292D14 0028FC74 38 C0 00 2D */ li r6, 0x2d
/* 80292D18 0028FC78 90 67 00 04 */ stw r3, 4(r7)
/* 80292D1C 0028FC7C 80 E3 00 04 */ lwz r7, 4(r3)
/* 80292D20 0028FC80 90 67 00 00 */ stw r3, 0(r7)
/* 80292D24 0028FC84 7F E3 FB 78 */ mr r3, r31
/* 80292D28 0028FC88 80 FD 01 64 */ lwz r7, 0x164(r29)
/* 80292D2C 0028FC8C 38 07 00 01 */ addi r0, r7, 1
/* 80292D30 0028FC90 90 1D 01 64 */ stw r0, 0x164(r29)
/* 80292D34 0028FC94 A0 1D 00 08 */ lhz r0, 8(r29)
/* 80292D38 0028FC98 B0 01 00 08 */ sth r0, 8(r1)
/* 80292D3C 0028FC9C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80292D40 0028FCA0 4B DB 11 91 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
/* 80292D44 0028FCA4 38 00 00 00 */ li r0, 0
/* 80292D48 0028FCA8 98 01 00 44 */ stb r0, 0x44(r1)
lbl_80292D4C:
/* 80292D4C 0028FCAC BB 21 00 54 */ lmw r25, 0x54(r1)
/* 80292D50 0028FCB0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80292D54 0028FCB4 7C 08 03 A6 */ mtlr r0
/* 80292D58 0028FCB8 38 21 00 70 */ addi r1, r1, 0x70
/* 80292D5C 0028FCBC 4E 80 00 20 */ blr
.global Think__11CPhazonPoolFfR13CStateManager
Think__11CPhazonPoolFfR13CStateManager:
/* 80292D60 0028FCC0 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 80292D64 0028FCC4 7C 08 02 A6 */ mflr r0
/* 80292D68 0028FCC8 90 01 01 04 */ stw r0, 0x104(r1)
/* 80292D6C 0028FCCC DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 80292D70 0028FCD0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 80292D74 0028FCD4 DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 80292D78 0028FCD8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 80292D7C 0028FCDC DB A1 00 D0 */ stfd f29, 0xd0(r1)
/* 80292D80 0028FCE0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0
/* 80292D84 0028FCE4 DB 81 00 C0 */ stfd f28, 0xc0(r1)
/* 80292D88 0028FCE8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0
/* 80292D8C 0028FCEC 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 80292D90 0028FCF0 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 80292D94 0028FCF4 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 80292D98 0028FCF8 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80292D9C 0028FCFC FF C0 08 90 */ fmr f30, f1
/* 80292DA0 0028FD00 7C 7E 1B 78 */ mr r30, r3
/* 80292DA4 0028FD04 7C 9F 23 78 */ mr r31, r4
/* 80292DA8 0028FD08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80292DAC 0028FD0C 41 82 04 24 */ beq lbl_802931D0
/* 80292DB0 0028FD10 4B DE 37 1D */ bl Think__14CScriptTriggerFfR13CStateManager
/* 80292DB4 0028FD14 7F C3 F3 78 */ mr r3, r30
/* 80292DB8 0028FD18 7F E4 FB 78 */ mr r4, r31
/* 80292DBC 0028FD1C 4B FF F8 FD */ bl UpdateInhabitants__11CPhazonPoolFR13CStateManager
/* 80292DC0 0028FD20 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 80292DC4 0028FD24 C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 80292DC8 0028FD28 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80292DCC 0028FD2C D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 80292DD0 0028FD30 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 80292DD4 0028FD34 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 80292DD8 0028FD38 80 1E 01 DC */ lwz r0, 0x1dc(r30)
/* 80292DDC 0028FD3C 2C 00 00 01 */ cmpwi r0, 1
/* 80292DE0 0028FD40 40 82 00 0C */ bne lbl_80292DEC
/* 80292DE4 0028FD44 C0 7E 01 A4 */ lfs f3, 0x1a4(r30)
/* 80292DE8 0028FD48 48 00 00 08 */ b lbl_80292DF0
lbl_80292DEC:
/* 80292DEC 0028FD4C C0 62 BF 1C */ lfs f3, lbl_805ADC3C@sda21(r2)
lbl_80292DF0:
/* 80292DF0 0028FD50 C0 1E 01 90 */ lfs f0, 0x190(r30)
/* 80292DF4 0028FD54 38 61 00 80 */ addi r3, r1, 0x80
/* 80292DF8 0028FD58 C0 5E 01 94 */ lfs f2, 0x194(r30)
/* 80292DFC 0028FD5C 38 81 00 50 */ addi r4, r1, 0x50
/* 80292E00 0028FD60 C0 3E 01 98 */ lfs f1, 0x198(r30)
/* 80292E04 0028FD64 EF E3 00 32 */ fmuls f31, f3, f0
/* 80292E08 0028FD68 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80292E0C 0028FD6C EF 83 00 B2 */ fmuls f28, f3, f2
/* 80292E10 0028FD70 EF A3 00 72 */ fmuls f29, f3, f1
/* 80292E14 0028FD74 38 A1 00 44 */ addi r5, r1, 0x44
/* 80292E18 0028FD78 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 80292E1C 0028FD7C 38 C1 00 38 */ addi r6, r1, 0x38
/* 80292E20 0028FD80 38 E1 00 5C */ addi r7, r1, 0x5c
/* 80292E24 0028FD84 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80292E28 0028FD88 D3 A1 00 40 */ stfs f29, 0x40(r1)
/* 80292E2C 0028FD8C D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80292E30 0028FD90 D3 81 00 48 */ stfs f28, 0x48(r1)
/* 80292E34 0028FD94 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80292E38 0028FD98 D3 E1 00 50 */ stfs f31, 0x50(r1)
/* 80292E3C 0028FD9C D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80292E40 0028FDA0 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80292E44 0028FDA4 48 07 FF B5 */ bl FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f
/* 80292E48 0028FDA8 38 7E 00 34 */ addi r3, r30, 0x34
/* 80292E4C 0028FDAC 38 81 00 80 */ addi r4, r1, 0x80
/* 80292E50 0028FDB0 48 07 FC F1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80292E54 0028FDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 80292E58 0028FDB8 38 C0 00 01 */ li r6, 1
/* 80292E5C 0028FDBC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 80292E60 0028FDC0 38 61 00 68 */ addi r3, r1, 0x68
/* 80292E64 0028FDC4 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 80292E68 0028FDC8 38 81 00 2C */ addi r4, r1, 0x2c
/* 80292E6C 0028FDCC 38 A1 00 20 */ addi r5, r1, 0x20
/* 80292E70 0028FDD0 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 80292E74 0028FDD4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c
/* 80292E78 0028FDD8 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 80292E7C 0028FDDC 88 1E 00 E4 */ lbz r0, 0xe4(r30)
/* 80292E80 0028FDE0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d
/* 80292E84 0028FDE4 98 1E 00 E4 */ stb r0, 0xe4(r30)
/* 80292E88 0028FDE8 C0 5E 01 8C */ lfs f2, 0x18c(r30)
/* 80292E8C 0028FDEC C0 3E 01 88 */ lfs f1, 0x188(r30)
/* 80292E90 0028FDF0 C0 1E 01 84 */ lfs f0, 0x184(r30)
/* 80292E94 0028FDF4 EC 42 07 72 */ fmuls f2, f2, f29
/* 80292E98 0028FDF8 EC 21 07 32 */ fmuls f1, f1, f28
/* 80292E9C 0028FDFC EC 00 07 F2 */ fmuls f0, f0, f31
/* 80292EA0 0028FE00 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80292EA4 0028FE04 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80292EA8 0028FE08 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80292EAC 0028FE0C C0 5E 01 80 */ lfs f2, 0x180(r30)
/* 80292EB0 0028FE10 C0 3E 01 7C */ lfs f1, 0x17c(r30)
/* 80292EB4 0028FE14 C0 1E 01 78 */ lfs f0, 0x178(r30)
/* 80292EB8 0028FE18 EC 42 07 72 */ fmuls f2, f2, f29
/* 80292EBC 0028FE1C EC 21 07 32 */ fmuls f1, f1, f28
/* 80292EC0 0028FE20 EC 00 07 F2 */ fmuls f0, f0, f31
/* 80292EC4 0028FE24 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80292EC8 0028FE28 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80292ECC 0028FE2C D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80292ED0 0028FE30 48 0A 56 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80292ED4 0028FE34 80 61 00 68 */ lwz r3, 0x68(r1)
/* 80292ED8 0028FE38 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 80292EDC 0028FE3C C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2)
/* 80292EE0 0028FE40 90 7E 01 30 */ stw r3, 0x130(r30)
/* 80292EE4 0028FE44 90 1E 01 34 */ stw r0, 0x134(r30)
/* 80292EE8 0028FE48 80 01 00 70 */ lwz r0, 0x70(r1)
/* 80292EEC 0028FE4C 90 1E 01 38 */ stw r0, 0x138(r30)
/* 80292EF0 0028FE50 80 61 00 74 */ lwz r3, 0x74(r1)
/* 80292EF4 0028FE54 80 01 00 78 */ lwz r0, 0x78(r1)
/* 80292EF8 0028FE58 90 7E 01 3C */ stw r3, 0x13c(r30)
/* 80292EFC 0028FE5C 90 1E 01 40 */ stw r0, 0x140(r30)
/* 80292F00 0028FE60 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 80292F04 0028FE64 90 1E 01 44 */ stw r0, 0x144(r30)
/* 80292F08 0028FE68 C0 5E 01 B0 */ lfs f2, 0x1b0(r30)
/* 80292F0C 0028FE6C C0 3E 01 A8 */ lfs f1, 0x1a8(r30)
/* 80292F10 0028FE70 EC 3E 08 BA */ fmadds f1, f30, f2, f1
/* 80292F14 0028FE74 D0 3E 01 A8 */ stfs f1, 0x1a8(r30)
/* 80292F18 0028FE78 C0 5E 01 B4 */ lfs f2, 0x1b4(r30)
/* 80292F1C 0028FE7C C0 3E 01 AC */ lfs f1, 0x1ac(r30)
/* 80292F20 0028FE80 EC 3E 08 BA */ fmadds f1, f30, f2, f1
/* 80292F24 0028FE84 D0 3E 01 AC */ stfs f1, 0x1ac(r30)
/* 80292F28 0028FE88 C0 3E 01 A8 */ lfs f1, 0x1a8(r30)
/* 80292F2C 0028FE8C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80292F30 0028FE90 40 81 00 0C */ ble lbl_80292F3C
/* 80292F34 0028FE94 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80292F38 0028FE98 D0 1E 01 A8 */ stfs f0, 0x1a8(r30)
lbl_80292F3C:
/* 80292F3C 0028FE9C C0 3E 01 AC */ lfs f1, 0x1ac(r30)
/* 80292F40 0028FEA0 C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2)
/* 80292F44 0028FEA4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80292F48 0028FEA8 40 81 00 0C */ ble lbl_80292F54
/* 80292F4C 0028FEAC C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80292F50 0028FEB0 D0 1E 01 AC */ stfs f0, 0x1ac(r30)
lbl_80292F54:
/* 80292F54 0028FEB4 83 BE 01 70 */ lwz r29, 0x170(r30)
/* 80292F58 0028FEB8 28 1D 00 00 */ cmplwi r29, 0
/* 80292F5C 0028FEBC 41 82 00 70 */ beq lbl_80292FCC
/* 80292F60 0028FEC0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30)
/* 80292F64 0028FEC4 38 61 00 10 */ addi r3, r1, 0x10
/* 80292F68 0028FEC8 FC 40 08 90 */ fmr f2, f1
/* 80292F6C 0028FECC FC 60 08 90 */ fmr f3, f1
/* 80292F70 0028FED0 FC 80 08 90 */ fmr f4, f1
/* 80292F74 0028FED4 48 0D 04 79 */ bl __ct__6CColorFffff
/* 80292F78 0028FED8 81 9D 00 00 */ lwz r12, 0(r29)
/* 80292F7C 0028FEDC 7C 64 1B 78 */ mr r4, r3
/* 80292F80 0028FEE0 7F A3 EB 78 */ mr r3, r29
/* 80292F84 0028FEE4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80292F88 0028FEE8 7D 89 03 A6 */ mtctr r12
/* 80292F8C 0028FEEC 4E 80 04 21 */ bctrl
/* 80292F90 0028FEF0 D3 E1 00 14 */ stfs f31, 0x14(r1)
/* 80292F94 0028FEF4 38 81 00 14 */ addi r4, r1, 0x14
/* 80292F98 0028FEF8 D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 80292F9C 0028FEFC D3 E1 00 1C */ stfs f31, 0x1c(r1)
/* 80292FA0 0028FF00 80 7E 01 70 */ lwz r3, 0x170(r30)
/* 80292FA4 0028FF04 81 83 00 00 */ lwz r12, 0(r3)
/* 80292FA8 0028FF08 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80292FAC 0028FF0C 7D 89 03 A6 */ mtctr r12
/* 80292FB0 0028FF10 4E 80 04 21 */ bctrl
/* 80292FB4 0028FF14 80 7E 01 70 */ lwz r3, 0x170(r30)
/* 80292FB8 0028FF18 FC 20 F0 90 */ fmr f1, f30
/* 80292FBC 0028FF1C 81 83 00 00 */ lwz r12, 0(r3)
/* 80292FC0 0028FF20 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80292FC4 0028FF24 7D 89 03 A6 */ mtctr r12
/* 80292FC8 0028FF28 4E 80 04 21 */ bctrl
lbl_80292FCC:
/* 80292FCC 0028FF2C 80 7E 01 74 */ lwz r3, 0x174(r30)
/* 80292FD0 0028FF30 28 03 00 00 */ cmplwi r3, 0
/* 80292FD4 0028FF34 41 82 00 18 */ beq lbl_80292FEC
/* 80292FD8 0028FF38 81 83 00 00 */ lwz r12, 0(r3)
/* 80292FDC 0028FF3C FC 20 F0 90 */ fmr f1, f30
/* 80292FE0 0028FF40 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80292FE4 0028FF44 7D 89 03 A6 */ mtctr r12
/* 80292FE8 0028FF48 4E 80 04 21 */ bctrl
lbl_80292FEC:
/* 80292FEC 0028FF4C 80 1E 01 DC */ lwz r0, 0x1dc(r30)
/* 80292FF0 0028FF50 3B A0 00 00 */ li r29, 0
/* 80292FF4 0028FF54 2C 00 00 02 */ cmpwi r0, 2
/* 80292FF8 0028FF58 41 82 00 9C */ beq lbl_80293094
/* 80292FFC 0028FF5C 40 80 00 10 */ bge lbl_8029300C
/* 80293000 0028FF60 2C 00 00 01 */ cmpwi r0, 1
/* 80293004 0028FF64 40 80 00 14 */ bge lbl_80293018
/* 80293008 0028FF68 48 00 01 A8 */ b lbl_802931B0
lbl_8029300C:
/* 8029300C 0028FF6C 2C 00 00 04 */ cmpwi r0, 4
/* 80293010 0028FF70 40 80 01 A0 */ bge lbl_802931B0
/* 80293014 0028FF74 48 00 01 6C */ b lbl_80293180
lbl_80293018:
/* 80293018 0028FF78 C0 3E 01 D4 */ lfs f1, 0x1d4(r30)
/* 8029301C 0028FF7C C0 02 BF 28 */ lfs f0, lbl_805ADC48@sda21(r2)
/* 80293020 0028FF80 EC 21 F0 2A */ fadds f1, f1, f30
/* 80293024 0028FF84 D0 3E 01 D4 */ stfs f1, 0x1d4(r30)
/* 80293028 0028FF88 C0 3E 01 D4 */ lfs f1, 0x1d4(r30)
/* 8029302C 0028FF8C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80293030 0028FF90 40 81 01 80 */ ble lbl_802931B0
/* 80293034 0028FF94 D0 1E 01 D4 */ stfs f0, 0x1d4(r30)
/* 80293038 0028FF98 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2)
/* 8029303C 0028FF9C C0 5E 01 B8 */ lfs f2, 0x1b8(r30)
/* 80293040 0028FFA0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30)
/* 80293044 0028FFA4 EC 3E 08 BA */ fmadds f1, f30, f2, f1
/* 80293048 0028FFA8 D0 3E 01 A4 */ stfs f1, 0x1a4(r30)
/* 8029304C 0028FFAC C0 3E 01 A4 */ lfs f1, 0x1a4(r30)
/* 80293050 0028FFB0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80293054 0028FFB4 40 81 01 5C */ ble lbl_802931B0
/* 80293058 0028FFB8 D0 1E 01 A4 */ stfs f0, 0x1a4(r30)
/* 8029305C 0028FFBC 38 00 00 02 */ li r0, 2
/* 80293060 0028FFC0 7F C3 F3 78 */ mr r3, r30
/* 80293064 0028FFC4 38 80 00 01 */ li r4, 1
/* 80293068 0028FFC8 90 1E 01 DC */ stw r0, 0x1dc(r30)
/* 8029306C 0028FFCC 4B FF F5 75 */ bl sub_802925e0
/* 80293070 0028FFD0 80 7E 01 74 */ lwz r3, 0x174(r30)
/* 80293074 0028FFD4 28 03 00 00 */ cmplwi r3, 0
/* 80293078 0028FFD8 41 82 01 38 */ beq lbl_802931B0
/* 8029307C 0028FFDC 81 83 00 00 */ lwz r12, 0(r3)
/* 80293080 0028FFE0 38 80 00 00 */ li r4, 0
/* 80293084 0028FFE4 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80293088 0028FFE8 7D 89 03 A6 */ mtctr r12
/* 8029308C 0028FFEC 4E 80 04 21 */ bctrl
/* 80293090 0028FFF0 48 00 01 20 */ b lbl_802931B0
lbl_80293094:
/* 80293094 0028FFF4 88 7E 01 E0 */ lbz r3, 0x1e0(r30)
/* 80293098 0028FFF8 C0 82 BF 20 */ lfs f4, lbl_805ADC40@sda21(r2)
/* 8029309C 0028FFFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 802930A0 00290000 40 82 00 0C */ bne lbl_802930AC
/* 802930A4 00290004 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 802930A8 00290008 41 82 00 2C */ beq lbl_802930D4
lbl_802930AC:
/* 802930AC 0029000C C0 3E 01 C4 */ lfs f1, 0x1c4(r30)
/* 802930B0 00290010 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 802930B4 00290014 EC 21 F0 28 */ fsubs f1, f1, f30
/* 802930B8 00290018 D0 3E 01 C4 */ stfs f1, 0x1c4(r30)
/* 802930BC 0029001C C0 3E 01 C4 */ lfs f1, 0x1c4(r30)
/* 802930C0 00290020 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802930C4 00290024 4C 40 13 82 */ cror 2, 0, 2
/* 802930C8 00290028 40 82 00 0C */ bne lbl_802930D4
/* 802930CC 0029002C D0 1E 01 C4 */ stfs f0, 0x1c4(r30)
/* 802930D0 00290030 FC 80 F0 90 */ fmr f4, f30
lbl_802930D4:
/* 802930D4 00290034 C0 1E 01 CC */ lfs f0, 0x1cc(r30)
/* 802930D8 00290038 C0 5E 01 BC */ lfs f2, 0x1bc(r30)
/* 802930DC 0029003C EC 3E 00 32 */ fmuls f1, f30, f0
/* 802930E0 00290040 C0 7E 01 A0 */ lfs f3, 0x1a0(r30)
/* 802930E4 00290044 C0 02 BF 2C */ lfs f0, lbl_805ADC4C@sda21(r2)
/* 802930E8 00290048 EC 22 00 72 */ fmuls f1, f2, f1
/* 802930EC 0029004C EC 21 20 2A */ fadds f1, f1, f4
/* 802930F0 00290050 EC 23 08 28 */ fsubs f1, f3, f1
/* 802930F4 00290054 D0 3E 01 A0 */ stfs f1, 0x1a0(r30)
/* 802930F8 00290058 C0 5E 01 A0 */ lfs f2, 0x1a0(r30)
/* 802930FC 0029005C C0 3E 01 9C */ lfs f1, 0x19c(r30)
/* 80293100 00290060 EC 22 08 24 */ fdivs f1, f2, f1
/* 80293104 00290064 D0 3E 01 A4 */ stfs f1, 0x1a4(r30)
/* 80293108 00290068 C0 3E 01 A4 */ lfs f1, 0x1a4(r30)
/* 8029310C 0029006C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80293110 00290070 40 80 00 64 */ bge lbl_80293174
/* 80293114 00290074 88 1E 01 E0 */ lbz r0, 0x1e0(r30)
/* 80293118 00290078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029311C 0029007C 41 82 00 0C */ beq lbl_80293128
/* 80293120 00290080 3B A0 00 01 */ li r29, 1
/* 80293124 00290084 48 00 00 44 */ b lbl_80293168
lbl_80293128:
/* 80293128 00290088 7F C3 F3 78 */ mr r3, r30
/* 8029312C 0029008C 38 80 00 00 */ li r4, 0
/* 80293130 00290090 4B DC 12 89 */ bl SetCallTouch__6CActorFb
/* 80293134 00290094 88 1E 01 E0 */ lbz r0, 0x1e0(r30)
/* 80293138 00290098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8029313C 0029009C 40 82 00 18 */ bne lbl_80293154
/* 80293140 002900A0 38 00 00 03 */ li r0, 3
/* 80293144 002900A4 90 1E 01 DC */ stw r0, 0x1dc(r30)
/* 80293148 002900A8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30)
/* 8029314C 002900AC D0 1E 01 D0 */ stfs f0, 0x1d0(r30)
/* 80293150 002900B0 48 00 00 18 */ b lbl_80293168
lbl_80293154:
/* 80293154 002900B4 38 00 00 00 */ li r0, 0
/* 80293158 002900B8 7F C3 F3 78 */ mr r3, r30
/* 8029315C 002900BC 90 1E 01 DC */ stw r0, 0x1dc(r30)
/* 80293160 002900C0 38 80 00 00 */ li r4, 0
/* 80293164 002900C4 4B DC 06 E9 */ bl SetActive__6CActorFb
lbl_80293168:
/* 80293168 002900C8 7F C3 F3 78 */ mr r3, r30
/* 8029316C 002900CC 38 80 00 00 */ li r4, 0
/* 80293170 002900D0 4B FF F4 71 */ bl sub_802925e0
lbl_80293174:
/* 80293174 002900D4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80293178 002900D8 D0 1E 01 CC */ stfs f0, 0x1cc(r30)
/* 8029317C 002900DC 48 00 00 34 */ b lbl_802931B0
lbl_80293180:
/* 80293180 002900E0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30)
/* 80293184 002900E4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80293188 002900E8 EC 21 F0 28 */ fsubs f1, f1, f30
/* 8029318C 002900EC D0 3E 01 D0 */ stfs f1, 0x1d0(r30)
/* 80293190 002900F0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30)
/* 80293194 002900F4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80293198 002900F8 4C 40 13 82 */ cror 2, 0, 2
/* 8029319C 002900FC 40 82 00 14 */ bne lbl_802931B0
/* 802931A0 00290100 D0 1E 01 D0 */ stfs f0, 0x1d0(r30)
/* 802931A4 00290104 7F C3 F3 78 */ mr r3, r30
/* 802931A8 00290108 7F E4 FB 78 */ mr r4, r31
/* 802931AC 0029010C 48 00 00 61 */ bl sub_8029320c
lbl_802931B0:
/* 802931B0 00290110 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 802931B4 00290114 41 82 00 1C */ beq lbl_802931D0
/* 802931B8 00290118 A0 1E 00 08 */ lhz r0, 8(r30)
/* 802931BC 0029011C 7F E3 FB 78 */ mr r3, r31
/* 802931C0 00290120 38 81 00 0C */ addi r4, r1, 0xc
/* 802931C4 00290124 B0 01 00 08 */ sth r0, 8(r1)
/* 802931C8 00290128 B0 01 00 0C */ sth r0, 0xc(r1)
/* 802931CC 0029012C 4B DB 90 A1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_802931D0:
/* 802931D0 00290130 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 802931D4 00290134 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 802931D8 00290138 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 802931DC 0029013C CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 802931E0 00290140 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0
/* 802931E4 00290144 CB A1 00 D0 */ lfd f29, 0xd0(r1)
/* 802931E8 00290148 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0
/* 802931EC 0029014C CB 81 00 C0 */ lfd f28, 0xc0(r1)
/* 802931F0 00290150 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 802931F4 00290154 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 802931F8 00290158 80 01 01 04 */ lwz r0, 0x104(r1)
/* 802931FC 0029015C 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 80293200 00290160 7C 08 03 A6 */ mtlr r0
/* 80293204 00290164 38 21 01 00 */ addi r1, r1, 0x100
/* 80293208 00290168 4E 80 00 20 */ blr
.global sub_8029320c
sub_8029320c:
/* 8029320C 0029016C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80293210 00290170 7C 08 02 A6 */ mflr r0
/* 80293214 00290174 C0 22 BF 30 */ lfs f1, lbl_805ADC50@sda21(r2)
/* 80293218 00290178 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029321C 0029017C C0 42 BF 18 */ lfs f2, lbl_805ADC38@sda21(r2)
/* 80293220 00290180 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80293224 00290184 7C 9F 23 78 */ mr r31, r4
/* 80293228 00290188 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8029322C 0029018C 7C 7E 1B 78 */ mr r30, r3
/* 80293230 00290190 80 64 09 00 */ lwz r3, 0x900(r4)
/* 80293234 00290194 48 07 F3 11 */ bl Range__9CRandom16Fff
/* 80293238 00290198 D0 3E 01 B0 */ stfs f1, 0x1b0(r30)
/* 8029323C 0029019C C0 22 BF 34 */ lfs f1, lbl_805ADC54@sda21(r2)
/* 80293240 002901A0 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80293244 002901A4 C0 42 BF 1C */ lfs f2, lbl_805ADC3C@sda21(r2)
/* 80293248 002901A8 48 07 F2 FD */ bl Range__9CRandom16Fff
/* 8029324C 002901AC D0 3E 01 B4 */ stfs f1, 0x1b4(r30)
/* 80293250 002901B0 C0 22 BF 38 */ lfs f1, lbl_805ADC58@sda21(r2)
/* 80293254 002901B4 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80293258 002901B8 C0 42 BF 28 */ lfs f2, lbl_805ADC48@sda21(r2)
/* 8029325C 002901BC 48 07 F2 E9 */ bl Range__9CRandom16Fff
/* 80293260 002901C0 D0 3E 01 B8 */ stfs f1, 0x1b8(r30)
/* 80293264 002901C4 38 00 00 01 */ li r0, 1
/* 80293268 002901C8 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 8029326C 002901CC 38 60 00 00 */ li r3, 0
/* 80293270 002901D0 D0 1E 01 CC */ stfs f0, 0x1cc(r30)
/* 80293274 002901D4 D0 1E 01 D4 */ stfs f0, 0x1d4(r30)
/* 80293278 002901D8 C0 1E 01 C0 */ lfs f0, 0x1c0(r30)
/* 8029327C 002901DC D0 1E 01 C4 */ stfs f0, 0x1c4(r30)
/* 80293280 002901E0 C0 1E 01 9C */ lfs f0, 0x19c(r30)
/* 80293284 002901E4 D0 1E 01 A0 */ stfs f0, 0x1a0(r30)
/* 80293288 002901E8 90 1E 01 DC */ stw r0, 0x1dc(r30)
/* 8029328C 002901EC 88 1E 01 E0 */ lbz r0, 0x1e0(r30)
/* 80293290 002901F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80293294 002901F4 98 1E 01 E0 */ stb r0, 0x1e0(r30)
/* 80293298 002901F8 80 7E 01 70 */ lwz r3, 0x170(r30)
/* 8029329C 002901FC 28 03 00 00 */ cmplwi r3, 0
/* 802932A0 00290200 41 82 00 48 */ beq lbl_802932E8
/* 802932A4 00290204 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 802932A8 00290208 38 81 00 14 */ addi r4, r1, 0x14
/* 802932AC 0029020C C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 802932B0 00290210 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 802932B4 00290214 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802932B8 00290218 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 802932BC 0029021C D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 802932C0 00290220 81 83 00 00 */ lwz r12, 0(r3)
/* 802932C4 00290224 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 802932C8 00290228 7D 89 03 A6 */ mtctr r12
/* 802932CC 0029022C 4E 80 04 21 */ bctrl
/* 802932D0 00290230 80 7E 01 70 */ lwz r3, 0x170(r30)
/* 802932D4 00290234 38 80 00 00 */ li r4, 0
/* 802932D8 00290238 81 83 00 00 */ lwz r12, 0(r3)
/* 802932DC 0029023C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 802932E0 00290240 7D 89 03 A6 */ mtctr r12
/* 802932E4 00290244 4E 80 04 21 */ bctrl
lbl_802932E8:
/* 802932E8 00290248 80 7E 01 74 */ lwz r3, 0x174(r30)
/* 802932EC 0029024C 28 03 00 00 */ cmplwi r3, 0
/* 802932F0 00290250 41 82 00 48 */ beq lbl_80293338
/* 802932F4 00290254 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 802932F8 00290258 38 81 00 08 */ addi r4, r1, 8
/* 802932FC 0029025C C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 80293300 00290260 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80293304 00290264 D0 01 00 08 */ stfs f0, 8(r1)
/* 80293308 00290268 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8029330C 0029026C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80293310 00290270 81 83 00 00 */ lwz r12, 0(r3)
/* 80293314 00290274 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 80293318 00290278 7D 89 03 A6 */ mtctr r12
/* 8029331C 0029027C 4E 80 04 21 */ bctrl
/* 80293320 00290280 80 7E 01 74 */ lwz r3, 0x174(r30)
/* 80293324 00290284 38 80 00 01 */ li r4, 1
/* 80293328 00290288 81 83 00 00 */ lwz r12, 0(r3)
/* 8029332C 0029028C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80293330 00290290 7D 89 03 A6 */ mtctr r12
/* 80293334 00290294 4E 80 04 21 */ bctrl
lbl_80293338:
/* 80293338 00290298 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029333C 0029029C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80293340 002902A0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80293344 002902A4 7C 08 03 A6 */ mtlr r0
/* 80293348 002902A8 38 21 00 30 */ addi r1, r1, 0x30
/* 8029334C 002902AC 4E 80 00 20 */ blr
.global Render__11CPhazonPoolCFRC13CStateManager
Render__11CPhazonPoolCFRC13CStateManager:
/* 80293350 002902B0 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 80293354 002902B4 7C 08 02 A6 */ mflr r0
/* 80293358 002902B8 90 01 01 64 */ stw r0, 0x164(r1)
/* 8029335C 002902BC BF 61 01 4C */ stmw r27, 0x14c(r1)
/* 80293360 002902C0 7C 7D 1B 78 */ mr r29, r3
/* 80293364 002902C4 7C 9E 23 78 */ mr r30, r4
/* 80293368 002902C8 4B DC 14 3D */ bl Render__6CActorCFRC13CStateManager
/* 8029336C 002902CC C0 9D 01 A4 */ lfs f4, 0x1a4(r29)
/* 80293370 002902D0 3B FD 00 34 */ addi r31, r29, 0x34
/* 80293374 002902D4 C0 02 BF 38 */ lfs f0, lbl_805ADC58@sda21(r2)
/* 80293378 002902D8 FC 04 00 40 */ fcmpo cr0, f4, f0
/* 8029337C 002902DC 7C C0 00 26 */ mfcr r6
/* 80293380 002902E0 C0 22 BF 1C */ lfs f1, lbl_805ADC3C@sda21(r2)
/* 80293384 002902E4 38 A0 00 05 */ li r5, 5
/* 80293388 002902E8 38 80 00 00 */ li r4, 0
/* 8029338C 002902EC 38 00 00 03 */ li r0, 3
/* 80293390 002902F0 FC 40 08 90 */ fmr f2, f1
/* 80293394 002902F4 FC 60 08 90 */ fmr f3, f1
/* 80293398 002902F8 98 A1 00 18 */ stb r5, 0x18(r1)
/* 8029339C 002902FC 38 61 00 1C */ addi r3, r1, 0x1c
/* 802933A0 00290300 54 DB 17 FE */ rlwinm r27, r6, 2, 0x1f, 0x1f
/* 802933A4 00290304 98 81 00 19 */ stb r4, 0x19(r1)
/* 802933A8 00290308 B0 01 00 1A */ sth r0, 0x1a(r1)
/* 802933AC 0029030C 48 0D 00 41 */ bl __ct__6CColorFffff
/* 802933B0 00290310 A0 61 00 1A */ lhz r3, 0x1a(r1)
/* 802933B4 00290314 57 60 08 3C */ slwi r0, r27, 1
/* 802933B8 00290318 83 9D 01 68 */ lwz r28, 0x168(r29)
/* 802933BC 0029031C 7F 60 03 78 */ or r0, r27, r0
/* 802933C0 00290320 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d
/* 802933C4 00290324 88 A1 00 18 */ lbz r5, 0x18(r1)
/* 802933C8 00290328 7C 63 03 78 */ or r3, r3, r0
/* 802933CC 0029032C 88 81 00 19 */ lbz r4, 0x19(r1)
/* 802933D0 00290330 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 802933D4 00290334 28 1C 00 00 */ cmplwi r28, 0
/* 802933D8 00290338 98 A1 00 20 */ stb r5, 0x20(r1)
/* 802933DC 0029033C 98 81 00 21 */ stb r4, 0x21(r1)
/* 802933E0 00290340 B0 61 00 22 */ sth r3, 0x22(r1)
/* 802933E4 00290344 90 01 00 24 */ stw r0, 0x24(r1)
/* 802933E8 00290348 41 82 00 40 */ beq lbl_80293428
/* 802933EC 0029034C C0 1D 01 AC */ lfs f0, 0x1ac(r29)
/* 802933F0 00290350 38 61 00 E8 */ addi r3, r1, 0xe8
/* 802933F4 00290354 38 81 00 14 */ addi r4, r1, 0x14
/* 802933F8 00290358 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802933FC 0029035C 48 08 04 15 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 80293400 00290360 7F E4 FB 78 */ mr r4, r31
/* 80293404 00290364 38 61 01 18 */ addi r3, r1, 0x118
/* 80293408 00290368 38 A1 00 E8 */ addi r5, r1, 0xe8
/* 8029340C 0029036C 48 07 F5 45 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80293410 00290370 7F 83 E3 78 */ mr r3, r28
/* 80293414 00290374 7F C4 F3 78 */ mr r4, r30
/* 80293418 00290378 38 A1 01 18 */ addi r5, r1, 0x118
/* 8029341C 0029037C 38 E1 00 20 */ addi r7, r1, 0x20
/* 80293420 00290380 38 C0 00 00 */ li r6, 0
/* 80293424 00290384 4B E8 19 99 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_80293428:
/* 80293428 00290388 80 1D 01 6C */ lwz r0, 0x16c(r29)
/* 8029342C 0029038C 28 00 00 00 */ cmplwi r0, 0
/* 80293430 00290390 41 82 00 B4 */ beq lbl_802934E4
/* 80293434 00290394 C0 3D 01 AC */ lfs f1, 0x1ac(r29)
/* 80293438 00290398 38 61 00 58 */ addi r3, r1, 0x58
/* 8029343C 0029039C C0 1D 01 A8 */ lfs f0, 0x1a8(r29)
/* 80293440 002903A0 38 81 00 10 */ addi r4, r1, 0x10
/* 80293444 002903A4 D0 21 00 08 */ stfs f1, 8(r1)
/* 80293448 002903A8 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8029344C 002903AC D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80293450 002903B0 48 07 DC E1 */ bl YRotation__11CQuaternionFRC9CRelAngle
/* 80293454 002903B4 38 61 00 48 */ addi r3, r1, 0x48
/* 80293458 002903B8 38 81 00 0C */ addi r4, r1, 0xc
/* 8029345C 002903BC 48 07 DD 0D */ bl XRotation__11CQuaternionFRC9CRelAngle
/* 80293460 002903C0 38 61 00 38 */ addi r3, r1, 0x38
/* 80293464 002903C4 38 81 00 08 */ addi r4, r1, 8
/* 80293468 002903C8 48 07 DC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 8029346C 002903CC 38 61 00 28 */ addi r3, r1, 0x28
/* 80293470 002903D0 38 81 00 38 */ addi r4, r1, 0x38
/* 80293474 002903D4 38 A1 00 48 */ addi r5, r1, 0x48
/* 80293478 002903D8 48 07 DD 29 */ bl __ml__11CQuaternionCFRC11CQuaternion
/* 8029347C 002903DC 38 61 00 68 */ addi r3, r1, 0x68
/* 80293480 002903E0 38 81 00 28 */ addi r4, r1, 0x28
/* 80293484 002903E4 38 A1 00 58 */ addi r5, r1, 0x58
/* 80293488 002903E8 48 07 DD 19 */ bl __ml__11CQuaternionCFRC11CQuaternion
/* 8029348C 002903EC C0 61 00 68 */ lfs f3, 0x68(r1)
/* 80293490 002903F0 38 61 00 88 */ addi r3, r1, 0x88
/* 80293494 002903F4 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 80293498 002903F8 38 81 00 78 */ addi r4, r1, 0x78
/* 8029349C 002903FC C0 21 00 70 */ lfs f1, 0x70(r1)
/* 802934A0 00290400 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 802934A4 00290404 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 802934A8 00290408 83 9D 01 6C */ lwz r28, 0x16c(r29)
/* 802934AC 0029040C D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 802934B0 00290410 D0 21 00 80 */ stfs f1, 0x80(r1)
/* 802934B4 00290414 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 802934B8 00290418 48 07 EB 01 */ bl BuildTransform4f__11CQuaternionCFv
/* 802934BC 0029041C 7F E4 FB 78 */ mr r4, r31
/* 802934C0 00290420 38 61 00 B8 */ addi r3, r1, 0xb8
/* 802934C4 00290424 38 A1 00 88 */ addi r5, r1, 0x88
/* 802934C8 00290428 48 07 F4 89 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 802934CC 0029042C 7F 83 E3 78 */ mr r3, r28
/* 802934D0 00290430 7F C4 F3 78 */ mr r4, r30
/* 802934D4 00290434 38 A1 00 B8 */ addi r5, r1, 0xb8
/* 802934D8 00290438 38 E1 00 20 */ addi r7, r1, 0x20
/* 802934DC 0029043C 38 C0 00 00 */ li r6, 0
/* 802934E0 00290440 4B E8 18 DD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_802934E4:
/* 802934E4 00290444 BB 61 01 4C */ lmw r27, 0x14c(r1)
/* 802934E8 00290448 80 01 01 64 */ lwz r0, 0x164(r1)
/* 802934EC 0029044C 7C 08 03 A6 */ mtlr r0
/* 802934F0 00290450 38 21 01 60 */ addi r1, r1, 0x160
/* 802934F4 00290454 4E 80 00 20 */ blr
.global __dt__11CPhazonPoolFv
__dt__11CPhazonPoolFv:
/* 802934F8 00290458 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802934FC 0029045C 7C 08 02 A6 */ mflr r0
/* 80293500 00290460 90 01 00 14 */ stw r0, 0x14(r1)
/* 80293504 00290464 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80293508 00290468 7C 9F 23 78 */ mr r31, r4
/* 8029350C 0029046C 93 C1 00 08 */ stw r30, 8(r1)
/* 80293510 00290470 7C 7E 1B 79 */ or. r30, r3, r3
/* 80293514 00290474 41 82 00 B0 */ beq lbl_802935C4
/* 80293518 00290478 3C 60 80 3F */ lis r3, lbl_803EBB48@ha
/* 8029351C 0029047C 34 1E 01 74 */ addic. r0, r30, 0x174
/* 80293520 00290480 38 03 BB 48 */ addi r0, r3, lbl_803EBB48@l
/* 80293524 00290484 90 1E 00 00 */ stw r0, 0(r30)
/* 80293528 00290488 41 82 00 24 */ beq lbl_8029354C
/* 8029352C 0029048C 80 7E 01 74 */ lwz r3, 0x174(r30)
/* 80293530 00290490 28 03 00 00 */ cmplwi r3, 0
/* 80293534 00290494 41 82 00 18 */ beq lbl_8029354C
/* 80293538 00290498 81 83 00 00 */ lwz r12, 0(r3)
/* 8029353C 0029049C 38 80 00 01 */ li r4, 1
/* 80293540 002904A0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80293544 002904A4 7D 89 03 A6 */ mtctr r12
/* 80293548 002904A8 4E 80 04 21 */ bctrl
lbl_8029354C:
/* 8029354C 002904AC 34 1E 01 70 */ addic. r0, r30, 0x170
/* 80293550 002904B0 41 82 00 24 */ beq lbl_80293574
/* 80293554 002904B4 80 7E 01 70 */ lwz r3, 0x170(r30)
/* 80293558 002904B8 28 03 00 00 */ cmplwi r3, 0
/* 8029355C 002904BC 41 82 00 18 */ beq lbl_80293574
/* 80293560 002904C0 81 83 00 00 */ lwz r12, 0(r3)
/* 80293564 002904C4 38 80 00 01 */ li r4, 1
/* 80293568 002904C8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029356C 002904CC 7D 89 03 A6 */ mtctr r12
/* 80293570 002904D0 4E 80 04 21 */ bctrl
lbl_80293574:
/* 80293574 002904D4 34 1E 01 6C */ addic. r0, r30, 0x16c
/* 80293578 002904D8 41 82 00 10 */ beq lbl_80293588
/* 8029357C 002904DC 80 7E 01 6C */ lwz r3, 0x16c(r30)
/* 80293580 002904E0 38 80 00 01 */ li r4, 1
/* 80293584 002904E4 4B E8 34 C9 */ bl __dt__10CModelDataFv
lbl_80293588:
/* 80293588 002904E8 34 1E 01 68 */ addic. r0, r30, 0x168
/* 8029358C 002904EC 41 82 00 10 */ beq lbl_8029359C
/* 80293590 002904F0 80 7E 01 68 */ lwz r3, 0x168(r30)
/* 80293594 002904F4 38 80 00 01 */ li r4, 1
/* 80293598 002904F8 4B E8 34 B5 */ bl __dt__10CModelDataFv
lbl_8029359C:
/* 8029359C 002904FC 38 7E 01 50 */ addi r3, r30, 0x150
/* 802935A0 00290500 38 80 FF FF */ li r4, -1
/* 802935A4 00290504 4B E6 E8 E5 */ bl sub_80101e88
/* 802935A8 00290508 7F C3 F3 78 */ mr r3, r30
/* 802935AC 0029050C 38 80 00 00 */ li r4, 0
/* 802935B0 00290510 4B DE 36 D1 */ bl __dt__14CScriptTriggerFv
/* 802935B4 00290514 7F E0 07 35 */ extsh. r0, r31
/* 802935B8 00290518 40 81 00 0C */ ble lbl_802935C4
/* 802935BC 0029051C 7F C3 F3 78 */ mr r3, r30
/* 802935C0 00290520 48 08 23 71 */ bl Free__7CMemoryFPCv
lbl_802935C4:
/* 802935C4 00290524 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802935C8 00290528 7F C3 F3 78 */ mr r3, r30
/* 802935CC 0029052C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802935D0 00290530 83 C1 00 08 */ lwz r30, 8(r1)
/* 802935D4 00290534 7C 08 03 A6 */ mtlr r0
/* 802935D8 00290538 38 21 00 10 */ addi r1, r1, 0x10
/* 802935DC 0029053C 4E 80 00 20 */ blr
.global __ct__11CPhazonPoolFv
__ct__11CPhazonPoolFv:
/* 802935E0 00290540 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 802935E4 00290544 7C 08 02 A6 */ mflr r0
/* 802935E8 00290548 90 01 01 24 */ stw r0, 0x124(r1)
/* 802935EC 0029054C DB E1 01 10 */ stfd f31, 0x110(r1)
/* 802935F0 00290550 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
/* 802935F4 00290554 DB C1 01 00 */ stfd f30, 0x100(r1)
/* 802935F8 00290558 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0
/* 802935FC 0029055C DB A1 00 F0 */ stfd f29, 0xf0(r1)
/* 80293600 00290560 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0
/* 80293604 00290564 DB 81 00 E0 */ stfd f28, 0xe0(r1)
/* 80293608 00290568 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0
/* 8029360C 0029056C BF 01 00 C0 */ stmw r24, 0xc0(r1)
/* 80293610 00290570 A1 84 00 00 */ lhz r12, 0(r4)
/* 80293614 00290574 3C 80 80 5A */ lis r4, lbl_805A6784@ha
/* 80293618 00290578 C0 C7 00 2C */ lfs f6, 0x2c(r7)
/* 8029361C 0029057C 39 60 00 00 */ li r11, 0
/* 80293620 00290580 C0 A7 00 1C */ lfs f5, 0x1c(r7)
/* 80293624 00290584 FF A0 08 90 */ fmr f29, f1
/* 80293628 00290588 C0 07 00 0C */ lfs f0, 0xc(r7)
/* 8029362C 0029058C FF C0 10 90 */ fmr f30, f2
/* 80293630 00290590 D0 A1 00 94 */ stfs f5, 0x94(r1)
/* 80293634 00290594 FF E0 18 90 */ fmr f31, f3
/* 80293638 00290598 80 E1 01 40 */ lwz r7, 0x140(r1)
/* 8029363C 0029059C D0 01 00 90 */ stfs f0, 0x90(r1)
/* 80293640 002905A0 FF 80 20 90 */ fmr f28, f4
/* 80293644 002905A4 83 81 01 38 */ lwz r28, 0x138(r1)
/* 80293648 002905A8 38 04 67 84 */ addi r0, r4, lbl_805A6784@l
/* 8029364C 002905AC D0 C1 00 98 */ stfs f6, 0x98(r1)
/* 80293650 002905B0 7D 18 43 78 */ mr r24, r8
/* 80293654 002905B4 80 81 01 3C */ lwz r4, 0x13c(r1)
/* 80293658 002905B8 B1 81 00 18 */ sth r12, 0x18(r1)
/* 8029365C 002905BC 7D 59 53 78 */ mr r25, r10
/* 80293660 002905C0 83 41 01 28 */ lwz r26, 0x128(r1)
/* 80293664 002905C4 7C 7F 1B 78 */ mr r31, r3
/* 80293668 002905C8 90 E1 00 08 */ stw r7, 8(r1)
/* 8029366C 002905CC 7C 08 03 78 */ mr r8, r0
/* 80293670 002905D0 83 61 01 2C */ lwz r27, 0x12c(r1)
/* 80293674 002905D4 7C 8A 23 78 */ mr r10, r4
/* 80293678 002905D8 91 21 00 0C */ stw r9, 0xc(r1)
/* 8029367C 002905DC 7F 89 E3 78 */ mr r9, r28
/* 80293680 002905E0 83 81 01 30 */ lwz r28, 0x130(r1)
/* 80293684 002905E4 38 81 00 18 */ addi r4, r1, 0x18
/* 80293688 002905E8 91 61 00 10 */ stw r11, 0x10(r1)
/* 8029368C 002905EC 38 E1 00 90 */ addi r7, r1, 0x90
/* 80293690 002905F0 83 A1 01 34 */ lwz r29, 0x134(r1)
/* 80293694 002905F4 91 61 00 14 */ stw r11, 0x14(r1)
/* 80293698 002905F8 8B C1 01 47 */ lbz r30, 0x147(r1)
/* 8029369C 002905FC 4B DE 36 BD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb"
/* 802936A0 00290600 3C 80 80 3F */ lis r4, lbl_803EBB48@ha
/* 802936A4 00290604 38 DF 01 5C */ addi r6, r31, 0x15c
/* 802936A8 00290608 38 04 BB 48 */ addi r0, r4, lbl_803EBB48@l
/* 802936AC 0029060C 3C 60 80 3D */ lis r3, lbl_803D5B78@ha
/* 802936B0 00290610 90 1F 00 00 */ stw r0, 0(r31)
/* 802936B4 00290614 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l
/* 802936B8 00290618 38 00 00 00 */ li r0, 0
/* 802936BC 0029061C 38 60 00 4C */ li r3, 0x4c
/* 802936C0 00290620 90 DF 01 54 */ stw r6, 0x154(r31)
/* 802936C4 00290624 38 A0 00 00 */ li r5, 0
/* 802936C8 00290628 90 DF 01 58 */ stw r6, 0x158(r31)
/* 802936CC 0029062C 90 DF 01 5C */ stw r6, 0x15c(r31)
/* 802936D0 00290630 90 DF 01 60 */ stw r6, 0x160(r31)
/* 802936D4 00290634 90 1F 01 64 */ stw r0, 0x164(r31)
/* 802936D8 00290638 48 08 21 95 */ bl __nw__FUlPCcPCc
/* 802936DC 0029063C 7C 60 1B 79 */ or. r0, r3, r3
/* 802936E0 00290640 41 82 00 28 */ beq lbl_80293708
/* 802936E4 00290644 80 1A 00 00 */ lwz r0, 0(r26)
/* 802936E8 00290648 38 81 00 80 */ addi r4, r1, 0x80
/* 802936EC 0029064C C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2)
/* 802936F0 00290650 90 01 00 80 */ stw r0, 0x80(r1)
/* 802936F4 00290654 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 802936F8 00290658 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 802936FC 0029065C D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80293700 00290660 4B E8 36 5D */ bl __ct__10CModelDataFRC10CStaticRes
/* 80293704 00290664 7C 60 1B 78 */ mr r0, r3
lbl_80293708:
/* 80293708 00290668 3C 60 80 3D */ lis r3, lbl_803D5B78@ha
/* 8029370C 0029066C 90 1F 01 68 */ stw r0, 0x168(r31)
/* 80293710 00290670 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l
/* 80293714 00290674 38 A0 00 00 */ li r5, 0
/* 80293718 00290678 38 60 00 4C */ li r3, 0x4c
/* 8029371C 0029067C 48 08 21 51 */ bl __nw__FUlPCcPCc
/* 80293720 00290680 7C 60 1B 79 */ or. r0, r3, r3
/* 80293724 00290684 41 82 00 28 */ beq lbl_8029374C
/* 80293728 00290688 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2)
/* 8029372C 0029068C 38 81 00 70 */ addi r4, r1, 0x70
/* 80293730 00290690 80 19 00 00 */ lwz r0, 0(r25)
/* 80293734 00290694 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80293738 00290698 90 01 00 70 */ stw r0, 0x70(r1)
/* 8029373C 0029069C D0 01 00 78 */ stfs f0, 0x78(r1)
/* 80293740 002906A0 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80293744 002906A4 4B E8 36 19 */ bl __ct__10CModelDataFRC10CStaticRes
/* 80293748 002906A8 7C 60 1B 78 */ mr r0, r3
lbl_8029374C:
/* 8029374C 002906AC 90 1F 01 6C */ stw r0, 0x16c(r31)
/* 80293750 002906B0 38 A0 00 00 */ li r5, 0
/* 80293754 002906B4 3C 60 80 5A */ lis r3, lbl_805A6784@ha
/* 80293758 002906B8 C0 22 BF 2C */ lfs f1, lbl_805ADC4C@sda21(r2)
/* 8029375C 002906BC 90 BF 01 70 */ stw r5, 0x170(r31)
/* 80293760 002906C0 38 83 67 84 */ addi r4, r3, lbl_805A6784@l
/* 80293764 002906C4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2)
/* 80293768 002906C8 38 60 00 02 */ li r3, 2
/* 8029376C 002906CC 90 BF 01 74 */ stw r5, 0x174(r31)
/* 80293770 002906D0 C0 44 00 00 */ lfs f2, 0(r4)
/* 80293774 002906D4 D0 5F 01 78 */ stfs f2, 0x178(r31)
/* 80293778 002906D8 C0 44 00 04 */ lfs f2, 4(r4)
/* 8029377C 002906DC D0 5F 01 7C */ stfs f2, 0x17c(r31)
/* 80293780 002906E0 C0 44 00 08 */ lfs f2, 8(r4)
/* 80293784 002906E4 D0 5F 01 80 */ stfs f2, 0x180(r31)
/* 80293788 002906E8 C0 44 00 0C */ lfs f2, 0xc(r4)
/* 8029378C 002906EC D0 5F 01 84 */ stfs f2, 0x184(r31)
/* 80293790 002906F0 C0 44 00 10 */ lfs f2, 0x10(r4)
/* 80293794 002906F4 D0 5F 01 88 */ stfs f2, 0x188(r31)
/* 80293798 002906F8 C0 44 00 14 */ lfs f2, 0x14(r4)
/* 8029379C 002906FC D0 5F 01 8C */ stfs f2, 0x18c(r31)
/* 802937A0 00290700 C0 58 00 00 */ lfs f2, 0(r24)
/* 802937A4 00290704 D0 5F 01 90 */ stfs f2, 0x190(r31)
/* 802937A8 00290708 C0 58 00 04 */ lfs f2, 4(r24)
/* 802937AC 0029070C D0 5F 01 94 */ stfs f2, 0x194(r31)
/* 802937B0 00290710 C0 58 00 08 */ lfs f2, 8(r24)
/* 802937B4 00290714 D0 5F 01 98 */ stfs f2, 0x198(r31)
/* 802937B8 00290718 D3 BF 01 9C */ stfs f29, 0x19c(r31)
/* 802937BC 0029071C D3 BF 01 A0 */ stfs f29, 0x1a0(r31)
/* 802937C0 00290720 D0 3F 01 A4 */ stfs f1, 0x1a4(r31)
/* 802937C4 00290724 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 802937C8 00290728 D0 1F 01 AC */ stfs f0, 0x1ac(r31)
/* 802937CC 0029072C D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
/* 802937D0 00290730 D0 1F 01 B4 */ stfs f0, 0x1b4(r31)
/* 802937D4 00290734 D0 1F 01 B8 */ stfs f0, 0x1b8(r31)
/* 802937D8 00290738 D3 DF 01 BC */ stfs f30, 0x1bc(r31)
/* 802937DC 0029073C D3 9F 01 C0 */ stfs f28, 0x1c0(r31)
/* 802937E0 00290740 D0 1F 01 C4 */ stfs f0, 0x1c4(r31)
/* 802937E4 00290744 D3 FF 01 C8 */ stfs f31, 0x1c8(r31)
/* 802937E8 00290748 D0 1F 01 CC */ stfs f0, 0x1cc(r31)
/* 802937EC 0029074C D0 1F 01 D0 */ stfs f0, 0x1d0(r31)
/* 802937F0 00290750 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 802937F4 00290754 93 BF 01 D8 */ stw r29, 0x1d8(r31)
/* 802937F8 00290758 90 BF 01 DC */ stw r5, 0x1dc(r31)
/* 802937FC 0029075C 88 1F 01 E0 */ lbz r0, 0x1e0(r31)
/* 80293800 00290760 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18
/* 80293804 00290764 98 1F 01 E0 */ stb r0, 0x1e0(r31)
/* 80293808 00290768 88 1F 01 E0 */ lbz r0, 0x1e0(r31)
/* 8029380C 0029076C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80293810 00290770 98 1F 01 E0 */ stb r0, 0x1e0(r31)
/* 80293814 00290774 88 1F 00 E6 */ lbz r0, 0xe6(r31)
/* 80293818 00290778 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c
/* 8029381C 0029077C 98 1F 00 E6 */ stb r0, 0xe6(r31)
/* 80293820 00290780 80 9B 00 00 */ lwz r4, 0(r27)
/* 80293824 00290784 3C 04 00 01 */ addis r0, r4, 1
/* 80293828 00290788 28 00 FF FF */ cmplwi r0, 0xffff
/* 8029382C 0029078C 41 82 01 34 */ beq lbl_80293960
/* 80293830 00290790 3C 60 50 41 */ lis r3, 0x50415254@ha
/* 80293834 00290794 90 81 00 48 */ stw r4, 0x48(r1)
/* 80293838 00290798 38 03 52 54 */ addi r0, r3, 0x50415254@l
/* 8029383C 0029079C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80293840 002907A0 90 01 00 44 */ stw r0, 0x44(r1)
/* 80293844 002907A4 38 61 00 3C */ addi r3, r1, 0x3c
/* 80293848 002907A8 38 A1 00 44 */ addi r5, r1, 0x44
/* 8029384C 002907AC 81 84 00 00 */ lwz r12, 0(r4)
/* 80293850 002907B0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80293854 002907B4 7D 89 03 A6 */ mtctr r12
/* 80293858 002907B8 4E 80 04 21 */ bctrl
/* 8029385C 002907BC 3B 01 00 64 */ addi r24, r1, 0x64
/* 80293860 002907C0 38 81 00 3C */ addi r4, r1, 0x3c
/* 80293864 002907C4 7F 03 C3 78 */ mr r3, r24
/* 80293868 002907C8 48 0A D6 41 */ bl __ct__6CTokenFRC6CToken
/* 8029386C 002907CC 7F 03 C3 78 */ mr r3, r24
/* 80293870 002907D0 48 0A D5 9D */ bl GetObj__6CTokenFv
/* 80293874 002907D4 80 03 00 04 */ lwz r0, 4(r3)
/* 80293878 002907D8 3B 01 00 A8 */ addi r24, r1, 0xa8
/* 8029387C 002907DC 7F 03 C3 78 */ mr r3, r24
/* 80293880 002907E0 38 81 00 64 */ addi r4, r1, 0x64
/* 80293884 002907E4 90 01 00 6C */ stw r0, 0x6c(r1)
/* 80293888 002907E8 48 0A D6 21 */ bl __ct__6CTokenFRC6CToken
/* 8029388C 002907EC 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 80293890 002907F0 7F 03 C3 78 */ mr r3, r24
/* 80293894 002907F4 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80293898 002907F8 48 0A D4 ED */ bl Lock__6CTokenFv
/* 8029389C 002907FC 38 61 00 64 */ addi r3, r1, 0x64
/* 802938A0 00290800 38 80 00 00 */ li r4, 0
/* 802938A4 00290804 48 0A D5 9D */ bl __dt__6CTokenFv
/* 802938A8 00290808 38 61 00 3C */ addi r3, r1, 0x3c
/* 802938AC 0029080C 38 80 FF FF */ li r4, -1
/* 802938B0 00290810 48 0A D5 91 */ bl __dt__6CTokenFv
/* 802938B4 00290814 3C 60 80 3D */ lis r3, lbl_803D5B78@ha
/* 802938B8 00290818 3B 20 00 00 */ li r25, 0
/* 802938BC 0029081C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l
/* 802938C0 00290820 38 A0 00 00 */ li r5, 0
/* 802938C4 00290824 38 60 03 40 */ li r3, 0x340
/* 802938C8 00290828 48 08 1F A5 */ bl __nw__FUlPCcPCc
/* 802938CC 0029082C 7C 78 1B 79 */ or. r24, r3, r3
/* 802938D0 00290830 41 82 00 2C */ beq lbl_802938FC
/* 802938D4 00290834 38 61 00 34 */ addi r3, r1, 0x34
/* 802938D8 00290838 38 81 00 A8 */ addi r4, r1, 0xa8
/* 802938DC 0029083C 48 0A D5 CD */ bl __ct__6CTokenFRC6CToken
/* 802938E0 00290840 7F 03 C3 78 */ mr r3, r24
/* 802938E4 00290844 38 81 00 34 */ addi r4, r1, 0x34
/* 802938E8 00290848 3B 20 00 01 */ li r25, 1
/* 802938EC 0029084C 38 A0 00 00 */ li r5, 0
/* 802938F0 00290850 38 C0 00 01 */ li r6, 1
/* 802938F4 00290854 48 08 BA ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 802938F8 00290858 7C 78 1B 78 */ mr r24, r3
lbl_802938FC:
/* 802938FC 0029085C 80 7F 01 70 */ lwz r3, 0x170(r31)
/* 80293900 00290860 28 03 00 00 */ cmplwi r3, 0
/* 80293904 00290864 41 82 00 18 */ beq lbl_8029391C
/* 80293908 00290868 81 83 00 00 */ lwz r12, 0(r3)
/* 8029390C 0029086C 38 80 00 01 */ li r4, 1
/* 80293910 00290870 81 8C 00 08 */ lwz r12, 8(r12)
/* 80293914 00290874 7D 89 03 A6 */ mtctr r12
/* 80293918 00290878 4E 80 04 21 */ bctrl
lbl_8029391C:
/* 8029391C 0029087C 7F 20 07 75 */ extsb. r0, r25
/* 80293920 00290880 93 1F 01 70 */ stw r24, 0x170(r31)
/* 80293924 00290884 41 82 00 10 */ beq lbl_80293934
/* 80293928 00290888 38 61 00 34 */ addi r3, r1, 0x34
/* 8029392C 0029088C 38 80 00 00 */ li r4, 0
/* 80293930 00290890 48 0A D5 11 */ bl __dt__6CTokenFv
lbl_80293934:
/* 80293934 00290894 80 7F 01 70 */ lwz r3, 0x170(r31)
/* 80293938 00290898 28 03 00 00 */ cmplwi r3, 0
/* 8029393C 0029089C 41 82 00 18 */ beq lbl_80293954
/* 80293940 002908A0 81 83 00 00 */ lwz r12, 0(r3)
/* 80293944 002908A4 38 80 00 00 */ li r4, 0
/* 80293948 002908A8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8029394C 002908AC 7D 89 03 A6 */ mtctr r12
/* 80293950 002908B0 4E 80 04 21 */ bctrl
lbl_80293954:
/* 80293954 002908B4 38 61 00 A8 */ addi r3, r1, 0xa8
/* 80293958 002908B8 38 80 00 00 */ li r4, 0
/* 8029395C 002908BC 48 0A D4 E5 */ bl __dt__6CTokenFv
lbl_80293960:
/* 80293960 002908C0 80 9C 00 00 */ lwz r4, 0(r28)
/* 80293964 002908C4 3C 04 00 01 */ addis r0, r4, 1
/* 80293968 002908C8 28 00 FF FF */ cmplwi r0, 0xffff
/* 8029396C 002908CC 41 82 01 5C */ beq lbl_80293AC8
/* 80293970 002908D0 3C 60 50 41 */ lis r3, 0x50415254@ha
/* 80293974 002908D4 90 81 00 30 */ stw r4, 0x30(r1)
/* 80293978 002908D8 38 03 52 54 */ addi r0, r3, 0x50415254@l
/* 8029397C 002908DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80293980 002908E0 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80293984 002908E4 38 61 00 24 */ addi r3, r1, 0x24
/* 80293988 002908E8 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8029398C 002908EC 81 84 00 00 */ lwz r12, 0(r4)
/* 80293990 002908F0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80293994 002908F4 7D 89 03 A6 */ mtctr r12
/* 80293998 002908F8 4E 80 04 21 */ bctrl
/* 8029399C 002908FC 3B 01 00 58 */ addi r24, r1, 0x58
/* 802939A0 00290900 38 81 00 24 */ addi r4, r1, 0x24
/* 802939A4 00290904 7F 03 C3 78 */ mr r3, r24
/* 802939A8 00290908 48 0A D5 01 */ bl __ct__6CTokenFRC6CToken
/* 802939AC 0029090C 7F 03 C3 78 */ mr r3, r24
/* 802939B0 00290910 48 0A D4 5D */ bl GetObj__6CTokenFv
/* 802939B4 00290914 80 03 00 04 */ lwz r0, 4(r3)
/* 802939B8 00290918 3B 01 00 9C */ addi r24, r1, 0x9c
/* 802939BC 0029091C 7F 03 C3 78 */ mr r3, r24
/* 802939C0 00290920 38 81 00 58 */ addi r4, r1, 0x58
/* 802939C4 00290924 90 01 00 60 */ stw r0, 0x60(r1)
/* 802939C8 00290928 48 0A D4 E1 */ bl __ct__6CTokenFRC6CToken
/* 802939CC 0029092C 80 01 00 60 */ lwz r0, 0x60(r1)
/* 802939D0 00290930 7F 03 C3 78 */ mr r3, r24
/* 802939D4 00290934 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 802939D8 00290938 48 0A D3 AD */ bl Lock__6CTokenFv
/* 802939DC 0029093C 38 61 00 58 */ addi r3, r1, 0x58
/* 802939E0 00290940 38 80 00 00 */ li r4, 0
/* 802939E4 00290944 48 0A D4 5D */ bl __dt__6CTokenFv
/* 802939E8 00290948 38 61 00 24 */ addi r3, r1, 0x24
/* 802939EC 0029094C 38 80 FF FF */ li r4, -1
/* 802939F0 00290950 48 0A D4 51 */ bl __dt__6CTokenFv
/* 802939F4 00290954 3C 60 80 3D */ lis r3, lbl_803D5B78@ha
/* 802939F8 00290958 3B 20 00 00 */ li r25, 0
/* 802939FC 0029095C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l
/* 80293A00 00290960 38 A0 00 00 */ li r5, 0
/* 80293A04 00290964 38 60 03 40 */ li r3, 0x340
/* 80293A08 00290968 48 08 1E 65 */ bl __nw__FUlPCcPCc
/* 80293A0C 0029096C 7C 78 1B 79 */ or. r24, r3, r3
/* 80293A10 00290970 41 82 00 2C */ beq lbl_80293A3C
/* 80293A14 00290974 38 61 00 1C */ addi r3, r1, 0x1c
/* 80293A18 00290978 38 81 00 9C */ addi r4, r1, 0x9c
/* 80293A1C 0029097C 48 0A D4 8D */ bl __ct__6CTokenFRC6CToken
/* 80293A20 00290980 7F 03 C3 78 */ mr r3, r24
/* 80293A24 00290984 38 81 00 1C */ addi r4, r1, 0x1c
/* 80293A28 00290988 3B 20 00 01 */ li r25, 1
/* 80293A2C 0029098C 38 A0 00 00 */ li r5, 0
/* 80293A30 00290990 38 C0 00 01 */ li r6, 1
/* 80293A34 00290994 48 08 B9 AD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 80293A38 00290998 7C 78 1B 78 */ mr r24, r3
lbl_80293A3C:
/* 80293A3C 0029099C 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 80293A40 002909A0 28 03 00 00 */ cmplwi r3, 0
/* 80293A44 002909A4 41 82 00 18 */ beq lbl_80293A5C
/* 80293A48 002909A8 81 83 00 00 */ lwz r12, 0(r3)
/* 80293A4C 002909AC 38 80 00 01 */ li r4, 1
/* 80293A50 002909B0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80293A54 002909B4 7D 89 03 A6 */ mtctr r12
/* 80293A58 002909B8 4E 80 04 21 */ bctrl
lbl_80293A5C:
/* 80293A5C 002909BC 7F 20 07 75 */ extsb. r0, r25
/* 80293A60 002909C0 93 1F 01 74 */ stw r24, 0x174(r31)
/* 80293A64 002909C4 41 82 00 10 */ beq lbl_80293A74
/* 80293A68 002909C8 38 61 00 1C */ addi r3, r1, 0x1c
/* 80293A6C 002909CC 38 80 00 00 */ li r4, 0
/* 80293A70 002909D0 48 0A D3 D1 */ bl __dt__6CTokenFv
lbl_80293A74:
/* 80293A74 002909D4 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 80293A78 002909D8 28 03 00 00 */ cmplwi r3, 0
/* 80293A7C 002909DC 41 82 00 40 */ beq lbl_80293ABC
/* 80293A80 002909E0 C0 1F 01 90 */ lfs f0, 0x190(r31)
/* 80293A84 002909E4 38 81 00 4C */ addi r4, r1, 0x4c
/* 80293A88 002909E8 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80293A8C 002909EC D0 01 00 50 */ stfs f0, 0x50(r1)
/* 80293A90 002909F0 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80293A94 002909F4 81 83 00 00 */ lwz r12, 0(r3)
/* 80293A98 002909F8 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80293A9C 002909FC 7D 89 03 A6 */ mtctr r12
/* 80293AA0 00290A00 4E 80 04 21 */ bctrl
/* 80293AA4 00290A04 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 80293AA8 00290A08 38 80 00 00 */ li r4, 0
/* 80293AAC 00290A0C 81 83 00 00 */ lwz r12, 0(r3)
/* 80293AB0 00290A10 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80293AB4 00290A14 7D 89 03 A6 */ mtctr r12
/* 80293AB8 00290A18 4E 80 04 21 */ bctrl
lbl_80293ABC:
/* 80293ABC 00290A1C 38 61 00 9C */ addi r3, r1, 0x9c
/* 80293AC0 00290A20 38 80 00 00 */ li r4, 0
/* 80293AC4 00290A24 48 0A D3 7D */ bl __dt__6CTokenFv
lbl_80293AC8:
/* 80293AC8 00290A28 7F E3 FB 78 */ mr r3, r31
/* 80293ACC 00290A2C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
/* 80293AD0 00290A30 CB E1 01 10 */ lfd f31, 0x110(r1)
/* 80293AD4 00290A34 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0
/* 80293AD8 00290A38 CB C1 01 00 */ lfd f30, 0x100(r1)
/* 80293ADC 00290A3C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0
/* 80293AE0 00290A40 CB A1 00 F0 */ lfd f29, 0xf0(r1)
/* 80293AE4 00290A44 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0
/* 80293AE8 00290A48 CB 81 00 E0 */ lfd f28, 0xe0(r1)
/* 80293AEC 00290A4C BB 01 00 C0 */ lmw r24, 0xc0(r1)
/* 80293AF0 00290A50 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80293AF4 00290A54 7C 08 03 A6 */ mtlr r0
/* 80293AF8 00290A58 38 21 01 20 */ addi r1, r1, 0x120
/* 80293AFC 00290A5C 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ADC38
lbl_805ADC38:
# ROM: 0x3FA4D8
.float 0.5
.global lbl_805ADC3C
lbl_805ADC3C:
# ROM: 0x3FA4DC
.float 1.0
.global lbl_805ADC40
lbl_805ADC40:
# ROM: 0x3FA4E0
.4byte 0
.global lbl_805ADC44
lbl_805ADC44:
# ROM: 0x3FA4E4
.float 6.2831855
.global lbl_805ADC48
lbl_805ADC48:
# ROM: 0x3FA4E8
.float 2.0
.global lbl_805ADC4C
lbl_805ADC4C:
# ROM: 0x3FA4EC
.float 0.001
.global lbl_805ADC50
lbl_805ADC50:
# ROM: 0x3FA4F0
.4byte 0xBF000000
.global lbl_805ADC54
lbl_805ADC54:
# ROM: 0x3FA4F4
.float -1.0
.global lbl_805ADC58
lbl_805ADC58:
# ROM: 0x3FA4F8
.float 0.25
.4byte 0
.section .rodata
.balign 8
.global lbl_803D5B78
lbl_803D5B78:
# ROM: 0x3D2B78
.asciz "??(??)"
.balign 4