prime/asm/MetroidPrime/ScriptObjects/CScriptTrigger.s

1498 lines
76 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803DA4D8
lbl_803DA4D8:
# ROM: 0x3D74D8
.4byte 0
.4byte 0
.4byte __dt__14CScriptTriggerFv
.4byte Accept__14CScriptTriggerFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__14CScriptTriggerFfR13CStateManager
.4byte AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__6CActorFb
.4byte PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__6CActorCFRC13CStateManager
.4byte CanRenderUnsorted__6CActorCFRC13CStateManager
.4byte CalculateRenderBounds__6CActorFv
.4byte HealthInfo__6CActorFR13CStateManager
.4byte GetDamageVulnerability__6CActorCFv
.4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo
.4byte GetTouchBounds__14CScriptTriggerCFv
.4byte Touch__14CScriptTriggerFR6CActorR13CStateManager
.4byte GetOrbitPosition__6CActorCFRC13CStateManager
.4byte GetAimPosition__6CActorCFRC13CStateManagerf
.4byte GetHomingPosition__6CActorCFRC13CStateManagerf
.4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager
.4byte GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
.4byte FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
.4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager
.4byte GetSortingBounds__6CActorCFRC13CStateManager
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
.4byte InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager
.4byte InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager
.4byte 0
.section .sdata
.balign 8
.global lbl_805A6F90
lbl_805A6F90:
# ROM: 0x3F4930
.4byte 0x00000013
.global lbl_805A6F94
lbl_805A6F94:
# ROM: 0x3F4934
.4byte 0x00000022
.section .sbss
.balign 8
# CScriptTrigger
.global lbl_805A8E00
lbl_805A8E00:
.skip 0x4
.global lbl_805A8E04
lbl_805A8E04:
.skip 0xC
.section .sdata2, "a"
.balign 8
.global lbl_805AA5F0
lbl_805AA5F0:
# ROM: 0x3F6E90
.4byte 0
.global lbl_805AA5F4
lbl_805AA5F4:
# ROM: 0x3F6E94
.float 1.0
.global lbl_805AA5F8
lbl_805AA5F8:
# ROM: 0x3F6E98
.4byte 0x41200000
.4byte 0
.section .text, "ax"
.global InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager
InhabitantRejected__14CScriptTriggerFR6CActorR13CStateManager:
/* 80075C60 00072BC0 4E 80 00 20 */ blr
.global InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager
InhabitantExited__14CScriptTriggerFR6CActorR13CStateManager:
/* 80075C64 00072BC4 4E 80 00 20 */ blr
.global InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager
InhabitantIdle__14CScriptTriggerFR6CActorR13CStateManager:
/* 80075C68 00072BC8 4E 80 00 20 */ blr
.global InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager
InhabitantAdded__14CScriptTriggerFR6CActorR13CStateManager:
/* 80075C6C 00072BCC 4E 80 00 20 */ blr
.global Accept__14CScriptTriggerFR8IVisitor
Accept__14CScriptTriggerFR8IVisitor:
/* 80075C70 00072BD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80075C74 00072BD4 7C 08 02 A6 */ mflr r0
/* 80075C78 00072BD8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80075C7C 00072BDC 7C 60 1B 78 */ mr r0, r3
/* 80075C80 00072BE0 7C 83 23 78 */ mr r3, r4
/* 80075C84 00072BE4 81 84 00 00 */ lwz r12, 0(r4)
/* 80075C88 00072BE8 7C 04 03 78 */ mr r4, r0
/* 80075C8C 00072BEC 81 8C 00 CC */ lwz r12, 0xcc(r12)
/* 80075C90 00072BF0 7D 89 03 A6 */ mtctr r12
/* 80075C94 00072BF4 4E 80 04 21 */ bctrl
/* 80075C98 00072BF8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80075C9C 00072BFC 7C 08 03 A6 */ mtlr r0
/* 80075CA0 00072C00 38 21 00 10 */ addi r1, r1, 0x10
/* 80075CA4 00072C04 4E 80 00 20 */ blr
.global FindObject__14CScriptTriggerF9TUniqueId
FindObject__14CScriptTriggerF9TUniqueId:
/* 80075CA8 00072C08 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80075CAC 00072C0C 7C 08 02 A6 */ mflr r0
/* 80075CB0 00072C10 90 01 00 24 */ stw r0, 0x24(r1)
/* 80075CB4 00072C14 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80075CB8 00072C18 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80075CBC 00072C1C 7C 9E 23 78 */ mr r30, r4
/* 80075CC0 00072C20 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80075CC4 00072C24 7C 7D 1B 78 */ mr r29, r3
/* 80075CC8 00072C28 48 00 00 5D */ bl GetInhabitants__14CScriptTriggerCFv
/* 80075CCC 00072C2C 83 E3 00 04 */ lwz r31, 4(r3)
/* 80075CD0 00072C30 48 00 00 20 */ b lbl_80075CF0
lbl_80075CD4:
/* 80075CD4 00072C34 A0 7F 00 08 */ lhz r3, 8(r31)
/* 80075CD8 00072C38 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80075CDC 00072C3C 7C 03 00 40 */ cmplw r3, r0
/* 80075CE0 00072C40 40 82 00 0C */ bne lbl_80075CEC
/* 80075CE4 00072C44 38 7F 00 08 */ addi r3, r31, 8
/* 80075CE8 00072C48 48 00 00 20 */ b lbl_80075D08
lbl_80075CEC:
/* 80075CEC 00072C4C 83 FF 00 04 */ lwz r31, 4(r31)
lbl_80075CF0:
/* 80075CF0 00072C50 7F A3 EB 78 */ mr r3, r29
/* 80075CF4 00072C54 48 00 00 31 */ bl GetInhabitants__14CScriptTriggerCFv
/* 80075CF8 00072C58 80 03 00 08 */ lwz r0, 8(r3)
/* 80075CFC 00072C5C 7C 1F 00 40 */ cmplw r31, r0
/* 80075D00 00072C60 40 82 FF D4 */ bne lbl_80075CD4
/* 80075D04 00072C64 38 60 00 00 */ li r3, 0
lbl_80075D08:
/* 80075D08 00072C68 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80075D0C 00072C6C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80075D10 00072C70 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80075D14 00072C74 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80075D18 00072C78 7C 08 03 A6 */ mtlr r0
/* 80075D1C 00072C7C 38 21 00 20 */ addi r1, r1, 0x20
/* 80075D20 00072C80 4E 80 00 20 */ blr
.global GetInhabitants__14CScriptTriggerCFv
GetInhabitants__14CScriptTriggerCFv:
/* 80075D24 00072C84 38 63 00 E8 */ addi r3, r3, 0xe8
/* 80075D28 00072C88 4E 80 00 20 */ blr
.global UpdateInhabitants__14CScriptTriggerFR13CStateManager
UpdateInhabitants__14CScriptTriggerFR13CStateManager:
/* 80075D2C 00072C8C 94 21 FE 50 */ stwu r1, -0x1b0(r1)
/* 80075D30 00072C90 7C 08 02 A6 */ mflr r0
/* 80075D34 00072C94 90 01 01 B4 */ stw r0, 0x1b4(r1)
/* 80075D38 00072C98 DB E1 01 A0 */ stfd f31, 0x1a0(r1)
/* 80075D3C 00072C9C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0
/* 80075D40 00072CA0 DB C1 01 90 */ stfd f30, 0x190(r1)
/* 80075D44 00072CA4 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0
/* 80075D48 00072CA8 BF 01 01 70 */ stmw r24, 0x170(r1)
/* 80075D4C 00072CAC 38 00 00 00 */ li r0, 0
/* 80075D50 00072CB0 7C 7D 1B 78 */ mr r29, r3
/* 80075D54 00072CB4 98 01 01 68 */ stb r0, 0x168(r1)
/* 80075D58 00072CB8 FF E0 08 90 */ fmr f31, f1
/* 80075D5C 00072CBC 7C 9E 23 78 */ mr r30, r4
/* 80075D60 00072CC0 3B 80 00 00 */ li r28, 0
/* 80075D64 00072CC4 83 23 00 EC */ lwz r25, 0xec(r3)
/* 80075D68 00072CC8 3B E0 00 00 */ li r31, 0
/* 80075D6C 00072CCC 48 00 05 74 */ b lbl_800762E0
lbl_80075D70:
/* 80075D70 00072CD0 A0 19 00 08 */ lhz r0, 8(r25)
/* 80075D74 00072CD4 7F C3 F3 78 */ mr r3, r30
/* 80075D78 00072CD8 83 79 00 04 */ lwz r27, 4(r25)
/* 80075D7C 00072CDC 38 81 00 40 */ addi r4, r1, 0x40
/* 80075D80 00072CE0 B0 01 00 3C */ sth r0, 0x3c(r1)
/* 80075D84 00072CE4 B0 01 00 40 */ sth r0, 0x40(r1)
/* 80075D88 00072CE8 4B FD 67 ED */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80075D8C 00072CEC 7C 64 1B 78 */ mr r4, r3
/* 80075D90 00072CF0 38 61 00 54 */ addi r3, r1, 0x54
/* 80075D94 00072CF4 48 03 9E FD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 80075D98 00072CF8 83 43 00 04 */ lwz r26, 4(r3)
/* 80075D9C 00072CFC 28 1A 00 00 */ cmplwi r26, 0
/* 80075DA0 00072D00 41 82 04 C4 */ beq lbl_80076264
/* 80075DA4 00072D04 80 9E 08 4C */ lwz r4, 0x84c(r30)
/* 80075DA8 00072D08 3B 00 00 01 */ li r24, 1
/* 80075DAC 00072D0C A0 79 00 08 */ lhz r3, 8(r25)
/* 80075DB0 00072D10 A0 04 00 08 */ lhz r0, 8(r4)
/* 80075DB4 00072D14 7C 03 00 40 */ cmplw r3, r0
/* 80075DB8 00072D18 40 82 00 C8 */ bne lbl_80075E80
/* 80075DBC 00072D1C 80 7D 01 2C */ lwz r3, 0x12c(r29)
/* 80075DC0 00072D20 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 80075DC4 00072D24 40 82 00 30 */ bne lbl_80075DF4
/* 80075DC8 00072D28 80 84 02 F8 */ lwz r4, 0x2f8(r4)
/* 80075DCC 00072D2C 2C 04 00 01 */ cmpwi r4, 1
/* 80075DD0 00072D30 40 82 00 10 */ bne lbl_80075DE0
/* 80075DD4 00072D34 54 60 03 DF */ rlwinm. r0, r3, 0, 0xf, 0xf
/* 80075DD8 00072D38 41 82 00 08 */ beq lbl_80075DE0
/* 80075DDC 00072D3C 3B 00 00 00 */ li r24, 0
lbl_80075DE0:
/* 80075DE0 00072D40 2C 04 00 00 */ cmpwi r4, 0
/* 80075DE4 00072D44 40 82 00 10 */ bne lbl_80075DF4
/* 80075DE8 00072D48 54 60 04 E7 */ rlwinm. r0, r3, 0, 0x13, 0x13
/* 80075DEC 00072D4C 41 82 00 08 */ beq lbl_80075DF4
/* 80075DF0 00072D50 3B 00 00 00 */ li r24, 0
lbl_80075DF4:
/* 80075DF4 00072D54 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80075DF8 00072D58 40 82 00 88 */ bne lbl_80075E80
/* 80075DFC 00072D5C 7F 24 CB 78 */ mr r4, r25
/* 80075E00 00072D60 38 7D 00 E8 */ addi r3, r29, 0xe8
/* 80075E04 00072D64 48 00 11 75 */ bl "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
/* 80075E08 00072D68 88 7D 01 48 */ lbz r3, 0x148(r29)
/* 80075E0C 00072D6C 3B E0 00 01 */ li r31, 1
/* 80075E10 00072D70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80075E14 00072D74 41 82 00 50 */ beq lbl_80075E64
/* 80075E18 00072D78 38 00 00 00 */ li r0, 0
/* 80075E1C 00072D7C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c
/* 80075E20 00072D80 98 7D 01 48 */ stb r3, 0x148(r29)
/* 80075E24 00072D84 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 80075E28 00072D88 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 80075E2C 00072D8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 80075E30 00072D90 41 82 00 18 */ beq lbl_80075E48
/* 80075E34 00072D94 4B F9 BB 11 */ bl DecrementPhazon__7CPlayerFv
/* 80075E38 00072D98 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 80075E3C 00072D9C 38 60 00 00 */ li r3, 0
/* 80075E40 00072DA0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80075E44 00072DA4 98 1D 01 48 */ stb r0, 0x148(r29)
lbl_80075E48:
/* 80075E48 00072DA8 A0 7E 0F 74 */ lhz r3, 0xf74(r30)
/* 80075E4C 00072DAC A0 1D 00 08 */ lhz r0, 8(r29)
/* 80075E50 00072DB0 7C 03 00 40 */ cmplw r3, r0
/* 80075E54 00072DB4 40 82 00 10 */ bne lbl_80075E64
/* 80075E58 00072DB8 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80075E5C 00072DBC B0 01 00 10 */ sth r0, 0x10(r1)
/* 80075E60 00072DC0 B0 1E 0F 74 */ sth r0, 0xf74(r30)
lbl_80075E64:
/* 80075E64 00072DC4 7F A3 EB 78 */ mr r3, r29
/* 80075E68 00072DC8 7F 44 D3 78 */ mr r4, r26
/* 80075E6C 00072DCC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80075E70 00072DD0 7F C5 F3 78 */ mr r5, r30
/* 80075E74 00072DD4 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 80075E78 00072DD8 7D 89 03 A6 */ mtctr r12
/* 80075E7C 00072DDC 4E 80 04 21 */ bctrl
lbl_80075E80:
/* 80075E80 00072DE0 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80075E84 00072DE4 41 82 04 58 */ beq lbl_800762DC
/* 80075E88 00072DE8 7F A4 EB 78 */ mr r4, r29
/* 80075E8C 00072DEC 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80075E90 00072DF0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80075E94 00072DF4 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80075E98 00072DF8 7D 89 03 A6 */ mtctr r12
/* 80075E9C 00072DFC 4E 80 04 21 */ bctrl
/* 80075EA0 00072E00 88 01 01 10 */ lbz r0, 0x110(r1)
/* 80075EA4 00072E04 28 00 00 00 */ cmplwi r0, 0
/* 80075EA8 00072E08 98 01 01 48 */ stb r0, 0x148(r1)
/* 80075EAC 00072E0C 41 82 00 3C */ beq lbl_80075EE8
/* 80075EB0 00072E10 34 61 01 30 */ addic. r3, r1, 0x130
/* 80075EB4 00072E14 41 82 00 34 */ beq lbl_80075EE8
/* 80075EB8 00072E18 C0 01 00 F8 */ lfs f0, 0xf8(r1)
/* 80075EBC 00072E1C D0 03 00 00 */ stfs f0, 0(r3)
/* 80075EC0 00072E20 C0 01 00 FC */ lfs f0, 0xfc(r1)
/* 80075EC4 00072E24 D0 03 00 04 */ stfs f0, 4(r3)
/* 80075EC8 00072E28 C0 01 01 00 */ lfs f0, 0x100(r1)
/* 80075ECC 00072E2C D0 03 00 08 */ stfs f0, 8(r3)
/* 80075ED0 00072E30 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 80075ED4 00072E34 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80075ED8 00072E38 C0 01 01 08 */ lfs f0, 0x108(r1)
/* 80075EDC 00072E3C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80075EE0 00072E40 C0 01 01 0C */ lfs f0, 0x10c(r1)
/* 80075EE4 00072E44 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_80075EE8:
/* 80075EE8 00072E48 38 00 00 00 */ li r0, 0
/* 80075EEC 00072E4C 7F 44 D3 78 */ mr r4, r26
/* 80075EF0 00072E50 98 01 01 10 */ stb r0, 0x110(r1)
/* 80075EF4 00072E54 38 61 00 DC */ addi r3, r1, 0xdc
/* 80075EF8 00072E58 81 9A 00 00 */ lwz r12, 0(r26)
/* 80075EFC 00072E5C 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80075F00 00072E60 7D 89 03 A6 */ mtctr r12
/* 80075F04 00072E64 4E 80 04 21 */ bctrl
/* 80075F08 00072E68 88 01 00 F4 */ lbz r0, 0xf4(r1)
/* 80075F0C 00072E6C 28 00 00 00 */ cmplwi r0, 0
/* 80075F10 00072E70 98 01 01 2C */ stb r0, 0x12c(r1)
/* 80075F14 00072E74 41 82 00 3C */ beq lbl_80075F50
/* 80075F18 00072E78 34 61 01 14 */ addic. r3, r1, 0x114
/* 80075F1C 00072E7C 41 82 00 34 */ beq lbl_80075F50
/* 80075F20 00072E80 C0 01 00 DC */ lfs f0, 0xdc(r1)
/* 80075F24 00072E84 D0 03 00 00 */ stfs f0, 0(r3)
/* 80075F28 00072E88 C0 01 00 E0 */ lfs f0, 0xe0(r1)
/* 80075F2C 00072E8C D0 03 00 04 */ stfs f0, 4(r3)
/* 80075F30 00072E90 C0 01 00 E4 */ lfs f0, 0xe4(r1)
/* 80075F34 00072E94 D0 03 00 08 */ stfs f0, 8(r3)
/* 80075F38 00072E98 C0 01 00 E8 */ lfs f0, 0xe8(r1)
/* 80075F3C 00072E9C D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80075F40 00072EA0 C0 01 00 EC */ lfs f0, 0xec(r1)
/* 80075F44 00072EA4 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80075F48 00072EA8 C0 01 00 F0 */ lfs f0, 0xf0(r1)
/* 80075F4C 00072EAC D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_80075F50:
/* 80075F50 00072EB0 88 01 01 48 */ lbz r0, 0x148(r1)
/* 80075F54 00072EB4 38 60 00 00 */ li r3, 0
/* 80075F58 00072EB8 98 61 00 F4 */ stb r3, 0xf4(r1)
/* 80075F5C 00072EBC 28 00 00 00 */ cmplwi r0, 0
/* 80075F60 00072EC0 41 82 02 5C */ beq lbl_800761BC
/* 80075F64 00072EC4 88 01 01 2C */ lbz r0, 0x12c(r1)
/* 80075F68 00072EC8 28 00 00 00 */ cmplwi r0, 0
/* 80075F6C 00072ECC 41 82 02 50 */ beq lbl_800761BC
/* 80075F70 00072ED0 38 61 01 30 */ addi r3, r1, 0x130
/* 80075F74 00072ED4 38 81 01 14 */ addi r4, r1, 0x114
/* 80075F78 00072ED8 48 2C 1C 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox
/* 80075F7C 00072EDC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80075F80 00072EE0 41 82 02 3C */ beq lbl_800761BC
/* 80075F84 00072EE4 7F A3 EB 78 */ mr r3, r29
/* 80075F88 00072EE8 7F 44 D3 78 */ mr r4, r26
/* 80075F8C 00072EEC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80075F90 00072EF0 7F C5 F3 78 */ mr r5, r30
/* 80075F94 00072EF4 3B 80 00 01 */ li r28, 1
/* 80075F98 00072EF8 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80075F9C 00072EFC 7D 89 03 A6 */ mtctr r12
/* 80075FA0 00072F00 4E 80 04 21 */ bctrl
/* 80075FA4 00072F04 7F 43 D3 78 */ mr r3, r26
/* 80075FA8 00072F08 7F C4 F3 78 */ mr r4, r30
/* 80075FAC 00072F0C 81 9A 00 00 */ lwz r12, 0(r26)
/* 80075FB0 00072F10 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80075FB4 00072F14 7D 89 03 A6 */ mtctr r12
/* 80075FB8 00072F18 4E 80 04 21 */ bctrl
/* 80075FBC 00072F1C 28 03 00 00 */ cmplwi r3, 0
/* 80075FC0 00072F20 41 82 01 34 */ beq lbl_800760F4
/* 80075FC4 00072F24 C0 3D 01 08 */ lfs f1, 0x108(r29)
/* 80075FC8 00072F28 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 80075FCC 00072F2C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80075FD0 00072F30 40 81 01 24 */ ble lbl_800760F4
/* 80075FD4 00072F34 88 01 01 68 */ lbz r0, 0x168(r1)
/* 80075FD8 00072F38 28 00 00 00 */ cmplwi r0, 0
/* 80075FDC 00072F3C 40 82 00 A4 */ bne lbl_80076080
/* 80075FE0 00072F40 FC 20 F8 90 */ fmr f1, f31
/* 80075FE4 00072F44 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80075FE8 00072F48 38 9D 01 00 */ addi r4, r29, 0x100
/* 80075FEC 00072F4C 48 04 D4 5D */ bl __ct__11CDamageInfoFRC11CDamageInfof
/* 80075FF0 00072F50 88 01 01 68 */ lbz r0, 0x168(r1)
/* 80075FF4 00072F54 28 00 00 00 */ cmplwi r0, 0
/* 80075FF8 00072F58 40 82 00 50 */ bne lbl_80076048
/* 80075FFC 00072F5C 34 61 01 4C */ addic. r3, r1, 0x14c
/* 80076000 00072F60 41 82 00 3C */ beq lbl_8007603C
/* 80076004 00072F64 80 01 00 C0 */ lwz r0, 0xc0(r1)
/* 80076008 00072F68 90 03 00 00 */ stw r0, 0(r3)
/* 8007600C 00072F6C 88 01 00 C4 */ lbz r0, 0xc4(r1)
/* 80076010 00072F70 98 03 00 04 */ stb r0, 4(r3)
/* 80076014 00072F74 C0 01 00 C8 */ lfs f0, 0xc8(r1)
/* 80076018 00072F78 D0 03 00 08 */ stfs f0, 8(r3)
/* 8007601C 00072F7C C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 80076020 00072F80 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80076024 00072F84 C0 01 00 D0 */ lfs f0, 0xd0(r1)
/* 80076028 00072F88 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8007602C 00072F8C C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 80076030 00072F90 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80076034 00072F94 88 01 00 D8 */ lbz r0, 0xd8(r1)
/* 80076038 00072F98 98 03 00 18 */ stb r0, 0x18(r3)
lbl_8007603C:
/* 8007603C 00072F9C 38 00 00 01 */ li r0, 1
/* 80076040 00072FA0 98 01 01 68 */ stb r0, 0x168(r1)
/* 80076044 00072FA4 48 00 00 3C */ b lbl_80076080
lbl_80076048:
/* 80076048 00072FA8 80 81 00 C0 */ lwz r4, 0xc0(r1)
/* 8007604C 00072FAC 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 80076050 00072FB0 C0 61 00 C8 */ lfs f3, 0xc8(r1)
/* 80076054 00072FB4 C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 80076058 00072FB8 C0 21 00 D0 */ lfs f1, 0xd0(r1)
/* 8007605C 00072FBC C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 80076060 00072FC0 88 01 00 D8 */ lbz r0, 0xd8(r1)
/* 80076064 00072FC4 90 81 01 4C */ stw r4, 0x14c(r1)
/* 80076068 00072FC8 90 61 01 50 */ stw r3, 0x150(r1)
/* 8007606C 00072FCC D0 61 01 54 */ stfs f3, 0x154(r1)
/* 80076070 00072FD0 D0 41 01 58 */ stfs f2, 0x158(r1)
/* 80076074 00072FD4 D0 21 01 5C */ stfs f1, 0x15c(r1)
/* 80076078 00072FD8 D0 01 01 60 */ stfs f0, 0x160(r1)
/* 8007607C 00072FDC 98 01 01 64 */ stb r0, 0x164(r1)
lbl_80076080:
/* 80076080 00072FE0 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13)
/* 80076084 00072FE4 38 60 00 00 */ li r3, 0
/* 80076088 00072FE8 38 80 00 01 */ li r4, 1
/* 8007608C 00072FEC 48 31 3E 69 */ bl __shl2i
/* 80076090 00072FF0 39 40 00 00 */ li r10, 0
/* 80076094 00072FF4 38 00 00 03 */ li r0, 3
/* 80076098 00072FF8 90 81 00 AC */ stw r4, 0xac(r1)
/* 8007609C 00072FFC 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
/* 800760A0 00073000 39 24 66 A0 */ addi r9, r4, sZeroVector__9CVector3f@l
/* 800760A4 00073004 38 A1 00 30 */ addi r5, r1, 0x30
/* 800760A8 00073008 90 61 00 A8 */ stw r3, 0xa8(r1)
/* 800760AC 0007300C 38 81 00 38 */ addi r4, r1, 0x38
/* 800760B0 00073010 7F C3 F3 78 */ mr r3, r30
/* 800760B4 00073014 38 C1 00 28 */ addi r6, r1, 0x28
/* 800760B8 00073018 91 41 00 B4 */ stw r10, 0xb4(r1)
/* 800760BC 0007301C 38 E1 01 4C */ addi r7, r1, 0x14c
/* 800760C0 00073020 39 01 00 A8 */ addi r8, r1, 0xa8
/* 800760C4 00073024 91 41 00 B0 */ stw r10, 0xb0(r1)
/* 800760C8 00073028 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 800760CC 0007302C A0 1D 00 08 */ lhz r0, 8(r29)
/* 800760D0 00073030 B0 01 00 28 */ sth r0, 0x28(r1)
/* 800760D4 00073034 A1 5A 00 08 */ lhz r10, 8(r26)
/* 800760D8 00073038 B0 01 00 24 */ sth r0, 0x24(r1)
/* 800760DC 0007303C B1 41 00 30 */ sth r10, 0x30(r1)
/* 800760E0 00073040 A0 1D 00 08 */ lhz r0, 8(r29)
/* 800760E4 00073044 B1 41 00 2C */ sth r10, 0x2c(r1)
/* 800760E8 00073048 B0 01 00 34 */ sth r0, 0x34(r1)
/* 800760EC 0007304C B0 01 00 38 */ sth r0, 0x38(r1)
/* 800760F0 00073050 4B FD 3F B1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f
lbl_800760F4:
/* 800760F4 00073054 C0 3D 01 28 */ lfs f1, 0x128(r29)
/* 800760F8 00073058 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 800760FC 0007305C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80076100 00073060 40 81 01 54 */ ble lbl_80076254
/* 80076104 00073064 7F 44 D3 78 */ mr r4, r26
/* 80076108 00073068 38 61 00 4C */ addi r3, r1, 0x4c
/* 8007610C 0007306C 48 03 65 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80076110 00073070 83 03 00 04 */ lwz r24, 4(r3)
/* 80076114 00073074 28 18 00 00 */ cmplwi r24, 0
/* 80076118 00073078 41 82 01 3C */ beq lbl_80076254
/* 8007611C 0007307C 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 80076120 00073080 C0 62 88 D4 */ lfs f3, lbl_805AA5F4@sda21(r2)
/* 80076124 00073084 54 00 04 21 */ rlwinm. r0, r0, 0, 0x10, 0x10
/* 80076128 00073088 41 82 00 2C */ beq lbl_80076154
/* 8007612C 0007308C 38 61 01 14 */ addi r3, r1, 0x114
/* 80076130 00073090 48 2C 15 21 */ bl GetVolume__6CAABoxCFv
/* 80076134 00073094 FF C0 08 90 */ fmr f30, f1
/* 80076138 00073098 38 61 00 8C */ addi r3, r1, 0x8c
/* 8007613C 0007309C 38 81 01 30 */ addi r4, r1, 0x130
/* 80076140 000730A0 38 A1 01 14 */ addi r5, r1, 0x114
/* 80076144 000730A4 48 2C 15 E1 */ bl GetBooleanIntersection__6CAABoxCFRC6CAABox
/* 80076148 000730A8 38 61 00 8C */ addi r3, r1, 0x8c
/* 8007614C 000730AC 48 2C 15 05 */ bl GetVolume__6CAABoxCFv
/* 80076150 000730B0 EC 61 F0 24 */ fdivs f3, f1, f30
lbl_80076154:
/* 80076154 000730B4 C0 5D 01 20 */ lfs f2, 0x120(r29)
/* 80076158 000730B8 C0 3D 01 24 */ lfs f1, 0x124(r29)
/* 8007615C 000730BC C0 1D 01 1C */ lfs f0, 0x11c(r29)
/* 80076160 000730C0 EC 43 00 B2 */ fmuls f2, f3, f2
/* 80076164 000730C4 EC 23 00 72 */ fmuls f1, f3, f1
/* 80076168 000730C8 EC 03 00 32 */ fmuls f0, f3, f0
/* 8007616C 000730CC D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 80076170 000730D0 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 80076174 000730D4 D0 21 00 70 */ stfs f1, 0x70(r1)
/* 80076178 000730D8 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 8007617C 000730DC 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12
/* 80076180 000730E0 41 82 00 24 */ beq lbl_800761A4
/* 80076184 000730E4 4B FA 53 B1 */ bl Identity__10CAxisAngleFv
/* 80076188 000730E8 7C 65 1B 78 */ mr r5, r3
/* 8007618C 000730EC 7F 03 C3 78 */ mr r3, r24
/* 80076190 000730F0 38 81 00 68 */ addi r4, r1, 0x68
/* 80076194 000730F4 48 0A 62 05 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 80076198 000730F8 7F 03 C3 78 */ mr r3, r24
/* 8007619C 000730FC 48 0A 4F E1 */ bl UseCollisionImpulses__13CPhysicsActorFv
/* 800761A0 00073100 48 00 00 B4 */ b lbl_80076254
lbl_800761A4:
/* 800761A4 00073104 4B FA 53 91 */ bl Identity__10CAxisAngleFv
/* 800761A8 00073108 7C 65 1B 78 */ mr r5, r3
/* 800761AC 0007310C 7F 03 C3 78 */ mr r3, r24
/* 800761B0 00073110 38 81 00 68 */ addi r4, r1, 0x68
/* 800761B4 00073114 48 0A 61 11 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
/* 800761B8 00073118 48 00 00 9C */ b lbl_80076254
lbl_800761BC:
/* 800761BC 0007311C 7F 24 CB 78 */ mr r4, r25
/* 800761C0 00073120 38 7D 00 E8 */ addi r3, r29, 0xe8
/* 800761C4 00073124 48 00 0D B5 */ bl "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
/* 800761C8 00073128 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 800761CC 0007312C 3B E0 00 01 */ li r31, 1
/* 800761D0 00073130 A0 99 00 08 */ lhz r4, 8(r25)
/* 800761D4 00073134 A0 03 00 08 */ lhz r0, 8(r3)
/* 800761D8 00073138 7C 04 00 40 */ cmplw r4, r0
/* 800761DC 0007313C 40 82 00 5C */ bne lbl_80076238
/* 800761E0 00073140 88 7D 01 48 */ lbz r3, 0x148(r29)
/* 800761E4 00073144 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 800761E8 00073148 41 82 00 50 */ beq lbl_80076238
/* 800761EC 0007314C 38 00 00 00 */ li r0, 0
/* 800761F0 00073150 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c
/* 800761F4 00073154 98 7D 01 48 */ stb r3, 0x148(r29)
/* 800761F8 00073158 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 800761FC 0007315C 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 80076200 00073160 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 80076204 00073164 41 82 00 18 */ beq lbl_8007621C
/* 80076208 00073168 4B F9 B7 3D */ bl DecrementPhazon__7CPlayerFv
/* 8007620C 0007316C 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 80076210 00073170 38 60 00 00 */ li r3, 0
/* 80076214 00073174 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80076218 00073178 98 1D 01 48 */ stb r0, 0x148(r29)
lbl_8007621C:
/* 8007621C 0007317C A0 7E 0F 74 */ lhz r3, 0xf74(r30)
/* 80076220 00073180 A0 1D 00 08 */ lhz r0, 8(r29)
/* 80076224 00073184 7C 03 00 40 */ cmplw r3, r0
/* 80076228 00073188 40 82 00 10 */ bne lbl_80076238
/* 8007622C 0007318C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80076230 00073190 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80076234 00073194 B0 1E 0F 74 */ sth r0, 0xf74(r30)
lbl_80076238:
/* 80076238 00073198 7F A3 EB 78 */ mr r3, r29
/* 8007623C 0007319C 7F 44 D3 78 */ mr r4, r26
/* 80076240 000731A0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80076244 000731A4 7F C5 F3 78 */ mr r5, r30
/* 80076248 000731A8 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8007624C 000731AC 7D 89 03 A6 */ mtctr r12
/* 80076250 000731B0 4E 80 04 21 */ bctrl
lbl_80076254:
/* 80076254 000731B4 38 00 00 00 */ li r0, 0
/* 80076258 000731B8 98 01 01 2C */ stb r0, 0x12c(r1)
/* 8007625C 000731BC 98 01 01 48 */ stb r0, 0x148(r1)
/* 80076260 000731C0 48 00 00 7C */ b lbl_800762DC
lbl_80076264:
/* 80076264 000731C4 7F 24 CB 78 */ mr r4, r25
/* 80076268 000731C8 38 7D 00 E8 */ addi r3, r29, 0xe8
/* 8007626C 000731CC 48 00 0D 0D */ bl "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
/* 80076270 000731D0 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 80076274 000731D4 A0 99 00 08 */ lhz r4, 8(r25)
/* 80076278 000731D8 A0 03 00 08 */ lhz r0, 8(r3)
/* 8007627C 000731DC 7C 04 00 40 */ cmplw r4, r0
/* 80076280 000731E0 40 82 00 5C */ bne lbl_800762DC
/* 80076284 000731E4 88 7D 01 48 */ lbz r3, 0x148(r29)
/* 80076288 000731E8 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 8007628C 000731EC 41 82 00 50 */ beq lbl_800762DC
/* 80076290 000731F0 38 00 00 00 */ li r0, 0
/* 80076294 000731F4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c
/* 80076298 000731F8 98 7D 01 48 */ stb r3, 0x148(r29)
/* 8007629C 000731FC 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 800762A0 00073200 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 800762A4 00073204 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 800762A8 00073208 41 82 00 18 */ beq lbl_800762C0
/* 800762AC 0007320C 4B F9 B6 99 */ bl DecrementPhazon__7CPlayerFv
/* 800762B0 00073210 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 800762B4 00073214 38 60 00 00 */ li r3, 0
/* 800762B8 00073218 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800762BC 0007321C 98 1D 01 48 */ stb r0, 0x148(r29)
lbl_800762C0:
/* 800762C0 00073220 A0 7E 0F 74 */ lhz r3, 0xf74(r30)
/* 800762C4 00073224 A0 1D 00 08 */ lhz r0, 8(r29)
/* 800762C8 00073228 7C 03 00 40 */ cmplw r3, r0
/* 800762CC 0007322C 40 82 00 10 */ bne lbl_800762DC
/* 800762D0 00073230 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800762D4 00073234 B0 01 00 08 */ sth r0, 8(r1)
/* 800762D8 00073238 B0 1E 0F 74 */ sth r0, 0xf74(r30)
lbl_800762DC:
/* 800762DC 0007323C 7F 79 DB 78 */ mr r25, r27
lbl_800762E0:
/* 800762E0 00073240 80 1D 00 F0 */ lwz r0, 0xf0(r29)
/* 800762E4 00073244 7C 19 00 40 */ cmplw r25, r0
/* 800762E8 00073248 40 82 FA 88 */ bne lbl_80075D70
/* 800762EC 0007324C 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 800762F0 00073250 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 800762F4 00073254 40 82 00 10 */ bne lbl_80076304
/* 800762F8 00073258 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 800762FC 0007325C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80076300 00073260 41 82 01 14 */ beq lbl_80076414
lbl_80076304:
/* 80076304 00073264 80 7E 08 70 */ lwz r3, 0x870(r30)
/* 80076308 00073268 7F C4 F3 78 */ mr r4, r30
/* 8007630C 0007326C 4B F9 58 55 */ bl CurrentCamera__14CCameraManagerFR13CStateManager
/* 80076310 00073270 7C 78 1B 78 */ mr r24, r3
/* 80076314 00073274 7F A4 EB 78 */ mr r4, r29
/* 80076318 00073278 C0 58 00 60 */ lfs f2, 0x60(r24)
/* 8007631C 0007327C 38 61 00 74 */ addi r3, r1, 0x74
/* 80076320 00073280 C0 38 00 50 */ lfs f1, 0x50(r24)
/* 80076324 00073284 C0 18 00 40 */ lfs f0, 0x40(r24)
/* 80076328 00073288 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8007632C 0007328C D0 21 00 60 */ stfs f1, 0x60(r1)
/* 80076330 00073290 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 80076334 00073294 48 00 03 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
/* 80076338 00073298 38 61 00 74 */ addi r3, r1, 0x74
/* 8007633C 0007329C 38 81 00 5C */ addi r4, r1, 0x5c
/* 80076340 000732A0 48 2C 11 F5 */ bl PointInside__6CAABoxCFRC9CVector3f
/* 80076344 000732A4 88 9D 01 48 */ lbz r4, 0x148(r29)
/* 80076348 000732A8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f
/* 8007634C 000732AC 41 82 00 78 */ beq lbl_800763C4
/* 80076350 000732B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80076354 000732B4 40 82 00 40 */ bne lbl_80076394
/* 80076358 000732B8 38 00 00 00 */ li r0, 0
/* 8007635C 000732BC 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19
/* 80076360 000732C0 98 9D 01 48 */ stb r4, 0x148(r29)
/* 80076364 000732C4 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 80076368 000732C8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 8007636C 000732CC 41 82 00 A8 */ beq lbl_80076414
/* 80076370 000732D0 7F A3 EB 78 */ mr r3, r29
/* 80076374 000732D4 7F 04 C3 78 */ mr r4, r24
/* 80076378 000732D8 81 9D 00 00 */ lwz r12, 0(r29)
/* 8007637C 000732DC 7F C5 F3 78 */ mr r5, r30
/* 80076380 000732E0 3B E0 00 01 */ li r31, 1
/* 80076384 000732E4 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 80076388 000732E8 7D 89 03 A6 */ mtctr r12
/* 8007638C 000732EC 4E 80 04 21 */ bctrl
/* 80076390 000732F0 48 00 00 84 */ b lbl_80076414
lbl_80076394:
/* 80076394 000732F4 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 80076398 000732F8 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 8007639C 000732FC 41 82 00 78 */ beq lbl_80076414
/* 800763A0 00073300 7F A3 EB 78 */ mr r3, r29
/* 800763A4 00073304 7F 04 C3 78 */ mr r4, r24
/* 800763A8 00073308 81 9D 00 00 */ lwz r12, 0(r29)
/* 800763AC 0007330C 7F C5 F3 78 */ mr r5, r30
/* 800763B0 00073310 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 800763B4 00073314 7D 89 03 A6 */ mtctr r12
/* 800763B8 00073318 4E 80 04 21 */ bctrl
/* 800763BC 0007331C 3B 80 00 01 */ li r28, 1
/* 800763C0 00073320 48 00 00 54 */ b lbl_80076414
lbl_800763C4:
/* 800763C4 00073324 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800763C8 00073328 41 82 00 4C */ beq lbl_80076414
/* 800763CC 0007332C 38 00 00 01 */ li r0, 1
/* 800763D0 00073330 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19
/* 800763D4 00073334 98 9D 01 48 */ stb r4, 0x148(r29)
/* 800763D8 00073338 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 800763DC 0007333C 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 800763E0 00073340 41 82 00 34 */ beq lbl_80076414
/* 800763E4 00073344 7F A3 EB 78 */ mr r3, r29
/* 800763E8 00073348 7F 04 C3 78 */ mr r4, r24
/* 800763EC 0007334C 81 9D 00 00 */ lwz r12, 0(r29)
/* 800763F0 00073350 7F C5 F3 78 */ mr r5, r30
/* 800763F4 00073354 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 800763F8 00073358 7D 89 03 A6 */ mtctr r12
/* 800763FC 0007335C 4E 80 04 21 */ bctrl
/* 80076400 00073360 7F A3 EB 78 */ mr r3, r29
/* 80076404 00073364 7F C5 F3 78 */ mr r5, r30
/* 80076408 00073368 38 80 00 03 */ li r4, 3
/* 8007640C 0007336C 38 C0 FF FF */ li r6, -1
/* 80076410 00073370 4B FD AC B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_80076414:
/* 80076414 00073374 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80076418 00073378 41 82 00 18 */ beq lbl_80076430
/* 8007641C 0007337C 7F A3 EB 78 */ mr r3, r29
/* 80076420 00073380 7F C5 F3 78 */ mr r5, r30
/* 80076424 00073384 38 80 00 06 */ li r4, 6
/* 80076428 00073388 38 C0 FF FF */ li r6, -1
/* 8007642C 0007338C 4B FD AC 95 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_80076430:
/* 80076430 00073390 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80076434 00073394 41 82 00 6C */ beq lbl_800764A0
/* 80076438 00073398 7F A3 EB 78 */ mr r3, r29
/* 8007643C 0007339C 7F C5 F3 78 */ mr r5, r30
/* 80076440 000733A0 38 80 00 04 */ li r4, 4
/* 80076444 000733A4 38 C0 FF FF */ li r6, -1
/* 80076448 000733A8 4B FD AC 79 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 8007644C 000733AC 88 1D 01 48 */ lbz r0, 0x148(r29)
/* 80076450 000733B0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 80076454 000733B4 41 82 00 4C */ beq lbl_800764A0
/* 80076458 000733B8 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8007645C 000733BC 7F C4 F3 78 */ mr r4, r30
/* 80076460 000733C0 38 61 00 44 */ addi r3, r1, 0x44
/* 80076464 000733C4 38 A1 00 18 */ addi r5, r1, 0x18
/* 80076468 000733C8 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8007646C 000733CC B0 01 00 18 */ sth r0, 0x18(r1)
/* 80076470 000733D0 4B FD 1A 51 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId
/* 80076474 000733D4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80076478 000733D8 7F C3 F3 78 */ mr r3, r30
/* 8007647C 000733DC 38 81 00 20 */ addi r4, r1, 0x20
/* 80076480 000733E0 38 A1 00 48 */ addi r5, r1, 0x48
/* 80076484 000733E4 90 01 00 48 */ stw r0, 0x48(r1)
/* 80076488 000733E8 38 C0 00 04 */ li r6, 4
/* 8007648C 000733EC 38 E0 00 04 */ li r7, 4
/* 80076490 000733F0 A0 1D 00 08 */ lhz r0, 8(r29)
/* 80076494 000733F4 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80076498 000733F8 B0 01 00 20 */ sth r0, 0x20(r1)
/* 8007649C 000733FC 4B FD 16 A1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState
lbl_800764A0:
/* 800764A0 00073400 38 00 00 00 */ li r0, 0
/* 800764A4 00073404 98 01 01 68 */ stb r0, 0x168(r1)
/* 800764A8 00073408 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0
/* 800764AC 0007340C CB E1 01 A0 */ lfd f31, 0x1a0(r1)
/* 800764B0 00073410 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0
/* 800764B4 00073414 CB C1 01 90 */ lfd f30, 0x190(r1)
/* 800764B8 00073418 BB 01 01 70 */ lmw r24, 0x170(r1)
/* 800764BC 0007341C 80 01 01 B4 */ lwz r0, 0x1b4(r1)
/* 800764C0 00073420 7C 08 03 A6 */ mtlr r0
/* 800764C4 00073424 38 21 01 B0 */ addi r1, r1, 0x1b0
/* 800764C8 00073428 4E 80 00 20 */ blr
.global Think__14CScriptTriggerFfR13CStateManager
Think__14CScriptTriggerFfR13CStateManager:
/* 800764CC 0007342C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800764D0 00073430 7C 08 02 A6 */ mflr r0
/* 800764D4 00073434 90 01 00 14 */ stw r0, 0x14(r1)
/* 800764D8 00073438 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800764DC 0007343C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800764E0 00073440 41 82 00 08 */ beq lbl_800764E8
/* 800764E4 00073444 4B FF F8 49 */ bl UpdateInhabitants__14CScriptTriggerFR13CStateManager
lbl_800764E8:
/* 800764E8 00073448 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800764EC 0007344C 7C 08 03 A6 */ mtlr r0
/* 800764F0 00073450 38 21 00 10 */ addi r1, r1, 0x10
/* 800764F4 00073454 4E 80 00 20 */ blr
.global AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800764F8 00073458 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800764FC 0007345C 7C 08 02 A6 */ mflr r0
/* 80076500 00073460 90 01 00 34 */ stw r0, 0x34(r1)
/* 80076504 00073464 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80076508 00073468 7C 7C 1B 78 */ mr r28, r3
/* 8007650C 0007346C 7C 9D 23 78 */ mr r29, r4
/* 80076510 00073470 7C BE 2B 78 */ mr r30, r5
/* 80076514 00073474 7C DF 33 78 */ mr r31, r6
/* 80076518 00073478 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8007651C 0007347C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80076520 00073480 41 82 00 F4 */ beq lbl_80076614
/* 80076524 00073484 2C 1D 00 04 */ cmpwi r29, 4
/* 80076528 00073488 40 82 00 8C */ bne lbl_800765B4
/* 8007652C 0007348C 83 7C 00 F0 */ lwz r27, 0xf0(r28)
/* 80076530 00073490 80 9C 00 EC */ lwz r4, 0xec(r28)
/* 80076534 00073494 48 00 00 10 */ b lbl_80076544
lbl_80076538:
/* 80076538 00073498 38 7C 00 E8 */ addi r3, r28, 0xe8
/* 8007653C 0007349C 48 00 0A 3D */ bl "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
/* 80076540 000734A0 7C 64 1B 78 */ mr r4, r3
lbl_80076544:
/* 80076544 000734A4 7C 04 D8 40 */ cmplw r4, r27
/* 80076548 000734A8 40 82 FF F0 */ bne lbl_80076538
/* 8007654C 000734AC 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 80076550 000734B0 38 80 00 00 */ li r4, 0
/* 80076554 000734B4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80076558 000734B8 98 1C 01 48 */ stb r0, 0x148(r28)
/* 8007655C 000734BC 88 7C 01 48 */ lbz r3, 0x148(r28)
/* 80076560 000734C0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80076564 000734C4 41 82 00 B0 */ beq lbl_80076614
/* 80076568 000734C8 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c
/* 8007656C 000734CC 98 7C 01 48 */ stb r3, 0x148(r28)
/* 80076570 000734D0 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 80076574 000734D4 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80076578 000734D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8007657C 000734DC 41 82 00 18 */ beq lbl_80076594
/* 80076580 000734E0 4B F9 B3 C5 */ bl DecrementPhazon__7CPlayerFv
/* 80076584 000734E4 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 80076588 000734E8 38 60 00 00 */ li r3, 0
/* 8007658C 000734EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80076590 000734F0 98 1C 01 48 */ stb r0, 0x148(r28)
lbl_80076594:
/* 80076594 000734F4 A0 7F 0F 74 */ lhz r3, 0xf74(r31)
/* 80076598 000734F8 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8007659C 000734FC 7C 03 00 40 */ cmplw r3, r0
/* 800765A0 00073500 40 82 00 74 */ bne lbl_80076614
/* 800765A4 00073504 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800765A8 00073508 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800765AC 0007350C B0 1F 0F 74 */ sth r0, 0xf74(r31)
/* 800765B0 00073510 48 00 00 64 */ b lbl_80076614
lbl_800765B4:
/* 800765B4 00073514 2C 1D 00 22 */ cmpwi r29, 0x22
/* 800765B8 00073518 40 82 00 5C */ bne lbl_80076614
/* 800765BC 0007351C 88 7C 01 48 */ lbz r3, 0x148(r28)
/* 800765C0 00073520 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 800765C4 00073524 41 82 00 50 */ beq lbl_80076614
/* 800765C8 00073528 38 00 00 00 */ li r0, 0
/* 800765CC 0007352C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c
/* 800765D0 00073530 98 7C 01 48 */ stb r3, 0x148(r28)
/* 800765D4 00073534 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 800765D8 00073538 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 800765DC 0007353C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 800765E0 00073540 41 82 00 18 */ beq lbl_800765F8
/* 800765E4 00073544 4B F9 B3 61 */ bl DecrementPhazon__7CPlayerFv
/* 800765E8 00073548 88 1C 01 48 */ lbz r0, 0x148(r28)
/* 800765EC 0007354C 38 60 00 00 */ li r3, 0
/* 800765F0 00073550 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800765F4 00073554 98 1C 01 48 */ stb r0, 0x148(r28)
lbl_800765F8:
/* 800765F8 00073558 A0 7F 0F 74 */ lhz r3, 0xf74(r31)
/* 800765FC 0007355C A0 1C 00 08 */ lhz r0, 8(r28)
/* 80076600 00073560 7C 03 00 40 */ cmplw r3, r0
/* 80076604 00073564 40 82 00 10 */ bne lbl_80076614
/* 80076608 00073568 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 8007660C 0007356C B0 01 00 08 */ sth r0, 8(r1)
/* 80076610 00073570 B0 1F 0F 74 */ sth r0, 0xf74(r31)
lbl_80076614:
/* 80076614 00073574 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80076618 00073578 7F 83 E3 78 */ mr r3, r28
/* 8007661C 0007357C 7F A4 EB 78 */ mr r4, r29
/* 80076620 00073580 7F E6 FB 78 */ mr r6, r31
/* 80076624 00073584 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80076628 00073588 38 A1 00 10 */ addi r5, r1, 0x10
/* 8007662C 0007358C 4B FD CF E9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80076630 00073590 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80076634 00073594 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80076638 00073598 7C 08 03 A6 */ mtlr r0
/* 8007663C 0007359C 38 21 00 30 */ addi r1, r1, 0x30
/* 80076640 000735A0 4E 80 00 20 */ blr
.global GetTouchBounds__14CScriptTriggerCFv
GetTouchBounds__14CScriptTriggerCFv:
/* 80076644 000735A4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80076648 000735A8 7C 08 02 A6 */ mflr r0
/* 8007664C 000735AC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80076650 000735B0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80076654 000735B4 7C 7F 1B 78 */ mr r31, r3
/* 80076658 000735B8 88 04 00 30 */ lbz r0, 0x30(r4)
/* 8007665C 000735BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80076660 000735C0 41 82 00 50 */ beq lbl_800766B0
/* 80076664 000735C4 38 61 00 08 */ addi r3, r1, 8
/* 80076668 000735C8 48 00 00 65 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
/* 8007666C 000735CC 38 00 00 01 */ li r0, 1
/* 80076670 000735D0 28 1F 00 00 */ cmplwi r31, 0
/* 80076674 000735D4 98 1F 00 18 */ stb r0, 0x18(r31)
/* 80076678 000735D8 41 82 00 40 */ beq lbl_800766B8
/* 8007667C 000735DC C0 01 00 08 */ lfs f0, 8(r1)
/* 80076680 000735E0 D0 1F 00 00 */ stfs f0, 0(r31)
/* 80076684 000735E4 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80076688 000735E8 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8007668C 000735EC C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80076690 000735F0 D0 1F 00 08 */ stfs f0, 8(r31)
/* 80076694 000735F4 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80076698 000735F8 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8007669C 000735FC C0 01 00 18 */ lfs f0, 0x18(r1)
/* 800766A0 00073600 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 800766A4 00073604 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 800766A8 00073608 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 800766AC 0007360C 48 00 00 0C */ b lbl_800766B8
lbl_800766B0:
/* 800766B0 00073610 38 00 00 00 */ li r0, 0
/* 800766B4 00073614 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_800766B8:
/* 800766B8 00073618 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800766BC 0007361C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800766C0 00073620 7C 08 03 A6 */ mtlr r0
/* 800766C4 00073624 38 21 00 30 */ addi r1, r1, 0x30
/* 800766C8 00073628 4E 80 00 20 */ blr
.global GetTriggerBoundsWR__14CScriptTriggerCFv
GetTriggerBoundsWR__14CScriptTriggerCFv:
/* 800766CC 0007362C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800766D0 00073630 7C 08 02 A6 */ mflr r0
/* 800766D4 00073634 90 01 00 24 */ stw r0, 0x24(r1)
/* 800766D8 00073638 38 A1 00 08 */ addi r5, r1, 8
/* 800766DC 0007363C C0 24 01 40 */ lfs f1, 0x140(r4)
/* 800766E0 00073640 C0 64 00 50 */ lfs f3, 0x50(r4)
/* 800766E4 00073644 C0 04 01 34 */ lfs f0, 0x134(r4)
/* 800766E8 00073648 EC C1 18 2A */ fadds f6, f1, f3
/* 800766EC 0007364C C0 44 01 44 */ lfs f2, 0x144(r4)
/* 800766F0 00073650 EC 80 18 2A */ fadds f4, f0, f3
/* 800766F4 00073654 C0 24 00 60 */ lfs f1, 0x60(r4)
/* 800766F8 00073658 C0 04 01 38 */ lfs f0, 0x138(r4)
/* 800766FC 0007365C EC A2 08 2A */ fadds f5, f2, f1
/* 80076700 00073660 EC 60 08 2A */ fadds f3, f0, f1
/* 80076704 00073664 C0 24 01 3C */ lfs f1, 0x13c(r4)
/* 80076708 00073668 C0 44 00 40 */ lfs f2, 0x40(r4)
/* 8007670C 0007366C C0 04 01 30 */ lfs f0, 0x130(r4)
/* 80076710 00073670 38 81 00 14 */ addi r4, r1, 0x14
/* 80076714 00073674 EC 21 10 2A */ fadds f1, f1, f2
/* 80076718 00073678 EC 00 10 2A */ fadds f0, f0, f2
/* 8007671C 0007367C D0 C1 00 0C */ stfs f6, 0xc(r1)
/* 80076720 00073680 D0 21 00 08 */ stfs f1, 8(r1)
/* 80076724 00073684 D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 80076728 00073688 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8007672C 0007368C D0 81 00 18 */ stfs f4, 0x18(r1)
/* 80076730 00073690 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 80076734 00073694 48 2C 1D D5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80076738 00073698 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007673C 0007369C 7C 08 03 A6 */ mtlr r0
/* 80076740 000736A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80076744 000736A4 4E 80 00 20 */ blr
.global Touch__14CScriptTriggerFR6CActorR13CStateManager
Touch__14CScriptTriggerFR6CActorR13CStateManager:
/* 80076748 000736A8 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8007674C 000736AC 7C 08 02 A6 */ mflr r0
/* 80076750 000736B0 90 01 01 04 */ stw r0, 0x104(r1)
/* 80076754 000736B4 BF 21 00 E4 */ stmw r25, 0xe4(r1)
/* 80076758 000736B8 7C 7B 1B 78 */ mr r27, r3
/* 8007675C 000736BC 7C 9C 23 78 */ mr r28, r4
/* 80076760 000736C0 7C BD 2B 78 */ mr r29, r5
/* 80076764 000736C4 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80076768 000736C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8007676C 000736CC 41 82 05 00 */ beq lbl_80076C6C
/* 80076770 000736D0 80 9C 00 68 */ lwz r4, 0x68(r28)
/* 80076774 000736D4 38 00 00 04 */ li r0, 4
/* 80076778 000736D8 80 DC 00 6C */ lwz r6, 0x6c(r28)
/* 8007677C 000736DC 38 A0 00 00 */ li r5, 0
/* 80076780 000736E0 7C 80 00 38 */ and r0, r4, r0
/* 80076784 000736E4 7C C4 28 38 */ and r4, r6, r5
/* 80076788 000736E8 7C 84 2A 78 */ xor r4, r4, r5
/* 8007678C 000736EC 7C 00 2A 78 */ xor r0, r0, r5
/* 80076790 000736F0 7C 80 03 79 */ or. r0, r4, r0
/* 80076794 000736F4 40 82 04 D8 */ bne lbl_80076C6C
/* 80076798 000736F8 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8007679C 000736FC 38 81 00 5C */ addi r4, r1, 0x5c
/* 800767A0 00073700 B0 01 00 58 */ sth r0, 0x58(r1)
/* 800767A4 00073704 B0 01 00 5C */ sth r0, 0x5c(r1)
/* 800767A8 00073708 4B FF F5 01 */ bl FindObject__14CScriptTriggerF9TUniqueId
/* 800767AC 0007370C 28 03 00 00 */ cmplwi r3, 0
/* 800767B0 00073710 40 82 04 BC */ bne lbl_80076C6C
/* 800767B4 00073714 7F 84 E3 78 */ mr r4, r28
/* 800767B8 00073718 38 61 00 80 */ addi r3, r1, 0x80
/* 800767BC 0007371C 3B E0 00 00 */ li r31, 0
/* 800767C0 00073720 48 03 5C 41 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity"
/* 800767C4 00073724 83 C3 00 04 */ lwz r30, 4(r3)
/* 800767C8 00073728 28 1E 00 00 */ cmplwi r30, 0
/* 800767CC 0007372C 41 82 00 60 */ beq lbl_8007682C
/* 800767D0 00073730 C0 3B 01 28 */ lfs f1, 0x128(r27)
/* 800767D4 00073734 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 800767D8 00073738 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800767DC 0007373C 40 81 00 30 */ ble lbl_8007680C
/* 800767E0 00073740 80 1B 01 2C */ lwz r0, 0x12c(r27)
/* 800767E4 00073744 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 800767E8 00073748 41 82 00 24 */ beq lbl_8007680C
/* 800767EC 0007374C A0 7D 0F 74 */ lhz r3, 0xf74(r29)
/* 800767F0 00073750 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800767F4 00073754 7C 03 00 40 */ cmplw r3, r0
/* 800767F8 00073758 40 82 04 74 */ bne lbl_80076C6C
/* 800767FC 0007375C A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076800 00073760 B0 01 00 50 */ sth r0, 0x50(r1)
/* 80076804 00073764 B0 01 00 54 */ sth r0, 0x54(r1)
/* 80076808 00073768 B0 1D 0F 74 */ sth r0, 0xf74(r29)
lbl_8007680C:
/* 8007680C 0007376C 80 1E 02 F8 */ lwz r0, 0x2f8(r30)
/* 80076810 00073770 63 FF 00 01 */ ori r31, r31, 1
/* 80076814 00073774 2C 00 00 00 */ cmpwi r0, 0
/* 80076818 00073778 40 82 00 08 */ bne lbl_80076820
/* 8007681C 0007377C 67 FF 00 01 */ oris r31, r31, 1
lbl_80076820:
/* 80076820 00073780 2C 00 00 01 */ cmpwi r0, 1
/* 80076824 00073784 40 82 00 08 */ bne lbl_8007682C
/* 80076828 00073788 63 FF 10 00 */ ori r31, r31, 0x1000
lbl_8007682C:
/* 8007682C 0007378C 7F 84 E3 78 */ mr r4, r28
/* 80076830 00073790 38 61 00 78 */ addi r3, r1, 0x78
/* 80076834 00073794 48 03 62 95 */ bl "__ct__24TCastToPtr<10CPatterned>FR7CEntity"
/* 80076838 00073798 80 03 00 04 */ lwz r0, 4(r3)
/* 8007683C 0007379C 28 00 00 00 */ cmplwi r0, 0
/* 80076840 000737A0 41 82 00 08 */ beq lbl_80076848
/* 80076844 000737A4 63 FF 00 02 */ ori r31, r31, 2
lbl_80076848:
/* 80076848 000737A8 7F 84 E3 78 */ mr r4, r28
/* 8007684C 000737AC 38 61 00 70 */ addi r3, r1, 0x70
/* 80076850 000737B0 48 03 6F 29 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity"
/* 80076854 000737B4 80 03 00 04 */ lwz r0, 4(r3)
/* 80076858 000737B8 28 00 00 00 */ cmplwi r0, 0
/* 8007685C 000737BC 41 82 00 0C */ beq lbl_80076868
/* 80076860 000737C0 63 FF 07 3C */ ori r31, r31, 0x73c
/* 80076864 000737C4 48 00 00 44 */ b lbl_800768A8
lbl_80076868:
/* 80076868 000737C8 7F 84 E3 78 */ mr r4, r28
/* 8007686C 000737CC 38 61 00 68 */ addi r3, r1, 0x68
/* 80076870 000737D0 48 02 F0 95 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity"
/* 80076874 000737D4 80 03 00 04 */ lwz r0, 4(r3)
/* 80076878 000737D8 28 00 00 00 */ cmplwi r0, 0
/* 8007687C 000737DC 41 82 00 2C */ beq lbl_800768A8
/* 80076880 000737E0 80 7C 00 E8 */ lwz r3, 0xe8(r28)
/* 80076884 000737E4 54 60 05 EE */ rlwinm r0, r3, 0, 0x17, 0x17
/* 80076888 000737E8 2C 00 01 00 */ cmpwi r0, 0x100
/* 8007688C 000737EC 40 82 00 0C */ bne lbl_80076898
/* 80076890 000737F0 63 FF 00 40 */ ori r31, r31, 0x40
/* 80076894 000737F4 48 00 00 14 */ b lbl_800768A8
lbl_80076898:
/* 80076898 000737F8 54 60 05 AC */ rlwinm r0, r3, 0, 0x16, 0x16
/* 8007689C 000737FC 2C 00 02 00 */ cmpwi r0, 0x200
/* 800768A0 00073800 40 82 00 08 */ bne lbl_800768A8
/* 800768A4 00073804 63 FF 00 80 */ ori r31, r31, 0x80
lbl_800768A8:
/* 800768A8 00073808 80 1B 01 2C */ lwz r0, 0x12c(r27)
/* 800768AC 0007380C 7F E0 00 39 */ and. r0, r31, r0
/* 800768B0 00073810 41 82 03 A0 */ beq lbl_80076C50
/* 800768B4 00073814 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800768B8 00073818 3C 60 80 3D */ lis r3, lbl_803CD5F8@ha
/* 800768BC 0007381C 83 5B 00 F0 */ lwz r26, 0xf0(r27)
/* 800768C0 00073820 38 83 D5 F8 */ addi r4, r3, lbl_803CD5F8@l
/* 800768C4 00073824 B0 01 00 48 */ sth r0, 0x48(r1)
/* 800768C8 00073828 38 60 00 0A */ li r3, 0xa
/* 800768CC 0007382C 83 3A 00 00 */ lwz r25, 0(r26)
/* 800768D0 00073830 38 A0 00 00 */ li r5, 0
/* 800768D4 00073834 B0 01 00 4C */ sth r0, 0x4c(r1)
/* 800768D8 00073838 48 29 EF 41 */ bl __nwa__FUlPCcPCc
/* 800768DC 0007383C 28 03 00 00 */ cmplwi r3, 0
/* 800768E0 00073840 41 82 00 0C */ beq lbl_800768EC
/* 800768E4 00073844 93 23 00 00 */ stw r25, 0(r3)
/* 800768E8 00073848 93 43 00 04 */ stw r26, 4(r3)
lbl_800768EC:
/* 800768EC 0007384C 34 83 00 08 */ addic. r4, r3, 8
/* 800768F0 00073850 41 82 00 0C */ beq lbl_800768FC
/* 800768F4 00073854 A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 800768F8 00073858 B0 04 00 00 */ sth r0, 0(r4)
lbl_800768FC:
/* 800768FC 0007385C 80 1B 00 EC */ lwz r0, 0xec(r27)
/* 80076900 00073860 7C 1A 00 40 */ cmplw r26, r0
/* 80076904 00073864 40 82 00 08 */ bne lbl_8007690C
/* 80076908 00073868 90 7B 00 EC */ stw r3, 0xec(r27)
lbl_8007690C:
/* 8007690C 0007386C 80 C3 00 00 */ lwz r6, 0(r3)
/* 80076910 00073870 7F 84 E3 78 */ mr r4, r28
/* 80076914 00073874 7F A5 EB 78 */ mr r5, r29
/* 80076918 00073878 90 66 00 04 */ stw r3, 4(r6)
/* 8007691C 0007387C 80 C3 00 04 */ lwz r6, 4(r3)
/* 80076920 00073880 90 66 00 00 */ stw r3, 0(r6)
/* 80076924 00073884 7F 63 DB 78 */ mr r3, r27
/* 80076928 00073888 80 DB 00 FC */ lwz r6, 0xfc(r27)
/* 8007692C 0007388C 38 06 00 01 */ addi r0, r6, 1
/* 80076930 00073890 90 1B 00 FC */ stw r0, 0xfc(r27)
/* 80076934 00073894 81 9B 00 00 */ lwz r12, 0(r27)
/* 80076938 00073898 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8007693C 0007389C 7D 89 03 A6 */ mtctr r12
/* 80076940 000738A0 4E 80 04 21 */ bctrl
/* 80076944 000738A4 57 E0 07 FF */ clrlwi. r0, r31, 0x1f
/* 80076948 000738A8 41 82 00 D0 */ beq lbl_80076A18
/* 8007694C 000738AC 28 1E 00 00 */ cmplwi r30, 0
/* 80076950 000738B0 41 82 00 C8 */ beq lbl_80076A18
/* 80076954 000738B4 88 7B 01 48 */ lbz r3, 0x148(r27)
/* 80076958 000738B8 54 60 EF FE */ rlwinm r0, r3, 0x1d, 0x1f, 0x1f
/* 8007695C 000738BC 28 00 00 01 */ cmplwi r0, 1
/* 80076960 000738C0 41 82 00 B8 */ beq lbl_80076A18
/* 80076964 000738C4 38 00 00 01 */ li r0, 1
/* 80076968 000738C8 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c
/* 8007696C 000738CC 98 7B 01 48 */ stb r3, 0x148(r27)
/* 80076970 000738D0 88 1B 01 48 */ lbz r0, 0x148(r27)
/* 80076974 000738D4 83 3D 08 4C */ lwz r25, 0x84c(r29)
/* 80076978 000738D8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8007697C 000738DC 41 82 00 1C */ beq lbl_80076998
/* 80076980 000738E0 7F 23 CB 78 */ mr r3, r25
/* 80076984 000738E4 4B F9 AF C1 */ bl DecrementPhazon__7CPlayerFv
/* 80076988 000738E8 88 1B 01 48 */ lbz r0, 0x148(r27)
/* 8007698C 000738EC 38 60 00 00 */ li r3, 0
/* 80076990 000738F0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80076994 000738F4 98 1B 01 48 */ stb r0, 0x148(r27)
lbl_80076998:
/* 80076998 000738F8 C0 3B 01 08 */ lfs f1, 0x108(r27)
/* 8007699C 000738FC C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 800769A0 00073900 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800769A4 00073904 4C 40 13 82 */ cror 2, 0, 2
/* 800769A8 00073908 41 82 00 70 */ beq lbl_80076A18
/* 800769AC 0007390C 7F 23 CB 78 */ mr r3, r25
/* 800769B0 00073910 81 99 00 00 */ lwz r12, 0(r25)
/* 800769B4 00073914 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 800769B8 00073918 7D 89 03 A6 */ mtctr r12
/* 800769BC 0007391C 4E 80 04 21 */ bctrl
/* 800769C0 00073920 38 9B 01 00 */ addi r4, r27, 0x100
/* 800769C4 00073924 38 A0 00 00 */ li r5, 0
/* 800769C8 00073928 48 08 BD 41 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponModei
/* 800769CC 0007392C 80 1B 01 00 */ lwz r0, 0x100(r27)
/* 800769D0 00073930 7C 7E 1B 78 */ mr r30, r3
/* 800769D4 00073934 2C 00 00 08 */ cmpwi r0, 8
/* 800769D8 00073938 40 82 00 20 */ bne lbl_800769F8
/* 800769DC 0007393C 38 7D 08 B8 */ addi r3, r29, 0x8b8
/* 800769E0 00073940 48 00 05 8D */ bl "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv"
/* 800769E4 00073944 38 80 00 17 */ li r4, 0x17
/* 800769E8 00073948 48 01 B0 D9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 800769EC 0007394C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800769F0 00073950 41 82 00 08 */ beq lbl_800769F8
/* 800769F4 00073954 3B C0 00 00 */ li r30, 0
lbl_800769F8:
/* 800769F8 00073958 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800769FC 0007395C 41 82 00 1C */ beq lbl_80076A18
/* 80076A00 00073960 7F 23 CB 78 */ mr r3, r25
/* 80076A04 00073964 4B F9 AF 59 */ bl IncrementPhazon__7CPlayerFv
/* 80076A08 00073968 88 1B 01 48 */ lbz r0, 0x148(r27)
/* 80076A0C 0007396C 38 60 00 01 */ li r3, 1
/* 80076A10 00073970 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80076A14 00073974 98 1B 01 48 */ stb r0, 0x148(r27)
lbl_80076A18:
/* 80076A18 00073978 7F 63 DB 78 */ mr r3, r27
/* 80076A1C 0007397C 7F A5 EB 78 */ mr r5, r29
/* 80076A20 00073980 38 80 00 03 */ li r4, 3
/* 80076A24 00073984 38 C0 FF FF */ li r6, -1
/* 80076A28 00073988 4B FD A6 99 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80076A2C 0007398C 88 1B 01 48 */ lbz r0, 0x148(r27)
/* 80076A30 00073990 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 80076A34 00073994 41 82 00 F0 */ beq lbl_80076B24
/* 80076A38 00073998 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076A3C 0007399C 7F A4 EB 78 */ mr r4, r29
/* 80076A40 000739A0 38 61 00 60 */ addi r3, r1, 0x60
/* 80076A44 000739A4 38 A1 00 3C */ addi r5, r1, 0x3c
/* 80076A48 000739A8 B0 01 00 38 */ sth r0, 0x38(r1)
/* 80076A4C 000739AC B0 01 00 3C */ sth r0, 0x3c(r1)
/* 80076A50 000739B0 4B FD 14 71 */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId
/* 80076A54 000739B4 80 01 00 60 */ lwz r0, 0x60(r1)
/* 80076A58 000739B8 7F A3 EB 78 */ mr r3, r29
/* 80076A5C 000739BC 38 81 00 44 */ addi r4, r1, 0x44
/* 80076A60 000739C0 38 A1 00 64 */ addi r5, r1, 0x64
/* 80076A64 000739C4 90 01 00 64 */ stw r0, 0x64(r1)
/* 80076A68 000739C8 38 C0 00 04 */ li r6, 4
/* 80076A6C 000739CC 38 E0 00 03 */ li r7, 3
/* 80076A70 000739D0 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076A74 000739D4 B0 01 00 40 */ sth r0, 0x40(r1)
/* 80076A78 000739D8 B0 01 00 44 */ sth r0, 0x44(r1)
/* 80076A7C 000739DC 4B FD 10 C1 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState
/* 80076A80 000739E0 7F 83 E3 78 */ mr r3, r28
/* 80076A84 000739E4 7F A4 EB 78 */ mr r4, r29
/* 80076A88 000739E8 81 9C 00 00 */ lwz r12, 0(r28)
/* 80076A8C 000739EC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80076A90 000739F0 7D 89 03 A6 */ mtctr r12
/* 80076A94 000739F4 4E 80 04 21 */ bctrl
/* 80076A98 000739F8 28 03 00 00 */ cmplwi r3, 0
/* 80076A9C 000739FC 41 82 00 88 */ beq lbl_80076B24
/* 80076AA0 00073A00 C0 3B 01 08 */ lfs f1, 0x108(r27)
/* 80076AA4 00073A04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 80076AA8 00073A08 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80076AAC 00073A0C 40 81 00 78 */ ble lbl_80076B24
/* 80076AB0 00073A10 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13)
/* 80076AB4 00073A14 38 60 00 00 */ li r3, 0
/* 80076AB8 00073A18 38 80 00 01 */ li r4, 1
/* 80076ABC 00073A1C 48 31 34 39 */ bl __shl2i
/* 80076AC0 00073A20 39 40 00 00 */ li r10, 0
/* 80076AC4 00073A24 38 00 00 03 */ li r0, 3
/* 80076AC8 00073A28 90 81 00 A4 */ stw r4, 0xa4(r1)
/* 80076ACC 00073A2C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
/* 80076AD0 00073A30 39 24 66 A0 */ addi r9, r4, sZeroVector__9CVector3f@l
/* 80076AD4 00073A34 38 A1 00 2C */ addi r5, r1, 0x2c
/* 80076AD8 00073A38 90 61 00 A0 */ stw r3, 0xa0(r1)
/* 80076ADC 00073A3C 38 81 00 34 */ addi r4, r1, 0x34
/* 80076AE0 00073A40 7F A3 EB 78 */ mr r3, r29
/* 80076AE4 00073A44 38 C1 00 24 */ addi r6, r1, 0x24
/* 80076AE8 00073A48 91 41 00 AC */ stw r10, 0xac(r1)
/* 80076AEC 00073A4C 38 FB 01 00 */ addi r7, r27, 0x100
/* 80076AF0 00073A50 39 01 00 A0 */ addi r8, r1, 0xa0
/* 80076AF4 00073A54 91 41 00 A8 */ stw r10, 0xa8(r1)
/* 80076AF8 00073A58 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80076AFC 00073A5C A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076B00 00073A60 B0 01 00 24 */ sth r0, 0x24(r1)
/* 80076B04 00073A64 A1 5C 00 08 */ lhz r10, 8(r28)
/* 80076B08 00073A68 B0 01 00 20 */ sth r0, 0x20(r1)
/* 80076B0C 00073A6C B1 41 00 2C */ sth r10, 0x2c(r1)
/* 80076B10 00073A70 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076B14 00073A74 B1 41 00 28 */ sth r10, 0x28(r1)
/* 80076B18 00073A78 B0 01 00 30 */ sth r0, 0x30(r1)
/* 80076B1C 00073A7C B0 01 00 34 */ sth r0, 0x34(r1)
/* 80076B20 00073A80 4B FD 35 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f
lbl_80076B24:
/* 80076B24 00073A84 80 1B 01 2C */ lwz r0, 0x12c(r27)
/* 80076B28 00073A88 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 80076B2C 00073A8C 41 82 01 40 */ beq lbl_80076C6C
/* 80076B30 00073A90 7F 83 E3 78 */ mr r3, r28
/* 80076B34 00073A94 7F A4 EB 78 */ mr r4, r29
/* 80076B38 00073A98 81 9C 00 00 */ lwz r12, 0(r28)
/* 80076B3C 00073A9C 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80076B40 00073AA0 7D 89 03 A6 */ mtctr r12
/* 80076B44 00073AA4 4E 80 04 21 */ bctrl
/* 80076B48 00073AA8 28 03 00 00 */ cmplwi r3, 0
/* 80076B4C 00073AAC 41 82 01 20 */ beq lbl_80076C6C
/* 80076B50 00073AB0 88 0D A2 40 */ lbz r0, lbl_805A8E00@sda21(r13)
/* 80076B54 00073AB4 7C 00 07 75 */ extsb. r0, r0
/* 80076B58 00073AB8 40 82 00 3C */ bne lbl_80076B94
/* 80076B5C 00073ABC 38 ED A2 44 */ addi r7, r13, lbl_805A8E04@sda21
/* 80076B60 00073AC0 38 C0 00 00 */ li r6, 0
/* 80076B64 00073AC4 88 07 00 04 */ lbz r0, 4(r7)
/* 80076B68 00073AC8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 80076B6C 00073ACC 38 80 00 01 */ li r4, 1
/* 80076B70 00073AD0 90 CD A2 44 */ stw r6, lbl_805A8E04@sda21(r13)
/* 80076B74 00073AD4 54 05 06 3E */ clrlwi r5, r0, 0x18
/* 80076B78 00073AD8 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19
/* 80076B7C 00073ADC 98 07 00 04 */ stb r0, 4(r7)
/* 80076B80 00073AE0 54 A0 06 3E */ clrlwi r0, r5, 0x18
/* 80076B84 00073AE4 98 A7 00 04 */ stb r5, 4(r7)
/* 80076B88 00073AE8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80076B8C 00073AEC 98 07 00 04 */ stb r0, 4(r7)
/* 80076B90 00073AF0 98 8D A2 40 */ stb r4, lbl_805A8E00@sda21(r13)
lbl_80076B94:
/* 80076B94 00073AF4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80076B98 00073AF8 38 8D A2 44 */ addi r4, r13, lbl_805A8E04@sda21
/* 80076B9C 00073AFC C0 42 88 D8 */ lfs f2, lbl_805AA5F8@sda21(r2)
/* 80076BA0 00073B00 38 A0 00 00 */ li r5, 0
/* 80076BA4 00073B04 C0 02 88 D0 */ lfs f0, lbl_805AA5F0@sda21(r2)
/* 80076BA8 00073B08 38 60 00 00 */ li r3, 0
/* 80076BAC 00073B0C EC 22 00 72 */ fmuls f1, f2, f1
/* 80076BB0 00073B10 88 C4 00 04 */ lbz r6, 4(r4)
/* 80076BB4 00073B14 80 ED A2 44 */ lwz r7, lbl_805A8E04@sda21(r13)
/* 80076BB8 00073B18 38 80 00 01 */ li r4, 1
/* 80076BBC 00073B1C 88 01 00 D0 */ lbz r0, 0xd0(r1)
/* 80076BC0 00073B20 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80076BC4 00073B24 80 AD 83 D0 */ lwz r5, lbl_805A6F90@sda21(r13)
/* 80076BC8 00073B28 90 E1 00 B8 */ stw r7, 0xb8(r1)
/* 80076BCC 00073B2C 98 C1 00 BC */ stb r6, 0xbc(r1)
/* 80076BD0 00073B30 D0 21 00 C0 */ stfs f1, 0xc0(r1)
/* 80076BD4 00073B34 D0 21 00 C4 */ stfs f1, 0xc4(r1)
/* 80076BD8 00073B38 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 80076BDC 00073B3C D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 80076BE0 00073B40 98 01 00 D0 */ stb r0, 0xd0(r1)
/* 80076BE4 00073B44 48 31 33 11 */ bl __shl2i
/* 80076BE8 00073B48 39 40 00 00 */ li r10, 0
/* 80076BEC 00073B4C 38 00 00 03 */ li r0, 3
/* 80076BF0 00073B50 90 81 00 8C */ stw r4, 0x8c(r1)
/* 80076BF4 00073B54 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
/* 80076BF8 00073B58 39 24 66 A0 */ addi r9, r4, sZeroVector__9CVector3f@l
/* 80076BFC 00073B5C 38 A1 00 14 */ addi r5, r1, 0x14
/* 80076C00 00073B60 90 61 00 88 */ stw r3, 0x88(r1)
/* 80076C04 00073B64 38 81 00 1C */ addi r4, r1, 0x1c
/* 80076C08 00073B68 7F A3 EB 78 */ mr r3, r29
/* 80076C0C 00073B6C 38 C1 00 0C */ addi r6, r1, 0xc
/* 80076C10 00073B70 91 41 00 94 */ stw r10, 0x94(r1)
/* 80076C14 00073B74 38 E1 00 B8 */ addi r7, r1, 0xb8
/* 80076C18 00073B78 39 01 00 88 */ addi r8, r1, 0x88
/* 80076C1C 00073B7C 91 41 00 90 */ stw r10, 0x90(r1)
/* 80076C20 00073B80 90 01 00 98 */ stw r0, 0x98(r1)
/* 80076C24 00073B84 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076C28 00073B88 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80076C2C 00073B8C A1 5C 00 08 */ lhz r10, 8(r28)
/* 80076C30 00073B90 B0 01 00 08 */ sth r0, 8(r1)
/* 80076C34 00073B94 B1 41 00 14 */ sth r10, 0x14(r1)
/* 80076C38 00073B98 A0 1B 00 08 */ lhz r0, 8(r27)
/* 80076C3C 00073B9C B1 41 00 10 */ sth r10, 0x10(r1)
/* 80076C40 00073BA0 B0 01 00 18 */ sth r0, 0x18(r1)
/* 80076C44 00073BA4 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80076C48 00073BA8 4B FD 34 59 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f
/* 80076C4C 00073BAC 48 00 00 20 */ b lbl_80076C6C
lbl_80076C50:
/* 80076C50 00073BB0 7F 63 DB 78 */ mr r3, r27
/* 80076C54 00073BB4 7F 84 E3 78 */ mr r4, r28
/* 80076C58 00073BB8 81 9B 00 00 */ lwz r12, 0(r27)
/* 80076C5C 00073BBC 7F A5 EB 78 */ mr r5, r29
/* 80076C60 00073BC0 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 80076C64 00073BC4 7D 89 03 A6 */ mtctr r12
/* 80076C68 00073BC8 4E 80 04 21 */ bctrl
lbl_80076C6C:
/* 80076C6C 00073BCC BB 21 00 E4 */ lmw r25, 0xe4(r1)
/* 80076C70 00073BD0 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80076C74 00073BD4 7C 08 03 A6 */ mtlr r0
/* 80076C78 00073BD8 38 21 01 00 */ addi r1, r1, 0x100
/* 80076C7C 00073BDC 4E 80 00 20 */ blr
.global __dt__14CScriptTriggerFv
__dt__14CScriptTriggerFv:
/* 80076C80 00073BE0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80076C84 00073BE4 7C 08 02 A6 */ mflr r0
/* 80076C88 00073BE8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80076C8C 00073BEC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80076C90 00073BF0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80076C94 00073BF4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80076C98 00073BF8 7C 9D 23 78 */ mr r29, r4
/* 80076C9C 00073BFC 93 81 00 10 */ stw r28, 0x10(r1)
/* 80076CA0 00073C00 7C 7C 1B 79 */ or. r28, r3, r3
/* 80076CA4 00073C04 41 82 00 90 */ beq lbl_80076D34
/* 80076CA8 00073C08 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha
/* 80076CAC 00073C0C 38 03 A4 D8 */ addi r0, r3, lbl_803DA4D8@l
/* 80076CB0 00073C10 90 1C 00 00 */ stw r0, 0(r28)
/* 80076CB4 00073C14 83 FC 00 EC */ lwz r31, 0xec(r28)
/* 80076CB8 00073C18 83 DC 00 F0 */ lwz r30, 0xf0(r28)
/* 80076CBC 00073C1C 7F E4 FB 78 */ mr r4, r31
/* 80076CC0 00073C20 48 00 00 14 */ b lbl_80076CD4
lbl_80076CC4:
/* 80076CC4 00073C24 83 FF 00 04 */ lwz r31, 4(r31)
/* 80076CC8 00073C28 38 7C 00 E8 */ addi r3, r28, 0xe8
/* 80076CCC 00073C2C 48 00 02 AD */ bl "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
/* 80076CD0 00073C30 7F E4 FB 78 */ mr r4, r31
lbl_80076CD4:
/* 80076CD4 00073C34 7C 1F F0 40 */ cmplw r31, r30
/* 80076CD8 00073C38 40 82 FF EC */ bne lbl_80076CC4
/* 80076CDC 00073C3C 3C 60 00 01 */ lis r3, 0x00011000@ha
/* 80076CE0 00073C40 80 9C 01 2C */ lwz r4, 0x12c(r28)
/* 80076CE4 00073C44 38 03 10 00 */ addi r0, r3, 0x00011000@l
/* 80076CE8 00073C48 7C 80 00 39 */ and. r0, r4, r0
/* 80076CEC 00073C4C 41 82 00 20 */ beq lbl_80076D0C
/* 80076CF0 00073C50 3C 60 FF FF */ lis r3, 0xFFFEEFFF@ha
/* 80076CF4 00073C54 38 03 EF FF */ addi r0, r3, 0xFFFEEFFF@l
/* 80076CF8 00073C58 7C 80 00 38 */ and r0, r4, r0
/* 80076CFC 00073C5C 90 1C 01 2C */ stw r0, 0x12c(r28)
/* 80076D00 00073C60 80 1C 01 2C */ lwz r0, 0x12c(r28)
/* 80076D04 00073C64 60 00 00 01 */ ori r0, r0, 1
/* 80076D08 00073C68 90 1C 01 2C */ stw r0, 0x12c(r28)
lbl_80076D0C:
/* 80076D0C 00073C6C 38 7C 00 E8 */ addi r3, r28, 0xe8
/* 80076D10 00073C70 38 80 FF FF */ li r4, -1
/* 80076D14 00073C74 48 00 02 E1 */ bl sub_80076ff4
/* 80076D18 00073C78 7F 83 E3 78 */ mr r3, r28
/* 80076D1C 00073C7C 38 80 00 00 */ li r4, 0
/* 80076D20 00073C80 4B FD E9 D1 */ bl __dt__6CActorFv
/* 80076D24 00073C84 7F A0 07 35 */ extsh. r0, r29
/* 80076D28 00073C88 40 81 00 0C */ ble lbl_80076D34
/* 80076D2C 00073C8C 7F 83 E3 78 */ mr r3, r28
/* 80076D30 00073C90 48 29 EC 01 */ bl Free__7CMemoryFPCv
lbl_80076D34:
/* 80076D34 00073C94 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80076D38 00073C98 7F 83 E3 78 */ mr r3, r28
/* 80076D3C 00073C9C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80076D40 00073CA0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80076D44 00073CA4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80076D48 00073CA8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80076D4C 00073CAC 7C 08 03 A6 */ mtlr r0
/* 80076D50 00073CB0 38 21 00 20 */ addi r1, r1, 0x20
/* 80076D54 00073CB4 4E 80 00 20 */ blr
.global "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb"
"__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb":
/* 80076D58 00073CB8 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 80076D5C 00073CBC 7C 08 02 A6 */ mflr r0
/* 80076D60 00073CC0 90 01 01 44 */ stw r0, 0x144(r1)
/* 80076D64 00073CC4 BE 81 01 10 */ stmw r20, 0x110(r1)
/* 80076D68 00073CC8 7C 74 1B 78 */ mr r20, r3
/* 80076D6C 00073CCC 83 81 01 48 */ lwz r28, 0x148(r1)
/* 80076D70 00073CD0 7C 95 23 78 */ mr r21, r4
/* 80076D74 00073CD4 8B A1 01 4F */ lbz r29, 0x14f(r1)
/* 80076D78 00073CD8 7C B6 2B 78 */ mr r22, r5
/* 80076D7C 00073CDC 8B C1 01 53 */ lbz r30, 0x153(r1)
/* 80076D80 00073CE0 7C D7 33 78 */ mr r23, r6
/* 80076D84 00073CE4 8B E1 01 57 */ lbz r31, 0x157(r1)
/* 80076D88 00073CE8 7C F8 3B 78 */ mr r24, r7
/* 80076D8C 00073CEC 7D 19 43 78 */ mr r25, r8
/* 80076D90 00073CF0 7D 3A 4B 78 */ mr r26, r9
/* 80076D94 00073CF4 7D 5B 53 78 */ mr r27, r10
/* 80076D98 00073CF8 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80076D9C 00073CFC 4B FC 3A 09 */ bl CModelDataNull__10CModelDataFv
/* 80076DA0 00073D00 38 61 00 50 */ addi r3, r1, 0x50
/* 80076DA4 00073D04 4B FA 40 95 */ bl None__16CActorParametersFv
/* 80076DA8 00073D08 A0 8D A3 8C */ lhz r4, kInvalidUniqueId@sda21(r13)
/* 80076DAC 00073D0C 38 00 00 00 */ li r0, 0
/* 80076DB0 00073D10 80 AD 83 D4 */ lwz r5, lbl_805A6F94@sda21(r13)
/* 80076DB4 00073D14 38 60 00 00 */ li r3, 0
/* 80076DB8 00073D18 B0 81 00 10 */ sth r4, 0x10(r1)
/* 80076DBC 00073D1C 38 80 00 01 */ li r4, 1
/* 80076DC0 00073D20 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80076DC4 00073D24 90 01 00 18 */ stw r0, 0x18(r1)
/* 80076DC8 00073D28 48 31 31 2D */ bl __shl2i
/* 80076DCC 00073D2C 80 01 00 18 */ lwz r0, 0x18(r1)
/* 80076DD0 00073D30 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 80076DD4 00073D34 7C 03 1B 78 */ or r3, r0, r3
/* 80076DD8 00073D38 A0 15 00 00 */ lhz r0, 0(r21)
/* 80076DDC 00073D3C 7C A5 23 78 */ or r5, r5, r4
/* 80076DE0 00073D40 90 61 00 18 */ stw r3, 0x18(r1)
/* 80076DE4 00073D44 7F 04 C3 78 */ mr r4, r24
/* 80076DE8 00073D48 38 61 00 20 */ addi r3, r1, 0x20
/* 80076DEC 00073D4C 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 80076DF0 00073D50 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80076DF4 00073D54 48 29 C3 4D */ bl Translate__12CTransform4fFRC9CVector3f
/* 80076DF8 00073D58 38 61 00 50 */ addi r3, r1, 0x50
/* 80076DFC 00073D5C 38 01 00 10 */ addi r0, r1, 0x10
/* 80076E00 00073D60 90 61 00 08 */ stw r3, 8(r1)
/* 80076E04 00073D64 7E 83 A3 78 */ mr r3, r20
/* 80076E08 00073D68 7F A5 EB 78 */ mr r5, r29
/* 80076E0C 00073D6C 7E C6 B3 78 */ mr r6, r22
/* 80076E10 00073D70 90 01 00 0C */ stw r0, 0xc(r1)
/* 80076E14 00073D74 7E E7 BB 78 */ mr r7, r23
/* 80076E18 00073D78 38 81 00 14 */ addi r4, r1, 0x14
/* 80076E1C 00073D7C 39 01 00 20 */ addi r8, r1, 0x20
/* 80076E20 00073D80 39 21 00 B8 */ addi r9, r1, 0xb8
/* 80076E24 00073D84 39 41 00 18 */ addi r10, r1, 0x18
/* 80076E28 00073D88 4B FD E9 F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 80076E2C 00073D8C 38 61 00 50 */ addi r3, r1, 0x50
/* 80076E30 00073D90 38 80 FF FF */ li r4, -1
/* 80076E34 00073D94 48 08 F7 D5 */ bl __dt__16CLightParametersFv
/* 80076E38 00073D98 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80076E3C 00073D9C 38 80 FF FF */ li r4, -1
/* 80076E40 00073DA0 48 09 FC 0D */ bl __dt__10CModelDataFv
/* 80076E44 00073DA4 3C 60 80 3E */ lis r3, lbl_803DA4D8@ha
/* 80076E48 00073DA8 38 94 00 F4 */ addi r4, r20, 0xf4
/* 80076E4C 00073DAC 38 63 A4 D8 */ addi r3, r3, lbl_803DA4D8@l
/* 80076E50 00073DB0 38 00 00 00 */ li r0, 0
/* 80076E54 00073DB4 90 74 00 00 */ stw r3, 0(r20)
/* 80076E58 00073DB8 7F 63 DB 78 */ mr r3, r27
/* 80076E5C 00073DBC 90 94 00 EC */ stw r4, 0xec(r20)
/* 80076E60 00073DC0 90 94 00 F0 */ stw r4, 0xf0(r20)
/* 80076E64 00073DC4 90 94 00 F4 */ stw r4, 0xf4(r20)
/* 80076E68 00073DC8 90 94 00 F8 */ stw r4, 0xf8(r20)
/* 80076E6C 00073DCC 90 14 00 FC */ stw r0, 0xfc(r20)
/* 80076E70 00073DD0 80 1A 00 00 */ lwz r0, 0(r26)
/* 80076E74 00073DD4 90 14 01 00 */ stw r0, 0x100(r20)
/* 80076E78 00073DD8 88 1A 00 04 */ lbz r0, 4(r26)
/* 80076E7C 00073DDC 98 14 01 04 */ stb r0, 0x104(r20)
/* 80076E80 00073DE0 C0 1A 00 08 */ lfs f0, 8(r26)
/* 80076E84 00073DE4 D0 14 01 08 */ stfs f0, 0x108(r20)
/* 80076E88 00073DE8 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 80076E8C 00073DEC D0 14 01 0C */ stfs f0, 0x10c(r20)
/* 80076E90 00073DF0 C0 1A 00 10 */ lfs f0, 0x10(r26)
/* 80076E94 00073DF4 D0 14 01 10 */ stfs f0, 0x110(r20)
/* 80076E98 00073DF8 C0 1A 00 14 */ lfs f0, 0x14(r26)
/* 80076E9C 00073DFC D0 14 01 14 */ stfs f0, 0x114(r20)
/* 80076EA0 00073E00 88 1A 00 18 */ lbz r0, 0x18(r26)
/* 80076EA4 00073E04 98 14 01 18 */ stb r0, 0x118(r20)
/* 80076EA8 00073E08 C0 1B 00 00 */ lfs f0, 0(r27)
/* 80076EAC 00073E0C D0 14 01 1C */ stfs f0, 0x11c(r20)
/* 80076EB0 00073E10 C0 1B 00 04 */ lfs f0, 4(r27)
/* 80076EB4 00073E14 D0 14 01 20 */ stfs f0, 0x120(r20)
/* 80076EB8 00073E18 C0 1B 00 08 */ lfs f0, 8(r27)
/* 80076EBC 00073E1C D0 14 01 24 */ stfs f0, 0x124(r20)
/* 80076EC0 00073E20 48 29 D9 F9 */ bl Magnitude__9CVector3fCFv
/* 80076EC4 00073E24 D0 34 01 28 */ stfs f1, 0x128(r20)
/* 80076EC8 00073E28 38 A0 00 00 */ li r5, 0
/* 80076ECC 00073E2C 7E 83 A3 78 */ mr r3, r20
/* 80076ED0 00073E30 38 80 00 00 */ li r4, 0
/* 80076ED4 00073E34 93 94 01 2C */ stw r28, 0x12c(r20)
/* 80076ED8 00073E38 C0 19 00 00 */ lfs f0, 0(r25)
/* 80076EDC 00073E3C D0 14 01 30 */ stfs f0, 0x130(r20)
/* 80076EE0 00073E40 C0 19 00 04 */ lfs f0, 4(r25)
/* 80076EE4 00073E44 D0 14 01 34 */ stfs f0, 0x134(r20)
/* 80076EE8 00073E48 C0 19 00 08 */ lfs f0, 8(r25)
/* 80076EEC 00073E4C D0 14 01 38 */ stfs f0, 0x138(r20)
/* 80076EF0 00073E50 C0 19 00 0C */ lfs f0, 0xc(r25)
/* 80076EF4 00073E54 D0 14 01 3C */ stfs f0, 0x13c(r20)
/* 80076EF8 00073E58 C0 19 00 10 */ lfs f0, 0x10(r25)
/* 80076EFC 00073E5C D0 14 01 40 */ stfs f0, 0x140(r20)
/* 80076F00 00073E60 C0 19 00 14 */ lfs f0, 0x14(r25)
/* 80076F04 00073E64 D0 14 01 44 */ stfs f0, 0x144(r20)
/* 80076F08 00073E68 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F0C 00073E6C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80076F10 00073E70 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F14 00073E74 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F18 00073E78 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80076F1C 00073E7C 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F20 00073E80 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F24 00073E84 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a
/* 80076F28 00073E88 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F2C 00073E8C 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F30 00073E90 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b
/* 80076F34 00073E94 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F38 00073E98 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F3C 00073E9C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 80076F40 00073EA0 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F44 00073EA4 88 14 01 48 */ lbz r0, 0x148(r20)
/* 80076F48 00073EA8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 80076F4C 00073EAC 98 14 01 48 */ stb r0, 0x148(r20)
/* 80076F50 00073EB0 4B FD D4 69 */ bl SetCallTouch__6CActorFb
/* 80076F54 00073EB4 7E 83 A3 78 */ mr r3, r20
/* 80076F58 00073EB8 BA 81 01 10 */ lmw r20, 0x110(r1)
/* 80076F5C 00073EBC 80 01 01 44 */ lwz r0, 0x144(r1)
/* 80076F60 00073EC0 7C 08 03 A6 */ mtlr r0
/* 80076F64 00073EC4 38 21 01 40 */ addi r1, r1, 0x140
/* 80076F68 00073EC8 4E 80 00 20 */ blr
.global "GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv"
"GetPtr__Q24rstl22rc_ptr<12CPlayerState>CFv":
/* 80076F6C 00073ECC 80 63 00 00 */ lwz r3, 0(r3)
/* 80076F70 00073ED0 80 63 00 00 */ lwz r3, 0(r3)
/* 80076F74 00073ED4 4E 80 00 20 */ blr
.global "erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator"
"erase__Q24rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>FRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl67list<Q214CScriptTrigger14CObjectTracker,Q24rstl17rmemory_allocator>8iterator":
/* 80076F78 00073ED8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80076F7C 00073EDC 7C 08 02 A6 */ mflr r0
/* 80076F80 00073EE0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80076F84 00073EE4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80076F88 00073EE8 93 C1 00 08 */ stw r30, 8(r1)
/* 80076F8C 00073EEC 7C 7E 1B 78 */ mr r30, r3
/* 80076F90 00073EF0 80 03 00 04 */ lwz r0, 4(r3)
/* 80076F94 00073EF4 83 E4 00 04 */ lwz r31, 4(r4)
/* 80076F98 00073EF8 7C 04 00 40 */ cmplw r4, r0
/* 80076F9C 00073EFC 40 82 00 08 */ bne lbl_80076FA4
/* 80076FA0 00073F00 93 FE 00 04 */ stw r31, 4(r30)
lbl_80076FA4:
/* 80076FA4 00073F04 80 04 00 04 */ lwz r0, 4(r4)
/* 80076FA8 00073F08 28 04 00 00 */ cmplwi r4, 0
/* 80076FAC 00073F0C 80 64 00 00 */ lwz r3, 0(r4)
/* 80076FB0 00073F10 90 03 00 04 */ stw r0, 4(r3)
/* 80076FB4 00073F14 80 04 00 00 */ lwz r0, 0(r4)
/* 80076FB8 00073F18 80 64 00 04 */ lwz r3, 4(r4)
/* 80076FBC 00073F1C 90 03 00 00 */ stw r0, 0(r3)
/* 80076FC0 00073F20 41 82 00 0C */ beq lbl_80076FCC
/* 80076FC4 00073F24 7C 83 23 78 */ mr r3, r4
/* 80076FC8 00073F28 48 29 E9 69 */ bl Free__7CMemoryFPCv
lbl_80076FCC:
/* 80076FCC 00073F2C 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 80076FD0 00073F30 7F E3 FB 78 */ mr r3, r31
/* 80076FD4 00073F34 38 04 FF FF */ addi r0, r4, -1
/* 80076FD8 00073F38 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80076FDC 00073F3C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80076FE0 00073F40 83 C1 00 08 */ lwz r30, 8(r1)
/* 80076FE4 00073F44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80076FE8 00073F48 7C 08 03 A6 */ mtlr r0
/* 80076FEC 00073F4C 38 21 00 10 */ addi r1, r1, 0x10
/* 80076FF0 00073F50 4E 80 00 20 */ blr
.global sub_80076ff4
sub_80076ff4:
/* 80076FF4 00073F54 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80076FF8 00073F58 7C 08 02 A6 */ mflr r0
/* 80076FFC 00073F5C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80077000 00073F60 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80077004 00073F64 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80077008 00073F68 7C 9E 23 78 */ mr r30, r4
/* 8007700C 00073F6C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80077010 00073F70 7C 7D 1B 79 */ or. r29, r3, r3
/* 80077014 00073F74 41 82 00 38 */ beq lbl_8007704C
/* 80077018 00073F78 83 FD 00 04 */ lwz r31, 4(r29)
/* 8007701C 00073F7C 48 00 00 14 */ b lbl_80077030
lbl_80077020:
/* 80077020 00073F80 7F E3 FB 79 */ or. r3, r31, r31
/* 80077024 00073F84 83 FF 00 04 */ lwz r31, 4(r31)
/* 80077028 00073F88 41 82 00 08 */ beq lbl_80077030
/* 8007702C 00073F8C 48 29 E9 05 */ bl Free__7CMemoryFPCv
lbl_80077030:
/* 80077030 00073F90 80 1D 00 08 */ lwz r0, 8(r29)
/* 80077034 00073F94 7C 1F 00 40 */ cmplw r31, r0
/* 80077038 00073F98 40 82 FF E8 */ bne lbl_80077020
/* 8007703C 00073F9C 7F C0 07 35 */ extsh. r0, r30
/* 80077040 00073FA0 40 81 00 0C */ ble lbl_8007704C
/* 80077044 00073FA4 7F A3 EB 78 */ mr r3, r29
/* 80077048 00073FA8 48 29 E8 E9 */ bl Free__7CMemoryFPCv
lbl_8007704C:
/* 8007704C 00073FAC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80077050 00073FB0 7F A3 EB 78 */ mr r3, r29
/* 80077054 00073FB4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80077058 00073FB8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8007705C 00073FBC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80077060 00073FC0 7C 08 03 A6 */ mtlr r0
/* 80077064 00073FC4 38 21 00 20 */ addi r1, r1, 0x20
/* 80077068 00073FC8 4E 80 00 20 */ blr
.section .rodata
.balign 8
.global lbl_803CD5F8
lbl_803CD5F8:
# ROM: 0x3CA5F8
.asciz "??(??)"
.balign 4