prime/asm/MetroidPrime/ScriptObjects/CScriptActor.s

1002 lines
50 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .data
.balign 8
.global lbl_803DA450
lbl_803DA450:
# ROM: 0x3D7450
.4byte 0
.4byte 0
.4byte __dt__12CScriptActorFv
.4byte Accept__12CScriptActorFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__12CScriptActorFfR13CStateManager
.4byte AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__6CActorFb
.4byte PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__13CPhysicsActorCFRC13CStateManager
.4byte CanRenderUnsorted__6CActorCFRC13CStateManager
.4byte CalculateRenderBounds__6CActorFv
.4byte GetHealthInfo__12CScriptActorCFRC13CStateManager
.4byte GetDamageVulnerability__12CScriptActorCFv
.4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo
.4byte GetTouchBounds__12CScriptActorCFv
.4byte Touch__12CScriptActorFR6CActorR13CStateManager
.4byte GetOrbitPosition__13CPhysicsActorCFRC13CStateManager
.4byte GetAimPosition__13CPhysicsActorCFRC13CStateManagerf
.4byte GetHomingPosition__6CActorCFRC13CStateManagerf
.4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager
.4byte GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
.4byte FluidFXThink__6CActorFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
.4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager
.4byte GetSortingBounds__12CScriptActorCFRC12CTransform4f
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
.4byte GetCollisionPrimitive__13CPhysicsActorCFv
.4byte GetPrimitiveTransform__13CPhysicsActorCFv
.4byte CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager
.4byte GetStepDownHeight__13CPhysicsActorCFv
.4byte GetStepUpHeight__13CPhysicsActorCFv
.4byte GetWeight__13CPhysicsActorCFv
.4byte 0
.section .sdata2, "a"
.balign 8
.global lbl_805AA5D0
lbl_805AA5D0:
# ROM: 0x3F6E70
.float 1.0
.global lbl_805AA5D4
lbl_805AA5D4:
# ROM: 0x3F6E74
.float 1.1920929E-7
.global lbl_805AA5D8
lbl_805AA5D8:
# ROM: 0x3F6E78
.float 0.0
.global lbl_805AA5DC
lbl_805AA5DC:
# ROM: 0x3F6E7C
.float 0.3
.global lbl_805AA5E0
lbl_805AA5E0:
# ROM: 0x3F6E80
.float 0.1
.4byte 0
.global lbl_805AA5E8
lbl_805AA5E8:
# ROM: 0x3F6E88
.double 9.999999747378752E-6
.section .text, "ax"
.global GetSortingBounds__12CScriptActorCFRC12CTransform4f
GetSortingBounds__12CScriptActorCFRC12CTransform4f:
/* 80074F60 00071EC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80074F64 00071EC4 7C 08 02 A6 */ mflr r0
/* 80074F68 00071EC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80074F6C 00071ECC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80074F70 00071ED0 7C BF 2B 78 */ mr r31, r5
/* 80074F74 00071ED4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80074F78 00071ED8 7C 9E 23 78 */ mr r30, r4
/* 80074F7C 00071EDC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80074F80 00071EE0 7C 7D 1B 78 */ mr r29, r3
/* 80074F84 00071EE4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80074F88 00071EE8 A0 84 02 E0 */ lhz r4, 0x2e0(r4)
/* 80074F8C 00071EEC 7C 04 00 40 */ cmplw r4, r0
/* 80074F90 00071EF0 41 82 00 28 */ beq lbl_80074FB8
/* 80074F94 00071EF4 B0 81 00 08 */ sth r4, 8(r1)
/* 80074F98 00071EF8 7F E3 FB 78 */ mr r3, r31
/* 80074F9C 00071EFC 38 81 00 08 */ addi r4, r1, 8
/* 80074FA0 00071F00 4B FD 76 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80074FA4 00071F04 7C 64 1B 79 */ or. r4, r3, r3
/* 80074FA8 00071F08 41 82 00 10 */ beq lbl_80074FB8
/* 80074FAC 00071F0C 7F A3 EB 78 */ mr r3, r29
/* 80074FB0 00071F10 48 00 17 1D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
/* 80074FB4 00071F14 48 00 00 14 */ b lbl_80074FC8
lbl_80074FB8:
/* 80074FB8 00071F18 7F A3 EB 78 */ mr r3, r29
/* 80074FBC 00071F1C 7F C4 F3 78 */ mr r4, r30
/* 80074FC0 00071F20 7F E5 FB 78 */ mr r5, r31
/* 80074FC4 00071F24 4B FD E6 1D */ bl GetSortingBounds__6CActorCFRC12CTransform4f
lbl_80074FC8:
/* 80074FC8 00071F28 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80074FCC 00071F2C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80074FD0 00071F30 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80074FD4 00071F34 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80074FD8 00071F38 7C 08 03 A6 */ mtlr r0
/* 80074FDC 00071F3C 38 21 00 20 */ addi r1, r1, 0x20
/* 80074FE0 00071F40 4E 80 00 20 */ blr
.global GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei:
/* 80074FE4 00071F44 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80074FE8 00071F48 7C 08 02 A6 */ mflr r0
/* 80074FEC 00071F4C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80074FF0 00071F50 BF 41 00 08 */ stmw r26, 8(r1)
/* 80074FF4 00071F54 7C 7A 1B 78 */ mr r26, r3
/* 80074FF8 00071F58 7C 9B 23 78 */ mr r27, r4
/* 80074FFC 00071F5C 7C BC 2B 78 */ mr r28, r5
/* 80075000 00071F60 7C DD 33 78 */ mr r29, r6
/* 80075004 00071F64 7C FE 3B 78 */ mr r30, r7
/* 80075008 00071F68 81 83 00 00 */ lwz r12, 0(r3)
/* 8007500C 00071F6C 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 80075010 00071F70 7D 89 03 A6 */ mtctr r12
/* 80075014 00071F74 4E 80 04 21 */ bctrl
/* 80075018 00071F78 7F A4 EB 78 */ mr r4, r29
/* 8007501C 00071F7C 7C 7F 1B 78 */ mr r31, r3
/* 80075020 00071F80 38 A0 00 00 */ li r5, 0
/* 80075024 00071F84 48 08 D4 99 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode
/* 80075028 00071F88 2C 03 00 02 */ cmpwi r3, 2
/* 8007502C 00071F8C 40 82 00 2C */ bne lbl_80075058
/* 80075030 00071F90 7F E3 FB 78 */ mr r3, r31
/* 80075034 00071F94 7F A4 EB 78 */ mr r4, r29
/* 80075038 00071F98 48 08 D4 59 */ bl GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode
/* 8007503C 00071F9C 2C 03 00 04 */ cmpwi r3, 4
/* 80075040 00071FA0 40 80 00 18 */ bge lbl_80075058
/* 80075044 00071FA4 2C 03 00 01 */ cmpwi r3, 1
/* 80075048 00071FA8 40 80 00 08 */ bge lbl_80075050
/* 8007504C 00071FAC 48 00 00 0C */ b lbl_80075058
lbl_80075050:
/* 80075050 00071FB0 38 60 00 0F */ li r3, 0xf
/* 80075054 00071FB4 48 00 00 1C */ b lbl_80075070
lbl_80075058:
/* 80075058 00071FB8 7F 43 D3 78 */ mr r3, r26
/* 8007505C 00071FBC 7F 64 DB 78 */ mr r4, r27
/* 80075060 00071FC0 7F 85 E3 78 */ mr r5, r28
/* 80075064 00071FC4 7F A6 EB 78 */ mr r6, r29
/* 80075068 00071FC8 7F C7 F3 78 */ mr r7, r30
/* 8007506C 00071FCC 4B FD EC 75 */ bl GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
lbl_80075070:
/* 80075070 00071FD0 BB 41 00 08 */ lmw r26, 8(r1)
/* 80075074 00071FD4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80075078 00071FD8 7C 08 03 A6 */ mtlr r0
/* 8007507C 00071FDC 38 21 00 20 */ addi r1, r1, 0x20
/* 80075080 00071FE0 4E 80 00 20 */ blr
.global Accept__12CScriptActorFR8IVisitor
Accept__12CScriptActorFR8IVisitor:
/* 80075084 00071FE4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80075088 00071FE8 7C 08 02 A6 */ mflr r0
/* 8007508C 00071FEC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80075090 00071FF0 7C 60 1B 78 */ mr r0, r3
/* 80075094 00071FF4 7C 83 23 78 */ mr r3, r4
/* 80075098 00071FF8 81 84 00 00 */ lwz r12, 0(r4)
/* 8007509C 00071FFC 7C 04 03 78 */ mr r4, r0
/* 800750A0 00072000 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 800750A4 00072004 7D 89 03 A6 */ mtctr r12
/* 800750A8 00072008 4E 80 04 21 */ bctrl
/* 800750AC 0007200C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800750B0 00072010 7C 08 03 A6 */ mtlr r0
/* 800750B4 00072014 38 21 00 10 */ addi r1, r1, 0x10
/* 800750B8 00072018 4E 80 00 20 */ blr
.global PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes
PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes:
/* 800750BC 0007201C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800750C0 00072020 7C 08 02 A6 */ mflr r0
/* 800750C4 00072024 90 01 00 44 */ stw r0, 0x44(r1)
/* 800750C8 00072028 BF 41 00 28 */ stmw r26, 0x28(r1)
/* 800750CC 0007202C 7C 7C 1B 78 */ mr r28, r3
/* 800750D0 00072030 7C 9D 23 78 */ mr r29, r4
/* 800750D4 00072034 4B FD FC 0D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
/* 800750D8 00072038 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 800750DC 0007203C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 800750E0 00072040 41 82 00 38 */ beq lbl_80075118
/* 800750E4 00072044 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 800750E8 00072048 7F A4 EB 78 */ mr r4, r29
/* 800750EC 0007204C 4B F9 6A 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 800750F0 00072050 7C 64 1B 78 */ mr r4, r3
/* 800750F4 00072054 38 61 00 0C */ addi r3, r1, 0xc
/* 800750F8 00072058 48 03 A6 39 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity"
/* 800750FC 0007205C 80 03 00 04 */ lwz r0, 4(r3)
/* 80075100 00072060 28 00 00 00 */ cmplwi r0, 0
/* 80075104 00072064 41 82 00 14 */ beq lbl_80075118
/* 80075108 00072068 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8007510C 0007206C 38 60 00 00 */ li r3, 0
/* 80075110 00072070 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 80075114 00072074 98 1C 00 E4 */ stb r0, 0xe4(r28)
lbl_80075118:
/* 80075118 00072078 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8007511C 0007207C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 80075120 00072080 40 82 01 A8 */ bne lbl_800752C8
/* 80075124 00072084 88 7C 02 E2 */ lbz r3, 0x2e2(r28)
/* 80075128 00072088 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f
/* 8007512C 0007208C 41 82 01 9C */ beq lbl_800752C8
/* 80075130 00072090 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 80075134 00072094 41 82 01 30 */ beq lbl_80075264
/* 80075138 00072098 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2)
/* 8007513C 0007209C 38 A0 00 05 */ li r5, 5
/* 80075140 000720A0 C0 9C 02 DC */ lfs f4, 0x2dc(r28)
/* 80075144 000720A4 38 80 00 00 */ li r4, 0
/* 80075148 000720A8 38 00 00 03 */ li r0, 3
/* 8007514C 000720AC FC 40 08 90 */ fmr f2, f1
/* 80075150 000720B0 FC 60 08 90 */ fmr f3, f1
/* 80075154 000720B4 98 A1 00 1C */ stb r5, 0x1c(r1)
/* 80075158 000720B8 38 61 00 20 */ addi r3, r1, 0x20
/* 8007515C 000720BC 98 81 00 1D */ stb r4, 0x1d(r1)
/* 80075160 000720C0 B0 01 00 1E */ sth r0, 0x1e(r1)
/* 80075164 000720C4 48 2E E2 89 */ bl __ct__6CColorFffff
/* 80075168 000720C8 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 8007516C 000720CC 7F A4 EB 78 */ mr r4, r29
/* 80075170 000720D0 8B 61 00 1C */ lbz r27, 0x1c(r1)
/* 80075174 000720D4 8B 41 00 1D */ lbz r26, 0x1d(r1)
/* 80075178 000720D8 A3 E1 00 1E */ lhz r31, 0x1e(r1)
/* 8007517C 000720DC 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80075180 000720E0 80 63 00 00 */ lwz r3, 0(r3)
/* 80075184 000720E4 48 01 C3 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 80075188 000720E8 2C 03 00 01 */ cmpwi r3, 1
/* 8007518C 000720EC 40 82 00 28 */ bne lbl_800751B4
/* 80075190 000720F0 9B 7C 00 B4 */ stb r27, 0xb4(r28)
/* 80075194 000720F4 38 60 00 01 */ li r3, 1
/* 80075198 000720F8 9B 5C 00 B5 */ stb r26, 0xb5(r28)
/* 8007519C 000720FC B3 FC 00 B6 */ sth r31, 0xb6(r28)
/* 800751A0 00072100 93 DC 00 B8 */ stw r30, 0xb8(r28)
/* 800751A4 00072104 88 1C 02 E2 */ lbz r0, 0x2e2(r28)
/* 800751A8 00072108 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800751AC 0007210C 98 1C 02 E2 */ stb r0, 0x2e2(r28)
/* 800751B0 00072110 48 00 00 B4 */ b lbl_80075264
lbl_800751B4:
/* 800751B4 00072114 88 7C 02 E2 */ lbz r3, 0x2e2(r28)
/* 800751B8 00072118 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 800751BC 0007211C 41 82 00 A8 */ beq lbl_80075264
/* 800751C0 00072120 38 80 00 00 */ li r4, 0
/* 800751C4 00072124 7F 60 07 74 */ extsb r0, r27
/* 800751C8 00072128 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c
/* 800751CC 0007212C 98 7C 02 E2 */ stb r3, 0x2e2(r28)
/* 800751D0 00072130 88 7C 00 B4 */ lbz r3, 0xb4(r28)
/* 800751D4 00072134 7C 63 07 74 */ extsb r3, r3
/* 800751D8 00072138 7C 03 00 00 */ cmpw r3, r0
/* 800751DC 0007213C 40 82 00 34 */ bne lbl_80075210
/* 800751E0 00072140 88 7C 00 B5 */ lbz r3, 0xb5(r28)
/* 800751E4 00072144 7F 40 07 74 */ extsb r0, r26
/* 800751E8 00072148 7C 63 07 74 */ extsb r3, r3
/* 800751EC 0007214C 7C 03 00 00 */ cmpw r3, r0
/* 800751F0 00072150 40 82 00 20 */ bne lbl_80075210
/* 800751F4 00072154 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 800751F8 00072158 7C 00 F8 40 */ cmplw r0, r31
/* 800751FC 0007215C 40 82 00 14 */ bne lbl_80075210
/* 80075200 00072160 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 80075204 00072164 7C 00 F0 40 */ cmplw r0, r30
/* 80075208 00072168 40 82 00 08 */ bne lbl_80075210
/* 8007520C 0007216C 38 80 00 01 */ li r4, 1
lbl_80075210:
/* 80075210 00072170 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075214 00072174 41 82 00 50 */ beq lbl_80075264
/* 80075218 00072178 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2)
/* 8007521C 0007217C 38 80 00 00 */ li r4, 0
/* 80075220 00072180 38 00 00 03 */ li r0, 3
/* 80075224 00072184 98 81 00 14 */ stb r4, 0x14(r1)
/* 80075228 00072188 FC 40 08 90 */ fmr f2, f1
/* 8007522C 0007218C 38 61 00 18 */ addi r3, r1, 0x18
/* 80075230 00072190 FC 60 08 90 */ fmr f3, f1
/* 80075234 00072194 98 81 00 15 */ stb r4, 0x15(r1)
/* 80075238 00072198 FC 80 08 90 */ fmr f4, f1
/* 8007523C 0007219C B0 01 00 16 */ sth r0, 0x16(r1)
/* 80075240 000721A0 48 2E E1 AD */ bl __ct__6CColorFffff
/* 80075244 000721A4 88 01 00 14 */ lbz r0, 0x14(r1)
/* 80075248 000721A8 98 1C 00 B4 */ stb r0, 0xb4(r28)
/* 8007524C 000721AC 88 01 00 15 */ lbz r0, 0x15(r1)
/* 80075250 000721B0 98 1C 00 B5 */ stb r0, 0xb5(r28)
/* 80075254 000721B4 A0 01 00 16 */ lhz r0, 0x16(r1)
/* 80075258 000721B8 B0 1C 00 B6 */ sth r0, 0xb6(r28)
/* 8007525C 000721BC 80 01 00 18 */ lwz r0, 0x18(r1)
/* 80075260 000721C0 90 1C 00 B8 */ stw r0, 0xb8(r28)
lbl_80075264:
/* 80075264 000721C4 88 1C 02 E2 */ lbz r0, 0x2e2(r28)
/* 80075268 000721C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8007526C 000721CC 41 82 00 4C */ beq lbl_800752B8
/* 80075270 000721D0 88 1C 00 E6 */ lbz r0, 0xe6(r28)
/* 80075274 000721D4 54 00 EF BE */ rlwinm r0, r0, 0x1d, 0x1e, 0x1f
/* 80075278 000721D8 2C 00 00 02 */ cmpwi r0, 2
/* 8007527C 000721DC 40 82 00 3C */ bne lbl_800752B8
/* 80075280 000721E0 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 80075284 000721E4 7F A4 EB 78 */ mr r4, r29
/* 80075288 000721E8 80 63 00 00 */ lwz r3, 0(r3)
/* 8007528C 000721EC 48 01 C2 CD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 80075290 000721F0 2C 03 00 03 */ cmpwi r3, 3
/* 80075294 000721F4 40 82 00 14 */ bne lbl_800752A8
/* 80075298 000721F8 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 8007529C 000721FC 54 04 04 3A */ rlwinm r4, r0, 0, 0x10, 0x1d
/* 800752A0 00072200 B0 9C 00 B6 */ sth r4, 0xb6(r28)
/* 800752A4 00072204 48 00 00 14 */ b lbl_800752B8
lbl_800752A8:
/* 800752A8 00072208 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 800752AC 0007220C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d
/* 800752B0 00072210 60 63 00 03 */ ori r3, r3, 3
/* 800752B4 00072214 B0 7C 00 B6 */ sth r3, 0xb6(r28)
lbl_800752B8:
/* 800752B8 00072218 80 BC 02 D8 */ lwz r5, 0x2d8(r28)
/* 800752BC 0007221C 2C 05 00 00 */ cmpwi r5, 0
/* 800752C0 00072220 41 82 00 08 */ beq lbl_800752C8
/* 800752C4 00072224 98 BC 00 B5 */ stb r5, 0xb5(r28)
lbl_800752C8:
/* 800752C8 00072228 A0 1C 02 E0 */ lhz r0, 0x2e0(r28)
/* 800752CC 0007222C 7F A3 EB 78 */ mr r3, r29
/* 800752D0 00072230 38 81 00 08 */ addi r4, r1, 8
/* 800752D4 00072234 B0 01 00 08 */ sth r0, 8(r1)
/* 800752D8 00072238 4B FD 72 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800752DC 0007223C 28 03 00 00 */ cmplwi r3, 0
/* 800752E0 00072240 40 82 00 0C */ bne lbl_800752EC
/* 800752E4 00072244 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800752E8 00072248 B0 1C 02 E0 */ sth r0, 0x2e0(r28)
lbl_800752EC:
/* 800752EC 0007224C BB 41 00 28 */ lmw r26, 0x28(r1)
/* 800752F0 00072250 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800752F4 00072254 7C 08 03 A6 */ mtlr r0
/* 800752F8 00072258 38 21 00 40 */ addi r1, r1, 0x40
/* 800752FC 0007225C 4E 80 00 20 */ blr
.global AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80075300 00072260 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80075304 00072264 7C 08 02 A6 */ mflr r0
/* 80075308 00072268 90 01 00 84 */ stw r0, 0x84(r1)
/* 8007530C 0007226C BE E1 00 5C */ stmw r23, 0x5c(r1)
/* 80075310 00072270 7C 9C 23 78 */ mr r28, r4
/* 80075314 00072274 2C 1C 00 0A */ cmpwi r28, 0xa
/* 80075318 00072278 7C 7B 1B 78 */ mr r27, r3
/* 8007531C 0007227C 7C BD 2B 78 */ mr r29, r5
/* 80075320 00072280 7C DE 33 78 */ mr r30, r6
/* 80075324 00072284 41 82 01 24 */ beq lbl_80075448
/* 80075328 00072288 40 80 00 28 */ bge lbl_80075350
/* 8007532C 0007228C 2C 1C 00 06 */ cmpwi r28, 6
/* 80075330 00072290 41 82 01 AC */ beq lbl_800754DC
/* 80075334 00072294 40 80 00 10 */ bge lbl_80075344
/* 80075338 00072298 2C 1C 00 05 */ cmpwi r28, 5
/* 8007533C 0007229C 40 80 01 80 */ bge lbl_800754BC
/* 80075340 000722A0 48 00 01 9C */ b lbl_800754DC
lbl_80075344:
/* 80075344 000722A4 2C 1C 00 08 */ cmpwi r28, 8
/* 80075348 000722A8 40 80 01 94 */ bge lbl_800754DC
/* 8007534C 000722AC 48 00 01 20 */ b lbl_8007546C
lbl_80075350:
/* 80075350 000722B0 2C 1C 00 23 */ cmpwi r28, 0x23
/* 80075354 000722B4 41 82 00 08 */ beq lbl_8007535C
/* 80075358 000722B8 48 00 01 84 */ b lbl_800754DC
lbl_8007535C:
/* 8007535C 000722BC 83 FB 00 2C */ lwz r31, 0x2c(r27)
/* 80075360 000722C0 48 00 00 B0 */ b lbl_80075410
lbl_80075364:
/* 80075364 000722C4 80 1F 00 00 */ lwz r0, 0(r31)
/* 80075368 000722C8 2C 00 00 20 */ cmpwi r0, 0x20
/* 8007536C 000722CC 40 82 00 A0 */ bne lbl_8007540C
/* 80075370 000722D0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80075374 000722D4 2C 00 00 01 */ cmpwi r0, 1
/* 80075378 000722D8 40 82 00 94 */ bne lbl_8007540C
/* 8007537C 000722DC 80 1F 00 08 */ lwz r0, 8(r31)
/* 80075380 000722E0 7F C4 F3 78 */ mr r4, r30
/* 80075384 000722E4 38 61 00 3C */ addi r3, r1, 0x3c
/* 80075388 000722E8 38 A1 00 30 */ addi r5, r1, 0x30
/* 8007538C 000722EC 90 01 00 30 */ stw r0, 0x30(r1)
/* 80075390 000722F0 4B FD 2C 39 */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 80075394 000722F4 83 41 00 40 */ lwz r26, 0x40(r1)
/* 80075398 000722F8 83 21 00 44 */ lwz r25, 0x44(r1)
/* 8007539C 000722FC 83 01 00 48 */ lwz r24, 0x48(r1)
/* 800753A0 00072300 82 E1 00 3C */ lwz r23, 0x3c(r1)
/* 800753A4 00072304 48 00 00 48 */ b lbl_800753EC
lbl_800753A8:
/* 800753A8 00072308 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 800753AC 0007230C 7F C3 F3 78 */ mr r3, r30
/* 800753B0 00072310 38 81 00 2C */ addi r4, r1, 0x2c
/* 800753B4 00072314 B0 01 00 2C */ sth r0, 0x2c(r1)
/* 800753B8 00072318 4B FD 71 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800753BC 0007231C 7C 64 1B 78 */ mr r4, r3
/* 800753C0 00072320 38 61 00 34 */ addi r3, r1, 0x34
/* 800753C4 00072324 48 03 1B 25 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity"
/* 800753C8 00072328 80 03 00 04 */ lwz r0, 4(r3)
/* 800753CC 0007232C 28 00 00 00 */ cmplwi r0, 0
/* 800753D0 00072330 41 82 00 0C */ beq lbl_800753DC
/* 800753D4 00072334 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 800753D8 00072338 B0 1B 02 E0 */ sth r0, 0x2e0(r27)
lbl_800753DC:
/* 800753DC 0007233C 7F 43 D3 78 */ mr r3, r26
/* 800753E0 00072340 7E E4 BB 78 */ mr r4, r23
/* 800753E4 00072344 48 2C 71 FD */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 800753E8 00072348 7C 77 1B 78 */ mr r23, r3
lbl_800753EC:
/* 800753EC 0007234C 7C 17 C8 40 */ cmplw r23, r25
/* 800753F0 00072350 38 00 00 00 */ li r0, 0
/* 800753F4 00072354 40 82 00 0C */ bne lbl_80075400
/* 800753F8 00072358 7C 1A C0 40 */ cmplw r26, r24
/* 800753FC 0007235C 41 82 00 08 */ beq lbl_80075404
lbl_80075400:
/* 80075400 00072360 38 00 00 01 */ li r0, 1
lbl_80075404:
/* 80075404 00072364 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80075408 00072368 40 82 FF A0 */ bne lbl_800753A8
lbl_8007540C:
/* 8007540C 0007236C 3B FF 00 0C */ addi r31, r31, 0xc
lbl_80075410:
/* 80075410 00072370 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 80075414 00072374 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 80075418 00072378 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8007541C 0007237C 7C 03 02 14 */ add r0, r3, r0
/* 80075420 00072380 7C 1F 00 40 */ cmplw r31, r0
/* 80075424 00072384 40 82 FF 40 */ bne lbl_80075364
/* 80075428 00072388 88 1B 02 E2 */ lbz r0, 0x2e2(r27)
/* 8007542C 0007238C 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80075430 00072390 41 82 00 AC */ beq lbl_800754DC
/* 80075434 00072394 7F 63 DB 78 */ mr r3, r27
/* 80075438 00072398 7F C5 F3 78 */ mr r5, r30
/* 8007543C 0007239C 38 80 00 36 */ li r4, 0x36
/* 80075440 000723A0 4B FD EF 11 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 80075444 000723A4 48 00 00 98 */ b lbl_800754DC
lbl_80075448:
/* 80075448 000723A8 88 1B 02 E2 */ lbz r0, 0x2e2(r27)
/* 8007544C 000723AC 38 60 00 00 */ li r3, 0
/* 80075450 000723B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80075454 000723B4 98 1B 02 E2 */ stb r0, 0x2e2(r27)
/* 80075458 000723B8 C0 1B 02 58 */ lfs f0, 0x258(r27)
/* 8007545C 000723BC D0 1B 02 60 */ stfs f0, 0x260(r27)
/* 80075460 000723C0 C0 1B 02 5C */ lfs f0, 0x25c(r27)
/* 80075464 000723C4 D0 1B 02 64 */ stfs f0, 0x264(r27)
/* 80075468 000723C8 48 00 00 74 */ b lbl_800754DC
lbl_8007546C:
/* 8007546C 000723CC 88 1B 00 30 */ lbz r0, 0x30(r27)
/* 80075470 000723D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80075474 000723D4 40 82 00 68 */ bne lbl_800754DC
/* 80075478 000723D8 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8007547C 000723DC 7F C3 F3 78 */ mr r3, r30
/* 80075480 000723E0 7F 64 DB 78 */ mr r4, r27
/* 80075484 000723E4 38 A1 00 28 */ addi r5, r1, 0x28
/* 80075488 000723E8 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8007548C 000723EC 38 C0 00 01 */ li r6, 1
/* 80075490 000723F0 B0 01 00 28 */ sth r0, 0x28(r1)
/* 80075494 000723F4 4B FC EA 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TUniqueId20EScriptObjectMessage
/* 80075498 000723F8 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8007549C 000723FC 7F C4 F3 78 */ mr r4, r30
/* 800754A0 00072400 38 61 00 20 */ addi r3, r1, 0x20
/* 800754A4 00072404 38 A1 00 1C */ addi r5, r1, 0x1c
/* 800754A8 00072408 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 800754AC 0007240C B0 01 00 18 */ sth r0, 0x18(r1)
/* 800754B0 00072410 C0 3B 02 D0 */ lfs f1, 0x2d0(r27)
/* 800754B4 00072414 48 18 C4 F5 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf
/* 800754B8 00072418 48 00 00 24 */ b lbl_800754DC
lbl_800754BC:
/* 800754BC 0007241C A0 1B 00 08 */ lhz r0, 8(r27)
/* 800754C0 00072420 7F C4 F3 78 */ mr r4, r30
/* 800754C4 00072424 38 61 00 14 */ addi r3, r1, 0x14
/* 800754C8 00072428 38 A1 00 10 */ addi r5, r1, 0x10
/* 800754CC 0007242C B0 01 00 10 */ sth r0, 0x10(r1)
/* 800754D0 00072430 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800754D4 00072434 C0 3B 02 D4 */ lfs f1, 0x2d4(r27)
/* 800754D8 00072438 48 18 C2 A1 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf
lbl_800754DC:
/* 800754DC 0007243C A0 1D 00 00 */ lhz r0, 0(r29)
/* 800754E0 00072440 7F 63 DB 78 */ mr r3, r27
/* 800754E4 00072444 7F 84 E3 78 */ mr r4, r28
/* 800754E8 00072448 7F C6 F3 78 */ mr r6, r30
/* 800754EC 0007244C B0 01 00 08 */ sth r0, 8(r1)
/* 800754F0 00072450 38 A1 00 08 */ addi r5, r1, 8
/* 800754F4 00072454 4B FD E1 21 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800754F8 00072458 BA E1 00 5C */ lmw r23, 0x5c(r1)
/* 800754FC 0007245C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80075500 00072460 7C 08 03 A6 */ mtlr r0
/* 80075504 00072464 38 21 00 80 */ addi r1, r1, 0x80
/* 80075508 00072468 4E 80 00 20 */ blr
.global Think__12CScriptActorFfR13CStateManager
Think__12CScriptActorFfR13CStateManager:
/* 8007550C 0007246C 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80075510 00072470 7C 08 02 A6 */ mflr r0
/* 80075514 00072474 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80075518 00072478 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 8007551C 0007247C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80075520 00072480 BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 80075524 00072484 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80075528 00072488 FF E0 08 90 */ fmr f31, f1
/* 8007552C 0007248C 7C 7E 1B 78 */ mr r30, r3
/* 80075530 00072490 7C 9F 23 78 */ mr r31, r4
/* 80075534 00072494 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80075538 00072498 41 82 02 34 */ beq lbl_8007576C
/* 8007553C 0007249C 80 9E 00 64 */ lwz r4, 0x64(r30)
/* 80075540 000724A0 38 60 00 00 */ li r3, 0
/* 80075544 000724A4 28 04 00 00 */ cmplwi r4, 0
/* 80075548 000724A8 41 82 00 14 */ beq lbl_8007555C
/* 8007554C 000724AC 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80075550 000724B0 28 00 00 00 */ cmplwi r0, 0
/* 80075554 000724B4 41 82 00 08 */ beq lbl_8007555C
/* 80075558 000724B8 38 60 00 01 */ li r3, 1
lbl_8007555C:
/* 8007555C 000724BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80075560 000724C0 41 82 01 B0 */ beq lbl_80075710
/* 80075564 000724C4 3C 80 80 3D */ lis r4, lbl_803CD5E8@ha
/* 80075568 000724C8 38 61 00 20 */ addi r3, r1, 0x20
/* 8007556C 000724CC 38 84 D5 E8 */ addi r4, r4, lbl_803CD5E8@l
/* 80075570 000724D0 4B F8 F7 49 */ bl string_l__4rstlFPCc
/* 80075574 000724D4 C0 02 88 B4 */ lfs f0, lbl_805AA5D4@sda21(r2)
/* 80075578 000724D8 38 81 00 20 */ addi r4, r1, 0x20
/* 8007557C 000724DC 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 80075580 000724E0 EC 3F 00 28 */ fsubs f1, f31, f0
/* 80075584 000724E4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80075588 000724E8 4B FB 6E 65 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8007558C 000724EC 7C 7C 1B 78 */ mr r28, r3
/* 80075590 000724F0 38 61 00 20 */ addi r3, r1, 0x20
/* 80075594 000724F4 48 2C 85 4D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80075598 000724F8 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 8007559C 000724FC 48 09 FF 71 */ bl GetIsLoop__10CModelDataCFv
/* 800755A0 00072500 FC 20 F8 90 */ fmr f1, f31
/* 800755A4 00072504 7C 7D 1B 78 */ mr r29, r3
/* 800755A8 00072508 7F C4 F3 78 */ mr r4, r30
/* 800755AC 0007250C 7F E5 FB 78 */ mr r5, r31
/* 800755B0 00072510 38 61 00 3C */ addi r3, r1, 0x3c
/* 800755B4 00072514 38 C0 00 01 */ li r6, 1
/* 800755B8 00072518 4B FD FC E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb
/* 800755BC 0007251C C0 C1 00 3C */ lfs f6, 0x3c(r1)
/* 800755C0 00072520 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 800755C4 00072524 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 800755C8 00072528 3B 61 00 64 */ addi r27, r1, 0x64
/* 800755CC 0007252C C0 81 00 44 */ lfs f4, 0x44(r1)
/* 800755D0 00072530 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 800755D4 00072534 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 800755D8 00072538 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 800755DC 0007253C C0 01 00 54 */ lfs f0, 0x54(r1)
/* 800755E0 00072540 D0 C1 00 58 */ stfs f6, 0x58(r1)
/* 800755E4 00072544 D0 A1 00 5C */ stfs f5, 0x5c(r1)
/* 800755E8 00072548 D0 81 00 60 */ stfs f4, 0x60(r1)
/* 800755EC 0007254C D0 61 00 64 */ stfs f3, 0x64(r1)
/* 800755F0 00072550 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 800755F4 00072554 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 800755F8 00072558 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 800755FC 0007255C 40 82 00 0C */ bne lbl_80075608
/* 80075600 00072560 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80075604 00072564 41 82 00 CC */ beq lbl_800756D0
lbl_80075608:
/* 80075608 00072568 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007560C 0007256C 38 60 00 01 */ li r3, 1
/* 80075610 00072570 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80075614 00072574 98 1E 02 E2 */ stb r0, 0x2e2(r30)
/* 80075618 00072578 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007561C 0007257C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 80075620 00072580 41 82 00 90 */ beq lbl_800756B0
/* 80075624 00072584 38 61 00 14 */ addi r3, r1, 0x14
/* 80075628 00072588 38 9E 00 34 */ addi r4, r30, 0x34
/* 8007562C 0007258C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80075630 00072590 48 29 D3 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80075634 00072594 C0 A1 00 14 */ lfs f5, 0x14(r1)
/* 80075638 00072598 38 61 00 08 */ addi r3, r1, 8
/* 8007563C 0007259C C0 81 00 18 */ lfs f4, 0x18(r1)
/* 80075640 000725A0 38 9E 00 34 */ addi r4, r30, 0x34
/* 80075644 000725A4 C0 61 00 1C */ lfs f3, 0x1c(r1)
/* 80075648 000725A8 38 A1 00 30 */ addi r5, r1, 0x30
/* 8007564C 000725AC D0 A1 00 30 */ stfs f5, 0x30(r1)
/* 80075650 000725B0 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80075654 000725B4 D0 61 00 38 */ stfs f3, 0x38(r1)
/* 80075658 000725B8 80 DE 00 64 */ lwz r6, 0x64(r30)
/* 8007565C 000725BC C0 46 00 08 */ lfs f2, 8(r6)
/* 80075660 000725C0 C0 26 00 04 */ lfs f1, 4(r6)
/* 80075664 000725C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 80075668 000725C8 EC 42 00 F2 */ fmuls f2, f2, f3
/* 8007566C 000725CC EC 21 01 32 */ fmuls f1, f1, f4
/* 80075670 000725D0 EC 00 01 72 */ fmuls f0, f0, f5
/* 80075674 000725D4 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 80075678 000725D8 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 8007567C 000725DC D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80075680 000725E0 48 29 D4 01 */ bl Rotate__12CTransform4fCFRC9CVector3f
/* 80075684 000725E4 C0 61 00 08 */ lfs f3, 8(r1)
/* 80075688 000725E8 FC 20 F8 90 */ fmr f1, f31
/* 8007568C 000725EC C0 41 00 0C */ lfs f2, 0xc(r1)
/* 80075690 000725F0 7F C3 F3 78 */ mr r3, r30
/* 80075694 000725F4 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80075698 000725F8 38 81 00 30 */ addi r4, r1, 0x30
/* 8007569C 000725FC D0 61 00 30 */ stfs f3, 0x30(r1)
/* 800756A0 00072600 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 800756A4 00072604 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 800756A8 00072608 48 0A 57 D1 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
/* 800756AC 0007260C 48 00 00 14 */ b lbl_800756C0
lbl_800756B0:
/* 800756B0 00072610 FC 20 F8 90 */ fmr f1, f31
/* 800756B4 00072614 7F C3 F3 78 */ mr r3, r30
/* 800756B8 00072618 38 81 00 58 */ addi r4, r1, 0x58
/* 800756BC 0007261C 48 0A 57 BD */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
lbl_800756C0:
/* 800756C0 00072620 FC 20 F8 90 */ fmr f1, f31
/* 800756C4 00072624 7F C3 F3 78 */ mr r3, r30
/* 800756C8 00072628 7F 64 DB 78 */ mr r4, r27
/* 800756CC 0007262C 48 0A 57 49 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf
lbl_800756D0:
/* 800756D0 00072630 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 800756D4 00072634 40 82 00 3C */ bne lbl_80075710
/* 800756D8 00072638 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 800756DC 0007263C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 800756E0 00072640 41 82 00 30 */ beq lbl_80075710
/* 800756E4 00072644 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 800756E8 00072648 40 82 00 28 */ bne lbl_80075710
/* 800756EC 0007264C 7F C3 F3 78 */ mr r3, r30
/* 800756F0 00072650 7F E5 FB 78 */ mr r5, r31
/* 800756F4 00072654 38 80 00 07 */ li r4, 7
/* 800756F8 00072658 38 C0 FF FF */ li r6, -1
/* 800756FC 0007265C 4B FD B9 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80075700 00072660 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 80075704 00072664 38 60 00 00 */ li r3, 0
/* 80075708 00072668 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8007570C 0007266C 98 1E 02 E2 */ stb r0, 0x2e2(r30)
lbl_80075710:
/* 80075710 00072670 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 80075714 00072674 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80075718 00072678 40 82 00 54 */ bne lbl_8007576C
/* 8007571C 0007267C 7F C3 F3 78 */ mr r3, r30
/* 80075720 00072680 7F E4 FB 78 */ mr r4, r31
/* 80075724 00072684 81 9E 00 00 */ lwz r12, 0(r30)
/* 80075728 00072688 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8007572C 0007268C 7D 89 03 A6 */ mtctr r12
/* 80075730 00072690 4E 80 04 21 */ bctrl
/* 80075734 00072694 C0 23 00 00 */ lfs f1, 0(r3)
/* 80075738 00072698 C0 02 88 B8 */ lfs f0, lbl_805AA5D8@sda21(r2)
/* 8007573C 0007269C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80075740 000726A0 4C 40 13 82 */ cror 2, 0, 2
/* 80075744 000726A4 40 82 00 28 */ bne lbl_8007576C
/* 80075748 000726A8 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007574C 000726AC 38 60 00 01 */ li r3, 1
/* 80075750 000726B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80075754 000726B4 7F C3 F3 78 */ mr r3, r30
/* 80075758 000726B8 98 1E 02 E2 */ stb r0, 0x2e2(r30)
/* 8007575C 000726BC 7F E5 FB 78 */ mr r5, r31
/* 80075760 000726C0 38 80 00 0E */ li r4, 0xe
/* 80075764 000726C4 38 C0 FF FF */ li r6, -1
/* 80075768 000726C8 4B FD B9 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_8007576C:
/* 8007576C 000726CC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80075770 000726D0 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80075774 000726D4 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80075778 000726D8 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8007577C 000726DC 7C 08 03 A6 */ mtlr r0
/* 80075780 000726E0 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80075784 000726E4 4E 80 00 20 */ blr
.global GetTouchBounds__12CScriptActorCFv
GetTouchBounds__12CScriptActorCFv:
/* 80075788 000726E8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8007578C 000726EC 7C 08 02 A6 */ mflr r0
/* 80075790 000726F0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80075794 000726F4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80075798 000726F8 7C 7F 1B 78 */ mr r31, r3
/* 8007579C 000726FC 88 04 00 30 */ lbz r0, 0x30(r4)
/* 800757A0 00072700 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800757A4 00072704 41 82 00 78 */ beq lbl_8007581C
/* 800757A8 00072708 80 04 00 68 */ lwz r0, 0x68(r4)
/* 800757AC 0007270C 38 A0 00 00 */ li r5, 0
/* 800757B0 00072710 80 C4 00 6C */ lwz r6, 0x6c(r4)
/* 800757B4 00072714 3C 60 00 08 */ lis r3, 8
/* 800757B8 00072718 7C 00 28 38 */ and r0, r0, r5
/* 800757BC 0007271C 7C C3 18 38 */ and r3, r6, r3
/* 800757C0 00072720 7C 63 2A 78 */ xor r3, r3, r5
/* 800757C4 00072724 7C 00 2A 78 */ xor r0, r0, r5
/* 800757C8 00072728 7C 60 03 79 */ or. r0, r3, r0
/* 800757CC 0007272C 41 82 00 50 */ beq lbl_8007581C
/* 800757D0 00072730 38 61 00 08 */ addi r3, r1, 8
/* 800757D4 00072734 48 0A 51 59 */ bl GetBoundingBox__13CPhysicsActorCFv
/* 800757D8 00072738 38 00 00 01 */ li r0, 1
/* 800757DC 0007273C 28 1F 00 00 */ cmplwi r31, 0
/* 800757E0 00072740 98 1F 00 18 */ stb r0, 0x18(r31)
/* 800757E4 00072744 41 82 00 40 */ beq lbl_80075824
/* 800757E8 00072748 C0 01 00 08 */ lfs f0, 8(r1)
/* 800757EC 0007274C D0 1F 00 00 */ stfs f0, 0(r31)
/* 800757F0 00072750 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 800757F4 00072754 D0 1F 00 04 */ stfs f0, 4(r31)
/* 800757F8 00072758 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800757FC 0007275C D0 1F 00 08 */ stfs f0, 8(r31)
/* 80075800 00072760 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80075804 00072764 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80075808 00072768 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8007580C 0007276C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80075810 00072770 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80075814 00072774 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80075818 00072778 48 00 00 0C */ b lbl_80075824
lbl_8007581C:
/* 8007581C 0007277C 38 00 00 00 */ li r0, 0
/* 80075820 00072780 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_80075824:
/* 80075824 00072784 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80075828 00072788 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8007582C 0007278C 7C 08 03 A6 */ mtlr r0
/* 80075830 00072790 38 21 00 30 */ addi r1, r1, 0x30
/* 80075834 00072794 4E 80 00 20 */ blr
.global Touch__12CScriptActorFR6CActorR13CStateManager
Touch__12CScriptActorFR6CActorR13CStateManager:
/* 80075838 00072798 4E 80 00 20 */ blr
.global GetDamageVulnerability__12CScriptActorCFv
GetDamageVulnerability__12CScriptActorCFv:
/* 8007583C 0007279C 38 63 02 68 */ addi r3, r3, 0x268
/* 80075840 000727A0 4E 80 00 20 */ blr
.global GetHealthInfo__12CScriptActorCFRC13CStateManager
GetHealthInfo__12CScriptActorCFRC13CStateManager:
/* 80075844 000727A4 38 63 02 60 */ addi r3, r3, 0x260
/* 80075848 000727A8 4E 80 00 20 */ blr
.global __dt__12CScriptActorFv
__dt__12CScriptActorFv:
/* 8007584C 000727AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80075850 000727B0 7C 08 02 A6 */ mflr r0
/* 80075854 000727B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80075858 000727B8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8007585C 000727BC 7C 9F 23 78 */ mr r31, r4
/* 80075860 000727C0 93 C1 00 08 */ stw r30, 8(r1)
/* 80075864 000727C4 7C 7E 1B 79 */ or. r30, r3, r3
/* 80075868 000727C8 41 82 00 28 */ beq lbl_80075890
/* 8007586C 000727CC 3C A0 80 3E */ lis r5, lbl_803DA450@ha
/* 80075870 000727D0 38 80 00 00 */ li r4, 0
/* 80075874 000727D4 38 05 A4 50 */ addi r0, r5, lbl_803DA450@l
/* 80075878 000727D8 90 1E 00 00 */ stw r0, 0(r30)
/* 8007587C 000727DC 48 0A 6B 99 */ bl __dt__13CPhysicsActorFv
/* 80075880 000727E0 7F E0 07 35 */ extsh. r0, r31
/* 80075884 000727E4 40 81 00 0C */ ble lbl_80075890
/* 80075888 000727E8 7F C3 F3 78 */ mr r3, r30
/* 8007588C 000727EC 48 2A 00 A5 */ bl Free__7CMemoryFPCv
lbl_80075890:
/* 80075890 000727F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80075894 000727F4 7F C3 F3 78 */ mr r3, r30
/* 80075898 000727F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8007589C 000727FC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800758A0 00072800 7C 08 03 A6 */ mtlr r0
/* 800758A4 00072804 38 21 00 10 */ addi r1, r1, 0x10
/* 800758A8 00072808 4E 80 00 20 */ blr
.global "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb"
"__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb":
/* 800758AC 0007280C 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 800758B0 00072810 7C 08 02 A6 */ mflr r0
/* 800758B4 00072814 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 800758B8 00072818 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 800758BC 0007281C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 800758C0 00072820 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 800758C4 00072824 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
/* 800758C8 00072828 DB A1 00 A0 */ stfd f29, 0xa0(r1)
/* 800758CC 0007282C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0
/* 800758D0 00072830 BD C1 00 58 */ stmw r14, 0x58(r1)
/* 800758D4 00072834 FF A0 08 90 */ fmr f29, f1
/* 800758D8 00072838 82 E1 00 D8 */ lwz r23, 0xd8(r1)
/* 800758DC 0007283C FF C0 10 90 */ fmr f30, f2
/* 800758E0 00072840 83 01 00 DC */ lwz r24, 0xdc(r1)
/* 800758E4 00072844 FF E0 18 90 */ fmr f31, f3
/* 800758E8 00072848 83 21 00 E0 */ lwz r25, 0xe0(r1)
/* 800758EC 0007284C 8B 41 00 EB */ lbz r26, 0xeb(r1)
/* 800758F0 00072850 7C 6F 1B 78 */ mr r15, r3
/* 800758F4 00072854 83 61 00 EC */ lwz r27, 0xec(r1)
/* 800758F8 00072858 7C 90 23 78 */ mr r16, r4
/* 800758FC 0007285C 8B 81 00 F3 */ lbz r28, 0xf3(r1)
/* 80075900 00072860 7C B1 2B 78 */ mr r17, r5
/* 80075904 00072864 8B A1 00 F7 */ lbz r29, 0xf7(r1)
/* 80075908 00072868 7C D2 33 78 */ mr r18, r6
/* 8007590C 0007286C 8B C1 00 FB */ lbz r30, 0xfb(r1)
/* 80075910 00072870 7C F3 3B 78 */ mr r19, r7
/* 80075914 00072874 89 C1 00 FF */ lbz r14, 0xff(r1)
/* 80075918 00072878 7D 14 43 78 */ mr r20, r8
/* 8007591C 0007287C 7D 35 4B 78 */ mr r21, r9
/* 80075920 00072880 7D 56 53 78 */ mr r22, r10
/* 80075924 00072884 4B FA 5C 11 */ bl Identity__10CAxisAngleFv
/* 80075928 00072888 7C 7F 1B 78 */ mr r31, r3
/* 8007592C 0007288C 4B FA 5C 09 */ bl Identity__10CAxisAngleFv
/* 80075930 00072890 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
/* 80075934 00072894 C4 64 66 A0 */ lfsu f3, sZeroVector__9CVector3f@l(r4)
/* 80075938 00072898 A1 70 00 00 */ lhz r11, 0(r16)
/* 8007593C 0007289C 38 01 00 1C */ addi r0, r1, 0x1c
/* 80075940 000728A0 C0 84 00 04 */ lfs f4, 4(r4)
/* 80075944 000728A4 7F 45 D3 78 */ mr r5, r26
/* 80075948 000728A8 C0 A4 00 08 */ lfs f5, 8(r4)
/* 8007594C 000728AC 7E 26 8B 78 */ mr r6, r17
/* 80075950 000728B0 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 80075954 000728B4 7E 47 93 78 */ mr r7, r18
/* 80075958 000728B8 C0 22 88 BC */ lfs f1, lbl_805AA5DC@sda21(r2)
/* 8007595C 000728BC 7E 68 9B 78 */ mr r8, r19
/* 80075960 000728C0 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 80075964 000728C4 7E 89 A3 78 */ mr r9, r20
/* 80075968 000728C8 C0 42 88 C0 */ lfs f2, lbl_805AA5E0@sda21(r2)
/* 8007596C 000728CC 7E CA B3 78 */ mr r10, r22
/* 80075970 000728D0 D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 80075974 000728D4 38 81 00 18 */ addi r4, r1, 0x18
/* 80075978 000728D8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8007597C 000728DC D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80075980 000728E0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80075984 000728E4 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80075988 000728E8 C0 03 00 08 */ lfs f0, 8(r3)
/* 8007598C 000728EC 7D E3 7B 78 */ mr r3, r15
/* 80075990 000728F0 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80075994 000728F4 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 80075998 000728F8 D0 81 00 38 */ stfs f4, 0x38(r1)
/* 8007599C 000728FC D0 A1 00 3C */ stfs f5, 0x3c(r1)
/* 800759A0 00072900 C0 1F 00 00 */ lfs f0, 0(r31)
/* 800759A4 00072904 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800759A8 00072908 C0 1F 00 04 */ lfs f0, 4(r31)
/* 800759AC 0007290C D0 01 00 44 */ stfs f0, 0x44(r1)
/* 800759B0 00072910 C0 1F 00 08 */ lfs f0, 8(r31)
/* 800759B4 00072914 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 800759B8 00072918 D3 A1 00 4C */ stfs f29, 0x4c(r1)
/* 800759BC 0007291C B1 61 00 18 */ sth r11, 0x18(r1)
/* 800759C0 00072920 92 A1 00 08 */ stw r21, 8(r1)
/* 800759C4 00072924 90 01 00 0C */ stw r0, 0xc(r1)
/* 800759C8 00072928 93 21 00 10 */ stw r25, 0x10(r1)
/* 800759CC 0007292C 48 0A 6A E5 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff"
/* 800759D0 00072930 3C 60 80 3E */ lis r3, lbl_803DA450@ha
/* 800759D4 00072934 C0 02 88 B0 */ lfs f0, lbl_805AA5D0@sda21(r2)
/* 800759D8 00072938 38 03 A4 50 */ addi r0, r3, lbl_803DA450@l
/* 800759DC 0007293C 38 80 00 00 */ li r4, 0
/* 800759E0 00072940 90 0F 00 00 */ stw r0, 0(r15)
/* 800759E4 00072944 EC 3F 00 28 */ fsubs f1, f31, f0
/* 800759E8 00072948 C8 02 88 C8 */ lfd f0, lbl_805AA5E8@sda21(r2)
/* 800759EC 0007294C 38 60 00 01 */ li r3, 1
/* 800759F0 00072950 C0 57 00 00 */ lfs f2, 0(r23)
/* 800759F4 00072954 FC 60 0A 10 */ fabs f3, f1
/* 800759F8 00072958 D0 4F 02 58 */ stfs f2, 0x258(r15)
/* 800759FC 0007295C C0 37 00 04 */ lfs f1, 4(r23)
/* 80075A00 00072960 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 80075A04 00072964 D0 2F 02 5C */ stfs f1, 0x25c(r15)
/* 80075A08 00072968 C0 17 00 00 */ lfs f0, 0(r23)
/* 80075A0C 0007296C D0 0F 02 60 */ stfs f0, 0x260(r15)
/* 80075A10 00072970 C0 17 00 04 */ lfs f0, 4(r23)
/* 80075A14 00072974 D0 0F 02 64 */ stfs f0, 0x264(r15)
/* 80075A18 00072978 80 B8 00 00 */ lwz r5, 0(r24)
/* 80075A1C 0007297C 80 18 00 04 */ lwz r0, 4(r24)
/* 80075A20 00072980 90 AF 02 68 */ stw r5, 0x268(r15)
/* 80075A24 00072984 90 0F 02 6C */ stw r0, 0x26c(r15)
/* 80075A28 00072988 80 B8 00 08 */ lwz r5, 8(r24)
/* 80075A2C 0007298C 80 18 00 0C */ lwz r0, 0xc(r24)
/* 80075A30 00072990 90 AF 02 70 */ stw r5, 0x270(r15)
/* 80075A34 00072994 90 0F 02 74 */ stw r0, 0x274(r15)
/* 80075A38 00072998 80 B8 00 10 */ lwz r5, 0x10(r24)
/* 80075A3C 0007299C 80 18 00 14 */ lwz r0, 0x14(r24)
/* 80075A40 000729A0 90 AF 02 78 */ stw r5, 0x278(r15)
/* 80075A44 000729A4 90 0F 02 7C */ stw r0, 0x27c(r15)
/* 80075A48 000729A8 80 B8 00 18 */ lwz r5, 0x18(r24)
/* 80075A4C 000729AC 80 18 00 1C */ lwz r0, 0x1c(r24)
/* 80075A50 000729B0 90 AF 02 80 */ stw r5, 0x280(r15)
/* 80075A54 000729B4 90 0F 02 84 */ stw r0, 0x284(r15)
/* 80075A58 000729B8 80 B8 00 20 */ lwz r5, 0x20(r24)
/* 80075A5C 000729BC 80 18 00 24 */ lwz r0, 0x24(r24)
/* 80075A60 000729C0 90 AF 02 88 */ stw r5, 0x288(r15)
/* 80075A64 000729C4 90 0F 02 8C */ stw r0, 0x28c(r15)
/* 80075A68 000729C8 80 B8 00 28 */ lwz r5, 0x28(r24)
/* 80075A6C 000729CC 80 18 00 2C */ lwz r0, 0x2c(r24)
/* 80075A70 000729D0 90 AF 02 90 */ stw r5, 0x290(r15)
/* 80075A74 000729D4 90 0F 02 94 */ stw r0, 0x294(r15)
/* 80075A78 000729D8 80 B8 00 30 */ lwz r5, 0x30(r24)
/* 80075A7C 000729DC 80 18 00 34 */ lwz r0, 0x34(r24)
/* 80075A80 000729E0 90 AF 02 98 */ stw r5, 0x298(r15)
/* 80075A84 000729E4 90 0F 02 9C */ stw r0, 0x29c(r15)
/* 80075A88 000729E8 80 18 00 38 */ lwz r0, 0x38(r24)
/* 80075A8C 000729EC 90 0F 02 A0 */ stw r0, 0x2a0(r15)
/* 80075A90 000729F0 80 B8 00 3C */ lwz r5, 0x3c(r24)
/* 80075A94 000729F4 80 18 00 40 */ lwz r0, 0x40(r24)
/* 80075A98 000729F8 90 AF 02 A4 */ stw r5, 0x2a4(r15)
/* 80075A9C 000729FC 90 0F 02 A8 */ stw r0, 0x2a8(r15)
/* 80075AA0 00072A00 80 B8 00 44 */ lwz r5, 0x44(r24)
/* 80075AA4 00072A04 80 18 00 48 */ lwz r0, 0x48(r24)
/* 80075AA8 00072A08 90 AF 02 AC */ stw r5, 0x2ac(r15)
/* 80075AAC 00072A0C 90 0F 02 B0 */ stw r0, 0x2b0(r15)
/* 80075AB0 00072A10 80 B8 00 4C */ lwz r5, 0x4c(r24)
/* 80075AB4 00072A14 80 18 00 50 */ lwz r0, 0x50(r24)
/* 80075AB8 00072A18 90 AF 02 B4 */ stw r5, 0x2b4(r15)
/* 80075ABC 00072A1C 90 0F 02 B8 */ stw r0, 0x2b8(r15)
/* 80075AC0 00072A20 80 B8 00 54 */ lwz r5, 0x54(r24)
/* 80075AC4 00072A24 80 18 00 58 */ lwz r0, 0x58(r24)
/* 80075AC8 00072A28 90 AF 02 BC */ stw r5, 0x2bc(r15)
/* 80075ACC 00072A2C 90 0F 02 C0 */ stw r0, 0x2c0(r15)
/* 80075AD0 00072A30 80 18 00 5C */ lwz r0, 0x5c(r24)
/* 80075AD4 00072A34 90 0F 02 C4 */ stw r0, 0x2c4(r15)
/* 80075AD8 00072A38 80 18 00 60 */ lwz r0, 0x60(r24)
/* 80075ADC 00072A3C 90 0F 02 C8 */ stw r0, 0x2c8(r15)
/* 80075AE0 00072A40 80 18 00 64 */ lwz r0, 0x64(r24)
/* 80075AE4 00072A44 90 0F 02 CC */ stw r0, 0x2cc(r15)
/* 80075AE8 00072A48 C0 19 00 5C */ lfs f0, 0x5c(r25)
/* 80075AEC 00072A4C D0 0F 02 D0 */ stfs f0, 0x2d0(r15)
/* 80075AF0 00072A50 C0 19 00 60 */ lfs f0, 0x60(r25)
/* 80075AF4 00072A54 D0 0F 02 D4 */ stfs f0, 0x2d4(r15)
/* 80075AF8 00072A58 93 6F 02 D8 */ stw r27, 0x2d8(r15)
/* 80075AFC 00072A5C D3 EF 02 DC */ stfs f31, 0x2dc(r15)
/* 80075B00 00072A60 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80075B04 00072A64 B0 0F 02 E0 */ sth r0, 0x2e0(r15)
/* 80075B08 00072A68 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B0C 00072A6C 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18
/* 80075B10 00072A70 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B14 00072A74 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B18 00072A78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80075B1C 00072A7C 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B20 00072A80 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B24 00072A84 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80075B28 00072A88 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B2C 00072A8C 7C 00 00 26 */ mfcr r0
/* 80075B30 00072A90 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80075B34 00072A94 7C 03 00 34 */ cntlzw r3, r0
/* 80075B38 00072A98 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B3C 00072A9C 50 60 FE F6 */ rlwimi r0, r3, 0x1f, 0x1b, 0x1b
/* 80075B40 00072AA0 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B44 00072AA4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B48 00072AA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80075B4C 00072AAC 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B50 00072AB0 88 6F 02 E2 */ lbz r3, 0x2e2(r15)
/* 80075B54 00072AB4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 80075B58 00072AB8 40 82 00 18 */ bne lbl_80075B70
/* 80075B5C 00072ABC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 80075B60 00072AC0 40 82 00 10 */ bne lbl_80075B70
/* 80075B64 00072AC4 80 0F 02 D8 */ lwz r0, 0x2d8(r15)
/* 80075B68 00072AC8 2C 00 00 00 */ cmpwi r0, 0
/* 80075B6C 00072ACC 41 82 00 08 */ beq lbl_80075B74
lbl_80075B70:
/* 80075B70 00072AD0 38 80 00 01 */ li r4, 1
lbl_80075B74:
/* 80075B74 00072AD4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B78 00072AD8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80075B7C 00072ADC 38 80 00 00 */ li r4, 0
/* 80075B80 00072AE0 7D E3 7B 78 */ mr r3, r15
/* 80075B84 00072AE4 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B88 00072AE8 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B8C 00072AEC 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e
/* 80075B90 00072AF0 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B94 00072AF4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B98 00072AF8 51 C0 07 FE */ rlwimi r0, r14, 0, 0x1f, 0x1f
/* 80075B9C 00072AFC 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075BA0 00072B00 88 0F 02 E3 */ lbz r0, 0x2e3(r15)
/* 80075BA4 00072B04 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80075BA8 00072B08 98 0F 02 E3 */ stb r0, 0x2e3(r15)
/* 80075BAC 00072B0C 80 AF 00 64 */ lwz r5, 0x64(r15)
/* 80075BB0 00072B10 28 05 00 00 */ cmplwi r5, 0
/* 80075BB4 00072B14 41 82 00 20 */ beq lbl_80075BD4
/* 80075BB8 00072B18 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80075BBC 00072B1C 28 00 00 00 */ cmplwi r0, 0
/* 80075BC0 00072B20 40 82 00 10 */ bne lbl_80075BD0
/* 80075BC4 00072B24 88 05 00 28 */ lbz r0, 0x28(r5)
/* 80075BC8 00072B28 28 00 00 00 */ cmplwi r0, 0
/* 80075BCC 00072B2C 41 82 00 08 */ beq lbl_80075BD4
lbl_80075BD0:
/* 80075BD0 00072B30 38 80 00 01 */ li r4, 1
lbl_80075BD4:
/* 80075BD4 00072B34 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075BD8 00072B38 41 82 00 44 */ beq lbl_80075C1C
/* 80075BDC 00072B3C 28 1D 00 00 */ cmplwi r29, 0
/* 80075BE0 00072B40 41 82 00 0C */ beq lbl_80075BEC
/* 80075BE4 00072B44 38 80 00 01 */ li r4, 1
/* 80075BE8 00072B48 4B FD D1 85 */ bl CreateShadow__6CActorFb
lbl_80075BEC:
/* 80075BEC 00072B4C 80 6F 00 64 */ lwz r3, 0x64(r15)
/* 80075BF0 00072B50 38 80 00 00 */ li r4, 0
/* 80075BF4 00072B54 28 03 00 00 */ cmplwi r3, 0
/* 80075BF8 00072B58 41 82 00 14 */ beq lbl_80075C0C
/* 80075BFC 00072B5C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80075C00 00072B60 28 00 00 00 */ cmplwi r0, 0
/* 80075C04 00072B64 41 82 00 08 */ beq lbl_80075C0C
/* 80075C08 00072B68 38 80 00 01 */ li r4, 1
lbl_80075C0C:
/* 80075C0C 00072B6C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075C10 00072B70 41 82 00 0C */ beq lbl_80075C1C
/* 80075C14 00072B74 88 81 00 E7 */ lbz r4, 0xe7(r1)
/* 80075C18 00072B78 48 09 F9 49 */ bl EnableLooping__10CModelDataFb
lbl_80075C1C:
/* 80075C1C 00072B7C C0 22 88 B8 */ lfs f1, lbl_805AA5D8@sda21(r2)
/* 80075C20 00072B80 FC 00 F0 50 */ fneg f0, f30
/* 80075C24 00072B84 7D E3 7B 78 */ mr r3, r15
/* 80075C28 00072B88 D0 2F 01 50 */ stfs f1, 0x150(r15)
/* 80075C2C 00072B8C D0 2F 01 54 */ stfs f1, 0x154(r15)
/* 80075C30 00072B90 D0 0F 01 58 */ stfs f0, 0x158(r15)
/* 80075C34 00072B94 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 80075C38 00072B98 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 80075C3C 00072B9C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
/* 80075C40 00072BA0 CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 80075C44 00072BA4 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0
/* 80075C48 00072BA8 CB A1 00 A0 */ lfd f29, 0xa0(r1)
/* 80075C4C 00072BAC B9 C1 00 58 */ lmw r14, 0x58(r1)
/* 80075C50 00072BB0 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80075C54 00072BB4 7C 08 03 A6 */ mtlr r0
/* 80075C58 00072BB8 38 21 00 D0 */ addi r1, r1, 0xd0
/* 80075C5C 00072BBC 4E 80 00 20 */ blr
.section .rodata
.balign 8
.global lbl_803CD5E8
lbl_803CD5E8:
# ROM: 0x3CA5E8
.asciz "Whole Body"
.balign 4
.4byte 0