This commit is contained in:
Phillip Stephens 2022-04-12 23:53:45 -07:00
parent da684dbef6
commit 1d44f50d7b
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
78 changed files with 111143 additions and 110857 deletions

View File

@ -0,0 +1,606 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__9CBSAttackFv
__dt__9CBSAttackFv:
/* 80134DD4 00131D34 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80134DD8 00131D38 7C 08 02 A6 */ mflr r0
/* 80134DDC 00131D3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80134DE0 00131D40 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80134DE4 00131D44 7C 7F 1B 79 */ or. r31, r3, r3
/* 80134DE8 00131D48 41 82 00 5C */ beq lbl_80134E44
/* 80134DEC 00131D4C 3C 60 80 3E */ lis r3, lbl_803E1370@ha
/* 80134DF0 00131D50 34 1F 00 08 */ addic. r0, r31, 8
/* 80134DF4 00131D54 38 03 13 70 */ addi r0, r3, lbl_803E1370@l
/* 80134DF8 00131D58 90 1F 00 00 */ stw r0, 0(r31)
/* 80134DFC 00131D5C 41 82 00 24 */ beq lbl_80134E20
/* 80134E00 00131D60 3C 60 80 3E */ lis r3, lbl_803DAA08@ha
/* 80134E04 00131D64 34 1F 00 08 */ addic. r0, r31, 8
/* 80134E08 00131D68 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l
/* 80134E0C 00131D6C 90 1F 00 08 */ stw r0, 8(r31)
/* 80134E10 00131D70 41 82 00 10 */ beq lbl_80134E20
/* 80134E14 00131D74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 80134E18 00131D78 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l
/* 80134E1C 00131D7C 90 1F 00 08 */ stw r0, 8(r31)
lbl_80134E20:
/* 80134E20 00131D80 28 1F 00 00 */ cmplwi r31, 0
/* 80134E24 00131D84 41 82 00 10 */ beq lbl_80134E34
/* 80134E28 00131D88 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80134E2C 00131D8C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80134E30 00131D90 90 1F 00 00 */ stw r0, 0(r31)
lbl_80134E34:
/* 80134E34 00131D94 7C 80 07 35 */ extsh. r0, r4
/* 80134E38 00131D98 40 81 00 0C */ ble lbl_80134E44
/* 80134E3C 00131D9C 7F E3 FB 78 */ mr r3, r31
/* 80134E40 00131DA0 48 1E 0A F1 */ bl Free__7CMemoryFPCv
lbl_80134E44:
/* 80134E44 00131DA4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80134E48 00131DA8 7F E3 FB 78 */ mr r3, r31
/* 80134E4C 00131DAC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80134E50 00131DB0 7C 08 03 A6 */ mtlr r0
/* 80134E54 00131DB4 38 21 00 10 */ addi r1, r1, 0x10
/* 80134E58 00131DB8 4E 80 00 20 */ blr
.global CanShoot__9CBSAttackCFv
CanShoot__9CBSAttackCFv:
/* 80134E5C 00131DBC 38 60 00 00 */ li r3, 0
/* 80134E60 00131DC0 4E 80 00 20 */ blr
.global UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf
UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf:
/* 80134E64 00131DC4 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80134E68 00131DC8 7C 08 02 A6 */ mflr r0
/* 80134E6C 00131DCC 90 01 00 74 */ stw r0, 0x74(r1)
/* 80134E70 00131DD0 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 80134E74 00131DD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 80134E78 00131DD8 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80134E7C 00131DDC 93 C1 00 58 */ stw r30, 0x58(r1)
/* 80134E80 00131DE0 C0 42 99 A0 */ lfs f2, lbl_805AB6C0@sda21(r2)
/* 80134E84 00131DE4 FF E0 08 90 */ fmr f31, f1
/* 80134E88 00131DE8 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 80134E8C 00131DEC 7C 7E 1B 78 */ mr r30, r3
/* 80134E90 00131DF0 38 00 00 00 */ li r0, 0
/* 80134E94 00131DF4 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 80134E98 00131DF8 40 82 00 1C */ bne lbl_80134EB4
/* 80134E9C 00131DFC C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80134EA0 00131E00 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 80134EA4 00131E04 40 82 00 10 */ bne lbl_80134EB4
/* 80134EA8 00131E08 C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 80134EAC 00131E0C FC 02 00 00 */ fcmpu cr0, f2, f0
/* 80134EB0 00131E10 41 82 00 08 */ beq lbl_80134EB8
lbl_80134EB4:
/* 80134EB4 00131E14 38 00 00 01 */ li r0, 1
lbl_80134EB8:
/* 80134EB8 00131E18 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80134EBC 00131E1C 41 82 01 18 */ beq lbl_80134FD4
/* 80134EC0 00131E20 C0 3E 00 34 */ lfs f1, 0x34(r30)
/* 80134EC4 00131E24 C0 1E 00 2C */ lfs f0, 0x2c(r30)
/* 80134EC8 00131E28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80134ECC 00131E2C 4C 41 13 82 */ cror 2, 1, 2
/* 80134ED0 00131E30 40 82 01 04 */ bne lbl_80134FD4
/* 80134ED4 00131E34 C0 1E 00 30 */ lfs f0, 0x30(r30)
/* 80134ED8 00131E38 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80134EDC 00131E3C 4C 40 13 82 */ cror 2, 0, 2
/* 80134EE0 00131E40 40 82 00 F4 */ bne lbl_80134FD4
/* 80134EE4 00131E44 80 84 00 00 */ lwz r4, 0(r4)
/* 80134EE8 00131E48 38 61 00 08 */ addi r3, r1, 8
/* 80134EEC 00131E4C 4B F7 77 F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity"
/* 80134EF0 00131E50 83 E3 00 04 */ lwz r31, 4(r3)
/* 80134EF4 00131E54 28 1F 00 00 */ cmplwi r31, 0
/* 80134EF8 00131E58 41 82 00 DC */ beq lbl_80134FD4
/* 80134EFC 00131E5C C0 5E 00 24 */ lfs f2, 0x24(r30)
/* 80134F00 00131E60 C0 3F 00 50 */ lfs f1, 0x50(r31)
/* 80134F04 00131E64 C0 7E 00 28 */ lfs f3, 0x28(r30)
/* 80134F08 00131E68 C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 80134F0C 00131E6C EC A2 08 28 */ fsubs f5, f2, f1
/* 80134F10 00131E70 C0 5E 00 20 */ lfs f2, 0x20(r30)
/* 80134F14 00131E74 C0 3F 00 40 */ lfs f1, 0x40(r31)
/* 80134F18 00131E78 EC 83 00 28 */ fsubs f4, f3, f0
/* 80134F1C 00131E7C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2)
/* 80134F20 00131E80 EC 62 08 28 */ fsubs f3, f2, f1
/* 80134F24 00131E84 D0 A1 00 50 */ stfs f5, 0x50(r1)
/* 80134F28 00131E88 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 80134F2C 00131E8C D0 61 00 4C */ stfs f3, 0x4c(r1)
/* 80134F30 00131E90 C0 5E 00 30 */ lfs f2, 0x30(r30)
/* 80134F34 00131E94 C0 3E 00 2C */ lfs f1, 0x2c(r30)
/* 80134F38 00131E98 EC 22 08 28 */ fsubs f1, f2, f1
/* 80134F3C 00131E9C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80134F40 00131EA0 40 81 00 28 */ ble lbl_80134F68
/* 80134F44 00131EA4 EC 1F 08 24 */ fdivs f0, f31, f1
/* 80134F48 00131EA8 38 C1 00 28 */ addi r6, r1, 0x28
/* 80134F4C 00131EAC EC 40 00 F2 */ fmuls f2, f0, f3
/* 80134F50 00131EB0 EC 20 01 72 */ fmuls f1, f0, f5
/* 80134F54 00131EB4 EC 00 01 32 */ fmuls f0, f0, f4
/* 80134F58 00131EB8 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80134F5C 00131EBC D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80134F60 00131EC0 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80134F64 00131EC4 48 00 00 08 */ b lbl_80134F6C
lbl_80134F68:
/* 80134F68 00131EC8 38 C1 00 4C */ addi r6, r1, 0x4c
lbl_80134F6C:
/* 80134F6C 00131ECC C0 06 00 00 */ lfs f0, 0(r6)
/* 80134F70 00131ED0 38 61 00 10 */ addi r3, r1, 0x10
/* 80134F74 00131ED4 38 9F 00 34 */ addi r4, r31, 0x34
/* 80134F78 00131ED8 38 A1 00 40 */ addi r5, r1, 0x40
/* 80134F7C 00131EDC D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80134F80 00131EE0 C0 06 00 04 */ lfs f0, 4(r6)
/* 80134F84 00131EE4 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80134F88 00131EE8 C0 06 00 08 */ lfs f0, 8(r6)
/* 80134F8C 00131EEC D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80134F90 00131EF0 48 1D DA 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80134F94 00131EF4 FC 20 F8 90 */ fmr f1, f31
/* 80134F98 00131EF8 7F E4 FB 78 */ mr r4, r31
/* 80134F9C 00131EFC 38 61 00 1C */ addi r3, r1, 0x1c
/* 80134FA0 00131F00 38 A1 00 10 */ addi r5, r1, 0x10
/* 80134FA4 00131F04 4B FE 60 65 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff
/* 80134FA8 00131F08 C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 80134FAC 00131F0C C0 21 00 20 */ lfs f1, 0x20(r1)
/* 80134FB0 00131F10 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80134FB4 00131F14 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80134FB8 00131F18 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 80134FBC 00131F1C D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80134FC0 00131F20 4B EE 65 75 */ bl Identity__10CAxisAngleFv
/* 80134FC4 00131F24 7C 65 1B 78 */ mr r5, r3
/* 80134FC8 00131F28 7F E3 FB 78 */ mr r3, r31
/* 80134FCC 00131F2C 38 81 00 34 */ addi r4, r1, 0x34
/* 80134FD0 00131F30 4B FE 73 C9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
lbl_80134FD4:
/* 80134FD4 00131F34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 80134FD8 00131F38 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80134FDC 00131F3C CB E1 00 60 */ lfd f31, 0x60(r1)
/* 80134FE0 00131F40 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80134FE4 00131F44 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 80134FE8 00131F48 7C 08 03 A6 */ mtlr r0
/* 80134FEC 00131F4C 38 21 00 70 */ addi r1, r1, 0x70
/* 80134FF0 00131F50 4E 80 00 20 */ blr
.global GetBodyStateTransition__9CBSAttackFfR15CBodyController
GetBodyStateTransition__9CBSAttackFfR15CBodyController:
/* 80134FF4 00131F54 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80134FF8 00131F58 7C 08 02 A6 */ mflr r0
/* 80134FFC 00131F5C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80135000 00131F60 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80135004 00131F64 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80135008 00131F68 7C 9E 23 78 */ mr r30, r4
/* 8013500C 00131F6C 3B FE 00 04 */ addi r31, r30, 4
/* 80135010 00131F70 38 80 00 0F */ li r4, 0xf
/* 80135014 00131F74 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80135018 00131F78 7C 7D 1B 78 */ mr r29, r3
/* 8013501C 00131F7C 7F E3 FB 78 */ mr r3, r31
/* 80135020 00131F80 4B FF C4 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135024 00131F84 28 03 00 00 */ cmplwi r3, 0
/* 80135028 00131F88 41 82 00 0C */ beq lbl_80135034
/* 8013502C 00131F8C 38 60 00 0E */ li r3, 0xe
/* 80135030 00131F90 48 00 01 5C */ b lbl_8013518C
lbl_80135034:
/* 80135034 00131F94 7F E3 FB 78 */ mr r3, r31
/* 80135038 00131F98 38 80 00 03 */ li r4, 3
/* 8013503C 00131F9C 4B FF C4 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135040 00131FA0 28 03 00 00 */ cmplwi r3, 0
/* 80135044 00131FA4 41 82 00 0C */ beq lbl_80135050
/* 80135048 00131FA8 38 60 00 00 */ li r3, 0
/* 8013504C 00131FAC 48 00 01 40 */ b lbl_8013518C
lbl_80135050:
/* 80135050 00131FB0 7F E3 FB 78 */ mr r3, r31
/* 80135054 00131FB4 38 80 00 09 */ li r4, 9
/* 80135058 00131FB8 4B FF C3 F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013505C 00131FBC 28 03 00 00 */ cmplwi r3, 0
/* 80135060 00131FC0 41 82 00 0C */ beq lbl_8013506C
/* 80135064 00131FC4 38 60 00 0A */ li r3, 0xa
/* 80135068 00131FC8 48 00 01 24 */ b lbl_8013518C
lbl_8013506C:
/* 8013506C 00131FCC 7F E3 FB 78 */ mr r3, r31
/* 80135070 00131FD0 38 80 00 04 */ li r4, 4
/* 80135074 00131FD4 4B FF C3 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135078 00131FD8 28 03 00 00 */ cmplwi r3, 0
/* 8013507C 00131FDC 41 82 00 0C */ beq lbl_80135088
/* 80135080 00131FE0 38 60 00 06 */ li r3, 6
/* 80135084 00131FE4 48 00 01 08 */ b lbl_8013518C
lbl_80135088:
/* 80135088 00131FE8 7F E3 FB 78 */ mr r3, r31
/* 8013508C 00131FEC 38 80 00 16 */ li r4, 0x16
/* 80135090 00131FF0 4B FF C3 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135094 00131FF4 28 03 00 00 */ cmplwi r3, 0
/* 80135098 00131FF8 41 82 00 0C */ beq lbl_801350A4
/* 8013509C 00131FFC 38 60 00 05 */ li r3, 5
/* 801350A0 00132000 48 00 00 EC */ b lbl_8013518C
lbl_801350A4:
/* 801350A4 00132004 7F E3 FB 78 */ mr r3, r31
/* 801350A8 00132008 38 80 00 11 */ li r4, 0x11
/* 801350AC 0013200C 4B FF C3 A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801350B0 00132010 28 03 00 00 */ cmplwi r3, 0
/* 801350B4 00132014 41 82 00 34 */ beq lbl_801350E8
/* 801350B8 00132018 80 83 00 04 */ lwz r4, 4(r3)
/* 801350BC 0013201C 38 00 00 0F */ li r0, 0xf
/* 801350C0 00132020 90 9D 00 0C */ stw r4, 0xc(r29)
/* 801350C4 00132024 80 83 00 08 */ lwz r4, 8(r3)
/* 801350C8 00132028 90 9D 00 10 */ stw r4, 0x10(r29)
/* 801350CC 0013202C 80 A3 00 0C */ lwz r5, 0xc(r3)
/* 801350D0 00132030 80 83 00 10 */ lwz r4, 0x10(r3)
/* 801350D4 00132034 90 BD 00 14 */ stw r5, 0x14(r29)
/* 801350D8 00132038 90 9D 00 18 */ stw r4, 0x18(r29)
/* 801350DC 0013203C 80 63 00 14 */ lwz r3, 0x14(r3)
/* 801350E0 00132040 90 7D 00 1C */ stw r3, 0x1c(r29)
/* 801350E4 00132044 90 1D 00 04 */ stw r0, 4(r29)
lbl_801350E8:
/* 801350E8 00132048 7F E3 FB 78 */ mr r3, r31
/* 801350EC 0013204C 38 80 00 0E */ li r4, 0xe
/* 801350F0 00132050 4B FF C3 61 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801350F4 00132054 28 03 00 00 */ cmplwi r3, 0
/* 801350F8 00132058 41 82 00 0C */ beq lbl_80135104
/* 801350FC 0013205C 38 60 00 0C */ li r3, 0xc
/* 80135100 00132060 48 00 00 8C */ b lbl_8013518C
lbl_80135104:
/* 80135104 00132064 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80135108 00132068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013510C 0013206C 41 82 00 60 */ beq lbl_8013516C
/* 80135110 00132070 7F E3 FB 78 */ mr r3, r31
/* 80135114 00132074 38 80 00 05 */ li r4, 5
/* 80135118 00132078 4B FF C3 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013511C 0013207C 28 03 00 00 */ cmplwi r3, 0
/* 80135120 00132080 41 82 00 0C */ beq lbl_8013512C
/* 80135124 00132084 38 60 00 07 */ li r3, 7
/* 80135128 00132088 48 00 00 64 */ b lbl_8013518C
lbl_8013512C:
/* 8013512C 0013208C 7F E3 FB 78 */ mr r3, r31
/* 80135130 00132090 38 80 00 06 */ li r4, 6
/* 80135134 00132094 4B FF C3 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135138 00132098 28 03 00 00 */ cmplwi r3, 0
/* 8013513C 0013209C 41 82 00 0C */ beq lbl_80135148
/* 80135140 001320A0 38 60 00 12 */ li r3, 0x12
/* 80135144 001320A4 48 00 00 48 */ b lbl_8013518C
lbl_80135148:
/* 80135148 001320A8 7F E3 FB 78 */ mr r3, r31
/* 8013514C 001320AC 38 80 00 07 */ li r4, 7
/* 80135150 001320B0 4B FF C3 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135154 001320B4 28 03 00 00 */ cmplwi r3, 0
/* 80135158 001320B8 41 82 00 0C */ beq lbl_80135164
/* 8013515C 001320BC 38 60 00 09 */ li r3, 9
/* 80135160 001320C0 48 00 00 2C */ b lbl_8013518C
lbl_80135164:
/* 80135164 001320C4 80 7D 00 04 */ lwz r3, 4(r29)
/* 80135168 001320C8 48 00 00 24 */ b lbl_8013518C
lbl_8013516C:
/* 8013516C 001320CC 7F E3 FB 78 */ mr r3, r31
/* 80135170 001320D0 38 80 00 0C */ li r4, 0xc
/* 80135174 001320D4 4B FF C2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135178 001320D8 28 03 00 00 */ cmplwi r3, 0
/* 8013517C 001320DC 41 82 00 0C */ beq lbl_80135188
/* 80135180 001320E0 80 7D 00 04 */ lwz r3, 4(r29)
/* 80135184 001320E4 48 00 00 08 */ b lbl_8013518C
lbl_80135188:
/* 80135188 001320E8 38 60 FF FF */ li r3, -1
lbl_8013518C:
/* 8013518C 001320EC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80135190 001320F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80135194 001320F4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80135198 001320F8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013519C 001320FC 7C 08 03 A6 */ mtlr r0
/* 801351A0 00132100 38 21 00 20 */ addi r1, r1, 0x20
/* 801351A4 00132104 4E 80 00 20 */ blr
.global Shutdown__9CBSAttackFR15CBodyController
Shutdown__9CBSAttackFR15CBodyController:
/* 801351A8 00132108 4E 80 00 20 */ blr
.global UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager
UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager:
/* 801351AC 0013210C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801351B0 00132110 7C 08 02 A6 */ mflr r0
/* 801351B4 00132114 90 01 00 34 */ stw r0, 0x34(r1)
/* 801351B8 00132118 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801351BC 0013211C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801351C0 00132120 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801351C4 00132124 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801351C8 00132128 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801351CC 0013212C 93 81 00 10 */ stw r28, 0x10(r1)
/* 801351D0 00132130 7C 7C 1B 78 */ mr r28, r3
/* 801351D4 00132134 FF E0 08 90 */ fmr f31, f1
/* 801351D8 00132138 C0 03 00 34 */ lfs f0, 0x34(r3)
/* 801351DC 0013213C 7C 9D 23 78 */ mr r29, r4
/* 801351E0 00132140 EC 00 F8 2A */ fadds f0, f0, f31
/* 801351E4 00132144 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 801351E8 00132148 4B FF FE 0D */ bl GetBodyStateTransition__9CBSAttackFfR15CBodyController
/* 801351EC 0013214C 7C 7E 1B 78 */ mr r30, r3
/* 801351F0 00132150 3B FD 00 04 */ addi r31, r29, 4
/* 801351F4 00132154 2C 1E FF FF */ cmpwi r30, -1
/* 801351F8 00132158 40 82 00 60 */ bne lbl_80135258
/* 801351FC 0013215C C0 22 99 A0 */ lfs f1, lbl_805AB6C0@sda21(r2)
/* 80135200 00132160 38 00 00 00 */ li r0, 0
/* 80135204 00132164 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 80135208 00132168 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013520C 0013216C 40 82 00 1C */ bne lbl_80135228
/* 80135210 00132170 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 80135214 00132174 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80135218 00132178 40 82 00 10 */ bne lbl_80135228
/* 8013521C 0013217C C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 80135220 00132180 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80135224 00132184 41 82 00 08 */ beq lbl_8013522C
lbl_80135228:
/* 80135228 00132188 38 00 00 01 */ li r0, 1
lbl_8013522C:
/* 8013522C 0013218C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80135230 00132190 41 82 00 14 */ beq lbl_80135244
/* 80135234 00132194 FC 20 F8 90 */ fmr f1, f31
/* 80135238 00132198 7F A3 EB 78 */ mr r3, r29
/* 8013523C 0013219C 38 9F 00 18 */ addi r4, r31, 0x18
/* 80135240 001321A0 48 00 54 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_80135244:
/* 80135244 001321A4 FC 20 F8 90 */ fmr f1, f31
/* 80135248 001321A8 7F 83 E3 78 */ mr r3, r28
/* 8013524C 001321AC 7F A4 EB 78 */ mr r4, r29
/* 80135250 001321B0 4B FF FC 15 */ bl UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf
/* 80135254 001321B4 48 00 00 40 */ b lbl_80135294
lbl_80135258:
/* 80135258 001321B8 2C 1E 00 0F */ cmpwi r30, 0xf
/* 8013525C 001321BC 40 82 00 38 */ bne lbl_80135294
/* 80135260 001321C0 80 9C 00 0C */ lwz r4, 0xc(r28)
/* 80135264 001321C4 7F E3 FB 78 */ mr r3, r31
/* 80135268 001321C8 4B FF C1 D1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013526C 001321CC 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80135270 001321D0 90 1F 01 FC */ stw r0, 0x1fc(r31)
/* 80135274 001321D4 80 1C 00 10 */ lwz r0, 0x10(r28)
/* 80135278 001321D8 90 1F 02 00 */ stw r0, 0x200(r31)
/* 8013527C 001321DC 80 7C 00 14 */ lwz r3, 0x14(r28)
/* 80135280 001321E0 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 80135284 001321E4 90 7F 02 04 */ stw r3, 0x204(r31)
/* 80135288 001321E8 90 1F 02 08 */ stw r0, 0x208(r31)
/* 8013528C 001321EC 80 1C 00 1C */ lwz r0, 0x1c(r28)
/* 80135290 001321F0 90 1F 02 0C */ stw r0, 0x20c(r31)
lbl_80135294:
/* 80135294 001321F4 7F C3 F3 78 */ mr r3, r30
/* 80135298 001321F8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8013529C 001321FC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801352A0 00132200 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801352A4 00132204 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801352A8 00132208 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801352AC 0013220C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801352B0 00132210 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801352B4 00132214 7C 08 03 A6 */ mtlr r0
/* 801352B8 00132218 38 21 00 30 */ addi r1, r1, 0x30
/* 801352BC 0013221C 4E 80 00 20 */ blr
.global Start__9CBSAttackFR15CBodyControllerR13CStateManager
Start__9CBSAttackFR15CBodyControllerR13CStateManager:
/* 801352C0 00132220 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 801352C4 00132224 7C 08 02 A6 */ mflr r0
/* 801352C8 00132228 90 01 01 34 */ stw r0, 0x134(r1)
/* 801352CC 0013222C BF 21 01 14 */ stmw r25, 0x114(r1)
/* 801352D0 00132230 7C 9F 23 78 */ mr r31, r4
/* 801352D4 00132234 7C 7E 1B 78 */ mr r30, r3
/* 801352D8 00132238 7C B9 2B 78 */ mr r25, r5
/* 801352DC 0013223C 38 80 00 05 */ li r4, 5
/* 801352E0 00132240 38 7F 00 04 */ addi r3, r31, 4
/* 801352E4 00132244 4B FF C1 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801352E8 00132248 7C 7D 1B 78 */ mr r29, r3
/* 801352EC 0013224C 7F E3 FB 78 */ mr r3, r31
/* 801352F0 00132250 48 00 51 65 */ bl GetPASDatabase__15CBodyControllerCFv
/* 801352F4 00132254 83 9F 02 EC */ lwz r28, 0x2ec(r31)
/* 801352F8 00132258 7C 7A 1B 78 */ mr r26, r3
/* 801352FC 0013225C 83 7D 00 08 */ lwz r27, 8(r29)
/* 80135300 00132260 38 61 00 48 */ addi r3, r1, 0x48
/* 80135304 00132264 48 1A DD 79 */ bl NoParameter__12CPASAnimParmFv
/* 80135308 00132268 38 61 00 50 */ addi r3, r1, 0x50
/* 8013530C 0013226C 48 1A DD 71 */ bl NoParameter__12CPASAnimParmFv
/* 80135310 00132270 38 61 00 58 */ addi r3, r1, 0x58
/* 80135314 00132274 48 1A DD 69 */ bl NoParameter__12CPASAnimParmFv
/* 80135318 00132278 38 61 00 60 */ addi r3, r1, 0x60
/* 8013531C 0013227C 48 1A DD 61 */ bl NoParameter__12CPASAnimParmFv
/* 80135320 00132280 38 61 00 68 */ addi r3, r1, 0x68
/* 80135324 00132284 48 1A DD 59 */ bl NoParameter__12CPASAnimParmFv
/* 80135328 00132288 38 61 00 70 */ addi r3, r1, 0x70
/* 8013532C 0013228C 48 1A DD 51 */ bl NoParameter__12CPASAnimParmFv
/* 80135330 00132290 7F 84 E3 78 */ mr r4, r28
/* 80135334 00132294 38 61 00 78 */ addi r3, r1, 0x78
/* 80135338 00132298 48 1A DC 4D */ bl FromEnum__12CPASAnimParmFi
/* 8013533C 0013229C 7F 64 DB 78 */ mr r4, r27
/* 80135340 001322A0 38 61 00 80 */ addi r3, r1, 0x80
/* 80135344 001322A4 48 1A DC 41 */ bl FromEnum__12CPASAnimParmFi
/* 80135348 001322A8 38 61 00 50 */ addi r3, r1, 0x50
/* 8013534C 001322AC 38 01 00 48 */ addi r0, r1, 0x48
/* 80135350 001322B0 90 61 00 08 */ stw r3, 8(r1)
/* 80135354 001322B4 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80135358 001322B8 38 A1 00 80 */ addi r5, r1, 0x80
/* 8013535C 001322BC 38 C1 00 78 */ addi r6, r1, 0x78
/* 80135360 001322C0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80135364 001322C4 38 E1 00 70 */ addi r7, r1, 0x70
/* 80135368 001322C8 39 01 00 68 */ addi r8, r1, 0x68
/* 8013536C 001322CC 39 21 00 60 */ addi r9, r1, 0x60
/* 80135370 001322D0 39 41 00 58 */ addi r10, r1, 0x58
/* 80135374 001322D4 38 80 00 07 */ li r4, 7
/* 80135378 001322D8 4B F4 7F 4D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013537C 001322DC 80 D9 09 00 */ lwz r6, 0x900(r25)
/* 80135380 001322E0 7F 44 D3 78 */ mr r4, r26
/* 80135384 001322E4 38 61 00 40 */ addi r3, r1, 0x40
/* 80135388 001322E8 38 A1 00 C0 */ addi r5, r1, 0xc0
/* 8013538C 001322EC 38 E0 FF FF */ li r7, -1
/* 80135390 001322F0 48 1A FC D1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80135394 001322F4 80 61 00 44 */ lwz r3, 0x44(r1)
/* 80135398 001322F8 38 00 00 00 */ li r0, 0
/* 8013539C 001322FC C0 02 99 A4 */ lfs f0, lbl_805AB6C4@sda21(r2)
/* 801353A0 00132300 38 A0 FF FF */ li r5, -1
/* 801353A4 00132304 38 E0 00 01 */ li r7, 1
/* 801353A8 00132308 90 61 00 98 */ stw r3, 0x98(r1)
/* 801353AC 0013230C 7F E3 FB 78 */ mr r3, r31
/* 801353B0 00132310 38 81 00 98 */ addi r4, r1, 0x98
/* 801353B4 00132314 90 A1 00 9C */ stw r5, 0x9c(r1)
/* 801353B8 00132318 38 A0 00 00 */ li r5, 0
/* 801353BC 0013231C 38 C0 00 00 */ li r6, 0
/* 801353C0 00132320 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 801353C4 00132324 98 E1 00 A4 */ stb r7, 0xa4(r1)
/* 801353C8 00132328 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 801353CC 0013232C 90 01 00 AC */ stw r0, 0xac(r1)
/* 801353D0 00132330 98 01 00 B0 */ stb r0, 0xb0(r1)
/* 801353D4 00132334 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 801353D8 00132338 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 801353DC 0013233C 90 01 00 BC */ stw r0, 0xbc(r1)
/* 801353E0 00132340 48 00 55 3D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 801353E4 00132344 88 1D 00 18 */ lbz r0, 0x18(r29)
/* 801353E8 00132348 28 00 00 00 */ cmplwi r0, 0
/* 801353EC 0013234C 41 82 01 04 */ beq lbl_801354F0
/* 801353F0 00132350 C0 1D 00 0C */ lfs f0, 0xc(r29)
/* 801353F4 00132354 38 61 00 38 */ addi r3, r1, 0x38
/* 801353F8 00132358 38 C1 00 30 */ addi r6, r1, 0x30
/* 801353FC 0013235C 38 A0 00 0A */ li r5, 0xa
/* 80135400 00132360 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 80135404 00132364 C0 1D 00 10 */ lfs f0, 0x10(r29)
/* 80135408 00132368 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 8013540C 0013236C C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 80135410 00132370 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 80135414 00132374 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13)
/* 80135418 00132378 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13)
/* 8013541C 0013237C D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80135420 00132380 90 01 00 34 */ stw r0, 0x34(r1)
/* 80135424 00132384 80 9F 00 00 */ lwz r4, 0(r31)
/* 80135428 00132388 80 84 00 64 */ lwz r4, 0x64(r4)
/* 8013542C 0013238C 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80135430 00132390 4B EF 5B A9 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime
/* 80135434 00132394 C0 21 00 38 */ lfs f1, 0x38(r1)
/* 80135438 00132398 38 61 00 90 */ addi r3, r1, 0x90
/* 8013543C 0013239C 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 80135440 001323A0 38 81 00 28 */ addi r4, r1, 0x28
/* 80135444 001323A4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13)
/* 80135448 001323A8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13)
/* 8013544C 001323AC D0 21 00 90 */ stfs f1, 0x90(r1)
/* 80135450 001323B0 90 A1 00 94 */ stw r5, 0x94(r1)
/* 80135454 001323B4 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80135458 001323B8 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8013545C 001323BC 48 21 36 79 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime
/* 80135460 001323C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80135464 001323C4 41 82 00 0C */ beq lbl_80135470
/* 80135468 001323C8 C0 01 00 90 */ lfs f0, 0x90(r1)
/* 8013546C 001323CC 48 00 00 08 */ b lbl_80135474
lbl_80135470:
/* 80135470 001323D0 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2)
lbl_80135474:
/* 80135474 001323D4 D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 80135478 001323D8 38 61 00 20 */ addi r3, r1, 0x20
/* 8013547C 001323DC 38 C1 00 18 */ addi r6, r1, 0x18
/* 80135480 001323E0 38 A0 00 03 */ li r5, 3
/* 80135484 001323E4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13)
/* 80135488 001323E8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13)
/* 8013548C 001323EC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80135490 001323F0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80135494 001323F4 80 9F 00 00 */ lwz r4, 0(r31)
/* 80135498 001323F8 80 84 00 64 */ lwz r4, 0x64(r4)
/* 8013549C 001323FC 80 84 00 10 */ lwz r4, 0x10(r4)
/* 801354A0 00132400 4B EF 5B 39 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime
/* 801354A4 00132404 C0 21 00 20 */ lfs f1, 0x20(r1)
/* 801354A8 00132408 38 61 00 88 */ addi r3, r1, 0x88
/* 801354AC 0013240C 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 801354B0 00132410 38 81 00 10 */ addi r4, r1, 0x10
/* 801354B4 00132414 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13)
/* 801354B8 00132418 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13)
/* 801354BC 0013241C D0 21 00 88 */ stfs f1, 0x88(r1)
/* 801354C0 00132420 90 A1 00 8C */ stw r5, 0x8c(r1)
/* 801354C4 00132424 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 801354C8 00132428 90 01 00 14 */ stw r0, 0x14(r1)
/* 801354CC 0013242C 48 21 36 09 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime
/* 801354D0 00132430 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801354D4 00132434 41 82 00 0C */ beq lbl_801354E0
/* 801354D8 00132438 C0 21 00 88 */ lfs f1, 0x88(r1)
/* 801354DC 0013243C 48 00 00 0C */ b lbl_801354E8
lbl_801354E0:
/* 801354E0 00132440 7F E3 FB 78 */ mr r3, r31
/* 801354E4 00132444 48 00 53 D5 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
lbl_801354E8:
/* 801354E8 00132448 D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 801354EC 0013244C 48 00 00 2C */ b lbl_80135518
lbl_801354F0:
/* 801354F0 00132450 3C 60 80 5A */ lis r3, skZero3f@ha
/* 801354F4 00132454 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3)
/* 801354F8 00132458 C0 02 99 A8 */ lfs f0, lbl_805AB6C8@sda21(r2)
/* 801354FC 0013245C D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 80135500 00132460 C0 23 00 04 */ lfs f1, 4(r3)
/* 80135504 00132464 D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 80135508 00132468 C0 23 00 08 */ lfs f1, 8(r3)
/* 8013550C 0013246C D0 3E 00 28 */ stfs f1, 0x28(r30)
/* 80135510 00132470 D0 1E 00 30 */ stfs f0, 0x30(r30)
/* 80135514 00132474 D0 1E 00 2C */ stfs f0, 0x2c(r30)
lbl_80135518:
/* 80135518 00132478 38 00 00 05 */ li r0, 5
/* 8013551C 0013247C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2)
/* 80135520 00132480 90 1E 00 04 */ stw r0, 4(r30)
/* 80135524 00132484 34 A1 00 C4 */ addic. r5, r1, 0xc4
/* 80135528 00132488 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 8013552C 0013248C 41 82 00 58 */ beq lbl_80135584
/* 80135530 00132490 80 C5 00 00 */ lwz r6, 0(r5)
/* 80135534 00132494 38 60 00 00 */ li r3, 0
/* 80135538 00132498 2C 06 00 00 */ cmpwi r6, 0
/* 8013553C 0013249C 40 81 00 40 */ ble lbl_8013557C
/* 80135540 001324A0 2C 06 00 08 */ cmpwi r6, 8
/* 80135544 001324A4 38 86 FF F8 */ addi r4, r6, -8
/* 80135548 001324A8 40 81 00 20 */ ble lbl_80135568
/* 8013554C 001324AC 38 04 00 07 */ addi r0, r4, 7
/* 80135550 001324B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80135554 001324B4 7C 09 03 A6 */ mtctr r0
/* 80135558 001324B8 2C 04 00 00 */ cmpwi r4, 0
/* 8013555C 001324BC 40 81 00 0C */ ble lbl_80135568
lbl_80135560:
/* 80135560 001324C0 38 63 00 08 */ addi r3, r3, 8
/* 80135564 001324C4 42 00 FF FC */ bdnz lbl_80135560
lbl_80135568:
/* 80135568 001324C8 7C 03 30 50 */ subf r0, r3, r6
/* 8013556C 001324CC 7C 09 03 A6 */ mtctr r0
/* 80135570 001324D0 7C 03 30 00 */ cmpw r3, r6
/* 80135574 001324D4 40 80 00 08 */ bge lbl_8013557C
lbl_80135578:
/* 80135578 001324D8 42 00 00 00 */ bdnz lbl_80135578
lbl_8013557C:
/* 8013557C 001324DC 38 00 00 00 */ li r0, 0
/* 80135580 001324E0 90 05 00 00 */ stw r0, 0(r5)
lbl_80135584:
/* 80135584 001324E4 BB 21 01 14 */ lmw r25, 0x114(r1)
/* 80135588 001324E8 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8013558C 001324EC 7C 08 03 A6 */ mtlr r0
/* 80135590 001324F0 38 21 01 30 */ addi r1, r1, 0x130
/* 80135594 001324F4 4E 80 00 20 */ blr
.global __ct__9CBSAttackFv
__ct__9CBSAttackFv:
/* 80135598 001324F8 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 8013559C 001324FC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801355A0 00132500 38 05 13 18 */ addi r0, r5, lbl_803E1318@l
/* 801355A4 00132504 3C C0 80 5A */ lis r6, skZero3f@ha
/* 801355A8 00132508 3C 80 80 3E */ lis r4, lbl_803E1370@ha
/* 801355AC 0013250C 90 03 00 00 */ stw r0, 0(r3)
/* 801355B0 00132510 38 04 13 70 */ addi r0, r4, lbl_803E1370@l
/* 801355B4 00132514 39 40 FF FF */ li r10, -1
/* 801355B8 00132518 90 03 00 00 */ stw r0, 0(r3)
/* 801355BC 0013251C 3C 80 80 3E */ lis r4, lbl_803DAA08@ha
/* 801355C0 00132520 39 26 66 A0 */ addi r9, r6, skZero3f@l
/* 801355C4 00132524 3C A0 80 3E */ lis r5, lbl_803DAA68@ha
/* 801355C8 00132528 91 43 00 04 */ stw r10, 4(r3)
/* 801355CC 0013252C 38 04 AA 08 */ addi r0, r4, lbl_803DAA08@l
/* 801355D0 00132530 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l
/* 801355D4 00132534 38 A0 00 11 */ li r5, 0x11
/* 801355D8 00132538 81 09 00 00 */ lwz r8, 0(r9)
/* 801355DC 0013253C 80 E9 00 04 */ lwz r7, 4(r9)
/* 801355E0 00132540 80 89 00 08 */ lwz r4, 8(r9)
/* 801355E4 00132544 91 01 00 08 */ stw r8, 8(r1)
/* 801355E8 00132548 C0 22 99 A8 */ lfs f1, lbl_805AB6C8@sda21(r2)
/* 801355EC 0013254C 90 C3 00 08 */ stw r6, 8(r3)
/* 801355F0 00132550 C0 41 00 08 */ lfs f2, 8(r1)
/* 801355F4 00132554 90 A3 00 0C */ stw r5, 0xc(r3)
/* 801355F8 00132558 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2)
/* 801355FC 0013255C 90 03 00 08 */ stw r0, 8(r3)
/* 80135600 00132560 90 E1 00 0C */ stw r7, 0xc(r1)
/* 80135604 00132564 91 43 00 10 */ stw r10, 0x10(r3)
/* 80135608 00132568 C0 61 00 0C */ lfs f3, 0xc(r1)
/* 8013560C 0013256C D0 43 00 14 */ stfs f2, 0x14(r3)
/* 80135610 00132570 90 81 00 10 */ stw r4, 0x10(r1)
/* 80135614 00132574 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 80135618 00132578 D0 63 00 18 */ stfs f3, 0x18(r3)
/* 8013561C 0013257C D0 43 00 1C */ stfs f2, 0x1c(r3)
/* 80135620 00132580 C0 49 00 00 */ lfs f2, 0(r9)
/* 80135624 00132584 D0 43 00 20 */ stfs f2, 0x20(r3)
/* 80135628 00132588 C0 49 00 04 */ lfs f2, 4(r9)
/* 8013562C 0013258C D0 43 00 24 */ stfs f2, 0x24(r3)
/* 80135630 00132590 C0 49 00 08 */ lfs f2, 8(r9)
/* 80135634 00132594 D0 43 00 28 */ stfs f2, 0x28(r3)
/* 80135638 00132598 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 8013563C 0013259C D0 23 00 30 */ stfs f1, 0x30(r3)
/* 80135640 001325A0 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80135644 001325A4 38 21 00 20 */ addi r1, r1, 0x20
/* 80135648 001325A8 4E 80 00 20 */ blr

View File

@ -0,0 +1,223 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__6CBSDieFv
__dt__6CBSDieFv:
/* 8013564C 001325AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80135650 001325B0 7C 08 02 A6 */ mflr r0
/* 80135654 001325B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80135658 001325B8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013565C 001325BC 7C 7F 1B 79 */ or. r31, r3, r3
/* 80135660 001325C0 41 82 00 30 */ beq lbl_80135690
/* 80135664 001325C4 3C 60 80 3E */ lis r3, lbl_803E13A8@ha
/* 80135668 001325C8 38 03 13 A8 */ addi r0, r3, lbl_803E13A8@l
/* 8013566C 001325CC 90 1F 00 00 */ stw r0, 0(r31)
/* 80135670 001325D0 41 82 00 10 */ beq lbl_80135680
/* 80135674 001325D4 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80135678 001325D8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8013567C 001325DC 90 1F 00 00 */ stw r0, 0(r31)
lbl_80135680:
/* 80135680 001325E0 7C 80 07 35 */ extsh. r0, r4
/* 80135684 001325E4 40 81 00 0C */ ble lbl_80135690
/* 80135688 001325E8 7F E3 FB 78 */ mr r3, r31
/* 8013568C 001325EC 48 1E 02 A5 */ bl Free__7CMemoryFPCv
lbl_80135690:
/* 80135690 001325F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135694 001325F4 7F E3 FB 78 */ mr r3, r31
/* 80135698 001325F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013569C 001325FC 7C 08 03 A6 */ mtlr r0
/* 801356A0 00132600 38 21 00 10 */ addi r1, r1, 0x10
/* 801356A4 00132604 4E 80 00 20 */ blr
.global IsDead__6CBSDieCFv
IsDead__6CBSDieCFv:
/* 801356A8 00132608 88 63 00 08 */ lbz r3, 8(r3)
/* 801356AC 0013260C 4E 80 00 20 */ blr
.global IsDying__6CBSDieCFv
IsDying__6CBSDieCFv:
/* 801356B0 00132610 38 60 00 01 */ li r3, 1
/* 801356B4 00132614 4E 80 00 20 */ blr
.global Shutdown__6CBSDieFR15CBodyController
Shutdown__6CBSDieFR15CBodyController:
/* 801356B8 00132618 4E 80 00 20 */ blr
.global UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager
UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager:
/* 801356BC 0013261C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801356C0 00132620 7C 08 02 A6 */ mflr r0
/* 801356C4 00132624 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2)
/* 801356C8 00132628 90 01 00 14 */ stw r0, 0x14(r1)
/* 801356CC 0013262C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801356D0 00132630 7C 7F 1B 78 */ mr r31, r3
/* 801356D4 00132634 C0 43 00 04 */ lfs f2, 4(r3)
/* 801356D8 00132638 EC 22 08 28 */ fsubs f1, f2, f1
/* 801356DC 0013263C D0 23 00 04 */ stfs f1, 4(r3)
/* 801356E0 00132640 C0 23 00 04 */ lfs f1, 4(r3)
/* 801356E4 00132644 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801356E8 00132648 4C 40 13 82 */ cror 2, 0, 2
/* 801356EC 0013264C 40 82 00 18 */ bne lbl_80135704
/* 801356F0 00132650 7C 83 23 78 */ mr r3, r4
/* 801356F4 00132654 38 80 00 00 */ li r4, 0
/* 801356F8 00132658 48 00 52 91 */ bl EnableAnimation__15CBodyControllerFb
/* 801356FC 0013265C 38 00 00 01 */ li r0, 1
/* 80135700 00132660 98 1F 00 08 */ stb r0, 8(r31)
lbl_80135704:
/* 80135704 00132664 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135708 00132668 38 60 FF FF */ li r3, -1
/* 8013570C 0013266C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80135710 00132670 7C 08 03 A6 */ mtlr r0
/* 80135714 00132674 38 21 00 10 */ addi r1, r1, 0x10
/* 80135718 00132678 4E 80 00 20 */ blr
.global Start__6CBSDieFR15CBodyControllerR13CStateManager
Start__6CBSDieFR15CBodyControllerR13CStateManager:
/* 8013571C 0013267C 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80135720 00132680 7C 08 02 A6 */ mflr r0
/* 80135724 00132684 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80135728 00132688 BF 41 00 C8 */ stmw r26, 0xc8(r1)
/* 8013572C 0013268C 7C 9F 23 78 */ mr r31, r4
/* 80135730 00132690 7C 7E 1B 78 */ mr r30, r3
/* 80135734 00132694 7C BA 2B 78 */ mr r26, r5
/* 80135738 00132698 7F E3 FB 78 */ mr r3, r31
/* 8013573C 0013269C 48 00 4D 19 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80135740 001326A0 7C 60 1B 78 */ mr r0, r3
/* 80135744 001326A4 7F E3 FB 78 */ mr r3, r31
/* 80135748 001326A8 7C 1D 03 78 */ mr r29, r0
/* 8013574C 001326AC 48 00 54 61 */ bl GetFallState__15CBodyControllerCFv
/* 80135750 001326B0 88 1F 03 00 */ lbz r0, 0x300(r31)
/* 80135754 001326B4 7C 7C 1B 78 */ mr r28, r3
/* 80135758 001326B8 3B 60 00 01 */ li r27, 1
/* 8013575C 001326BC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80135760 001326C0 41 82 01 60 */ beq lbl_801358C0
/* 80135764 001326C4 38 61 00 18 */ addi r3, r1, 0x18
/* 80135768 001326C8 48 1A D9 15 */ bl NoParameter__12CPASAnimParmFv
/* 8013576C 001326CC 38 61 00 20 */ addi r3, r1, 0x20
/* 80135770 001326D0 48 1A D9 0D */ bl NoParameter__12CPASAnimParmFv
/* 80135774 001326D4 38 61 00 28 */ addi r3, r1, 0x28
/* 80135778 001326D8 48 1A D9 05 */ bl NoParameter__12CPASAnimParmFv
/* 8013577C 001326DC 38 61 00 30 */ addi r3, r1, 0x30
/* 80135780 001326E0 48 1A D8 FD */ bl NoParameter__12CPASAnimParmFv
/* 80135784 001326E4 38 61 00 38 */ addi r3, r1, 0x38
/* 80135788 001326E8 48 1A D8 F5 */ bl NoParameter__12CPASAnimParmFv
/* 8013578C 001326EC 38 61 00 40 */ addi r3, r1, 0x40
/* 80135790 001326F0 48 1A D8 ED */ bl NoParameter__12CPASAnimParmFv
/* 80135794 001326F4 38 61 00 48 */ addi r3, r1, 0x48
/* 80135798 001326F8 48 1A D8 E5 */ bl NoParameter__12CPASAnimParmFv
/* 8013579C 001326FC 7F 84 E3 78 */ mr r4, r28
/* 801357A0 00132700 38 61 00 50 */ addi r3, r1, 0x50
/* 801357A4 00132704 48 1A D7 E1 */ bl FromEnum__12CPASAnimParmFi
/* 801357A8 00132708 38 61 00 20 */ addi r3, r1, 0x20
/* 801357AC 0013270C 38 01 00 18 */ addi r0, r1, 0x18
/* 801357B0 00132710 90 61 00 08 */ stw r3, 8(r1)
/* 801357B4 00132714 38 61 00 80 */ addi r3, r1, 0x80
/* 801357B8 00132718 38 A1 00 50 */ addi r5, r1, 0x50
/* 801357BC 0013271C 38 C1 00 48 */ addi r6, r1, 0x48
/* 801357C0 00132720 90 01 00 0C */ stw r0, 0xc(r1)
/* 801357C4 00132724 38 E1 00 40 */ addi r7, r1, 0x40
/* 801357C8 00132728 39 01 00 38 */ addi r8, r1, 0x38
/* 801357CC 0013272C 39 21 00 30 */ addi r9, r1, 0x30
/* 801357D0 00132730 39 41 00 28 */ addi r10, r1, 0x28
/* 801357D4 00132734 38 80 00 04 */ li r4, 4
/* 801357D8 00132738 4B F4 7A ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 801357DC 0013273C 80 DA 09 00 */ lwz r6, 0x900(r26)
/* 801357E0 00132740 7F A4 EB 78 */ mr r4, r29
/* 801357E4 00132744 38 61 00 10 */ addi r3, r1, 0x10
/* 801357E8 00132748 38 A1 00 80 */ addi r5, r1, 0x80
/* 801357EC 0013274C 38 E0 FF FF */ li r7, -1
/* 801357F0 00132750 48 1A F8 71 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 801357F4 00132754 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 801357F8 00132758 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2)
/* 801357FC 0013275C 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80135800 00132760 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80135804 00132764 40 81 00 60 */ ble lbl_80135864
/* 80135808 00132768 C0 02 99 B4 */ lfs f0, lbl_805AB6D4@sda21(r2)
/* 8013580C 0013276C 38 00 00 00 */ li r0, 0
/* 80135810 00132770 38 C0 FF FF */ li r6, -1
/* 80135814 00132774 38 E0 00 01 */ li r7, 1
/* 80135818 00132778 90 61 00 58 */ stw r3, 0x58(r1)
/* 8013581C 0013277C 7F E3 FB 78 */ mr r3, r31
/* 80135820 00132780 38 81 00 58 */ addi r4, r1, 0x58
/* 80135824 00132784 38 A0 00 00 */ li r5, 0
/* 80135828 00132788 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 8013582C 0013278C 38 C0 00 00 */ li r6, 0
/* 80135830 00132790 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80135834 00132794 98 E1 00 64 */ stb r7, 0x64(r1)
/* 80135838 00132798 90 01 00 68 */ stw r0, 0x68(r1)
/* 8013583C 0013279C 90 01 00 6C */ stw r0, 0x6c(r1)
/* 80135840 001327A0 98 01 00 70 */ stb r0, 0x70(r1)
/* 80135844 001327A4 90 01 00 74 */ stw r0, 0x74(r1)
/* 80135848 001327A8 90 01 00 78 */ stw r0, 0x78(r1)
/* 8013584C 001327AC 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80135850 001327B0 48 00 50 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80135854 001327B4 7F E3 FB 78 */ mr r3, r31
/* 80135858 001327B8 48 00 50 61 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 8013585C 001327BC D0 3E 00 04 */ stfs f1, 4(r30)
/* 80135860 001327C0 3B 60 00 00 */ li r27, 0
lbl_80135864:
/* 80135864 001327C4 34 A1 00 84 */ addic. r5, r1, 0x84
/* 80135868 001327C8 41 82 00 58 */ beq lbl_801358C0
/* 8013586C 001327CC 80 C5 00 00 */ lwz r6, 0(r5)
/* 80135870 001327D0 38 60 00 00 */ li r3, 0
/* 80135874 001327D4 2C 06 00 00 */ cmpwi r6, 0
/* 80135878 001327D8 40 81 00 40 */ ble lbl_801358B8
/* 8013587C 001327DC 2C 06 00 08 */ cmpwi r6, 8
/* 80135880 001327E0 38 86 FF F8 */ addi r4, r6, -8
/* 80135884 001327E4 40 81 00 20 */ ble lbl_801358A4
/* 80135888 001327E8 38 04 00 07 */ addi r0, r4, 7
/* 8013588C 001327EC 54 00 E8 FE */ srwi r0, r0, 3
/* 80135890 001327F0 7C 09 03 A6 */ mtctr r0
/* 80135894 001327F4 2C 04 00 00 */ cmpwi r4, 0
/* 80135898 001327F8 40 81 00 0C */ ble lbl_801358A4
lbl_8013589C:
/* 8013589C 001327FC 38 63 00 08 */ addi r3, r3, 8
/* 801358A0 00132800 42 00 FF FC */ bdnz lbl_8013589C
lbl_801358A4:
/* 801358A4 00132804 7C 03 30 50 */ subf r0, r3, r6
/* 801358A8 00132808 7C 09 03 A6 */ mtctr r0
/* 801358AC 0013280C 7C 03 30 00 */ cmpw r3, r6
/* 801358B0 00132810 40 80 00 08 */ bge lbl_801358B8
lbl_801358B4:
/* 801358B4 00132814 42 00 00 00 */ bdnz lbl_801358B4
lbl_801358B8:
/* 801358B8 00132818 38 00 00 00 */ li r0, 0
/* 801358BC 0013281C 90 05 00 00 */ stw r0, 0(r5)
lbl_801358C0:
/* 801358C0 00132820 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 801358C4 00132824 41 82 00 2C */ beq lbl_801358F0
/* 801358C8 00132828 7F E3 FB 78 */ mr r3, r31
/* 801358CC 0013282C 38 80 00 00 */ li r4, 0
/* 801358D0 00132830 48 00 50 B9 */ bl EnableAnimation__15CBodyControllerFb
/* 801358D4 00132834 88 1F 03 00 */ lbz r0, 0x300(r31)
/* 801358D8 00132838 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 801358DC 0013283C 41 82 00 0C */ beq lbl_801358E8
/* 801358E0 00132840 C0 02 99 B8 */ lfs f0, lbl_805AB6D8@sda21(r2)
/* 801358E4 00132844 48 00 00 08 */ b lbl_801358EC
lbl_801358E8:
/* 801358E8 00132848 C0 02 99 BC */ lfs f0, lbl_805AB6DC@sda21(r2)
lbl_801358EC:
/* 801358EC 0013284C D0 1E 00 04 */ stfs f0, 4(r30)
lbl_801358F0:
/* 801358F0 00132850 38 00 00 00 */ li r0, 0
/* 801358F4 00132854 98 1E 00 08 */ stb r0, 8(r30)
/* 801358F8 00132858 BB 41 00 C8 */ lmw r26, 0xc8(r1)
/* 801358FC 0013285C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80135900 00132860 7C 08 03 A6 */ mtlr r0
/* 80135904 00132864 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80135908 00132868 4E 80 00 20 */ blr
.global __ct__6CBSDieFv
__ct__6CBSDieFv:
/* 8013590C 0013286C 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 80135910 00132870 3C 80 80 3E */ lis r4, lbl_803E13A8@ha
/* 80135914 00132874 38 05 13 18 */ addi r0, r5, lbl_803E1318@l
/* 80135918 00132878 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2)
/* 8013591C 0013287C 90 03 00 00 */ stw r0, 0(r3)
/* 80135920 00132880 38 84 13 A8 */ addi r4, r4, lbl_803E13A8@l
/* 80135924 00132884 38 00 00 00 */ li r0, 0
/* 80135928 00132888 90 83 00 00 */ stw r4, 0(r3)
/* 8013592C 0013288C D0 03 00 04 */ stfs f0, 4(r3)
/* 80135930 00132890 98 03 00 08 */ stb r0, 8(r3)
/* 80135934 00132894 4E 80 00 20 */ blr

View File

@ -0,0 +1,380 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__7CBSFallFv
__dt__7CBSFallFv:
/* 80135938 00132898 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013593C 0013289C 7C 08 02 A6 */ mflr r0
/* 80135940 001328A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80135944 001328A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80135948 001328A8 7C 7F 1B 79 */ or. r31, r3, r3
/* 8013594C 001328AC 41 82 00 30 */ beq lbl_8013597C
/* 80135950 001328B0 3C 60 80 3E */ lis r3, lbl_803E13E0@ha
/* 80135954 001328B4 38 03 13 E0 */ addi r0, r3, lbl_803E13E0@l
/* 80135958 001328B8 90 1F 00 00 */ stw r0, 0(r31)
/* 8013595C 001328BC 41 82 00 10 */ beq lbl_8013596C
/* 80135960 001328C0 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80135964 001328C4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80135968 001328C8 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013596C:
/* 8013596C 001328CC 7C 80 07 35 */ extsh. r0, r4
/* 80135970 001328D0 40 81 00 0C */ ble lbl_8013597C
/* 80135974 001328D4 7F E3 FB 78 */ mr r3, r31
/* 80135978 001328D8 48 1D FF B9 */ bl Free__7CMemoryFPCv
lbl_8013597C:
/* 8013597C 001328DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135980 001328E0 7F E3 FB 78 */ mr r3, r31
/* 80135984 001328E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80135988 001328E8 7C 08 03 A6 */ mtlr r0
/* 8013598C 001328EC 38 21 00 10 */ addi r1, r1, 0x10
/* 80135990 001328F0 4E 80 00 20 */ blr
.global GetBodyStateTransition__7CBSFallFfR15CBodyController
GetBodyStateTransition__7CBSFallFfR15CBodyController:
/* 80135994 001328F4 88 04 03 00 */ lbz r0, 0x300(r4)
/* 80135998 001328F8 38 60 FF FF */ li r3, -1
/* 8013599C 001328FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801359A0 00132900 4D 82 00 20 */ beqlr
/* 801359A4 00132904 38 60 00 02 */ li r3, 2
/* 801359A8 00132908 4E 80 00 20 */ blr
.global Shutdown__7CBSFallFR15CBodyController
Shutdown__7CBSFallFR15CBodyController:
/* 801359AC 0013290C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801359B0 00132910 7C 08 02 A6 */ mflr r0
/* 801359B4 00132914 90 01 00 14 */ stw r0, 0x14(r1)
/* 801359B8 00132918 7C 80 23 78 */ mr r0, r4
/* 801359BC 0013291C 80 83 00 0C */ lwz r4, 0xc(r3)
/* 801359C0 00132920 7C 03 03 78 */ mr r3, r0
/* 801359C4 00132924 48 00 51 E1 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState
/* 801359C8 00132928 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801359CC 0013292C 7C 08 03 A6 */ mtlr r0
/* 801359D0 00132930 38 21 00 10 */ addi r1, r1, 0x10
/* 801359D4 00132934 4E 80 00 20 */ blr
.global UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager
UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager:
/* 801359D8 00132938 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801359DC 0013293C 7C 08 02 A6 */ mflr r0
/* 801359E0 00132940 90 01 00 44 */ stw r0, 0x44(r1)
/* 801359E4 00132944 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801359E8 00132948 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 801359EC 0013294C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801359F0 00132950 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801359F4 00132954 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801359F8 00132958 FF E0 08 90 */ fmr f31, f1
/* 801359FC 0013295C 7C 7D 1B 78 */ mr r29, r3
/* 80135A00 00132960 7C 9E 23 78 */ mr r30, r4
/* 80135A04 00132964 4B FF FF 91 */ bl GetBodyStateTransition__7CBSFallFfR15CBodyController
/* 80135A08 00132968 7C 7F 1B 78 */ mr r31, r3
/* 80135A0C 0013296C 2C 1F FF FF */ cmpwi r31, -1
/* 80135A10 00132970 40 82 00 44 */ bne lbl_80135A54
/* 80135A14 00132974 C0 3D 00 08 */ lfs f1, 8(r29)
/* 80135A18 00132978 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135A1C 0013297C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80135A20 00132980 40 81 00 34 */ ble lbl_80135A54
/* 80135A24 00132984 C0 1D 00 04 */ lfs f0, 4(r29)
/* 80135A28 00132988 38 61 00 0C */ addi r3, r1, 0xc
/* 80135A2C 0013298C 38 81 00 08 */ addi r4, r1, 8
/* 80135A30 00132990 EC 00 07 F2 */ fmuls f0, f0, f31
/* 80135A34 00132994 D0 01 00 08 */ stfs f0, 8(r1)
/* 80135A38 00132998 48 1D B6 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 80135A3C 0013299C 7F C3 F3 78 */ mr r3, r30
/* 80135A40 001329A0 38 81 00 0C */ addi r4, r1, 0xc
/* 80135A44 001329A4 48 00 4D C5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
/* 80135A48 001329A8 C0 1D 00 08 */ lfs f0, 8(r29)
/* 80135A4C 001329AC EC 00 F8 28 */ fsubs f0, f0, f31
/* 80135A50 001329B0 D0 1D 00 08 */ stfs f0, 8(r29)
lbl_80135A54:
/* 80135A54 001329B4 7F E3 FB 78 */ mr r3, r31
/* 80135A58 001329B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80135A5C 001329BC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80135A60 001329C0 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80135A64 001329C4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80135A68 001329C8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80135A6C 001329CC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80135A70 001329D0 7C 08 03 A6 */ mtlr r0
/* 80135A74 001329D4 38 21 00 40 */ addi r1, r1, 0x40
/* 80135A78 001329D8 4E 80 00 20 */ blr
.global Start__7CBSFallFR15CBodyControllerR13CStateManager
Start__7CBSFallFR15CBodyControllerR13CStateManager:
/* 80135A7C 001329DC 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 80135A80 001329E0 7C 08 02 A6 */ mflr r0
/* 80135A84 001329E4 90 01 01 64 */ stw r0, 0x164(r1)
/* 80135A88 001329E8 DB E1 01 50 */ stfd f31, 0x150(r1)
/* 80135A8C 001329EC F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0
/* 80135A90 001329F0 BF 61 01 3C */ stmw r27, 0x13c(r1)
/* 80135A94 001329F4 7C 9E 23 78 */ mr r30, r4
/* 80135A98 001329F8 7C 7D 1B 78 */ mr r29, r3
/* 80135A9C 001329FC 7C BB 2B 78 */ mr r27, r5
/* 80135AA0 00132A00 38 80 00 03 */ li r4, 3
/* 80135AA4 00132A04 38 7E 00 04 */ addi r3, r30, 4
/* 80135AA8 00132A08 4B FF B9 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135AAC 00132A0C 80 9E 00 00 */ lwz r4, 0(r30)
/* 80135AB0 00132A10 7C 7F 1B 78 */ mr r31, r3
/* 80135AB4 00132A14 38 61 00 90 */ addi r3, r1, 0x90
/* 80135AB8 00132A18 38 84 00 34 */ addi r4, r4, 0x34
/* 80135ABC 00132A1C 38 BF 00 08 */ addi r5, r31, 8
/* 80135AC0 00132A20 48 1D CF 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80135AC4 00132A24 C0 21 00 94 */ lfs f1, 0x94(r1)
/* 80135AC8 00132A28 C0 41 00 90 */ lfs f2, 0x90(r1)
/* 80135ACC 00132A2C 48 25 F1 A1 */ bl atan2
/* 80135AD0 00132A30 FC 80 08 18 */ frsp f4, f1
/* 80135AD4 00132A34 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2)
/* 80135AD8 00132A38 3C 00 43 30 */ lis r0, 0x4330
/* 80135ADC 00132A3C C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2)
/* 80135AE0 00132A40 90 01 01 18 */ stw r0, 0x118(r1)
/* 80135AE4 00132A44 EC 44 00 32 */ fmuls f2, f4, f0
/* 80135AE8 00132A48 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2)
/* 80135AEC 00132A4C C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135AF0 00132A50 FC 40 10 1E */ fctiwz f2, f2
/* 80135AF4 00132A54 D8 41 01 10 */ stfd f2, 0x110(r1)
/* 80135AF8 00132A58 80 01 01 14 */ lwz r0, 0x114(r1)
/* 80135AFC 00132A5C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80135B00 00132A60 90 01 01 1C */ stw r0, 0x11c(r1)
/* 80135B04 00132A64 C8 41 01 18 */ lfd f2, 0x118(r1)
/* 80135B08 00132A68 EC 42 18 28 */ fsubs f2, f2, f3
/* 80135B0C 00132A6C EF E2 20 7C */ fnmsubs f31, f2, f1, f4
/* 80135B10 00132A70 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80135B14 00132A74 40 80 00 08 */ bge lbl_80135B1C
/* 80135B18 00132A78 EF FF 08 2A */ fadds f31, f31, f1
lbl_80135B1C:
/* 80135B1C 00132A7C 7F C3 F3 78 */ mr r3, r30
/* 80135B20 00132A80 48 00 49 35 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80135B24 00132A84 83 FF 00 14 */ lwz r31, 0x14(r31)
/* 80135B28 00132A88 7C 7C 1B 78 */ mr r28, r3
/* 80135B2C 00132A8C 38 61 00 38 */ addi r3, r1, 0x38
/* 80135B30 00132A90 48 1A D5 4D */ bl NoParameter__12CPASAnimParmFv
/* 80135B34 00132A94 38 61 00 40 */ addi r3, r1, 0x40
/* 80135B38 00132A98 48 1A D5 45 */ bl NoParameter__12CPASAnimParmFv
/* 80135B3C 00132A9C 38 61 00 48 */ addi r3, r1, 0x48
/* 80135B40 00132AA0 48 1A D5 3D */ bl NoParameter__12CPASAnimParmFv
/* 80135B44 00132AA4 38 61 00 50 */ addi r3, r1, 0x50
/* 80135B48 00132AA8 48 1A D5 35 */ bl NoParameter__12CPASAnimParmFv
/* 80135B4C 00132AAC 38 61 00 58 */ addi r3, r1, 0x58
/* 80135B50 00132AB0 48 1A D5 2D */ bl NoParameter__12CPASAnimParmFv
/* 80135B54 00132AB4 38 61 00 60 */ addi r3, r1, 0x60
/* 80135B58 00132AB8 48 1A D5 25 */ bl NoParameter__12CPASAnimParmFv
/* 80135B5C 00132ABC 7F E4 FB 78 */ mr r4, r31
/* 80135B60 00132AC0 38 61 00 68 */ addi r3, r1, 0x68
/* 80135B64 00132AC4 48 1A D4 21 */ bl FromEnum__12CPASAnimParmFi
/* 80135B68 00132AC8 C0 02 99 CC */ lfs f0, lbl_805AB6EC@sda21(r2)
/* 80135B6C 00132ACC 38 61 00 70 */ addi r3, r1, 0x70
/* 80135B70 00132AD0 EC 20 07 F2 */ fmuls f1, f0, f31
/* 80135B74 00132AD4 48 1A D4 75 */ bl FromReal32__12CPASAnimParmFf
/* 80135B78 00132AD8 38 61 00 40 */ addi r3, r1, 0x40
/* 80135B7C 00132ADC 38 01 00 38 */ addi r0, r1, 0x38
/* 80135B80 00132AE0 90 61 00 08 */ stw r3, 8(r1)
/* 80135B84 00132AE4 38 61 00 C4 */ addi r3, r1, 0xc4
/* 80135B88 00132AE8 38 A1 00 70 */ addi r5, r1, 0x70
/* 80135B8C 00132AEC 38 C1 00 68 */ addi r6, r1, 0x68
/* 80135B90 00132AF0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80135B94 00132AF4 38 E1 00 60 */ addi r7, r1, 0x60
/* 80135B98 00132AF8 39 01 00 58 */ addi r8, r1, 0x58
/* 80135B9C 00132AFC 39 21 00 50 */ addi r9, r1, 0x50
/* 80135BA0 00132B00 39 41 00 48 */ addi r10, r1, 0x48
/* 80135BA4 00132B04 38 80 00 00 */ li r4, 0
/* 80135BA8 00132B08 4B F4 77 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80135BAC 00132B0C 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 80135BB0 00132B10 7F 84 E3 78 */ mr r4, r28
/* 80135BB4 00132B14 38 61 00 30 */ addi r3, r1, 0x30
/* 80135BB8 00132B18 38 A1 00 C4 */ addi r5, r1, 0xc4
/* 80135BBC 00132B1C 38 E0 FF FF */ li r7, -1
/* 80135BC0 00132B20 48 1A F4 A1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80135BC4 00132B24 83 E1 00 34 */ lwz r31, 0x34(r1)
/* 80135BC8 00132B28 38 00 00 00 */ li r0, 0
/* 80135BCC 00132B2C C0 02 99 D0 */ lfs f0, lbl_805AB6F0@sda21(r2)
/* 80135BD0 00132B30 38 A0 FF FF */ li r5, -1
/* 80135BD4 00132B34 38 E0 00 01 */ li r7, 1
/* 80135BD8 00132B38 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 80135BDC 00132B3C 7F C3 F3 78 */ mr r3, r30
/* 80135BE0 00132B40 38 81 00 9C */ addi r4, r1, 0x9c
/* 80135BE4 00132B44 90 A1 00 A0 */ stw r5, 0xa0(r1)
/* 80135BE8 00132B48 38 A0 00 00 */ li r5, 0
/* 80135BEC 00132B4C 38 C0 00 00 */ li r6, 0
/* 80135BF0 00132B50 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 80135BF4 00132B54 98 E1 00 A8 */ stb r7, 0xa8(r1)
/* 80135BF8 00132B58 90 01 00 AC */ stw r0, 0xac(r1)
/* 80135BFC 00132B5C 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80135C00 00132B60 98 01 00 B4 */ stb r0, 0xb4(r1)
/* 80135C04 00132B64 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 80135C08 00132B68 90 01 00 BC */ stw r0, 0xbc(r1)
/* 80135C0C 00132B6C 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 80135C10 00132B70 48 00 4D 0D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80135C14 00132B74 7F 83 E3 78 */ mr r3, r28
/* 80135C18 00132B78 38 80 00 00 */ li r4, 0
/* 80135C1C 00132B7C 48 1A F2 A9 */ bl GetAnimState__12CPASDatabaseCFi
/* 80135C20 00132B80 7C 7C 1B 78 */ mr r28, r3
/* 80135C24 00132B84 7F E5 FB 78 */ mr r5, r31
/* 80135C28 00132B88 38 61 00 28 */ addi r3, r1, 0x28
/* 80135C2C 00132B8C 38 C0 00 02 */ li r6, 2
/* 80135C30 00132B90 7F 84 E3 78 */ mr r4, r28
/* 80135C34 00132B94 48 1A E3 C1 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 80135C38 00132B98 80 81 00 28 */ lwz r4, 0x28(r1)
/* 80135C3C 00132B9C 38 61 00 88 */ addi r3, r1, 0x88
/* 80135C40 00132BA0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80135C44 00132BA4 90 81 00 88 */ stw r4, 0x88(r1)
/* 80135C48 00132BA8 90 01 00 8C */ stw r0, 0x8c(r1)
/* 80135C4C 00132BAC 48 1A D3 19 */ bl GetBoolValue__12CPASAnimParmCFv
/* 80135C50 00132BB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80135C54 00132BB4 40 82 01 50 */ bne lbl_80135DA4
/* 80135C58 00132BB8 7F 84 E3 78 */ mr r4, r28
/* 80135C5C 00132BBC 7F E5 FB 78 */ mr r5, r31
/* 80135C60 00132BC0 38 61 00 20 */ addi r3, r1, 0x20
/* 80135C64 00132BC4 38 C0 00 00 */ li r6, 0
/* 80135C68 00132BC8 48 1A E3 8D */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 80135C6C 00132BCC 80 81 00 20 */ lwz r4, 0x20(r1)
/* 80135C70 00132BD0 38 61 00 80 */ addi r3, r1, 0x80
/* 80135C74 00132BD4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80135C78 00132BD8 90 81 00 80 */ stw r4, 0x80(r1)
/* 80135C7C 00132BDC 90 01 00 84 */ stw r0, 0x84(r1)
/* 80135C80 00132BE0 48 1A D2 ED */ bl GetReal32Value__12CPASAnimParmCFv
/* 80135C84 00132BE4 C0 02 99 D4 */ lfs f0, lbl_805AB6F4@sda21(r2)
/* 80135C88 00132BE8 3C 00 43 30 */ lis r0, 0x4330
/* 80135C8C 00132BEC C0 42 99 C4 */ lfs f2, lbl_805AB6E4@sda21(r2)
/* 80135C90 00132BF0 EC A0 00 72 */ fmuls f5, f0, f1
/* 80135C94 00132BF4 90 01 01 10 */ stw r0, 0x110(r1)
/* 80135C98 00132BF8 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2)
/* 80135C9C 00132BFC C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2)
/* 80135CA0 00132C00 EC 9F 28 28 */ fsubs f4, f31, f5
/* 80135CA4 00132C04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135CA8 00132C08 EC 44 00 B2 */ fmuls f2, f4, f2
/* 80135CAC 00132C0C FC 40 10 1E */ fctiwz f2, f2
/* 80135CB0 00132C10 D8 41 01 18 */ stfd f2, 0x118(r1)
/* 80135CB4 00132C14 80 01 01 1C */ lwz r0, 0x11c(r1)
/* 80135CB8 00132C18 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80135CBC 00132C1C 90 01 01 14 */ stw r0, 0x114(r1)
/* 80135CC0 00132C20 C8 41 01 10 */ lfd f2, 0x110(r1)
/* 80135CC4 00132C24 EC 42 18 28 */ fsubs f2, f2, f3
/* 80135CC8 00132C28 EC C2 20 7C */ fnmsubs f6, f2, f1, f4
/* 80135CCC 00132C2C FC 80 30 90 */ fmr f4, f6
/* 80135CD0 00132C30 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80135CD4 00132C34 40 80 00 08 */ bge lbl_80135CDC
/* 80135CD8 00132C38 EC 86 08 2A */ fadds f4, f6, f1
lbl_80135CDC:
/* 80135CDC 00132C3C EC A5 F8 28 */ fsubs f5, f5, f31
/* 80135CE0 00132C40 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2)
/* 80135CE4 00132C44 3C 00 43 30 */ lis r0, 0x4330
/* 80135CE8 00132C48 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2)
/* 80135CEC 00132C4C 90 01 01 28 */ stw r0, 0x128(r1)
/* 80135CF0 00132C50 EC 45 00 32 */ fmuls f2, f5, f0
/* 80135CF4 00132C54 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2)
/* 80135CF8 00132C58 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135CFC 00132C5C FC 40 10 1E */ fctiwz f2, f2
/* 80135D00 00132C60 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 80135D04 00132C64 D8 41 01 20 */ stfd f2, 0x120(r1)
/* 80135D08 00132C68 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80135D0C 00132C6C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80135D10 00132C70 90 01 01 2C */ stw r0, 0x12c(r1)
/* 80135D14 00132C74 C8 41 01 28 */ lfd f2, 0x128(r1)
/* 80135D18 00132C78 EC 42 18 28 */ fsubs f2, f2, f3
/* 80135D1C 00132C7C EC 42 28 7C */ fnmsubs f2, f2, f1, f5
/* 80135D20 00132C80 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80135D24 00132C84 40 80 00 08 */ bge lbl_80135D2C
/* 80135D28 00132C88 EC 42 08 2A */ fadds f2, f2, f1
lbl_80135D2C:
/* 80135D2C 00132C8C FC 02 20 40 */ fcmpo cr0, f2, f4
/* 80135D30 00132C90 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80135D34 00132C94 40 80 00 0C */ bge lbl_80135D40
/* 80135D38 00132C98 38 61 00 10 */ addi r3, r1, 0x10
/* 80135D3C 00132C9C 48 00 00 08 */ b lbl_80135D44
lbl_80135D40:
/* 80135D40 00132CA0 38 61 00 14 */ addi r3, r1, 0x14
lbl_80135D44:
/* 80135D44 00132CA4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135D48 00132CA8 C0 23 00 00 */ lfs f1, 0(r3)
/* 80135D4C 00132CAC FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80135D50 00132CB0 40 80 00 0C */ bge lbl_80135D5C
/* 80135D54 00132CB4 C0 02 99 C8 */ lfs f0, lbl_805AB6E8@sda21(r2)
/* 80135D58 00132CB8 EC C6 00 2A */ fadds f6, f6, f0
lbl_80135D5C:
/* 80135D5C 00132CBC C0 02 99 D8 */ lfs f0, lbl_805AB6F8@sda21(r2)
/* 80135D60 00132CC0 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80135D64 00132CC4 40 81 00 0C */ ble lbl_80135D70
/* 80135D68 00132CC8 FF E0 08 50 */ fneg f31, f1
/* 80135D6C 00132CCC 48 00 00 08 */ b lbl_80135D74
lbl_80135D70:
/* 80135D70 00132CD0 FF E0 08 90 */ fmr f31, f1
lbl_80135D74:
/* 80135D74 00132CD4 7F C3 F3 78 */ mr r3, r30
/* 80135D78 00132CD8 48 00 4B 41 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 80135D7C 00132CDC C0 42 99 DC */ lfs f2, lbl_805AB6FC@sda21(r2)
/* 80135D80 00132CE0 C0 02 99 E0 */ lfs f0, lbl_805AB700@sda21(r2)
/* 80135D84 00132CE4 EC 22 00 72 */ fmuls f1, f2, f1
/* 80135D88 00132CE8 D0 3D 00 08 */ stfs f1, 8(r29)
/* 80135D8C 00132CEC C0 3D 00 08 */ lfs f1, 8(r29)
/* 80135D90 00132CF0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80135D94 00132CF4 40 81 00 08 */ ble lbl_80135D9C
/* 80135D98 00132CF8 EF FF 08 24 */ fdivs f31, f31, f1
lbl_80135D9C:
/* 80135D9C 00132CFC D3 FD 00 04 */ stfs f31, 4(r29)
/* 80135DA0 00132D00 48 00 00 10 */ b lbl_80135DB0
lbl_80135DA4:
/* 80135DA4 00132D04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135DA8 00132D08 D0 1D 00 08 */ stfs f0, 8(r29)
/* 80135DAC 00132D0C D0 1D 00 04 */ stfs f0, 4(r29)
lbl_80135DB0:
/* 80135DB0 00132D10 7F 84 E3 78 */ mr r4, r28
/* 80135DB4 00132D14 7F E5 FB 78 */ mr r5, r31
/* 80135DB8 00132D18 38 61 00 18 */ addi r3, r1, 0x18
/* 80135DBC 00132D1C 38 C0 00 03 */ li r6, 3
/* 80135DC0 00132D20 48 1A E2 35 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 80135DC4 00132D24 80 81 00 18 */ lwz r4, 0x18(r1)
/* 80135DC8 00132D28 38 61 00 78 */ addi r3, r1, 0x78
/* 80135DCC 00132D2C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80135DD0 00132D30 90 81 00 78 */ stw r4, 0x78(r1)
/* 80135DD4 00132D34 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80135DD8 00132D38 48 1A D1 85 */ bl GetEnumValue__12CPASAnimParmCFv
/* 80135DDC 00132D3C 34 A1 00 C8 */ addic. r5, r1, 0xc8
/* 80135DE0 00132D40 90 7D 00 0C */ stw r3, 0xc(r29)
/* 80135DE4 00132D44 41 82 00 58 */ beq lbl_80135E3C
/* 80135DE8 00132D48 80 C5 00 00 */ lwz r6, 0(r5)
/* 80135DEC 00132D4C 38 60 00 00 */ li r3, 0
/* 80135DF0 00132D50 2C 06 00 00 */ cmpwi r6, 0
/* 80135DF4 00132D54 40 81 00 40 */ ble lbl_80135E34
/* 80135DF8 00132D58 2C 06 00 08 */ cmpwi r6, 8
/* 80135DFC 00132D5C 38 86 FF F8 */ addi r4, r6, -8
/* 80135E00 00132D60 40 81 00 20 */ ble lbl_80135E20
/* 80135E04 00132D64 38 04 00 07 */ addi r0, r4, 7
/* 80135E08 00132D68 54 00 E8 FE */ srwi r0, r0, 3
/* 80135E0C 00132D6C 7C 09 03 A6 */ mtctr r0
/* 80135E10 00132D70 2C 04 00 00 */ cmpwi r4, 0
/* 80135E14 00132D74 40 81 00 0C */ ble lbl_80135E20
lbl_80135E18:
/* 80135E18 00132D78 38 63 00 08 */ addi r3, r3, 8
/* 80135E1C 00132D7C 42 00 FF FC */ bdnz lbl_80135E18
lbl_80135E20:
/* 80135E20 00132D80 7C 03 30 50 */ subf r0, r3, r6
/* 80135E24 00132D84 7C 09 03 A6 */ mtctr r0
/* 80135E28 00132D88 7C 03 30 00 */ cmpw r3, r6
/* 80135E2C 00132D8C 40 80 00 08 */ bge lbl_80135E34
lbl_80135E30:
/* 80135E30 00132D90 42 00 00 00 */ bdnz lbl_80135E30
lbl_80135E34:
/* 80135E34 00132D94 38 00 00 00 */ li r0, 0
/* 80135E38 00132D98 90 05 00 00 */ stw r0, 0(r5)
lbl_80135E3C:
/* 80135E3C 00132D9C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0
/* 80135E40 00132DA0 CB E1 01 50 */ lfd f31, 0x150(r1)
/* 80135E44 00132DA4 BB 61 01 3C */ lmw r27, 0x13c(r1)
/* 80135E48 00132DA8 80 01 01 64 */ lwz r0, 0x164(r1)
/* 80135E4C 00132DAC 7C 08 03 A6 */ mtlr r0
/* 80135E50 00132DB0 38 21 01 60 */ addi r1, r1, 0x160
/* 80135E54 00132DB4 4E 80 00 20 */ blr
.global __ct__7CBSFallFv
__ct__7CBSFallFv:
/* 80135E58 00132DB8 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 80135E5C 00132DBC 3C 80 80 3E */ lis r4, lbl_803E13E0@ha
/* 80135E60 00132DC0 38 05 13 18 */ addi r0, r5, lbl_803E1318@l
/* 80135E64 00132DC4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2)
/* 80135E68 00132DC8 90 03 00 00 */ stw r0, 0(r3)
/* 80135E6C 00132DCC 38 84 13 E0 */ addi r4, r4, lbl_803E13E0@l
/* 80135E70 00132DD0 38 00 FF FF */ li r0, -1
/* 80135E74 00132DD4 90 83 00 00 */ stw r4, 0(r3)
/* 80135E78 00132DD8 D0 03 00 04 */ stfs f0, 4(r3)
/* 80135E7C 00132DDC D0 03 00 08 */ stfs f0, 8(r3)
/* 80135E80 00132DE0 90 03 00 0C */ stw r0, 0xc(r3)
/* 80135E84 00132DE4 4E 80 00 20 */ blr

View File

@ -0,0 +1,294 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__11CBSGenerateFv
__dt__11CBSGenerateFv:
/* 801466B4 00143614 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801466B8 00143618 7C 08 02 A6 */ mflr r0
/* 801466BC 0014361C 90 01 00 14 */ stw r0, 0x14(r1)
/* 801466C0 00143620 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801466C4 00143624 7C 7F 1B 79 */ or. r31, r3, r3
/* 801466C8 00143628 41 82 00 30 */ beq lbl_801466F8
/* 801466CC 0014362C 3C 60 80 3E */ lis r3, lbl_803E2040@ha
/* 801466D0 00143630 38 03 20 40 */ addi r0, r3, lbl_803E2040@l
/* 801466D4 00143634 90 1F 00 00 */ stw r0, 0(r31)
/* 801466D8 00143638 41 82 00 10 */ beq lbl_801466E8
/* 801466DC 0014363C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 801466E0 00143640 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 801466E4 00143644 90 1F 00 00 */ stw r0, 0(r31)
lbl_801466E8:
/* 801466E8 00143648 7C 80 07 35 */ extsh. r0, r4
/* 801466EC 0014364C 40 81 00 0C */ ble lbl_801466F8
/* 801466F0 00143650 7F E3 FB 78 */ mr r3, r31
/* 801466F4 00143654 48 1C F2 3D */ bl Free__7CMemoryFPCv
lbl_801466F8:
/* 801466F8 00143658 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801466FC 0014365C 7F E3 FB 78 */ mr r3, r31
/* 80146700 00143660 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80146704 00143664 7C 08 03 A6 */ mtlr r0
/* 80146708 00143668 38 21 00 10 */ addi r1, r1, 0x10
/* 8014670C 0014366C 4E 80 00 20 */ blr
.global GetBodyStateTransition__11CBSGenerateFfR15CBodyController
GetBodyStateTransition__11CBSGenerateFfR15CBodyController:
/* 80146710 00143670 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80146714 00143674 7C 08 02 A6 */ mflr r0
/* 80146718 00143678 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014671C 0014367C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80146720 00143680 93 C1 00 08 */ stw r30, 8(r1)
/* 80146724 00143684 7C 9E 23 78 */ mr r30, r4
/* 80146728 00143688 3B FE 00 04 */ addi r31, r30, 4
/* 8014672C 0014368C 38 80 00 0F */ li r4, 0xf
/* 80146730 00143690 7F E3 FB 78 */ mr r3, r31
/* 80146734 00143694 4B FE AD 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80146738 00143698 28 03 00 00 */ cmplwi r3, 0
/* 8014673C 0014369C 41 82 00 0C */ beq lbl_80146748
/* 80146740 001436A0 38 60 00 0E */ li r3, 0xe
/* 80146744 001436A4 48 00 00 68 */ b lbl_801467AC
lbl_80146748:
/* 80146748 001436A8 7F E3 FB 78 */ mr r3, r31
/* 8014674C 001436AC 38 80 00 03 */ li r4, 3
/* 80146750 001436B0 4B FE AD 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80146754 001436B4 28 03 00 00 */ cmplwi r3, 0
/* 80146758 001436B8 41 82 00 0C */ beq lbl_80146764
/* 8014675C 001436BC 38 60 00 00 */ li r3, 0
/* 80146760 001436C0 48 00 00 4C */ b lbl_801467AC
lbl_80146764:
/* 80146764 001436C4 7F E3 FB 78 */ mr r3, r31
/* 80146768 001436C8 38 80 00 0E */ li r4, 0xe
/* 8014676C 001436CC 4B FE AC E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80146770 001436D0 28 03 00 00 */ cmplwi r3, 0
/* 80146774 001436D4 41 82 00 0C */ beq lbl_80146780
/* 80146778 001436D8 38 60 00 0C */ li r3, 0xc
/* 8014677C 001436DC 48 00 00 30 */ b lbl_801467AC
lbl_80146780:
/* 80146780 001436E0 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80146784 001436E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80146788 001436E8 40 82 00 18 */ bne lbl_801467A0
/* 8014678C 001436EC 7F E3 FB 78 */ mr r3, r31
/* 80146790 001436F0 38 80 00 0C */ li r4, 0xc
/* 80146794 001436F4 4B FE AC BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80146798 001436F8 28 03 00 00 */ cmplwi r3, 0
/* 8014679C 001436FC 41 82 00 0C */ beq lbl_801467A8
lbl_801467A0:
/* 801467A0 00143700 38 60 00 05 */ li r3, 5
/* 801467A4 00143704 48 00 00 08 */ b lbl_801467AC
lbl_801467A8:
/* 801467A8 00143708 38 60 FF FF */ li r3, -1
lbl_801467AC:
/* 801467AC 0014370C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801467B0 00143710 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801467B4 00143714 83 C1 00 08 */ lwz r30, 8(r1)
/* 801467B8 00143718 7C 08 03 A6 */ mtlr r0
/* 801467BC 0014371C 38 21 00 10 */ addi r1, r1, 0x10
/* 801467C0 00143720 4E 80 00 20 */ blr
.global Shutdown__11CBSGenerateFR15CBodyController
Shutdown__11CBSGenerateFR15CBodyController:
/* 801467C4 00143724 4E 80 00 20 */ blr
.global UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager
UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager:
/* 801467C8 00143728 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801467CC 0014372C 7C 08 02 A6 */ mflr r0
/* 801467D0 00143730 90 01 00 24 */ stw r0, 0x24(r1)
/* 801467D4 00143734 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 801467D8 00143738 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 801467DC 0014373C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801467E0 00143740 93 C1 00 08 */ stw r30, 8(r1)
/* 801467E4 00143744 FF E0 08 90 */ fmr f31, f1
/* 801467E8 00143748 7C 9E 23 78 */ mr r30, r4
/* 801467EC 0014374C 4B FF FF 25 */ bl GetBodyStateTransition__11CBSGenerateFfR15CBodyController
/* 801467F0 00143750 7C 7F 1B 78 */ mr r31, r3
/* 801467F4 00143754 2C 1F FF FF */ cmpwi r31, -1
/* 801467F8 00143758 40 82 00 50 */ bne lbl_80146848
/* 801467FC 0014375C 38 7E 00 1C */ addi r3, r30, 0x1c
/* 80146800 00143760 C0 22 9C 80 */ lfs f1, lbl_805AB9A0@sda21(r2)
/* 80146804 00143764 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80146808 00143768 38 00 00 00 */ li r0, 0
/* 8014680C 0014376C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80146810 00143770 40 82 00 1C */ bne lbl_8014682C
/* 80146814 00143774 C0 03 00 04 */ lfs f0, 4(r3)
/* 80146818 00143778 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014681C 0014377C 40 82 00 10 */ bne lbl_8014682C
/* 80146820 00143780 C0 03 00 08 */ lfs f0, 8(r3)
/* 80146824 00143784 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80146828 00143788 41 82 00 08 */ beq lbl_80146830
lbl_8014682C:
/* 8014682C 0014378C 38 00 00 01 */ li r0, 1
lbl_80146830:
/* 80146830 00143790 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80146834 00143794 41 82 00 14 */ beq lbl_80146848
/* 80146838 00143798 FC 20 F8 90 */ fmr f1, f31
/* 8014683C 0014379C 7F C3 F3 78 */ mr r3, r30
/* 80146840 001437A0 38 9E 00 1C */ addi r4, r30, 0x1c
/* 80146844 001437A4 4B FF 3E 61 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_80146848:
/* 80146848 001437A8 7F E3 FB 78 */ mr r3, r31
/* 8014684C 001437AC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 80146850 001437B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80146854 001437B4 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 80146858 001437B8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014685C 001437BC 83 C1 00 08 */ lwz r30, 8(r1)
/* 80146860 001437C0 7C 08 03 A6 */ mtlr r0
/* 80146864 001437C4 38 21 00 20 */ addi r1, r1, 0x20
/* 80146868 001437C8 4E 80 00 20 */ blr
.global Start__11CBSGenerateFR15CBodyControllerR13CStateManager
Start__11CBSGenerateFR15CBodyControllerR13CStateManager:
/* 8014686C 001437CC 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 80146870 001437D0 7C 08 02 A6 */ mflr r0
/* 80146874 001437D4 90 01 01 24 */ stw r0, 0x124(r1)
/* 80146878 001437D8 BF 61 01 0C */ stmw r27, 0x10c(r1)
/* 8014687C 001437DC 7C 9F 23 78 */ mr r31, r4
/* 80146880 001437E0 7C BB 2B 78 */ mr r27, r5
/* 80146884 001437E4 38 80 00 0E */ li r4, 0xe
/* 80146888 001437E8 38 7F 00 04 */ addi r3, r31, 4
/* 8014688C 001437EC 4B FE AB C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80146890 001437F0 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 80146894 001437F4 7C 7E 1B 78 */ mr r30, r3
/* 80146898 001437F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8014689C 001437FC 40 82 01 08 */ bne lbl_801469A4
/* 801468A0 00143800 7F E3 FB 78 */ mr r3, r31
/* 801468A4 00143804 4B FF 3B B1 */ bl GetPASDatabase__15CBodyControllerCFv
/* 801468A8 00143808 83 BE 00 08 */ lwz r29, 8(r30)
/* 801468AC 0014380C 7C 7C 1B 78 */ mr r28, r3
/* 801468B0 00143810 38 61 00 18 */ addi r3, r1, 0x18
/* 801468B4 00143814 48 19 C7 C9 */ bl NoParameter__12CPASAnimParmFv
/* 801468B8 00143818 38 61 00 20 */ addi r3, r1, 0x20
/* 801468BC 0014381C 48 19 C7 C1 */ bl NoParameter__12CPASAnimParmFv
/* 801468C0 00143820 38 61 00 28 */ addi r3, r1, 0x28
/* 801468C4 00143824 48 19 C7 B9 */ bl NoParameter__12CPASAnimParmFv
/* 801468C8 00143828 38 61 00 30 */ addi r3, r1, 0x30
/* 801468CC 0014382C 48 19 C7 B1 */ bl NoParameter__12CPASAnimParmFv
/* 801468D0 00143830 38 61 00 38 */ addi r3, r1, 0x38
/* 801468D4 00143834 48 19 C7 A9 */ bl NoParameter__12CPASAnimParmFv
/* 801468D8 00143838 38 61 00 40 */ addi r3, r1, 0x40
/* 801468DC 0014383C 48 19 C7 A1 */ bl NoParameter__12CPASAnimParmFv
/* 801468E0 00143840 38 61 00 48 */ addi r3, r1, 0x48
/* 801468E4 00143844 48 19 C7 99 */ bl NoParameter__12CPASAnimParmFv
/* 801468E8 00143848 7F A4 EB 78 */ mr r4, r29
/* 801468EC 0014384C 38 61 00 50 */ addi r3, r1, 0x50
/* 801468F0 00143850 48 19 C6 95 */ bl FromEnum__12CPASAnimParmFi
/* 801468F4 00143854 38 61 00 20 */ addi r3, r1, 0x20
/* 801468F8 00143858 38 01 00 18 */ addi r0, r1, 0x18
/* 801468FC 0014385C 90 61 00 08 */ stw r3, 8(r1)
/* 80146900 00143860 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80146904 00143864 38 A1 00 50 */ addi r5, r1, 0x50
/* 80146908 00143868 38 C1 00 48 */ addi r6, r1, 0x48
/* 8014690C 0014386C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80146910 00143870 38 E1 00 40 */ addi r7, r1, 0x40
/* 80146914 00143874 39 01 00 38 */ addi r8, r1, 0x38
/* 80146918 00143878 39 21 00 30 */ addi r9, r1, 0x30
/* 8014691C 0014387C 39 41 00 28 */ addi r10, r1, 0x28
/* 80146920 00143880 38 80 00 0C */ li r4, 0xc
/* 80146924 00143884 4B F3 69 A1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80146928 00143888 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 8014692C 0014388C 7F 84 E3 78 */ mr r4, r28
/* 80146930 00143890 38 61 00 10 */ addi r3, r1, 0x10
/* 80146934 00143894 38 A1 00 B4 */ addi r5, r1, 0xb4
/* 80146938 00143898 38 E0 FF FF */ li r7, -1
/* 8014693C 0014389C 48 19 E7 25 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80146940 001438A0 34 A1 00 B8 */ addic. r5, r1, 0xb8
/* 80146944 001438A4 81 81 00 14 */ lwz r12, 0x14(r1)
/* 80146948 001438A8 41 82 00 60 */ beq lbl_801469A8
/* 8014694C 001438AC 80 C5 00 00 */ lwz r6, 0(r5)
/* 80146950 001438B0 38 60 00 00 */ li r3, 0
/* 80146954 001438B4 2C 06 00 00 */ cmpwi r6, 0
/* 80146958 001438B8 40 81 00 40 */ ble lbl_80146998
/* 8014695C 001438BC 2C 06 00 08 */ cmpwi r6, 8
/* 80146960 001438C0 38 86 FF F8 */ addi r4, r6, -8
/* 80146964 001438C4 40 81 00 20 */ ble lbl_80146984
/* 80146968 001438C8 38 04 00 07 */ addi r0, r4, 7
/* 8014696C 001438CC 54 00 E8 FE */ srwi r0, r0, 3
/* 80146970 001438D0 7C 09 03 A6 */ mtctr r0
/* 80146974 001438D4 2C 04 00 00 */ cmpwi r4, 0
/* 80146978 001438D8 40 81 00 0C */ ble lbl_80146984
lbl_8014697C:
/* 8014697C 001438DC 38 63 00 08 */ addi r3, r3, 8
/* 80146980 001438E0 42 00 FF FC */ bdnz lbl_8014697C
lbl_80146984:
/* 80146984 001438E4 7C 03 30 50 */ subf r0, r3, r6
/* 80146988 001438E8 7C 09 03 A6 */ mtctr r0
/* 8014698C 001438EC 7C 03 30 00 */ cmpw r3, r6
/* 80146990 001438F0 40 80 00 08 */ bge lbl_80146998
lbl_80146994:
/* 80146994 001438F4 42 00 00 00 */ bdnz lbl_80146994
lbl_80146998:
/* 80146998 001438F8 38 00 00 00 */ li r0, 0
/* 8014699C 001438FC 90 05 00 00 */ stw r0, 0(r5)
/* 801469A0 00143900 48 00 00 08 */ b lbl_801469A8
lbl_801469A4:
/* 801469A4 00143904 81 9E 00 18 */ lwz r12, 0x18(r30)
lbl_801469A8:
/* 801469A8 00143908 88 1E 00 1C */ lbz r0, 0x1c(r30)
/* 801469AC 0014390C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801469B0 00143910 41 82 00 80 */ beq lbl_80146A30
/* 801469B4 00143914 80 7F 00 00 */ lwz r3, 0(r31)
/* 801469B8 00143918 38 FE 00 0C */ addi r7, r30, 0xc
/* 801469BC 0014391C C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2)
/* 801469C0 00143920 38 01 00 58 */ addi r0, r1, 0x58
/* 801469C4 00143924 80 83 00 64 */ lwz r4, 0x64(r3)
/* 801469C8 00143928 39 63 00 34 */ addi r11, r3, 0x34
/* 801469CC 0014392C 39 40 FF FF */ li r10, -1
/* 801469D0 00143930 39 20 00 01 */ li r9, 1
/* 801469D4 00143934 C0 44 00 04 */ lfs f2, 4(r4)
/* 801469D8 00143938 39 00 00 00 */ li r8, 0
/* 801469DC 0014393C C0 64 00 08 */ lfs f3, 8(r4)
/* 801469E0 00143940 7F E3 FB 78 */ mr r3, r31
/* 801469E4 00143944 C0 24 00 00 */ lfs f1, 0(r4)
/* 801469E8 00143948 38 81 00 8C */ addi r4, r1, 0x8c
/* 801469EC 0014394C 38 A0 00 00 */ li r5, 0
/* 801469F0 00143950 38 C0 00 00 */ li r6, 0
/* 801469F4 00143954 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 801469F8 00143958 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 801469FC 0014395C D0 61 00 60 */ stfs f3, 0x60(r1)
/* 80146A00 00143960 91 81 00 8C */ stw r12, 0x8c(r1)
/* 80146A04 00143964 91 41 00 90 */ stw r10, 0x90(r1)
/* 80146A08 00143968 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 80146A0C 0014396C 99 21 00 98 */ stb r9, 0x98(r1)
/* 80146A10 00143970 91 01 00 9C */ stw r8, 0x9c(r1)
/* 80146A14 00143974 90 E1 00 A0 */ stw r7, 0xa0(r1)
/* 80146A18 00143978 99 01 00 A4 */ stb r8, 0xa4(r1)
/* 80146A1C 0014397C 91 01 00 A8 */ stw r8, 0xa8(r1)
/* 80146A20 00143980 91 61 00 AC */ stw r11, 0xac(r1)
/* 80146A24 00143984 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80146A28 00143988 4B FF 3E F5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80146A2C 0014398C 48 00 00 50 */ b lbl_80146A7C
lbl_80146A30:
/* 80146A30 00143990 C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2)
/* 80146A34 00143994 38 00 00 00 */ li r0, 0
/* 80146A38 00143998 38 C0 FF FF */ li r6, -1
/* 80146A3C 0014399C 38 E0 00 01 */ li r7, 1
/* 80146A40 001439A0 91 81 00 64 */ stw r12, 0x64(r1)
/* 80146A44 001439A4 7F E3 FB 78 */ mr r3, r31
/* 80146A48 001439A8 38 81 00 64 */ addi r4, r1, 0x64
/* 80146A4C 001439AC 38 A0 00 00 */ li r5, 0
/* 80146A50 001439B0 90 C1 00 68 */ stw r6, 0x68(r1)
/* 80146A54 001439B4 38 C0 00 00 */ li r6, 0
/* 80146A58 001439B8 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 80146A5C 001439BC 98 E1 00 70 */ stb r7, 0x70(r1)
/* 80146A60 001439C0 90 01 00 74 */ stw r0, 0x74(r1)
/* 80146A64 001439C4 90 01 00 78 */ stw r0, 0x78(r1)
/* 80146A68 001439C8 98 01 00 7C */ stb r0, 0x7c(r1)
/* 80146A6C 001439CC 90 01 00 80 */ stw r0, 0x80(r1)
/* 80146A70 001439D0 90 01 00 84 */ stw r0, 0x84(r1)
/* 80146A74 001439D4 90 01 00 88 */ stw r0, 0x88(r1)
/* 80146A78 001439D8 4B FF 3E A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
lbl_80146A7C:
/* 80146A7C 001439DC BB 61 01 0C */ lmw r27, 0x10c(r1)
/* 80146A80 001439E0 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80146A84 001439E4 7C 08 03 A6 */ mtlr r0
/* 80146A88 001439E8 38 21 01 20 */ addi r1, r1, 0x120
/* 80146A8C 001439EC 4E 80 00 20 */ blr
.global __ct__11CBSGenerateFv
__ct__11CBSGenerateFv:
/* 80146A90 001439F0 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 80146A94 001439F4 3C 80 80 3E */ lis r4, lbl_803E2040@ha
/* 80146A98 001439F8 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 80146A9C 001439FC 90 A3 00 00 */ stw r5, 0(r3)
/* 80146AA0 00143A00 38 04 20 40 */ addi r0, r4, lbl_803E2040@l
/* 80146AA4 00143A04 90 03 00 00 */ stw r0, 0(r3)
/* 80146AA8 00143A08 4E 80 00 20 */ blr

View File

@ -0,0 +1,256 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__8CBSGetupFv
__dt__8CBSGetupFv:
/* 80135E88 00132DE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80135E8C 00132DEC 7C 08 02 A6 */ mflr r0
/* 80135E90 00132DF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80135E94 00132DF4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80135E98 00132DF8 7C 7F 1B 79 */ or. r31, r3, r3
/* 80135E9C 00132DFC 41 82 00 30 */ beq lbl_80135ECC
/* 80135EA0 00132E00 3C 60 80 3E */ lis r3, lbl_803E1418@ha
/* 80135EA4 00132E04 38 03 14 18 */ addi r0, r3, lbl_803E1418@l
/* 80135EA8 00132E08 90 1F 00 00 */ stw r0, 0(r31)
/* 80135EAC 00132E0C 41 82 00 10 */ beq lbl_80135EBC
/* 80135EB0 00132E10 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80135EB4 00132E14 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80135EB8 00132E18 90 1F 00 00 */ stw r0, 0(r31)
lbl_80135EBC:
/* 80135EBC 00132E1C 7C 80 07 35 */ extsh. r0, r4
/* 80135EC0 00132E20 40 81 00 0C */ ble lbl_80135ECC
/* 80135EC4 00132E24 7F E3 FB 78 */ mr r3, r31
/* 80135EC8 00132E28 48 1D FA 69 */ bl Free__7CMemoryFPCv
lbl_80135ECC:
/* 80135ECC 00132E2C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135ED0 00132E30 7F E3 FB 78 */ mr r3, r31
/* 80135ED4 00132E34 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80135ED8 00132E38 7C 08 03 A6 */ mtlr r0
/* 80135EDC 00132E3C 38 21 00 10 */ addi r1, r1, 0x10
/* 80135EE0 00132E40 4E 80 00 20 */ blr
.global GetBodyStateTransition__8CBSGetupFfR15CBodyController
GetBodyStateTransition__8CBSGetupFfR15CBodyController:
/* 80135EE4 00132E44 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80135EE8 00132E48 7C 08 02 A6 */ mflr r0
/* 80135EEC 00132E4C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80135EF0 00132E50 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80135EF4 00132E54 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80135EF8 00132E58 7C 9E 23 78 */ mr r30, r4
/* 80135EFC 00132E5C 3B FE 00 04 */ addi r31, r30, 4
/* 80135F00 00132E60 38 80 00 0F */ li r4, 0xf
/* 80135F04 00132E64 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80135F08 00132E68 7C 7D 1B 78 */ mr r29, r3
/* 80135F0C 00132E6C 7F E3 FB 78 */ mr r3, r31
/* 80135F10 00132E70 4B FF B5 41 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135F14 00132E74 28 03 00 00 */ cmplwi r3, 0
/* 80135F18 00132E78 41 82 00 0C */ beq lbl_80135F24
/* 80135F1C 00132E7C 38 60 00 0E */ li r3, 0xe
/* 80135F20 00132E80 48 00 00 48 */ b lbl_80135F68
lbl_80135F24:
/* 80135F24 00132E84 7F E3 FB 78 */ mr r3, r31
/* 80135F28 00132E88 38 80 00 03 */ li r4, 3
/* 80135F2C 00132E8C 4B FF B5 25 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135F30 00132E90 28 03 00 00 */ cmplwi r3, 0
/* 80135F34 00132E94 41 82 00 0C */ beq lbl_80135F40
/* 80135F38 00132E98 38 60 00 00 */ li r3, 0
/* 80135F3C 00132E9C 48 00 00 2C */ b lbl_80135F68
lbl_80135F40:
/* 80135F40 00132EA0 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80135F44 00132EA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80135F48 00132EA8 41 82 00 1C */ beq lbl_80135F64
/* 80135F4C 00132EAC 80 1D 00 04 */ lwz r0, 4(r29)
/* 80135F50 00132EB0 38 60 00 01 */ li r3, 1
/* 80135F54 00132EB4 2C 00 00 00 */ cmpwi r0, 0
/* 80135F58 00132EB8 40 82 00 10 */ bne lbl_80135F68
/* 80135F5C 00132EBC 38 60 00 05 */ li r3, 5
/* 80135F60 00132EC0 48 00 00 08 */ b lbl_80135F68
lbl_80135F64:
/* 80135F64 00132EC4 38 60 FF FF */ li r3, -1
lbl_80135F68:
/* 80135F68 00132EC8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80135F6C 00132ECC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80135F70 00132ED0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80135F74 00132ED4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80135F78 00132ED8 7C 08 03 A6 */ mtlr r0
/* 80135F7C 00132EDC 38 21 00 20 */ addi r1, r1, 0x20
/* 80135F80 00132EE0 4E 80 00 20 */ blr
.global Shutdown__8CBSGetupFR15CBodyController
Shutdown__8CBSGetupFR15CBodyController:
/* 80135F84 00132EE4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80135F88 00132EE8 7C 08 02 A6 */ mflr r0
/* 80135F8C 00132EEC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80135F90 00132EF0 7C 80 23 78 */ mr r0, r4
/* 80135F94 00132EF4 80 83 00 04 */ lwz r4, 4(r3)
/* 80135F98 00132EF8 7C 03 03 78 */ mr r3, r0
/* 80135F9C 00132EFC 48 00 4C 09 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState
/* 80135FA0 00132F00 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135FA4 00132F04 7C 08 03 A6 */ mtlr r0
/* 80135FA8 00132F08 38 21 00 10 */ addi r1, r1, 0x10
/* 80135FAC 00132F0C 4E 80 00 20 */ blr
.global UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager
UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager:
/* 80135FB0 00132F10 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80135FB4 00132F14 7C 08 02 A6 */ mflr r0
/* 80135FB8 00132F18 90 01 00 14 */ stw r0, 0x14(r1)
/* 80135FBC 00132F1C 4B FF FF 29 */ bl GetBodyStateTransition__8CBSGetupFfR15CBodyController
/* 80135FC0 00132F20 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80135FC4 00132F24 7C 08 03 A6 */ mtlr r0
/* 80135FC8 00132F28 38 21 00 10 */ addi r1, r1, 0x10
/* 80135FCC 00132F2C 4E 80 00 20 */ blr
.global Start__8CBSGetupFR15CBodyControllerR13CStateManager
Start__8CBSGetupFR15CBodyControllerR13CStateManager:
/* 80135FD0 00132F30 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 80135FD4 00132F34 7C 08 02 A6 */ mflr r0
/* 80135FD8 00132F38 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80135FDC 00132F3C BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 80135FE0 00132F40 7C 9A 23 78 */ mr r26, r4
/* 80135FE4 00132F44 7C 7F 1B 78 */ mr r31, r3
/* 80135FE8 00132F48 7C BB 2B 78 */ mr r27, r5
/* 80135FEC 00132F4C 38 80 00 00 */ li r4, 0
/* 80135FF0 00132F50 38 7A 00 04 */ addi r3, r26, 4
/* 80135FF4 00132F54 4B FF B4 5D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80135FF8 00132F58 7C 7E 1B 78 */ mr r30, r3
/* 80135FFC 00132F5C 7F 43 D3 78 */ mr r3, r26
/* 80136000 00132F60 48 00 4B AD */ bl GetFallState__15CBodyControllerCFv
/* 80136004 00132F64 7C 60 1B 78 */ mr r0, r3
/* 80136008 00132F68 7F 43 D3 78 */ mr r3, r26
/* 8013600C 00132F6C 7C 1D 03 78 */ mr r29, r0
/* 80136010 00132F70 48 00 44 45 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80136014 00132F74 83 DE 00 08 */ lwz r30, 8(r30)
/* 80136018 00132F78 7C 7C 1B 78 */ mr r28, r3
/* 8013601C 00132F7C 38 61 00 20 */ addi r3, r1, 0x20
/* 80136020 00132F80 48 1A D0 5D */ bl NoParameter__12CPASAnimParmFv
/* 80136024 00132F84 38 61 00 28 */ addi r3, r1, 0x28
/* 80136028 00132F88 48 1A D0 55 */ bl NoParameter__12CPASAnimParmFv
/* 8013602C 00132F8C 38 61 00 30 */ addi r3, r1, 0x30
/* 80136030 00132F90 48 1A D0 4D */ bl NoParameter__12CPASAnimParmFv
/* 80136034 00132F94 38 61 00 38 */ addi r3, r1, 0x38
/* 80136038 00132F98 48 1A D0 45 */ bl NoParameter__12CPASAnimParmFv
/* 8013603C 00132F9C 38 61 00 40 */ addi r3, r1, 0x40
/* 80136040 00132FA0 48 1A D0 3D */ bl NoParameter__12CPASAnimParmFv
/* 80136044 00132FA4 38 61 00 48 */ addi r3, r1, 0x48
/* 80136048 00132FA8 48 1A D0 35 */ bl NoParameter__12CPASAnimParmFv
/* 8013604C 00132FAC 7F C4 F3 78 */ mr r4, r30
/* 80136050 00132FB0 38 61 00 50 */ addi r3, r1, 0x50
/* 80136054 00132FB4 48 1A CF 31 */ bl FromEnum__12CPASAnimParmFi
/* 80136058 00132FB8 7F A4 EB 78 */ mr r4, r29
/* 8013605C 00132FBC 38 61 00 58 */ addi r3, r1, 0x58
/* 80136060 00132FC0 48 1A CF 25 */ bl FromEnum__12CPASAnimParmFi
/* 80136064 00132FC4 38 61 00 28 */ addi r3, r1, 0x28
/* 80136068 00132FC8 38 01 00 20 */ addi r0, r1, 0x20
/* 8013606C 00132FCC 90 61 00 08 */ stw r3, 8(r1)
/* 80136070 00132FD0 38 61 00 90 */ addi r3, r1, 0x90
/* 80136074 00132FD4 38 A1 00 58 */ addi r5, r1, 0x58
/* 80136078 00132FD8 38 C1 00 50 */ addi r6, r1, 0x50
/* 8013607C 00132FDC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80136080 00132FE0 38 E1 00 48 */ addi r7, r1, 0x48
/* 80136084 00132FE4 39 01 00 40 */ addi r8, r1, 0x40
/* 80136088 00132FE8 39 21 00 38 */ addi r9, r1, 0x38
/* 8013608C 00132FEC 39 41 00 30 */ addi r10, r1, 0x30
/* 80136090 00132FF0 38 80 00 01 */ li r4, 1
/* 80136094 00132FF4 4B F4 72 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80136098 00132FF8 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 8013609C 00132FFC 7F 84 E3 78 */ mr r4, r28
/* 801360A0 00133000 38 61 00 18 */ addi r3, r1, 0x18
/* 801360A4 00133004 38 A1 00 90 */ addi r5, r1, 0x90
/* 801360A8 00133008 38 E0 FF FF */ li r7, -1
/* 801360AC 0013300C 48 1A EF B5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 801360B0 00133010 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 801360B4 00133014 C0 02 99 F0 */ lfs f0, lbl_805AB710@sda21(r2)
/* 801360B8 00133018 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 801360BC 0013301C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801360C0 00133020 40 81 00 A0 */ ble lbl_80136160
/* 801360C4 00133024 80 1A 02 F8 */ lwz r0, 0x2f8(r26)
/* 801360C8 00133028 7C 7D 1B 78 */ mr r29, r3
/* 801360CC 0013302C 7C 03 00 00 */ cmpw r3, r0
/* 801360D0 00133030 41 82 00 50 */ beq lbl_80136120
/* 801360D4 00133034 C0 02 99 F4 */ lfs f0, lbl_805AB714@sda21(r2)
/* 801360D8 00133038 38 00 00 00 */ li r0, 0
/* 801360DC 0013303C 38 C0 FF FF */ li r6, -1
/* 801360E0 00133040 38 E0 00 01 */ li r7, 1
/* 801360E4 00133044 90 61 00 68 */ stw r3, 0x68(r1)
/* 801360E8 00133048 7F 43 D3 78 */ mr r3, r26
/* 801360EC 0013304C 38 81 00 68 */ addi r4, r1, 0x68
/* 801360F0 00133050 38 A0 00 00 */ li r5, 0
/* 801360F4 00133054 90 C1 00 6C */ stw r6, 0x6c(r1)
/* 801360F8 00133058 38 C0 00 00 */ li r6, 0
/* 801360FC 0013305C D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80136100 00133060 98 E1 00 74 */ stb r7, 0x74(r1)
/* 80136104 00133064 90 01 00 78 */ stw r0, 0x78(r1)
/* 80136108 00133068 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8013610C 0013306C 98 01 00 80 */ stb r0, 0x80(r1)
/* 80136110 00133070 90 01 00 84 */ stw r0, 0x84(r1)
/* 80136114 00133074 90 01 00 88 */ stw r0, 0x88(r1)
/* 80136118 00133078 90 01 00 8C */ stw r0, 0x8c(r1)
/* 8013611C 0013307C 48 00 48 01 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
lbl_80136120:
/* 80136120 00133080 7F 83 E3 78 */ mr r3, r28
/* 80136124 00133084 38 80 00 01 */ li r4, 1
/* 80136128 00133088 48 1A ED 9D */ bl GetAnimState__12CPASDatabaseCFi
/* 8013612C 0013308C 7C 64 1B 78 */ mr r4, r3
/* 80136130 00133090 7F A5 EB 78 */ mr r5, r29
/* 80136134 00133094 38 61 00 10 */ addi r3, r1, 0x10
/* 80136138 00133098 38 C0 00 02 */ li r6, 2
/* 8013613C 0013309C 48 1A DE B9 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 80136140 001330A0 80 81 00 10 */ lwz r4, 0x10(r1)
/* 80136144 001330A4 38 61 00 60 */ addi r3, r1, 0x60
/* 80136148 001330A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013614C 001330AC 90 81 00 60 */ stw r4, 0x60(r1)
/* 80136150 001330B0 90 01 00 64 */ stw r0, 0x64(r1)
/* 80136154 001330B4 48 1A CE 09 */ bl GetEnumValue__12CPASAnimParmCFv
/* 80136158 001330B8 90 7F 00 04 */ stw r3, 4(r31)
/* 8013615C 001330BC 48 00 00 0C */ b lbl_80136168
lbl_80136160:
/* 80136160 001330C0 38 00 00 00 */ li r0, 0
/* 80136164 001330C4 90 1F 00 04 */ stw r0, 4(r31)
lbl_80136168:
/* 80136168 001330C8 34 A1 00 94 */ addic. r5, r1, 0x94
/* 8013616C 001330CC 41 82 00 58 */ beq lbl_801361C4
/* 80136170 001330D0 80 C5 00 00 */ lwz r6, 0(r5)
/* 80136174 001330D4 38 60 00 00 */ li r3, 0
/* 80136178 001330D8 2C 06 00 00 */ cmpwi r6, 0
/* 8013617C 001330DC 40 81 00 40 */ ble lbl_801361BC
/* 80136180 001330E0 2C 06 00 08 */ cmpwi r6, 8
/* 80136184 001330E4 38 86 FF F8 */ addi r4, r6, -8
/* 80136188 001330E8 40 81 00 20 */ ble lbl_801361A8
/* 8013618C 001330EC 38 04 00 07 */ addi r0, r4, 7
/* 80136190 001330F0 54 00 E8 FE */ srwi r0, r0, 3
/* 80136194 001330F4 7C 09 03 A6 */ mtctr r0
/* 80136198 001330F8 2C 04 00 00 */ cmpwi r4, 0
/* 8013619C 001330FC 40 81 00 0C */ ble lbl_801361A8
lbl_801361A0:
/* 801361A0 00133100 38 63 00 08 */ addi r3, r3, 8
/* 801361A4 00133104 42 00 FF FC */ bdnz lbl_801361A0
lbl_801361A8:
/* 801361A8 00133108 7C 03 30 50 */ subf r0, r3, r6
/* 801361AC 0013310C 7C 09 03 A6 */ mtctr r0
/* 801361B0 00133110 7C 03 30 00 */ cmpw r3, r6
/* 801361B4 00133114 40 80 00 08 */ bge lbl_801361BC
lbl_801361B8:
/* 801361B8 00133118 42 00 00 00 */ bdnz lbl_801361B8
lbl_801361BC:
/* 801361BC 0013311C 38 00 00 00 */ li r0, 0
/* 801361C0 00133120 90 05 00 00 */ stw r0, 0(r5)
lbl_801361C4:
/* 801361C4 00133124 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 801361C8 00133128 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 801361CC 0013312C 7C 08 03 A6 */ mtlr r0
/* 801361D0 00133130 38 21 00 F0 */ addi r1, r1, 0xf0
/* 801361D4 00133134 4E 80 00 20 */ blr
.global __ct__8CBSGetupFv
__ct__8CBSGetupFv:
/* 801361D8 00133138 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801361DC 0013313C 3C 80 80 3E */ lis r4, lbl_803E1418@ha
/* 801361E0 00133140 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801361E4 00133144 38 00 FF FF */ li r0, -1
/* 801361E8 00133148 90 A3 00 00 */ stw r5, 0(r3)
/* 801361EC 0013314C 38 84 14 18 */ addi r4, r4, lbl_803E1418@l
/* 801361F0 00133150 90 83 00 00 */ stw r4, 0(r3)
/* 801361F4 00133154 90 03 00 04 */ stw r0, 4(r3)
/* 801361F8 00133158 4E 80 00 20 */ blr

View File

@ -0,0 +1,399 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__12CBSGroundHitFv
__dt__12CBSGroundHitFv:
/* 8013ED5C 0013BCBC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013ED60 0013BCC0 7C 08 02 A6 */ mflr r0
/* 8013ED64 0013BCC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013ED68 0013BCC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013ED6C 0013BCCC 7C 7F 1B 79 */ or. r31, r3, r3
/* 8013ED70 0013BCD0 41 82 00 30 */ beq lbl_8013EDA0
/* 8013ED74 0013BCD4 3C 60 80 3E */ lis r3, lbl_803E18B0@ha
/* 8013ED78 0013BCD8 38 03 18 B0 */ addi r0, r3, lbl_803E18B0@l
/* 8013ED7C 0013BCDC 90 1F 00 00 */ stw r0, 0(r31)
/* 8013ED80 0013BCE0 41 82 00 10 */ beq lbl_8013ED90
/* 8013ED84 0013BCE4 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8013ED88 0013BCE8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8013ED8C 0013BCEC 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013ED90:
/* 8013ED90 0013BCF0 7C 80 07 35 */ extsh. r0, r4
/* 8013ED94 0013BCF4 40 81 00 0C */ ble lbl_8013EDA0
/* 8013ED98 0013BCF8 7F E3 FB 78 */ mr r3, r31
/* 8013ED9C 0013BCFC 48 1D 6B 95 */ bl Free__7CMemoryFPCv
lbl_8013EDA0:
/* 8013EDA0 0013BD00 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013EDA4 0013BD04 7F E3 FB 78 */ mr r3, r31
/* 8013EDA8 0013BD08 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013EDAC 0013BD0C 7C 08 03 A6 */ mtlr r0
/* 8013EDB0 0013BD10 38 21 00 10 */ addi r1, r1, 0x10
/* 8013EDB4 0013BD14 4E 80 00 20 */ blr
.global GetBodyStateTransition__12CBSGroundHitFfR15CBodyController
GetBodyStateTransition__12CBSGroundHitFfR15CBodyController:
/* 8013EDB8 0013BD18 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013EDBC 0013BD1C 7C 08 02 A6 */ mflr r0
/* 8013EDC0 0013BD20 38 64 00 04 */ addi r3, r4, 4
/* 8013EDC4 0013BD24 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013EDC8 0013BD28 88 04 03 00 */ lbz r0, 0x300(r4)
/* 8013EDCC 0013BD2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013EDD0 0013BD30 41 82 00 20 */ beq lbl_8013EDF0
/* 8013EDD4 0013BD34 38 80 00 02 */ li r4, 2
/* 8013EDD8 0013BD38 4B FF 26 79 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013EDDC 0013BD3C 28 03 00 00 */ cmplwi r3, 0
/* 8013EDE0 0013BD40 38 60 00 02 */ li r3, 2
/* 8013EDE4 0013BD44 41 82 00 10 */ beq lbl_8013EDF4
/* 8013EDE8 0013BD48 38 60 00 04 */ li r3, 4
/* 8013EDEC 0013BD4C 48 00 00 08 */ b lbl_8013EDF4
lbl_8013EDF0:
/* 8013EDF0 0013BD50 38 60 FF FF */ li r3, -1
lbl_8013EDF4:
/* 8013EDF4 0013BD54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013EDF8 0013BD58 7C 08 03 A6 */ mtlr r0
/* 8013EDFC 0013BD5C 38 21 00 10 */ addi r1, r1, 0x10
/* 8013EE00 0013BD60 4E 80 00 20 */ blr
.global Shutdown__12CBSGroundHitFR15CBodyController
Shutdown__12CBSGroundHitFR15CBodyController:
/* 8013EE04 0013BD64 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013EE08 0013BD68 7C 08 02 A6 */ mflr r0
/* 8013EE0C 0013BD6C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013EE10 0013BD70 7C 80 23 78 */ mr r0, r4
/* 8013EE14 0013BD74 80 83 00 0C */ lwz r4, 0xc(r3)
/* 8013EE18 0013BD78 7C 03 03 78 */ mr r3, r0
/* 8013EE1C 0013BD7C 4B FF BD 89 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState
/* 8013EE20 0013BD80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013EE24 0013BD84 7C 08 03 A6 */ mtlr r0
/* 8013EE28 0013BD88 38 21 00 10 */ addi r1, r1, 0x10
/* 8013EE2C 0013BD8C 4E 80 00 20 */ blr
.global UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager
UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager:
/* 8013EE30 0013BD90 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8013EE34 0013BD94 7C 08 02 A6 */ mflr r0
/* 8013EE38 0013BD98 90 01 00 44 */ stw r0, 0x44(r1)
/* 8013EE3C 0013BD9C DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8013EE40 0013BDA0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8013EE44 0013BDA4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8013EE48 0013BDA8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8013EE4C 0013BDAC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8013EE50 0013BDB0 FF E0 08 90 */ fmr f31, f1
/* 8013EE54 0013BDB4 7C 7D 1B 78 */ mr r29, r3
/* 8013EE58 0013BDB8 7C 9E 23 78 */ mr r30, r4
/* 8013EE5C 0013BDBC 4B FF FF 5D */ bl GetBodyStateTransition__12CBSGroundHitFfR15CBodyController
/* 8013EE60 0013BDC0 7C 7F 1B 78 */ mr r31, r3
/* 8013EE64 0013BDC4 2C 1F FF FF */ cmpwi r31, -1
/* 8013EE68 0013BDC8 40 82 00 44 */ bne lbl_8013EEAC
/* 8013EE6C 0013BDCC C0 3D 00 08 */ lfs f1, 8(r29)
/* 8013EE70 0013BDD0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013EE74 0013BDD4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013EE78 0013BDD8 40 81 00 34 */ ble lbl_8013EEAC
/* 8013EE7C 0013BDDC C0 1D 00 04 */ lfs f0, 4(r29)
/* 8013EE80 0013BDE0 38 61 00 0C */ addi r3, r1, 0xc
/* 8013EE84 0013BDE4 38 81 00 08 */ addi r4, r1, 8
/* 8013EE88 0013BDE8 EC 00 07 F2 */ fmuls f0, f0, f31
/* 8013EE8C 0013BDEC D0 01 00 08 */ stfs f0, 8(r1)
/* 8013EE90 0013BDF0 48 1D 22 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 8013EE94 0013BDF4 7F C3 F3 78 */ mr r3, r30
/* 8013EE98 0013BDF8 38 81 00 0C */ addi r4, r1, 0xc
/* 8013EE9C 0013BDFC 4B FF B9 6D */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
/* 8013EEA0 0013BE00 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8013EEA4 0013BE04 EC 00 F8 28 */ fsubs f0, f0, f31
/* 8013EEA8 0013BE08 D0 1D 00 08 */ stfs f0, 8(r29)
lbl_8013EEAC:
/* 8013EEAC 0013BE0C 7F E3 FB 78 */ mr r3, r31
/* 8013EEB0 0013BE10 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8013EEB4 0013BE14 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8013EEB8 0013BE18 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8013EEBC 0013BE1C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8013EEC0 0013BE20 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8013EEC4 0013BE24 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8013EEC8 0013BE28 7C 08 03 A6 */ mtlr r0
/* 8013EECC 0013BE2C 38 21 00 40 */ addi r1, r1, 0x40
/* 8013EED0 0013BE30 4E 80 00 20 */ blr
.global Start__12CBSGroundHitFR15CBodyControllerR13CStateManager
Start__12CBSGroundHitFR15CBodyControllerR13CStateManager:
/* 8013EED4 0013BE34 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 8013EED8 0013BE38 7C 08 02 A6 */ mflr r0
/* 8013EEDC 0013BE3C 90 01 01 64 */ stw r0, 0x164(r1)
/* 8013EEE0 0013BE40 DB E1 01 50 */ stfd f31, 0x150(r1)
/* 8013EEE4 0013BE44 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0
/* 8013EEE8 0013BE48 BF 61 01 3C */ stmw r27, 0x13c(r1)
/* 8013EEEC 0013BE4C 7C 9E 23 78 */ mr r30, r4
/* 8013EEF0 0013BE50 7C 7D 1B 78 */ mr r29, r3
/* 8013EEF4 0013BE54 7C BB 2B 78 */ mr r27, r5
/* 8013EEF8 0013BE58 38 80 00 04 */ li r4, 4
/* 8013EEFC 0013BE5C 38 7E 00 04 */ addi r3, r30, 4
/* 8013EF00 0013BE60 4B FF 25 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013EF04 0013BE64 80 9E 00 00 */ lwz r4, 0(r30)
/* 8013EF08 0013BE68 7C 65 1B 78 */ mr r5, r3
/* 8013EF0C 0013BE6C 38 61 00 90 */ addi r3, r1, 0x90
/* 8013EF10 0013BE70 38 84 00 34 */ addi r4, r4, 0x34
/* 8013EF14 0013BE74 38 A5 00 08 */ addi r5, r5, 8
/* 8013EF18 0013BE78 48 1D 3B 0D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 8013EF1C 0013BE7C C0 21 00 94 */ lfs f1, 0x94(r1)
/* 8013EF20 0013BE80 C0 41 00 90 */ lfs f2, 0x90(r1)
/* 8013EF24 0013BE84 48 25 5D 49 */ bl atan2
/* 8013EF28 0013BE88 FC 80 08 18 */ frsp f4, f1
/* 8013EF2C 0013BE8C C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2)
/* 8013EF30 0013BE90 3C 00 43 30 */ lis r0, 0x4330
/* 8013EF34 0013BE94 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2)
/* 8013EF38 0013BE98 90 01 01 18 */ stw r0, 0x118(r1)
/* 8013EF3C 0013BE9C EC 44 00 32 */ fmuls f2, f4, f0
/* 8013EF40 0013BEA0 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2)
/* 8013EF44 0013BEA4 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013EF48 0013BEA8 FC 40 10 1E */ fctiwz f2, f2
/* 8013EF4C 0013BEAC D8 41 01 10 */ stfd f2, 0x110(r1)
/* 8013EF50 0013BEB0 80 01 01 14 */ lwz r0, 0x114(r1)
/* 8013EF54 0013BEB4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013EF58 0013BEB8 90 01 01 1C */ stw r0, 0x11c(r1)
/* 8013EF5C 0013BEBC C8 41 01 18 */ lfd f2, 0x118(r1)
/* 8013EF60 0013BEC0 EC 42 18 28 */ fsubs f2, f2, f3
/* 8013EF64 0013BEC4 EF E2 20 7C */ fnmsubs f31, f2, f1, f4
/* 8013EF68 0013BEC8 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8013EF6C 0013BECC 40 80 00 08 */ bge lbl_8013EF74
/* 8013EF70 0013BED0 EF FF 08 2A */ fadds f31, f31, f1
lbl_8013EF74:
/* 8013EF74 0013BED4 7F C3 F3 78 */ mr r3, r30
/* 8013EF78 0013BED8 4B FF BC 35 */ bl GetFallState__15CBodyControllerCFv
/* 8013EF7C 0013BEDC 7C 60 1B 78 */ mr r0, r3
/* 8013EF80 0013BEE0 7F C3 F3 78 */ mr r3, r30
/* 8013EF84 0013BEE4 7C 1F 03 78 */ mr r31, r0
/* 8013EF88 0013BEE8 4B FF B4 CD */ bl GetPASDatabase__15CBodyControllerCFv
/* 8013EF8C 0013BEEC 7C 60 1B 78 */ mr r0, r3
/* 8013EF90 0013BEF0 38 61 00 38 */ addi r3, r1, 0x38
/* 8013EF94 0013BEF4 7C 1C 03 78 */ mr r28, r0
/* 8013EF98 0013BEF8 48 1A 40 E5 */ bl NoParameter__12CPASAnimParmFv
/* 8013EF9C 0013BEFC 38 61 00 40 */ addi r3, r1, 0x40
/* 8013EFA0 0013BF00 48 1A 40 DD */ bl NoParameter__12CPASAnimParmFv
/* 8013EFA4 0013BF04 38 61 00 48 */ addi r3, r1, 0x48
/* 8013EFA8 0013BF08 48 1A 40 D5 */ bl NoParameter__12CPASAnimParmFv
/* 8013EFAC 0013BF0C 38 61 00 50 */ addi r3, r1, 0x50
/* 8013EFB0 0013BF10 48 1A 40 CD */ bl NoParameter__12CPASAnimParmFv
/* 8013EFB4 0013BF14 38 61 00 58 */ addi r3, r1, 0x58
/* 8013EFB8 0013BF18 48 1A 40 C5 */ bl NoParameter__12CPASAnimParmFv
/* 8013EFBC 0013BF1C 38 61 00 60 */ addi r3, r1, 0x60
/* 8013EFC0 0013BF20 48 1A 40 BD */ bl NoParameter__12CPASAnimParmFv
/* 8013EFC4 0013BF24 C0 02 9B 34 */ lfs f0, lbl_805AB854@sda21(r2)
/* 8013EFC8 0013BF28 38 61 00 68 */ addi r3, r1, 0x68
/* 8013EFCC 0013BF2C EC 20 07 F2 */ fmuls f1, f0, f31
/* 8013EFD0 0013BF30 48 1A 40 19 */ bl FromReal32__12CPASAnimParmFf
/* 8013EFD4 0013BF34 7F E4 FB 78 */ mr r4, r31
/* 8013EFD8 0013BF38 38 61 00 70 */ addi r3, r1, 0x70
/* 8013EFDC 0013BF3C 48 1A 3F A9 */ bl FromEnum__12CPASAnimParmFi
/* 8013EFE0 0013BF40 38 61 00 40 */ addi r3, r1, 0x40
/* 8013EFE4 0013BF44 38 01 00 38 */ addi r0, r1, 0x38
/* 8013EFE8 0013BF48 90 61 00 08 */ stw r3, 8(r1)
/* 8013EFEC 0013BF4C 38 61 00 C4 */ addi r3, r1, 0xc4
/* 8013EFF0 0013BF50 38 A1 00 70 */ addi r5, r1, 0x70
/* 8013EFF4 0013BF54 38 C1 00 68 */ addi r6, r1, 0x68
/* 8013EFF8 0013BF58 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013EFFC 0013BF5C 38 E1 00 60 */ addi r7, r1, 0x60
/* 8013F000 0013BF60 39 01 00 58 */ addi r8, r1, 0x58
/* 8013F004 0013BF64 39 21 00 50 */ addi r9, r1, 0x50
/* 8013F008 0013BF68 39 41 00 48 */ addi r10, r1, 0x48
/* 8013F00C 0013BF6C 38 80 00 0B */ li r4, 0xb
/* 8013F010 0013BF70 4B F3 E2 B5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013F014 0013BF74 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 8013F018 0013BF78 7F 84 E3 78 */ mr r4, r28
/* 8013F01C 0013BF7C 38 61 00 30 */ addi r3, r1, 0x30
/* 8013F020 0013BF80 38 A1 00 C4 */ addi r5, r1, 0xc4
/* 8013F024 0013BF84 38 E0 FF FF */ li r7, -1
/* 8013F028 0013BF88 48 1A 60 39 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8013F02C 0013BF8C 83 E1 00 34 */ lwz r31, 0x34(r1)
/* 8013F030 0013BF90 38 00 00 00 */ li r0, 0
/* 8013F034 0013BF94 C0 02 9B 38 */ lfs f0, lbl_805AB858@sda21(r2)
/* 8013F038 0013BF98 38 A0 FF FF */ li r5, -1
/* 8013F03C 0013BF9C 38 E0 00 01 */ li r7, 1
/* 8013F040 0013BFA0 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 8013F044 0013BFA4 7F C3 F3 78 */ mr r3, r30
/* 8013F048 0013BFA8 38 81 00 9C */ addi r4, r1, 0x9c
/* 8013F04C 0013BFAC 90 A1 00 A0 */ stw r5, 0xa0(r1)
/* 8013F050 0013BFB0 38 A0 00 00 */ li r5, 0
/* 8013F054 0013BFB4 38 C0 00 00 */ li r6, 0
/* 8013F058 0013BFB8 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 8013F05C 0013BFBC 98 E1 00 A8 */ stb r7, 0xa8(r1)
/* 8013F060 0013BFC0 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013F064 0013BFC4 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 8013F068 0013BFC8 98 01 00 B4 */ stb r0, 0xb4(r1)
/* 8013F06C 0013BFCC 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 8013F070 0013BFD0 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8013F074 0013BFD4 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 8013F078 0013BFD8 4B FF B8 A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8013F07C 0013BFDC 7F 83 E3 78 */ mr r3, r28
/* 8013F080 0013BFE0 38 80 00 0B */ li r4, 0xb
/* 8013F084 0013BFE4 48 1A 5E 41 */ bl GetAnimState__12CPASDatabaseCFi
/* 8013F088 0013BFE8 7C 7C 1B 78 */ mr r28, r3
/* 8013F08C 0013BFEC 7F E5 FB 78 */ mr r5, r31
/* 8013F090 0013BFF0 38 61 00 28 */ addi r3, r1, 0x28
/* 8013F094 0013BFF4 38 C0 00 02 */ li r6, 2
/* 8013F098 0013BFF8 7F 84 E3 78 */ mr r4, r28
/* 8013F09C 0013BFFC 48 1A 4F 59 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 8013F0A0 0013C000 80 81 00 28 */ lwz r4, 0x28(r1)
/* 8013F0A4 0013C004 38 61 00 88 */ addi r3, r1, 0x88
/* 8013F0A8 0013C008 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8013F0AC 0013C00C 90 81 00 88 */ stw r4, 0x88(r1)
/* 8013F0B0 0013C010 90 01 00 8C */ stw r0, 0x8c(r1)
/* 8013F0B4 0013C014 48 1A 3E B1 */ bl GetBoolValue__12CPASAnimParmCFv
/* 8013F0B8 0013C018 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013F0BC 0013C01C 40 82 01 50 */ bne lbl_8013F20C
/* 8013F0C0 0013C020 7F 84 E3 78 */ mr r4, r28
/* 8013F0C4 0013C024 7F E5 FB 78 */ mr r5, r31
/* 8013F0C8 0013C028 38 61 00 20 */ addi r3, r1, 0x20
/* 8013F0CC 0013C02C 38 C0 00 01 */ li r6, 1
/* 8013F0D0 0013C030 48 1A 4F 25 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 8013F0D4 0013C034 80 81 00 20 */ lwz r4, 0x20(r1)
/* 8013F0D8 0013C038 38 61 00 80 */ addi r3, r1, 0x80
/* 8013F0DC 0013C03C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013F0E0 0013C040 90 81 00 80 */ stw r4, 0x80(r1)
/* 8013F0E4 0013C044 90 01 00 84 */ stw r0, 0x84(r1)
/* 8013F0E8 0013C048 48 1A 3E 85 */ bl GetReal32Value__12CPASAnimParmCFv
/* 8013F0EC 0013C04C C0 02 9B 3C */ lfs f0, lbl_805AB85C@sda21(r2)
/* 8013F0F0 0013C050 3C 00 43 30 */ lis r0, 0x4330
/* 8013F0F4 0013C054 C0 42 9B 2C */ lfs f2, lbl_805AB84C@sda21(r2)
/* 8013F0F8 0013C058 EC A0 00 72 */ fmuls f5, f0, f1
/* 8013F0FC 0013C05C 90 01 01 10 */ stw r0, 0x110(r1)
/* 8013F100 0013C060 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2)
/* 8013F104 0013C064 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2)
/* 8013F108 0013C068 EC 9F 28 28 */ fsubs f4, f31, f5
/* 8013F10C 0013C06C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013F110 0013C070 EC 44 00 B2 */ fmuls f2, f4, f2
/* 8013F114 0013C074 FC 40 10 1E */ fctiwz f2, f2
/* 8013F118 0013C078 D8 41 01 18 */ stfd f2, 0x118(r1)
/* 8013F11C 0013C07C 80 01 01 1C */ lwz r0, 0x11c(r1)
/* 8013F120 0013C080 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F124 0013C084 90 01 01 14 */ stw r0, 0x114(r1)
/* 8013F128 0013C088 C8 41 01 10 */ lfd f2, 0x110(r1)
/* 8013F12C 0013C08C EC 42 18 28 */ fsubs f2, f2, f3
/* 8013F130 0013C090 EC C2 20 7C */ fnmsubs f6, f2, f1, f4
/* 8013F134 0013C094 FC 80 30 90 */ fmr f4, f6
/* 8013F138 0013C098 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 8013F13C 0013C09C 40 80 00 08 */ bge lbl_8013F144
/* 8013F140 0013C0A0 EC 86 08 2A */ fadds f4, f6, f1
lbl_8013F144:
/* 8013F144 0013C0A4 EC A5 F8 28 */ fsubs f5, f5, f31
/* 8013F148 0013C0A8 C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2)
/* 8013F14C 0013C0AC 3C 00 43 30 */ lis r0, 0x4330
/* 8013F150 0013C0B0 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2)
/* 8013F154 0013C0B4 90 01 01 28 */ stw r0, 0x128(r1)
/* 8013F158 0013C0B8 EC 45 00 32 */ fmuls f2, f5, f0
/* 8013F15C 0013C0BC C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2)
/* 8013F160 0013C0C0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013F164 0013C0C4 FC 40 10 1E */ fctiwz f2, f2
/* 8013F168 0013C0C8 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 8013F16C 0013C0CC D8 41 01 20 */ stfd f2, 0x120(r1)
/* 8013F170 0013C0D0 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8013F174 0013C0D4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F178 0013C0D8 90 01 01 2C */ stw r0, 0x12c(r1)
/* 8013F17C 0013C0DC C8 41 01 28 */ lfd f2, 0x128(r1)
/* 8013F180 0013C0E0 EC 42 18 28 */ fsubs f2, f2, f3
/* 8013F184 0013C0E4 EC 42 28 7C */ fnmsubs f2, f2, f1, f5
/* 8013F188 0013C0E8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8013F18C 0013C0EC 40 80 00 08 */ bge lbl_8013F194
/* 8013F190 0013C0F0 EC 42 08 2A */ fadds f2, f2, f1
lbl_8013F194:
/* 8013F194 0013C0F4 FC 02 20 40 */ fcmpo cr0, f2, f4
/* 8013F198 0013C0F8 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013F19C 0013C0FC 40 80 00 0C */ bge lbl_8013F1A8
/* 8013F1A0 0013C100 38 61 00 10 */ addi r3, r1, 0x10
/* 8013F1A4 0013C104 48 00 00 08 */ b lbl_8013F1AC
lbl_8013F1A8:
/* 8013F1A8 0013C108 38 61 00 14 */ addi r3, r1, 0x14
lbl_8013F1AC:
/* 8013F1AC 0013C10C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013F1B0 0013C110 C0 23 00 00 */ lfs f1, 0(r3)
/* 8013F1B4 0013C114 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 8013F1B8 0013C118 40 80 00 0C */ bge lbl_8013F1C4
/* 8013F1BC 0013C11C C0 02 9B 30 */ lfs f0, lbl_805AB850@sda21(r2)
/* 8013F1C0 0013C120 EC C6 00 2A */ fadds f6, f6, f0
lbl_8013F1C4:
/* 8013F1C4 0013C124 C0 02 9B 40 */ lfs f0, lbl_805AB860@sda21(r2)
/* 8013F1C8 0013C128 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 8013F1CC 0013C12C 40 81 00 0C */ ble lbl_8013F1D8
/* 8013F1D0 0013C130 FF E0 08 50 */ fneg f31, f1
/* 8013F1D4 0013C134 48 00 00 08 */ b lbl_8013F1DC
lbl_8013F1D8:
/* 8013F1D8 0013C138 FF E0 08 90 */ fmr f31, f1
lbl_8013F1DC:
/* 8013F1DC 0013C13C 7F C3 F3 78 */ mr r3, r30
/* 8013F1E0 0013C140 4B FF B6 D9 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 8013F1E4 0013C144 C0 42 9B 44 */ lfs f2, lbl_805AB864@sda21(r2)
/* 8013F1E8 0013C148 C0 02 9B 48 */ lfs f0, lbl_805AB868@sda21(r2)
/* 8013F1EC 0013C14C EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F1F0 0013C150 D0 3D 00 08 */ stfs f1, 8(r29)
/* 8013F1F4 0013C154 C0 3D 00 08 */ lfs f1, 8(r29)
/* 8013F1F8 0013C158 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013F1FC 0013C15C 40 81 00 08 */ ble lbl_8013F204
/* 8013F200 0013C160 EF FF 08 24 */ fdivs f31, f31, f1
lbl_8013F204:
/* 8013F204 0013C164 D3 FD 00 04 */ stfs f31, 4(r29)
/* 8013F208 0013C168 48 00 00 10 */ b lbl_8013F218
lbl_8013F20C:
/* 8013F20C 0013C16C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013F210 0013C170 D0 1D 00 08 */ stfs f0, 8(r29)
/* 8013F214 0013C174 D0 1D 00 04 */ stfs f0, 4(r29)
lbl_8013F218:
/* 8013F218 0013C178 7F 84 E3 78 */ mr r4, r28
/* 8013F21C 0013C17C 7F E5 FB 78 */ mr r5, r31
/* 8013F220 0013C180 38 61 00 18 */ addi r3, r1, 0x18
/* 8013F224 0013C184 38 C0 00 03 */ li r6, 3
/* 8013F228 0013C188 48 1A 4D CD */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 8013F22C 0013C18C 80 81 00 18 */ lwz r4, 0x18(r1)
/* 8013F230 0013C190 38 61 00 78 */ addi r3, r1, 0x78
/* 8013F234 0013C194 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8013F238 0013C198 90 81 00 78 */ stw r4, 0x78(r1)
/* 8013F23C 0013C19C 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8013F240 0013C1A0 48 1A 3D 1D */ bl GetEnumValue__12CPASAnimParmCFv
/* 8013F244 0013C1A4 34 A1 00 C8 */ addic. r5, r1, 0xc8
/* 8013F248 0013C1A8 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8013F24C 0013C1AC 41 82 00 58 */ beq lbl_8013F2A4
/* 8013F250 0013C1B0 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013F254 0013C1B4 38 60 00 00 */ li r3, 0
/* 8013F258 0013C1B8 2C 06 00 00 */ cmpwi r6, 0
/* 8013F25C 0013C1BC 40 81 00 40 */ ble lbl_8013F29C
/* 8013F260 0013C1C0 2C 06 00 08 */ cmpwi r6, 8
/* 8013F264 0013C1C4 38 86 FF F8 */ addi r4, r6, -8
/* 8013F268 0013C1C8 40 81 00 20 */ ble lbl_8013F288
/* 8013F26C 0013C1CC 38 04 00 07 */ addi r0, r4, 7
/* 8013F270 0013C1D0 54 00 E8 FE */ srwi r0, r0, 3
/* 8013F274 0013C1D4 7C 09 03 A6 */ mtctr r0
/* 8013F278 0013C1D8 2C 04 00 00 */ cmpwi r4, 0
/* 8013F27C 0013C1DC 40 81 00 0C */ ble lbl_8013F288
lbl_8013F280:
/* 8013F280 0013C1E0 38 63 00 08 */ addi r3, r3, 8
/* 8013F284 0013C1E4 42 00 FF FC */ bdnz lbl_8013F280
lbl_8013F288:
/* 8013F288 0013C1E8 7C 03 30 50 */ subf r0, r3, r6
/* 8013F28C 0013C1EC 7C 09 03 A6 */ mtctr r0
/* 8013F290 0013C1F0 7C 03 30 00 */ cmpw r3, r6
/* 8013F294 0013C1F4 40 80 00 08 */ bge lbl_8013F29C
lbl_8013F298:
/* 8013F298 0013C1F8 42 00 00 00 */ bdnz lbl_8013F298
lbl_8013F29C:
/* 8013F29C 0013C1FC 38 00 00 00 */ li r0, 0
/* 8013F2A0 0013C200 90 05 00 00 */ stw r0, 0(r5)
lbl_8013F2A4:
/* 8013F2A4 0013C204 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0
/* 8013F2A8 0013C208 CB E1 01 50 */ lfd f31, 0x150(r1)
/* 8013F2AC 0013C20C BB 61 01 3C */ lmw r27, 0x13c(r1)
/* 8013F2B0 0013C210 80 01 01 64 */ lwz r0, 0x164(r1)
/* 8013F2B4 0013C214 7C 08 03 A6 */ mtlr r0
/* 8013F2B8 0013C218 38 21 01 60 */ addi r1, r1, 0x160
/* 8013F2BC 0013C21C 4E 80 00 20 */ blr
.global __ct__12CBSGroundHitFv
__ct__12CBSGroundHitFv:
/* 8013F2C0 0013C220 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 8013F2C4 0013C224 3C 80 80 3E */ lis r4, lbl_803E18B0@ha
/* 8013F2C8 0013C228 38 05 13 18 */ addi r0, r5, lbl_803E1318@l
/* 8013F2CC 0013C22C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2)
/* 8013F2D0 0013C230 90 03 00 00 */ stw r0, 0(r3)
/* 8013F2D4 0013C234 38 84 18 B0 */ addi r4, r4, lbl_803E18B0@l
/* 8013F2D8 0013C238 38 00 FF FF */ li r0, -1
/* 8013F2DC 0013C23C 90 83 00 00 */ stw r4, 0(r3)
/* 8013F2E0 0013C240 D0 03 00 04 */ stfs f0, 4(r3)
/* 8013F2E4 0013C244 D0 03 00 08 */ stfs f0, 8(r3)
/* 8013F2E8 0013C248 90 03 00 0C */ stw r0, 0xc(r3)
/* 8013F2EC 0013C24C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,421 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__12CBSKnockBackFv
__dt__12CBSKnockBackFv:
/* 801361FC 0013315C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80136200 00133160 7C 08 02 A6 */ mflr r0
/* 80136204 00133164 90 01 00 14 */ stw r0, 0x14(r1)
/* 80136208 00133168 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013620C 0013316C 7C 7F 1B 79 */ or. r31, r3, r3
/* 80136210 00133170 41 82 00 30 */ beq lbl_80136240
/* 80136214 00133174 3C 60 80 3E */ lis r3, lbl_803E1450@ha
/* 80136218 00133178 38 03 14 50 */ addi r0, r3, lbl_803E1450@l
/* 8013621C 0013317C 90 1F 00 00 */ stw r0, 0(r31)
/* 80136220 00133180 41 82 00 10 */ beq lbl_80136230
/* 80136224 00133184 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80136228 00133188 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8013622C 0013318C 90 1F 00 00 */ stw r0, 0(r31)
lbl_80136230:
/* 80136230 00133190 7C 80 07 35 */ extsh. r0, r4
/* 80136234 00133194 40 81 00 0C */ ble lbl_80136240
/* 80136238 00133198 7F E3 FB 78 */ mr r3, r31
/* 8013623C 0013319C 48 1D F6 F5 */ bl Free__7CMemoryFPCv
lbl_80136240:
/* 80136240 001331A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80136244 001331A4 7F E3 FB 78 */ mr r3, r31
/* 80136248 001331A8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013624C 001331AC 7C 08 03 A6 */ mtlr r0
/* 80136250 001331B0 38 21 00 10 */ addi r1, r1, 0x10
/* 80136254 001331B4 4E 80 00 20 */ blr
.global IsMoving__12CBSKnockBackCFv
IsMoving__12CBSKnockBackCFv:
/* 80136258 001331B8 38 60 00 01 */ li r3, 1
/* 8013625C 001331BC 4E 80 00 20 */ blr
.global GetBodyStateTransition__12CBSKnockBackFfR15CBodyController
GetBodyStateTransition__12CBSKnockBackFfR15CBodyController:
/* 80136260 001331C0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80136264 001331C4 7C 08 02 A6 */ mflr r0
/* 80136268 001331C8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013626C 001331CC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80136270 001331D0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80136274 001331D4 7C 9E 23 78 */ mr r30, r4
/* 80136278 001331D8 3B FE 00 04 */ addi r31, r30, 4
/* 8013627C 001331DC 38 80 00 0F */ li r4, 0xf
/* 80136280 001331E0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80136284 001331E4 7C 7D 1B 78 */ mr r29, r3
/* 80136288 001331E8 7F E3 FB 78 */ mr r3, r31
/* 8013628C 001331EC 4B FF B1 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80136290 001331F0 28 03 00 00 */ cmplwi r3, 0
/* 80136294 001331F4 41 82 00 0C */ beq lbl_801362A0
/* 80136298 001331F8 38 60 00 0E */ li r3, 0xe
/* 8013629C 001331FC 48 00 00 80 */ b lbl_8013631C
lbl_801362A0:
/* 801362A0 00133200 7F E3 FB 78 */ mr r3, r31
/* 801362A4 00133204 38 80 00 03 */ li r4, 3
/* 801362A8 00133208 4B FF B1 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801362AC 0013320C 28 03 00 00 */ cmplwi r3, 0
/* 801362B0 00133210 41 82 00 0C */ beq lbl_801362BC
/* 801362B4 00133214 38 60 00 00 */ li r3, 0
/* 801362B8 00133218 48 00 00 64 */ b lbl_8013631C
lbl_801362BC:
/* 801362BC 0013321C 7F E3 FB 78 */ mr r3, r31
/* 801362C0 00133220 38 80 00 09 */ li r4, 9
/* 801362C4 00133224 4B FF B1 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801362C8 00133228 28 03 00 00 */ cmplwi r3, 0
/* 801362CC 0013322C 41 82 00 0C */ beq lbl_801362D8
/* 801362D0 00133230 38 60 00 0A */ li r3, 0xa
/* 801362D4 00133234 48 00 00 48 */ b lbl_8013631C
lbl_801362D8:
/* 801362D8 00133238 7F E3 FB 78 */ mr r3, r31
/* 801362DC 0013323C 38 80 00 04 */ li r4, 4
/* 801362E0 00133240 4B FF B1 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801362E4 00133244 28 03 00 00 */ cmplwi r3, 0
/* 801362E8 00133248 41 82 00 1C */ beq lbl_80136304
/* 801362EC 0013324C C0 3D 00 04 */ lfs f1, 4(r29)
/* 801362F0 00133250 C0 02 99 F8 */ lfs f0, lbl_805AB718@sda21(r2)
/* 801362F4 00133254 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801362F8 00133258 40 81 00 0C */ ble lbl_80136304
/* 801362FC 0013325C 38 60 00 06 */ li r3, 6
/* 80136300 00133260 48 00 00 1C */ b lbl_8013631C
lbl_80136304:
/* 80136304 00133264 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80136308 00133268 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013630C 0013326C 41 82 00 0C */ beq lbl_80136318
/* 80136310 00133270 38 60 00 05 */ li r3, 5
/* 80136314 00133274 48 00 00 08 */ b lbl_8013631C
lbl_80136318:
/* 80136318 00133278 38 60 FF FF */ li r3, -1
lbl_8013631C:
/* 8013631C 0013327C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80136320 00133280 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80136324 00133284 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80136328 00133288 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013632C 0013328C 7C 08 03 A6 */ mtlr r0
/* 80136330 00133290 38 21 00 20 */ addi r1, r1, 0x20
/* 80136334 00133294 4E 80 00 20 */ blr
.global Shutdown__12CBSKnockBackFR15CBodyController
Shutdown__12CBSKnockBackFR15CBodyController:
/* 80136338 00133298 4E 80 00 20 */ blr
.global UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager
UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager:
/* 8013633C 0013329C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80136340 001332A0 7C 08 02 A6 */ mflr r0
/* 80136344 001332A4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80136348 001332A8 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8013634C 001332AC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80136350 001332B0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80136354 001332B4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80136358 001332B8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8013635C 001332BC FF E0 08 90 */ fmr f31, f1
/* 80136360 001332C0 7C 7D 1B 78 */ mr r29, r3
/* 80136364 001332C4 7C 9E 23 78 */ mr r30, r4
/* 80136368 001332C8 4B FF FE F9 */ bl GetBodyStateTransition__12CBSKnockBackFfR15CBodyController
/* 8013636C 001332CC 7C 7F 1B 78 */ mr r31, r3
/* 80136370 001332D0 2C 1F FF FF */ cmpwi r31, -1
/* 80136374 001332D4 40 82 00 50 */ bne lbl_801363C4
/* 80136378 001332D8 C0 3D 00 04 */ lfs f1, 4(r29)
/* 8013637C 001332DC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 80136380 001332E0 EC 21 F8 2A */ fadds f1, f1, f31
/* 80136384 001332E4 D0 3D 00 04 */ stfs f1, 4(r29)
/* 80136388 001332E8 C0 3D 00 0C */ lfs f1, 0xc(r29)
/* 8013638C 001332EC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80136390 001332F0 40 81 00 34 */ ble lbl_801363C4
/* 80136394 001332F4 C0 1D 00 08 */ lfs f0, 8(r29)
/* 80136398 001332F8 38 61 00 0C */ addi r3, r1, 0xc
/* 8013639C 001332FC 38 81 00 08 */ addi r4, r1, 8
/* 801363A0 00133300 EC 00 07 F2 */ fmuls f0, f0, f31
/* 801363A4 00133304 D0 01 00 08 */ stfs f0, 8(r1)
/* 801363A8 00133308 48 1D AD 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 801363AC 0013330C 7F C3 F3 78 */ mr r3, r30
/* 801363B0 00133310 38 81 00 0C */ addi r4, r1, 0xc
/* 801363B4 00133314 48 00 44 55 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
/* 801363B8 00133318 C0 1D 00 0C */ lfs f0, 0xc(r29)
/* 801363BC 0013331C EC 00 F8 28 */ fsubs f0, f0, f31
/* 801363C0 00133320 D0 1D 00 0C */ stfs f0, 0xc(r29)
lbl_801363C4:
/* 801363C4 00133324 7F E3 FB 78 */ mr r3, r31
/* 801363C8 00133328 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 801363CC 0013332C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 801363D0 00133330 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 801363D4 00133334 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801363D8 00133338 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 801363DC 0013333C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 801363E0 00133340 7C 08 03 A6 */ mtlr r0
/* 801363E4 00133344 38 21 00 40 */ addi r1, r1, 0x40
/* 801363E8 00133348 4E 80 00 20 */ blr
.global Start__12CBSKnockBackFR15CBodyControllerR13CStateManager
Start__12CBSKnockBackFR15CBodyControllerR13CStateManager:
/* 801363EC 0013334C 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 801363F0 00133350 7C 08 02 A6 */ mflr r0
/* 801363F4 00133354 90 01 01 54 */ stw r0, 0x154(r1)
/* 801363F8 00133358 DB E1 01 40 */ stfd f31, 0x140(r1)
/* 801363FC 0013335C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0
/* 80136400 00133360 BF 61 01 2C */ stmw r27, 0x12c(r1)
/* 80136404 00133364 7C 9F 23 78 */ mr r31, r4
/* 80136408 00133368 7C 7E 1B 78 */ mr r30, r3
/* 8013640C 0013336C 7C BB 2B 78 */ mr r27, r5
/* 80136410 00133370 38 80 00 04 */ li r4, 4
/* 80136414 00133374 38 7F 00 04 */ addi r3, r31, 4
/* 80136418 00133378 4B FF B0 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013641C 0013337C 80 9F 00 00 */ lwz r4, 0(r31)
/* 80136420 00133380 7C 7D 1B 78 */ mr r29, r3
/* 80136424 00133384 38 61 00 80 */ addi r3, r1, 0x80
/* 80136428 00133388 38 84 00 34 */ addi r4, r4, 0x34
/* 8013642C 0013338C 38 BD 00 08 */ addi r5, r29, 8
/* 80136430 00133390 48 1D C5 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80136434 00133394 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80136438 00133398 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 8013643C 0013339C 48 25 E8 31 */ bl atan2
/* 80136440 001333A0 FC 80 08 18 */ frsp f4, f1
/* 80136444 001333A4 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2)
/* 80136448 001333A8 3C 00 43 30 */ lis r0, 0x4330
/* 8013644C 001333AC C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2)
/* 80136450 001333B0 90 01 01 08 */ stw r0, 0x108(r1)
/* 80136454 001333B4 EC 44 00 32 */ fmuls f2, f4, f0
/* 80136458 001333B8 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2)
/* 8013645C 001333BC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 80136460 001333C0 FC 40 10 1E */ fctiwz f2, f2
/* 80136464 001333C4 D8 41 01 00 */ stfd f2, 0x100(r1)
/* 80136468 001333C8 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8013646C 001333CC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80136470 001333D0 90 01 01 0C */ stw r0, 0x10c(r1)
/* 80136474 001333D4 C8 41 01 08 */ lfd f2, 0x108(r1)
/* 80136478 001333D8 EC 42 18 28 */ fsubs f2, f2, f3
/* 8013647C 001333DC EF E2 20 7C */ fnmsubs f31, f2, f1, f4
/* 80136480 001333E0 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80136484 001333E4 40 80 00 08 */ bge lbl_8013648C
/* 80136488 001333E8 EF FF 08 2A */ fadds f31, f31, f1
lbl_8013648C:
/* 8013648C 001333EC 7F E3 FB 78 */ mr r3, r31
/* 80136490 001333F0 48 00 3F C5 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80136494 001333F4 83 BD 00 14 */ lwz r29, 0x14(r29)
/* 80136498 001333F8 7C 7C 1B 78 */ mr r28, r3
/* 8013649C 001333FC 38 61 00 30 */ addi r3, r1, 0x30
/* 801364A0 00133400 48 1A CB DD */ bl NoParameter__12CPASAnimParmFv
/* 801364A4 00133404 38 61 00 38 */ addi r3, r1, 0x38
/* 801364A8 00133408 48 1A CB D5 */ bl NoParameter__12CPASAnimParmFv
/* 801364AC 0013340C 38 61 00 40 */ addi r3, r1, 0x40
/* 801364B0 00133410 48 1A CB CD */ bl NoParameter__12CPASAnimParmFv
/* 801364B4 00133414 38 61 00 48 */ addi r3, r1, 0x48
/* 801364B8 00133418 48 1A CB C5 */ bl NoParameter__12CPASAnimParmFv
/* 801364BC 0013341C 38 61 00 50 */ addi r3, r1, 0x50
/* 801364C0 00133420 48 1A CB BD */ bl NoParameter__12CPASAnimParmFv
/* 801364C4 00133424 38 61 00 58 */ addi r3, r1, 0x58
/* 801364C8 00133428 48 1A CB B5 */ bl NoParameter__12CPASAnimParmFv
/* 801364CC 0013342C 7F A4 EB 78 */ mr r4, r29
/* 801364D0 00133430 38 61 00 60 */ addi r3, r1, 0x60
/* 801364D4 00133434 48 1A CA B1 */ bl FromEnum__12CPASAnimParmFi
/* 801364D8 00133438 C0 02 9A 08 */ lfs f0, lbl_805AB728@sda21(r2)
/* 801364DC 0013343C 38 61 00 68 */ addi r3, r1, 0x68
/* 801364E0 00133440 EC 20 07 F2 */ fmuls f1, f0, f31
/* 801364E4 00133444 48 1A CB 05 */ bl FromReal32__12CPASAnimParmFf
/* 801364E8 00133448 38 61 00 38 */ addi r3, r1, 0x38
/* 801364EC 0013344C 38 01 00 30 */ addi r0, r1, 0x30
/* 801364F0 00133450 90 61 00 08 */ stw r3, 8(r1)
/* 801364F4 00133454 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801364F8 00133458 38 A1 00 68 */ addi r5, r1, 0x68
/* 801364FC 0013345C 38 C1 00 60 */ addi r6, r1, 0x60
/* 80136500 00133460 90 01 00 0C */ stw r0, 0xc(r1)
/* 80136504 00133464 38 E1 00 58 */ addi r7, r1, 0x58
/* 80136508 00133468 39 01 00 50 */ addi r8, r1, 0x50
/* 8013650C 0013346C 39 21 00 48 */ addi r9, r1, 0x48
/* 80136510 00133470 39 41 00 40 */ addi r10, r1, 0x40
/* 80136514 00133474 38 80 00 06 */ li r4, 6
/* 80136518 00133478 4B F4 6D AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013651C 0013347C 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 80136520 00133480 7F 84 E3 78 */ mr r4, r28
/* 80136524 00133484 38 61 00 28 */ addi r3, r1, 0x28
/* 80136528 00133488 38 A1 00 B4 */ addi r5, r1, 0xb4
/* 8013652C 0013348C 38 E0 FF FF */ li r7, -1
/* 80136530 00133490 48 1A EB 31 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80136534 00133494 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 80136538 00133498 38 00 00 00 */ li r0, 0
/* 8013653C 0013349C C0 02 9A 0C */ lfs f0, lbl_805AB72C@sda21(r2)
/* 80136540 001334A0 38 A0 FF FF */ li r5, -1
/* 80136544 001334A4 38 E0 00 01 */ li r7, 1
/* 80136548 001334A8 93 A1 00 8C */ stw r29, 0x8c(r1)
/* 8013654C 001334AC 7F E3 FB 78 */ mr r3, r31
/* 80136550 001334B0 38 81 00 8C */ addi r4, r1, 0x8c
/* 80136554 001334B4 90 A1 00 90 */ stw r5, 0x90(r1)
/* 80136558 001334B8 38 A0 00 00 */ li r5, 0
/* 8013655C 001334BC 38 C0 00 00 */ li r6, 0
/* 80136560 001334C0 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 80136564 001334C4 98 E1 00 98 */ stb r7, 0x98(r1)
/* 80136568 001334C8 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8013656C 001334CC 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 80136570 001334D0 98 01 00 A4 */ stb r0, 0xa4(r1)
/* 80136574 001334D4 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 80136578 001334D8 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013657C 001334DC 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80136580 001334E0 48 00 43 9D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80136584 001334E4 7F 83 E3 78 */ mr r3, r28
/* 80136588 001334E8 38 80 00 06 */ li r4, 6
/* 8013658C 001334EC 48 1A E9 39 */ bl GetAnimState__12CPASDatabaseCFi
/* 80136590 001334F0 7C 7C 1B 78 */ mr r28, r3
/* 80136594 001334F4 7F A5 EB 78 */ mr r5, r29
/* 80136598 001334F8 38 61 00 20 */ addi r3, r1, 0x20
/* 8013659C 001334FC 38 C0 00 02 */ li r6, 2
/* 801365A0 00133500 7F 84 E3 78 */ mr r4, r28
/* 801365A4 00133504 48 1A DA 51 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 801365A8 00133508 80 81 00 20 */ lwz r4, 0x20(r1)
/* 801365AC 0013350C 38 61 00 78 */ addi r3, r1, 0x78
/* 801365B0 00133510 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801365B4 00133514 90 81 00 78 */ stw r4, 0x78(r1)
/* 801365B8 00133518 90 01 00 7C */ stw r0, 0x7c(r1)
/* 801365BC 0013351C 48 1A C9 A9 */ bl GetBoolValue__12CPASAnimParmCFv
/* 801365C0 00133520 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801365C4 00133524 40 82 01 50 */ bne lbl_80136714
/* 801365C8 00133528 7F 84 E3 78 */ mr r4, r28
/* 801365CC 0013352C 7F A5 EB 78 */ mr r5, r29
/* 801365D0 00133530 38 61 00 18 */ addi r3, r1, 0x18
/* 801365D4 00133534 38 C0 00 00 */ li r6, 0
/* 801365D8 00133538 48 1A DA 1D */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 801365DC 0013353C 80 81 00 18 */ lwz r4, 0x18(r1)
/* 801365E0 00133540 38 61 00 70 */ addi r3, r1, 0x70
/* 801365E4 00133544 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 801365E8 00133548 90 81 00 70 */ stw r4, 0x70(r1)
/* 801365EC 0013354C 90 01 00 74 */ stw r0, 0x74(r1)
/* 801365F0 00133550 48 1A C9 7D */ bl GetReal32Value__12CPASAnimParmCFv
/* 801365F4 00133554 C0 02 9A 10 */ lfs f0, lbl_805AB730@sda21(r2)
/* 801365F8 00133558 3C 00 43 30 */ lis r0, 0x4330
/* 801365FC 0013355C C0 42 9A 00 */ lfs f2, lbl_805AB720@sda21(r2)
/* 80136600 00133560 EC A0 00 72 */ fmuls f5, f0, f1
/* 80136604 00133564 90 01 01 00 */ stw r0, 0x100(r1)
/* 80136608 00133568 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2)
/* 8013660C 0013356C C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2)
/* 80136610 00133570 EC 9F 28 28 */ fsubs f4, f31, f5
/* 80136614 00133574 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 80136618 00133578 EC 44 00 B2 */ fmuls f2, f4, f2
/* 8013661C 0013357C FC 40 10 1E */ fctiwz f2, f2
/* 80136620 00133580 D8 41 01 08 */ stfd f2, 0x108(r1)
/* 80136624 00133584 80 01 01 0C */ lwz r0, 0x10c(r1)
/* 80136628 00133588 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013662C 0013358C 90 01 01 04 */ stw r0, 0x104(r1)
/* 80136630 00133590 C8 41 01 00 */ lfd f2, 0x100(r1)
/* 80136634 00133594 EC 42 18 28 */ fsubs f2, f2, f3
/* 80136638 00133598 EC C2 20 7C */ fnmsubs f6, f2, f1, f4
/* 8013663C 0013359C FC 80 30 90 */ fmr f4, f6
/* 80136640 001335A0 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80136644 001335A4 40 80 00 08 */ bge lbl_8013664C
/* 80136648 001335A8 EC 86 08 2A */ fadds f4, f6, f1
lbl_8013664C:
/* 8013664C 001335AC EC A5 F8 28 */ fsubs f5, f5, f31
/* 80136650 001335B0 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2)
/* 80136654 001335B4 3C 00 43 30 */ lis r0, 0x4330
/* 80136658 001335B8 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2)
/* 8013665C 001335BC 90 01 01 18 */ stw r0, 0x118(r1)
/* 80136660 001335C0 EC 45 00 32 */ fmuls f2, f5, f0
/* 80136664 001335C4 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2)
/* 80136668 001335C8 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 8013666C 001335CC FC 40 10 1E */ fctiwz f2, f2
/* 80136670 001335D0 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 80136674 001335D4 D8 41 01 10 */ stfd f2, 0x110(r1)
/* 80136678 001335D8 80 01 01 14 */ lwz r0, 0x114(r1)
/* 8013667C 001335DC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80136680 001335E0 90 01 01 1C */ stw r0, 0x11c(r1)
/* 80136684 001335E4 C8 41 01 18 */ lfd f2, 0x118(r1)
/* 80136688 001335E8 EC 42 18 28 */ fsubs f2, f2, f3
/* 8013668C 001335EC EC 42 28 7C */ fnmsubs f2, f2, f1, f5
/* 80136690 001335F0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80136694 001335F4 40 80 00 08 */ bge lbl_8013669C
/* 80136698 001335F8 EC 42 08 2A */ fadds f2, f2, f1
lbl_8013669C:
/* 8013669C 001335FC FC 02 20 40 */ fcmpo cr0, f2, f4
/* 801366A0 00133600 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 801366A4 00133604 40 80 00 0C */ bge lbl_801366B0
/* 801366A8 00133608 38 61 00 10 */ addi r3, r1, 0x10
/* 801366AC 0013360C 48 00 00 08 */ b lbl_801366B4
lbl_801366B0:
/* 801366B0 00133610 38 61 00 14 */ addi r3, r1, 0x14
lbl_801366B4:
/* 801366B4 00133614 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 801366B8 00133618 C0 23 00 00 */ lfs f1, 0(r3)
/* 801366BC 0013361C FC 06 00 40 */ fcmpo cr0, f6, f0
/* 801366C0 00133620 40 80 00 0C */ bge lbl_801366CC
/* 801366C4 00133624 C0 02 9A 04 */ lfs f0, lbl_805AB724@sda21(r2)
/* 801366C8 00133628 EC C6 00 2A */ fadds f6, f6, f0
lbl_801366CC:
/* 801366CC 0013362C C0 02 9A 14 */ lfs f0, lbl_805AB734@sda21(r2)
/* 801366D0 00133630 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 801366D4 00133634 40 81 00 0C */ ble lbl_801366E0
/* 801366D8 00133638 FF E0 08 50 */ fneg f31, f1
/* 801366DC 0013363C 48 00 00 08 */ b lbl_801366E4
lbl_801366E0:
/* 801366E0 00133640 FF E0 08 90 */ fmr f31, f1
lbl_801366E4:
/* 801366E4 00133644 7F E3 FB 78 */ mr r3, r31
/* 801366E8 00133648 48 00 41 D1 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 801366EC 0013364C C0 42 9A 18 */ lfs f2, lbl_805AB738@sda21(r2)
/* 801366F0 00133650 C0 02 9A 1C */ lfs f0, lbl_805AB73C@sda21(r2)
/* 801366F4 00133654 EC 22 00 72 */ fmuls f1, f2, f1
/* 801366F8 00133658 D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 801366FC 0013365C C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 80136700 00133660 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80136704 00133664 40 81 00 08 */ ble lbl_8013670C
/* 80136708 00133668 EF FF 08 24 */ fdivs f31, f31, f1
lbl_8013670C:
/* 8013670C 0013366C D3 FE 00 08 */ stfs f31, 8(r30)
/* 80136710 00133670 48 00 00 10 */ b lbl_80136720
lbl_80136714:
/* 80136714 00133674 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 80136718 00133678 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 8013671C 0013367C D0 1E 00 08 */ stfs f0, 8(r30)
lbl_80136720:
/* 80136720 00133680 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 80136724 00133684 34 A1 00 B8 */ addic. r5, r1, 0xb8
/* 80136728 00133688 D0 1E 00 04 */ stfs f0, 4(r30)
/* 8013672C 0013368C 41 82 00 58 */ beq lbl_80136784
/* 80136730 00133690 80 C5 00 00 */ lwz r6, 0(r5)
/* 80136734 00133694 38 60 00 00 */ li r3, 0
/* 80136738 00133698 2C 06 00 00 */ cmpwi r6, 0
/* 8013673C 0013369C 40 81 00 40 */ ble lbl_8013677C
/* 80136740 001336A0 2C 06 00 08 */ cmpwi r6, 8
/* 80136744 001336A4 38 86 FF F8 */ addi r4, r6, -8
/* 80136748 001336A8 40 81 00 20 */ ble lbl_80136768
/* 8013674C 001336AC 38 04 00 07 */ addi r0, r4, 7
/* 80136750 001336B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80136754 001336B4 7C 09 03 A6 */ mtctr r0
/* 80136758 001336B8 2C 04 00 00 */ cmpwi r4, 0
/* 8013675C 001336BC 40 81 00 0C */ ble lbl_80136768
lbl_80136760:
/* 80136760 001336C0 38 63 00 08 */ addi r3, r3, 8
/* 80136764 001336C4 42 00 FF FC */ bdnz lbl_80136760
lbl_80136768:
/* 80136768 001336C8 7C 03 30 50 */ subf r0, r3, r6
/* 8013676C 001336CC 7C 09 03 A6 */ mtctr r0
/* 80136770 001336D0 7C 03 30 00 */ cmpw r3, r6
/* 80136774 001336D4 40 80 00 08 */ bge lbl_8013677C
lbl_80136778:
/* 80136778 001336D8 42 00 00 00 */ bdnz lbl_80136778
lbl_8013677C:
/* 8013677C 001336DC 38 00 00 00 */ li r0, 0
/* 80136780 001336E0 90 05 00 00 */ stw r0, 0(r5)
lbl_80136784:
/* 80136784 001336E4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0
/* 80136788 001336E8 CB E1 01 40 */ lfd f31, 0x140(r1)
/* 8013678C 001336EC BB 61 01 2C */ lmw r27, 0x12c(r1)
/* 80136790 001336F0 80 01 01 54 */ lwz r0, 0x154(r1)
/* 80136794 001336F4 7C 08 03 A6 */ mtlr r0
/* 80136798 001336F8 38 21 01 50 */ addi r1, r1, 0x150
/* 8013679C 001336FC 4E 80 00 20 */ blr
.global __ct__12CBSKnockBackFv
__ct__12CBSKnockBackFv:
/* 801367A0 00133700 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801367A4 00133704 3C 80 80 3E */ lis r4, lbl_803E1450@ha
/* 801367A8 00133708 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801367AC 0013370C C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2)
/* 801367B0 00133710 90 A3 00 00 */ stw r5, 0(r3)
/* 801367B4 00133714 38 04 14 50 */ addi r0, r4, lbl_803E1450@l
/* 801367B8 00133718 90 03 00 00 */ stw r0, 0(r3)
/* 801367BC 0013371C D0 03 00 04 */ stfs f0, 4(r3)
/* 801367C0 00133720 D0 03 00 08 */ stfs f0, 8(r3)
/* 801367C4 00133724 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 801367C8 00133728 4E 80 00 20 */ blr

View File

@ -0,0 +1,259 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__14CBSLieOnGroundFv
__dt__14CBSLieOnGroundFv:
/* 801367CC 0013372C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801367D0 00133730 7C 08 02 A6 */ mflr r0
/* 801367D4 00133734 90 01 00 14 */ stw r0, 0x14(r1)
/* 801367D8 00133738 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801367DC 0013373C 7C 7F 1B 79 */ or. r31, r3, r3
/* 801367E0 00133740 41 82 00 30 */ beq lbl_80136810
/* 801367E4 00133744 3C 60 80 3E */ lis r3, lbl_803E1488@ha
/* 801367E8 00133748 38 03 14 88 */ addi r0, r3, lbl_803E1488@l
/* 801367EC 0013374C 90 1F 00 00 */ stw r0, 0(r31)
/* 801367F0 00133750 41 82 00 10 */ beq lbl_80136800
/* 801367F4 00133754 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 801367F8 00133758 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 801367FC 0013375C 90 1F 00 00 */ stw r0, 0(r31)
lbl_80136800:
/* 80136800 00133760 7C 80 07 35 */ extsh. r0, r4
/* 80136804 00133764 40 81 00 0C */ ble lbl_80136810
/* 80136808 00133768 7F E3 FB 78 */ mr r3, r31
/* 8013680C 0013376C 48 1D F1 25 */ bl Free__7CMemoryFPCv
lbl_80136810:
/* 80136810 00133770 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80136814 00133774 7F E3 FB 78 */ mr r3, r31
/* 80136818 00133778 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013681C 0013377C 7C 08 03 A6 */ mtlr r0
/* 80136820 00133780 38 21 00 10 */ addi r1, r1, 0x10
/* 80136824 00133784 4E 80 00 20 */ blr
.global GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController
GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController:
/* 80136828 00133788 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013682C 0013378C 7C 08 02 A6 */ mflr r0
/* 80136830 00133790 90 01 00 14 */ stw r0, 0x14(r1)
/* 80136834 00133794 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80136838 00133798 3B E4 00 04 */ addi r31, r4, 4
/* 8013683C 0013379C 38 80 00 02 */ li r4, 2
/* 80136840 001337A0 93 C1 00 08 */ stw r30, 8(r1)
/* 80136844 001337A4 7C 7E 1B 78 */ mr r30, r3
/* 80136848 001337A8 7F E3 FB 78 */ mr r3, r31
/* 8013684C 001337AC 4B FF AC 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80136850 001337B0 28 03 00 00 */ cmplwi r3, 0
/* 80136854 001337B4 41 82 00 0C */ beq lbl_80136860
/* 80136858 001337B8 38 60 00 04 */ li r3, 4
/* 8013685C 001337BC 48 00 00 60 */ b lbl_801368BC
lbl_80136860:
/* 80136860 001337C0 88 1E 00 04 */ lbz r0, 4(r30)
/* 80136864 001337C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80136868 001337C8 41 82 00 20 */ beq lbl_80136888
/* 8013686C 001337CC 7F E3 FB 78 */ mr r3, r31
/* 80136870 001337D0 38 80 00 04 */ li r4, 4
/* 80136874 001337D4 4B FF AB DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80136878 001337D8 28 03 00 00 */ cmplwi r3, 0
/* 8013687C 001337DC 41 82 00 0C */ beq lbl_80136888
/* 80136880 001337E0 38 60 00 0B */ li r3, 0xb
/* 80136884 001337E4 48 00 00 38 */ b lbl_801368BC
lbl_80136888:
/* 80136888 001337E8 7F E3 FB 78 */ mr r3, r31
/* 8013688C 001337EC 38 80 00 16 */ li r4, 0x16
/* 80136890 001337F0 4B FF AB C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80136894 001337F4 28 03 00 00 */ cmplwi r3, 0
/* 80136898 001337F8 40 82 00 20 */ bne lbl_801368B8
/* 8013689C 001337FC 7F E3 FB 78 */ mr r3, r31
/* 801368A0 00133800 38 80 00 00 */ li r4, 0
/* 801368A4 00133804 4B FF AB AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801368A8 00133808 28 03 00 00 */ cmplwi r3, 0
/* 801368AC 0013380C 41 82 00 0C */ beq lbl_801368B8
/* 801368B0 00133810 38 60 00 01 */ li r3, 1
/* 801368B4 00133814 48 00 00 08 */ b lbl_801368BC
lbl_801368B8:
/* 801368B8 00133818 38 60 FF FF */ li r3, -1
lbl_801368BC:
/* 801368BC 0013381C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801368C0 00133820 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801368C4 00133824 83 C1 00 08 */ lwz r30, 8(r1)
/* 801368C8 00133828 7C 08 03 A6 */ mtlr r0
/* 801368CC 0013382C 38 21 00 10 */ addi r1, r1, 0x10
/* 801368D0 00133830 4E 80 00 20 */ blr
.global Shutdown__14CBSLieOnGroundFR15CBodyController
Shutdown__14CBSLieOnGroundFR15CBodyController:
/* 801368D4 00133834 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801368D8 00133838 7C 08 02 A6 */ mflr r0
/* 801368DC 0013383C 7C 83 23 78 */ mr r3, r4
/* 801368E0 00133840 38 80 00 01 */ li r4, 1
/* 801368E4 00133844 90 01 00 14 */ stw r0, 0x14(r1)
/* 801368E8 00133848 48 00 40 A1 */ bl EnableAnimation__15CBodyControllerFb
/* 801368EC 0013384C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801368F0 00133850 7C 08 03 A6 */ mtlr r0
/* 801368F4 00133854 38 21 00 10 */ addi r1, r1, 0x10
/* 801368F8 00133858 4E 80 00 20 */ blr
.global UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager
UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager:
/* 801368FC 0013385C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80136900 00133860 7C 08 02 A6 */ mflr r0
/* 80136904 00133864 90 01 00 14 */ stw r0, 0x14(r1)
/* 80136908 00133868 4B FF FF 21 */ bl GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController
/* 8013690C 0013386C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80136910 00133870 7C 08 03 A6 */ mtlr r0
/* 80136914 00133874 38 21 00 10 */ addi r1, r1, 0x10
/* 80136918 00133878 4E 80 00 20 */ blr
.global Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager
Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager:
/* 8013691C 0013387C 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80136920 00133880 7C 08 02 A6 */ mflr r0
/* 80136924 00133884 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80136928 00133888 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 8013692C 0013388C 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 80136930 00133890 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 80136934 00133894 7C BD 2B 78 */ mr r29, r5
/* 80136938 00133898 93 81 00 D0 */ stw r28, 0xd0(r1)
/* 8013693C 0013389C 7C 9C 23 78 */ mr r28, r4
/* 80136940 001338A0 7F 83 E3 78 */ mr r3, r28
/* 80136944 001338A4 48 00 42 69 */ bl GetFallState__15CBodyControllerCFv
/* 80136948 001338A8 7C 60 1B 78 */ mr r0, r3
/* 8013694C 001338AC 7F 83 E3 78 */ mr r3, r28
/* 80136950 001338B0 7C 1F 03 78 */ mr r31, r0
/* 80136954 001338B4 48 00 3B 01 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80136958 001338B8 7C 60 1B 78 */ mr r0, r3
/* 8013695C 001338BC 38 61 00 18 */ addi r3, r1, 0x18
/* 80136960 001338C0 7C 1E 03 78 */ mr r30, r0
/* 80136964 001338C4 48 1A C7 19 */ bl NoParameter__12CPASAnimParmFv
/* 80136968 001338C8 38 61 00 20 */ addi r3, r1, 0x20
/* 8013696C 001338CC 48 1A C7 11 */ bl NoParameter__12CPASAnimParmFv
/* 80136970 001338D0 38 61 00 28 */ addi r3, r1, 0x28
/* 80136974 001338D4 48 1A C7 09 */ bl NoParameter__12CPASAnimParmFv
/* 80136978 001338D8 38 61 00 30 */ addi r3, r1, 0x30
/* 8013697C 001338DC 48 1A C7 01 */ bl NoParameter__12CPASAnimParmFv
/* 80136980 001338E0 38 61 00 38 */ addi r3, r1, 0x38
/* 80136984 001338E4 48 1A C6 F9 */ bl NoParameter__12CPASAnimParmFv
/* 80136988 001338E8 38 61 00 40 */ addi r3, r1, 0x40
/* 8013698C 001338EC 48 1A C6 F1 */ bl NoParameter__12CPASAnimParmFv
/* 80136990 001338F0 38 61 00 48 */ addi r3, r1, 0x48
/* 80136994 001338F4 48 1A C6 E9 */ bl NoParameter__12CPASAnimParmFv
/* 80136998 001338F8 7F E4 FB 78 */ mr r4, r31
/* 8013699C 001338FC 38 61 00 50 */ addi r3, r1, 0x50
/* 801369A0 00133900 48 1A C5 E5 */ bl FromEnum__12CPASAnimParmFi
/* 801369A4 00133904 38 61 00 20 */ addi r3, r1, 0x20
/* 801369A8 00133908 38 01 00 18 */ addi r0, r1, 0x18
/* 801369AC 0013390C 90 61 00 08 */ stw r3, 8(r1)
/* 801369B0 00133910 38 61 00 80 */ addi r3, r1, 0x80
/* 801369B4 00133914 38 A1 00 50 */ addi r5, r1, 0x50
/* 801369B8 00133918 38 C1 00 48 */ addi r6, r1, 0x48
/* 801369BC 0013391C 90 01 00 0C */ stw r0, 0xc(r1)
/* 801369C0 00133920 38 E1 00 40 */ addi r7, r1, 0x40
/* 801369C4 00133924 39 01 00 38 */ addi r8, r1, 0x38
/* 801369C8 00133928 39 21 00 30 */ addi r9, r1, 0x30
/* 801369CC 0013392C 39 41 00 28 */ addi r10, r1, 0x28
/* 801369D0 00133930 38 80 00 02 */ li r4, 2
/* 801369D4 00133934 4B F4 68 F1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 801369D8 00133938 80 DD 09 00 */ lwz r6, 0x900(r29)
/* 801369DC 0013393C 7F C4 F3 78 */ mr r4, r30
/* 801369E0 00133940 38 61 00 10 */ addi r3, r1, 0x10
/* 801369E4 00133944 38 A1 00 80 */ addi r5, r1, 0x80
/* 801369E8 00133948 38 E0 FF FF */ li r7, -1
/* 801369EC 0013394C 48 1A E6 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 801369F0 00133950 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 801369F4 00133954 C0 02 9A 28 */ lfs f0, lbl_805AB748@sda21(r2)
/* 801369F8 00133958 80 61 00 14 */ lwz r3, 0x14(r1)
/* 801369FC 0013395C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80136A00 00133960 40 81 00 54 */ ble lbl_80136A54
/* 80136A04 00133964 C0 02 9A 2C */ lfs f0, lbl_805AB74C@sda21(r2)
/* 80136A08 00133968 38 00 00 00 */ li r0, 0
/* 80136A0C 0013396C 38 C0 FF FF */ li r6, -1
/* 80136A10 00133970 38 E0 00 01 */ li r7, 1
/* 80136A14 00133974 90 61 00 58 */ stw r3, 0x58(r1)
/* 80136A18 00133978 7F 83 E3 78 */ mr r3, r28
/* 80136A1C 0013397C 38 81 00 58 */ addi r4, r1, 0x58
/* 80136A20 00133980 38 A0 00 01 */ li r5, 1
/* 80136A24 00133984 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 80136A28 00133988 38 C0 00 00 */ li r6, 0
/* 80136A2C 0013398C D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80136A30 00133990 98 E1 00 64 */ stb r7, 0x64(r1)
/* 80136A34 00133994 90 01 00 68 */ stw r0, 0x68(r1)
/* 80136A38 00133998 90 01 00 6C */ stw r0, 0x6c(r1)
/* 80136A3C 0013399C 98 01 00 70 */ stb r0, 0x70(r1)
/* 80136A40 001339A0 90 01 00 74 */ stw r0, 0x74(r1)
/* 80136A44 001339A4 90 01 00 78 */ stw r0, 0x78(r1)
/* 80136A48 001339A8 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80136A4C 001339AC 48 00 3E D1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80136A50 001339B0 48 00 00 10 */ b lbl_80136A60
lbl_80136A54:
/* 80136A54 001339B4 7F 83 E3 78 */ mr r3, r28
/* 80136A58 001339B8 38 80 00 00 */ li r4, 0
/* 80136A5C 001339BC 48 00 3F 2D */ bl EnableAnimation__15CBodyControllerFb
lbl_80136A60:
/* 80136A60 001339C0 34 A1 00 84 */ addic. r5, r1, 0x84
/* 80136A64 001339C4 41 82 00 58 */ beq lbl_80136ABC
/* 80136A68 001339C8 80 C5 00 00 */ lwz r6, 0(r5)
/* 80136A6C 001339CC 38 60 00 00 */ li r3, 0
/* 80136A70 001339D0 2C 06 00 00 */ cmpwi r6, 0
/* 80136A74 001339D4 40 81 00 40 */ ble lbl_80136AB4
/* 80136A78 001339D8 2C 06 00 08 */ cmpwi r6, 8
/* 80136A7C 001339DC 38 86 FF F8 */ addi r4, r6, -8
/* 80136A80 001339E0 40 81 00 20 */ ble lbl_80136AA0
/* 80136A84 001339E4 38 04 00 07 */ addi r0, r4, 7
/* 80136A88 001339E8 54 00 E8 FE */ srwi r0, r0, 3
/* 80136A8C 001339EC 7C 09 03 A6 */ mtctr r0
/* 80136A90 001339F0 2C 04 00 00 */ cmpwi r4, 0
/* 80136A94 001339F4 40 81 00 0C */ ble lbl_80136AA0
lbl_80136A98:
/* 80136A98 001339F8 38 63 00 08 */ addi r3, r3, 8
/* 80136A9C 001339FC 42 00 FF FC */ bdnz lbl_80136A98
lbl_80136AA0:
/* 80136AA0 00133A00 7C 03 30 50 */ subf r0, r3, r6
/* 80136AA4 00133A04 7C 09 03 A6 */ mtctr r0
/* 80136AA8 00133A08 7C 03 30 00 */ cmpw r3, r6
/* 80136AAC 00133A0C 40 80 00 08 */ bge lbl_80136AB4
lbl_80136AB0:
/* 80136AB0 00133A10 42 00 00 00 */ bdnz lbl_80136AB0
lbl_80136AB4:
/* 80136AB4 00133A14 38 00 00 00 */ li r0, 0
/* 80136AB8 00133A18 90 05 00 00 */ stw r0, 0(r5)
lbl_80136ABC:
/* 80136ABC 00133A1C 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80136AC0 00133A20 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 80136AC4 00133A24 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 80136AC8 00133A28 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 80136ACC 00133A2C 83 81 00 D0 */ lwz r28, 0xd0(r1)
/* 80136AD0 00133A30 7C 08 03 A6 */ mtlr r0
/* 80136AD4 00133A34 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80136AD8 00133A38 4E 80 00 20 */ blr
.global __ct__14CBSLieOnGroundFRC6CActor
__ct__14CBSLieOnGroundFRC6CActor:
/* 80136ADC 00133A3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80136AE0 00133A40 7C 08 02 A6 */ mflr r0
/* 80136AE4 00133A44 3C C0 80 3E */ lis r6, lbl_803E1318@ha
/* 80136AE8 00133A48 3C A0 80 3E */ lis r5, lbl_803E1488@ha
/* 80136AEC 00133A4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80136AF0 00133A50 38 C6 13 18 */ addi r6, r6, lbl_803E1318@l
/* 80136AF4 00133A54 38 05 14 88 */ addi r0, r5, lbl_803E1488@l
/* 80136AF8 00133A58 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80136AFC 00133A5C 7C 7F 1B 78 */ mr r31, r3
/* 80136B00 00133A60 38 60 00 00 */ li r3, 0
/* 80136B04 00133A64 90 DF 00 00 */ stw r6, 0(r31)
/* 80136B08 00133A68 90 1F 00 00 */ stw r0, 0(r31)
/* 80136B0C 00133A6C 80 1F 00 04 */ lwz r0, 4(r31)
/* 80136B10 00133A70 50 60 F8 00 */ rlwimi r0, r3, 0x1f, 0, 0
/* 80136B14 00133A74 90 1F 00 04 */ stw r0, 4(r31)
/* 80136B18 00133A78 80 64 00 64 */ lwz r3, 0x64(r4)
/* 80136B1C 00133A7C 38 80 00 0B */ li r4, 0xb
/* 80136B20 00133A80 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80136B24 00133A84 38 63 00 3C */ addi r3, r3, 0x3c
/* 80136B28 00133A88 48 1A E4 55 */ bl HasState__12CPASDatabaseCFi
/* 80136B2C 00133A8C 88 1F 00 04 */ lbz r0, 4(r31)
/* 80136B30 00133A90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80136B34 00133A94 7F E3 FB 78 */ mr r3, r31
/* 80136B38 00133A98 98 1F 00 04 */ stb r0, 4(r31)
/* 80136B3C 00133A9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80136B40 00133AA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80136B44 00133AA4 7C 08 03 A6 */ mtlr r0
/* 80136B48 00133AA8 38 21 00 10 */ addi r1, r1, 0x10
/* 80136B4C 00133AAC 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,698 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__13CBSLoopAttackFv
__dt__13CBSLoopAttackFv:
/* 8013AECC 00137E2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013AED0 00137E30 7C 08 02 A6 */ mflr r0
/* 8013AED4 00137E34 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013AED8 00137E38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013AEDC 00137E3C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8013AEE0 00137E40 41 82 00 30 */ beq lbl_8013AF10
/* 8013AEE4 00137E44 3C 60 80 3E */ lis r3, lbl_803E17C8@ha
/* 8013AEE8 00137E48 38 03 17 C8 */ addi r0, r3, lbl_803E17C8@l
/* 8013AEEC 00137E4C 90 1F 00 00 */ stw r0, 0(r31)
/* 8013AEF0 00137E50 41 82 00 10 */ beq lbl_8013AF00
/* 8013AEF4 00137E54 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8013AEF8 00137E58 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8013AEFC 00137E5C 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013AF00:
/* 8013AF00 00137E60 7C 80 07 35 */ extsh. r0, r4
/* 8013AF04 00137E64 40 81 00 0C */ ble lbl_8013AF10
/* 8013AF08 00137E68 7F E3 FB 78 */ mr r3, r31
/* 8013AF0C 00137E6C 48 1D AA 25 */ bl Free__7CMemoryFPCv
lbl_8013AF10:
/* 8013AF10 00137E70 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013AF14 00137E74 7F E3 FB 78 */ mr r3, r31
/* 8013AF18 00137E78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013AF1C 00137E7C 7C 08 03 A6 */ mtlr r0
/* 8013AF20 00137E80 38 21 00 10 */ addi r1, r1, 0x10
/* 8013AF24 00137E84 4E 80 00 20 */ blr
.global CanShoot__13CBSLoopAttackCFv
CanShoot__13CBSLoopAttackCFv:
/* 8013AF28 00137E88 38 60 00 01 */ li r3, 1
/* 8013AF2C 00137E8C 4E 80 00 20 */ blr
.global GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController
GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController:
/* 8013AF30 00137E90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013AF34 00137E94 7C 08 02 A6 */ mflr r0
/* 8013AF38 00137E98 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013AF3C 00137E9C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013AF40 00137EA0 3B E4 00 04 */ addi r31, r4, 4
/* 8013AF44 00137EA4 38 80 00 0F */ li r4, 0xf
/* 8013AF48 00137EA8 93 C1 00 08 */ stw r30, 8(r1)
/* 8013AF4C 00137EAC 7C 7E 1B 78 */ mr r30, r3
/* 8013AF50 00137EB0 7F E3 FB 78 */ mr r3, r31
/* 8013AF54 00137EB4 4B FF 64 FD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AF58 00137EB8 28 03 00 00 */ cmplwi r3, 0
/* 8013AF5C 00137EBC 41 82 00 0C */ beq lbl_8013AF68
/* 8013AF60 00137EC0 38 60 00 0E */ li r3, 0xe
/* 8013AF64 00137EC4 48 00 01 74 */ b lbl_8013B0D8
lbl_8013AF68:
/* 8013AF68 00137EC8 7F E3 FB 78 */ mr r3, r31
/* 8013AF6C 00137ECC 38 80 00 03 */ li r4, 3
/* 8013AF70 00137ED0 4B FF 64 E1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AF74 00137ED4 28 03 00 00 */ cmplwi r3, 0
/* 8013AF78 00137ED8 41 82 00 0C */ beq lbl_8013AF84
/* 8013AF7C 00137EDC 38 60 00 00 */ li r3, 0
/* 8013AF80 00137EE0 48 00 01 58 */ b lbl_8013B0D8
lbl_8013AF84:
/* 8013AF84 00137EE4 7F E3 FB 78 */ mr r3, r31
/* 8013AF88 00137EE8 38 80 00 09 */ li r4, 9
/* 8013AF8C 00137EEC 4B FF 64 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AF90 00137EF0 28 03 00 00 */ cmplwi r3, 0
/* 8013AF94 00137EF4 41 82 00 0C */ beq lbl_8013AFA0
/* 8013AF98 00137EF8 38 60 00 0A */ li r3, 0xa
/* 8013AF9C 00137EFC 48 00 01 3C */ b lbl_8013B0D8
lbl_8013AFA0:
/* 8013AFA0 00137F00 7F E3 FB 78 */ mr r3, r31
/* 8013AFA4 00137F04 38 80 00 04 */ li r4, 4
/* 8013AFA8 00137F08 4B FF 64 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AFAC 00137F0C 28 03 00 00 */ cmplwi r3, 0
/* 8013AFB0 00137F10 41 82 00 0C */ beq lbl_8013AFBC
/* 8013AFB4 00137F14 38 60 00 06 */ li r3, 6
/* 8013AFB8 00137F18 48 00 01 20 */ b lbl_8013B0D8
lbl_8013AFBC:
/* 8013AFBC 00137F1C 7F E3 FB 78 */ mr r3, r31
/* 8013AFC0 00137F20 38 80 00 16 */ li r4, 0x16
/* 8013AFC4 00137F24 4B FF 64 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AFC8 00137F28 28 03 00 00 */ cmplwi r3, 0
/* 8013AFCC 00137F2C 41 82 00 0C */ beq lbl_8013AFD8
/* 8013AFD0 00137F30 38 60 00 05 */ li r3, 5
/* 8013AFD4 00137F34 48 00 01 04 */ b lbl_8013B0D8
lbl_8013AFD8:
/* 8013AFD8 00137F38 80 1E 00 04 */ lwz r0, 4(r30)
/* 8013AFDC 00137F3C 2C 00 00 02 */ cmpwi r0, 2
/* 8013AFE0 00137F40 40 82 00 F4 */ bne lbl_8013B0D4
/* 8013AFE4 00137F44 7F E3 FB 78 */ mr r3, r31
/* 8013AFE8 00137F48 38 80 00 05 */ li r4, 5
/* 8013AFEC 00137F4C 4B FF 64 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013AFF0 00137F50 28 03 00 00 */ cmplwi r3, 0
/* 8013AFF4 00137F54 41 82 00 0C */ beq lbl_8013B000
/* 8013AFF8 00137F58 38 60 00 07 */ li r3, 7
/* 8013AFFC 00137F5C 48 00 00 DC */ b lbl_8013B0D8
lbl_8013B000:
/* 8013B000 00137F60 7F E3 FB 78 */ mr r3, r31
/* 8013B004 00137F64 38 80 00 06 */ li r4, 6
/* 8013B008 00137F68 4B FF 64 49 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013B00C 00137F6C 28 03 00 00 */ cmplwi r3, 0
/* 8013B010 00137F70 41 82 00 0C */ beq lbl_8013B01C
/* 8013B014 00137F74 38 60 00 12 */ li r3, 0x12
/* 8013B018 00137F78 48 00 00 C0 */ b lbl_8013B0D8
lbl_8013B01C:
/* 8013B01C 00137F7C 7F E3 FB 78 */ mr r3, r31
/* 8013B020 00137F80 38 80 00 07 */ li r4, 7
/* 8013B024 00137F84 4B FF 64 2D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013B028 00137F88 28 03 00 00 */ cmplwi r3, 0
/* 8013B02C 00137F8C 41 82 00 0C */ beq lbl_8013B038
/* 8013B030 00137F90 38 60 00 09 */ li r3, 9
/* 8013B034 00137F94 48 00 00 A4 */ b lbl_8013B0D8
lbl_8013B038:
/* 8013B038 00137F98 7F E3 FB 78 */ mr r3, r31
/* 8013B03C 00137F9C 38 80 00 01 */ li r4, 1
/* 8013B040 00137FA0 4B FF 64 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013B044 00137FA4 28 03 00 00 */ cmplwi r3, 0
/* 8013B048 00137FA8 41 82 00 0C */ beq lbl_8013B054
/* 8013B04C 00137FAC 38 60 00 03 */ li r3, 3
/* 8013B050 00137FB0 48 00 00 88 */ b lbl_8013B0D8
lbl_8013B054:
/* 8013B054 00137FB4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2)
/* 8013B058 00137FB8 38 00 00 00 */ li r0, 0
/* 8013B05C 00137FBC C0 1F 00 00 */ lfs f0, 0(r31)
/* 8013B060 00137FC0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B064 00137FC4 40 82 00 1C */ bne lbl_8013B080
/* 8013B068 00137FC8 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013B06C 00137FCC FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B070 00137FD0 40 82 00 10 */ bne lbl_8013B080
/* 8013B074 00137FD4 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8013B078 00137FD8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B07C 00137FDC 41 82 00 08 */ beq lbl_8013B084
lbl_8013B080:
/* 8013B080 00137FE0 38 00 00 01 */ li r0, 1
lbl_8013B084:
/* 8013B084 00137FE4 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013B088 00137FE8 41 82 00 0C */ beq lbl_8013B094
/* 8013B08C 00137FEC 38 60 00 05 */ li r3, 5
/* 8013B090 00137FF0 48 00 00 48 */ b lbl_8013B0D8
lbl_8013B094:
/* 8013B094 00137FF4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2)
/* 8013B098 00137FF8 38 00 00 00 */ li r0, 0
/* 8013B09C 00137FFC C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8013B0A0 00138000 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B0A4 00138004 40 82 00 1C */ bne lbl_8013B0C0
/* 8013B0A8 00138008 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8013B0AC 0013800C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B0B0 00138010 40 82 00 10 */ bne lbl_8013B0C0
/* 8013B0B4 00138014 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8013B0B8 00138018 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B0BC 0013801C 41 82 00 08 */ beq lbl_8013B0C4
lbl_8013B0C0:
/* 8013B0C0 00138020 38 00 00 01 */ li r0, 1
lbl_8013B0C4:
/* 8013B0C4 00138024 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013B0C8 00138028 41 82 00 0C */ beq lbl_8013B0D4
/* 8013B0CC 0013802C 38 60 00 08 */ li r3, 8
/* 8013B0D0 00138030 48 00 00 08 */ b lbl_8013B0D8
lbl_8013B0D4:
/* 8013B0D4 00138034 38 60 FF FF */ li r3, -1
lbl_8013B0D8:
/* 8013B0D8 00138038 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013B0DC 0013803C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013B0E0 00138040 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013B0E4 00138044 7C 08 03 A6 */ mtlr r0
/* 8013B0E8 00138048 38 21 00 10 */ addi r1, r1, 0x10
/* 8013B0EC 0013804C 4E 80 00 20 */ blr
.global Shutdown__13CBSLoopAttackFR15CBodyController
Shutdown__13CBSLoopAttackFR15CBodyController:
/* 8013B0F0 00138050 4E 80 00 20 */ blr
.global UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager
UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager:
/* 8013B0F4 00138054 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 8013B0F8 00138058 7C 08 02 A6 */ mflr r0
/* 8013B0FC 0013805C 90 01 01 54 */ stw r0, 0x154(r1)
/* 8013B100 00138060 DB E1 01 40 */ stfd f31, 0x140(r1)
/* 8013B104 00138064 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0
/* 8013B108 00138068 BF 61 01 2C */ stmw r27, 0x12c(r1)
/* 8013B10C 0013806C FF E0 08 90 */ fmr f31, f1
/* 8013B110 00138070 7C 7B 1B 78 */ mr r27, r3
/* 8013B114 00138074 7C 9C 23 78 */ mr r28, r4
/* 8013B118 00138078 7C BD 2B 78 */ mr r29, r5
/* 8013B11C 0013807C 4B FF FE 15 */ bl GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController
/* 8013B120 00138080 7C 7E 1B 78 */ mr r30, r3
/* 8013B124 00138084 2C 1E FF FF */ cmpwi r30, -1
/* 8013B128 00138088 40 82 03 24 */ bne lbl_8013B44C
/* 8013B12C 0013808C 3B FC 00 04 */ addi r31, r28, 4
/* 8013B130 00138090 38 80 00 0A */ li r4, 0xa
/* 8013B134 00138094 7F E3 FB 78 */ mr r3, r31
/* 8013B138 00138098 4B FF 63 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013B13C 0013809C 7C 03 00 D0 */ neg r0, r3
/* 8013B140 001380A0 88 9B 00 0C */ lbz r4, 0xc(r27)
/* 8013B144 001380A4 7C 03 1B 78 */ or r3, r0, r3
/* 8013B148 001380A8 88 1B 00 0C */ lbz r0, 0xc(r27)
/* 8013B14C 001380AC 54 65 0F FE */ srwi r5, r3, 0x1f
/* 8013B150 001380B0 54 83 D7 FE */ rlwinm r3, r4, 0x1a, 0x1f, 0x1f
/* 8013B154 001380B4 7C 63 2B 78 */ or r3, r3, r5
/* 8013B158 001380B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8013B15C 001380BC 98 1B 00 0C */ stb r0, 0xc(r27)
/* 8013B160 001380C0 80 1B 00 04 */ lwz r0, 4(r27)
/* 8013B164 001380C4 2C 00 00 01 */ cmpwi r0, 1
/* 8013B168 001380C8 41 82 01 9C */ beq lbl_8013B304
/* 8013B16C 001380CC 40 80 00 10 */ bge lbl_8013B17C
/* 8013B170 001380D0 2C 00 00 00 */ cmpwi r0, 0
/* 8013B174 001380D4 40 80 00 14 */ bge lbl_8013B188
/* 8013B178 001380D8 48 00 02 D4 */ b lbl_8013B44C
lbl_8013B17C:
/* 8013B17C 001380DC 2C 00 00 03 */ cmpwi r0, 3
/* 8013B180 001380E0 40 80 02 CC */ bge lbl_8013B44C
/* 8013B184 001380E4 48 00 02 B0 */ b lbl_8013B434
lbl_8013B188:
/* 8013B188 001380E8 88 7B 00 0C */ lbz r3, 0xc(r27)
/* 8013B18C 001380EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 8013B190 001380F0 41 82 00 28 */ beq lbl_8013B1B8
/* 8013B194 001380F4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 8013B198 001380F8 41 82 00 10 */ beq lbl_8013B1A8
/* 8013B19C 001380FC 88 1C 03 00 */ lbz r0, 0x300(r28)
/* 8013B1A0 00138100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013B1A4 00138104 41 82 00 14 */ beq lbl_8013B1B8
lbl_8013B1A8:
/* 8013B1A8 00138108 38 00 FF FF */ li r0, -1
/* 8013B1AC 0013810C 3B C0 00 05 */ li r30, 5
/* 8013B1B0 00138110 90 1B 00 04 */ stw r0, 4(r27)
/* 8013B1B4 00138114 48 00 02 98 */ b lbl_8013B44C
lbl_8013B1B8:
/* 8013B1B8 00138118 88 1C 03 00 */ lbz r0, 0x300(r28)
/* 8013B1BC 0013811C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013B1C0 00138120 41 82 00 F8 */ beq lbl_8013B2B8
/* 8013B1C4 00138124 38 61 00 50 */ addi r3, r1, 0x50
/* 8013B1C8 00138128 48 1A 7E B5 */ bl NoParameter__12CPASAnimParmFv
/* 8013B1CC 0013812C 38 61 00 58 */ addi r3, r1, 0x58
/* 8013B1D0 00138130 48 1A 7E AD */ bl NoParameter__12CPASAnimParmFv
/* 8013B1D4 00138134 38 61 00 60 */ addi r3, r1, 0x60
/* 8013B1D8 00138138 48 1A 7E A5 */ bl NoParameter__12CPASAnimParmFv
/* 8013B1DC 0013813C 38 61 00 68 */ addi r3, r1, 0x68
/* 8013B1E0 00138140 48 1A 7E 9D */ bl NoParameter__12CPASAnimParmFv
/* 8013B1E4 00138144 38 61 00 70 */ addi r3, r1, 0x70
/* 8013B1E8 00138148 48 1A 7E 95 */ bl NoParameter__12CPASAnimParmFv
/* 8013B1EC 0013814C 38 61 00 78 */ addi r3, r1, 0x78
/* 8013B1F0 00138150 48 1A 7E 8D */ bl NoParameter__12CPASAnimParmFv
/* 8013B1F4 00138154 80 9B 00 08 */ lwz r4, 8(r27)
/* 8013B1F8 00138158 38 61 00 80 */ addi r3, r1, 0x80
/* 8013B1FC 0013815C 48 1A 7D 89 */ bl FromEnum__12CPASAnimParmFi
/* 8013B200 00138160 38 61 00 88 */ addi r3, r1, 0x88
/* 8013B204 00138164 38 80 00 01 */ li r4, 1
/* 8013B208 00138168 48 1A 7D 7D */ bl FromEnum__12CPASAnimParmFi
/* 8013B20C 0013816C 38 61 00 58 */ addi r3, r1, 0x58
/* 8013B210 00138170 38 01 00 50 */ addi r0, r1, 0x50
/* 8013B214 00138174 90 61 00 08 */ stw r3, 8(r1)
/* 8013B218 00138178 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8013B21C 0013817C 38 A1 00 88 */ addi r5, r1, 0x88
/* 8013B220 00138180 38 C1 00 80 */ addi r6, r1, 0x80
/* 8013B224 00138184 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013B228 00138188 38 E1 00 78 */ addi r7, r1, 0x78
/* 8013B22C 0013818C 39 01 00 70 */ addi r8, r1, 0x70
/* 8013B230 00138190 39 21 00 68 */ addi r9, r1, 0x68
/* 8013B234 00138194 39 41 00 60 */ addi r10, r1, 0x60
/* 8013B238 00138198 38 80 00 09 */ li r4, 9
/* 8013B23C 0013819C 4B F4 20 89 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013B240 001381A0 80 BD 09 00 */ lwz r5, 0x900(r29)
/* 8013B244 001381A4 7F 83 E3 78 */ mr r3, r28
/* 8013B248 001381A8 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8013B24C 001381AC 4B FF F0 B1 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013B250 001381B0 38 00 00 01 */ li r0, 1
/* 8013B254 001381B4 34 A1 00 DC */ addic. r5, r1, 0xdc
/* 8013B258 001381B8 90 1B 00 04 */ stw r0, 4(r27)
/* 8013B25C 001381BC 41 82 01 F0 */ beq lbl_8013B44C
/* 8013B260 001381C0 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013B264 001381C4 38 60 00 00 */ li r3, 0
/* 8013B268 001381C8 2C 06 00 00 */ cmpwi r6, 0
/* 8013B26C 001381CC 40 81 00 40 */ ble lbl_8013B2AC
/* 8013B270 001381D0 2C 06 00 08 */ cmpwi r6, 8
/* 8013B274 001381D4 38 86 FF F8 */ addi r4, r6, -8
/* 8013B278 001381D8 40 81 00 20 */ ble lbl_8013B298
/* 8013B27C 001381DC 38 04 00 07 */ addi r0, r4, 7
/* 8013B280 001381E0 54 00 E8 FE */ srwi r0, r0, 3
/* 8013B284 001381E4 7C 09 03 A6 */ mtctr r0
/* 8013B288 001381E8 2C 04 00 00 */ cmpwi r4, 0
/* 8013B28C 001381EC 40 81 00 0C */ ble lbl_8013B298
lbl_8013B290:
/* 8013B290 001381F0 38 63 00 08 */ addi r3, r3, 8
/* 8013B294 001381F4 42 00 FF FC */ bdnz lbl_8013B290
lbl_8013B298:
/* 8013B298 001381F8 7C 03 30 50 */ subf r0, r3, r6
/* 8013B29C 001381FC 7C 09 03 A6 */ mtctr r0
/* 8013B2A0 00138200 7C 03 30 00 */ cmpw r3, r6
/* 8013B2A4 00138204 40 80 00 08 */ bge lbl_8013B2AC
lbl_8013B2A8:
/* 8013B2A8 00138208 42 00 00 00 */ bdnz lbl_8013B2A8
lbl_8013B2AC:
/* 8013B2AC 0013820C 38 00 00 00 */ li r0, 0
/* 8013B2B0 00138210 90 05 00 00 */ stw r0, 0(r5)
/* 8013B2B4 00138214 48 00 01 98 */ b lbl_8013B44C
lbl_8013B2B8:
/* 8013B2B8 00138218 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2)
/* 8013B2BC 0013821C 38 00 00 00 */ li r0, 0
/* 8013B2C0 00138220 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8013B2C4 00138224 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B2C8 00138228 40 82 00 1C */ bne lbl_8013B2E4
/* 8013B2CC 0013822C C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8013B2D0 00138230 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B2D4 00138234 40 82 00 10 */ bne lbl_8013B2E4
/* 8013B2D8 00138238 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 8013B2DC 0013823C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013B2E0 00138240 41 82 00 08 */ beq lbl_8013B2E8
lbl_8013B2E4:
/* 8013B2E4 00138244 38 00 00 01 */ li r0, 1
lbl_8013B2E8:
/* 8013B2E8 00138248 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013B2EC 0013824C 41 82 01 60 */ beq lbl_8013B44C
/* 8013B2F0 00138250 FC 20 F8 90 */ fmr f1, f31
/* 8013B2F4 00138254 7F 83 E3 78 */ mr r3, r28
/* 8013B2F8 00138258 38 9F 00 18 */ addi r4, r31, 0x18
/* 8013B2FC 0013825C 4B FF F3 A9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
/* 8013B300 00138260 48 00 01 4C */ b lbl_8013B44C
lbl_8013B304:
/* 8013B304 00138264 88 7B 00 0C */ lbz r3, 0xc(r27)
/* 8013B308 00138268 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 8013B30C 0013826C 41 82 01 40 */ beq lbl_8013B44C
/* 8013B310 00138270 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 8013B314 00138274 41 82 00 10 */ beq lbl_8013B324
/* 8013B318 00138278 88 1C 03 00 */ lbz r0, 0x300(r28)
/* 8013B31C 0013827C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013B320 00138280 41 82 01 2C */ beq lbl_8013B44C
lbl_8013B324:
/* 8013B324 00138284 80 1C 02 EC */ lwz r0, 0x2ec(r28)
/* 8013B328 00138288 2C 00 00 00 */ cmpwi r0, 0
/* 8013B32C 0013828C 41 82 00 F8 */ beq lbl_8013B424
/* 8013B330 00138290 38 61 00 10 */ addi r3, r1, 0x10
/* 8013B334 00138294 48 1A 7D 49 */ bl NoParameter__12CPASAnimParmFv
/* 8013B338 00138298 38 61 00 18 */ addi r3, r1, 0x18
/* 8013B33C 0013829C 48 1A 7D 41 */ bl NoParameter__12CPASAnimParmFv
/* 8013B340 001382A0 38 61 00 20 */ addi r3, r1, 0x20
/* 8013B344 001382A4 48 1A 7D 39 */ bl NoParameter__12CPASAnimParmFv
/* 8013B348 001382A8 38 61 00 28 */ addi r3, r1, 0x28
/* 8013B34C 001382AC 48 1A 7D 31 */ bl NoParameter__12CPASAnimParmFv
/* 8013B350 001382B0 38 61 00 30 */ addi r3, r1, 0x30
/* 8013B354 001382B4 48 1A 7D 29 */ bl NoParameter__12CPASAnimParmFv
/* 8013B358 001382B8 38 61 00 38 */ addi r3, r1, 0x38
/* 8013B35C 001382BC 48 1A 7D 21 */ bl NoParameter__12CPASAnimParmFv
/* 8013B360 001382C0 80 9B 00 08 */ lwz r4, 8(r27)
/* 8013B364 001382C4 38 61 00 40 */ addi r3, r1, 0x40
/* 8013B368 001382C8 48 1A 7C 1D */ bl FromEnum__12CPASAnimParmFi
/* 8013B36C 001382CC 38 61 00 48 */ addi r3, r1, 0x48
/* 8013B370 001382D0 38 80 00 02 */ li r4, 2
/* 8013B374 001382D4 48 1A 7C 11 */ bl FromEnum__12CPASAnimParmFi
/* 8013B378 001382D8 38 61 00 18 */ addi r3, r1, 0x18
/* 8013B37C 001382DC 38 01 00 10 */ addi r0, r1, 0x10
/* 8013B380 001382E0 90 61 00 08 */ stw r3, 8(r1)
/* 8013B384 001382E4 38 61 00 90 */ addi r3, r1, 0x90
/* 8013B388 001382E8 38 A1 00 48 */ addi r5, r1, 0x48
/* 8013B38C 001382EC 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013B390 001382F0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013B394 001382F4 38 E1 00 38 */ addi r7, r1, 0x38
/* 8013B398 001382F8 39 01 00 30 */ addi r8, r1, 0x30
/* 8013B39C 001382FC 39 21 00 28 */ addi r9, r1, 0x28
/* 8013B3A0 00138300 39 41 00 20 */ addi r10, r1, 0x20
/* 8013B3A4 00138304 38 80 00 09 */ li r4, 9
/* 8013B3A8 00138308 4B F4 1F 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013B3AC 0013830C 80 BD 09 00 */ lwz r5, 0x900(r29)
/* 8013B3B0 00138310 7F 83 E3 78 */ mr r3, r28
/* 8013B3B4 00138314 38 81 00 90 */ addi r4, r1, 0x90
/* 8013B3B8 00138318 4B FF EF F1 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013B3BC 0013831C 38 00 00 02 */ li r0, 2
/* 8013B3C0 00138320 34 A1 00 94 */ addic. r5, r1, 0x94
/* 8013B3C4 00138324 90 1B 00 04 */ stw r0, 4(r27)
/* 8013B3C8 00138328 41 82 00 84 */ beq lbl_8013B44C
/* 8013B3CC 0013832C 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013B3D0 00138330 38 60 00 00 */ li r3, 0
/* 8013B3D4 00138334 2C 06 00 00 */ cmpwi r6, 0
/* 8013B3D8 00138338 40 81 00 40 */ ble lbl_8013B418
/* 8013B3DC 0013833C 2C 06 00 08 */ cmpwi r6, 8
/* 8013B3E0 00138340 38 86 FF F8 */ addi r4, r6, -8
/* 8013B3E4 00138344 40 81 00 20 */ ble lbl_8013B404
/* 8013B3E8 00138348 38 04 00 07 */ addi r0, r4, 7
/* 8013B3EC 0013834C 54 00 E8 FE */ srwi r0, r0, 3
/* 8013B3F0 00138350 7C 09 03 A6 */ mtctr r0
/* 8013B3F4 00138354 2C 04 00 00 */ cmpwi r4, 0
/* 8013B3F8 00138358 40 81 00 0C */ ble lbl_8013B404
lbl_8013B3FC:
/* 8013B3FC 0013835C 38 63 00 08 */ addi r3, r3, 8
/* 8013B400 00138360 42 00 FF FC */ bdnz lbl_8013B3FC
lbl_8013B404:
/* 8013B404 00138364 7C 03 30 50 */ subf r0, r3, r6
/* 8013B408 00138368 7C 09 03 A6 */ mtctr r0
/* 8013B40C 0013836C 7C 03 30 00 */ cmpw r3, r6
/* 8013B410 00138370 40 80 00 08 */ bge lbl_8013B418
lbl_8013B414:
/* 8013B414 00138374 42 00 00 00 */ bdnz lbl_8013B414
lbl_8013B418:
/* 8013B418 00138378 38 00 00 00 */ li r0, 0
/* 8013B41C 0013837C 90 05 00 00 */ stw r0, 0(r5)
/* 8013B420 00138380 48 00 00 2C */ b lbl_8013B44C
lbl_8013B424:
/* 8013B424 00138384 38 00 FF FF */ li r0, -1
/* 8013B428 00138388 3B C0 00 05 */ li r30, 5
/* 8013B42C 0013838C 90 1B 00 04 */ stw r0, 4(r27)
/* 8013B430 00138390 48 00 00 1C */ b lbl_8013B44C
lbl_8013B434:
/* 8013B434 00138394 88 1C 03 00 */ lbz r0, 0x300(r28)
/* 8013B438 00138398 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013B43C 0013839C 41 82 00 10 */ beq lbl_8013B44C
/* 8013B440 001383A0 38 00 FF FF */ li r0, -1
/* 8013B444 001383A4 3B C0 00 05 */ li r30, 5
/* 8013B448 001383A8 90 1B 00 04 */ stw r0, 4(r27)
lbl_8013B44C:
/* 8013B44C 001383AC 7F C3 F3 78 */ mr r3, r30
/* 8013B450 001383B0 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0
/* 8013B454 001383B4 CB E1 01 40 */ lfd f31, 0x140(r1)
/* 8013B458 001383B8 BB 61 01 2C */ lmw r27, 0x12c(r1)
/* 8013B45C 001383BC 80 01 01 54 */ lwz r0, 0x154(r1)
/* 8013B460 001383C0 7C 08 03 A6 */ mtlr r0
/* 8013B464 001383C4 38 21 01 50 */ addi r1, r1, 0x150
/* 8013B468 001383C8 4E 80 00 20 */ blr
.global Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager
Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager:
/* 8013B46C 001383CC 94 21 FE 10 */ stwu r1, -0x1f0(r1)
/* 8013B470 001383D0 7C 08 02 A6 */ mflr r0
/* 8013B474 001383D4 90 01 01 F4 */ stw r0, 0x1f4(r1)
/* 8013B478 001383D8 93 E1 01 EC */ stw r31, 0x1ec(r1)
/* 8013B47C 001383DC 7C BF 2B 78 */ mr r31, r5
/* 8013B480 001383E0 93 C1 01 E8 */ stw r30, 0x1e8(r1)
/* 8013B484 001383E4 7C 9E 23 78 */ mr r30, r4
/* 8013B488 001383E8 38 80 00 07 */ li r4, 7
/* 8013B48C 001383EC 93 A1 01 E4 */ stw r29, 0x1e4(r1)
/* 8013B490 001383F0 7C 7D 1B 78 */ mr r29, r3
/* 8013B494 001383F4 38 7E 00 04 */ addi r3, r30, 4
/* 8013B498 001383F8 4B FF 5F B9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013B49C 001383FC 80 03 00 08 */ lwz r0, 8(r3)
/* 8013B4A0 00138400 38 80 00 00 */ li r4, 0
/* 8013B4A4 00138404 90 1D 00 08 */ stw r0, 8(r29)
/* 8013B4A8 00138408 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8013B4AC 0013840C 88 1D 00 0C */ lbz r0, 0xc(r29)
/* 8013B4B0 00138410 20 63 00 01 */ subfic r3, r3, 1
/* 8013B4B4 00138414 7C 63 00 34 */ cntlzw r3, r3
/* 8013B4B8 00138418 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18
/* 8013B4BC 0013841C 98 1D 00 0C */ stb r0, 0xc(r29)
/* 8013B4C0 00138420 88 1D 00 0C */ lbz r0, 0xc(r29)
/* 8013B4C4 00138424 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8013B4C8 00138428 98 1D 00 0C */ stb r0, 0xc(r29)
/* 8013B4CC 0013842C 80 1E 02 EC */ lwz r0, 0x2ec(r30)
/* 8013B4D0 00138430 2C 00 00 00 */ cmpwi r0, 0
/* 8013B4D4 00138434 40 82 00 F8 */ bne lbl_8013B5CC
/* 8013B4D8 00138438 38 00 00 01 */ li r0, 1
/* 8013B4DC 0013843C 38 61 00 98 */ addi r3, r1, 0x98
/* 8013B4E0 00138440 90 1D 00 04 */ stw r0, 4(r29)
/* 8013B4E4 00138444 48 1A 7B 99 */ bl NoParameter__12CPASAnimParmFv
/* 8013B4E8 00138448 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8013B4EC 0013844C 48 1A 7B 91 */ bl NoParameter__12CPASAnimParmFv
/* 8013B4F0 00138450 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8013B4F4 00138454 48 1A 7B 89 */ bl NoParameter__12CPASAnimParmFv
/* 8013B4F8 00138458 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8013B4FC 0013845C 48 1A 7B 81 */ bl NoParameter__12CPASAnimParmFv
/* 8013B500 00138460 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8013B504 00138464 48 1A 7B 79 */ bl NoParameter__12CPASAnimParmFv
/* 8013B508 00138468 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8013B50C 0013846C 48 1A 7B 71 */ bl NoParameter__12CPASAnimParmFv
/* 8013B510 00138470 80 9D 00 08 */ lwz r4, 8(r29)
/* 8013B514 00138474 38 61 00 C8 */ addi r3, r1, 0xc8
/* 8013B518 00138478 48 1A 7A 6D */ bl FromEnum__12CPASAnimParmFi
/* 8013B51C 0013847C 80 9D 00 04 */ lwz r4, 4(r29)
/* 8013B520 00138480 38 61 00 D0 */ addi r3, r1, 0xd0
/* 8013B524 00138484 48 1A 7A 61 */ bl FromEnum__12CPASAnimParmFi
/* 8013B528 00138488 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8013B52C 0013848C 38 01 00 98 */ addi r0, r1, 0x98
/* 8013B530 00138490 90 61 00 08 */ stw r3, 8(r1)
/* 8013B534 00138494 38 61 01 90 */ addi r3, r1, 0x190
/* 8013B538 00138498 38 A1 00 D0 */ addi r5, r1, 0xd0
/* 8013B53C 0013849C 38 C1 00 C8 */ addi r6, r1, 0xc8
/* 8013B540 001384A0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013B544 001384A4 38 E1 00 C0 */ addi r7, r1, 0xc0
/* 8013B548 001384A8 39 01 00 B8 */ addi r8, r1, 0xb8
/* 8013B54C 001384AC 39 21 00 B0 */ addi r9, r1, 0xb0
/* 8013B550 001384B0 39 41 00 A8 */ addi r10, r1, 0xa8
/* 8013B554 001384B4 38 80 00 09 */ li r4, 9
/* 8013B558 001384B8 4B F4 1D 6D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013B55C 001384BC 80 BF 09 00 */ lwz r5, 0x900(r31)
/* 8013B560 001384C0 7F C3 F3 78 */ mr r3, r30
/* 8013B564 001384C4 38 81 01 90 */ addi r4, r1, 0x190
/* 8013B568 001384C8 4B FF ED 95 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013B56C 001384CC 34 A1 01 94 */ addic. r5, r1, 0x194
/* 8013B570 001384D0 41 82 02 AC */ beq lbl_8013B81C
/* 8013B574 001384D4 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013B578 001384D8 38 60 00 00 */ li r3, 0
/* 8013B57C 001384DC 2C 06 00 00 */ cmpwi r6, 0
/* 8013B580 001384E0 40 81 00 40 */ ble lbl_8013B5C0
/* 8013B584 001384E4 2C 06 00 08 */ cmpwi r6, 8
/* 8013B588 001384E8 38 86 FF F8 */ addi r4, r6, -8
/* 8013B58C 001384EC 40 81 00 20 */ ble lbl_8013B5AC
/* 8013B590 001384F0 38 04 00 07 */ addi r0, r4, 7
/* 8013B594 001384F4 54 00 E8 FE */ srwi r0, r0, 3
/* 8013B598 001384F8 7C 09 03 A6 */ mtctr r0
/* 8013B59C 001384FC 2C 04 00 00 */ cmpwi r4, 0
/* 8013B5A0 00138500 40 81 00 0C */ ble lbl_8013B5AC
lbl_8013B5A4:
/* 8013B5A4 00138504 38 63 00 08 */ addi r3, r3, 8
/* 8013B5A8 00138508 42 00 FF FC */ bdnz lbl_8013B5A4
lbl_8013B5AC:
/* 8013B5AC 0013850C 7C 03 30 50 */ subf r0, r3, r6
/* 8013B5B0 00138510 7C 09 03 A6 */ mtctr r0
/* 8013B5B4 00138514 7C 03 30 00 */ cmpw r3, r6
/* 8013B5B8 00138518 40 80 00 08 */ bge lbl_8013B5C0
lbl_8013B5BC:
/* 8013B5BC 0013851C 42 00 00 00 */ bdnz lbl_8013B5BC
lbl_8013B5C0:
/* 8013B5C0 00138520 38 00 00 00 */ li r0, 0
/* 8013B5C4 00138524 90 05 00 00 */ stw r0, 0(r5)
/* 8013B5C8 00138528 48 00 02 54 */ b lbl_8013B81C
lbl_8013B5CC:
/* 8013B5CC 0013852C 90 9D 00 04 */ stw r4, 4(r29)
/* 8013B5D0 00138530 38 61 00 58 */ addi r3, r1, 0x58
/* 8013B5D4 00138534 48 1A 7A A9 */ bl NoParameter__12CPASAnimParmFv
/* 8013B5D8 00138538 38 61 00 60 */ addi r3, r1, 0x60
/* 8013B5DC 0013853C 48 1A 7A A1 */ bl NoParameter__12CPASAnimParmFv
/* 8013B5E0 00138540 38 61 00 68 */ addi r3, r1, 0x68
/* 8013B5E4 00138544 48 1A 7A 99 */ bl NoParameter__12CPASAnimParmFv
/* 8013B5E8 00138548 38 61 00 70 */ addi r3, r1, 0x70
/* 8013B5EC 0013854C 48 1A 7A 91 */ bl NoParameter__12CPASAnimParmFv
/* 8013B5F0 00138550 38 61 00 78 */ addi r3, r1, 0x78
/* 8013B5F4 00138554 48 1A 7A 89 */ bl NoParameter__12CPASAnimParmFv
/* 8013B5F8 00138558 38 61 00 80 */ addi r3, r1, 0x80
/* 8013B5FC 0013855C 48 1A 7A 81 */ bl NoParameter__12CPASAnimParmFv
/* 8013B600 00138560 80 9D 00 08 */ lwz r4, 8(r29)
/* 8013B604 00138564 38 61 00 88 */ addi r3, r1, 0x88
/* 8013B608 00138568 48 1A 79 7D */ bl FromEnum__12CPASAnimParmFi
/* 8013B60C 0013856C 80 9D 00 04 */ lwz r4, 4(r29)
/* 8013B610 00138570 38 61 00 90 */ addi r3, r1, 0x90
/* 8013B614 00138574 48 1A 79 71 */ bl FromEnum__12CPASAnimParmFi
/* 8013B618 00138578 38 61 00 60 */ addi r3, r1, 0x60
/* 8013B61C 0013857C 38 01 00 58 */ addi r0, r1, 0x58
/* 8013B620 00138580 90 61 00 08 */ stw r3, 8(r1)
/* 8013B624 00138584 38 61 01 48 */ addi r3, r1, 0x148
/* 8013B628 00138588 38 A1 00 90 */ addi r5, r1, 0x90
/* 8013B62C 0013858C 38 C1 00 88 */ addi r6, r1, 0x88
/* 8013B630 00138590 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013B634 00138594 38 E1 00 80 */ addi r7, r1, 0x80
/* 8013B638 00138598 39 01 00 78 */ addi r8, r1, 0x78
/* 8013B63C 0013859C 39 21 00 70 */ addi r9, r1, 0x70
/* 8013B640 001385A0 39 41 00 68 */ addi r10, r1, 0x68
/* 8013B644 001385A4 38 80 00 09 */ li r4, 9
/* 8013B648 001385A8 4B F4 1C 7D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013B64C 001385AC 7F C3 F3 78 */ mr r3, r30
/* 8013B650 001385B0 4B FF EE 05 */ bl GetPASDatabase__15CBodyControllerCFv
/* 8013B654 001385B4 80 DF 09 00 */ lwz r6, 0x900(r31)
/* 8013B658 001385B8 7C 64 1B 78 */ mr r4, r3
/* 8013B65C 001385BC 38 61 00 50 */ addi r3, r1, 0x50
/* 8013B660 001385C0 38 A1 01 48 */ addi r5, r1, 0x148
/* 8013B664 001385C4 38 E0 FF FF */ li r7, -1
/* 8013B668 001385C8 48 1A 99 F9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8013B66C 001385CC C0 21 00 50 */ lfs f1, 0x50(r1)
/* 8013B670 001385D0 C0 02 9A 8C */ lfs f0, lbl_805AB7AC@sda21(r2)
/* 8013B674 001385D4 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8013B678 001385D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013B67C 001385DC 40 81 00 54 */ ble lbl_8013B6D0
/* 8013B680 001385E0 C0 02 9A 90 */ lfs f0, lbl_805AB7B0@sda21(r2)
/* 8013B684 001385E4 38 00 00 00 */ li r0, 0
/* 8013B688 001385E8 38 C0 FF FF */ li r6, -1
/* 8013B68C 001385EC 38 E0 00 01 */ li r7, 1
/* 8013B690 001385F0 90 61 00 D8 */ stw r3, 0xd8(r1)
/* 8013B694 001385F4 7F C3 F3 78 */ mr r3, r30
/* 8013B698 001385F8 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8013B69C 001385FC 38 A0 00 00 */ li r5, 0
/* 8013B6A0 00138600 90 C1 00 DC */ stw r6, 0xdc(r1)
/* 8013B6A4 00138604 38 C0 00 00 */ li r6, 0
/* 8013B6A8 00138608 D0 01 00 E0 */ stfs f0, 0xe0(r1)
/* 8013B6AC 0013860C 98 E1 00 E4 */ stb r7, 0xe4(r1)
/* 8013B6B0 00138610 90 01 00 E8 */ stw r0, 0xe8(r1)
/* 8013B6B4 00138614 90 01 00 EC */ stw r0, 0xec(r1)
/* 8013B6B8 00138618 98 01 00 F0 */ stb r0, 0xf0(r1)
/* 8013B6BC 0013861C 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8013B6C0 00138620 90 01 00 F8 */ stw r0, 0xf8(r1)
/* 8013B6C4 00138624 90 01 00 FC */ stw r0, 0xfc(r1)
/* 8013B6C8 00138628 4B FF F2 55 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8013B6CC 0013862C 48 00 00 F4 */ b lbl_8013B7C0
lbl_8013B6D0:
/* 8013B6D0 00138630 38 00 00 01 */ li r0, 1
/* 8013B6D4 00138634 38 61 00 10 */ addi r3, r1, 0x10
/* 8013B6D8 00138638 90 1D 00 04 */ stw r0, 4(r29)
/* 8013B6DC 0013863C 48 1A 79 A1 */ bl NoParameter__12CPASAnimParmFv
/* 8013B6E0 00138640 38 61 00 18 */ addi r3, r1, 0x18
/* 8013B6E4 00138644 48 1A 79 99 */ bl NoParameter__12CPASAnimParmFv
/* 8013B6E8 00138648 38 61 00 20 */ addi r3, r1, 0x20
/* 8013B6EC 0013864C 48 1A 79 91 */ bl NoParameter__12CPASAnimParmFv
/* 8013B6F0 00138650 38 61 00 28 */ addi r3, r1, 0x28
/* 8013B6F4 00138654 48 1A 79 89 */ bl NoParameter__12CPASAnimParmFv
/* 8013B6F8 00138658 38 61 00 30 */ addi r3, r1, 0x30
/* 8013B6FC 0013865C 48 1A 79 81 */ bl NoParameter__12CPASAnimParmFv
/* 8013B700 00138660 38 61 00 38 */ addi r3, r1, 0x38
/* 8013B704 00138664 48 1A 79 79 */ bl NoParameter__12CPASAnimParmFv
/* 8013B708 00138668 80 9D 00 08 */ lwz r4, 8(r29)
/* 8013B70C 0013866C 38 61 00 40 */ addi r3, r1, 0x40
/* 8013B710 00138670 48 1A 78 75 */ bl FromEnum__12CPASAnimParmFi
/* 8013B714 00138674 80 9D 00 04 */ lwz r4, 4(r29)
/* 8013B718 00138678 38 61 00 48 */ addi r3, r1, 0x48
/* 8013B71C 0013867C 48 1A 78 69 */ bl FromEnum__12CPASAnimParmFi
/* 8013B720 00138680 38 61 00 18 */ addi r3, r1, 0x18
/* 8013B724 00138684 38 01 00 10 */ addi r0, r1, 0x10
/* 8013B728 00138688 90 61 00 08 */ stw r3, 8(r1)
/* 8013B72C 0013868C 38 61 01 00 */ addi r3, r1, 0x100
/* 8013B730 00138690 38 A1 00 48 */ addi r5, r1, 0x48
/* 8013B734 00138694 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013B738 00138698 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013B73C 0013869C 38 E1 00 38 */ addi r7, r1, 0x38
/* 8013B740 001386A0 39 01 00 30 */ addi r8, r1, 0x30
/* 8013B744 001386A4 39 21 00 28 */ addi r9, r1, 0x28
/* 8013B748 001386A8 39 41 00 20 */ addi r10, r1, 0x20
/* 8013B74C 001386AC 38 80 00 09 */ li r4, 9
/* 8013B750 001386B0 4B F4 1B 75 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013B754 001386B4 80 BF 09 00 */ lwz r5, 0x900(r31)
/* 8013B758 001386B8 7F C3 F3 78 */ mr r3, r30
/* 8013B75C 001386BC 38 81 01 00 */ addi r4, r1, 0x100
/* 8013B760 001386C0 4B FF EB 9D */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013B764 001386C4 34 A1 01 04 */ addic. r5, r1, 0x104
/* 8013B768 001386C8 41 82 00 58 */ beq lbl_8013B7C0
/* 8013B76C 001386CC 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013B770 001386D0 38 60 00 00 */ li r3, 0
/* 8013B774 001386D4 2C 06 00 00 */ cmpwi r6, 0
/* 8013B778 001386D8 40 81 00 40 */ ble lbl_8013B7B8
/* 8013B77C 001386DC 2C 06 00 08 */ cmpwi r6, 8
/* 8013B780 001386E0 38 86 FF F8 */ addi r4, r6, -8
/* 8013B784 001386E4 40 81 00 20 */ ble lbl_8013B7A4
/* 8013B788 001386E8 38 04 00 07 */ addi r0, r4, 7
/* 8013B78C 001386EC 54 00 E8 FE */ srwi r0, r0, 3
/* 8013B790 001386F0 7C 09 03 A6 */ mtctr r0
/* 8013B794 001386F4 2C 04 00 00 */ cmpwi r4, 0
/* 8013B798 001386F8 40 81 00 0C */ ble lbl_8013B7A4
lbl_8013B79C:
/* 8013B79C 001386FC 38 63 00 08 */ addi r3, r3, 8
/* 8013B7A0 00138700 42 00 FF FC */ bdnz lbl_8013B79C
lbl_8013B7A4:
/* 8013B7A4 00138704 7C 03 30 50 */ subf r0, r3, r6
/* 8013B7A8 00138708 7C 09 03 A6 */ mtctr r0
/* 8013B7AC 0013870C 7C 03 30 00 */ cmpw r3, r6
/* 8013B7B0 00138710 40 80 00 08 */ bge lbl_8013B7B8
lbl_8013B7B4:
/* 8013B7B4 00138714 42 00 00 00 */ bdnz lbl_8013B7B4
lbl_8013B7B8:
/* 8013B7B8 00138718 38 00 00 00 */ li r0, 0
/* 8013B7BC 0013871C 90 05 00 00 */ stw r0, 0(r5)
lbl_8013B7C0:
/* 8013B7C0 00138720 34 A1 01 4C */ addic. r5, r1, 0x14c
/* 8013B7C4 00138724 41 82 00 58 */ beq lbl_8013B81C
/* 8013B7C8 00138728 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013B7CC 0013872C 38 60 00 00 */ li r3, 0
/* 8013B7D0 00138730 2C 06 00 00 */ cmpwi r6, 0
/* 8013B7D4 00138734 40 81 00 40 */ ble lbl_8013B814
/* 8013B7D8 00138738 2C 06 00 08 */ cmpwi r6, 8
/* 8013B7DC 0013873C 38 86 FF F8 */ addi r4, r6, -8
/* 8013B7E0 00138740 40 81 00 20 */ ble lbl_8013B800
/* 8013B7E4 00138744 38 04 00 07 */ addi r0, r4, 7
/* 8013B7E8 00138748 54 00 E8 FE */ srwi r0, r0, 3
/* 8013B7EC 0013874C 7C 09 03 A6 */ mtctr r0
/* 8013B7F0 00138750 2C 04 00 00 */ cmpwi r4, 0
/* 8013B7F4 00138754 40 81 00 0C */ ble lbl_8013B800
lbl_8013B7F8:
/* 8013B7F8 00138758 38 63 00 08 */ addi r3, r3, 8
/* 8013B7FC 0013875C 42 00 FF FC */ bdnz lbl_8013B7F8
lbl_8013B800:
/* 8013B800 00138760 7C 03 30 50 */ subf r0, r3, r6
/* 8013B804 00138764 7C 09 03 A6 */ mtctr r0
/* 8013B808 00138768 7C 03 30 00 */ cmpw r3, r6
/* 8013B80C 0013876C 40 80 00 08 */ bge lbl_8013B814
lbl_8013B810:
/* 8013B810 00138770 42 00 00 00 */ bdnz lbl_8013B810
lbl_8013B814:
/* 8013B814 00138774 38 00 00 00 */ li r0, 0
/* 8013B818 00138778 90 05 00 00 */ stw r0, 0(r5)
lbl_8013B81C:
/* 8013B81C 0013877C 80 01 01 F4 */ lwz r0, 0x1f4(r1)
/* 8013B820 00138780 83 E1 01 EC */ lwz r31, 0x1ec(r1)
/* 8013B824 00138784 83 C1 01 E8 */ lwz r30, 0x1e8(r1)
/* 8013B828 00138788 83 A1 01 E4 */ lwz r29, 0x1e4(r1)
/* 8013B82C 0013878C 7C 08 03 A6 */ mtlr r0
/* 8013B830 00138790 38 21 01 F0 */ addi r1, r1, 0x1f0
/* 8013B834 00138794 4E 80 00 20 */ blr
.global __ct__13CBSLoopAttackFv
__ct__13CBSLoopAttackFv:
/* 8013B838 00138798 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 8013B83C 0013879C 3C 80 80 3E */ lis r4, lbl_803E17C8@ha
/* 8013B840 001387A0 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l
/* 8013B844 001387A4 38 00 FF FF */ li r0, -1
/* 8013B848 001387A8 90 C3 00 00 */ stw r6, 0(r3)
/* 8013B84C 001387AC 38 A4 17 C8 */ addi r5, r4, lbl_803E17C8@l
/* 8013B850 001387B0 38 80 00 00 */ li r4, 0
/* 8013B854 001387B4 90 A3 00 00 */ stw r5, 0(r3)
/* 8013B858 001387B8 90 03 00 04 */ stw r0, 4(r3)
/* 8013B85C 001387BC 90 03 00 08 */ stw r0, 8(r3)
/* 8013B860 001387C0 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8013B864 001387C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8013B868 001387C8 98 03 00 0C */ stb r0, 0xc(r3)
/* 8013B86C 001387CC 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8013B870 001387D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8013B874 001387D4 98 03 00 0C */ stb r0, 0xc(r3)
/* 8013B878 001387D8 4E 80 00 20 */ blr

View File

@ -0,0 +1,728 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__15CBSLoopReactionFv
__dt__15CBSLoopReactionFv:
/* 8013C048 00138FA8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013C04C 00138FAC 7C 08 02 A6 */ mflr r0
/* 8013C050 00138FB0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013C054 00138FB4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013C058 00138FB8 7C 7F 1B 79 */ or. r31, r3, r3
/* 8013C05C 00138FBC 41 82 00 30 */ beq lbl_8013C08C
/* 8013C060 00138FC0 3C 60 80 3E */ lis r3, lbl_803E1878@ha
/* 8013C064 00138FC4 38 03 18 78 */ addi r0, r3, lbl_803E1878@l
/* 8013C068 00138FC8 90 1F 00 00 */ stw r0, 0(r31)
/* 8013C06C 00138FCC 41 82 00 10 */ beq lbl_8013C07C
/* 8013C070 00138FD0 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8013C074 00138FD4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8013C078 00138FD8 90 1F 00 00 */ stw r0, 0(r31)
lbl_8013C07C:
/* 8013C07C 00138FDC 7C 80 07 35 */ extsh. r0, r4
/* 8013C080 00138FE0 40 81 00 0C */ ble lbl_8013C08C
/* 8013C084 00138FE4 7F E3 FB 78 */ mr r3, r31
/* 8013C088 00138FE8 48 1D 98 A9 */ bl Free__7CMemoryFPCv
lbl_8013C08C:
/* 8013C08C 00138FEC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013C090 00138FF0 7F E3 FB 78 */ mr r3, r31
/* 8013C094 00138FF4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013C098 00138FF8 7C 08 03 A6 */ mtlr r0
/* 8013C09C 00138FFC 38 21 00 10 */ addi r1, r1, 0x10
/* 8013C0A0 00139000 4E 80 00 20 */ blr
.global GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController
GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController:
/* 8013C0A4 00139004 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013C0A8 00139008 7C 08 02 A6 */ mflr r0
/* 8013C0AC 0013900C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013C0B0 00139010 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013C0B4 00139014 3B E4 00 04 */ addi r31, r4, 4
/* 8013C0B8 00139018 38 80 00 0F */ li r4, 0xf
/* 8013C0BC 0013901C 93 C1 00 08 */ stw r30, 8(r1)
/* 8013C0C0 00139020 7C 7E 1B 78 */ mr r30, r3
/* 8013C0C4 00139024 7F E3 FB 78 */ mr r3, r31
/* 8013C0C8 00139028 4B FF 53 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C0CC 0013902C 28 03 00 00 */ cmplwi r3, 0
/* 8013C0D0 00139030 41 82 00 0C */ beq lbl_8013C0DC
/* 8013C0D4 00139034 38 60 00 0E */ li r3, 0xe
/* 8013C0D8 00139038 48 00 01 64 */ b lbl_8013C23C
lbl_8013C0DC:
/* 8013C0DC 0013903C 7F E3 FB 78 */ mr r3, r31
/* 8013C0E0 00139040 38 80 00 03 */ li r4, 3
/* 8013C0E4 00139044 4B FF 53 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C0E8 00139048 28 03 00 00 */ cmplwi r3, 0
/* 8013C0EC 0013904C 41 82 00 0C */ beq lbl_8013C0F8
/* 8013C0F0 00139050 38 60 00 00 */ li r3, 0
/* 8013C0F4 00139054 48 00 01 48 */ b lbl_8013C23C
lbl_8013C0F8:
/* 8013C0F8 00139058 7F E3 FB 78 */ mr r3, r31
/* 8013C0FC 0013905C 38 80 00 04 */ li r4, 4
/* 8013C100 00139060 4B FF 53 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C104 00139064 28 03 00 00 */ cmplwi r3, 0
/* 8013C108 00139068 41 82 00 0C */ beq lbl_8013C114
/* 8013C10C 0013906C 38 60 00 06 */ li r3, 6
/* 8013C110 00139070 48 00 01 2C */ b lbl_8013C23C
lbl_8013C114:
/* 8013C114 00139074 88 1E 00 0C */ lbz r0, 0xc(r30)
/* 8013C118 00139078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013C11C 0013907C 40 82 00 20 */ bne lbl_8013C13C
/* 8013C120 00139080 7F E3 FB 78 */ mr r3, r31
/* 8013C124 00139084 38 80 00 16 */ li r4, 0x16
/* 8013C128 00139088 4B FF 53 29 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C12C 0013908C 28 03 00 00 */ cmplwi r3, 0
/* 8013C130 00139090 41 82 00 0C */ beq lbl_8013C13C
/* 8013C134 00139094 38 60 00 05 */ li r3, 5
/* 8013C138 00139098 48 00 01 04 */ b lbl_8013C23C
lbl_8013C13C:
/* 8013C13C 0013909C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8013C140 001390A0 2C 00 00 02 */ cmpwi r0, 2
/* 8013C144 001390A4 40 82 00 F4 */ bne lbl_8013C238
/* 8013C148 001390A8 7F E3 FB 78 */ mr r3, r31
/* 8013C14C 001390AC 38 80 00 05 */ li r4, 5
/* 8013C150 001390B0 4B FF 53 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C154 001390B4 28 03 00 00 */ cmplwi r3, 0
/* 8013C158 001390B8 41 82 00 0C */ beq lbl_8013C164
/* 8013C15C 001390BC 38 60 00 07 */ li r3, 7
/* 8013C160 001390C0 48 00 00 DC */ b lbl_8013C23C
lbl_8013C164:
/* 8013C164 001390C4 7F E3 FB 78 */ mr r3, r31
/* 8013C168 001390C8 38 80 00 06 */ li r4, 6
/* 8013C16C 001390CC 4B FF 52 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C170 001390D0 28 03 00 00 */ cmplwi r3, 0
/* 8013C174 001390D4 41 82 00 0C */ beq lbl_8013C180
/* 8013C178 001390D8 38 60 00 12 */ li r3, 0x12
/* 8013C17C 001390DC 48 00 00 C0 */ b lbl_8013C23C
lbl_8013C180:
/* 8013C180 001390E0 7F E3 FB 78 */ mr r3, r31
/* 8013C184 001390E4 38 80 00 07 */ li r4, 7
/* 8013C188 001390E8 4B FF 52 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C18C 001390EC 28 03 00 00 */ cmplwi r3, 0
/* 8013C190 001390F0 41 82 00 0C */ beq lbl_8013C19C
/* 8013C194 001390F4 38 60 00 09 */ li r3, 9
/* 8013C198 001390F8 48 00 00 A4 */ b lbl_8013C23C
lbl_8013C19C:
/* 8013C19C 001390FC 7F E3 FB 78 */ mr r3, r31
/* 8013C1A0 00139100 38 80 00 01 */ li r4, 1
/* 8013C1A4 00139104 4B FF 52 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C1A8 00139108 28 03 00 00 */ cmplwi r3, 0
/* 8013C1AC 0013910C 41 82 00 0C */ beq lbl_8013C1B8
/* 8013C1B0 00139110 38 60 00 03 */ li r3, 3
/* 8013C1B4 00139114 48 00 00 88 */ b lbl_8013C23C
lbl_8013C1B8:
/* 8013C1B8 00139118 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2)
/* 8013C1BC 0013911C 38 00 00 00 */ li r0, 0
/* 8013C1C0 00139120 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8013C1C4 00139124 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C1C8 00139128 40 82 00 1C */ bne lbl_8013C1E4
/* 8013C1CC 0013912C C0 1F 00 04 */ lfs f0, 4(r31)
/* 8013C1D0 00139130 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C1D4 00139134 40 82 00 10 */ bne lbl_8013C1E4
/* 8013C1D8 00139138 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8013C1DC 0013913C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C1E0 00139140 41 82 00 08 */ beq lbl_8013C1E8
lbl_8013C1E4:
/* 8013C1E4 00139144 38 00 00 01 */ li r0, 1
lbl_8013C1E8:
/* 8013C1E8 00139148 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013C1EC 0013914C 41 82 00 0C */ beq lbl_8013C1F8
/* 8013C1F0 00139150 38 60 00 05 */ li r3, 5
/* 8013C1F4 00139154 48 00 00 48 */ b lbl_8013C23C
lbl_8013C1F8:
/* 8013C1F8 00139158 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2)
/* 8013C1FC 0013915C 38 00 00 00 */ li r0, 0
/* 8013C200 00139160 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8013C204 00139164 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C208 00139168 40 82 00 1C */ bne lbl_8013C224
/* 8013C20C 0013916C C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8013C210 00139170 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C214 00139174 40 82 00 10 */ bne lbl_8013C224
/* 8013C218 00139178 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8013C21C 0013917C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C220 00139180 41 82 00 08 */ beq lbl_8013C228
lbl_8013C224:
/* 8013C224 00139184 38 00 00 01 */ li r0, 1
lbl_8013C228:
/* 8013C228 00139188 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013C22C 0013918C 41 82 00 0C */ beq lbl_8013C238
/* 8013C230 00139190 38 60 00 08 */ li r3, 8
/* 8013C234 00139194 48 00 00 08 */ b lbl_8013C23C
lbl_8013C238:
/* 8013C238 00139198 38 60 FF FF */ li r3, -1
lbl_8013C23C:
/* 8013C23C 0013919C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013C240 001391A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013C244 001391A4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013C248 001391A8 7C 08 03 A6 */ mtlr r0
/* 8013C24C 001391AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8013C250 001391B0 4E 80 00 20 */ blr
.global PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager
PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager:
/* 8013C254 001391B4 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8013C258 001391B8 7C 08 02 A6 */ mflr r0
/* 8013C25C 001391BC 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8013C260 001391C0 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 8013C264 001391C4 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 8013C268 001391C8 7C BE 2B 78 */ mr r30, r5
/* 8013C26C 001391CC 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 8013C270 001391D0 7C 9D 23 78 */ mr r29, r4
/* 8013C274 001391D4 93 81 00 D0 */ stw r28, 0xd0(r1)
/* 8013C278 001391D8 7C 7C 1B 78 */ mr r28, r3
/* 8013C27C 001391DC 7F A3 EB 78 */ mr r3, r29
/* 8013C280 001391E0 4B FF E1 D5 */ bl GetPASDatabase__15CBodyControllerCFv
/* 8013C284 001391E4 7C 60 1B 78 */ mr r0, r3
/* 8013C288 001391E8 38 61 00 18 */ addi r3, r1, 0x18
/* 8013C28C 001391EC 7C 1F 03 78 */ mr r31, r0
/* 8013C290 001391F0 48 1A 6D ED */ bl NoParameter__12CPASAnimParmFv
/* 8013C294 001391F4 38 61 00 20 */ addi r3, r1, 0x20
/* 8013C298 001391F8 48 1A 6D E5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C29C 001391FC 38 61 00 28 */ addi r3, r1, 0x28
/* 8013C2A0 00139200 48 1A 6D DD */ bl NoParameter__12CPASAnimParmFv
/* 8013C2A4 00139204 38 61 00 30 */ addi r3, r1, 0x30
/* 8013C2A8 00139208 48 1A 6D D5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C2AC 0013920C 38 61 00 38 */ addi r3, r1, 0x38
/* 8013C2B0 00139210 48 1A 6D CD */ bl NoParameter__12CPASAnimParmFv
/* 8013C2B4 00139214 38 61 00 40 */ addi r3, r1, 0x40
/* 8013C2B8 00139218 48 1A 6D C5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C2BC 0013921C 38 61 00 48 */ addi r3, r1, 0x48
/* 8013C2C0 00139220 38 80 00 02 */ li r4, 2
/* 8013C2C4 00139224 48 1A 6C C1 */ bl FromEnum__12CPASAnimParmFi
/* 8013C2C8 00139228 80 9C 00 08 */ lwz r4, 8(r28)
/* 8013C2CC 0013922C 38 61 00 50 */ addi r3, r1, 0x50
/* 8013C2D0 00139230 48 1A 6C B5 */ bl FromEnum__12CPASAnimParmFi
/* 8013C2D4 00139234 38 61 00 20 */ addi r3, r1, 0x20
/* 8013C2D8 00139238 38 01 00 18 */ addi r0, r1, 0x18
/* 8013C2DC 0013923C 90 61 00 08 */ stw r3, 8(r1)
/* 8013C2E0 00139240 38 61 00 80 */ addi r3, r1, 0x80
/* 8013C2E4 00139244 38 A1 00 50 */ addi r5, r1, 0x50
/* 8013C2E8 00139248 38 C1 00 48 */ addi r6, r1, 0x48
/* 8013C2EC 0013924C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013C2F0 00139250 38 E1 00 40 */ addi r7, r1, 0x40
/* 8013C2F4 00139254 39 01 00 38 */ addi r8, r1, 0x38
/* 8013C2F8 00139258 39 21 00 30 */ addi r9, r1, 0x30
/* 8013C2FC 0013925C 39 41 00 28 */ addi r10, r1, 0x28
/* 8013C300 00139260 38 80 00 0A */ li r4, 0xa
/* 8013C304 00139264 4B F4 0F C1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013C308 00139268 80 DE 09 00 */ lwz r6, 0x900(r30)
/* 8013C30C 0013926C 7F E4 FB 78 */ mr r4, r31
/* 8013C310 00139270 38 61 00 10 */ addi r3, r1, 0x10
/* 8013C314 00139274 38 A1 00 80 */ addi r5, r1, 0x80
/* 8013C318 00139278 38 E0 FF FF */ li r7, -1
/* 8013C31C 0013927C 48 1A 8D 45 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8013C320 00139280 C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013C324 00139284 C0 02 9A A8 */ lfs f0, lbl_805AB7C8@sda21(r2)
/* 8013C328 00139288 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8013C32C 0013928C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013C330 00139290 40 81 00 B4 */ ble lbl_8013C3E4
/* 8013C334 00139294 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2)
/* 8013C338 00139298 38 00 00 00 */ li r0, 0
/* 8013C33C 0013929C 38 C0 FF FF */ li r6, -1
/* 8013C340 001392A0 38 E0 00 01 */ li r7, 1
/* 8013C344 001392A4 90 61 00 58 */ stw r3, 0x58(r1)
/* 8013C348 001392A8 7F A3 EB 78 */ mr r3, r29
/* 8013C34C 001392AC 38 81 00 58 */ addi r4, r1, 0x58
/* 8013C350 001392B0 38 A0 00 00 */ li r5, 0
/* 8013C354 001392B4 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 8013C358 001392B8 38 C0 00 00 */ li r6, 0
/* 8013C35C 001392BC D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8013C360 001392C0 98 E1 00 64 */ stb r7, 0x64(r1)
/* 8013C364 001392C4 90 01 00 68 */ stw r0, 0x68(r1)
/* 8013C368 001392C8 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8013C36C 001392CC 98 01 00 70 */ stb r0, 0x70(r1)
/* 8013C370 001392D0 90 01 00 74 */ stw r0, 0x74(r1)
/* 8013C374 001392D4 90 01 00 78 */ stw r0, 0x78(r1)
/* 8013C378 001392D8 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8013C37C 001392DC 4B FF E5 A1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8013C380 001392E0 34 A1 00 84 */ addic. r5, r1, 0x84
/* 8013C384 001392E4 41 82 00 58 */ beq lbl_8013C3DC
/* 8013C388 001392E8 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013C38C 001392EC 38 60 00 00 */ li r3, 0
/* 8013C390 001392F0 2C 06 00 00 */ cmpwi r6, 0
/* 8013C394 001392F4 40 81 00 40 */ ble lbl_8013C3D4
/* 8013C398 001392F8 2C 06 00 08 */ cmpwi r6, 8
/* 8013C39C 001392FC 38 86 FF F8 */ addi r4, r6, -8
/* 8013C3A0 00139300 40 81 00 20 */ ble lbl_8013C3C0
/* 8013C3A4 00139304 38 04 00 07 */ addi r0, r4, 7
/* 8013C3A8 00139308 54 00 E8 FE */ srwi r0, r0, 3
/* 8013C3AC 0013930C 7C 09 03 A6 */ mtctr r0
/* 8013C3B0 00139310 2C 04 00 00 */ cmpwi r4, 0
/* 8013C3B4 00139314 40 81 00 0C */ ble lbl_8013C3C0
lbl_8013C3B8:
/* 8013C3B8 00139318 38 63 00 08 */ addi r3, r3, 8
/* 8013C3BC 0013931C 42 00 FF FC */ bdnz lbl_8013C3B8
lbl_8013C3C0:
/* 8013C3C0 00139320 7C 03 30 50 */ subf r0, r3, r6
/* 8013C3C4 00139324 7C 09 03 A6 */ mtctr r0
/* 8013C3C8 00139328 7C 03 30 00 */ cmpw r3, r6
/* 8013C3CC 0013932C 40 80 00 08 */ bge lbl_8013C3D4
lbl_8013C3D0:
/* 8013C3D0 00139330 42 00 00 00 */ bdnz lbl_8013C3D0
lbl_8013C3D4:
/* 8013C3D4 00139334 38 00 00 00 */ li r0, 0
/* 8013C3D8 00139338 90 05 00 00 */ stw r0, 0(r5)
lbl_8013C3DC:
/* 8013C3DC 0013933C 38 60 00 01 */ li r3, 1
/* 8013C3E0 00139340 48 00 00 64 */ b lbl_8013C444
lbl_8013C3E4:
/* 8013C3E4 00139344 34 A1 00 84 */ addic. r5, r1, 0x84
/* 8013C3E8 00139348 41 82 00 58 */ beq lbl_8013C440
/* 8013C3EC 0013934C 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013C3F0 00139350 38 60 00 00 */ li r3, 0
/* 8013C3F4 00139354 2C 06 00 00 */ cmpwi r6, 0
/* 8013C3F8 00139358 40 81 00 40 */ ble lbl_8013C438
/* 8013C3FC 0013935C 2C 06 00 08 */ cmpwi r6, 8
/* 8013C400 00139360 38 86 FF F8 */ addi r4, r6, -8
/* 8013C404 00139364 40 81 00 20 */ ble lbl_8013C424
/* 8013C408 00139368 38 04 00 07 */ addi r0, r4, 7
/* 8013C40C 0013936C 54 00 E8 FE */ srwi r0, r0, 3
/* 8013C410 00139370 7C 09 03 A6 */ mtctr r0
/* 8013C414 00139374 2C 04 00 00 */ cmpwi r4, 0
/* 8013C418 00139378 40 81 00 0C */ ble lbl_8013C424
lbl_8013C41C:
/* 8013C41C 0013937C 38 63 00 08 */ addi r3, r3, 8
/* 8013C420 00139380 42 00 FF FC */ bdnz lbl_8013C41C
lbl_8013C424:
/* 8013C424 00139384 7C 03 30 50 */ subf r0, r3, r6
/* 8013C428 00139388 7C 09 03 A6 */ mtctr r0
/* 8013C42C 0013938C 7C 03 30 00 */ cmpw r3, r6
/* 8013C430 00139390 40 80 00 08 */ bge lbl_8013C438
lbl_8013C434:
/* 8013C434 00139394 42 00 00 00 */ bdnz lbl_8013C434
lbl_8013C438:
/* 8013C438 00139398 38 00 00 00 */ li r0, 0
/* 8013C43C 0013939C 90 05 00 00 */ stw r0, 0(r5)
lbl_8013C440:
/* 8013C440 001393A0 38 60 00 00 */ li r3, 0
lbl_8013C444:
/* 8013C444 001393A4 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8013C448 001393A8 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 8013C44C 001393AC 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 8013C450 001393B0 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 8013C454 001393B4 83 81 00 D0 */ lwz r28, 0xd0(r1)
/* 8013C458 001393B8 7C 08 03 A6 */ mtlr r0
/* 8013C45C 001393BC 38 21 00 E0 */ addi r1, r1, 0xe0
/* 8013C460 001393C0 4E 80 00 20 */ blr
.global Shutdown__15CBSLoopReactionFR15CBodyController
Shutdown__15CBSLoopReactionFR15CBodyController:
/* 8013C464 001393C4 4E 80 00 20 */ blr
.global UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager
UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager:
/* 8013C468 001393C8 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 8013C46C 001393CC 7C 08 02 A6 */ mflr r0
/* 8013C470 001393D0 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 8013C474 001393D4 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 8013C478 001393D8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 8013C47C 001393DC BF 61 00 9C */ stmw r27, 0x9c(r1)
/* 8013C480 001393E0 FF E0 08 90 */ fmr f31, f1
/* 8013C484 001393E4 7C 7E 1B 78 */ mr r30, r3
/* 8013C488 001393E8 7C 9B 23 78 */ mr r27, r4
/* 8013C48C 001393EC 7C BC 2B 78 */ mr r28, r5
/* 8013C490 001393F0 4B FF FC 15 */ bl GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController
/* 8013C494 001393F4 7C 7F 1B 78 */ mr r31, r3
/* 8013C498 001393F8 2C 1F FF FF */ cmpwi r31, -1
/* 8013C49C 001393FC 40 82 02 70 */ bne lbl_8013C70C
/* 8013C4A0 00139400 80 1E 00 04 */ lwz r0, 4(r30)
/* 8013C4A4 00139404 3B BB 00 04 */ addi r29, r27, 4
/* 8013C4A8 00139408 2C 00 00 01 */ cmpwi r0, 1
/* 8013C4AC 0013940C 41 82 01 B4 */ beq lbl_8013C660
/* 8013C4B0 00139410 40 80 00 10 */ bge lbl_8013C4C0
/* 8013C4B4 00139414 2C 00 00 00 */ cmpwi r0, 0
/* 8013C4B8 00139418 40 80 00 14 */ bge lbl_8013C4CC
/* 8013C4BC 0013941C 48 00 02 50 */ b lbl_8013C70C
lbl_8013C4C0:
/* 8013C4C0 00139420 2C 00 00 03 */ cmpwi r0, 3
/* 8013C4C4 00139424 40 80 02 48 */ bge lbl_8013C70C
/* 8013C4C8 00139428 48 00 02 2C */ b lbl_8013C6F4
lbl_8013C4CC:
/* 8013C4CC 0013942C 7F A3 EB 78 */ mr r3, r29
/* 8013C4D0 00139430 38 80 00 0A */ li r4, 0xa
/* 8013C4D4 00139434 4B FF 4F 7D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C4D8 00139438 28 03 00 00 */ cmplwi r3, 0
/* 8013C4DC 0013943C 41 82 00 38 */ beq lbl_8013C514
/* 8013C4E0 00139440 7F C3 F3 78 */ mr r3, r30
/* 8013C4E4 00139444 7F 64 DB 78 */ mr r4, r27
/* 8013C4E8 00139448 7F 85 E3 78 */ mr r5, r28
/* 8013C4EC 0013944C 4B FF FD 69 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager
/* 8013C4F0 00139450 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013C4F4 00139454 41 82 00 10 */ beq lbl_8013C504
/* 8013C4F8 00139458 38 00 00 02 */ li r0, 2
/* 8013C4FC 0013945C 90 1E 00 04 */ stw r0, 4(r30)
/* 8013C500 00139460 48 00 02 0C */ b lbl_8013C70C
lbl_8013C504:
/* 8013C504 00139464 38 00 FF FF */ li r0, -1
/* 8013C508 00139468 3B E0 00 05 */ li r31, 5
/* 8013C50C 0013946C 90 1E 00 04 */ stw r0, 4(r30)
/* 8013C510 00139470 48 00 01 FC */ b lbl_8013C70C
lbl_8013C514:
/* 8013C514 00139474 88 1B 03 00 */ lbz r0, 0x300(r27)
/* 8013C518 00139478 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013C51C 0013947C 41 82 00 F8 */ beq lbl_8013C614
/* 8013C520 00139480 38 61 00 10 */ addi r3, r1, 0x10
/* 8013C524 00139484 48 1A 6B 59 */ bl NoParameter__12CPASAnimParmFv
/* 8013C528 00139488 38 61 00 18 */ addi r3, r1, 0x18
/* 8013C52C 0013948C 48 1A 6B 51 */ bl NoParameter__12CPASAnimParmFv
/* 8013C530 00139490 38 61 00 20 */ addi r3, r1, 0x20
/* 8013C534 00139494 48 1A 6B 49 */ bl NoParameter__12CPASAnimParmFv
/* 8013C538 00139498 38 61 00 28 */ addi r3, r1, 0x28
/* 8013C53C 0013949C 48 1A 6B 41 */ bl NoParameter__12CPASAnimParmFv
/* 8013C540 001394A0 38 61 00 30 */ addi r3, r1, 0x30
/* 8013C544 001394A4 48 1A 6B 39 */ bl NoParameter__12CPASAnimParmFv
/* 8013C548 001394A8 38 61 00 38 */ addi r3, r1, 0x38
/* 8013C54C 001394AC 48 1A 6B 31 */ bl NoParameter__12CPASAnimParmFv
/* 8013C550 001394B0 38 61 00 40 */ addi r3, r1, 0x40
/* 8013C554 001394B4 38 80 00 01 */ li r4, 1
/* 8013C558 001394B8 48 1A 6A 2D */ bl FromEnum__12CPASAnimParmFi
/* 8013C55C 001394BC 80 9E 00 08 */ lwz r4, 8(r30)
/* 8013C560 001394C0 38 61 00 48 */ addi r3, r1, 0x48
/* 8013C564 001394C4 48 1A 6A 21 */ bl FromEnum__12CPASAnimParmFi
/* 8013C568 001394C8 38 61 00 18 */ addi r3, r1, 0x18
/* 8013C56C 001394CC 38 01 00 10 */ addi r0, r1, 0x10
/* 8013C570 001394D0 90 61 00 08 */ stw r3, 8(r1)
/* 8013C574 001394D4 38 61 00 50 */ addi r3, r1, 0x50
/* 8013C578 001394D8 38 A1 00 48 */ addi r5, r1, 0x48
/* 8013C57C 001394DC 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013C580 001394E0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013C584 001394E4 38 E1 00 38 */ addi r7, r1, 0x38
/* 8013C588 001394E8 39 01 00 30 */ addi r8, r1, 0x30
/* 8013C58C 001394EC 39 21 00 28 */ addi r9, r1, 0x28
/* 8013C590 001394F0 39 41 00 20 */ addi r10, r1, 0x20
/* 8013C594 001394F4 38 80 00 0A */ li r4, 0xa
/* 8013C598 001394F8 4B F4 0D 2D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013C59C 001394FC 80 BC 09 00 */ lwz r5, 0x900(r28)
/* 8013C5A0 00139500 7F 63 DB 78 */ mr r3, r27
/* 8013C5A4 00139504 38 81 00 50 */ addi r4, r1, 0x50
/* 8013C5A8 00139508 4B FF DD 55 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013C5AC 0013950C 38 00 00 01 */ li r0, 1
/* 8013C5B0 00139510 34 A1 00 54 */ addic. r5, r1, 0x54
/* 8013C5B4 00139514 90 1E 00 04 */ stw r0, 4(r30)
/* 8013C5B8 00139518 41 82 01 54 */ beq lbl_8013C70C
/* 8013C5BC 0013951C 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013C5C0 00139520 38 60 00 00 */ li r3, 0
/* 8013C5C4 00139524 2C 06 00 00 */ cmpwi r6, 0
/* 8013C5C8 00139528 40 81 00 40 */ ble lbl_8013C608
/* 8013C5CC 0013952C 2C 06 00 08 */ cmpwi r6, 8
/* 8013C5D0 00139530 38 86 FF F8 */ addi r4, r6, -8
/* 8013C5D4 00139534 40 81 00 20 */ ble lbl_8013C5F4
/* 8013C5D8 00139538 38 04 00 07 */ addi r0, r4, 7
/* 8013C5DC 0013953C 54 00 E8 FE */ srwi r0, r0, 3
/* 8013C5E0 00139540 7C 09 03 A6 */ mtctr r0
/* 8013C5E4 00139544 2C 04 00 00 */ cmpwi r4, 0
/* 8013C5E8 00139548 40 81 00 0C */ ble lbl_8013C5F4
lbl_8013C5EC:
/* 8013C5EC 0013954C 38 63 00 08 */ addi r3, r3, 8
/* 8013C5F0 00139550 42 00 FF FC */ bdnz lbl_8013C5EC
lbl_8013C5F4:
/* 8013C5F4 00139554 7C 03 30 50 */ subf r0, r3, r6
/* 8013C5F8 00139558 7C 09 03 A6 */ mtctr r0
/* 8013C5FC 0013955C 7C 03 30 00 */ cmpw r3, r6
/* 8013C600 00139560 40 80 00 08 */ bge lbl_8013C608
lbl_8013C604:
/* 8013C604 00139564 42 00 00 00 */ bdnz lbl_8013C604
lbl_8013C608:
/* 8013C608 00139568 38 00 00 00 */ li r0, 0
/* 8013C60C 0013956C 90 05 00 00 */ stw r0, 0(r5)
/* 8013C610 00139570 48 00 00 FC */ b lbl_8013C70C
lbl_8013C614:
/* 8013C614 00139574 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2)
/* 8013C618 00139578 38 00 00 00 */ li r0, 0
/* 8013C61C 0013957C C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 8013C620 00139580 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C624 00139584 40 82 00 1C */ bne lbl_8013C640
/* 8013C628 00139588 C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 8013C62C 0013958C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C630 00139590 40 82 00 10 */ bne lbl_8013C640
/* 8013C634 00139594 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 8013C638 00139598 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C63C 0013959C 41 82 00 08 */ beq lbl_8013C644
lbl_8013C640:
/* 8013C640 001395A0 38 00 00 01 */ li r0, 1
lbl_8013C644:
/* 8013C644 001395A4 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013C648 001395A8 41 82 00 C4 */ beq lbl_8013C70C
/* 8013C64C 001395AC FC 20 F8 90 */ fmr f1, f31
/* 8013C650 001395B0 7F 63 DB 78 */ mr r3, r27
/* 8013C654 001395B4 38 9D 00 18 */ addi r4, r29, 0x18
/* 8013C658 001395B8 4B FF E0 4D */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
/* 8013C65C 001395BC 48 00 00 B0 */ b lbl_8013C70C
lbl_8013C660:
/* 8013C660 001395C0 7F A3 EB 78 */ mr r3, r29
/* 8013C664 001395C4 38 80 00 0A */ li r4, 0xa
/* 8013C668 001395C8 4B FF 4D E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C66C 001395CC 28 03 00 00 */ cmplwi r3, 0
/* 8013C670 001395D0 41 82 00 38 */ beq lbl_8013C6A8
/* 8013C674 001395D4 7F C3 F3 78 */ mr r3, r30
/* 8013C678 001395D8 7F 64 DB 78 */ mr r4, r27
/* 8013C67C 001395DC 7F 85 E3 78 */ mr r5, r28
/* 8013C680 001395E0 4B FF FB D5 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager
/* 8013C684 001395E4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8013C688 001395E8 41 82 00 10 */ beq lbl_8013C698
/* 8013C68C 001395EC 38 00 00 02 */ li r0, 2
/* 8013C690 001395F0 90 1E 00 04 */ stw r0, 4(r30)
/* 8013C694 001395F4 48 00 00 78 */ b lbl_8013C70C
lbl_8013C698:
/* 8013C698 001395F8 38 00 FF FF */ li r0, -1
/* 8013C69C 001395FC 3B E0 00 05 */ li r31, 5
/* 8013C6A0 00139600 90 1E 00 04 */ stw r0, 4(r30)
/* 8013C6A4 00139604 48 00 00 68 */ b lbl_8013C70C
lbl_8013C6A8:
/* 8013C6A8 00139608 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2)
/* 8013C6AC 0013960C 38 00 00 00 */ li r0, 0
/* 8013C6B0 00139610 C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 8013C6B4 00139614 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C6B8 00139618 40 82 00 1C */ bne lbl_8013C6D4
/* 8013C6BC 0013961C C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 8013C6C0 00139620 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C6C4 00139624 40 82 00 10 */ bne lbl_8013C6D4
/* 8013C6C8 00139628 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 8013C6CC 0013962C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013C6D0 00139630 41 82 00 08 */ beq lbl_8013C6D8
lbl_8013C6D4:
/* 8013C6D4 00139634 38 00 00 01 */ li r0, 1
lbl_8013C6D8:
/* 8013C6D8 00139638 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8013C6DC 0013963C 41 82 00 30 */ beq lbl_8013C70C
/* 8013C6E0 00139640 FC 20 F8 90 */ fmr f1, f31
/* 8013C6E4 00139644 7F 63 DB 78 */ mr r3, r27
/* 8013C6E8 00139648 38 9D 00 18 */ addi r4, r29, 0x18
/* 8013C6EC 0013964C 4B FF DF B9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
/* 8013C6F0 00139650 48 00 00 1C */ b lbl_8013C70C
lbl_8013C6F4:
/* 8013C6F4 00139654 88 1B 03 00 */ lbz r0, 0x300(r27)
/* 8013C6F8 00139658 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013C6FC 0013965C 41 82 00 10 */ beq lbl_8013C70C
/* 8013C700 00139660 38 00 FF FF */ li r0, -1
/* 8013C704 00139664 3B E0 00 05 */ li r31, 5
/* 8013C708 00139668 90 1E 00 04 */ stw r0, 4(r30)
lbl_8013C70C:
/* 8013C70C 0013966C 7F E3 FB 78 */ mr r3, r31
/* 8013C710 00139670 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 8013C714 00139674 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 8013C718 00139678 BB 61 00 9C */ lmw r27, 0x9c(r1)
/* 8013C71C 0013967C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 8013C720 00139680 7C 08 03 A6 */ mtlr r0
/* 8013C724 00139684 38 21 00 C0 */ addi r1, r1, 0xc0
/* 8013C728 00139688 4E 80 00 20 */ blr
.global Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager
Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager:
/* 8013C72C 0013968C 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 8013C730 00139690 7C 08 02 A6 */ mflr r0
/* 8013C734 00139694 90 01 01 64 */ stw r0, 0x164(r1)
/* 8013C738 00139698 93 E1 01 5C */ stw r31, 0x15c(r1)
/* 8013C73C 0013969C 7C BF 2B 78 */ mr r31, r5
/* 8013C740 001396A0 93 C1 01 58 */ stw r30, 0x158(r1)
/* 8013C744 001396A4 7C 9E 23 78 */ mr r30, r4
/* 8013C748 001396A8 38 80 00 08 */ li r4, 8
/* 8013C74C 001396AC 93 A1 01 54 */ stw r29, 0x154(r1)
/* 8013C750 001396B0 3B BE 00 04 */ addi r29, r30, 4
/* 8013C754 001396B4 93 81 01 50 */ stw r28, 0x150(r1)
/* 8013C758 001396B8 7C 7C 1B 78 */ mr r28, r3
/* 8013C75C 001396BC 7F A3 EB 78 */ mr r3, r29
/* 8013C760 001396C0 4B FF 4C F1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C764 001396C4 28 03 00 00 */ cmplwi r3, 0
/* 8013C768 001396C8 41 82 00 20 */ beq lbl_8013C788
/* 8013C76C 001396CC 80 03 00 08 */ lwz r0, 8(r3)
/* 8013C770 001396D0 38 60 00 00 */ li r3, 0
/* 8013C774 001396D4 90 1C 00 08 */ stw r0, 8(r28)
/* 8013C778 001396D8 88 1C 00 0C */ lbz r0, 0xc(r28)
/* 8013C77C 001396DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8013C780 001396E0 98 1C 00 0C */ stb r0, 0xc(r28)
/* 8013C784 001396E4 48 00 00 28 */ b lbl_8013C7AC
lbl_8013C788:
/* 8013C788 001396E8 7F A3 EB 78 */ mr r3, r29
/* 8013C78C 001396EC 38 80 00 09 */ li r4, 9
/* 8013C790 001396F0 4B FF 4C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013C794 001396F4 80 03 00 08 */ lwz r0, 8(r3)
/* 8013C798 001396F8 38 60 00 01 */ li r3, 1
/* 8013C79C 001396FC 90 1C 00 08 */ stw r0, 8(r28)
/* 8013C7A0 00139700 88 1C 00 0C */ lbz r0, 0xc(r28)
/* 8013C7A4 00139704 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8013C7A8 00139708 98 1C 00 0C */ stb r0, 0xc(r28)
lbl_8013C7AC:
/* 8013C7AC 0013970C 38 00 00 00 */ li r0, 0
/* 8013C7B0 00139710 38 61 00 58 */ addi r3, r1, 0x58
/* 8013C7B4 00139714 90 1C 00 04 */ stw r0, 4(r28)
/* 8013C7B8 00139718 48 1A 68 C5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C7BC 0013971C 38 61 00 60 */ addi r3, r1, 0x60
/* 8013C7C0 00139720 48 1A 68 BD */ bl NoParameter__12CPASAnimParmFv
/* 8013C7C4 00139724 38 61 00 68 */ addi r3, r1, 0x68
/* 8013C7C8 00139728 48 1A 68 B5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C7CC 0013972C 38 61 00 70 */ addi r3, r1, 0x70
/* 8013C7D0 00139730 48 1A 68 AD */ bl NoParameter__12CPASAnimParmFv
/* 8013C7D4 00139734 38 61 00 78 */ addi r3, r1, 0x78
/* 8013C7D8 00139738 48 1A 68 A5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C7DC 0013973C 38 61 00 80 */ addi r3, r1, 0x80
/* 8013C7E0 00139740 48 1A 68 9D */ bl NoParameter__12CPASAnimParmFv
/* 8013C7E4 00139744 80 9C 00 04 */ lwz r4, 4(r28)
/* 8013C7E8 00139748 38 61 00 88 */ addi r3, r1, 0x88
/* 8013C7EC 0013974C 48 1A 67 99 */ bl FromEnum__12CPASAnimParmFi
/* 8013C7F0 00139750 80 9C 00 08 */ lwz r4, 8(r28)
/* 8013C7F4 00139754 38 61 00 90 */ addi r3, r1, 0x90
/* 8013C7F8 00139758 48 1A 67 8D */ bl FromEnum__12CPASAnimParmFi
/* 8013C7FC 0013975C 38 61 00 60 */ addi r3, r1, 0x60
/* 8013C800 00139760 38 01 00 58 */ addi r0, r1, 0x58
/* 8013C804 00139764 90 61 00 08 */ stw r3, 8(r1)
/* 8013C808 00139768 38 61 01 08 */ addi r3, r1, 0x108
/* 8013C80C 0013976C 38 A1 00 90 */ addi r5, r1, 0x90
/* 8013C810 00139770 38 C1 00 88 */ addi r6, r1, 0x88
/* 8013C814 00139774 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013C818 00139778 38 E1 00 80 */ addi r7, r1, 0x80
/* 8013C81C 0013977C 39 01 00 78 */ addi r8, r1, 0x78
/* 8013C820 00139780 39 21 00 70 */ addi r9, r1, 0x70
/* 8013C824 00139784 39 41 00 68 */ addi r10, r1, 0x68
/* 8013C828 00139788 38 80 00 0A */ li r4, 0xa
/* 8013C82C 0013978C 4B F4 0A 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013C830 00139790 7F C3 F3 78 */ mr r3, r30
/* 8013C834 00139794 4B FF DC 21 */ bl GetPASDatabase__15CBodyControllerCFv
/* 8013C838 00139798 80 DF 09 00 */ lwz r6, 0x900(r31)
/* 8013C83C 0013979C 7C 64 1B 78 */ mr r4, r3
/* 8013C840 001397A0 38 61 00 50 */ addi r3, r1, 0x50
/* 8013C844 001397A4 38 A1 01 08 */ addi r5, r1, 0x108
/* 8013C848 001397A8 38 E0 FF FF */ li r7, -1
/* 8013C84C 001397AC 48 1A 88 15 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8013C850 001397B0 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 8013C854 001397B4 C0 02 9A B0 */ lfs f0, lbl_805AB7D0@sda21(r2)
/* 8013C858 001397B8 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8013C85C 001397BC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013C860 001397C0 40 81 00 54 */ ble lbl_8013C8B4
/* 8013C864 001397C4 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2)
/* 8013C868 001397C8 38 00 00 00 */ li r0, 0
/* 8013C86C 001397CC 38 C0 FF FF */ li r6, -1
/* 8013C870 001397D0 38 E0 00 01 */ li r7, 1
/* 8013C874 001397D4 90 61 00 98 */ stw r3, 0x98(r1)
/* 8013C878 001397D8 7F C3 F3 78 */ mr r3, r30
/* 8013C87C 001397DC 38 81 00 98 */ addi r4, r1, 0x98
/* 8013C880 001397E0 38 A0 00 00 */ li r5, 0
/* 8013C884 001397E4 90 C1 00 9C */ stw r6, 0x9c(r1)
/* 8013C888 001397E8 38 C0 00 00 */ li r6, 0
/* 8013C88C 001397EC D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8013C890 001397F0 98 E1 00 A4 */ stb r7, 0xa4(r1)
/* 8013C894 001397F4 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 8013C898 001397F8 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013C89C 001397FC 98 01 00 B0 */ stb r0, 0xb0(r1)
/* 8013C8A0 00139800 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8013C8A4 00139804 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 8013C8A8 00139808 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8013C8AC 0013980C 4B FF E0 71 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8013C8B0 00139810 48 00 00 F4 */ b lbl_8013C9A4
lbl_8013C8B4:
/* 8013C8B4 00139814 38 00 00 01 */ li r0, 1
/* 8013C8B8 00139818 38 61 00 10 */ addi r3, r1, 0x10
/* 8013C8BC 0013981C 90 1C 00 04 */ stw r0, 4(r28)
/* 8013C8C0 00139820 48 1A 67 BD */ bl NoParameter__12CPASAnimParmFv
/* 8013C8C4 00139824 38 61 00 18 */ addi r3, r1, 0x18
/* 8013C8C8 00139828 48 1A 67 B5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C8CC 0013982C 38 61 00 20 */ addi r3, r1, 0x20
/* 8013C8D0 00139830 48 1A 67 AD */ bl NoParameter__12CPASAnimParmFv
/* 8013C8D4 00139834 38 61 00 28 */ addi r3, r1, 0x28
/* 8013C8D8 00139838 48 1A 67 A5 */ bl NoParameter__12CPASAnimParmFv
/* 8013C8DC 0013983C 38 61 00 30 */ addi r3, r1, 0x30
/* 8013C8E0 00139840 48 1A 67 9D */ bl NoParameter__12CPASAnimParmFv
/* 8013C8E4 00139844 38 61 00 38 */ addi r3, r1, 0x38
/* 8013C8E8 00139848 48 1A 67 95 */ bl NoParameter__12CPASAnimParmFv
/* 8013C8EC 0013984C 80 9C 00 04 */ lwz r4, 4(r28)
/* 8013C8F0 00139850 38 61 00 40 */ addi r3, r1, 0x40
/* 8013C8F4 00139854 48 1A 66 91 */ bl FromEnum__12CPASAnimParmFi
/* 8013C8F8 00139858 80 9C 00 08 */ lwz r4, 8(r28)
/* 8013C8FC 0013985C 38 61 00 48 */ addi r3, r1, 0x48
/* 8013C900 00139860 48 1A 66 85 */ bl FromEnum__12CPASAnimParmFi
/* 8013C904 00139864 38 61 00 18 */ addi r3, r1, 0x18
/* 8013C908 00139868 38 01 00 10 */ addi r0, r1, 0x10
/* 8013C90C 0013986C 90 61 00 08 */ stw r3, 8(r1)
/* 8013C910 00139870 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8013C914 00139874 38 A1 00 48 */ addi r5, r1, 0x48
/* 8013C918 00139878 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013C91C 0013987C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013C920 00139880 38 E1 00 38 */ addi r7, r1, 0x38
/* 8013C924 00139884 39 01 00 30 */ addi r8, r1, 0x30
/* 8013C928 00139888 39 21 00 28 */ addi r9, r1, 0x28
/* 8013C92C 0013988C 39 41 00 20 */ addi r10, r1, 0x20
/* 8013C930 00139890 38 80 00 0A */ li r4, 0xa
/* 8013C934 00139894 4B F4 09 91 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013C938 00139898 80 BF 09 00 */ lwz r5, 0x900(r31)
/* 8013C93C 0013989C 7F C3 F3 78 */ mr r3, r30
/* 8013C940 001398A0 38 81 01 08 */ addi r4, r1, 0x108
/* 8013C944 001398A4 4B FF D9 B9 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013C948 001398A8 34 A1 00 C4 */ addic. r5, r1, 0xc4
/* 8013C94C 001398AC 41 82 00 58 */ beq lbl_8013C9A4
/* 8013C950 001398B0 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013C954 001398B4 38 60 00 00 */ li r3, 0
/* 8013C958 001398B8 2C 06 00 00 */ cmpwi r6, 0
/* 8013C95C 001398BC 40 81 00 40 */ ble lbl_8013C99C
/* 8013C960 001398C0 2C 06 00 08 */ cmpwi r6, 8
/* 8013C964 001398C4 38 86 FF F8 */ addi r4, r6, -8
/* 8013C968 001398C8 40 81 00 20 */ ble lbl_8013C988
/* 8013C96C 001398CC 38 04 00 07 */ addi r0, r4, 7
/* 8013C970 001398D0 54 00 E8 FE */ srwi r0, r0, 3
/* 8013C974 001398D4 7C 09 03 A6 */ mtctr r0
/* 8013C978 001398D8 2C 04 00 00 */ cmpwi r4, 0
/* 8013C97C 001398DC 40 81 00 0C */ ble lbl_8013C988
lbl_8013C980:
/* 8013C980 001398E0 38 63 00 08 */ addi r3, r3, 8
/* 8013C984 001398E4 42 00 FF FC */ bdnz lbl_8013C980
lbl_8013C988:
/* 8013C988 001398E8 7C 03 30 50 */ subf r0, r3, r6
/* 8013C98C 001398EC 7C 09 03 A6 */ mtctr r0
/* 8013C990 001398F0 7C 03 30 00 */ cmpw r3, r6
/* 8013C994 001398F4 40 80 00 08 */ bge lbl_8013C99C
lbl_8013C998:
/* 8013C998 001398F8 42 00 00 00 */ bdnz lbl_8013C998
lbl_8013C99C:
/* 8013C99C 001398FC 38 00 00 00 */ li r0, 0
/* 8013C9A0 00139900 90 05 00 00 */ stw r0, 0(r5)
lbl_8013C9A4:
/* 8013C9A4 00139904 34 A1 01 0C */ addic. r5, r1, 0x10c
/* 8013C9A8 00139908 41 82 00 58 */ beq lbl_8013CA00
/* 8013C9AC 0013990C 80 C5 00 00 */ lwz r6, 0(r5)
/* 8013C9B0 00139910 38 60 00 00 */ li r3, 0
/* 8013C9B4 00139914 2C 06 00 00 */ cmpwi r6, 0
/* 8013C9B8 00139918 40 81 00 40 */ ble lbl_8013C9F8
/* 8013C9BC 0013991C 2C 06 00 08 */ cmpwi r6, 8
/* 8013C9C0 00139920 38 86 FF F8 */ addi r4, r6, -8
/* 8013C9C4 00139924 40 81 00 20 */ ble lbl_8013C9E4
/* 8013C9C8 00139928 38 04 00 07 */ addi r0, r4, 7
/* 8013C9CC 0013992C 54 00 E8 FE */ srwi r0, r0, 3
/* 8013C9D0 00139930 7C 09 03 A6 */ mtctr r0
/* 8013C9D4 00139934 2C 04 00 00 */ cmpwi r4, 0
/* 8013C9D8 00139938 40 81 00 0C */ ble lbl_8013C9E4
lbl_8013C9DC:
/* 8013C9DC 0013993C 38 63 00 08 */ addi r3, r3, 8
/* 8013C9E0 00139940 42 00 FF FC */ bdnz lbl_8013C9DC
lbl_8013C9E4:
/* 8013C9E4 00139944 7C 03 30 50 */ subf r0, r3, r6
/* 8013C9E8 00139948 7C 09 03 A6 */ mtctr r0
/* 8013C9EC 0013994C 7C 03 30 00 */ cmpw r3, r6
/* 8013C9F0 00139950 40 80 00 08 */ bge lbl_8013C9F8
lbl_8013C9F4:
/* 8013C9F4 00139954 42 00 00 00 */ bdnz lbl_8013C9F4
lbl_8013C9F8:
/* 8013C9F8 00139958 38 00 00 00 */ li r0, 0
/* 8013C9FC 0013995C 90 05 00 00 */ stw r0, 0(r5)
lbl_8013CA00:
/* 8013CA00 00139960 80 01 01 64 */ lwz r0, 0x164(r1)
/* 8013CA04 00139964 83 E1 01 5C */ lwz r31, 0x15c(r1)
/* 8013CA08 00139968 83 C1 01 58 */ lwz r30, 0x158(r1)
/* 8013CA0C 0013996C 83 A1 01 54 */ lwz r29, 0x154(r1)
/* 8013CA10 00139970 83 81 01 50 */ lwz r28, 0x150(r1)
/* 8013CA14 00139974 7C 08 03 A6 */ mtlr r0
/* 8013CA18 00139978 38 21 01 60 */ addi r1, r1, 0x160
/* 8013CA1C 0013997C 4E 80 00 20 */ blr
.global __ct__15CBSLoopReactionFv
__ct__15CBSLoopReactionFv:
/* 8013CA20 00139980 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 8013CA24 00139984 3C 80 80 3E */ lis r4, lbl_803E1878@ha
/* 8013CA28 00139988 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l
/* 8013CA2C 0013998C 38 00 FF FF */ li r0, -1
/* 8013CA30 00139990 90 C3 00 00 */ stw r6, 0(r3)
/* 8013CA34 00139994 38 A4 18 78 */ addi r5, r4, lbl_803E1878@l
/* 8013CA38 00139998 38 80 00 00 */ li r4, 0
/* 8013CA3C 0013999C 90 A3 00 00 */ stw r5, 0(r3)
/* 8013CA40 001399A0 90 03 00 04 */ stw r0, 4(r3)
/* 8013CA44 001399A4 90 03 00 08 */ stw r0, 8(r3)
/* 8013CA48 001399A8 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8013CA4C 001399AC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8013CA50 001399B0 98 03 00 0C */ stb r0, 0xc(r3)
/* 8013CA54 001399B4 4E 80 00 20 */ blr

View File

@ -0,0 +1,334 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__8CBSSlideFv
__dt__8CBSSlideFv:
/* 80143F84 00140EE4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80143F88 00140EE8 7C 08 02 A6 */ mflr r0
/* 80143F8C 00140EEC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80143F90 00140EF0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80143F94 00140EF4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80143F98 00140EF8 41 82 00 30 */ beq lbl_80143FC8
/* 80143F9C 00140EFC 3C 60 80 3E */ lis r3, lbl_803E1F78@ha
/* 80143FA0 00140F00 38 03 1F 78 */ addi r0, r3, lbl_803E1F78@l
/* 80143FA4 00140F04 90 1F 00 00 */ stw r0, 0(r31)
/* 80143FA8 00140F08 41 82 00 10 */ beq lbl_80143FB8
/* 80143FAC 00140F0C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80143FB0 00140F10 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80143FB4 00140F14 90 1F 00 00 */ stw r0, 0(r31)
lbl_80143FB8:
/* 80143FB8 00140F18 7C 80 07 35 */ extsh. r0, r4
/* 80143FBC 00140F1C 40 81 00 0C */ ble lbl_80143FC8
/* 80143FC0 00140F20 7F E3 FB 78 */ mr r3, r31
/* 80143FC4 00140F24 48 1D 19 6D */ bl Free__7CMemoryFPCv
lbl_80143FC8:
/* 80143FC8 00140F28 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80143FCC 00140F2C 7F E3 FB 78 */ mr r3, r31
/* 80143FD0 00140F30 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80143FD4 00140F34 7C 08 03 A6 */ mtlr r0
/* 80143FD8 00140F38 38 21 00 10 */ addi r1, r1, 0x10
/* 80143FDC 00140F3C 4E 80 00 20 */ blr
.global IsMoving__8CBSSlideCFv
IsMoving__8CBSSlideCFv:
/* 80143FE0 00140F40 38 60 00 01 */ li r3, 1
/* 80143FE4 00140F44 4E 80 00 20 */ blr
.global ApplyHeadTracking__8CBSSlideCFv
ApplyHeadTracking__8CBSSlideCFv:
/* 80143FE8 00140F48 38 60 00 00 */ li r3, 0
/* 80143FEC 00140F4C 4E 80 00 20 */ blr
.global GetBodyStateTransition__8CBSSlideFfR15CBodyController
GetBodyStateTransition__8CBSSlideFfR15CBodyController:
/* 80143FF0 00140F50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80143FF4 00140F54 7C 08 02 A6 */ mflr r0
/* 80143FF8 00140F58 90 01 00 14 */ stw r0, 0x14(r1)
/* 80143FFC 00140F5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80144000 00140F60 93 C1 00 08 */ stw r30, 8(r1)
/* 80144004 00140F64 7C 9E 23 78 */ mr r30, r4
/* 80144008 00140F68 3B FE 00 04 */ addi r31, r30, 4
/* 8014400C 00140F6C 38 80 00 0F */ li r4, 0xf
/* 80144010 00140F70 7F E3 FB 78 */ mr r3, r31
/* 80144014 00140F74 4B FE D4 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144018 00140F78 28 03 00 00 */ cmplwi r3, 0
/* 8014401C 00140F7C 41 82 00 0C */ beq lbl_80144028
/* 80144020 00140F80 38 60 00 0E */ li r3, 0xe
/* 80144024 00140F84 48 00 00 6C */ b lbl_80144090
lbl_80144028:
/* 80144028 00140F88 7F E3 FB 78 */ mr r3, r31
/* 8014402C 00140F8C 38 80 00 03 */ li r4, 3
/* 80144030 00140F90 4B FE D4 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144034 00140F94 28 03 00 00 */ cmplwi r3, 0
/* 80144038 00140F98 41 82 00 0C */ beq lbl_80144044
/* 8014403C 00140F9C 38 60 00 00 */ li r3, 0
/* 80144040 00140FA0 48 00 00 50 */ b lbl_80144090
lbl_80144044:
/* 80144044 00140FA4 7F E3 FB 78 */ mr r3, r31
/* 80144048 00140FA8 38 80 00 09 */ li r4, 9
/* 8014404C 00140FAC 4B FE D4 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144050 00140FB0 28 03 00 00 */ cmplwi r3, 0
/* 80144054 00140FB4 41 82 00 0C */ beq lbl_80144060
/* 80144058 00140FB8 38 60 00 0A */ li r3, 0xa
/* 8014405C 00140FBC 48 00 00 34 */ b lbl_80144090
lbl_80144060:
/* 80144060 00140FC0 7F E3 FB 78 */ mr r3, r31
/* 80144064 00140FC4 38 80 00 04 */ li r4, 4
/* 80144068 00140FC8 4B FE D3 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014406C 00140FCC 28 03 00 00 */ cmplwi r3, 0
/* 80144070 00140FD0 41 82 00 0C */ beq lbl_8014407C
/* 80144074 00140FD4 38 60 00 06 */ li r3, 6
/* 80144078 00140FD8 48 00 00 18 */ b lbl_80144090
lbl_8014407C:
/* 8014407C 00140FDC 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80144080 00140FE0 38 60 FF FF */ li r3, -1
/* 80144084 00140FE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80144088 00140FE8 41 82 00 08 */ beq lbl_80144090
/* 8014408C 00140FEC 38 60 00 05 */ li r3, 5
lbl_80144090:
/* 80144090 00140FF0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80144094 00140FF4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80144098 00140FF8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014409C 00140FFC 7C 08 03 A6 */ mtlr r0
/* 801440A0 00141000 38 21 00 10 */ addi r1, r1, 0x10
/* 801440A4 00141004 4E 80 00 20 */ blr
.global Shutdown__8CBSSlideFR15CBodyController
Shutdown__8CBSSlideFR15CBodyController:
/* 801440A8 00141008 4E 80 00 20 */ blr
.global UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager
UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager:
/* 801440AC 0014100C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801440B0 00141010 7C 08 02 A6 */ mflr r0
/* 801440B4 00141014 90 01 00 44 */ stw r0, 0x44(r1)
/* 801440B8 00141018 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801440BC 0014101C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 801440C0 00141020 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801440C4 00141024 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801440C8 00141028 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801440CC 0014102C FF E0 08 90 */ fmr f31, f1
/* 801440D0 00141030 7C 7D 1B 78 */ mr r29, r3
/* 801440D4 00141034 7C 9E 23 78 */ mr r30, r4
/* 801440D8 00141038 4B FF FF 19 */ bl GetBodyStateTransition__8CBSSlideFfR15CBodyController
/* 801440DC 0014103C 7C 7F 1B 78 */ mr r31, r3
/* 801440E0 00141040 2C 1F FF FF */ cmpwi r31, -1
/* 801440E4 00141044 40 82 00 34 */ bne lbl_80144118
/* 801440E8 00141048 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 801440EC 0014104C C0 3D 00 04 */ lfs f1, 4(r29)
/* 801440F0 00141050 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 801440F4 00141054 41 82 00 24 */ beq lbl_80144118
/* 801440F8 00141058 EC 1F 00 72 */ fmuls f0, f31, f1
/* 801440FC 0014105C 38 61 00 0C */ addi r3, r1, 0xc
/* 80144100 00141060 38 81 00 08 */ addi r4, r1, 8
/* 80144104 00141064 D0 01 00 08 */ stfs f0, 8(r1)
/* 80144108 00141068 48 1C CF F1 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 8014410C 0014106C 7F C3 F3 78 */ mr r3, r30
/* 80144110 00141070 38 81 00 0C */ addi r4, r1, 0xc
/* 80144114 00141074 4B FF 66 F5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
lbl_80144118:
/* 80144118 00141078 7F E3 FB 78 */ mr r3, r31
/* 8014411C 0014107C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80144120 00141080 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80144124 00141084 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80144128 00141088 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8014412C 0014108C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80144130 00141090 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80144134 00141094 7C 08 03 A6 */ mtlr r0
/* 80144138 00141098 38 21 00 40 */ addi r1, r1, 0x40
/* 8014413C 0014109C 4E 80 00 20 */ blr
.global Start__8CBSSlideFR15CBodyControllerR13CStateManager
Start__8CBSSlideFR15CBodyControllerR13CStateManager:
/* 80144140 001410A0 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 80144144 001410A4 7C 08 02 A6 */ mflr r0
/* 80144148 001410A8 90 01 01 34 */ stw r0, 0x134(r1)
/* 8014414C 001410AC DB E1 01 20 */ stfd f31, 0x120(r1)
/* 80144150 001410B0 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0
/* 80144154 001410B4 DB C1 01 10 */ stfd f30, 0x110(r1)
/* 80144158 001410B8 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0
/* 8014415C 001410BC BF 61 00 FC */ stmw r27, 0xfc(r1)
/* 80144160 001410C0 7C 9B 23 78 */ mr r27, r4
/* 80144164 001410C4 7C 7F 1B 78 */ mr r31, r3
/* 80144168 001410C8 7C BC 2B 78 */ mr r28, r5
/* 8014416C 001410CC 38 80 00 11 */ li r4, 0x11
/* 80144170 001410D0 38 7B 00 04 */ addi r3, r27, 4
/* 80144174 001410D4 4B FE D2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80144178 001410D8 80 9B 00 00 */ lwz r4, 0(r27)
/* 8014417C 001410DC 7C 7E 1B 78 */ mr r30, r3
/* 80144180 001410E0 38 61 00 68 */ addi r3, r1, 0x68
/* 80144184 001410E4 38 84 00 34 */ addi r4, r4, 0x34
/* 80144188 001410E8 38 BE 00 0C */ addi r5, r30, 0xc
/* 8014418C 001410EC 48 1C E8 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80144190 001410F0 C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 80144194 001410F4 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 80144198 001410F8 48 25 0A D5 */ bl atan2
/* 8014419C 001410FC FF C0 08 18 */ frsp f30, f1
/* 801441A0 00141100 7F 63 DB 78 */ mr r3, r27
/* 801441A4 00141104 4B FF 62 B1 */ bl GetPASDatabase__15CBodyControllerCFv
/* 801441A8 00141108 83 DE 00 08 */ lwz r30, 8(r30)
/* 801441AC 0014110C 7C 7D 1B 78 */ mr r29, r3
/* 801441B0 00141110 38 61 00 20 */ addi r3, r1, 0x20
/* 801441B4 00141114 48 19 EE C9 */ bl NoParameter__12CPASAnimParmFv
/* 801441B8 00141118 38 61 00 28 */ addi r3, r1, 0x28
/* 801441BC 0014111C 48 19 EE C1 */ bl NoParameter__12CPASAnimParmFv
/* 801441C0 00141120 38 61 00 30 */ addi r3, r1, 0x30
/* 801441C4 00141124 48 19 EE B9 */ bl NoParameter__12CPASAnimParmFv
/* 801441C8 00141128 38 61 00 38 */ addi r3, r1, 0x38
/* 801441CC 0014112C 48 19 EE B1 */ bl NoParameter__12CPASAnimParmFv
/* 801441D0 00141130 38 61 00 40 */ addi r3, r1, 0x40
/* 801441D4 00141134 48 19 EE A9 */ bl NoParameter__12CPASAnimParmFv
/* 801441D8 00141138 38 61 00 48 */ addi r3, r1, 0x48
/* 801441DC 0014113C 48 19 EE A1 */ bl NoParameter__12CPASAnimParmFv
/* 801441E0 00141140 C0 02 9B F4 */ lfs f0, lbl_805AB914@sda21(r2)
/* 801441E4 00141144 38 61 00 50 */ addi r3, r1, 0x50
/* 801441E8 00141148 EC 20 07 B2 */ fmuls f1, f0, f30
/* 801441EC 0014114C 48 19 ED FD */ bl FromReal32__12CPASAnimParmFf
/* 801441F0 00141150 7F C4 F3 78 */ mr r4, r30
/* 801441F4 00141154 38 61 00 58 */ addi r3, r1, 0x58
/* 801441F8 00141158 48 19 ED 8D */ bl FromEnum__12CPASAnimParmFi
/* 801441FC 0014115C 38 61 00 28 */ addi r3, r1, 0x28
/* 80144200 00141160 38 01 00 20 */ addi r0, r1, 0x20
/* 80144204 00141164 90 61 00 08 */ stw r3, 8(r1)
/* 80144208 00141168 38 61 00 9C */ addi r3, r1, 0x9c
/* 8014420C 0014116C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80144210 00141170 38 C1 00 50 */ addi r6, r1, 0x50
/* 80144214 00141174 90 01 00 0C */ stw r0, 0xc(r1)
/* 80144218 00141178 38 E1 00 48 */ addi r7, r1, 0x48
/* 8014421C 0014117C 39 01 00 40 */ addi r8, r1, 0x40
/* 80144220 00141180 39 21 00 38 */ addi r9, r1, 0x38
/* 80144224 00141184 39 41 00 30 */ addi r10, r1, 0x30
/* 80144228 00141188 38 80 00 0F */ li r4, 0xf
/* 8014422C 0014118C 4B F3 90 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80144230 00141190 80 DC 09 00 */ lwz r6, 0x900(r28)
/* 80144234 00141194 7F A4 EB 78 */ mr r4, r29
/* 80144238 00141198 38 61 00 18 */ addi r3, r1, 0x18
/* 8014423C 0014119C 38 A1 00 9C */ addi r5, r1, 0x9c
/* 80144240 001411A0 38 E0 FF FF */ li r7, -1
/* 80144244 001411A4 48 1A 0E 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80144248 001411A8 83 C1 00 1C */ lwz r30, 0x1c(r1)
/* 8014424C 001411AC 38 00 00 00 */ li r0, 0
/* 80144250 001411B0 C0 02 9B F8 */ lfs f0, lbl_805AB918@sda21(r2)
/* 80144254 001411B4 38 A0 FF FF */ li r5, -1
/* 80144258 001411B8 38 E0 00 01 */ li r7, 1
/* 8014425C 001411BC 93 C1 00 74 */ stw r30, 0x74(r1)
/* 80144260 001411C0 7F 63 DB 78 */ mr r3, r27
/* 80144264 001411C4 38 81 00 74 */ addi r4, r1, 0x74
/* 80144268 001411C8 90 A1 00 78 */ stw r5, 0x78(r1)
/* 8014426C 001411CC 38 A0 00 00 */ li r5, 0
/* 80144270 001411D0 38 C0 00 00 */ li r6, 0
/* 80144274 001411D4 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80144278 001411D8 98 E1 00 80 */ stb r7, 0x80(r1)
/* 8014427C 001411DC 90 01 00 84 */ stw r0, 0x84(r1)
/* 80144280 001411E0 90 01 00 88 */ stw r0, 0x88(r1)
/* 80144284 001411E4 98 01 00 8C */ stb r0, 0x8c(r1)
/* 80144288 001411E8 90 01 00 90 */ stw r0, 0x90(r1)
/* 8014428C 001411EC 90 01 00 94 */ stw r0, 0x94(r1)
/* 80144290 001411F0 90 01 00 98 */ stw r0, 0x98(r1)
/* 80144294 001411F4 4B FF 66 89 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80144298 001411F8 7F 63 DB 78 */ mr r3, r27
/* 8014429C 001411FC 4B FF 66 1D */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 801442A0 00141200 FF E0 08 90 */ fmr f31, f1
/* 801442A4 00141204 C0 02 9B FC */ lfs f0, lbl_805AB91C@sda21(r2)
/* 801442A8 00141208 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 801442AC 0014120C 40 81 00 B4 */ ble lbl_80144360
/* 801442B0 00141210 7F A3 EB 78 */ mr r3, r29
/* 801442B4 00141214 38 80 00 0F */ li r4, 0xf
/* 801442B8 00141218 48 1A 0C 0D */ bl GetAnimState__12CPASDatabaseCFi
/* 801442BC 0014121C 7C 64 1B 78 */ mr r4, r3
/* 801442C0 00141220 7F C5 F3 78 */ mr r5, r30
/* 801442C4 00141224 38 61 00 10 */ addi r3, r1, 0x10
/* 801442C8 00141228 38 C0 00 01 */ li r6, 1
/* 801442CC 0014122C 48 19 FD 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 801442D0 00141230 80 81 00 10 */ lwz r4, 0x10(r1)
/* 801442D4 00141234 38 61 00 60 */ addi r3, r1, 0x60
/* 801442D8 00141238 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801442DC 0014123C 90 81 00 60 */ stw r4, 0x60(r1)
/* 801442E0 00141240 90 01 00 64 */ stw r0, 0x64(r1)
/* 801442E4 00141244 48 19 EC 89 */ bl GetReal32Value__12CPASAnimParmCFv
/* 801442E8 00141248 C0 02 9C 00 */ lfs f0, lbl_805AB920@sda21(r2)
/* 801442EC 0014124C 3C 00 43 30 */ lis r0, 0x4330
/* 801442F0 00141250 C0 42 9C 04 */ lfs f2, lbl_805AB924@sda21(r2)
/* 801442F4 00141254 EC 00 00 72 */ fmuls f0, f0, f1
/* 801442F8 00141258 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 801442FC 0014125C C8 62 9C 10 */ lfd f3, lbl_805AB930@sda21(r2)
/* 80144300 00141260 C0 22 9C 08 */ lfs f1, lbl_805AB928@sda21(r2)
/* 80144304 00141264 EC 9E 00 28 */ fsubs f4, f30, f0
/* 80144308 00141268 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 8014430C 0014126C EC 44 00 B2 */ fmuls f2, f4, f2
/* 80144310 00141270 FC 40 10 1E */ fctiwz f2, f2
/* 80144314 00141274 D8 41 00 E8 */ stfd f2, 0xe8(r1)
/* 80144318 00141278 80 01 00 EC */ lwz r0, 0xec(r1)
/* 8014431C 0014127C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80144320 00141280 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80144324 00141284 C8 41 00 F0 */ lfd f2, 0xf0(r1)
/* 80144328 00141288 EC 42 18 28 */ fsubs f2, f2, f3
/* 8014432C 0014128C EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 80144330 00141290 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80144334 00141294 40 80 00 08 */ bge lbl_8014433C
/* 80144338 00141298 EC 42 08 2A */ fadds f2, f2, f1
lbl_8014433C:
/* 8014433C 0014129C C0 02 9C 0C */ lfs f0, lbl_805AB92C@sda21(r2)
/* 80144340 001412A0 FC 20 10 90 */ fmr f1, f2
/* 80144344 001412A4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80144348 001412A8 40 81 00 0C */ ble lbl_80144354
/* 8014434C 001412AC C0 02 9C 08 */ lfs f0, lbl_805AB928@sda21(r2)
/* 80144350 001412B0 EC 22 00 28 */ fsubs f1, f2, f0
lbl_80144354:
/* 80144354 001412B4 EC 01 F8 24 */ fdivs f0, f1, f31
/* 80144358 001412B8 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8014435C 001412BC 48 00 00 0C */ b lbl_80144368
lbl_80144360:
/* 80144360 001412C0 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 80144364 001412C4 D0 1F 00 04 */ stfs f0, 4(r31)
lbl_80144368:
/* 80144368 001412C8 34 A1 00 A0 */ addic. r5, r1, 0xa0
/* 8014436C 001412CC 41 82 00 58 */ beq lbl_801443C4
/* 80144370 001412D0 80 C5 00 00 */ lwz r6, 0(r5)
/* 80144374 001412D4 38 60 00 00 */ li r3, 0
/* 80144378 001412D8 2C 06 00 00 */ cmpwi r6, 0
/* 8014437C 001412DC 40 81 00 40 */ ble lbl_801443BC
/* 80144380 001412E0 2C 06 00 08 */ cmpwi r6, 8
/* 80144384 001412E4 38 86 FF F8 */ addi r4, r6, -8
/* 80144388 001412E8 40 81 00 20 */ ble lbl_801443A8
/* 8014438C 001412EC 38 04 00 07 */ addi r0, r4, 7
/* 80144390 001412F0 54 00 E8 FE */ srwi r0, r0, 3
/* 80144394 001412F4 7C 09 03 A6 */ mtctr r0
/* 80144398 001412F8 2C 04 00 00 */ cmpwi r4, 0
/* 8014439C 001412FC 40 81 00 0C */ ble lbl_801443A8
lbl_801443A0:
/* 801443A0 00141300 38 63 00 08 */ addi r3, r3, 8
/* 801443A4 00141304 42 00 FF FC */ bdnz lbl_801443A0
lbl_801443A8:
/* 801443A8 00141308 7C 03 30 50 */ subf r0, r3, r6
/* 801443AC 0014130C 7C 09 03 A6 */ mtctr r0
/* 801443B0 00141310 7C 03 30 00 */ cmpw r3, r6
/* 801443B4 00141314 40 80 00 08 */ bge lbl_801443BC
lbl_801443B8:
/* 801443B8 00141318 42 00 00 00 */ bdnz lbl_801443B8
lbl_801443BC:
/* 801443BC 0014131C 38 00 00 00 */ li r0, 0
/* 801443C0 00141320 90 05 00 00 */ stw r0, 0(r5)
lbl_801443C4:
/* 801443C4 00141324 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0
/* 801443C8 00141328 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 801443CC 0014132C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0
/* 801443D0 00141330 CB C1 01 10 */ lfd f30, 0x110(r1)
/* 801443D4 00141334 BB 61 00 FC */ lmw r27, 0xfc(r1)
/* 801443D8 00141338 80 01 01 34 */ lwz r0, 0x134(r1)
/* 801443DC 0014133C 7C 08 03 A6 */ mtlr r0
/* 801443E0 00141340 38 21 01 30 */ addi r1, r1, 0x130
/* 801443E4 00141344 4E 80 00 20 */ blr
.global __ct__8CBSSlideFv
__ct__8CBSSlideFv:
/* 801443E8 00141348 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801443EC 0014134C 3C 80 80 3E */ lis r4, lbl_803E1F78@ha
/* 801443F0 00141350 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801443F4 00141354 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2)
/* 801443F8 00141358 90 A3 00 00 */ stw r5, 0(r3)
/* 801443FC 0014135C 38 04 1F 78 */ addi r0, r4, lbl_803E1F78@l
/* 80144400 00141360 90 03 00 00 */ stw r0, 0(r3)
/* 80144404 00141364 D0 03 00 04 */ stfs f0, 4(r3)
/* 80144408 00141368 4E 80 00 20 */ blr

View File

@ -0,0 +1,316 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__7CBSStepFv
__dt__7CBSStepFv:
/* 80138DA4 00135D04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80138DA8 00135D08 7C 08 02 A6 */ mflr r0
/* 80138DAC 00135D0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80138DB0 00135D10 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80138DB4 00135D14 7C 7F 1B 79 */ or. r31, r3, r3
/* 80138DB8 00135D18 41 82 00 30 */ beq lbl_80138DE8
/* 80138DBC 00135D1C 3C 60 80 3E */ lis r3, lbl_803E1718@ha
/* 80138DC0 00135D20 38 03 17 18 */ addi r0, r3, lbl_803E1718@l
/* 80138DC4 00135D24 90 1F 00 00 */ stw r0, 0(r31)
/* 80138DC8 00135D28 41 82 00 10 */ beq lbl_80138DD8
/* 80138DCC 00135D2C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80138DD0 00135D30 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80138DD4 00135D34 90 1F 00 00 */ stw r0, 0(r31)
lbl_80138DD8:
/* 80138DD8 00135D38 7C 80 07 35 */ extsh. r0, r4
/* 80138DDC 00135D3C 40 81 00 0C */ ble lbl_80138DE8
/* 80138DE0 00135D40 7F E3 FB 78 */ mr r3, r31
/* 80138DE4 00135D44 48 1D CB 4D */ bl Free__7CMemoryFPCv
lbl_80138DE8:
/* 80138DE8 00135D48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80138DEC 00135D4C 7F E3 FB 78 */ mr r3, r31
/* 80138DF0 00135D50 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80138DF4 00135D54 7C 08 03 A6 */ mtlr r0
/* 80138DF8 00135D58 38 21 00 10 */ addi r1, r1, 0x10
/* 80138DFC 00135D5C 4E 80 00 20 */ blr
.global IsMoving__7CBSStepCFv
IsMoving__7CBSStepCFv:
/* 80138E00 00135D60 38 60 00 01 */ li r3, 1
/* 80138E04 00135D64 4E 80 00 20 */ blr
.global CanShoot__7CBSStepCFv
CanShoot__7CBSStepCFv:
/* 80138E08 00135D68 38 60 00 01 */ li r3, 1
/* 80138E0C 00135D6C 4E 80 00 20 */ blr
.global GetBodyStateTransition__7CBSStepFfR15CBodyController
GetBodyStateTransition__7CBSStepFfR15CBodyController:
/* 80138E10 00135D70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80138E14 00135D74 7C 08 02 A6 */ mflr r0
/* 80138E18 00135D78 90 01 00 14 */ stw r0, 0x14(r1)
/* 80138E1C 00135D7C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80138E20 00135D80 93 C1 00 08 */ stw r30, 8(r1)
/* 80138E24 00135D84 7C 9E 23 78 */ mr r30, r4
/* 80138E28 00135D88 3B FE 00 04 */ addi r31, r30, 4
/* 80138E2C 00135D8C 38 80 00 0F */ li r4, 0xf
/* 80138E30 00135D90 7F E3 FB 78 */ mr r3, r31
/* 80138E34 00135D94 4B FF 86 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138E38 00135D98 28 03 00 00 */ cmplwi r3, 0
/* 80138E3C 00135D9C 41 82 00 0C */ beq lbl_80138E48
/* 80138E40 00135DA0 38 60 00 0E */ li r3, 0xe
/* 80138E44 00135DA4 48 00 01 64 */ b lbl_80138FA8
lbl_80138E48:
/* 80138E48 00135DA8 7F E3 FB 78 */ mr r3, r31
/* 80138E4C 00135DAC 38 80 00 03 */ li r4, 3
/* 80138E50 00135DB0 4B FF 86 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138E54 00135DB4 28 03 00 00 */ cmplwi r3, 0
/* 80138E58 00135DB8 41 82 00 0C */ beq lbl_80138E64
/* 80138E5C 00135DBC 38 60 00 00 */ li r3, 0
/* 80138E60 00135DC0 48 00 01 48 */ b lbl_80138FA8
lbl_80138E64:
/* 80138E64 00135DC4 7F E3 FB 78 */ mr r3, r31
/* 80138E68 00135DC8 38 80 00 09 */ li r4, 9
/* 80138E6C 00135DCC 4B FF 85 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138E70 00135DD0 28 03 00 00 */ cmplwi r3, 0
/* 80138E74 00135DD4 41 82 00 0C */ beq lbl_80138E80
/* 80138E78 00135DD8 38 60 00 0A */ li r3, 0xa
/* 80138E7C 00135DDC 48 00 01 2C */ b lbl_80138FA8
lbl_80138E80:
/* 80138E80 00135DE0 7F E3 FB 78 */ mr r3, r31
/* 80138E84 00135DE4 38 80 00 04 */ li r4, 4
/* 80138E88 00135DE8 4B FF 85 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138E8C 00135DEC 28 03 00 00 */ cmplwi r3, 0
/* 80138E90 00135DF0 41 82 00 0C */ beq lbl_80138E9C
/* 80138E94 00135DF4 38 60 00 06 */ li r3, 6
/* 80138E98 00135DF8 48 00 01 10 */ b lbl_80138FA8
lbl_80138E9C:
/* 80138E9C 00135DFC 7F E3 FB 78 */ mr r3, r31
/* 80138EA0 00135E00 38 80 00 16 */ li r4, 0x16
/* 80138EA4 00135E04 4B FF 85 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138EA8 00135E08 28 03 00 00 */ cmplwi r3, 0
/* 80138EAC 00135E0C 41 82 00 0C */ beq lbl_80138EB8
/* 80138EB0 00135E10 38 60 00 05 */ li r3, 5
/* 80138EB4 00135E14 48 00 00 F4 */ b lbl_80138FA8
lbl_80138EB8:
/* 80138EB8 00135E18 7F E3 FB 78 */ mr r3, r31
/* 80138EBC 00135E1C 38 80 00 0E */ li r4, 0xe
/* 80138EC0 00135E20 4B FF 85 91 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138EC4 00135E24 28 03 00 00 */ cmplwi r3, 0
/* 80138EC8 00135E28 41 82 00 0C */ beq lbl_80138ED4
/* 80138ECC 00135E2C 38 60 00 0C */ li r3, 0xc
/* 80138ED0 00135E30 48 00 00 D8 */ b lbl_80138FA8
lbl_80138ED4:
/* 80138ED4 00135E34 7F E3 FB 78 */ mr r3, r31
/* 80138ED8 00135E38 38 80 00 05 */ li r4, 5
/* 80138EDC 00135E3C 4B FF 85 75 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138EE0 00135E40 28 03 00 00 */ cmplwi r3, 0
/* 80138EE4 00135E44 41 82 00 0C */ beq lbl_80138EF0
/* 80138EE8 00135E48 38 60 00 07 */ li r3, 7
/* 80138EEC 00135E4C 48 00 00 BC */ b lbl_80138FA8
lbl_80138EF0:
/* 80138EF0 00135E50 7F E3 FB 78 */ mr r3, r31
/* 80138EF4 00135E54 38 80 00 06 */ li r4, 6
/* 80138EF8 00135E58 4B FF 85 59 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138EFC 00135E5C 28 03 00 00 */ cmplwi r3, 0
/* 80138F00 00135E60 41 82 00 0C */ beq lbl_80138F0C
/* 80138F04 00135E64 38 60 00 12 */ li r3, 0x12
/* 80138F08 00135E68 48 00 00 A0 */ b lbl_80138FA8
lbl_80138F0C:
/* 80138F0C 00135E6C 7F E3 FB 78 */ mr r3, r31
/* 80138F10 00135E70 38 80 00 07 */ li r4, 7
/* 80138F14 00135E74 4B FF 85 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138F18 00135E78 28 03 00 00 */ cmplwi r3, 0
/* 80138F1C 00135E7C 41 82 00 0C */ beq lbl_80138F28
/* 80138F20 00135E80 38 60 00 09 */ li r3, 9
/* 80138F24 00135E84 48 00 00 84 */ b lbl_80138FA8
lbl_80138F28:
/* 80138F28 00135E88 7F E3 FB 78 */ mr r3, r31
/* 80138F2C 00135E8C 38 80 00 10 */ li r4, 0x10
/* 80138F30 00135E90 4B FF 85 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138F34 00135E94 28 03 00 00 */ cmplwi r3, 0
/* 80138F38 00135E98 41 82 00 0C */ beq lbl_80138F44
/* 80138F3C 00135E9C 38 60 00 0D */ li r3, 0xd
/* 80138F40 00135EA0 48 00 00 68 */ b lbl_80138FA8
lbl_80138F44:
/* 80138F44 00135EA4 7F E3 FB 78 */ mr r3, r31
/* 80138F48 00135EA8 38 80 00 08 */ li r4, 8
/* 80138F4C 00135EAC 4B FF 85 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138F50 00135EB0 28 03 00 00 */ cmplwi r3, 0
/* 80138F54 00135EB4 41 82 00 0C */ beq lbl_80138F60
/* 80138F58 00135EB8 38 60 00 0A */ li r3, 0xa
/* 80138F5C 00135EBC 48 00 00 4C */ b lbl_80138FA8
lbl_80138F60:
/* 80138F60 00135EC0 7F E3 FB 78 */ mr r3, r31
/* 80138F64 00135EC4 38 80 00 13 */ li r4, 0x13
/* 80138F68 00135EC8 4B FF 84 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138F6C 00135ECC 28 03 00 00 */ cmplwi r3, 0
/* 80138F70 00135ED0 41 82 00 0C */ beq lbl_80138F7C
/* 80138F74 00135ED4 38 60 00 11 */ li r3, 0x11
/* 80138F78 00135ED8 48 00 00 30 */ b lbl_80138FA8
lbl_80138F7C:
/* 80138F7C 00135EDC 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80138F80 00135EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80138F84 00135EE4 40 82 00 18 */ bne lbl_80138F9C
/* 80138F88 00135EE8 7F E3 FB 78 */ mr r3, r31
/* 80138F8C 00135EEC 38 80 00 0C */ li r4, 0xc
/* 80138F90 00135EF0 4B FF 84 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80138F94 00135EF4 28 03 00 00 */ cmplwi r3, 0
/* 80138F98 00135EF8 41 82 00 0C */ beq lbl_80138FA4
lbl_80138F9C:
/* 80138F9C 00135EFC 38 60 00 05 */ li r3, 5
/* 80138FA0 00135F00 48 00 00 08 */ b lbl_80138FA8
lbl_80138FA4:
/* 80138FA4 00135F04 38 60 FF FF */ li r3, -1
lbl_80138FA8:
/* 80138FA8 00135F08 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80138FAC 00135F0C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80138FB0 00135F10 83 C1 00 08 */ lwz r30, 8(r1)
/* 80138FB4 00135F14 7C 08 03 A6 */ mtlr r0
/* 80138FB8 00135F18 38 21 00 10 */ addi r1, r1, 0x10
/* 80138FBC 00135F1C 4E 80 00 20 */ blr
.global Shutdown__7CBSStepFR15CBodyController
Shutdown__7CBSStepFR15CBodyController:
/* 80138FC0 00135F20 4E 80 00 20 */ blr
.global UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager
UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager:
/* 80138FC4 00135F24 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80138FC8 00135F28 7C 08 02 A6 */ mflr r0
/* 80138FCC 00135F2C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80138FD0 00135F30 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 80138FD4 00135F34 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 80138FD8 00135F38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80138FDC 00135F3C 93 C1 00 08 */ stw r30, 8(r1)
/* 80138FE0 00135F40 FF E0 08 90 */ fmr f31, f1
/* 80138FE4 00135F44 7C 9E 23 78 */ mr r30, r4
/* 80138FE8 00135F48 4B FF FE 29 */ bl GetBodyStateTransition__7CBSStepFfR15CBodyController
/* 80138FEC 00135F4C 7C 7F 1B 78 */ mr r31, r3
/* 80138FF0 00135F50 2C 1F FF FF */ cmpwi r31, -1
/* 80138FF4 00135F54 40 82 00 50 */ bne lbl_80139044
/* 80138FF8 00135F58 38 7E 00 1C */ addi r3, r30, 0x1c
/* 80138FFC 00135F5C C0 22 9A 58 */ lfs f1, lbl_805AB778@sda21(r2)
/* 80139000 00135F60 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80139004 00135F64 38 00 00 00 */ li r0, 0
/* 80139008 00135F68 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013900C 00135F6C 40 82 00 1C */ bne lbl_80139028
/* 80139010 00135F70 C0 03 00 04 */ lfs f0, 4(r3)
/* 80139014 00135F74 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80139018 00135F78 40 82 00 10 */ bne lbl_80139028
/* 8013901C 00135F7C C0 03 00 08 */ lfs f0, 8(r3)
/* 80139020 00135F80 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80139024 00135F84 41 82 00 08 */ beq lbl_8013902C
lbl_80139028:
/* 80139028 00135F88 38 00 00 01 */ li r0, 1
lbl_8013902C:
/* 8013902C 00135F8C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80139030 00135F90 41 82 00 14 */ beq lbl_80139044
/* 80139034 00135F94 FC 20 F8 90 */ fmr f1, f31
/* 80139038 00135F98 7F C3 F3 78 */ mr r3, r30
/* 8013903C 00135F9C 38 9E 00 1C */ addi r4, r30, 0x1c
/* 80139040 00135FA0 48 00 16 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_80139044:
/* 80139044 00135FA4 7F E3 FB 78 */ mr r3, r31
/* 80139048 00135FA8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8013904C 00135FAC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80139050 00135FB0 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 80139054 00135FB4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80139058 00135FB8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013905C 00135FBC 7C 08 03 A6 */ mtlr r0
/* 80139060 00135FC0 38 21 00 20 */ addi r1, r1, 0x20
/* 80139064 00135FC4 4E 80 00 20 */ blr
.global Start__7CBSStepFR15CBodyControllerR13CStateManager
Start__7CBSStepFR15CBodyControllerR13CStateManager:
/* 80139068 00135FC8 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8013906C 00135FCC 7C 08 02 A6 */ mflr r0
/* 80139070 00135FD0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80139074 00135FD4 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80139078 00135FD8 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8013907C 00135FDC 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80139080 00135FE0 7C BD 2B 78 */ mr r29, r5
/* 80139084 00135FE4 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 80139088 00135FE8 7C 9C 23 78 */ mr r28, r4
/* 8013908C 00135FEC 38 7C 00 04 */ addi r3, r28, 4
/* 80139090 00135FF0 38 80 00 01 */ li r4, 1
/* 80139094 00135FF4 4B FF 83 BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139098 00135FF8 83 E3 00 0C */ lwz r31, 0xc(r3)
/* 8013909C 00135FFC 83 C3 00 08 */ lwz r30, 8(r3)
/* 801390A0 00136000 38 61 00 10 */ addi r3, r1, 0x10
/* 801390A4 00136004 48 1A 9F D9 */ bl NoParameter__12CPASAnimParmFv
/* 801390A8 00136008 38 61 00 18 */ addi r3, r1, 0x18
/* 801390AC 0013600C 48 1A 9F D1 */ bl NoParameter__12CPASAnimParmFv
/* 801390B0 00136010 38 61 00 20 */ addi r3, r1, 0x20
/* 801390B4 00136014 48 1A 9F C9 */ bl NoParameter__12CPASAnimParmFv
/* 801390B8 00136018 38 61 00 28 */ addi r3, r1, 0x28
/* 801390BC 0013601C 48 1A 9F C1 */ bl NoParameter__12CPASAnimParmFv
/* 801390C0 00136020 38 61 00 30 */ addi r3, r1, 0x30
/* 801390C4 00136024 48 1A 9F B9 */ bl NoParameter__12CPASAnimParmFv
/* 801390C8 00136028 38 61 00 38 */ addi r3, r1, 0x38
/* 801390CC 0013602C 48 1A 9F B1 */ bl NoParameter__12CPASAnimParmFv
/* 801390D0 00136030 7F E4 FB 78 */ mr r4, r31
/* 801390D4 00136034 38 61 00 40 */ addi r3, r1, 0x40
/* 801390D8 00136038 48 1A 9E AD */ bl FromEnum__12CPASAnimParmFi
/* 801390DC 0013603C 7F C4 F3 78 */ mr r4, r30
/* 801390E0 00136040 38 61 00 48 */ addi r3, r1, 0x48
/* 801390E4 00136044 48 1A 9E A1 */ bl FromEnum__12CPASAnimParmFi
/* 801390E8 00136048 38 61 00 18 */ addi r3, r1, 0x18
/* 801390EC 0013604C 38 01 00 10 */ addi r0, r1, 0x10
/* 801390F0 00136050 90 61 00 08 */ stw r3, 8(r1)
/* 801390F4 00136054 38 61 00 50 */ addi r3, r1, 0x50
/* 801390F8 00136058 38 A1 00 48 */ addi r5, r1, 0x48
/* 801390FC 0013605C 38 C1 00 40 */ addi r6, r1, 0x40
/* 80139100 00136060 90 01 00 0C */ stw r0, 0xc(r1)
/* 80139104 00136064 38 E1 00 38 */ addi r7, r1, 0x38
/* 80139108 00136068 39 01 00 30 */ addi r8, r1, 0x30
/* 8013910C 0013606C 39 21 00 28 */ addi r9, r1, 0x28
/* 80139110 00136070 39 41 00 20 */ addi r10, r1, 0x20
/* 80139114 00136074 38 80 00 03 */ li r4, 3
/* 80139118 00136078 4B F4 41 AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8013911C 0013607C 80 BD 09 00 */ lwz r5, 0x900(r29)
/* 80139120 00136080 7F 83 E3 78 */ mr r3, r28
/* 80139124 00136084 38 81 00 50 */ addi r4, r1, 0x50
/* 80139128 00136088 48 00 12 81 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8013912C 0013608C 34 A1 00 54 */ addic. r5, r1, 0x54
/* 80139130 00136090 41 82 00 58 */ beq lbl_80139188
/* 80139134 00136094 80 C5 00 00 */ lwz r6, 0(r5)
/* 80139138 00136098 38 60 00 00 */ li r3, 0
/* 8013913C 0013609C 2C 06 00 00 */ cmpwi r6, 0
/* 80139140 001360A0 40 81 00 40 */ ble lbl_80139180
/* 80139144 001360A4 2C 06 00 08 */ cmpwi r6, 8
/* 80139148 001360A8 38 86 FF F8 */ addi r4, r6, -8
/* 8013914C 001360AC 40 81 00 20 */ ble lbl_8013916C
/* 80139150 001360B0 38 04 00 07 */ addi r0, r4, 7
/* 80139154 001360B4 54 00 E8 FE */ srwi r0, r0, 3
/* 80139158 001360B8 7C 09 03 A6 */ mtctr r0
/* 8013915C 001360BC 2C 04 00 00 */ cmpwi r4, 0
/* 80139160 001360C0 40 81 00 0C */ ble lbl_8013916C
lbl_80139164:
/* 80139164 001360C4 38 63 00 08 */ addi r3, r3, 8
/* 80139168 001360C8 42 00 FF FC */ bdnz lbl_80139164
lbl_8013916C:
/* 8013916C 001360CC 7C 03 30 50 */ subf r0, r3, r6
/* 80139170 001360D0 7C 09 03 A6 */ mtctr r0
/* 80139174 001360D4 7C 03 30 00 */ cmpw r3, r6
/* 80139178 001360D8 40 80 00 08 */ bge lbl_80139180
lbl_8013917C:
/* 8013917C 001360DC 42 00 00 00 */ bdnz lbl_8013917C
lbl_80139180:
/* 80139180 001360E0 38 00 00 00 */ li r0, 0
/* 80139184 001360E4 90 05 00 00 */ stw r0, 0(r5)
lbl_80139188:
/* 80139188 001360E8 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8013918C 001360EC 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 80139190 001360F0 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 80139194 001360F4 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 80139198 001360F8 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 8013919C 001360FC 7C 08 03 A6 */ mtlr r0
/* 801391A0 00136100 38 21 00 B0 */ addi r1, r1, 0xb0
/* 801391A4 00136104 4E 80 00 20 */ blr
.global __ct__7CBSStepFv
__ct__7CBSStepFv:
/* 801391A8 00136108 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801391AC 0013610C 3C 80 80 3E */ lis r4, lbl_803E1718@ha
/* 801391B0 00136110 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801391B4 00136114 90 A3 00 00 */ stw r5, 0(r3)
/* 801391B8 00136118 38 04 17 18 */ addi r0, r4, lbl_803E1718@l
/* 801391BC 0013611C 90 03 00 00 */ stw r0, 0(r3)
/* 801391C0 00136120 4E 80 00 20 */ blr

View File

@ -0,0 +1,238 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__8CBSTauntFv
__dt__8CBSTauntFv:
/* 801492B0 00146210 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801492B4 00146214 7C 08 02 A6 */ mflr r0
/* 801492B8 00146218 90 01 00 14 */ stw r0, 0x14(r1)
/* 801492BC 0014621C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801492C0 00146220 7C 7F 1B 79 */ or. r31, r3, r3
/* 801492C4 00146224 41 82 00 30 */ beq lbl_801492F4
/* 801492C8 00146228 3C 60 80 3E */ lis r3, lbl_803E2390@ha
/* 801492CC 0014622C 38 03 23 90 */ addi r0, r3, lbl_803E2390@l
/* 801492D0 00146230 90 1F 00 00 */ stw r0, 0(r31)
/* 801492D4 00146234 41 82 00 10 */ beq lbl_801492E4
/* 801492D8 00146238 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 801492DC 0014623C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 801492E0 00146240 90 1F 00 00 */ stw r0, 0(r31)
lbl_801492E4:
/* 801492E4 00146244 7C 80 07 35 */ extsh. r0, r4
/* 801492E8 00146248 40 81 00 0C */ ble lbl_801492F4
/* 801492EC 0014624C 7F E3 FB 78 */ mr r3, r31
/* 801492F0 00146250 48 1C C6 41 */ bl Free__7CMemoryFPCv
lbl_801492F4:
/* 801492F4 00146254 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801492F8 00146258 7F E3 FB 78 */ mr r3, r31
/* 801492FC 0014625C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80149300 00146260 7C 08 03 A6 */ mtlr r0
/* 80149304 00146264 38 21 00 10 */ addi r1, r1, 0x10
/* 80149308 00146268 4E 80 00 20 */ blr
.global GetBodyStateTransition__8CBSTauntFfR15CBodyController
GetBodyStateTransition__8CBSTauntFfR15CBodyController:
/* 8014930C 0014626C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80149310 00146270 7C 08 02 A6 */ mflr r0
/* 80149314 00146274 90 01 00 14 */ stw r0, 0x14(r1)
/* 80149318 00146278 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014931C 0014627C 93 C1 00 08 */ stw r30, 8(r1)
/* 80149320 00146280 7C 9E 23 78 */ mr r30, r4
/* 80149324 00146284 3B FE 00 04 */ addi r31, r30, 4
/* 80149328 00146288 38 80 00 0F */ li r4, 0xf
/* 8014932C 0014628C 7F E3 FB 78 */ mr r3, r31
/* 80149330 00146290 4B FE 81 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80149334 00146294 28 03 00 00 */ cmplwi r3, 0
/* 80149338 00146298 41 82 00 0C */ beq lbl_80149344
/* 8014933C 0014629C 38 60 00 0E */ li r3, 0xe
/* 80149340 001462A0 48 00 00 88 */ b lbl_801493C8
lbl_80149344:
/* 80149344 001462A4 7F E3 FB 78 */ mr r3, r31
/* 80149348 001462A8 38 80 00 03 */ li r4, 3
/* 8014934C 001462AC 4B FE 81 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80149350 001462B0 28 03 00 00 */ cmplwi r3, 0
/* 80149354 001462B4 41 82 00 0C */ beq lbl_80149360
/* 80149358 001462B8 38 60 00 00 */ li r3, 0
/* 8014935C 001462BC 48 00 00 6C */ b lbl_801493C8
lbl_80149360:
/* 80149360 001462C0 7F E3 FB 78 */ mr r3, r31
/* 80149364 001462C4 38 80 00 09 */ li r4, 9
/* 80149368 001462C8 4B FE 80 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014936C 001462CC 28 03 00 00 */ cmplwi r3, 0
/* 80149370 001462D0 41 82 00 0C */ beq lbl_8014937C
/* 80149374 001462D4 38 60 00 0A */ li r3, 0xa
/* 80149378 001462D8 48 00 00 50 */ b lbl_801493C8
lbl_8014937C:
/* 8014937C 001462DC 7F E3 FB 78 */ mr r3, r31
/* 80149380 001462E0 38 80 00 04 */ li r4, 4
/* 80149384 001462E4 4B FE 80 CD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80149388 001462E8 28 03 00 00 */ cmplwi r3, 0
/* 8014938C 001462EC 41 82 00 0C */ beq lbl_80149398
/* 80149390 001462F0 38 60 00 06 */ li r3, 6
/* 80149394 001462F4 48 00 00 34 */ b lbl_801493C8
lbl_80149398:
/* 80149398 001462F8 7F E3 FB 78 */ mr r3, r31
/* 8014939C 001462FC 38 80 00 16 */ li r4, 0x16
/* 801493A0 00146300 4B FE 80 B1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801493A4 00146304 28 03 00 00 */ cmplwi r3, 0
/* 801493A8 00146308 41 82 00 0C */ beq lbl_801493B4
/* 801493AC 0014630C 38 60 00 05 */ li r3, 5
/* 801493B0 00146310 48 00 00 18 */ b lbl_801493C8
lbl_801493B4:
/* 801493B4 00146314 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 801493B8 00146318 38 60 FF FF */ li r3, -1
/* 801493BC 0014631C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801493C0 00146320 41 82 00 08 */ beq lbl_801493C8
/* 801493C4 00146324 38 60 00 05 */ li r3, 5
lbl_801493C8:
/* 801493C8 00146328 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801493CC 0014632C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801493D0 00146330 83 C1 00 08 */ lwz r30, 8(r1)
/* 801493D4 00146334 7C 08 03 A6 */ mtlr r0
/* 801493D8 00146338 38 21 00 10 */ addi r1, r1, 0x10
/* 801493DC 0014633C 4E 80 00 20 */ blr
.global Shutdown__8CBSTauntFR15CBodyController
Shutdown__8CBSTauntFR15CBodyController:
/* 801493E0 00146340 4E 80 00 20 */ blr
.global UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager
UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager:
/* 801493E4 00146344 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801493E8 00146348 7C 08 02 A6 */ mflr r0
/* 801493EC 0014634C 90 01 00 24 */ stw r0, 0x24(r1)
/* 801493F0 00146350 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 801493F4 00146354 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 801493F8 00146358 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801493FC 0014635C 93 C1 00 08 */ stw r30, 8(r1)
/* 80149400 00146360 FF E0 08 90 */ fmr f31, f1
/* 80149404 00146364 7C 9E 23 78 */ mr r30, r4
/* 80149408 00146368 4B FF FF 05 */ bl GetBodyStateTransition__8CBSTauntFfR15CBodyController
/* 8014940C 0014636C 7C 7F 1B 78 */ mr r31, r3
/* 80149410 00146370 2C 1F FF FF */ cmpwi r31, -1
/* 80149414 00146374 40 82 00 50 */ bne lbl_80149464
/* 80149418 00146378 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8014941C 0014637C C0 22 9C D0 */ lfs f1, lbl_805AB9F0@sda21(r2)
/* 80149420 00146380 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80149424 00146384 38 00 00 00 */ li r0, 0
/* 80149428 00146388 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014942C 0014638C 40 82 00 1C */ bne lbl_80149448
/* 80149430 00146390 C0 03 00 04 */ lfs f0, 4(r3)
/* 80149434 00146394 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80149438 00146398 40 82 00 10 */ bne lbl_80149448
/* 8014943C 0014639C C0 03 00 08 */ lfs f0, 8(r3)
/* 80149440 001463A0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80149444 001463A4 41 82 00 08 */ beq lbl_8014944C
lbl_80149448:
/* 80149448 001463A8 38 00 00 01 */ li r0, 1
lbl_8014944C:
/* 8014944C 001463AC 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80149450 001463B0 41 82 00 14 */ beq lbl_80149464
/* 80149454 001463B4 FC 20 F8 90 */ fmr f1, f31
/* 80149458 001463B8 7F C3 F3 78 */ mr r3, r30
/* 8014945C 001463BC 38 9E 00 1C */ addi r4, r30, 0x1c
/* 80149460 001463C0 4B FF 12 45 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_80149464:
/* 80149464 001463C4 7F E3 FB 78 */ mr r3, r31
/* 80149468 001463C8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8014946C 001463CC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80149470 001463D0 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 80149474 001463D4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80149478 001463D8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014947C 001463DC 7C 08 03 A6 */ mtlr r0
/* 80149480 001463E0 38 21 00 20 */ addi r1, r1, 0x20
/* 80149484 001463E4 4E 80 00 20 */ blr
.global Start__8CBSTauntFR15CBodyControllerR13CStateManager
Start__8CBSTauntFR15CBodyControllerR13CStateManager:
/* 80149488 001463E8 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8014948C 001463EC 7C 08 02 A6 */ mflr r0
/* 80149490 001463F0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80149494 001463F4 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80149498 001463F8 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8014949C 001463FC 7C BE 2B 78 */ mr r30, r5
/* 801494A0 00146400 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 801494A4 00146404 7C 9D 23 78 */ mr r29, r4
/* 801494A8 00146408 38 7D 00 04 */ addi r3, r29, 4
/* 801494AC 0014640C 38 80 00 12 */ li r4, 0x12
/* 801494B0 00146410 4B FE 7F A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801494B4 00146414 83 E3 00 08 */ lwz r31, 8(r3)
/* 801494B8 00146418 38 61 00 10 */ addi r3, r1, 0x10
/* 801494BC 0014641C 48 19 9B C1 */ bl NoParameter__12CPASAnimParmFv
/* 801494C0 00146420 38 61 00 18 */ addi r3, r1, 0x18
/* 801494C4 00146424 48 19 9B B9 */ bl NoParameter__12CPASAnimParmFv
/* 801494C8 00146428 38 61 00 20 */ addi r3, r1, 0x20
/* 801494CC 0014642C 48 19 9B B1 */ bl NoParameter__12CPASAnimParmFv
/* 801494D0 00146430 38 61 00 28 */ addi r3, r1, 0x28
/* 801494D4 00146434 48 19 9B A9 */ bl NoParameter__12CPASAnimParmFv
/* 801494D8 00146438 38 61 00 30 */ addi r3, r1, 0x30
/* 801494DC 0014643C 48 19 9B A1 */ bl NoParameter__12CPASAnimParmFv
/* 801494E0 00146440 38 61 00 38 */ addi r3, r1, 0x38
/* 801494E4 00146444 48 19 9B 99 */ bl NoParameter__12CPASAnimParmFv
/* 801494E8 00146448 38 61 00 40 */ addi r3, r1, 0x40
/* 801494EC 0014644C 48 19 9B 91 */ bl NoParameter__12CPASAnimParmFv
/* 801494F0 00146450 7F E4 FB 78 */ mr r4, r31
/* 801494F4 00146454 38 61 00 48 */ addi r3, r1, 0x48
/* 801494F8 00146458 48 19 9A 8D */ bl FromEnum__12CPASAnimParmFi
/* 801494FC 0014645C 38 61 00 18 */ addi r3, r1, 0x18
/* 80149500 00146460 38 01 00 10 */ addi r0, r1, 0x10
/* 80149504 00146464 90 61 00 08 */ stw r3, 8(r1)
/* 80149508 00146468 38 61 00 50 */ addi r3, r1, 0x50
/* 8014950C 0014646C 38 A1 00 48 */ addi r5, r1, 0x48
/* 80149510 00146470 38 C1 00 40 */ addi r6, r1, 0x40
/* 80149514 00146474 90 01 00 0C */ stw r0, 0xc(r1)
/* 80149518 00146478 38 E1 00 38 */ addi r7, r1, 0x38
/* 8014951C 0014647C 39 01 00 30 */ addi r8, r1, 0x30
/* 80149520 00146480 39 21 00 28 */ addi r9, r1, 0x28
/* 80149524 00146484 39 41 00 20 */ addi r10, r1, 0x20
/* 80149528 00146488 38 80 00 10 */ li r4, 0x10
/* 8014952C 0014648C 4B F3 3D 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80149530 00146490 80 BE 09 00 */ lwz r5, 0x900(r30)
/* 80149534 00146494 7F A3 EB 78 */ mr r3, r29
/* 80149538 00146498 38 81 00 50 */ addi r4, r1, 0x50
/* 8014953C 0014649C 4B FF 0E 6D */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 80149540 001464A0 34 A1 00 54 */ addic. r5, r1, 0x54
/* 80149544 001464A4 41 82 00 58 */ beq lbl_8014959C
/* 80149548 001464A8 80 C5 00 00 */ lwz r6, 0(r5)
/* 8014954C 001464AC 38 60 00 00 */ li r3, 0
/* 80149550 001464B0 2C 06 00 00 */ cmpwi r6, 0
/* 80149554 001464B4 40 81 00 40 */ ble lbl_80149594
/* 80149558 001464B8 2C 06 00 08 */ cmpwi r6, 8
/* 8014955C 001464BC 38 86 FF F8 */ addi r4, r6, -8
/* 80149560 001464C0 40 81 00 20 */ ble lbl_80149580
/* 80149564 001464C4 38 04 00 07 */ addi r0, r4, 7
/* 80149568 001464C8 54 00 E8 FE */ srwi r0, r0, 3
/* 8014956C 001464CC 7C 09 03 A6 */ mtctr r0
/* 80149570 001464D0 2C 04 00 00 */ cmpwi r4, 0
/* 80149574 001464D4 40 81 00 0C */ ble lbl_80149580
lbl_80149578:
/* 80149578 001464D8 38 63 00 08 */ addi r3, r3, 8
/* 8014957C 001464DC 42 00 FF FC */ bdnz lbl_80149578
lbl_80149580:
/* 80149580 001464E0 7C 03 30 50 */ subf r0, r3, r6
/* 80149584 001464E4 7C 09 03 A6 */ mtctr r0
/* 80149588 001464E8 7C 03 30 00 */ cmpw r3, r6
/* 8014958C 001464EC 40 80 00 08 */ bge lbl_80149594
lbl_80149590:
/* 80149590 001464F0 42 00 00 00 */ bdnz lbl_80149590
lbl_80149594:
/* 80149594 001464F4 38 00 00 00 */ li r0, 0
/* 80149598 001464F8 90 05 00 00 */ stw r0, 0(r5)
lbl_8014959C:
/* 8014959C 001464FC 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 801495A0 00146500 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 801495A4 00146504 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 801495A8 00146508 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 801495AC 0014650C 7C 08 03 A6 */ mtlr r0
/* 801495B0 00146510 38 21 00 B0 */ addi r1, r1, 0xb0
/* 801495B4 00146514 4E 80 00 20 */ blr
.global __ct__8CBSTauntFv
__ct__8CBSTauntFv:
/* 801495B8 00146518 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 801495BC 0014651C 3C 80 80 3E */ lis r4, lbl_803E2390@ha
/* 801495C0 00146520 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 801495C4 00146524 90 A3 00 00 */ stw r5, 0(r3)
/* 801495C8 00146528 38 04 23 90 */ addi r0, r4, lbl_803E2390@l
/* 801495CC 0014652C 90 03 00 00 */ stw r0, 0(r3)
/* 801495D0 00146530 4E 80 00 20 */ blr

View File

@ -0,0 +1,827 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__12CBSFlyerTurnFv
__dt__12CBSFlyerTurnFv:
/* 801391C4 00136124 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801391C8 00136128 7C 08 02 A6 */ mflr r0
/* 801391CC 0013612C 90 01 00 14 */ stw r0, 0x14(r1)
/* 801391D0 00136130 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801391D4 00136134 7C 7F 1B 79 */ or. r31, r3, r3
/* 801391D8 00136138 41 82 00 40 */ beq lbl_80139218
/* 801391DC 0013613C 3C 60 80 3E */ lis r3, lbl_803E1750@ha
/* 801391E0 00136140 38 03 17 50 */ addi r0, r3, lbl_803E1750@l
/* 801391E4 00136144 90 1F 00 00 */ stw r0, 0(r31)
/* 801391E8 00136148 41 82 00 20 */ beq lbl_80139208
/* 801391EC 0013614C 3C 60 80 3E */ lis r3, lbl_803E178C@ha
/* 801391F0 00136150 38 03 17 8C */ addi r0, r3, lbl_803E178C@l
/* 801391F4 00136154 90 1F 00 00 */ stw r0, 0(r31)
/* 801391F8 00136158 41 82 00 10 */ beq lbl_80139208
/* 801391FC 0013615C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80139200 00136160 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80139204 00136164 90 1F 00 00 */ stw r0, 0(r31)
lbl_80139208:
/* 80139208 00136168 7C 80 07 35 */ extsh. r0, r4
/* 8013920C 0013616C 40 81 00 0C */ ble lbl_80139218
/* 80139210 00136170 7F E3 FB 78 */ mr r3, r31
/* 80139214 00136174 48 1D C7 1D */ bl Free__7CMemoryFPCv
lbl_80139218:
/* 80139218 00136178 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013921C 0013617C 7F E3 FB 78 */ mr r3, r31
/* 80139220 00136180 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80139224 00136184 7C 08 03 A6 */ mtlr r0
/* 80139228 00136188 38 21 00 10 */ addi r1, r1, 0x10
/* 8013922C 0013618C 4E 80 00 20 */ blr
.global CanShoot__7CBSTurnCFv
CanShoot__7CBSTurnCFv:
/* 80139230 00136190 38 60 00 01 */ li r3, 1
/* 80139234 00136194 4E 80 00 20 */ blr
.global UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager
UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager:
/* 80139238 00136198 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8013923C 0013619C 7C 08 02 A6 */ mflr r0
/* 80139240 001361A0 90 01 00 64 */ stw r0, 0x64(r1)
/* 80139244 001361A4 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80139248 001361A8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 8013924C 001361AC 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80139250 001361B0 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80139254 001361B4 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80139258 001361B8 FF E0 08 90 */ fmr f31, f1
/* 8013925C 001361BC 7C 9E 23 78 */ mr r30, r4
/* 80139260 001361C0 7C 7D 1B 78 */ mr r29, r3
/* 80139264 001361C4 7C BF 2B 78 */ mr r31, r5
/* 80139268 001361C8 7F C3 F3 78 */ mr r3, r30
/* 8013926C 001361CC 48 00 11 E9 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80139270 001361D0 38 80 00 08 */ li r4, 8
/* 80139274 001361D4 48 1A BC 51 */ bl GetAnimState__12CPASDatabaseCFi
/* 80139278 001361D8 80 03 00 18 */ lwz r0, 0x18(r3)
/* 8013927C 001361DC 28 00 00 00 */ cmplwi r0, 0
/* 80139280 001361E0 41 82 00 20 */ beq lbl_801392A0
/* 80139284 001361E4 FC 20 F8 90 */ fmr f1, f31
/* 80139288 001361E8 7F A3 EB 78 */ mr r3, r29
/* 8013928C 001361EC 7F C4 F3 78 */ mr r4, r30
/* 80139290 001361F0 7F E5 FB 78 */ mr r5, r31
/* 80139294 001361F4 48 00 06 F5 */ bl UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager
/* 80139298 001361F8 7C 7F 1B 78 */ mr r31, r3
/* 8013929C 001361FC 48 00 01 0C */ b lbl_801393A8
lbl_801392A0:
/* 801392A0 00136200 7F A3 EB 78 */ mr r3, r29
/* 801392A4 00136204 FC 20 F8 90 */ fmr f1, f31
/* 801392A8 00136208 81 9D 00 00 */ lwz r12, 0(r29)
/* 801392AC 0013620C 7F C4 F3 78 */ mr r4, r30
/* 801392B0 00136210 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 801392B4 00136214 7D 89 03 A6 */ mtctr r12
/* 801392B8 00136218 4E 80 04 21 */ bctrl
/* 801392BC 0013621C 7C 7F 1B 78 */ mr r31, r3
/* 801392C0 00136220 2C 1F FF FF */ cmpwi r31, -1
/* 801392C4 00136224 40 82 00 E4 */ bne lbl_801393A8
/* 801392C8 00136228 C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 801392CC 0013622C 38 00 00 00 */ li r0, 0
/* 801392D0 00136230 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 801392D4 00136234 C0 5E 00 14 */ lfs f2, 0x14(r30)
/* 801392D8 00136238 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 801392DC 0013623C C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 801392E0 00136240 40 82 00 14 */ bne lbl_801392F4
/* 801392E4 00136244 FC 00 10 00 */ fcmpu cr0, f0, f2
/* 801392E8 00136248 40 82 00 0C */ bne lbl_801392F4
/* 801392EC 0013624C FC 00 18 00 */ fcmpu cr0, f0, f3
/* 801392F0 00136250 41 82 00 08 */ beq lbl_801392F8
lbl_801392F4:
/* 801392F4 00136254 38 00 00 01 */ li r0, 1
lbl_801392F8:
/* 801392F8 00136258 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 801392FC 0013625C 41 82 00 84 */ beq lbl_80139380
/* 80139300 00136260 38 61 00 18 */ addi r3, r1, 0x18
/* 80139304 00136264 48 1D AE FD */ bl __ct__9CVector2fFff
/* 80139308 00136268 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8013930C 0013626C 38 61 00 10 */ addi r3, r1, 0x10
/* 80139310 00136270 D0 1D 00 08 */ stfs f0, 8(r29)
/* 80139314 00136274 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80139318 00136278 D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 8013931C 0013627C 80 9E 00 00 */ lwz r4, 0(r30)
/* 80139320 00136280 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 80139324 00136284 C0 44 00 48 */ lfs f2, 0x48(r4)
/* 80139328 00136288 48 1D AE D9 */ bl __ct__9CVector2fFff
/* 8013932C 0013628C C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80139330 00136290 38 61 00 08 */ addi r3, r1, 8
/* 80139334 00136294 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 80139338 00136298 FC 40 00 50 */ fneg f2, f0
/* 8013933C 0013629C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80139340 001362A0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80139344 001362A4 48 1D AE BD */ bl __ct__9CVector2fFff
/* 80139348 001362A8 C0 21 00 08 */ lfs f1, 8(r1)
/* 8013934C 001362AC 38 61 00 20 */ addi r3, r1, 0x20
/* 80139350 001362B0 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80139354 001362B4 38 9D 00 08 */ addi r4, r29, 8
/* 80139358 001362B8 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8013935C 001362BC D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80139360 001362C0 48 1D AC 49 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139364 001362C4 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 80139368 001362C8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8013936C 001362CC 40 81 00 0C */ ble lbl_80139378
/* 80139370 001362D0 38 00 00 01 */ li r0, 1
/* 80139374 001362D4 48 00 00 08 */ b lbl_8013937C
lbl_80139378:
/* 80139378 001362D8 38 00 00 00 */ li r0, 0
lbl_8013937C:
/* 8013937C 001362DC 90 1D 00 10 */ stw r0, 0x10(r29)
lbl_80139380:
/* 80139380 001362E0 C0 5D 00 08 */ lfs f2, 8(r29)
/* 80139384 001362E4 FC 20 F8 90 */ fmr f1, f31
/* 80139388 001362E8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 8013938C 001362EC 7F C3 F3 78 */ mr r3, r30
/* 80139390 001362F0 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80139394 001362F4 38 81 00 30 */ addi r4, r1, 0x30
/* 80139398 001362F8 C0 5D 00 0C */ lfs f2, 0xc(r29)
/* 8013939C 001362FC D0 41 00 34 */ stfs f2, 0x34(r1)
/* 801393A0 00136300 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 801393A4 00136304 48 00 13 01 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_801393A8:
/* 801393A8 00136308 7F E3 FB 78 */ mr r3, r31
/* 801393AC 0013630C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 801393B0 00136310 80 01 00 64 */ lwz r0, 0x64(r1)
/* 801393B4 00136314 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 801393B8 00136318 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 801393BC 0013631C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 801393C0 00136320 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 801393C4 00136324 7C 08 03 A6 */ mtlr r0
/* 801393C8 00136328 38 21 00 60 */ addi r1, r1, 0x60
/* 801393CC 0013632C 4E 80 00 20 */ blr
.global Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager
Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager:
/* 801393D0 00136330 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 801393D4 00136334 7C 08 02 A6 */ mflr r0
/* 801393D8 00136338 90 01 01 04 */ stw r0, 0x104(r1)
/* 801393DC 0013633C 93 E1 00 FC */ stw r31, 0xfc(r1)
/* 801393E0 00136340 7C 7F 1B 78 */ mr r31, r3
/* 801393E4 00136344 93 C1 00 F8 */ stw r30, 0xf8(r1)
/* 801393E8 00136348 93 A1 00 F4 */ stw r29, 0xf4(r1)
/* 801393EC 0013634C 7C BD 2B 78 */ mr r29, r5
/* 801393F0 00136350 93 81 00 F0 */ stw r28, 0xf0(r1)
/* 801393F4 00136354 7C 9C 23 78 */ mr r28, r4
/* 801393F8 00136358 7F 83 E3 78 */ mr r3, r28
/* 801393FC 0013635C 48 00 10 59 */ bl GetPASDatabase__15CBodyControllerCFv
/* 80139400 00136360 38 80 00 08 */ li r4, 8
/* 80139404 00136364 7C 7E 1B 78 */ mr r30, r3
/* 80139408 00136368 48 1A BA BD */ bl GetAnimState__12CPASDatabaseCFi
/* 8013940C 0013636C 80 03 00 18 */ lwz r0, 0x18(r3)
/* 80139410 00136370 28 00 00 00 */ cmplwi r0, 0
/* 80139414 00136374 41 82 00 18 */ beq lbl_8013942C
/* 80139418 00136378 7F E3 FB 78 */ mr r3, r31
/* 8013941C 0013637C 7F 84 E3 78 */ mr r4, r28
/* 80139420 00136380 7F A5 EB 78 */ mr r5, r29
/* 80139424 00136384 48 00 05 F9 */ bl Start__7CBSTurnFR15CBodyControllerR13CStateManager
/* 80139428 00136388 48 00 01 DC */ b lbl_80139604
lbl_8013942C:
/* 8013942C 0013638C C0 3C 00 10 */ lfs f1, 0x10(r28)
/* 80139430 00136390 38 61 00 68 */ addi r3, r1, 0x68
/* 80139434 00136394 C0 5C 00 14 */ lfs f2, 0x14(r28)
/* 80139438 00136398 48 1D AD C9 */ bl __ct__9CVector2fFff
/* 8013943C 0013639C C0 01 00 68 */ lfs f0, 0x68(r1)
/* 80139440 001363A0 38 61 00 60 */ addi r3, r1, 0x60
/* 80139444 001363A4 D0 1F 00 08 */ stfs f0, 8(r31)
/* 80139448 001363A8 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 8013944C 001363AC D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80139450 001363B0 80 9C 00 00 */ lwz r4, 0(r28)
/* 80139454 001363B4 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 80139458 001363B8 C0 44 00 48 */ lfs f2, 0x48(r4)
/* 8013945C 001363BC 48 1D AD A5 */ bl __ct__9CVector2fFff
/* 80139460 001363C0 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 80139464 001363C4 38 61 00 58 */ addi r3, r1, 0x58
/* 80139468 001363C8 C0 21 00 64 */ lfs f1, 0x64(r1)
/* 8013946C 001363CC FC 40 00 50 */ fneg f2, f0
/* 80139470 001363D0 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 80139474 001363D4 D0 21 00 7C */ stfs f1, 0x7c(r1)
/* 80139478 001363D8 48 1D AD 89 */ bl __ct__9CVector2fFff
/* 8013947C 001363DC C0 21 00 58 */ lfs f1, 0x58(r1)
/* 80139480 001363E0 38 61 00 70 */ addi r3, r1, 0x70
/* 80139484 001363E4 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80139488 001363E8 38 9F 00 08 */ addi r4, r31, 8
/* 8013948C 001363EC D0 21 00 70 */ stfs f1, 0x70(r1)
/* 80139490 001363F0 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80139494 001363F4 48 1D AB 15 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139498 001363F8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 8013949C 001363FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801394A0 00136400 40 81 00 0C */ ble lbl_801394AC
/* 801394A4 00136404 38 00 00 01 */ li r0, 1
/* 801394A8 00136408 48 00 00 08 */ b lbl_801394B0
lbl_801394AC:
/* 801394AC 0013640C 38 00 00 00 */ li r0, 0
lbl_801394B0:
/* 801394B0 00136410 90 1F 00 10 */ stw r0, 0x10(r31)
/* 801394B4 00136414 38 61 00 18 */ addi r3, r1, 0x18
/* 801394B8 00136418 83 FC 02 EC */ lwz r31, 0x2ec(r28)
/* 801394BC 0013641C 48 1A 9B C1 */ bl NoParameter__12CPASAnimParmFv
/* 801394C0 00136420 38 61 00 20 */ addi r3, r1, 0x20
/* 801394C4 00136424 48 1A 9B B9 */ bl NoParameter__12CPASAnimParmFv
/* 801394C8 00136428 38 61 00 28 */ addi r3, r1, 0x28
/* 801394CC 0013642C 48 1A 9B B1 */ bl NoParameter__12CPASAnimParmFv
/* 801394D0 00136430 38 61 00 30 */ addi r3, r1, 0x30
/* 801394D4 00136434 48 1A 9B A9 */ bl NoParameter__12CPASAnimParmFv
/* 801394D8 00136438 38 61 00 38 */ addi r3, r1, 0x38
/* 801394DC 0013643C 48 1A 9B A1 */ bl NoParameter__12CPASAnimParmFv
/* 801394E0 00136440 38 61 00 40 */ addi r3, r1, 0x40
/* 801394E4 00136444 48 1A 9B 99 */ bl NoParameter__12CPASAnimParmFv
/* 801394E8 00136448 7F E4 FB 78 */ mr r4, r31
/* 801394EC 0013644C 38 61 00 48 */ addi r3, r1, 0x48
/* 801394F0 00136450 48 1A 9A 95 */ bl FromEnum__12CPASAnimParmFi
/* 801394F4 00136454 38 61 00 50 */ addi r3, r1, 0x50
/* 801394F8 00136458 38 80 00 00 */ li r4, 0
/* 801394FC 0013645C 48 1A 9A 89 */ bl FromEnum__12CPASAnimParmFi
/* 80139500 00136460 38 61 00 20 */ addi r3, r1, 0x20
/* 80139504 00136464 38 01 00 18 */ addi r0, r1, 0x18
/* 80139508 00136468 90 61 00 08 */ stw r3, 8(r1)
/* 8013950C 0013646C 38 61 00 A8 */ addi r3, r1, 0xa8
/* 80139510 00136470 38 A1 00 50 */ addi r5, r1, 0x50
/* 80139514 00136474 38 C1 00 48 */ addi r6, r1, 0x48
/* 80139518 00136478 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013951C 0013647C 38 E1 00 40 */ addi r7, r1, 0x40
/* 80139520 00136480 39 01 00 38 */ addi r8, r1, 0x38
/* 80139524 00136484 39 21 00 30 */ addi r9, r1, 0x30
/* 80139528 00136488 39 41 00 28 */ addi r10, r1, 0x28
/* 8013952C 0013648C 38 80 00 05 */ li r4, 5
/* 80139530 00136490 4B F4 3D 95 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80139534 00136494 80 DD 09 00 */ lwz r6, 0x900(r29)
/* 80139538 00136498 7F C4 F3 78 */ mr r4, r30
/* 8013953C 0013649C 38 61 00 10 */ addi r3, r1, 0x10
/* 80139540 001364A0 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 80139544 001364A4 38 E0 FF FF */ li r7, -1
/* 80139548 001364A8 48 1A BB 19 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8013954C 001364AC 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80139550 001364B0 80 1C 02 F8 */ lwz r0, 0x2f8(r28)
/* 80139554 001364B4 7C 03 00 00 */ cmpw r3, r0
/* 80139558 001364B8 41 82 00 50 */ beq lbl_801395A8
/* 8013955C 001364BC C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2)
/* 80139560 001364C0 38 00 00 00 */ li r0, 0
/* 80139564 001364C4 38 C0 FF FF */ li r6, -1
/* 80139568 001364C8 38 E0 00 01 */ li r7, 1
/* 8013956C 001364CC 90 61 00 80 */ stw r3, 0x80(r1)
/* 80139570 001364D0 7F 83 E3 78 */ mr r3, r28
/* 80139574 001364D4 38 81 00 80 */ addi r4, r1, 0x80
/* 80139578 001364D8 38 A0 00 01 */ li r5, 1
/* 8013957C 001364DC 90 C1 00 84 */ stw r6, 0x84(r1)
/* 80139580 001364E0 38 C0 00 00 */ li r6, 0
/* 80139584 001364E4 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80139588 001364E8 98 E1 00 8C */ stb r7, 0x8c(r1)
/* 8013958C 001364EC 90 01 00 90 */ stw r0, 0x90(r1)
/* 80139590 001364F0 90 01 00 94 */ stw r0, 0x94(r1)
/* 80139594 001364F4 98 01 00 98 */ stb r0, 0x98(r1)
/* 80139598 001364F8 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8013959C 001364FC 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 801395A0 00136500 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 801395A4 00136504 48 00 13 79 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
lbl_801395A8:
/* 801395A8 00136508 34 A1 00 AC */ addic. r5, r1, 0xac
/* 801395AC 0013650C 41 82 00 58 */ beq lbl_80139604
/* 801395B0 00136510 80 C5 00 00 */ lwz r6, 0(r5)
/* 801395B4 00136514 38 60 00 00 */ li r3, 0
/* 801395B8 00136518 2C 06 00 00 */ cmpwi r6, 0
/* 801395BC 0013651C 40 81 00 40 */ ble lbl_801395FC
/* 801395C0 00136520 2C 06 00 08 */ cmpwi r6, 8
/* 801395C4 00136524 38 86 FF F8 */ addi r4, r6, -8
/* 801395C8 00136528 40 81 00 20 */ ble lbl_801395E8
/* 801395CC 0013652C 38 04 00 07 */ addi r0, r4, 7
/* 801395D0 00136530 54 00 E8 FE */ srwi r0, r0, 3
/* 801395D4 00136534 7C 09 03 A6 */ mtctr r0
/* 801395D8 00136538 2C 04 00 00 */ cmpwi r4, 0
/* 801395DC 0013653C 40 81 00 0C */ ble lbl_801395E8
lbl_801395E0:
/* 801395E0 00136540 38 63 00 08 */ addi r3, r3, 8
/* 801395E4 00136544 42 00 FF FC */ bdnz lbl_801395E0
lbl_801395E8:
/* 801395E8 00136548 7C 03 30 50 */ subf r0, r3, r6
/* 801395EC 0013654C 7C 09 03 A6 */ mtctr r0
/* 801395F0 00136550 7C 03 30 00 */ cmpw r3, r6
/* 801395F4 00136554 40 80 00 08 */ bge lbl_801395FC
lbl_801395F8:
/* 801395F8 00136558 42 00 00 00 */ bdnz lbl_801395F8
lbl_801395FC:
/* 801395FC 0013655C 38 00 00 00 */ li r0, 0
/* 80139600 00136560 90 05 00 00 */ stw r0, 0(r5)
lbl_80139604:
/* 80139604 00136564 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80139608 00136568 83 E1 00 FC */ lwz r31, 0xfc(r1)
/* 8013960C 0013656C 83 C1 00 F8 */ lwz r30, 0xf8(r1)
/* 80139610 00136570 83 A1 00 F4 */ lwz r29, 0xf4(r1)
/* 80139614 00136574 83 81 00 F0 */ lwz r28, 0xf0(r1)
/* 80139618 00136578 7C 08 03 A6 */ mtlr r0
/* 8013961C 0013657C 38 21 01 00 */ addi r1, r1, 0x100
/* 80139620 00136580 4E 80 00 20 */ blr
.global __ct__12CBSFlyerTurnFv
__ct__12CBSFlyerTurnFv:
/* 80139624 00136584 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80139628 00136588 7C 08 02 A6 */ mflr r0
/* 8013962C 0013658C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80139630 00136590 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80139634 00136594 7C 7F 1B 78 */ mr r31, r3
/* 80139638 00136598 48 00 06 A9 */ bl __ct__7CBSTurnFv
/* 8013963C 0013659C 3C 80 80 3E */ lis r4, lbl_803E1750@ha
/* 80139640 001365A0 7F E3 FB 78 */ mr r3, r31
/* 80139644 001365A4 38 04 17 50 */ addi r0, r4, lbl_803E1750@l
/* 80139648 001365A8 90 1F 00 00 */ stw r0, 0(r31)
/* 8013964C 001365AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80139650 001365B0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80139654 001365B4 7C 08 03 A6 */ mtlr r0
/* 80139658 001365B8 38 21 00 10 */ addi r1, r1, 0x10
/* 8013965C 001365BC 4E 80 00 20 */ blr
.global __dt__7CBSTurnFv
__dt__7CBSTurnFv:
/* 80139660 001365C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80139664 001365C4 7C 08 02 A6 */ mflr r0
/* 80139668 001365C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013966C 001365CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80139670 001365D0 7C 7F 1B 79 */ or. r31, r3, r3
/* 80139674 001365D4 41 82 00 30 */ beq lbl_801396A4
/* 80139678 001365D8 3C 60 80 3E */ lis r3, lbl_803E178C@ha
/* 8013967C 001365DC 38 03 17 8C */ addi r0, r3, lbl_803E178C@l
/* 80139680 001365E0 90 1F 00 00 */ stw r0, 0(r31)
/* 80139684 001365E4 41 82 00 10 */ beq lbl_80139694
/* 80139688 001365E8 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8013968C 001365EC 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80139690 001365F0 90 1F 00 00 */ stw r0, 0(r31)
lbl_80139694:
/* 80139694 001365F4 7C 80 07 35 */ extsh. r0, r4
/* 80139698 001365F8 40 81 00 0C */ ble lbl_801396A4
/* 8013969C 001365FC 7F E3 FB 78 */ mr r3, r31
/* 801396A0 00136600 48 1D C2 91 */ bl Free__7CMemoryFPCv
lbl_801396A4:
/* 801396A4 00136604 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801396A8 00136608 7F E3 FB 78 */ mr r3, r31
/* 801396AC 0013660C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801396B0 00136610 7C 08 03 A6 */ mtlr r0
/* 801396B4 00136614 38 21 00 10 */ addi r1, r1, 0x10
/* 801396B8 00136618 4E 80 00 20 */ blr
.global GetBodyStateTransition__7CBSTurnFfR15CBodyController
GetBodyStateTransition__7CBSTurnFfR15CBodyController:
/* 801396BC 0013661C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801396C0 00136620 7C 08 02 A6 */ mflr r0
/* 801396C4 00136624 90 01 00 24 */ stw r0, 0x24(r1)
/* 801396C8 00136628 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801396CC 0013662C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801396D0 00136630 7C 9E 23 78 */ mr r30, r4
/* 801396D4 00136634 3B FE 00 04 */ addi r31, r30, 4
/* 801396D8 00136638 38 80 00 0F */ li r4, 0xf
/* 801396DC 0013663C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801396E0 00136640 7C 7D 1B 78 */ mr r29, r3
/* 801396E4 00136644 7F E3 FB 78 */ mr r3, r31
/* 801396E8 00136648 4B FF 7D 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801396EC 0013664C 28 03 00 00 */ cmplwi r3, 0
/* 801396F0 00136650 41 82 00 0C */ beq lbl_801396FC
/* 801396F4 00136654 38 60 00 0E */ li r3, 0xe
/* 801396F8 00136658 48 00 01 B8 */ b lbl_801398B0
lbl_801396FC:
/* 801396FC 0013665C 7F E3 FB 78 */ mr r3, r31
/* 80139700 00136660 38 80 00 03 */ li r4, 3
/* 80139704 00136664 4B FF 7D 4D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139708 00136668 28 03 00 00 */ cmplwi r3, 0
/* 8013970C 0013666C 41 82 00 0C */ beq lbl_80139718
/* 80139710 00136670 38 60 00 00 */ li r3, 0
/* 80139714 00136674 48 00 01 9C */ b lbl_801398B0
lbl_80139718:
/* 80139718 00136678 7F E3 FB 78 */ mr r3, r31
/* 8013971C 0013667C 38 80 00 09 */ li r4, 9
/* 80139720 00136680 4B FF 7D 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139724 00136684 28 03 00 00 */ cmplwi r3, 0
/* 80139728 00136688 41 82 00 0C */ beq lbl_80139734
/* 8013972C 0013668C 38 60 00 0A */ li r3, 0xa
/* 80139730 00136690 48 00 01 80 */ b lbl_801398B0
lbl_80139734:
/* 80139734 00136694 7F E3 FB 78 */ mr r3, r31
/* 80139738 00136698 38 80 00 04 */ li r4, 4
/* 8013973C 0013669C 4B FF 7D 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139740 001366A0 28 03 00 00 */ cmplwi r3, 0
/* 80139744 001366A4 41 82 00 0C */ beq lbl_80139750
/* 80139748 001366A8 38 60 00 06 */ li r3, 6
/* 8013974C 001366AC 48 00 01 64 */ b lbl_801398B0
lbl_80139750:
/* 80139750 001366B0 7F E3 FB 78 */ mr r3, r31
/* 80139754 001366B4 38 80 00 16 */ li r4, 0x16
/* 80139758 001366B8 4B FF 7C F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013975C 001366BC 28 03 00 00 */ cmplwi r3, 0
/* 80139760 001366C0 41 82 00 0C */ beq lbl_8013976C
/* 80139764 001366C4 38 60 00 05 */ li r3, 5
/* 80139768 001366C8 48 00 01 48 */ b lbl_801398B0
lbl_8013976C:
/* 8013976C 001366CC 7F E3 FB 78 */ mr r3, r31
/* 80139770 001366D0 38 80 00 0E */ li r4, 0xe
/* 80139774 001366D4 4B FF 7C DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139778 001366D8 28 03 00 00 */ cmplwi r3, 0
/* 8013977C 001366DC 41 82 00 0C */ beq lbl_80139788
/* 80139780 001366E0 38 60 00 0C */ li r3, 0xc
/* 80139784 001366E4 48 00 01 2C */ b lbl_801398B0
lbl_80139788:
/* 80139788 001366E8 7F E3 FB 78 */ mr r3, r31
/* 8013978C 001366EC 38 80 00 05 */ li r4, 5
/* 80139790 001366F0 4B FF 7C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139794 001366F4 28 03 00 00 */ cmplwi r3, 0
/* 80139798 001366F8 41 82 00 0C */ beq lbl_801397A4
/* 8013979C 001366FC 38 60 00 07 */ li r3, 7
/* 801397A0 00136700 48 00 01 10 */ b lbl_801398B0
lbl_801397A4:
/* 801397A4 00136704 7F E3 FB 78 */ mr r3, r31
/* 801397A8 00136708 38 80 00 06 */ li r4, 6
/* 801397AC 0013670C 4B FF 7C A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801397B0 00136710 28 03 00 00 */ cmplwi r3, 0
/* 801397B4 00136714 41 82 00 0C */ beq lbl_801397C0
/* 801397B8 00136718 38 60 00 12 */ li r3, 0x12
/* 801397BC 0013671C 48 00 00 F4 */ b lbl_801398B0
lbl_801397C0:
/* 801397C0 00136720 7F E3 FB 78 */ mr r3, r31
/* 801397C4 00136724 38 80 00 07 */ li r4, 7
/* 801397C8 00136728 4B FF 7C 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801397CC 0013672C 28 03 00 00 */ cmplwi r3, 0
/* 801397D0 00136730 41 82 00 0C */ beq lbl_801397DC
/* 801397D4 00136734 38 60 00 09 */ li r3, 9
/* 801397D8 00136738 48 00 00 D8 */ b lbl_801398B0
lbl_801397DC:
/* 801397DC 0013673C 7F E3 FB 78 */ mr r3, r31
/* 801397E0 00136740 38 80 00 08 */ li r4, 8
/* 801397E4 00136744 4B FF 7C 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801397E8 00136748 28 03 00 00 */ cmplwi r3, 0
/* 801397EC 0013674C 41 82 00 0C */ beq lbl_801397F8
/* 801397F0 00136750 38 60 00 0A */ li r3, 0xa
/* 801397F4 00136754 48 00 00 BC */ b lbl_801398B0
lbl_801397F8:
/* 801397F8 00136758 7F E3 FB 78 */ mr r3, r31
/* 801397FC 0013675C 38 80 00 10 */ li r4, 0x10
/* 80139800 00136760 4B FF 7C 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139804 00136764 28 03 00 00 */ cmplwi r3, 0
/* 80139808 00136768 41 82 00 0C */ beq lbl_80139814
/* 8013980C 0013676C 38 60 00 0D */ li r3, 0xd
/* 80139810 00136770 48 00 00 A0 */ b lbl_801398B0
lbl_80139814:
/* 80139814 00136774 7F E3 FB 78 */ mr r3, r31
/* 80139818 00136778 38 80 00 01 */ li r4, 1
/* 8013981C 0013677C 4B FF 7C 35 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80139820 00136780 28 03 00 00 */ cmplwi r3, 0
/* 80139824 00136784 41 82 00 0C */ beq lbl_80139830
/* 80139828 00136788 38 60 00 03 */ li r3, 3
/* 8013982C 0013678C 48 00 00 84 */ b lbl_801398B0
lbl_80139830:
/* 80139830 00136790 7F E3 FB 78 */ mr r3, r31
/* 80139834 00136794 38 80 00 13 */ li r4, 0x13
/* 80139838 00136798 4B FF 7C 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8013983C 0013679C 28 03 00 00 */ cmplwi r3, 0
/* 80139840 001367A0 41 82 00 0C */ beq lbl_8013984C
/* 80139844 001367A4 38 60 00 11 */ li r3, 0x11
/* 80139848 001367A8 48 00 00 68 */ b lbl_801398B0
lbl_8013984C:
/* 8013984C 001367AC 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 80139850 001367B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80139854 001367B4 40 82 00 50 */ bne lbl_801398A4
/* 80139858 001367B8 7F A3 EB 78 */ mr r3, r29
/* 8013985C 001367BC 7F C4 F3 78 */ mr r4, r30
/* 80139860 001367C0 48 00 00 6D */ bl FacingDest__7CBSTurnCFR15CBodyController
/* 80139864 001367C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80139868 001367C8 40 82 00 3C */ bne lbl_801398A4
/* 8013986C 001367CC C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2)
/* 80139870 001367D0 38 00 00 00 */ li r0, 0
/* 80139874 001367D4 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80139878 001367D8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8013987C 001367DC 40 82 00 1C */ bne lbl_80139898
/* 80139880 001367E0 C0 1F 00 04 */ lfs f0, 4(r31)
/* 80139884 001367E4 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80139888 001367E8 40 82 00 10 */ bne lbl_80139898
/* 8013988C 001367EC C0 1F 00 08 */ lfs f0, 8(r31)
/* 80139890 001367F0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80139894 001367F4 41 82 00 08 */ beq lbl_8013989C
lbl_80139898:
/* 80139898 001367F8 38 00 00 01 */ li r0, 1
lbl_8013989C:
/* 8013989C 001367FC 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 801398A0 00136800 41 82 00 0C */ beq lbl_801398AC
lbl_801398A4:
/* 801398A4 00136804 38 60 00 05 */ li r3, 5
/* 801398A8 00136808 48 00 00 08 */ b lbl_801398B0
lbl_801398AC:
/* 801398AC 0013680C 38 60 FF FF */ li r3, -1
lbl_801398B0:
/* 801398B0 00136810 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801398B4 00136814 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801398B8 00136818 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801398BC 0013681C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801398C0 00136820 7C 08 03 A6 */ mtlr r0
/* 801398C4 00136824 38 21 00 20 */ addi r1, r1, 0x20
/* 801398C8 00136828 4E 80 00 20 */ blr
.global FacingDest__7CBSTurnCFR15CBodyController
FacingDest__7CBSTurnCFR15CBodyController:
/* 801398CC 0013682C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801398D0 00136830 7C 08 02 A6 */ mflr r0
/* 801398D4 00136834 90 01 00 34 */ stw r0, 0x34(r1)
/* 801398D8 00136838 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801398DC 0013683C 7C 7F 1B 78 */ mr r31, r3
/* 801398E0 00136840 38 61 00 10 */ addi r3, r1, 0x10
/* 801398E4 00136844 80 84 00 00 */ lwz r4, 0(r4)
/* 801398E8 00136848 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 801398EC 0013684C C0 44 00 48 */ lfs f2, 0x48(r4)
/* 801398F0 00136850 48 1D A9 11 */ bl __ct__9CVector2fFff
/* 801398F4 00136854 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 801398F8 00136858 38 61 00 08 */ addi r3, r1, 8
/* 801398FC 0013685C C0 21 00 14 */ lfs f1, 0x14(r1)
/* 80139900 00136860 FC 40 00 50 */ fneg f2, f0
/* 80139904 00136864 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80139908 00136868 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013990C 0013686C 48 1D A8 F5 */ bl __ct__9CVector2fFff
/* 80139910 00136870 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 80139914 00136874 C0 21 00 08 */ lfs f1, 8(r1)
/* 80139918 00136878 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8013991C 0013687C 2C 00 00 01 */ cmpwi r0, 1
/* 80139920 00136880 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80139924 00136884 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80139928 00136888 40 82 00 24 */ bne lbl_8013994C
/* 8013992C 0013688C 38 61 00 18 */ addi r3, r1, 0x18
/* 80139930 00136890 38 9F 00 08 */ addi r4, r31, 8
/* 80139934 00136894 48 1D A6 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139938 00136898 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 8013993C 0013689C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80139940 001368A0 40 80 00 2C */ bge lbl_8013996C
/* 80139944 001368A4 38 60 00 01 */ li r3, 1
/* 80139948 001368A8 48 00 00 28 */ b lbl_80139970
lbl_8013994C:
/* 8013994C 001368AC 38 61 00 18 */ addi r3, r1, 0x18
/* 80139950 001368B0 38 9F 00 08 */ addi r4, r31, 8
/* 80139954 001368B4 48 1D A6 55 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139958 001368B8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 8013995C 001368BC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80139960 001368C0 40 81 00 0C */ ble lbl_8013996C
/* 80139964 001368C4 38 60 00 01 */ li r3, 1
/* 80139968 001368C8 48 00 00 08 */ b lbl_80139970
lbl_8013996C:
/* 8013996C 001368CC 38 60 00 00 */ li r3, 0
lbl_80139970:
/* 80139970 001368D0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80139974 001368D4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80139978 001368D8 7C 08 03 A6 */ mtlr r0
/* 8013997C 001368DC 38 21 00 30 */ addi r1, r1, 0x30
/* 80139980 001368E0 4E 80 00 20 */ blr
.global Shutdown__7CBSTurnFR15CBodyController
Shutdown__7CBSTurnFR15CBodyController:
/* 80139984 001368E4 4E 80 00 20 */ blr
.global UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager
UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager:
/* 80139988 001368E8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8013998C 001368EC 7C 08 02 A6 */ mflr r0
/* 80139990 001368F0 90 01 00 44 */ stw r0, 0x44(r1)
/* 80139994 001368F4 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80139998 001368F8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8013999C 001368FC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801399A0 00136900 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801399A4 00136904 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801399A8 00136908 81 83 00 00 */ lwz r12, 0(r3)
/* 801399AC 0013690C FF E0 08 90 */ fmr f31, f1
/* 801399B0 00136910 7C 7D 1B 78 */ mr r29, r3
/* 801399B4 00136914 7C 9E 23 78 */ mr r30, r4
/* 801399B8 00136918 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 801399BC 0013691C 7D 89 03 A6 */ mtctr r12
/* 801399C0 00136920 4E 80 04 21 */ bctrl
/* 801399C4 00136924 7C 7F 1B 78 */ mr r31, r3
/* 801399C8 00136928 2C 1F FF FF */ cmpwi r31, -1
/* 801399CC 0013692C 40 82 00 28 */ bne lbl_801399F4
/* 801399D0 00136930 C0 1D 00 04 */ lfs f0, 4(r29)
/* 801399D4 00136934 38 61 00 0C */ addi r3, r1, 0xc
/* 801399D8 00136938 38 81 00 08 */ addi r4, r1, 8
/* 801399DC 0013693C EC 00 07 F2 */ fmuls f0, f0, f31
/* 801399E0 00136940 D0 01 00 08 */ stfs f0, 8(r1)
/* 801399E4 00136944 48 1D 77 15 */ bl ZRotation__11CQuaternionFRC9CRelAngle
/* 801399E8 00136948 7F C3 F3 78 */ mr r3, r30
/* 801399EC 0013694C 38 81 00 0C */ addi r4, r1, 0xc
/* 801399F0 00136950 48 00 0E 19 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion
lbl_801399F4:
/* 801399F4 00136954 7F E3 FB 78 */ mr r3, r31
/* 801399F8 00136958 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 801399FC 0013695C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80139A00 00136960 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80139A04 00136964 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80139A08 00136968 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80139A0C 0013696C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80139A10 00136970 7C 08 03 A6 */ mtlr r0
/* 80139A14 00136974 38 21 00 40 */ addi r1, r1, 0x40
/* 80139A18 00136978 4E 80 00 20 */ blr
.global Start__7CBSTurnFR15CBodyControllerR13CStateManager
Start__7CBSTurnFR15CBodyControllerR13CStateManager:
/* 80139A1C 0013697C 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 80139A20 00136980 7C 08 02 A6 */ mflr r0
/* 80139A24 00136984 90 01 01 34 */ stw r0, 0x134(r1)
/* 80139A28 00136988 DB E1 01 20 */ stfd f31, 0x120(r1)
/* 80139A2C 0013698C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0
/* 80139A30 00136990 BF 61 01 0C */ stmw r27, 0x10c(r1)
/* 80139A34 00136994 7C 9F 23 78 */ mr r31, r4
/* 80139A38 00136998 7C 7E 1B 78 */ mr r30, r3
/* 80139A3C 0013699C 80 84 00 00 */ lwz r4, 0(r4)
/* 80139A40 001369A0 7C BB 2B 78 */ mr r27, r5
/* 80139A44 001369A4 38 61 00 70 */ addi r3, r1, 0x70
/* 80139A48 001369A8 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 80139A4C 001369AC C0 44 00 48 */ lfs f2, 0x48(r4)
/* 80139A50 001369B0 48 1D A7 B1 */ bl __ct__9CVector2fFff
/* 80139A54 001369B4 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 80139A58 001369B8 38 61 00 68 */ addi r3, r1, 0x68
/* 80139A5C 001369BC C0 01 00 74 */ lfs f0, 0x74(r1)
/* 80139A60 001369C0 D0 21 00 88 */ stfs f1, 0x88(r1)
/* 80139A64 001369C4 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80139A68 001369C8 C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 80139A6C 001369CC C0 5F 00 14 */ lfs f2, 0x14(r31)
/* 80139A70 001369D0 48 1D A7 91 */ bl __ct__9CVector2fFff
/* 80139A74 001369D4 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 80139A78 001369D8 38 61 00 88 */ addi r3, r1, 0x88
/* 80139A7C 001369DC 38 9E 00 08 */ addi r4, r30, 8
/* 80139A80 001369E0 D0 1E 00 08 */ stfs f0, 8(r30)
/* 80139A84 001369E4 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 80139A88 001369E8 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 80139A8C 001369EC 48 1D A5 39 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139A90 001369F0 C0 42 9A 68 */ lfs f2, lbl_805AB788@sda21(r2)
/* 80139A94 001369F4 38 61 00 60 */ addi r3, r1, 0x60
/* 80139A98 001369F8 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 80139A9C 001369FC EF E2 00 72 */ fmuls f31, f2, f1
/* 80139AA0 00136A00 C0 21 00 8C */ lfs f1, 0x8c(r1)
/* 80139AA4 00136A04 FC 40 00 50 */ fneg f2, f0
/* 80139AA8 00136A08 48 1D A7 59 */ bl __ct__9CVector2fFff
/* 80139AAC 00136A0C C0 21 00 60 */ lfs f1, 0x60(r1)
/* 80139AB0 00136A10 38 61 00 80 */ addi r3, r1, 0x80
/* 80139AB4 00136A14 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 80139AB8 00136A18 38 9E 00 08 */ addi r4, r30, 8
/* 80139ABC 00136A1C D0 21 00 80 */ stfs f1, 0x80(r1)
/* 80139AC0 00136A20 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 80139AC4 00136A24 48 1D A4 E5 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f
/* 80139AC8 00136A28 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 80139ACC 00136A2C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80139AD0 00136A30 40 81 00 0C */ ble lbl_80139ADC
/* 80139AD4 00136A34 38 00 00 01 */ li r0, 1
/* 80139AD8 00136A38 48 00 00 08 */ b lbl_80139AE0
lbl_80139ADC:
/* 80139ADC 00136A3C 38 00 00 00 */ li r0, 0
lbl_80139AE0:
/* 80139AE0 00136A40 90 1E 00 10 */ stw r0, 0x10(r30)
/* 80139AE4 00136A44 7F E3 FB 78 */ mr r3, r31
/* 80139AE8 00136A48 48 00 09 6D */ bl GetPASDatabase__15CBodyControllerCFv
/* 80139AEC 00136A4C 83 BF 02 EC */ lwz r29, 0x2ec(r31)
/* 80139AF0 00136A50 7C 7C 1B 78 */ mr r28, r3
/* 80139AF4 00136A54 38 61 00 20 */ addi r3, r1, 0x20
/* 80139AF8 00136A58 48 1A 95 85 */ bl NoParameter__12CPASAnimParmFv
/* 80139AFC 00136A5C 38 61 00 28 */ addi r3, r1, 0x28
/* 80139B00 00136A60 48 1A 95 7D */ bl NoParameter__12CPASAnimParmFv
/* 80139B04 00136A64 38 61 00 30 */ addi r3, r1, 0x30
/* 80139B08 00136A68 48 1A 95 75 */ bl NoParameter__12CPASAnimParmFv
/* 80139B0C 00136A6C 38 61 00 38 */ addi r3, r1, 0x38
/* 80139B10 00136A70 48 1A 95 6D */ bl NoParameter__12CPASAnimParmFv
/* 80139B14 00136A74 38 61 00 40 */ addi r3, r1, 0x40
/* 80139B18 00136A78 48 1A 95 65 */ bl NoParameter__12CPASAnimParmFv
/* 80139B1C 00136A7C 7F A4 EB 78 */ mr r4, r29
/* 80139B20 00136A80 38 61 00 48 */ addi r3, r1, 0x48
/* 80139B24 00136A84 48 1A 94 61 */ bl FromEnum__12CPASAnimParmFi
/* 80139B28 00136A88 FC 20 F8 90 */ fmr f1, f31
/* 80139B2C 00136A8C 38 61 00 50 */ addi r3, r1, 0x50
/* 80139B30 00136A90 48 1A 94 B9 */ bl FromReal32__12CPASAnimParmFf
/* 80139B34 00136A94 80 9E 00 10 */ lwz r4, 0x10(r30)
/* 80139B38 00136A98 38 61 00 58 */ addi r3, r1, 0x58
/* 80139B3C 00136A9C 48 1A 94 49 */ bl FromEnum__12CPASAnimParmFi
/* 80139B40 00136AA0 38 61 00 28 */ addi r3, r1, 0x28
/* 80139B44 00136AA4 38 01 00 20 */ addi r0, r1, 0x20
/* 80139B48 00136AA8 90 61 00 08 */ stw r3, 8(r1)
/* 80139B4C 00136AAC 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80139B50 00136AB0 38 A1 00 58 */ addi r5, r1, 0x58
/* 80139B54 00136AB4 38 C1 00 50 */ addi r6, r1, 0x50
/* 80139B58 00136AB8 90 01 00 0C */ stw r0, 0xc(r1)
/* 80139B5C 00136ABC 38 E1 00 48 */ addi r7, r1, 0x48
/* 80139B60 00136AC0 39 01 00 40 */ addi r8, r1, 0x40
/* 80139B64 00136AC4 39 21 00 38 */ addi r9, r1, 0x38
/* 80139B68 00136AC8 39 41 00 30 */ addi r10, r1, 0x30
/* 80139B6C 00136ACC 38 80 00 08 */ li r4, 8
/* 80139B70 00136AD0 4B F4 37 55 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80139B74 00136AD4 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 80139B78 00136AD8 7F 84 E3 78 */ mr r4, r28
/* 80139B7C 00136ADC 38 61 00 18 */ addi r3, r1, 0x18
/* 80139B80 00136AE0 38 A1 00 B8 */ addi r5, r1, 0xb8
/* 80139B84 00136AE4 38 E0 FF FF */ li r7, -1
/* 80139B88 00136AE8 48 1A B4 D9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 80139B8C 00136AEC 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 80139B90 00136AF0 38 00 00 00 */ li r0, 0
/* 80139B94 00136AF4 C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2)
/* 80139B98 00136AF8 38 A0 FF FF */ li r5, -1
/* 80139B9C 00136AFC 38 E0 00 01 */ li r7, 1
/* 80139BA0 00136B00 93 A1 00 90 */ stw r29, 0x90(r1)
/* 80139BA4 00136B04 7F E3 FB 78 */ mr r3, r31
/* 80139BA8 00136B08 38 81 00 90 */ addi r4, r1, 0x90
/* 80139BAC 00136B0C 90 A1 00 94 */ stw r5, 0x94(r1)
/* 80139BB0 00136B10 38 A0 00 00 */ li r5, 0
/* 80139BB4 00136B14 38 C0 00 00 */ li r6, 0
/* 80139BB8 00136B18 D0 01 00 98 */ stfs f0, 0x98(r1)
/* 80139BBC 00136B1C 98 E1 00 9C */ stb r7, 0x9c(r1)
/* 80139BC0 00136B20 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 80139BC4 00136B24 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80139BC8 00136B28 98 01 00 A8 */ stb r0, 0xa8(r1)
/* 80139BCC 00136B2C 90 01 00 AC */ stw r0, 0xac(r1)
/* 80139BD0 00136B30 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80139BD4 00136B34 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80139BD8 00136B38 48 00 0D 45 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80139BDC 00136B3C 7F 83 E3 78 */ mr r3, r28
/* 80139BE0 00136B40 38 80 00 08 */ li r4, 8
/* 80139BE4 00136B44 48 1A B2 E1 */ bl GetAnimState__12CPASDatabaseCFi
/* 80139BE8 00136B48 7C 64 1B 78 */ mr r4, r3
/* 80139BEC 00136B4C 7F A5 EB 78 */ mr r5, r29
/* 80139BF0 00136B50 38 61 00 10 */ addi r3, r1, 0x10
/* 80139BF4 00136B54 38 C0 00 01 */ li r6, 1
/* 80139BF8 00136B58 48 1A A3 FD */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 80139BFC 00136B5C 80 61 00 10 */ lwz r3, 0x10(r1)
/* 80139C00 00136B60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80139C04 00136B64 90 61 00 78 */ stw r3, 0x78(r1)
/* 80139C08 00136B68 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80139C0C 00136B6C 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80139C10 00136B70 2C 00 00 01 */ cmpwi r0, 1
/* 80139C14 00136B74 40 82 00 14 */ bne lbl_80139C28
/* 80139C18 00136B78 38 61 00 78 */ addi r3, r1, 0x78
/* 80139C1C 00136B7C 48 1A 93 51 */ bl GetReal32Value__12CPASAnimParmCFv
/* 80139C20 00136B80 EC 21 F8 28 */ fsubs f1, f1, f31
/* 80139C24 00136B84 48 00 00 10 */ b lbl_80139C34
lbl_80139C28:
/* 80139C28 00136B88 38 61 00 78 */ addi r3, r1, 0x78
/* 80139C2C 00136B8C 48 1A 93 41 */ bl GetReal32Value__12CPASAnimParmCFv
/* 80139C30 00136B90 EC 3F 08 28 */ fsubs f1, f31, f1
lbl_80139C34:
/* 80139C34 00136B94 C0 02 9A 6C */ lfs f0, lbl_805AB78C@sda21(r2)
/* 80139C38 00136B98 7F E3 FB 78 */ mr r3, r31
/* 80139C3C 00136B9C EC 00 00 72 */ fmuls f0, f0, f1
/* 80139C40 00136BA0 D0 1E 00 04 */ stfs f0, 4(r30)
/* 80139C44 00136BA4 48 00 0C 75 */ bl GetAnimTimeRemaining__15CBodyControllerCFv
/* 80139C48 00136BA8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2)
/* 80139C4C 00136BAC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80139C50 00136BB0 40 81 00 10 */ ble lbl_80139C60
/* 80139C54 00136BB4 C0 1E 00 04 */ lfs f0, 4(r30)
/* 80139C58 00136BB8 EC 00 08 24 */ fdivs f0, f0, f1
/* 80139C5C 00136BBC 48 00 00 08 */ b lbl_80139C64
lbl_80139C60:
/* 80139C60 00136BC0 C0 1E 00 04 */ lfs f0, 4(r30)
lbl_80139C64:
/* 80139C64 00136BC4 34 A1 00 BC */ addic. r5, r1, 0xbc
/* 80139C68 00136BC8 D0 1E 00 04 */ stfs f0, 4(r30)
/* 80139C6C 00136BCC 41 82 00 58 */ beq lbl_80139CC4
/* 80139C70 00136BD0 80 C5 00 00 */ lwz r6, 0(r5)
/* 80139C74 00136BD4 38 60 00 00 */ li r3, 0
/* 80139C78 00136BD8 2C 06 00 00 */ cmpwi r6, 0
/* 80139C7C 00136BDC 40 81 00 40 */ ble lbl_80139CBC
/* 80139C80 00136BE0 2C 06 00 08 */ cmpwi r6, 8
/* 80139C84 00136BE4 38 86 FF F8 */ addi r4, r6, -8
/* 80139C88 00136BE8 40 81 00 20 */ ble lbl_80139CA8
/* 80139C8C 00136BEC 38 04 00 07 */ addi r0, r4, 7
/* 80139C90 00136BF0 54 00 E8 FE */ srwi r0, r0, 3
/* 80139C94 00136BF4 7C 09 03 A6 */ mtctr r0
/* 80139C98 00136BF8 2C 04 00 00 */ cmpwi r4, 0
/* 80139C9C 00136BFC 40 81 00 0C */ ble lbl_80139CA8
lbl_80139CA0:
/* 80139CA0 00136C00 38 63 00 08 */ addi r3, r3, 8
/* 80139CA4 00136C04 42 00 FF FC */ bdnz lbl_80139CA0
lbl_80139CA8:
/* 80139CA8 00136C08 7C 03 30 50 */ subf r0, r3, r6
/* 80139CAC 00136C0C 7C 09 03 A6 */ mtctr r0
/* 80139CB0 00136C10 7C 03 30 00 */ cmpw r3, r6
/* 80139CB4 00136C14 40 80 00 08 */ bge lbl_80139CBC
lbl_80139CB8:
/* 80139CB8 00136C18 42 00 00 00 */ bdnz lbl_80139CB8
lbl_80139CBC:
/* 80139CBC 00136C1C 38 00 00 00 */ li r0, 0
/* 80139CC0 00136C20 90 05 00 00 */ stw r0, 0(r5)
lbl_80139CC4:
/* 80139CC4 00136C24 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0
/* 80139CC8 00136C28 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 80139CCC 00136C2C BB 61 01 0C */ lmw r27, 0x10c(r1)
/* 80139CD0 00136C30 80 01 01 34 */ lwz r0, 0x134(r1)
/* 80139CD4 00136C34 7C 08 03 A6 */ mtlr r0
/* 80139CD8 00136C38 38 21 01 30 */ addi r1, r1, 0x130
/* 80139CDC 00136C3C 4E 80 00 20 */ blr
.global __ct__7CBSTurnFv
__ct__7CBSTurnFv:
/* 80139CE0 00136C40 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80139CE4 00136C44 7C 08 02 A6 */ mflr r0
/* 80139CE8 00136C48 C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2)
/* 80139CEC 00136C4C 3C 80 80 3E */ lis r4, lbl_803E1318@ha
/* 80139CF0 00136C50 90 01 00 14 */ stw r0, 0x14(r1)
/* 80139CF4 00136C54 38 04 13 18 */ addi r0, r4, lbl_803E1318@l
/* 80139CF8 00136C58 FC 40 08 90 */ fmr f2, f1
/* 80139CFC 00136C5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80139D00 00136C60 7C 7F 1B 78 */ mr r31, r3
/* 80139D04 00136C64 3C 60 80 3E */ lis r3, lbl_803E178C@ha
/* 80139D08 00136C68 90 1F 00 00 */ stw r0, 0(r31)
/* 80139D0C 00136C6C 38 03 17 8C */ addi r0, r3, lbl_803E178C@l
/* 80139D10 00136C70 38 7F 00 08 */ addi r3, r31, 8
/* 80139D14 00136C74 90 1F 00 00 */ stw r0, 0(r31)
/* 80139D18 00136C78 D0 3F 00 04 */ stfs f1, 4(r31)
/* 80139D1C 00136C7C 48 1D A4 E5 */ bl __ct__9CVector2fFff
/* 80139D20 00136C80 38 00 FF FF */ li r0, -1
/* 80139D24 00136C84 7F E3 FB 78 */ mr r3, r31
/* 80139D28 00136C88 90 1F 00 10 */ stw r0, 0x10(r31)
/* 80139D2C 00136C8C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80139D30 00136C90 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80139D34 00136C94 7C 08 03 A6 */ mtlr r0
/* 80139D38 00136C98 38 21 00 10 */ addi r1, r1, 0x10
/* 80139D3C 00136C9C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2793
asm/Kyoto_CWD/CActorLights.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,241 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters
MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters:
/* 801067B0 00103710 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 801067B4 00103714 7C 08 02 A6 */ mflr r0
/* 801067B8 00103718 90 01 00 84 */ stw r0, 0x84(r1)
/* 801067BC 0010371C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 801067C0 00103720 7C BF 2B 78 */ mr r31, r5
/* 801067C4 00103724 93 C1 00 78 */ stw r30, 0x78(r1)
/* 801067C8 00103728 7C 7E 1B 78 */ mr r30, r3
/* 801067CC 0010372C 38 61 00 08 */ addi r3, r1, 8
/* 801067D0 00103730 4B FB EE 4D */ bl __ct__16CActorParametersFRC16CActorParameters
/* 801067D4 00103734 80 1F 00 00 */ lwz r0, 0(r31)
/* 801067D8 00103738 7F C3 F3 78 */ mr r3, r30
/* 801067DC 0010373C 38 81 00 08 */ addi r4, r1, 8
/* 801067E0 00103740 90 01 00 5C */ stw r0, 0x5c(r1)
/* 801067E4 00103744 4B FB EE 39 */ bl __ct__16CActorParametersFRC16CActorParameters
/* 801067E8 00103748 38 61 00 08 */ addi r3, r1, 8
/* 801067EC 0010374C 38 80 FF FF */ li r4, -1
/* 801067F0 00103750 4B FF FE 19 */ bl __dt__16CActorParametersFv
/* 801067F4 00103754 80 01 00 84 */ lwz r0, 0x84(r1)
/* 801067F8 00103758 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 801067FC 0010375C 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 80106800 00103760 7C 08 03 A6 */ mtlr r0
/* 80106804 00103764 38 21 00 80 */ addi r1, r1, 0x80
/* 80106808 00103768 4E 80 00 20 */ blr
.global sub_8010680c
sub_8010680c:
/* 8010680C 0010376C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80106810 00103770 7C 08 02 A6 */ mflr r0
/* 80106814 00103774 90 01 00 84 */ stw r0, 0x84(r1)
/* 80106818 00103778 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8010681C 0010377C 7C BF 2B 78 */ mr r31, r5
/* 80106820 00103780 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80106824 00103784 7C 7E 1B 78 */ mr r30, r3
/* 80106828 00103788 38 61 00 08 */ addi r3, r1, 8
/* 8010682C 0010378C 4B FB ED F1 */ bl __ct__16CActorParametersFRC16CActorParameters
/* 80106830 00103790 88 01 00 60 */ lbz r0, 0x60(r1)
/* 80106834 00103794 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 80106838 00103798 7F C3 F3 78 */ mr r3, r30
/* 8010683C 0010379C 38 81 00 08 */ addi r4, r1, 8
/* 80106840 001037A0 98 01 00 60 */ stb r0, 0x60(r1)
/* 80106844 001037A4 4B FB ED D9 */ bl __ct__16CActorParametersFRC16CActorParameters
/* 80106848 001037A8 38 61 00 08 */ addi r3, r1, 8
/* 8010684C 001037AC 38 80 FF FF */ li r4, -1
/* 80106850 001037B0 4B FF FD B9 */ bl __dt__16CActorParametersFv
/* 80106854 001037B4 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80106858 001037B8 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8010685C 001037BC 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 80106860 001037C0 7C 08 03 A6 */ mtlr r0
/* 80106864 001037C4 38 21 00 80 */ addi r1, r1, 0x80
/* 80106868 001037C8 4E 80 00 20 */ blr
.global Scannable__16CActorParametersCFRC20CScannableParameters
Scannable__16CActorParametersCFRC20CScannableParameters:
/* 8010686C 001037CC 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80106870 001037D0 7C 08 02 A6 */ mflr r0
/* 80106874 001037D4 90 01 00 84 */ stw r0, 0x84(r1)
/* 80106878 001037D8 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8010687C 001037DC 7C BF 2B 78 */ mr r31, r5
/* 80106880 001037E0 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80106884 001037E4 7C 7E 1B 78 */ mr r30, r3
/* 80106888 001037E8 38 61 00 08 */ addi r3, r1, 8
/* 8010688C 001037EC 4B FB ED 91 */ bl __ct__16CActorParametersFRC16CActorParameters
/* 80106890 001037F0 80 1F 00 00 */ lwz r0, 0(r31)
/* 80106894 001037F4 7F C3 F3 78 */ mr r3, r30
/* 80106898 001037F8 38 81 00 08 */ addi r4, r1, 8
/* 8010689C 001037FC 90 01 00 48 */ stw r0, 0x48(r1)
/* 801068A0 00103800 4B FB ED 7D */ bl __ct__16CActorParametersFRC16CActorParameters
/* 801068A4 00103804 38 61 00 08 */ addi r3, r1, 8
/* 801068A8 00103808 38 80 FF FF */ li r4, -1
/* 801068AC 0010380C 4B FF FD 5D */ bl __dt__16CActorParametersFv
/* 801068B0 00103810 80 01 00 84 */ lwz r0, 0x84(r1)
/* 801068B4 00103814 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 801068B8 00103818 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 801068BC 0010381C 7C 08 03 A6 */ mtlr r0
/* 801068C0 00103820 38 21 00 80 */ addi r1, r1, 0x80
/* 801068C4 00103824 4E 80 00 20 */ blr
.global sub_801068c8
sub_801068c8:
/* 801068C8 00103828 3D 60 80 3E */ lis r11, lbl_803DFF80@ha
/* 801068CC 0010382C 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l
/* 801068D0 00103830 90 03 00 00 */ stw r0, 0(r3)
/* 801068D4 00103834 55 2B 06 3E */ clrlwi r11, r9, 0x18
/* 801068D8 00103838 89 21 00 0B */ lbz r9, 0xb(r1)
/* 801068DC 0010383C 89 84 00 04 */ lbz r12, 4(r4)
/* 801068E0 00103840 88 01 00 0F */ lbz r0, 0xf(r1)
/* 801068E4 00103844 99 83 00 04 */ stb r12, 4(r3)
/* 801068E8 00103848 C0 04 00 08 */ lfs f0, 8(r4)
/* 801068EC 0010384C D0 03 00 08 */ stfs f0, 8(r3)
/* 801068F0 00103850 81 84 00 0C */ lwz r12, 0xc(r4)
/* 801068F4 00103854 91 83 00 0C */ stw r12, 0xc(r3)
/* 801068F8 00103858 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 801068FC 0010385C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80106900 00103860 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 80106904 00103864 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80106908 00103868 81 84 00 18 */ lwz r12, 0x18(r4)
/* 8010690C 0010386C 91 83 00 18 */ stw r12, 0x18(r3)
/* 80106910 00103870 89 84 00 1C */ lbz r12, 0x1c(r4)
/* 80106914 00103874 99 83 00 1C */ stb r12, 0x1c(r3)
/* 80106918 00103878 89 84 00 1D */ lbz r12, 0x1d(r4)
/* 8010691C 0010387C 99 83 00 1D */ stb r12, 0x1d(r3)
/* 80106920 00103880 81 84 00 20 */ lwz r12, 0x20(r4)
/* 80106924 00103884 91 83 00 20 */ stw r12, 0x20(r3)
/* 80106928 00103888 81 84 00 24 */ lwz r12, 0x24(r4)
/* 8010692C 0010388C 91 83 00 24 */ stw r12, 0x24(r3)
/* 80106930 00103890 81 84 00 28 */ lwz r12, 0x28(r4)
/* 80106934 00103894 91 83 00 28 */ stw r12, 0x28(r3)
/* 80106938 00103898 C0 04 00 2C */ lfs f0, 0x2c(r4)
/* 8010693C 0010389C D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80106940 001038A0 C0 04 00 30 */ lfs f0, 0x30(r4)
/* 80106944 001038A4 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80106948 001038A8 C0 04 00 34 */ lfs f0, 0x34(r4)
/* 8010694C 001038AC D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80106950 001038B0 81 84 00 38 */ lwz r12, 0x38(r4)
/* 80106954 001038B4 91 83 00 38 */ stw r12, 0x38(r3)
/* 80106958 001038B8 80 84 00 3C */ lwz r4, 0x3c(r4)
/* 8010695C 001038BC 90 83 00 3C */ stw r4, 0x3c(r3)
/* 80106960 001038C0 80 85 00 00 */ lwz r4, 0(r5)
/* 80106964 001038C4 90 83 00 40 */ stw r4, 0x40(r3)
/* 80106968 001038C8 80 86 00 00 */ lwz r4, 0(r6)
/* 8010696C 001038CC 90 83 00 44 */ stw r4, 0x44(r3)
/* 80106970 001038D0 80 86 00 04 */ lwz r4, 4(r6)
/* 80106974 001038D4 90 83 00 48 */ stw r4, 0x48(r3)
/* 80106978 001038D8 80 87 00 00 */ lwz r4, 0(r7)
/* 8010697C 001038DC 90 83 00 4C */ stw r4, 0x4c(r3)
/* 80106980 001038E0 80 87 00 04 */ lwz r4, 4(r7)
/* 80106984 001038E4 90 83 00 50 */ stw r4, 0x50(r3)
/* 80106988 001038E8 80 88 00 00 */ lwz r4, 0(r8)
/* 8010698C 001038EC 90 83 00 54 */ stw r4, 0x54(r3)
/* 80106990 001038F0 88 83 00 58 */ lbz r4, 0x58(r3)
/* 80106994 001038F4 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18
/* 80106998 001038F8 98 83 00 58 */ stb r4, 0x58(r3)
/* 8010699C 001038FC 88 83 00 58 */ lbz r4, 0x58(r3)
/* 801069A0 00103900 51 44 36 72 */ rlwimi r4, r10, 6, 0x19, 0x19
/* 801069A4 00103904 98 83 00 58 */ stb r4, 0x58(r3)
/* 801069A8 00103908 88 83 00 58 */ lbz r4, 0x58(r3)
/* 801069AC 0010390C 51 24 2E B4 */ rlwimi r4, r9, 5, 0x1a, 0x1a
/* 801069B0 00103910 98 83 00 58 */ stb r4, 0x58(r3)
/* 801069B4 00103914 88 83 00 58 */ lbz r4, 0x58(r3)
/* 801069B8 00103918 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b
/* 801069BC 0010391C 98 83 00 58 */ stb r4, 0x58(r3)
/* 801069C0 00103920 D0 23 00 5C */ stfs f1, 0x5c(r3)
/* 801069C4 00103924 D0 43 00 60 */ stfs f2, 0x60(r3)
/* 801069C8 00103928 D0 63 00 64 */ stfs f3, 0x64(r3)
/* 801069CC 0010392C 4E 80 00 20 */ blr
.global __ct__16CActorParametersFv
__ct__16CActorParametersFv:
/* 801069D0 00103930 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 801069D4 00103934 7C 08 02 A6 */ mflr r0
/* 801069D8 00103938 90 01 00 64 */ stw r0, 0x64(r1)
/* 801069DC 0010393C 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 801069E0 00103940 7C 7F 1B 78 */ mr r31, r3
/* 801069E4 00103944 38 61 00 0C */ addi r3, r1, 0xc
/* 801069E8 00103948 4B FD 3A 05 */ bl None__16CLightParametersFv
/* 801069EC 0010394C 3C 80 80 3E */ lis r4, lbl_803DFF80@ha
/* 801069F0 00103950 38 61 00 0C */ addi r3, r1, 0xc
/* 801069F4 00103954 38 04 FF 80 */ addi r0, r4, lbl_803DFF80@l
/* 801069F8 00103958 38 80 FF FF */ li r4, -1
/* 801069FC 0010395C 90 1F 00 00 */ stw r0, 0(r31)
/* 80106A00 00103960 88 01 00 10 */ lbz r0, 0x10(r1)
/* 80106A04 00103964 98 1F 00 04 */ stb r0, 4(r31)
/* 80106A08 00103968 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80106A0C 0010396C D0 1F 00 08 */ stfs f0, 8(r31)
/* 80106A10 00103970 80 01 00 18 */ lwz r0, 0x18(r1)
/* 80106A14 00103974 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80106A18 00103978 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80106A1C 0010397C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80106A20 00103980 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80106A24 00103984 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80106A28 00103988 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80106A2C 0010398C 90 1F 00 18 */ stw r0, 0x18(r31)
/* 80106A30 00103990 88 01 00 28 */ lbz r0, 0x28(r1)
/* 80106A34 00103994 98 1F 00 1C */ stb r0, 0x1c(r31)
/* 80106A38 00103998 88 01 00 29 */ lbz r0, 0x29(r1)
/* 80106A3C 0010399C 98 1F 00 1D */ stb r0, 0x1d(r31)
/* 80106A40 001039A0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80106A44 001039A4 90 1F 00 20 */ stw r0, 0x20(r31)
/* 80106A48 001039A8 80 01 00 30 */ lwz r0, 0x30(r1)
/* 80106A4C 001039AC 90 1F 00 24 */ stw r0, 0x24(r31)
/* 80106A50 001039B0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80106A54 001039B4 90 1F 00 28 */ stw r0, 0x28(r31)
/* 80106A58 001039B8 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 80106A5C 001039BC D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 80106A60 001039C0 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80106A64 001039C4 D0 1F 00 30 */ stfs f0, 0x30(r31)
/* 80106A68 001039C8 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80106A6C 001039CC D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 80106A70 001039D0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80106A74 001039D4 90 1F 00 38 */ stw r0, 0x38(r31)
/* 80106A78 001039D8 80 01 00 48 */ lwz r0, 0x48(r1)
/* 80106A7C 001039DC 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 80106A80 001039E0 4B FF FB 89 */ bl __dt__16CActorParametersFv
/* 80106A84 001039E4 38 60 FF FF */ li r3, -1
/* 80106A88 001039E8 80 01 00 08 */ lwz r0, 8(r1)
/* 80106A8C 001039EC 90 7F 00 40 */ stw r3, 0x40(r31)
/* 80106A90 001039F0 38 60 00 0F */ li r3, 0xf
/* 80106A94 001039F4 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3
/* 80106A98 001039F8 38 C0 00 00 */ li r6, 0
/* 80106A9C 001039FC 80 6D 89 C0 */ lwz r3, lbl_805A7580@sda21(r13)
/* 80106AA0 00103A00 7C 05 03 78 */ mr r5, r0
/* 80106AA4 00103A04 50 C5 D9 08 */ rlwimi r5, r6, 0x1b, 4, 4
/* 80106AA8 00103A08 90 01 00 08 */ stw r0, 8(r1)
/* 80106AAC 00103A0C 7C A0 2B 78 */ mr r0, r5
/* 80106AB0 00103A10 38 80 00 01 */ li r4, 1
/* 80106AB4 00103A14 90 7F 00 44 */ stw r3, 0x44(r31)
/* 80106AB8 00103A18 50 C0 D1 4A */ rlwimi r0, r6, 0x1a, 5, 5
/* 80106ABC 00103A1C C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2)
/* 80106AC0 00103A20 7F E3 FB 78 */ mr r3, r31
/* 80106AC4 00103A24 80 ED 89 C4 */ lwz r7, lbl_805A7584@sda21(r13)
/* 80106AC8 00103A28 90 A1 00 08 */ stw r5, 8(r1)
/* 80106ACC 00103A2C 90 FF 00 48 */ stw r7, 0x48(r31)
/* 80106AD0 00103A30 80 AD 89 C8 */ lwz r5, lbl_805A7588@sda21(r13)
/* 80106AD4 00103A34 90 01 00 08 */ stw r0, 8(r1)
/* 80106AD8 00103A38 90 BF 00 4C */ stw r5, 0x4c(r31)
/* 80106ADC 00103A3C 80 AD 89 CC */ lwz r5, lbl_805A758C@sda21(r13)
/* 80106AE0 00103A40 90 BF 00 50 */ stw r5, 0x50(r31)
/* 80106AE4 00103A44 90 1F 00 54 */ stw r0, 0x54(r31)
/* 80106AE8 00103A48 88 1F 00 58 */ lbz r0, 0x58(r31)
/* 80106AEC 00103A4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80106AF0 00103A50 98 1F 00 58 */ stb r0, 0x58(r31)
/* 80106AF4 00103A54 88 1F 00 58 */ lbz r0, 0x58(r31)
/* 80106AF8 00103A58 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
/* 80106AFC 00103A5C 98 1F 00 58 */ stb r0, 0x58(r31)
/* 80106B00 00103A60 88 1F 00 58 */ lbz r0, 0x58(r31)
/* 80106B04 00103A64 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 80106B08 00103A68 98 1F 00 58 */ stb r0, 0x58(r31)
/* 80106B0C 00103A6C D0 1F 00 5C */ stfs f0, 0x5c(r31)
/* 80106B10 00103A70 D0 1F 00 60 */ stfs f0, 0x60(r31)
/* 80106B14 00103A74 D0 1F 00 64 */ stfs f0, 0x64(r31)
/* 80106B18 00103A78 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80106B1C 00103A7C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80106B20 00103A80 7C 08 03 A6 */ mtlr r0
/* 80106B24 00103A84 38 21 00 60 */ addi r1, r1, 0x60
/* 80106B28 00103A88 4E 80 00 20 */ blr

View File

@ -0,0 +1,103 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__14CAudioStateWinFv
__dt__14CAudioStateWinFv:
/* 80111CCC 0010EC2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80111CD0 0010EC30 7C 08 02 A6 */ mflr r0
/* 80111CD4 0010EC34 90 01 00 14 */ stw r0, 0x14(r1)
/* 80111CD8 0010EC38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80111CDC 0010EC3C 7C 9F 23 78 */ mr r31, r4
/* 80111CE0 0010EC40 93 C1 00 08 */ stw r30, 8(r1)
/* 80111CE4 0010EC44 7C 7E 1B 79 */ or. r30, r3, r3
/* 80111CE8 0010EC48 41 82 00 28 */ beq lbl_80111D10
/* 80111CEC 0010EC4C 3C A0 80 3E */ lis r5, lbl_803E02A8@ha
/* 80111CF0 0010EC50 38 80 00 00 */ li r4, 0
/* 80111CF4 0010EC54 38 05 02 A8 */ addi r0, r5, lbl_803E02A8@l
/* 80111CF8 0010EC58 90 1E 00 00 */ stw r0, 0(r30)
/* 80111CFC 0010EC5C 4B F4 0E A9 */ bl __dt__6CIOWinFv
/* 80111D00 0010EC60 7F E0 07 35 */ extsh. r0, r31
/* 80111D04 0010EC64 40 81 00 0C */ ble lbl_80111D10
/* 80111D08 0010EC68 7F C3 F3 78 */ mr r3, r30
/* 80111D0C 0010EC6C 48 20 3C 25 */ bl Free__7CMemoryFPCv
lbl_80111D10:
/* 80111D10 0010EC70 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80111D14 0010EC74 7F C3 F3 78 */ mr r3, r30
/* 80111D18 0010EC78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80111D1C 0010EC7C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80111D20 0010EC80 7C 08 03 A6 */ mtlr r0
/* 80111D24 0010EC84 38 21 00 10 */ addi r1, r1, 0x10
/* 80111D28 0010EC88 4E 80 00 20 */ blr
.global OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue:
/* 80111D2C 0010EC8C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80111D30 0010EC90 7C 08 02 A6 */ mflr r0
/* 80111D34 0010EC94 90 01 00 14 */ stw r0, 0x14(r1)
/* 80111D38 0010EC98 80 04 00 04 */ lwz r0, 4(r4)
/* 80111D3C 0010EC9C 2C 00 00 07 */ cmpwi r0, 7
/* 80111D40 0010ECA0 41 82 00 70 */ beq lbl_80111DB0
/* 80111D44 0010ECA4 40 80 00 10 */ bge lbl_80111D54
/* 80111D48 0010ECA8 2C 00 00 06 */ cmpwi r0, 6
/* 80111D4C 0010ECAC 40 80 00 14 */ bge lbl_80111D60
/* 80111D50 0010ECB0 48 00 00 60 */ b lbl_80111DB0
lbl_80111D54:
/* 80111D54 0010ECB4 2C 00 00 09 */ cmpwi r0, 9
/* 80111D58 0010ECB8 40 80 00 58 */ bge lbl_80111DB0
/* 80111D5C 0010ECBC 48 00 00 18 */ b lbl_80111D74
lbl_80111D60:
/* 80111D60 0010ECC0 38 60 00 01 */ li r3, 1
/* 80111D64 0010ECC4 48 1D 7D 51 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 80111D68 0010ECC8 38 60 00 01 */ li r3, 1
/* 80111D6C 0010ECCC 48 1D 7B 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 80111D70 0010ECD0 48 00 00 40 */ b lbl_80111DB0
lbl_80111D74:
/* 80111D74 0010ECD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80111D78 0010ECD8 48 0C 1B A1 */ bl WorldTransitionManager__10CGameStateFv
/* 80111D7C 0010ECDC 80 63 00 00 */ lwz r3, 0(r3)
/* 80111D80 0010ECE0 80 63 00 00 */ lwz r3, 0(r3)
/* 80111D84 0010ECE4 80 03 00 30 */ lwz r0, 0x30(r3)
/* 80111D88 0010ECE8 2C 00 00 00 */ cmpwi r0, 0
/* 80111D8C 0010ECEC 41 82 00 14 */ beq lbl_80111DA0
/* 80111D90 0010ECF0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80111D94 0010ECF4 80 03 01 2C */ lwz r0, 0x12c(r3)
/* 80111D98 0010ECF8 2C 00 00 00 */ cmpwi r0, 0
/* 80111D9C 0010ECFC 41 82 00 14 */ beq lbl_80111DB0
lbl_80111DA0:
/* 80111DA0 0010ED00 38 60 00 00 */ li r3, 0
/* 80111DA4 0010ED04 48 1D 7B 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 80111DA8 0010ED08 38 60 00 01 */ li r3, 1
/* 80111DAC 0010ED0C 48 1D 7D 09 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels
lbl_80111DB0:
/* 80111DB0 0010ED10 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80111DB4 0010ED14 38 60 00 00 */ li r3, 0
/* 80111DB8 0010ED18 7C 08 03 A6 */ mtlr r0
/* 80111DBC 0010ED1C 38 21 00 10 */ addi r1, r1, 0x10
/* 80111DC0 0010ED20 4E 80 00 20 */ blr
.global __ct__14CAudioStateWinFv
__ct__14CAudioStateWinFv:
/* 80111DC4 0010ED24 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80111DC8 0010ED28 7C 08 02 A6 */ mflr r0
/* 80111DCC 0010ED2C 3C 80 80 3D */ lis r4, lbl_803CF200@ha
/* 80111DD0 0010ED30 90 01 00 24 */ stw r0, 0x24(r1)
/* 80111DD4 0010ED34 38 84 F2 00 */ addi r4, r4, lbl_803CF200@l
/* 80111DD8 0010ED38 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80111DDC 0010ED3C 7C 7F 1B 78 */ mr r31, r3
/* 80111DE0 0010ED40 38 61 00 08 */ addi r3, r1, 8
/* 80111DE4 0010ED44 4B EF 2E D5 */ bl string_l__4rstlFPCc
/* 80111DE8 0010ED48 7F E3 FB 78 */ mr r3, r31
/* 80111DEC 0010ED4C 38 81 00 08 */ addi r4, r1, 8
/* 80111DF0 0010ED50 4B F4 0E 1D */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80111DF4 0010ED54 38 61 00 08 */ addi r3, r1, 8
/* 80111DF8 0010ED58 48 22 BC E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80111DFC 0010ED5C 3C 80 80 3E */ lis r4, lbl_803E02A8@ha
/* 80111E00 0010ED60 7F E3 FB 78 */ mr r3, r31
/* 80111E04 0010ED64 38 04 02 A8 */ addi r0, r4, lbl_803E02A8@l
/* 80111E08 0010ED68 90 1F 00 00 */ stw r0, 0(r31)
/* 80111E0C 0010ED6C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80111E10 0010ED70 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80111E14 0010ED74 7C 08 03 A6 */ mtlr r0
/* 80111E18 0010ED78 38 21 00 20 */ addi r1, r1, 0x20
/* 80111E1C 0010ED7C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,302 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Draw__20CConsoleOutputWindowCFv
Draw__20CConsoleOutputWindowCFv:
/* 800FE884 000FB7E4 4E 80 00 20 */ blr
.global Update__20CConsoleOutputWindowFf
Update__20CConsoleOutputWindowFf:
/* 800FE888 000FB7E8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FE88C 000FB7EC 38 C0 00 00 */ li r6, 0
/* 800FE890 000FB7F0 38 A0 00 00 */ li r5, 0
/* 800FE894 000FB7F4 48 00 00 40 */ b lbl_800FE8D4
lbl_800FE898:
/* 800FE898 000FB7F8 80 83 00 3C */ lwz r4, 0x3c(r3)
/* 800FE89C 000FB7FC C0 0D 89 84 */ lfs f0, lbl_805A7544@sda21(r13)
/* 800FE8A0 000FB800 7C 44 2C 2E */ lfsx f2, r4, r5
/* 800FE8A4 000FB804 EC 42 08 28 */ fsubs f2, f2, f1
/* 800FE8A8 000FB808 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 800FE8AC 000FB80C D0 41 00 08 */ stfs f2, 8(r1)
/* 800FE8B0 000FB810 40 80 00 0C */ bge lbl_800FE8BC
/* 800FE8B4 000FB814 38 81 00 08 */ addi r4, r1, 8
/* 800FE8B8 000FB818 48 00 00 08 */ b lbl_800FE8C0
lbl_800FE8BC:
/* 800FE8BC 000FB81C 38 8D 89 84 */ addi r4, r13, lbl_805A7544@sda21
lbl_800FE8C0:
/* 800FE8C0 000FB820 C0 04 00 00 */ lfs f0, 0(r4)
/* 800FE8C4 000FB824 38 C6 00 01 */ addi r6, r6, 1
/* 800FE8C8 000FB828 80 83 00 3C */ lwz r4, 0x3c(r3)
/* 800FE8CC 000FB82C 7C 04 2D 2E */ stfsx f0, r4, r5
/* 800FE8D0 000FB830 38 A5 00 04 */ addi r5, r5, 4
lbl_800FE8D4:
/* 800FE8D4 000FB834 80 03 00 24 */ lwz r0, 0x24(r3)
/* 800FE8D8 000FB838 7C 06 00 00 */ cmpw r6, r0
/* 800FE8DC 000FB83C 41 80 FF BC */ blt lbl_800FE898
/* 800FE8E0 000FB840 38 21 00 10 */ addi r1, r1, 0x10
/* 800FE8E4 000FB844 4E 80 00 20 */ blr
.global OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue:
/* 800FE8E8 000FB848 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FE8EC 000FB84C 7C 08 02 A6 */ mflr r0
/* 800FE8F0 000FB850 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FE8F4 000FB854 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FE8F8 000FB858 7C 7F 1B 78 */ mr r31, r3
/* 800FE8FC 000FB85C 80 04 00 04 */ lwz r0, 4(r4)
/* 800FE900 000FB860 2C 00 00 05 */ cmpwi r0, 5
/* 800FE904 000FB864 41 82 00 14 */ beq lbl_800FE918
/* 800FE908 000FB868 40 80 00 38 */ bge lbl_800FE940
/* 800FE90C 000FB86C 2C 00 00 04 */ cmpwi r0, 4
/* 800FE910 000FB870 40 80 00 10 */ bge lbl_800FE920
/* 800FE914 000FB874 48 00 00 2C */ b lbl_800FE940
lbl_800FE918:
/* 800FE918 000FB878 38 60 00 00 */ li r3, 0
/* 800FE91C 000FB87C 48 00 00 28 */ b lbl_800FE944
lbl_800FE920:
/* 800FE920 000FB880 7C 83 23 78 */ mr r3, r4
/* 800FE924 000FB884 4B F5 32 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
/* 800FE928 000FB888 7C 64 1B 78 */ mr r4, r3
/* 800FE92C 000FB88C 7F E3 FB 78 */ mr r3, r31
/* 800FE930 000FB890 C0 24 00 04 */ lfs f1, 4(r4)
/* 800FE934 000FB894 4B FF FF 55 */ bl Update__20CConsoleOutputWindowFf
/* 800FE938 000FB898 38 60 00 00 */ li r3, 0
/* 800FE93C 000FB89C 48 00 00 08 */ b lbl_800FE944
lbl_800FE940:
/* 800FE940 000FB8A0 38 60 00 00 */ li r3, 0
lbl_800FE944:
/* 800FE944 000FB8A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FE948 000FB8A8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FE94C 000FB8AC 7C 08 03 A6 */ mtlr r0
/* 800FE950 000FB8B0 38 21 00 10 */ addi r1, r1, 0x10
/* 800FE954 000FB8B4 4E 80 00 20 */ blr
.global __dt__20CConsoleOutputWindowFv
__dt__20CConsoleOutputWindowFv:
/* 800FE958 000FB8B8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800FE95C 000FB8BC 7C 08 02 A6 */ mflr r0
/* 800FE960 000FB8C0 90 01 00 44 */ stw r0, 0x44(r1)
/* 800FE964 000FB8C4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 800FE968 000FB8C8 7C 9F 23 78 */ mr r31, r4
/* 800FE96C 000FB8CC 93 C1 00 38 */ stw r30, 0x38(r1)
/* 800FE970 000FB8D0 7C 7E 1B 79 */ or. r30, r3, r3
/* 800FE974 000FB8D4 93 A1 00 34 */ stw r29, 0x34(r1)
/* 800FE978 000FB8D8 93 81 00 30 */ stw r28, 0x30(r1)
/* 800FE97C 000FB8DC 41 82 00 E0 */ beq lbl_800FEA5C
/* 800FE980 000FB8E0 3C 60 80 3E */ lis r3, lbl_803DFE50@ha
/* 800FE984 000FB8E4 34 1E 00 30 */ addic. r0, r30, 0x30
/* 800FE988 000FB8E8 38 63 FE 50 */ addi r3, r3, lbl_803DFE50@l
/* 800FE98C 000FB8EC 38 00 00 00 */ li r0, 0
/* 800FE990 000FB8F0 90 7E 00 00 */ stw r3, 0(r30)
/* 800FE994 000FB8F4 90 0D A3 40 */ stw r0, lbl_805A8F00@sda21(r13)
/* 800FE998 000FB8F8 41 82 00 44 */ beq lbl_800FE9DC
/* 800FE99C 000FB8FC 80 1E 00 34 */ lwz r0, 0x34(r30)
/* 800FE9A0 000FB900 80 7E 00 3C */ lwz r3, 0x3c(r30)
/* 800FE9A4 000FB904 54 00 10 3A */ slwi r0, r0, 2
/* 800FE9A8 000FB908 7C 03 02 14 */ add r0, r3, r0
/* 800FE9AC 000FB90C 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800FE9B0 000FB910 7C 64 1B 78 */ mr r4, r3
/* 800FE9B4 000FB914 90 01 00 24 */ stw r0, 0x24(r1)
/* 800FE9B8 000FB918 90 01 00 20 */ stw r0, 0x20(r1)
/* 800FE9BC 000FB91C 90 61 00 18 */ stw r3, 0x18(r1)
/* 800FE9C0 000FB920 48 00 00 08 */ b lbl_800FE9C8
lbl_800FE9C4:
/* 800FE9C4 000FB924 38 84 00 04 */ addi r4, r4, 4
lbl_800FE9C8:
/* 800FE9C8 000FB928 7C 04 00 40 */ cmplw r4, r0
/* 800FE9CC 000FB92C 40 82 FF F8 */ bne lbl_800FE9C4
/* 800FE9D0 000FB930 28 03 00 00 */ cmplwi r3, 0
/* 800FE9D4 000FB934 41 82 00 08 */ beq lbl_800FE9DC
/* 800FE9D8 000FB938 48 21 6F 59 */ bl Free__7CMemoryFPCv
lbl_800FE9DC:
/* 800FE9DC 000FB93C 34 1E 00 20 */ addic. r0, r30, 0x20
/* 800FE9E0 000FB940 41 82 00 54 */ beq lbl_800FEA34
/* 800FE9E4 000FB944 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 800FE9E8 000FB948 83 9E 00 2C */ lwz r28, 0x2c(r30)
/* 800FE9EC 000FB94C 54 00 20 36 */ slwi r0, r0, 4
/* 800FE9F0 000FB950 7F BC 02 14 */ add r29, r28, r0
/* 800FE9F4 000FB954 93 81 00 0C */ stw r28, 0xc(r1)
/* 800FE9F8 000FB958 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800FE9FC 000FB95C 93 A1 00 10 */ stw r29, 0x10(r1)
/* 800FEA00 000FB960 93 81 00 08 */ stw r28, 8(r1)
/* 800FEA04 000FB964 48 00 00 18 */ b lbl_800FEA1C
lbl_800FEA08:
/* 800FEA08 000FB968 28 1C 00 00 */ cmplwi r28, 0
/* 800FEA0C 000FB96C 41 82 00 0C */ beq lbl_800FEA18
/* 800FEA10 000FB970 7F 83 E3 78 */ mr r3, r28
/* 800FEA14 000FB974 48 23 F0 CD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_800FEA18:
/* 800FEA18 000FB978 3B 9C 00 10 */ addi r28, r28, 0x10
lbl_800FEA1C:
/* 800FEA1C 000FB97C 7C 1C E8 40 */ cmplw r28, r29
/* 800FEA20 000FB980 40 82 FF E8 */ bne lbl_800FEA08
/* 800FEA24 000FB984 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 800FEA28 000FB988 28 03 00 00 */ cmplwi r3, 0
/* 800FEA2C 000FB98C 41 82 00 08 */ beq lbl_800FEA34
/* 800FEA30 000FB990 48 21 6F 01 */ bl Free__7CMemoryFPCv
lbl_800FEA34:
/* 800FEA34 000FB994 38 7E 00 14 */ addi r3, r30, 0x14
/* 800FEA38 000FB998 38 80 FF FF */ li r4, -1
/* 800FEA3C 000FB99C 48 20 75 85 */ bl __dt__5CFontFv
/* 800FEA40 000FB9A0 7F C3 F3 78 */ mr r3, r30
/* 800FEA44 000FB9A4 38 80 00 00 */ li r4, 0
/* 800FEA48 000FB9A8 4B F5 41 5D */ bl __dt__6CIOWinFv
/* 800FEA4C 000FB9AC 7F E0 07 35 */ extsh. r0, r31
/* 800FEA50 000FB9B0 40 81 00 0C */ ble lbl_800FEA5C
/* 800FEA54 000FB9B4 7F C3 F3 78 */ mr r3, r30
/* 800FEA58 000FB9B8 48 21 6E D9 */ bl Free__7CMemoryFPCv
lbl_800FEA5C:
/* 800FEA5C 000FB9BC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800FEA60 000FB9C0 7F C3 F3 78 */ mr r3, r30
/* 800FEA64 000FB9C4 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 800FEA68 000FB9C8 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 800FEA6C 000FB9CC 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 800FEA70 000FB9D0 83 81 00 30 */ lwz r28, 0x30(r1)
/* 800FEA74 000FB9D4 7C 08 03 A6 */ mtlr r0
/* 800FEA78 000FB9D8 38 21 00 40 */ addi r1, r1, 0x40
/* 800FEA7C 000FB9DC 4E 80 00 20 */ blr
.global __ct__20CConsoleOutputWindowFiff
__ct__20CConsoleOutputWindowFiff:
/* 800FEA80 000FB9E0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 800FEA84 000FB9E4 7C 08 02 A6 */ mflr r0
/* 800FEA88 000FB9E8 90 01 00 74 */ stw r0, 0x74(r1)
/* 800FEA8C 000FB9EC DB E1 00 60 */ stfd f31, 0x60(r1)
/* 800FEA90 000FB9F0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 800FEA94 000FB9F4 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 800FEA98 000FB9F8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
/* 800FEA9C 000FB9FC 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 800FEAA0 000FBA00 93 C1 00 48 */ stw r30, 0x48(r1)
/* 800FEAA4 000FBA04 93 A1 00 44 */ stw r29, 0x44(r1)
/* 800FEAA8 000FBA08 93 81 00 40 */ stw r28, 0x40(r1)
/* 800FEAAC 000FBA0C 3C A0 80 3D */ lis r5, lbl_803CEE00@ha
/* 800FEAB0 000FBA10 FF C0 08 90 */ fmr f30, f1
/* 800FEAB4 000FBA14 FF E0 10 90 */ fmr f31, f2
/* 800FEAB8 000FBA18 38 05 EE 00 */ addi r0, r5, lbl_803CEE00@l
/* 800FEABC 000FBA1C 7C 7C 1B 78 */ mr r28, r3
/* 800FEAC0 000FBA20 7C 9D 23 78 */ mr r29, r4
/* 800FEAC4 000FBA24 7C 04 03 78 */ mr r4, r0
/* 800FEAC8 000FBA28 38 61 00 1C */ addi r3, r1, 0x1c
/* 800FEACC 000FBA2C 4B F0 61 ED */ bl string_l__4rstlFPCc
/* 800FEAD0 000FBA30 7F 83 E3 78 */ mr r3, r28
/* 800FEAD4 000FBA34 38 81 00 1C */ addi r4, r1, 0x1c
/* 800FEAD8 000FBA38 4B F5 41 35 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800FEADC 000FBA3C 38 61 00 1C */ addi r3, r1, 0x1c
/* 800FEAE0 000FBA40 48 23 F0 01 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 800FEAE4 000FBA44 3C 60 80 3E */ lis r3, lbl_803DFE50@ha
/* 800FEAE8 000FBA48 FC 20 F8 90 */ fmr f1, f31
/* 800FEAEC 000FBA4C 38 03 FE 50 */ addi r0, r3, lbl_803DFE50@l
/* 800FEAF0 000FBA50 38 7C 00 14 */ addi r3, r28, 0x14
/* 800FEAF4 000FBA54 90 1C 00 00 */ stw r0, 0(r28)
/* 800FEAF8 000FBA58 48 20 75 05 */ bl __ct__5CFontFf
/* 800FEAFC 000FBA5C D3 DC 00 1C */ stfs f30, 0x1c(r28)
/* 800FEB00 000FBA60 38 00 00 00 */ li r0, 0
/* 800FEB04 000FBA64 38 7C 00 14 */ addi r3, r28, 0x14
/* 800FEB08 000FBA68 38 80 00 30 */ li r4, 0x30
/* 800FEB0C 000FBA6C 90 1C 00 24 */ stw r0, 0x24(r28)
/* 800FEB10 000FBA70 90 1C 00 28 */ stw r0, 0x28(r28)
/* 800FEB14 000FBA74 90 1C 00 2C */ stw r0, 0x2c(r28)
/* 800FEB18 000FBA78 90 1C 00 34 */ stw r0, 0x34(r28)
/* 800FEB1C 000FBA7C 90 1C 00 38 */ stw r0, 0x38(r28)
/* 800FEB20 000FBA80 90 1C 00 3C */ stw r0, 0x3c(r28)
/* 800FEB24 000FBA84 48 20 74 79 */ bl CharWidth__5CFontCFc
/* 800FEB28 000FBA88 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 800FEB2C 000FBA8C 3C 60 43 30 */ lis r3, 0x4330
/* 800FEB30 000FBA90 90 01 00 34 */ stw r0, 0x34(r1)
/* 800FEB34 000FBA94 38 00 00 00 */ li r0, 0
/* 800FEB38 000FBA98 C8 42 93 B0 */ lfd f2, lbl_805AB0D0@sda21(r2)
/* 800FEB3C 000FBA9C 7F A4 EB 78 */ mr r4, r29
/* 800FEB40 000FBAA0 90 61 00 30 */ stw r3, 0x30(r1)
/* 800FEB44 000FBAA4 38 7C 00 20 */ addi r3, r28, 0x20
/* 800FEB48 000FBAA8 C0 02 93 A8 */ lfs f0, lbl_805AB0C8@sda21(r2)
/* 800FEB4C 000FBAAC C8 21 00 30 */ lfd f1, 0x30(r1)
/* 800FEB50 000FBAB0 EC 21 10 28 */ fsubs f1, f1, f2
/* 800FEB54 000FBAB4 EC 00 08 24 */ fdivs f0, f0, f1
/* 800FEB58 000FBAB8 FC 00 00 1E */ fctiwz f0, f0
/* 800FEB5C 000FBABC D8 01 00 38 */ stfd f0, 0x38(r1)
/* 800FEB60 000FBAC0 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 800FEB64 000FBAC4 90 BC 00 40 */ stw r5, 0x40(r28)
/* 800FEB68 000FBAC8 90 1C 00 44 */ stw r0, 0x44(r28)
/* 800FEB6C 000FBACC 90 1C 00 48 */ stw r0, 0x48(r28)
/* 800FEB70 000FBAD0 4B F5 B0 45 */ bl "reserve__Q24rstl110vector<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi"
/* 800FEB74 000FBAD4 7F A4 EB 78 */ mr r4, r29
/* 800FEB78 000FBAD8 38 7C 00 30 */ addi r3, r28, 0x30
/* 800FEB7C 000FBADC 4B F5 F2 7D */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
/* 800FEB80 000FBAE0 3C 60 80 3D */ lis r3, lbl_803CEE00@ha
/* 800FEB84 000FBAE4 3B C0 00 00 */ li r30, 0
/* 800FEB88 000FBAE8 3B E3 EE 00 */ addi r31, r3, lbl_803CEE00@l
/* 800FEB8C 000FBAEC 48 00 00 C8 */ b lbl_800FEC54
lbl_800FEB90:
/* 800FEB90 000FBAF0 80 BC 00 40 */ lwz r5, 0x40(r28)
/* 800FEB94 000FBAF4 38 61 00 0C */ addi r3, r1, 0xc
/* 800FEB98 000FBAF8 38 9F 00 14 */ addi r4, r31, 0x14
/* 800FEB9C 000FBAFC 38 C1 00 08 */ addi r6, r1, 8
/* 800FEBA0 000FBB00 38 A5 00 01 */ addi r5, r5, 1
/* 800FEBA4 000FBB04 48 23 F5 F1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 800FEBA8 000FBB08 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800FEBAC 000FBB0C 80 BC 00 28 */ lwz r5, 0x28(r28)
/* 800FEBB0 000FBB10 7C 00 28 00 */ cmpw r0, r5
/* 800FEBB4 000FBB14 41 80 00 1C */ blt lbl_800FEBD0
/* 800FEBB8 000FBB18 2C 05 00 00 */ cmpwi r5, 0
/* 800FEBBC 000FBB1C 38 7C 00 20 */ addi r3, r28, 0x20
/* 800FEBC0 000FBB20 38 80 00 04 */ li r4, 4
/* 800FEBC4 000FBB24 41 82 00 08 */ beq lbl_800FEBCC
/* 800FEBC8 000FBB28 54 A4 08 3C */ slwi r4, r5, 1
lbl_800FEBCC:
/* 800FEBCC 000FBB2C 4B F5 AF E9 */ bl "reserve__Q24rstl110vector<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi"
lbl_800FEBD0:
/* 800FEBD0 000FBB30 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800FEBD4 000FBB34 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800FEBD8 000FBB38 54 00 20 36 */ slwi r0, r0, 4
/* 800FEBDC 000FBB3C 7C 63 02 15 */ add. r3, r3, r0
/* 800FEBE0 000FBB40 41 82 00 0C */ beq lbl_800FEBEC
/* 800FEBE4 000FBB44 38 81 00 0C */ addi r4, r1, 0xc
/* 800FEBE8 000FBB48 48 23 F5 79 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_800FEBEC:
/* 800FEBEC 000FBB4C 80 9C 00 24 */ lwz r4, 0x24(r28)
/* 800FEBF0 000FBB50 38 61 00 0C */ addi r3, r1, 0xc
/* 800FEBF4 000FBB54 38 04 00 01 */ addi r0, r4, 1
/* 800FEBF8 000FBB58 90 1C 00 24 */ stw r0, 0x24(r28)
/* 800FEBFC 000FBB5C 48 23 EE E5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 800FEC00 000FBB60 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800FEC04 000FBB64 80 BC 00 38 */ lwz r5, 0x38(r28)
/* 800FEC08 000FBB68 7C 00 28 00 */ cmpw r0, r5
/* 800FEC0C 000FBB6C 41 80 00 1C */ blt lbl_800FEC28
/* 800FEC10 000FBB70 2C 05 00 00 */ cmpwi r5, 0
/* 800FEC14 000FBB74 38 7C 00 30 */ addi r3, r28, 0x30
/* 800FEC18 000FBB78 38 80 00 04 */ li r4, 4
/* 800FEC1C 000FBB7C 41 82 00 08 */ beq lbl_800FEC24
/* 800FEC20 000FBB80 54 A4 08 3C */ slwi r4, r5, 1
lbl_800FEC24:
/* 800FEC24 000FBB84 4B F5 F1 D5 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
lbl_800FEC28:
/* 800FEC28 000FBB88 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800FEC2C 000FBB8C 80 7C 00 3C */ lwz r3, 0x3c(r28)
/* 800FEC30 000FBB90 54 00 10 3A */ slwi r0, r0, 2
/* 800FEC34 000FBB94 7C 63 02 15 */ add. r3, r3, r0
/* 800FEC38 000FBB98 41 82 00 0C */ beq lbl_800FEC44
/* 800FEC3C 000FBB9C C0 0D 89 80 */ lfs f0, lbl_805A7540@sda21(r13)
/* 800FEC40 000FBBA0 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800FEC44:
/* 800FEC44 000FBBA4 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 800FEC48 000FBBA8 3B DE 00 01 */ addi r30, r30, 1
/* 800FEC4C 000FBBAC 38 03 00 01 */ addi r0, r3, 1
/* 800FEC50 000FBBB0 90 1C 00 34 */ stw r0, 0x34(r28)
lbl_800FEC54:
/* 800FEC54 000FBBB4 7C 1E E8 00 */ cmpw r30, r29
/* 800FEC58 000FBBB8 41 80 FF 38 */ blt lbl_800FEB90
/* 800FEC5C 000FBBBC 93 8D A3 40 */ stw r28, lbl_805A8F00@sda21(r13)
/* 800FEC60 000FBBC0 7F 83 E3 78 */ mr r3, r28
/* 800FEC64 000FBBC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 800FEC68 000FBBC8 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 800FEC6C 000FBBCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
/* 800FEC70 000FBBD0 CB C1 00 50 */ lfd f30, 0x50(r1)
/* 800FEC74 000FBBD4 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 800FEC78 000FBBD8 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 800FEC7C 000FBBDC 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 800FEC80 000FBBE0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800FEC84 000FBBE4 83 81 00 40 */ lwz r28, 0x40(r1)
/* 800FEC88 000FBBE8 7C 08 03 A6 */ mtlr r0
/* 800FEC8C 000FBBEC 38 21 00 70 */ addi r1, r1, 0x70
/* 800FEC90 000FBBF0 4E 80 00 20 */ blr

View File

@ -0,0 +1,861 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode
GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode:
/* 80102490 000FF3F0 88 84 00 04 */ lbz r4, 4(r4)
/* 80102494 000FF3F4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 80102498 000FF3F8 41 82 00 0C */ beq lbl_801024A4
/* 8010249C 000FF3FC 80 63 00 60 */ lwz r3, 0x60(r3)
/* 801024A0 000FF400 4E 80 00 20 */ blr
lbl_801024A4:
/* 801024A4 000FF404 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f
/* 801024A8 000FF408 41 82 00 0C */ beq lbl_801024B4
/* 801024AC 000FF40C 80 63 00 64 */ lwz r3, 0x64(r3)
/* 801024B0 000FF410 4E 80 00 20 */ blr
lbl_801024B4:
/* 801024B4 000FF414 80 63 00 5C */ lwz r3, 0x5c(r3)
/* 801024B8 000FF418 4E 80 00 20 */ blr
.global GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode
GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode:
/* 801024BC 000FF41C 80 E4 00 00 */ lwz r7, 0(r4)
/* 801024C0 000FF420 2C 07 00 00 */ cmpwi r7, 0
/* 801024C4 000FF424 41 80 00 0C */ blt lbl_801024D0
/* 801024C8 000FF428 2C 07 00 0E */ cmpwi r7, 0xe
/* 801024CC 000FF42C 40 81 00 0C */ ble lbl_801024D8
lbl_801024D0:
/* 801024D0 000FF430 38 60 00 02 */ li r3, 2
/* 801024D4 000FF434 4E 80 00 20 */ blr
lbl_801024D8:
/* 801024D8 000FF438 88 C4 00 04 */ lbz r6, 4(r4)
/* 801024DC 000FF43C 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f
/* 801024E0 000FF440 41 82 00 0C */ beq lbl_801024EC
/* 801024E4 000FF444 38 60 00 01 */ li r3, 1
/* 801024E8 000FF448 4E 80 00 20 */ blr
lbl_801024EC:
/* 801024EC 000FF44C 54 C0 CF FF */ rlwinm. r0, r6, 0x19, 0x1f, 0x1f
/* 801024F0 000FF450 54 E6 10 3A */ slwi r6, r7, 2
/* 801024F4 000FF454 7D 03 30 2E */ lwzx r8, r3, r6
/* 801024F8 000FF458 41 82 00 1C */ beq lbl_80102514
/* 801024FC 000FF45C 2C 07 00 04 */ cmpwi r7, 4
/* 80102500 000FF460 40 80 00 10 */ bge lbl_80102510
/* 80102504 000FF464 7C C3 32 14 */ add r6, r3, r6
/* 80102508 000FF468 81 06 00 3C */ lwz r8, 0x3c(r6)
/* 8010250C 000FF46C 48 00 00 08 */ b lbl_80102514
lbl_80102510:
/* 80102510 000FF470 39 00 00 01 */ li r8, 1
lbl_80102514:
/* 80102514 000FF474 88 04 00 04 */ lbz r0, 4(r4)
/* 80102518 000FF478 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8010251C 000FF47C 41 82 00 20 */ beq lbl_8010253C
/* 80102520 000FF480 2C 07 00 04 */ cmpwi r7, 4
/* 80102524 000FF484 40 80 00 14 */ bge lbl_80102538
/* 80102528 000FF488 54 E0 10 3A */ slwi r0, r7, 2
/* 8010252C 000FF48C 7C 63 02 14 */ add r3, r3, r0
/* 80102530 000FF490 81 03 00 4C */ lwz r8, 0x4c(r3)
/* 80102534 000FF494 48 00 00 08 */ b lbl_8010253C
lbl_80102538:
/* 80102538 000FF498 39 00 00 01 */ li r8, 1
lbl_8010253C:
/* 8010253C 000FF49C 2C 05 00 01 */ cmpwi r5, 1
/* 80102540 000FF4A0 40 82 00 0C */ bne lbl_8010254C
/* 80102544 000FF4A4 7D 03 43 78 */ mr r3, r8
/* 80102548 000FF4A8 4E 80 00 20 */ blr
lbl_8010254C:
/* 8010254C 000FF4AC 2C 08 00 05 */ cmpwi r8, 5
/* 80102550 000FF4B0 40 82 00 0C */ bne lbl_8010255C
/* 80102554 000FF4B4 38 60 00 00 */ li r3, 0
/* 80102558 000FF4B8 4E 80 00 20 */ blr
lbl_8010255C:
/* 8010255C 000FF4BC 2C 08 00 06 */ cmpwi r8, 6
/* 80102560 000FF4C0 40 82 00 0C */ bne lbl_8010256C
/* 80102564 000FF4C4 38 60 00 01 */ li r3, 1
/* 80102568 000FF4C8 4E 80 00 20 */ blr
lbl_8010256C:
/* 8010256C 000FF4CC 2C 08 00 07 */ cmpwi r8, 7
/* 80102570 000FF4D0 40 82 00 0C */ bne lbl_8010257C
/* 80102574 000FF4D4 38 60 00 03 */ li r3, 3
/* 80102578 000FF4D8 4E 80 00 20 */ blr
lbl_8010257C:
/* 8010257C 000FF4DC 7D 03 43 78 */ mr r3, r8
/* 80102580 000FF4E0 4E 80 00 20 */ blr
.global WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei
WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei:
/* 80102584 000FF4E4 81 24 00 00 */ lwz r9, 0(r4)
/* 80102588 000FF4E8 2C 09 00 00 */ cmpwi r9, 0
/* 8010258C 000FF4EC 41 80 00 0C */ blt lbl_80102598
/* 80102590 000FF4F0 2C 09 00 0E */ cmpwi r9, 0xe
/* 80102594 000FF4F4 40 81 00 0C */ ble lbl_801025A0
lbl_80102598:
/* 80102598 000FF4F8 38 60 00 00 */ li r3, 0
/* 8010259C 000FF4FC 4E 80 00 20 */ blr
lbl_801025A0:
/* 801025A0 000FF500 88 04 00 04 */ lbz r0, 4(r4)
/* 801025A4 000FF504 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 801025A8 000FF508 41 82 00 0C */ beq lbl_801025B4
/* 801025AC 000FF50C 38 60 00 01 */ li r3, 1
/* 801025B0 000FF510 4E 80 00 20 */ blr
lbl_801025B4:
/* 801025B4 000FF514 55 2A 10 3A */ slwi r10, r9, 2
/* 801025B8 000FF518 2C 05 00 00 */ cmpwi r5, 0
/* 801025BC 000FF51C 7C E3 50 2E */ lwzx r7, r3, r10
/* 801025C0 000FF520 40 82 00 18 */ bne lbl_801025D8
/* 801025C4 000FF524 20 C7 00 02 */ subfic r6, r7, 2
/* 801025C8 000FF528 38 07 FF FE */ addi r0, r7, -2
/* 801025CC 000FF52C 7C C0 03 78 */ or r0, r6, r0
/* 801025D0 000FF530 54 07 0F FE */ srwi r7, r0, 0x1f
/* 801025D4 000FF534 48 00 00 2C */ b lbl_80102600
lbl_801025D8:
/* 801025D8 000FF538 2C 07 00 02 */ cmpwi r7, 2
/* 801025DC 000FF53C 41 82 00 18 */ beq lbl_801025F4
/* 801025E0 000FF540 38 07 FF FB */ addi r0, r7, -5
/* 801025E4 000FF544 28 00 00 01 */ cmplwi r0, 1
/* 801025E8 000FF548 40 81 00 0C */ ble lbl_801025F4
/* 801025EC 000FF54C 2C 07 00 07 */ cmpwi r7, 7
/* 801025F0 000FF550 40 82 00 0C */ bne lbl_801025FC
lbl_801025F4:
/* 801025F4 000FF554 38 E0 00 00 */ li r7, 0
/* 801025F8 000FF558 48 00 00 08 */ b lbl_80102600
lbl_801025FC:
/* 801025FC 000FF55C 38 E0 00 01 */ li r7, 1
lbl_80102600:
/* 80102600 000FF560 2C 09 00 04 */ cmpwi r9, 4
/* 80102604 000FF564 40 80 00 54 */ bge lbl_80102658
/* 80102608 000FF568 7C C3 52 14 */ add r6, r3, r10
/* 8010260C 000FF56C 2C 05 00 00 */ cmpwi r5, 0
/* 80102610 000FF570 81 06 00 3C */ lwz r8, 0x3c(r6)
/* 80102614 000FF574 40 82 00 18 */ bne lbl_8010262C
/* 80102618 000FF578 20 C8 00 02 */ subfic r6, r8, 2
/* 8010261C 000FF57C 38 08 FF FE */ addi r0, r8, -2
/* 80102620 000FF580 7C C0 03 78 */ or r0, r6, r0
/* 80102624 000FF584 54 06 0F FE */ srwi r6, r0, 0x1f
/* 80102628 000FF588 48 00 00 34 */ b lbl_8010265C
lbl_8010262C:
/* 8010262C 000FF58C 2C 08 00 02 */ cmpwi r8, 2
/* 80102630 000FF590 41 82 00 18 */ beq lbl_80102648
/* 80102634 000FF594 38 08 FF FB */ addi r0, r8, -5
/* 80102638 000FF598 28 00 00 01 */ cmplwi r0, 1
/* 8010263C 000FF59C 40 81 00 0C */ ble lbl_80102648
/* 80102640 000FF5A0 2C 08 00 07 */ cmpwi r8, 7
/* 80102644 000FF5A4 40 82 00 0C */ bne lbl_80102650
lbl_80102648:
/* 80102648 000FF5A8 38 C0 00 00 */ li r6, 0
/* 8010264C 000FF5AC 48 00 00 10 */ b lbl_8010265C
lbl_80102650:
/* 80102650 000FF5B0 38 C0 00 01 */ li r6, 1
/* 80102654 000FF5B4 48 00 00 08 */ b lbl_8010265C
lbl_80102658:
/* 80102658 000FF5B8 38 C0 00 01 */ li r6, 1
lbl_8010265C:
/* 8010265C 000FF5BC 2C 09 00 04 */ cmpwi r9, 4
/* 80102660 000FF5C0 40 80 00 54 */ bge lbl_801026B4
/* 80102664 000FF5C4 7C 63 52 14 */ add r3, r3, r10
/* 80102668 000FF5C8 2C 05 00 00 */ cmpwi r5, 0
/* 8010266C 000FF5CC 80 A3 00 4C */ lwz r5, 0x4c(r3)
/* 80102670 000FF5D0 40 82 00 18 */ bne lbl_80102688
/* 80102674 000FF5D4 20 65 00 02 */ subfic r3, r5, 2
/* 80102678 000FF5D8 38 05 FF FE */ addi r0, r5, -2
/* 8010267C 000FF5DC 7C 60 03 78 */ or r0, r3, r0
/* 80102680 000FF5E0 54 08 0F FE */ srwi r8, r0, 0x1f
/* 80102684 000FF5E4 48 00 00 34 */ b lbl_801026B8
lbl_80102688:
/* 80102688 000FF5E8 2C 05 00 02 */ cmpwi r5, 2
/* 8010268C 000FF5EC 41 82 00 18 */ beq lbl_801026A4
/* 80102690 000FF5F0 38 05 FF FB */ addi r0, r5, -5
/* 80102694 000FF5F4 28 00 00 01 */ cmplwi r0, 1
/* 80102698 000FF5F8 40 81 00 0C */ ble lbl_801026A4
/* 8010269C 000FF5FC 2C 05 00 07 */ cmpwi r5, 7
/* 801026A0 000FF600 40 82 00 0C */ bne lbl_801026AC
lbl_801026A4:
/* 801026A4 000FF604 39 00 00 00 */ li r8, 0
/* 801026A8 000FF608 48 00 00 10 */ b lbl_801026B8
lbl_801026AC:
/* 801026AC 000FF60C 39 00 00 01 */ li r8, 1
/* 801026B0 000FF610 48 00 00 08 */ b lbl_801026B8
lbl_801026B4:
/* 801026B4 000FF614 39 00 00 01 */ li r8, 1
lbl_801026B8:
/* 801026B8 000FF618 54 E0 06 3F */ clrlwi. r0, r7, 0x18
/* 801026BC 000FF61C 38 60 00 00 */ li r3, 0
/* 801026C0 000FF620 41 82 00 18 */ beq lbl_801026D8
/* 801026C4 000FF624 88 A4 00 04 */ lbz r5, 4(r4)
/* 801026C8 000FF628 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f
/* 801026CC 000FF62C 40 82 00 0C */ bne lbl_801026D8
/* 801026D0 000FF630 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f
/* 801026D4 000FF634 41 82 00 2C */ beq lbl_80102700
lbl_801026D8:
/* 801026D8 000FF638 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 801026DC 000FF63C 41 82 00 10 */ beq lbl_801026EC
/* 801026E0 000FF640 88 04 00 04 */ lbz r0, 4(r4)
/* 801026E4 000FF644 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801026E8 000FF648 40 82 00 18 */ bne lbl_80102700
lbl_801026EC:
/* 801026EC 000FF64C 55 00 06 3F */ clrlwi. r0, r8, 0x18
/* 801026F0 000FF650 4D 82 00 20 */ beqlr
/* 801026F4 000FF654 88 04 00 04 */ lbz r0, 4(r4)
/* 801026F8 000FF658 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 801026FC 000FF65C 4D 82 00 20 */ beqlr
lbl_80102700:
/* 80102700 000FF660 38 60 00 01 */ li r3, 1
/* 80102704 000FF664 4E 80 00 20 */ blr
.global WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode
WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode:
/* 80102708 000FF668 80 E4 00 00 */ lwz r7, 0(r4)
/* 8010270C 000FF66C 2C 07 00 00 */ cmpwi r7, 0
/* 80102710 000FF670 41 80 00 0C */ blt lbl_8010271C
/* 80102714 000FF674 2C 07 00 0E */ cmpwi r7, 0xe
/* 80102718 000FF678 40 81 00 0C */ ble lbl_80102724
lbl_8010271C:
/* 8010271C 000FF67C 38 60 00 00 */ li r3, 0
/* 80102720 000FF680 4E 80 00 20 */ blr
lbl_80102724:
/* 80102724 000FF684 88 04 00 04 */ lbz r0, 4(r4)
/* 80102728 000FF688 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8010272C 000FF68C 41 82 00 0C */ beq lbl_80102738
/* 80102730 000FF690 38 60 00 01 */ li r3, 1
/* 80102734 000FF694 4E 80 00 20 */ blr
lbl_80102738:
/* 80102738 000FF698 54 E8 10 3A */ slwi r8, r7, 2
/* 8010273C 000FF69C 2C 05 00 00 */ cmpwi r5, 0
/* 80102740 000FF6A0 7D 43 40 2E */ lwzx r10, r3, r8
/* 80102744 000FF6A4 40 82 00 58 */ bne lbl_8010279C
/* 80102748 000FF6A8 38 00 00 01 */ li r0, 1
/* 8010274C 000FF6AC 20 CA 00 01 */ subfic r6, r10, 1
/* 80102750 000FF6B0 7C 09 53 38 */ orc r9, r0, r10
/* 80102754 000FF6B4 54 C6 F8 7E */ srwi r6, r6, 1
/* 80102758 000FF6B8 7C 0B 03 78 */ mr r11, r0
/* 8010275C 000FF6BC 7C C6 48 50 */ subf r6, r6, r9
/* 80102760 000FF6C0 7C 09 03 78 */ mr r9, r0
/* 80102764 000FF6C4 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f
/* 80102768 000FF6C8 40 82 00 08 */ bne lbl_80102770
/* 8010276C 000FF6CC 39 20 00 00 */ li r9, 0
lbl_80102770:
/* 80102770 000FF6D0 55 26 06 3F */ clrlwi. r6, r9, 0x18
/* 80102774 000FF6D4 40 82 00 10 */ bne lbl_80102784
/* 80102778 000FF6D8 2C 0A 00 05 */ cmpwi r10, 5
/* 8010277C 000FF6DC 41 82 00 08 */ beq lbl_80102784
/* 80102780 000FF6E0 39 60 00 00 */ li r11, 0
lbl_80102784:
/* 80102784 000FF6E4 55 66 06 3F */ clrlwi. r6, r11, 0x18
/* 80102788 000FF6E8 40 82 00 34 */ bne lbl_801027BC
/* 8010278C 000FF6EC 2C 0A 00 06 */ cmpwi r10, 6
/* 80102790 000FF6F0 41 82 00 2C */ beq lbl_801027BC
/* 80102794 000FF6F4 38 00 00 00 */ li r0, 0
/* 80102798 000FF6F8 48 00 00 24 */ b lbl_801027BC
lbl_8010279C:
/* 8010279C 000FF6FC 20 CA 00 01 */ subfic r6, r10, 1
/* 801027A0 000FF700 38 00 00 01 */ li r0, 1
/* 801027A4 000FF704 7C 09 53 38 */ orc r9, r0, r10
/* 801027A8 000FF708 54 C6 F8 7E */ srwi r6, r6, 1
/* 801027AC 000FF70C 7C C6 48 50 */ subf r6, r6, r9
/* 801027B0 000FF710 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f
/* 801027B4 000FF714 40 82 00 08 */ bne lbl_801027BC
/* 801027B8 000FF718 38 00 00 00 */ li r0, 0
lbl_801027BC:
/* 801027BC 000FF71C 2C 07 00 04 */ cmpwi r7, 4
/* 801027C0 000FF720 40 80 00 8C */ bge lbl_8010284C
/* 801027C4 000FF724 7C C3 42 14 */ add r6, r3, r8
/* 801027C8 000FF728 2C 05 00 00 */ cmpwi r5, 0
/* 801027CC 000FF72C 81 66 00 3C */ lwz r11, 0x3c(r6)
/* 801027D0 000FF730 40 82 00 58 */ bne lbl_80102828
/* 801027D4 000FF734 38 C0 00 01 */ li r6, 1
/* 801027D8 000FF738 21 2B 00 01 */ subfic r9, r11, 1
/* 801027DC 000FF73C 7C CA 5B 38 */ orc r10, r6, r11
/* 801027E0 000FF740 55 29 F8 7E */ srwi r9, r9, 1
/* 801027E4 000FF744 7C CC 33 78 */ mr r12, r6
/* 801027E8 000FF748 7D 29 50 50 */ subf r9, r9, r10
/* 801027EC 000FF74C 7C CA 33 78 */ mr r10, r6
/* 801027F0 000FF750 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f
/* 801027F4 000FF754 40 82 00 08 */ bne lbl_801027FC
/* 801027F8 000FF758 39 40 00 00 */ li r10, 0
lbl_801027FC:
/* 801027FC 000FF75C 55 49 06 3F */ clrlwi. r9, r10, 0x18
/* 80102800 000FF760 40 82 00 10 */ bne lbl_80102810
/* 80102804 000FF764 2C 0B 00 05 */ cmpwi r11, 5
/* 80102808 000FF768 41 82 00 08 */ beq lbl_80102810
/* 8010280C 000FF76C 39 80 00 00 */ li r12, 0
lbl_80102810:
/* 80102810 000FF770 55 89 06 3F */ clrlwi. r9, r12, 0x18
/* 80102814 000FF774 40 82 00 3C */ bne lbl_80102850
/* 80102818 000FF778 2C 0B 00 06 */ cmpwi r11, 6
/* 8010281C 000FF77C 41 82 00 34 */ beq lbl_80102850
/* 80102820 000FF780 38 C0 00 00 */ li r6, 0
/* 80102824 000FF784 48 00 00 2C */ b lbl_80102850
lbl_80102828:
/* 80102828 000FF788 21 2B 00 01 */ subfic r9, r11, 1
/* 8010282C 000FF78C 38 C0 00 01 */ li r6, 1
/* 80102830 000FF790 7C CA 5B 38 */ orc r10, r6, r11
/* 80102834 000FF794 55 29 F8 7E */ srwi r9, r9, 1
/* 80102838 000FF798 7D 29 50 50 */ subf r9, r9, r10
/* 8010283C 000FF79C 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f
/* 80102840 000FF7A0 40 82 00 10 */ bne lbl_80102850
/* 80102844 000FF7A4 38 C0 00 00 */ li r6, 0
/* 80102848 000FF7A8 48 00 00 08 */ b lbl_80102850
lbl_8010284C:
/* 8010284C 000FF7AC 38 C0 00 01 */ li r6, 1
lbl_80102850:
/* 80102850 000FF7B0 2C 07 00 04 */ cmpwi r7, 4
/* 80102854 000FF7B4 40 80 00 8C */ bge lbl_801028E0
/* 80102858 000FF7B8 7C 63 42 14 */ add r3, r3, r8
/* 8010285C 000FF7BC 2C 05 00 00 */ cmpwi r5, 0
/* 80102860 000FF7C0 81 03 00 4C */ lwz r8, 0x4c(r3)
/* 80102864 000FF7C4 40 82 00 58 */ bne lbl_801028BC
/* 80102868 000FF7C8 38 A0 00 01 */ li r5, 1
/* 8010286C 000FF7CC 20 68 00 01 */ subfic r3, r8, 1
/* 80102870 000FF7D0 7C A7 43 38 */ orc r7, r5, r8
/* 80102874 000FF7D4 54 63 F8 7E */ srwi r3, r3, 1
/* 80102878 000FF7D8 7C A9 2B 78 */ mr r9, r5
/* 8010287C 000FF7DC 7C 63 38 50 */ subf r3, r3, r7
/* 80102880 000FF7E0 7C A7 2B 78 */ mr r7, r5
/* 80102884 000FF7E4 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f
/* 80102888 000FF7E8 40 82 00 08 */ bne lbl_80102890
/* 8010288C 000FF7EC 38 E0 00 00 */ li r7, 0
lbl_80102890:
/* 80102890 000FF7F0 54 E3 06 3F */ clrlwi. r3, r7, 0x18
/* 80102894 000FF7F4 40 82 00 10 */ bne lbl_801028A4
/* 80102898 000FF7F8 2C 08 00 05 */ cmpwi r8, 5
/* 8010289C 000FF7FC 41 82 00 08 */ beq lbl_801028A4
/* 801028A0 000FF800 39 20 00 00 */ li r9, 0
lbl_801028A4:
/* 801028A4 000FF804 55 23 06 3F */ clrlwi. r3, r9, 0x18
/* 801028A8 000FF808 40 82 00 3C */ bne lbl_801028E4
/* 801028AC 000FF80C 2C 08 00 06 */ cmpwi r8, 6
/* 801028B0 000FF810 41 82 00 34 */ beq lbl_801028E4
/* 801028B4 000FF814 38 A0 00 00 */ li r5, 0
/* 801028B8 000FF818 48 00 00 2C */ b lbl_801028E4
lbl_801028BC:
/* 801028BC 000FF81C 20 68 00 01 */ subfic r3, r8, 1
/* 801028C0 000FF820 38 A0 00 01 */ li r5, 1
/* 801028C4 000FF824 7C A7 43 38 */ orc r7, r5, r8
/* 801028C8 000FF828 54 63 F8 7E */ srwi r3, r3, 1
/* 801028CC 000FF82C 7C 63 38 50 */ subf r3, r3, r7
/* 801028D0 000FF830 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f
/* 801028D4 000FF834 40 82 00 10 */ bne lbl_801028E4
/* 801028D8 000FF838 38 A0 00 00 */ li r5, 0
/* 801028DC 000FF83C 48 00 00 08 */ b lbl_801028E4
lbl_801028E0:
/* 801028E0 000FF840 38 A0 00 01 */ li r5, 1
lbl_801028E4:
/* 801028E4 000FF844 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 801028E8 000FF848 38 60 00 00 */ li r3, 0
/* 801028EC 000FF84C 41 82 00 18 */ beq lbl_80102904
/* 801028F0 000FF850 88 E4 00 04 */ lbz r7, 4(r4)
/* 801028F4 000FF854 54 E0 CF FF */ rlwinm. r0, r7, 0x19, 0x1f, 0x1f
/* 801028F8 000FF858 40 82 00 0C */ bne lbl_80102904
/* 801028FC 000FF85C 54 E0 D7 FF */ rlwinm. r0, r7, 0x1a, 0x1f, 0x1f
/* 80102900 000FF860 41 82 00 2C */ beq lbl_8010292C
lbl_80102904:
/* 80102904 000FF864 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80102908 000FF868 41 82 00 10 */ beq lbl_80102918
/* 8010290C 000FF86C 88 04 00 04 */ lbz r0, 4(r4)
/* 80102910 000FF870 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80102914 000FF874 40 82 00 18 */ bne lbl_8010292C
lbl_80102918:
/* 80102918 000FF878 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 8010291C 000FF87C 4D 82 00 20 */ beqlr
/* 80102920 000FF880 88 04 00 04 */ lbz r0, 4(r4)
/* 80102924 000FF884 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80102928 000FF888 4D 82 00 20 */ beqlr
lbl_8010292C:
/* 8010292C 000FF88C 38 60 00 01 */ li r3, 1
/* 80102930 000FF890 4E 80 00 20 */ blr
.global __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType
__ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType:
/* 80102934 000FF894 90 83 00 00 */ stw r4, 0(r3)
/* 80102938 000FF898 80 01 00 08 */ lwz r0, 8(r1)
/* 8010293C 000FF89C 90 A3 00 04 */ stw r5, 4(r3)
/* 80102940 000FF8A0 80 81 00 0C */ lwz r4, 0xc(r1)
/* 80102944 000FF8A4 90 C3 00 08 */ stw r6, 8(r3)
/* 80102948 000FF8A8 81 81 00 10 */ lwz r12, 0x10(r1)
/* 8010294C 000FF8AC 90 E3 00 0C */ stw r7, 0xc(r3)
/* 80102950 000FF8B0 81 61 00 14 */ lwz r11, 0x14(r1)
/* 80102954 000FF8B4 91 03 00 10 */ stw r8, 0x10(r3)
/* 80102958 000FF8B8 80 E1 00 18 */ lwz r7, 0x18(r1)
/* 8010295C 000FF8BC 91 23 00 14 */ stw r9, 0x14(r3)
/* 80102960 000FF8C0 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 80102964 000FF8C4 91 43 00 18 */ stw r10, 0x18(r3)
/* 80102968 000FF8C8 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 8010296C 000FF8CC 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80102970 000FF8D0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80102974 000FF8D4 90 83 00 20 */ stw r4, 0x20(r3)
/* 80102978 000FF8D8 80 81 00 28 */ lwz r4, 0x28(r1)
/* 8010297C 000FF8DC 91 83 00 24 */ stw r12, 0x24(r3)
/* 80102980 000FF8E0 91 63 00 28 */ stw r11, 0x28(r3)
/* 80102984 000FF8E4 90 E3 00 2C */ stw r7, 0x2c(r3)
/* 80102988 000FF8E8 90 C3 00 30 */ stw r6, 0x30(r3)
/* 8010298C 000FF8EC 90 A3 00 34 */ stw r5, 0x34(r3)
/* 80102990 000FF8F0 90 03 00 38 */ stw r0, 0x38(r3)
/* 80102994 000FF8F4 80 03 00 00 */ lwz r0, 0(r3)
/* 80102998 000FF8F8 90 03 00 3C */ stw r0, 0x3c(r3)
/* 8010299C 000FF8FC 80 03 00 00 */ lwz r0, 0(r3)
/* 801029A0 000FF900 90 03 00 4C */ stw r0, 0x4c(r3)
/* 801029A4 000FF904 80 03 00 04 */ lwz r0, 4(r3)
/* 801029A8 000FF908 90 03 00 40 */ stw r0, 0x40(r3)
/* 801029AC 000FF90C 80 03 00 04 */ lwz r0, 4(r3)
/* 801029B0 000FF910 90 03 00 50 */ stw r0, 0x50(r3)
/* 801029B4 000FF914 80 03 00 08 */ lwz r0, 8(r3)
/* 801029B8 000FF918 90 03 00 44 */ stw r0, 0x44(r3)
/* 801029BC 000FF91C 80 03 00 08 */ lwz r0, 8(r3)
/* 801029C0 000FF920 90 03 00 54 */ stw r0, 0x54(r3)
/* 801029C4 000FF924 80 03 00 0C */ lwz r0, 0xc(r3)
/* 801029C8 000FF928 90 03 00 48 */ stw r0, 0x48(r3)
/* 801029CC 000FF92C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 801029D0 000FF930 90 03 00 58 */ stw r0, 0x58(r3)
/* 801029D4 000FF934 90 83 00 5C */ stw r4, 0x5c(r3)
/* 801029D8 000FF938 4E 80 00 20 */ blr
.global LoadData__20CDamageVulnerabilityFR12CInputStreami
LoadData__20CDamageVulnerabilityFR12CInputStreami:
/* 801029DC 000FF93C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801029E0 000FF940 7C 08 02 A6 */ mflr r0
/* 801029E4 000FF944 38 A5 FF FD */ addi r5, r5, -3
/* 801029E8 000FF948 90 01 00 34 */ stw r0, 0x34(r1)
/* 801029EC 000FF94C 38 00 00 0F */ li r0, 0xf
/* 801029F0 000FF950 2C 05 00 0F */ cmpwi r5, 0xf
/* 801029F4 000FF954 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 801029F8 000FF958 7C 7E 1B 78 */ mr r30, r3
/* 801029FC 000FF95C 7C 9F 23 78 */ mr r31, r4
/* 80102A00 000FF960 38 61 00 0C */ addi r3, r1, 0xc
/* 80102A04 000FF964 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80102A08 000FF968 90 01 00 08 */ stw r0, 8(r1)
/* 80102A0C 000FF96C 40 81 00 08 */ ble lbl_80102A14
/* 80102A10 000FF970 38 61 00 08 */ addi r3, r1, 8
lbl_80102A14:
/* 80102A14 000FF974 83 83 00 00 */ lwz r28, 0(r3)
/* 80102A18 000FF978 7F DD F3 78 */ mr r29, r30
/* 80102A1C 000FF97C 3B 60 00 00 */ li r27, 0
/* 80102A20 000FF980 48 00 00 18 */ b lbl_80102A38
lbl_80102A24:
/* 80102A24 000FF984 7F E3 FB 78 */ mr r3, r31
/* 80102A28 000FF988 48 23 C2 5D */ bl ReadLong__12CInputStreamFv
/* 80102A2C 000FF98C 90 7D 00 00 */ stw r3, 0(r29)
/* 80102A30 000FF990 3B BD 00 04 */ addi r29, r29, 4
/* 80102A34 000FF994 3B 7B 00 01 */ addi r27, r27, 1
lbl_80102A38:
/* 80102A38 000FF998 7C 1B E0 00 */ cmpw r27, r28
/* 80102A3C 000FF99C 41 80 FF E8 */ blt lbl_80102A24
/* 80102A40 000FF9A0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80102A44 000FF9A4 38 80 00 02 */ li r4, 2
/* 80102A48 000FF9A8 2C 03 00 0F */ cmpwi r3, 0xf
/* 80102A4C 000FF9AC 54 60 10 3A */ slwi r0, r3, 2
/* 80102A50 000FF9B0 7C BE 02 14 */ add r5, r30, r0
/* 80102A54 000FF9B4 20 63 00 0F */ subfic r3, r3, 0xf
/* 80102A58 000FF9B8 40 80 00 50 */ bge lbl_80102AA8
/* 80102A5C 000FF9BC 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f
/* 80102A60 000FF9C0 7C 09 03 A6 */ mtctr r0
/* 80102A64 000FF9C4 41 82 00 34 */ beq lbl_80102A98
lbl_80102A68:
/* 80102A68 000FF9C8 90 85 00 00 */ stw r4, 0(r5)
/* 80102A6C 000FF9CC 90 85 00 04 */ stw r4, 4(r5)
/* 80102A70 000FF9D0 90 85 00 08 */ stw r4, 8(r5)
/* 80102A74 000FF9D4 90 85 00 0C */ stw r4, 0xc(r5)
/* 80102A78 000FF9D8 90 85 00 10 */ stw r4, 0x10(r5)
/* 80102A7C 000FF9DC 90 85 00 14 */ stw r4, 0x14(r5)
/* 80102A80 000FF9E0 90 85 00 18 */ stw r4, 0x18(r5)
/* 80102A84 000FF9E4 90 85 00 1C */ stw r4, 0x1c(r5)
/* 80102A88 000FF9E8 38 A5 00 20 */ addi r5, r5, 0x20
/* 80102A8C 000FF9EC 42 00 FF DC */ bdnz lbl_80102A68
/* 80102A90 000FF9F0 70 63 00 07 */ andi. r3, r3, 7
/* 80102A94 000FF9F4 41 82 00 14 */ beq lbl_80102AA8
lbl_80102A98:
/* 80102A98 000FF9F8 7C 69 03 A6 */ mtctr r3
lbl_80102A9C:
/* 80102A9C 000FF9FC 90 85 00 00 */ stw r4, 0(r5)
/* 80102AA0 000FFA00 38 A5 00 04 */ addi r5, r5, 4
/* 80102AA4 000FFA04 42 00 FF F8 */ bdnz lbl_80102A9C
lbl_80102AA8:
/* 80102AA8 000FFA08 3B 60 00 0F */ li r27, 0xf
/* 80102AAC 000FFA0C 48 00 00 10 */ b lbl_80102ABC
lbl_80102AB0:
/* 80102AB0 000FFA10 7F E3 FB 78 */ mr r3, r31
/* 80102AB4 000FFA14 48 23 C1 D1 */ bl ReadLong__12CInputStreamFv
/* 80102AB8 000FFA18 3B 7B 00 01 */ addi r27, r27, 1
lbl_80102ABC:
/* 80102ABC 000FFA1C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80102AC0 000FFA20 7C 1B 00 00 */ cmpw r27, r0
/* 80102AC4 000FFA24 41 80 FF EC */ blt lbl_80102AB0
/* 80102AC8 000FFA28 7F E3 FB 78 */ mr r3, r31
/* 80102ACC 000FFA2C 48 23 C1 B9 */ bl ReadLong__12CInputStreamFv
/* 80102AD0 000FFA30 90 7E 00 5C */ stw r3, 0x5c(r30)
/* 80102AD4 000FFA34 7F E3 FB 78 */ mr r3, r31
/* 80102AD8 000FFA38 48 23 C1 AD */ bl ReadLong__12CInputStreamFv
/* 80102ADC 000FFA3C 3B 60 00 00 */ li r27, 0
/* 80102AE0 000FFA40 7F DD F3 78 */ mr r29, r30
lbl_80102AE4:
/* 80102AE4 000FFA44 7F E3 FB 78 */ mr r3, r31
/* 80102AE8 000FFA48 48 23 C1 9D */ bl ReadLong__12CInputStreamFv
/* 80102AEC 000FFA4C 3B 7B 00 01 */ addi r27, r27, 1
/* 80102AF0 000FFA50 90 7D 00 3C */ stw r3, 0x3c(r29)
/* 80102AF4 000FFA54 2C 1B 00 04 */ cmpwi r27, 4
/* 80102AF8 000FFA58 3B BD 00 04 */ addi r29, r29, 4
/* 80102AFC 000FFA5C 41 80 FF E8 */ blt lbl_80102AE4
/* 80102B00 000FFA60 7F E3 FB 78 */ mr r3, r31
/* 80102B04 000FFA64 48 23 C1 81 */ bl ReadLong__12CInputStreamFv
/* 80102B08 000FFA68 90 7E 00 60 */ stw r3, 0x60(r30)
/* 80102B0C 000FFA6C 7F E3 FB 78 */ mr r3, r31
/* 80102B10 000FFA70 48 23 C1 75 */ bl ReadLong__12CInputStreamFv
/* 80102B14 000FFA74 3B 60 00 00 */ li r27, 0
/* 80102B18 000FFA78 7F DD F3 78 */ mr r29, r30
lbl_80102B1C:
/* 80102B1C 000FFA7C 7F E3 FB 78 */ mr r3, r31
/* 80102B20 000FFA80 48 23 C1 65 */ bl ReadLong__12CInputStreamFv
/* 80102B24 000FFA84 3B 7B 00 01 */ addi r27, r27, 1
/* 80102B28 000FFA88 90 7D 00 4C */ stw r3, 0x4c(r29)
/* 80102B2C 000FFA8C 2C 1B 00 04 */ cmpwi r27, 4
/* 80102B30 000FFA90 3B BD 00 04 */ addi r29, r29, 4
/* 80102B34 000FFA94 41 80 FF E8 */ blt lbl_80102B1C
/* 80102B38 000FFA98 7F E3 FB 78 */ mr r3, r31
/* 80102B3C 000FFA9C 48 23 C1 49 */ bl ReadLong__12CInputStreamFv
/* 80102B40 000FFAA0 90 7E 00 64 */ stw r3, 0x64(r30)
/* 80102B44 000FFAA4 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80102B48 000FFAA8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80102B4C 000FFAAC 7C 08 03 A6 */ mtlr r0
/* 80102B50 000FFAB0 38 21 00 30 */ addi r1, r1, 0x30
/* 80102B54 000FFAB4 4E 80 00 20 */ blr
.global __ct__20CDamageVulnerabilityFR12CInputStream
__ct__20CDamageVulnerabilityFR12CInputStream:
/* 80102B58 000FFAB8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80102B5C 000FFABC 7C 08 02 A6 */ mflr r0
/* 80102B60 000FFAC0 3C A0 80 57 */ lis r5, lbl_80570004@ha
/* 80102B64 000FFAC4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80102B68 000FFAC8 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 80102B6C 000FFACC 7C 9F 23 78 */ mr r31, r4
/* 80102B70 000FFAD0 7C 7E 1B 78 */ mr r30, r3
/* 80102B74 000FFAD4 7F E3 FB 78 */ mr r3, r31
/* 80102B78 000FFAD8 84 85 D7 18 */ lwzu r4, -0x28e8(r5)
/* 80102B7C 000FFADC 80 05 00 04 */ lwz r0, lbl_80570004@l(r5)
/* 80102B80 000FFAE0 90 9E 00 00 */ stw r4, 0(r30)
/* 80102B84 000FFAE4 90 1E 00 04 */ stw r0, 4(r30)
/* 80102B88 000FFAE8 80 85 00 08 */ lwz r4, 8(r5)
/* 80102B8C 000FFAEC 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80102B90 000FFAF0 90 9E 00 08 */ stw r4, 8(r30)
/* 80102B94 000FFAF4 90 1E 00 0C */ stw r0, 0xc(r30)
/* 80102B98 000FFAF8 80 85 00 10 */ lwz r4, 0x10(r5)
/* 80102B9C 000FFAFC 80 05 00 14 */ lwz r0, 0x14(r5)
/* 80102BA0 000FFB00 90 9E 00 10 */ stw r4, 0x10(r30)
/* 80102BA4 000FFB04 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80102BA8 000FFB08 80 85 00 18 */ lwz r4, 0x18(r5)
/* 80102BAC 000FFB0C 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 80102BB0 000FFB10 90 9E 00 18 */ stw r4, 0x18(r30)
/* 80102BB4 000FFB14 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 80102BB8 000FFB18 80 85 00 20 */ lwz r4, 0x20(r5)
/* 80102BBC 000FFB1C 80 05 00 24 */ lwz r0, 0x24(r5)
/* 80102BC0 000FFB20 90 9E 00 20 */ stw r4, 0x20(r30)
/* 80102BC4 000FFB24 90 1E 00 24 */ stw r0, 0x24(r30)
/* 80102BC8 000FFB28 80 85 00 28 */ lwz r4, 0x28(r5)
/* 80102BCC 000FFB2C 80 05 00 2C */ lwz r0, 0x2c(r5)
/* 80102BD0 000FFB30 90 9E 00 28 */ stw r4, 0x28(r30)
/* 80102BD4 000FFB34 90 1E 00 2C */ stw r0, 0x2c(r30)
/* 80102BD8 000FFB38 80 85 00 30 */ lwz r4, 0x30(r5)
/* 80102BDC 000FFB3C 80 05 00 34 */ lwz r0, 0x34(r5)
/* 80102BE0 000FFB40 90 9E 00 30 */ stw r4, 0x30(r30)
/* 80102BE4 000FFB44 90 1E 00 34 */ stw r0, 0x34(r30)
/* 80102BE8 000FFB48 80 05 00 38 */ lwz r0, 0x38(r5)
/* 80102BEC 000FFB4C 90 1E 00 38 */ stw r0, 0x38(r30)
/* 80102BF0 000FFB50 80 85 00 3C */ lwz r4, 0x3c(r5)
/* 80102BF4 000FFB54 80 05 00 40 */ lwz r0, 0x40(r5)
/* 80102BF8 000FFB58 90 9E 00 3C */ stw r4, 0x3c(r30)
/* 80102BFC 000FFB5C 90 1E 00 40 */ stw r0, 0x40(r30)
/* 80102C00 000FFB60 80 85 00 44 */ lwz r4, 0x44(r5)
/* 80102C04 000FFB64 80 05 00 48 */ lwz r0, 0x48(r5)
/* 80102C08 000FFB68 90 9E 00 44 */ stw r4, 0x44(r30)
/* 80102C0C 000FFB6C 90 1E 00 48 */ stw r0, 0x48(r30)
/* 80102C10 000FFB70 80 85 00 4C */ lwz r4, 0x4c(r5)
/* 80102C14 000FFB74 80 05 00 50 */ lwz r0, 0x50(r5)
/* 80102C18 000FFB78 90 9E 00 4C */ stw r4, 0x4c(r30)
/* 80102C1C 000FFB7C 90 1E 00 50 */ stw r0, 0x50(r30)
/* 80102C20 000FFB80 80 85 00 54 */ lwz r4, 0x54(r5)
/* 80102C24 000FFB84 80 05 00 58 */ lwz r0, 0x58(r5)
/* 80102C28 000FFB88 90 9E 00 54 */ stw r4, 0x54(r30)
/* 80102C2C 000FFB8C 90 1E 00 58 */ stw r0, 0x58(r30)
/* 80102C30 000FFB90 80 05 00 5C */ lwz r0, 0x5c(r5)
/* 80102C34 000FFB94 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 80102C38 000FFB98 80 05 00 60 */ lwz r0, 0x60(r5)
/* 80102C3C 000FFB9C 90 1E 00 60 */ stw r0, 0x60(r30)
/* 80102C40 000FFBA0 80 05 00 64 */ lwz r0, 0x64(r5)
/* 80102C44 000FFBA4 90 1E 00 64 */ stw r0, 0x64(r30)
/* 80102C48 000FFBA8 48 23 C0 3D */ bl ReadLong__12CInputStreamFv
/* 80102C4C 000FFBAC 7C 7C 1B 78 */ mr r28, r3
/* 80102C50 000FFBB0 2C 1C 00 0B */ cmpwi r28, 0xb
/* 80102C54 000FFBB4 40 82 00 8C */ bne lbl_80102CE0
/* 80102C58 000FFBB8 3B A0 00 00 */ li r29, 0
/* 80102C5C 000FFBBC 7F DB F3 78 */ mr r27, r30
lbl_80102C60:
/* 80102C60 000FFBC0 7F E3 FB 78 */ mr r3, r31
/* 80102C64 000FFBC4 48 23 C0 21 */ bl ReadLong__12CInputStreamFv
/* 80102C68 000FFBC8 3B BD 00 01 */ addi r29, r29, 1
/* 80102C6C 000FFBCC 90 7B 00 00 */ stw r3, 0(r27)
/* 80102C70 000FFBD0 2C 1D 00 0F */ cmpwi r29, 0xf
/* 80102C74 000FFBD4 3B 7B 00 04 */ addi r27, r27, 4
/* 80102C78 000FFBD8 41 80 FF E8 */ blt lbl_80102C60
/* 80102C7C 000FFBDC 2C 1C 00 0F */ cmpwi r28, 0xf
/* 80102C80 000FFBE0 40 82 00 10 */ bne lbl_80102C90
/* 80102C84 000FFBE4 38 00 00 00 */ li r0, 0
/* 80102C88 000FFBE8 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 80102C8C 000FFBEC 48 00 00 10 */ b lbl_80102C9C
lbl_80102C90:
/* 80102C90 000FFBF0 7F E3 FB 78 */ mr r3, r31
/* 80102C94 000FFBF4 48 23 BF F1 */ bl ReadLong__12CInputStreamFv
/* 80102C98 000FFBF8 90 7E 00 5C */ stw r3, 0x5c(r30)
lbl_80102C9C:
/* 80102C9C 000FFBFC 80 1E 00 00 */ lwz r0, 0(r30)
/* 80102CA0 000FFC00 90 1E 00 3C */ stw r0, 0x3c(r30)
/* 80102CA4 000FFC04 80 1E 00 00 */ lwz r0, 0(r30)
/* 80102CA8 000FFC08 90 1E 00 4C */ stw r0, 0x4c(r30)
/* 80102CAC 000FFC0C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80102CB0 000FFC10 90 1E 00 40 */ stw r0, 0x40(r30)
/* 80102CB4 000FFC14 80 1E 00 04 */ lwz r0, 4(r30)
/* 80102CB8 000FFC18 90 1E 00 50 */ stw r0, 0x50(r30)
/* 80102CBC 000FFC1C 80 1E 00 08 */ lwz r0, 8(r30)
/* 80102CC0 000FFC20 90 1E 00 44 */ stw r0, 0x44(r30)
/* 80102CC4 000FFC24 80 1E 00 08 */ lwz r0, 8(r30)
/* 80102CC8 000FFC28 90 1E 00 54 */ stw r0, 0x54(r30)
/* 80102CCC 000FFC2C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80102CD0 000FFC30 90 1E 00 48 */ stw r0, 0x48(r30)
/* 80102CD4 000FFC34 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80102CD8 000FFC38 90 1E 00 58 */ stw r0, 0x58(r30)
/* 80102CDC 000FFC3C 48 00 00 14 */ b lbl_80102CF0
lbl_80102CE0:
/* 80102CE0 000FFC40 7F C3 F3 78 */ mr r3, r30
/* 80102CE4 000FFC44 7F E4 FB 78 */ mr r4, r31
/* 80102CE8 000FFC48 7F 85 E3 78 */ mr r5, r28
/* 80102CEC 000FFC4C 4B FF FC F1 */ bl LoadData__20CDamageVulnerabilityFR12CInputStreami
lbl_80102CF0:
/* 80102CF0 000FFC50 7F C3 F3 78 */ mr r3, r30
/* 80102CF4 000FFC54 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 80102CF8 000FFC58 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80102CFC 000FFC5C 7C 08 03 A6 */ mtlr r0
/* 80102D00 000FFC60 38 21 00 20 */ addi r1, r1, 0x20
/* 80102D04 000FFC64 4E 80 00 20 */ blr
.global __sinit_CDamageVulnerability_cpp
__sinit_CDamageVulnerability_cpp:
/* 80102D08 000FFC68 3C 60 80 57 */ lis r3, lbl_8056D578@ha
/* 80102D0C 000FFC6C 94 21 FE 50 */ stwu r1, -0x1b0(r1)
/* 80102D10 000FFC70 39 60 00 01 */ li r11, 1
/* 80102D14 000FFC74 39 40 00 00 */ li r10, 0
/* 80102D18 000FFC78 38 C3 D5 78 */ addi r6, r3, lbl_8056D578@l
/* 80102D1C 000FFC7C 91 61 01 40 */ stw r11, 0x140(r1)
/* 80102D20 000FFC80 91 61 01 44 */ stw r11, 0x144(r1)
/* 80102D24 000FFC84 91 61 01 48 */ stw r11, 0x148(r1)
/* 80102D28 000FFC88 91 61 01 4C */ stw r11, 0x14c(r1)
/* 80102D2C 000FFC8C 91 61 01 50 */ stw r11, 0x150(r1)
/* 80102D30 000FFC90 91 61 01 54 */ stw r11, 0x154(r1)
/* 80102D34 000FFC94 91 61 01 58 */ stw r11, 0x158(r1)
/* 80102D38 000FFC98 91 61 01 5C */ stw r11, 0x15c(r1)
/* 80102D3C 000FFC9C 91 61 01 60 */ stw r11, 0x160(r1)
/* 80102D40 000FFCA0 91 61 01 64 */ stw r11, 0x164(r1)
/* 80102D44 000FFCA4 91 61 01 68 */ stw r11, 0x168(r1)
/* 80102D48 000FFCA8 91 61 01 6C */ stw r11, 0x16c(r1)
/* 80102D4C 000FFCAC 91 61 01 70 */ stw r11, 0x170(r1)
/* 80102D50 000FFCB0 91 61 01 74 */ stw r11, 0x174(r1)
/* 80102D54 000FFCB4 91 61 01 78 */ stw r11, 0x178(r1)
/* 80102D58 000FFCB8 91 61 01 7C */ stw r11, 0x17c(r1)
/* 80102D5C 000FFCBC 91 61 01 8C */ stw r11, 0x18c(r1)
/* 80102D60 000FFCC0 91 61 01 80 */ stw r11, 0x180(r1)
/* 80102D64 000FFCC4 91 61 01 90 */ stw r11, 0x190(r1)
/* 80102D68 000FFCC8 91 61 01 84 */ stw r11, 0x184(r1)
/* 80102D6C 000FFCCC 91 61 01 94 */ stw r11, 0x194(r1)
/* 80102D70 000FFCD0 91 61 01 88 */ stw r11, 0x188(r1)
/* 80102D74 000FFCD4 91 61 01 98 */ stw r11, 0x198(r1)
/* 80102D78 000FFCD8 91 41 01 9C */ stw r10, 0x19c(r1)
/* 80102D7C 000FFCDC 91 66 00 00 */ stw r11, 0(r6)
/* 80102D80 000FFCE0 91 66 00 04 */ stw r11, 4(r6)
/* 80102D84 000FFCE4 91 66 00 08 */ stw r11, 8(r6)
/* 80102D88 000FFCE8 91 66 00 0C */ stw r11, 0xc(r6)
/* 80102D8C 000FFCEC 91 66 00 10 */ stw r11, 0x10(r6)
/* 80102D90 000FFCF0 91 66 00 14 */ stw r11, 0x14(r6)
/* 80102D94 000FFCF4 91 66 00 18 */ stw r11, 0x18(r6)
/* 80102D98 000FFCF8 91 66 00 1C */ stw r11, 0x1c(r6)
/* 80102D9C 000FFCFC 91 66 00 20 */ stw r11, 0x20(r6)
/* 80102DA0 000FFD00 91 66 00 24 */ stw r11, 0x24(r6)
/* 80102DA4 000FFD04 91 66 00 28 */ stw r11, 0x28(r6)
/* 80102DA8 000FFD08 91 66 00 2C */ stw r11, 0x2c(r6)
/* 80102DAC 000FFD0C 91 66 00 30 */ stw r11, 0x30(r6)
/* 80102DB0 000FFD10 91 66 00 34 */ stw r11, 0x34(r6)
/* 80102DB4 000FFD14 91 66 00 38 */ stw r11, 0x38(r6)
/* 80102DB8 000FFD18 91 66 00 3C */ stw r11, 0x3c(r6)
/* 80102DBC 000FFD1C 91 66 00 40 */ stw r11, 0x40(r6)
/* 80102DC0 000FFD20 91 66 00 44 */ stw r11, 0x44(r6)
/* 80102DC4 000FFD24 91 66 00 48 */ stw r11, 0x48(r6)
/* 80102DC8 000FFD28 91 66 00 4C */ stw r11, 0x4c(r6)
/* 80102DCC 000FFD2C 91 66 00 50 */ stw r11, 0x50(r6)
/* 80102DD0 000FFD30 91 66 00 54 */ stw r11, 0x54(r6)
/* 80102DD4 000FFD34 91 66 00 58 */ stw r11, 0x58(r6)
/* 80102DD8 000FFD38 80 81 01 A0 */ lwz r4, 0x1a0(r1)
/* 80102DDC 000FFD3C 3C 60 80 57 */ lis r3, lbl_8056D718@ha
/* 80102DE0 000FFD40 39 20 00 02 */ li r9, 2
/* 80102DE4 000FFD44 80 01 01 A4 */ lwz r0, 0x1a4(r1)
/* 80102DE8 000FFD48 38 A3 D7 18 */ addi r5, r3, lbl_8056D718@l
/* 80102DEC 000FFD4C 91 46 00 5C */ stw r10, 0x5c(r6)
/* 80102DF0 000FFD50 90 86 00 60 */ stw r4, 0x60(r6)
/* 80102DF4 000FFD54 90 06 00 64 */ stw r0, 0x64(r6)
/* 80102DF8 000FFD58 91 21 00 D8 */ stw r9, 0xd8(r1)
/* 80102DFC 000FFD5C 91 21 00 DC */ stw r9, 0xdc(r1)
/* 80102E00 000FFD60 91 21 00 E0 */ stw r9, 0xe0(r1)
/* 80102E04 000FFD64 91 21 00 E4 */ stw r9, 0xe4(r1)
/* 80102E08 000FFD68 91 21 00 E8 */ stw r9, 0xe8(r1)
/* 80102E0C 000FFD6C 91 21 00 EC */ stw r9, 0xec(r1)
/* 80102E10 000FFD70 91 21 00 F0 */ stw r9, 0xf0(r1)
/* 80102E14 000FFD74 91 21 00 F4 */ stw r9, 0xf4(r1)
/* 80102E18 000FFD78 91 21 00 F8 */ stw r9, 0xf8(r1)
/* 80102E1C 000FFD7C 91 21 00 FC */ stw r9, 0xfc(r1)
/* 80102E20 000FFD80 91 21 01 00 */ stw r9, 0x100(r1)
/* 80102E24 000FFD84 91 21 01 04 */ stw r9, 0x104(r1)
/* 80102E28 000FFD88 91 21 01 08 */ stw r9, 0x108(r1)
/* 80102E2C 000FFD8C 91 21 01 0C */ stw r9, 0x10c(r1)
/* 80102E30 000FFD90 91 21 01 10 */ stw r9, 0x110(r1)
/* 80102E34 000FFD94 91 21 01 14 */ stw r9, 0x114(r1)
/* 80102E38 000FFD98 91 21 01 24 */ stw r9, 0x124(r1)
/* 80102E3C 000FFD9C 91 21 01 18 */ stw r9, 0x118(r1)
/* 80102E40 000FFDA0 91 21 01 28 */ stw r9, 0x128(r1)
/* 80102E44 000FFDA4 91 21 01 1C */ stw r9, 0x11c(r1)
/* 80102E48 000FFDA8 91 21 01 2C */ stw r9, 0x12c(r1)
/* 80102E4C 000FFDAC 91 21 01 20 */ stw r9, 0x120(r1)
/* 80102E50 000FFDB0 91 21 01 30 */ stw r9, 0x130(r1)
/* 80102E54 000FFDB4 91 41 01 34 */ stw r10, 0x134(r1)
/* 80102E58 000FFDB8 91 25 00 00 */ stw r9, 0(r5)
/* 80102E5C 000FFDBC 91 25 00 04 */ stw r9, 4(r5)
/* 80102E60 000FFDC0 91 25 00 08 */ stw r9, 8(r5)
/* 80102E64 000FFDC4 91 25 00 0C */ stw r9, 0xc(r5)
/* 80102E68 000FFDC8 91 25 00 10 */ stw r9, 0x10(r5)
/* 80102E6C 000FFDCC 91 25 00 14 */ stw r9, 0x14(r5)
/* 80102E70 000FFDD0 91 25 00 18 */ stw r9, 0x18(r5)
/* 80102E74 000FFDD4 91 25 00 1C */ stw r9, 0x1c(r5)
/* 80102E78 000FFDD8 91 25 00 20 */ stw r9, 0x20(r5)
/* 80102E7C 000FFDDC 91 25 00 24 */ stw r9, 0x24(r5)
/* 80102E80 000FFDE0 91 25 00 28 */ stw r9, 0x28(r5)
/* 80102E84 000FFDE4 91 25 00 2C */ stw r9, 0x2c(r5)
/* 80102E88 000FFDE8 91 25 00 30 */ stw r9, 0x30(r5)
/* 80102E8C 000FFDEC 91 25 00 34 */ stw r9, 0x34(r5)
/* 80102E90 000FFDF0 91 25 00 38 */ stw r9, 0x38(r5)
/* 80102E94 000FFDF4 91 25 00 3C */ stw r9, 0x3c(r5)
/* 80102E98 000FFDF8 91 25 00 40 */ stw r9, 0x40(r5)
/* 80102E9C 000FFDFC 91 25 00 44 */ stw r9, 0x44(r5)
/* 80102EA0 000FFE00 91 25 00 48 */ stw r9, 0x48(r5)
/* 80102EA4 000FFE04 80 81 01 38 */ lwz r4, 0x138(r1)
/* 80102EA8 000FFE08 3C 60 80 57 */ lis r3, lbl_8056D780@ha
/* 80102EAC 000FFE0C 39 03 D7 80 */ addi r8, r3, lbl_8056D780@l
/* 80102EB0 000FFE10 80 01 01 3C */ lwz r0, 0x13c(r1)
/* 80102EB4 000FFE14 91 25 00 4C */ stw r9, 0x4c(r5)
/* 80102EB8 000FFE18 91 25 00 50 */ stw r9, 0x50(r5)
/* 80102EBC 000FFE1C 91 25 00 54 */ stw r9, 0x54(r5)
/* 80102EC0 000FFE20 91 25 00 58 */ stw r9, 0x58(r5)
/* 80102EC4 000FFE24 91 45 00 5C */ stw r10, 0x5c(r5)
/* 80102EC8 000FFE28 90 85 00 60 */ stw r4, 0x60(r5)
/* 80102ECC 000FFE2C 90 05 00 64 */ stw r0, 0x64(r5)
/* 80102ED0 000FFE30 91 21 00 70 */ stw r9, 0x70(r1)
/* 80102ED4 000FFE34 91 21 00 74 */ stw r9, 0x74(r1)
/* 80102ED8 000FFE38 91 21 00 78 */ stw r9, 0x78(r1)
/* 80102EDC 000FFE3C 91 21 00 7C */ stw r9, 0x7c(r1)
/* 80102EE0 000FFE40 91 21 00 80 */ stw r9, 0x80(r1)
/* 80102EE4 000FFE44 91 21 00 84 */ stw r9, 0x84(r1)
/* 80102EE8 000FFE48 91 21 00 88 */ stw r9, 0x88(r1)
/* 80102EEC 000FFE4C 91 21 00 8C */ stw r9, 0x8c(r1)
/* 80102EF0 000FFE50 91 21 00 90 */ stw r9, 0x90(r1)
/* 80102EF4 000FFE54 91 21 00 94 */ stw r9, 0x94(r1)
/* 80102EF8 000FFE58 91 21 00 98 */ stw r9, 0x98(r1)
/* 80102EFC 000FFE5C 91 21 00 9C */ stw r9, 0x9c(r1)
/* 80102F00 000FFE60 91 21 00 A0 */ stw r9, 0xa0(r1)
/* 80102F04 000FFE64 91 21 00 A4 */ stw r9, 0xa4(r1)
/* 80102F08 000FFE68 91 21 00 A8 */ stw r9, 0xa8(r1)
/* 80102F0C 000FFE6C 91 21 00 AC */ stw r9, 0xac(r1)
/* 80102F10 000FFE70 91 21 00 BC */ stw r9, 0xbc(r1)
/* 80102F14 000FFE74 91 21 00 B0 */ stw r9, 0xb0(r1)
/* 80102F18 000FFE78 91 21 00 C0 */ stw r9, 0xc0(r1)
/* 80102F1C 000FFE7C 91 21 00 B4 */ stw r9, 0xb4(r1)
/* 80102F20 000FFE80 91 21 00 C4 */ stw r9, 0xc4(r1)
/* 80102F24 000FFE84 91 21 00 B8 */ stw r9, 0xb8(r1)
/* 80102F28 000FFE88 91 21 00 C8 */ stw r9, 0xc8(r1)
/* 80102F2C 000FFE8C 91 61 00 CC */ stw r11, 0xcc(r1)
/* 80102F30 000FFE90 91 28 00 00 */ stw r9, 0(r8)
/* 80102F34 000FFE94 91 28 00 04 */ stw r9, 4(r8)
/* 80102F38 000FFE98 91 28 00 08 */ stw r9, 8(r8)
/* 80102F3C 000FFE9C 91 28 00 0C */ stw r9, 0xc(r8)
/* 80102F40 000FFEA0 91 28 00 10 */ stw r9, 0x10(r8)
/* 80102F44 000FFEA4 91 28 00 14 */ stw r9, 0x14(r8)
/* 80102F48 000FFEA8 91 28 00 18 */ stw r9, 0x18(r8)
/* 80102F4C 000FFEAC 91 28 00 1C */ stw r9, 0x1c(r8)
/* 80102F50 000FFEB0 91 28 00 20 */ stw r9, 0x20(r8)
/* 80102F54 000FFEB4 91 28 00 24 */ stw r9, 0x24(r8)
/* 80102F58 000FFEB8 91 28 00 28 */ stw r9, 0x28(r8)
/* 80102F5C 000FFEBC 91 28 00 2C */ stw r9, 0x2c(r8)
/* 80102F60 000FFEC0 91 28 00 30 */ stw r9, 0x30(r8)
/* 80102F64 000FFEC4 91 28 00 34 */ stw r9, 0x34(r8)
/* 80102F68 000FFEC8 91 28 00 38 */ stw r9, 0x38(r8)
/* 80102F6C 000FFECC 80 E1 00 D0 */ lwz r7, 0xd0(r1)
/* 80102F70 000FFED0 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha
/* 80102F74 000FFED4 38 A0 00 04 */ li r5, 4
/* 80102F78 000FFED8 80 C1 00 D4 */ lwz r6, 0xd4(r1)
/* 80102F7C 000FFEDC 38 83 D7 E8 */ addi r4, r3, lbl_8056D7E8@l
/* 80102F80 000FFEE0 80 61 00 68 */ lwz r3, 0x68(r1)
/* 80102F84 000FFEE4 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 80102F88 000FFEE8 91 28 00 3C */ stw r9, 0x3c(r8)
/* 80102F8C 000FFEEC 91 28 00 40 */ stw r9, 0x40(r8)
/* 80102F90 000FFEF0 91 28 00 44 */ stw r9, 0x44(r8)
/* 80102F94 000FFEF4 91 28 00 48 */ stw r9, 0x48(r8)
/* 80102F98 000FFEF8 91 28 00 4C */ stw r9, 0x4c(r8)
/* 80102F9C 000FFEFC 91 28 00 50 */ stw r9, 0x50(r8)
/* 80102FA0 000FFF00 91 28 00 54 */ stw r9, 0x54(r8)
/* 80102FA4 000FFF04 91 28 00 58 */ stw r9, 0x58(r8)
/* 80102FA8 000FFF08 91 68 00 5C */ stw r11, 0x5c(r8)
/* 80102FAC 000FFF0C 90 E8 00 60 */ stw r7, 0x60(r8)
/* 80102FB0 000FFF10 90 C8 00 64 */ stw r6, 0x64(r8)
/* 80102FB4 000FFF14 90 A1 00 08 */ stw r5, 8(r1)
/* 80102FB8 000FFF18 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80102FBC 000FFF1C 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80102FC0 000FFF20 90 A1 00 14 */ stw r5, 0x14(r1)
/* 80102FC4 000FFF24 90 A1 00 18 */ stw r5, 0x18(r1)
/* 80102FC8 000FFF28 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 80102FCC 000FFF2C 90 A1 00 20 */ stw r5, 0x20(r1)
/* 80102FD0 000FFF30 90 A1 00 24 */ stw r5, 0x24(r1)
/* 80102FD4 000FFF34 90 A1 00 28 */ stw r5, 0x28(r1)
/* 80102FD8 000FFF38 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 80102FDC 000FFF3C 90 A1 00 30 */ stw r5, 0x30(r1)
/* 80102FE0 000FFF40 90 A1 00 34 */ stw r5, 0x34(r1)
/* 80102FE4 000FFF44 90 A1 00 38 */ stw r5, 0x38(r1)
/* 80102FE8 000FFF48 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 80102FEC 000FFF4C 90 A1 00 40 */ stw r5, 0x40(r1)
/* 80102FF0 000FFF50 90 A1 00 44 */ stw r5, 0x44(r1)
/* 80102FF4 000FFF54 90 A1 00 54 */ stw r5, 0x54(r1)
/* 80102FF8 000FFF58 90 A1 00 48 */ stw r5, 0x48(r1)
/* 80102FFC 000FFF5C 90 A1 00 58 */ stw r5, 0x58(r1)
/* 80103000 000FFF60 90 A1 00 4C */ stw r5, 0x4c(r1)
/* 80103004 000FFF64 90 A1 00 5C */ stw r5, 0x5c(r1)
/* 80103008 000FFF68 90 A1 00 50 */ stw r5, 0x50(r1)
/* 8010300C 000FFF6C 90 A1 00 60 */ stw r5, 0x60(r1)
/* 80103010 000FFF70 91 41 00 64 */ stw r10, 0x64(r1)
/* 80103014 000FFF74 90 A4 00 00 */ stw r5, 0(r4)
/* 80103018 000FFF78 90 A4 00 04 */ stw r5, 4(r4)
/* 8010301C 000FFF7C 90 A4 00 08 */ stw r5, 8(r4)
/* 80103020 000FFF80 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80103024 000FFF84 90 A4 00 10 */ stw r5, 0x10(r4)
/* 80103028 000FFF88 90 A4 00 14 */ stw r5, 0x14(r4)
/* 8010302C 000FFF8C 90 A4 00 18 */ stw r5, 0x18(r4)
/* 80103030 000FFF90 90 A4 00 1C */ stw r5, 0x1c(r4)
/* 80103034 000FFF94 90 A4 00 20 */ stw r5, 0x20(r4)
/* 80103038 000FFF98 90 A4 00 24 */ stw r5, 0x24(r4)
/* 8010303C 000FFF9C 90 A4 00 28 */ stw r5, 0x28(r4)
/* 80103040 000FFFA0 90 A4 00 2C */ stw r5, 0x2c(r4)
/* 80103044 000FFFA4 90 A4 00 30 */ stw r5, 0x30(r4)
/* 80103048 000FFFA8 90 A4 00 34 */ stw r5, 0x34(r4)
/* 8010304C 000FFFAC 90 A4 00 38 */ stw r5, 0x38(r4)
/* 80103050 000FFFB0 90 A4 00 3C */ stw r5, 0x3c(r4)
/* 80103054 000FFFB4 90 A4 00 40 */ stw r5, 0x40(r4)
/* 80103058 000FFFB8 90 A4 00 44 */ stw r5, 0x44(r4)
/* 8010305C 000FFFBC 90 A4 00 48 */ stw r5, 0x48(r4)
/* 80103060 000FFFC0 90 A4 00 4C */ stw r5, 0x4c(r4)
/* 80103064 000FFFC4 90 A4 00 50 */ stw r5, 0x50(r4)
/* 80103068 000FFFC8 90 A4 00 54 */ stw r5, 0x54(r4)
/* 8010306C 000FFFCC 90 A4 00 58 */ stw r5, 0x58(r4)
/* 80103070 000FFFD0 91 44 00 5C */ stw r10, 0x5c(r4)
/* 80103074 000FFFD4 90 64 00 60 */ stw r3, 0x60(r4)
/* 80103078 000FFFD8 90 04 00 64 */ stw r0, 0x64(r4)
/* 8010307C 000FFFDC 38 21 01 B0 */ addi r1, r1, 0x1b0
/* 80103080 000FFFE0 4E 80 00 20 */ blr

View File

@ -0,0 +1,994 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager:
/* 80116EC4 00113E24 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80116EC8 00113E28 7C 08 02 A6 */ mflr r0
/* 80116ECC 00113E2C 3C A0 80 57 */ lis r5, lbl_8056F758@ha
/* 80116ED0 00113E30 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80116ED4 00113E34 90 01 00 64 */ stw r0, 0x64(r1)
/* 80116ED8 00113E38 38 A5 F7 58 */ addi r5, r5, lbl_8056F758@l
/* 80116EDC 00113E3C 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 80116EE0 00113E40 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 80116EE4 00113E44 7C 9F 23 78 */ mr r31, r4
/* 80116EE8 00113E48 38 85 00 04 */ addi r4, r5, 4
/* 80116EEC 00113E4C 3B A3 00 04 */ addi r29, r3, 4
/* 80116EF0 00113E50 7C 9B 23 78 */ mr r27, r4
/* 80116EF4 00113E54 80 05 00 00 */ lwz r0, 0(r5)
/* 80116EF8 00113E58 54 00 10 3A */ slwi r0, r0, 2
/* 80116EFC 00113E5C 7F C4 02 14 */ add r30, r4, r0
/* 80116F00 00113E60 48 00 00 9C */ b lbl_80116F9C
lbl_80116F04:
/* 80116F04 00113E64 80 1B 00 00 */ lwz r0, 0(r27)
/* 80116F08 00113E68 1C 00 00 78 */ mulli r0, r0, 0x78
/* 80116F0C 00113E6C 7F 9D 02 14 */ add r28, r29, r0
/* 80116F10 00113E70 88 1C 00 75 */ lbz r0, 0x75(r28)
/* 80116F14 00113E74 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1
/* 80116F18 00113E78 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80116F1C 00113E7C 7C 00 07 75 */ extsb. r0, r0
/* 80116F20 00113E80 40 82 00 10 */ bne lbl_80116F30
/* 80116F24 00113E84 80 1F 0F 34 */ lwz r0, 0xf34(r31)
/* 80116F28 00113E88 2C 00 00 00 */ cmpwi r0, 0
/* 80116F2C 00113E8C 41 82 00 6C */ beq lbl_80116F98
lbl_80116F30:
/* 80116F30 00113E90 C0 5C 00 38 */ lfs f2, 0x38(r28)
/* 80116F34 00113E94 38 61 00 2C */ addi r3, r1, 0x2c
/* 80116F38 00113E98 C0 3C 00 28 */ lfs f1, 0x28(r28)
/* 80116F3C 00113E9C 38 81 00 14 */ addi r4, r1, 0x14
/* 80116F40 00113EA0 C0 1C 00 18 */ lfs f0, 0x18(r28)
/* 80116F44 00113EA4 38 A1 00 08 */ addi r5, r1, 8
/* 80116F48 00113EA8 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80116F4C 00113EAC D0 01 00 08 */ stfs f0, 8(r1)
/* 80116F50 00113EB0 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80116F54 00113EB4 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80116F58 00113EB8 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80116F5C 00113EBC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80116F60 00113EC0 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80116F64 00113EC4 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80116F68 00113EC8 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 80116F6C 00113ECC 48 22 15 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80116F70 00113ED0 7C 66 1B 78 */ mr r6, r3
/* 80116F74 00113ED4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80116F78 00113ED8 7F 84 E3 78 */ mr r4, r28
/* 80116F7C 00113EDC 38 A1 00 20 */ addi r5, r1, 0x20
/* 80116F80 00113EE0 81 83 00 00 */ lwz r12, 0(r3)
/* 80116F84 00113EE4 38 E0 00 02 */ li r7, 2
/* 80116F88 00113EE8 39 00 00 00 */ li r8, 0
/* 80116F8C 00113EEC 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80116F90 00113EF0 7D 89 03 A6 */ mtctr r12
/* 80116F94 00113EF4 4E 80 04 21 */ bctrl
lbl_80116F98:
/* 80116F98 00113EF8 3B 7B 00 04 */ addi r27, r27, 4
lbl_80116F9C:
/* 80116F9C 00113EFC 7C 1B F0 40 */ cmplw r27, r30
/* 80116FA0 00113F00 40 82 FF 64 */ bne lbl_80116F04
/* 80116FA4 00113F04 BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 80116FA8 00113F08 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80116FAC 00113F0C 7C 08 03 A6 */ mtlr r0
/* 80116FB0 00113F10 38 21 00 60 */ addi r1, r1, 0x60
/* 80116FB4 00113F14 4E 80 00 20 */ blr
.global Update__13CDecalManagerFfR13CStateManager
Update__13CDecalManagerFfR13CStateManager:
/* 80116FB8 00113F18 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80116FBC 00113F1C 7C 08 02 A6 */ mflr r0
/* 80116FC0 00113F20 90 01 00 34 */ stw r0, 0x34(r1)
/* 80116FC4 00113F24 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 80116FC8 00113F28 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80116FCC 00113F2C BF 61 00 0C */ stmw r27, 0xc(r1)
/* 80116FD0 00113F30 FF E0 08 90 */ fmr f31, f1
/* 80116FD4 00113F34 C0 0D A3 70 */ lfs f0, lbl_805A8F30@sda21(r13)
/* 80116FD8 00113F38 3C A0 80 57 */ lis r5, lbl_8056F758@ha
/* 80116FDC 00113F3C 3C 80 80 57 */ lis r4, lbl_8056D850@ha
/* 80116FE0 00113F40 3B E5 F7 58 */ addi r31, r5, lbl_8056F758@l
/* 80116FE4 00113F44 7C 7B 1B 78 */ mr r27, r3
/* 80116FE8 00113F48 EC 00 F8 2A */ fadds f0, f0, f31
/* 80116FEC 00113F4C 3B BF 00 04 */ addi r29, r31, 4
/* 80116FF0 00113F50 38 64 D8 50 */ addi r3, r4, lbl_8056D850@l
/* 80116FF4 00113F54 7F BC EB 78 */ mr r28, r29
/* 80116FF8 00113F58 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13)
/* 80116FFC 00113F5C 3B C3 00 04 */ addi r30, r3, 4
/* 80117000 00113F60 48 00 00 48 */ b lbl_80117048
lbl_80117004:
/* 80117004 00113F64 80 9C 00 00 */ lwz r4, 0(r28)
/* 80117008 00113F68 80 1B 08 CC */ lwz r0, 0x8cc(r27)
/* 8011700C 00113F6C 1C 64 00 78 */ mulli r3, r4, 0x78
/* 80117010 00113F70 7C 7E 1A 14 */ add r3, r30, r3
/* 80117014 00113F74 80 A3 00 70 */ lwz r5, 0x70(r3)
/* 80117018 00113F78 7C 05 00 00 */ cmpw r5, r0
/* 8011701C 00113F7C 40 82 00 10 */ bne lbl_8011702C
/* 80117020 00113F80 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80117024 00113F84 2C 00 00 07 */ cmpwi r0, 7
/* 80117028 00113F88 40 82 00 14 */ bne lbl_8011703C
lbl_8011702C:
/* 8011702C 00113F8C 7F 83 E3 78 */ mr r3, r28
/* 80117030 00113F90 48 00 00 49 */ bl RemoveFromActiveList__13CDecalManagerFPii
/* 80117034 00113F94 7C 7C 1B 78 */ mr r28, r3
/* 80117038 00113F98 48 00 00 10 */ b lbl_80117048
lbl_8011703C:
/* 8011703C 00113F9C FC 20 F8 90 */ fmr f1, f31
/* 80117040 00113FA0 48 19 D7 E9 */ bl Update__6CDecalFf
/* 80117044 00113FA4 3B 9C 00 04 */ addi r28, r28, 4
lbl_80117048:
/* 80117048 00113FA8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8011704C 00113FAC 54 00 10 3A */ slwi r0, r0, 2
/* 80117050 00113FB0 7C 1D 02 14 */ add r0, r29, r0
/* 80117054 00113FB4 7C 1C 00 40 */ cmplw r28, r0
/* 80117058 00113FB8 40 82 FF AC */ bne lbl_80117004
/* 8011705C 00113FBC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 80117060 00113FC0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80117064 00113FC4 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 80117068 00113FC8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8011706C 00113FCC 7C 08 03 A6 */ mtlr r0
/* 80117070 00113FD0 38 21 00 30 */ addi r1, r1, 0x30
/* 80117074 00113FD4 4E 80 00 20 */ blr
.global RemoveFromActiveList__13CDecalManagerFPii
RemoveFromActiveList__13CDecalManagerFPii:
/* 80117078 00113FD8 3C A0 80 57 */ lis r5, lbl_8056F758@ha
/* 8011707C 00113FDC 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l
/* 80117080 00113FE0 39 06 00 04 */ addi r8, r6, 4
/* 80117084 00113FE4 7C 03 40 40 */ cmplw r3, r8
/* 80117088 00113FE8 41 80 00 5C */ blt lbl_801170E4
/* 8011708C 00113FEC 80 06 00 00 */ lwz r0, 0(r6)
/* 80117090 00113FF0 54 00 10 3A */ slwi r0, r0, 2
/* 80117094 00113FF4 7C 08 02 14 */ add r0, r8, r0
/* 80117098 00113FF8 7C 03 00 40 */ cmplw r3, r0
/* 8011709C 00113FFC 40 80 00 48 */ bge lbl_801170E4
/* 801170A0 00114000 7C 67 1B 78 */ mr r7, r3
/* 801170A4 00114004 48 00 00 10 */ b lbl_801170B4
lbl_801170A8:
/* 801170A8 00114008 80 07 00 04 */ lwz r0, 4(r7)
/* 801170AC 0011400C 90 07 00 00 */ stw r0, 0(r7)
/* 801170B0 00114010 38 E7 00 04 */ addi r7, r7, 4
lbl_801170B4:
/* 801170B4 00114014 80 06 00 00 */ lwz r0, 0(r6)
/* 801170B8 00114018 54 05 10 3A */ slwi r5, r0, 2
/* 801170BC 0011401C 38 05 FF FC */ addi r0, r5, -4
/* 801170C0 00114020 7C 08 02 14 */ add r0, r8, r0
/* 801170C4 00114024 7C 07 00 40 */ cmplw r7, r0
/* 801170C8 00114028 41 80 FF E0 */ blt lbl_801170A8
/* 801170CC 0011402C 3C A0 80 57 */ lis r5, lbl_8056F758@ha
/* 801170D0 00114030 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l
/* 801170D4 00114034 80 A6 00 00 */ lwz r5, 0(r6)
/* 801170D8 00114038 38 05 FF FF */ addi r0, r5, -1
/* 801170DC 0011403C 90 06 00 00 */ stw r0, 0(r6)
/* 801170E0 00114040 48 00 00 14 */ b lbl_801170F4
lbl_801170E4:
/* 801170E4 00114044 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 801170E8 00114048 80 03 F7 58 */ lwz r0, lbl_8056F758@l(r3)
/* 801170EC 0011404C 54 00 10 3A */ slwi r0, r0, 2
/* 801170F0 00114050 7C 68 02 14 */ add r3, r8, r0
lbl_801170F4:
/* 801170F4 00114054 1C A4 00 78 */ mulli r5, r4, 0x78
/* 801170F8 00114058 80 ED A3 68 */ lwz r7, lbl_805A8F28@sda21(r13)
/* 801170FC 0011405C 80 0D A3 74 */ lwz r0, lbl_805A8F34@sda21(r13)
/* 80117100 00114060 3C C0 80 57 */ lis r6, lbl_8056D850@ha
/* 80117104 00114064 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13)
/* 80117108 00114068 38 C6 D8 50 */ addi r6, r6, lbl_8056D850@l
/* 8011710C 0011406C 7C 00 20 00 */ cmpw r0, r4
/* 80117110 00114070 7C 86 2A 14 */ add r4, r6, r5
/* 80117114 00114074 98 E4 00 78 */ stb r7, 0x78(r4)
/* 80117118 00114078 4C 82 00 20 */ bnelr
/* 8011711C 0011407C 38 00 FF FF */ li r0, -1
/* 80117120 00114080 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13)
/* 80117124 00114084 4E 80 00 20 */ blr
.global "AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager"
"AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager":
/* 80117128 00114088 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8011712C 0011408C 7C 08 02 A6 */ mflr r0
/* 80117130 00114090 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80117134 00114094 BF 21 00 94 */ stmw r25, 0x94(r1)
/* 80117138 00114098 7C 79 1B 78 */ mr r25, r3
/* 8011713C 0011409C 7C 9A 23 78 */ mr r26, r4
/* 80117140 001140A0 7C BB 2B 78 */ mr r27, r5
/* 80117144 001140A4 7C DC 33 78 */ mr r28, r6
/* 80117148 001140A8 80 ED A3 74 */ lwz r7, lbl_805A8F34@sda21(r13)
/* 8011714C 001140AC 80 63 00 00 */ lwz r3, 0(r3)
/* 80117150 001140B0 2C 07 FF FF */ cmpwi r7, -1
/* 80117154 001140B4 83 C3 00 08 */ lwz r30, 8(r3)
/* 80117158 001140B8 41 82 00 8C */ beq lbl_801171E4
/* 8011715C 001140BC C0 2D A3 70 */ lfs f1, lbl_805A8F30@sda21(r13)
/* 80117160 001140C0 C0 02 96 58 */ lfs f0, lbl_805AB378@sda21(r2)
/* 80117164 001140C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80117168 001140C8 40 80 00 7C */ bge lbl_801171E4
/* 8011716C 001140CC 80 0D A3 78 */ lwz r0, lbl_805A8F38@sda21(r13)
/* 80117170 001140D0 7C 00 F0 40 */ cmplw r0, r30
/* 80117174 001140D4 40 82 00 70 */ bne lbl_801171E4
/* 80117178 001140D8 1C 07 00 78 */ mulli r0, r7, 0x78
/* 8011717C 001140DC 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80117180 001140E0 C0 5A 00 1C */ lfs f2, 0x1c(r26)
/* 80117184 001140E4 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 80117188 001140E8 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 8011718C 001140EC 7C 63 02 14 */ add r3, r3, r0
/* 80117190 001140F0 C0 E3 00 2C */ lfs f7, 0x2c(r3)
/* 80117194 001140F4 C0 23 00 1C */ lfs f1, 0x1c(r3)
/* 80117198 001140F8 EC C7 10 28 */ fsubs f6, f7, f2
/* 8011719C 001140FC C1 03 00 3C */ lfs f8, 0x3c(r3)
/* 801171A0 00114100 EC 81 00 28 */ fsubs f4, f1, f0
/* 801171A4 00114104 C0 5A 00 2C */ lfs f2, 0x2c(r26)
/* 801171A8 00114108 C0 02 96 5C */ lfs f0, lbl_805AB37C@sda21(r2)
/* 801171AC 0011410C EC A8 10 28 */ fsubs f5, f8, f2
/* 801171B0 00114110 EC 44 01 32 */ fmuls f2, f4, f4
/* 801171B4 00114114 D0 21 00 08 */ stfs f1, 8(r1)
/* 801171B8 00114118 EC 26 01 B2 */ fmuls f1, f6, f6
/* 801171BC 0011411C EC 65 01 72 */ fmuls f3, f5, f5
/* 801171C0 00114120 D0 E1 00 0C */ stfs f7, 0xc(r1)
/* 801171C4 00114124 EC 22 08 2A */ fadds f1, f2, f1
/* 801171C8 00114128 D1 01 00 10 */ stfs f8, 0x10(r1)
/* 801171CC 0011412C D0 81 00 14 */ stfs f4, 0x14(r1)
/* 801171D0 00114130 EC 23 08 2A */ fadds f1, f3, f1
/* 801171D4 00114134 D0 C1 00 18 */ stfs f6, 0x18(r1)
/* 801171D8 00114138 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801171DC 0011413C D0 A1 00 1C */ stfs f5, 0x1c(r1)
/* 801171E0 00114140 41 80 01 00 */ blt lbl_801172E0
lbl_801171E4:
/* 801171E4 00114144 80 0D A3 68 */ lwz r0, lbl_805A8F28@sda21(r13)
/* 801171E8 00114148 2C 00 FF FF */ cmpwi r0, -1
/* 801171EC 0011414C 40 82 00 14 */ bne lbl_80117200
/* 801171F0 00114150 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 801171F4 00114154 38 63 F7 58 */ addi r3, r3, lbl_8056F758@l
/* 801171F8 00114158 84 83 00 04 */ lwzu r4, 4(r3)
/* 801171FC 0011415C 4B FF FE 7D */ bl RemoveFromActiveList__13CDecalManagerFPii
lbl_80117200:
/* 80117200 00114160 83 AD A3 68 */ lwz r29, lbl_805A8F28@sda21(r13)
/* 80117204 00114164 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80117208 00114168 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 8011720C 0011416C 1C 1D 00 78 */ mulli r0, r29, 0x78
/* 80117210 00114170 7F E3 02 14 */ add r31, r3, r0
/* 80117214 00114174 88 7F 00 78 */ lbz r3, 0x78(r31)
/* 80117218 00114178 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 8011721C 0011417C 3B FF 00 04 */ addi r31, r31, 4
/* 80117220 00114180 7C 63 07 74 */ extsb r3, r3
/* 80117224 00114184 28 00 00 00 */ cmplwi r0, 0
/* 80117228 00114188 90 6D A3 68 */ stw r3, lbl_805A8F28@sda21(r13)
/* 8011722C 0011418C 41 82 00 20 */ beq lbl_8011724C
/* 80117230 00114190 28 1F 00 00 */ cmplwi r31, 0
/* 80117234 00114194 41 82 00 18 */ beq lbl_8011724C
/* 80117238 00114198 41 82 00 14 */ beq lbl_8011724C
/* 8011723C 0011419C 41 82 00 10 */ beq lbl_8011724C
/* 80117240 001141A0 7F E3 FB 78 */ mr r3, r31
/* 80117244 001141A4 38 80 00 00 */ li r4, 0
/* 80117248 001141A8 48 22 9B F9 */ bl __dt__6CTokenFv
lbl_8011724C:
/* 8011724C 001141AC 38 00 00 00 */ li r0, 0
/* 80117250 001141B0 7F 24 CB 78 */ mr r4, r25
/* 80117254 001141B4 98 1F 00 6C */ stb r0, 0x6c(r31)
/* 80117258 001141B8 7F 45 D3 78 */ mr r5, r26
/* 8011725C 001141BC 38 61 00 20 */ addi r3, r1, 0x20
/* 80117260 001141C0 48 19 E1 D1 */ bl "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f"
/* 80117264 001141C4 7F E3 FB 78 */ mr r3, r31
/* 80117268 001141C8 38 81 00 20 */ addi r4, r1, 0x20
/* 8011726C 001141CC 48 00 00 89 */ bl "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal"
/* 80117270 001141D0 38 61 00 20 */ addi r3, r1, 0x20
/* 80117274 001141D4 38 80 00 00 */ li r4, 0
/* 80117278 001141D8 48 22 9B C9 */ bl __dt__6CTokenFv
/* 8011727C 001141DC 80 BC 08 CC */ lwz r5, 0x8cc(r28)
/* 80117280 001141E0 3C 60 80 57 */ lis r3, 0x8057
/* 80117284 001141E4 20 9B 00 01 */ subfic r4, r27, 1
/* 80117288 001141E8 84 03 F7 58 */ lwzu r0, -0x8a8(r3)
/* 8011728C 001141EC 7C 84 00 34 */ cntlzw r4, r4
/* 80117290 001141F0 90 BF 00 70 */ stw r5, 0x70(r31)
/* 80117294 001141F4 54 00 10 3A */ slwi r0, r0, 2
/* 80117298 001141F8 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2)
/* 8011729C 001141FC 7C A3 02 14 */ add r5, r3, r0
/* 801172A0 00114200 54 84 D9 7E */ srwi r4, r4, 5
/* 801172A4 00114204 7C 83 07 74 */ extsb r3, r4
/* 801172A8 00114208 88 1F 00 75 */ lbz r0, 0x75(r31)
/* 801172AC 0011420C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 801172B0 00114210 34 A5 00 04 */ addic. r5, r5, 4
/* 801172B4 00114214 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13)
/* 801172B8 00114218 98 1F 00 75 */ stb r0, 0x75(r31)
/* 801172BC 0011421C 93 AD A3 74 */ stw r29, lbl_805A8F34@sda21(r13)
/* 801172C0 00114220 93 CD A3 78 */ stw r30, lbl_805A8F38@sda21(r13)
/* 801172C4 00114224 41 82 00 08 */ beq lbl_801172CC
/* 801172C8 00114228 93 A5 00 00 */ stw r29, 0(r5)
lbl_801172CC:
/* 801172CC 0011422C 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 801172D0 00114230 38 83 F7 58 */ addi r4, r3, lbl_8056F758@l
/* 801172D4 00114234 80 64 00 00 */ lwz r3, 0(r4)
/* 801172D8 00114238 38 03 00 01 */ addi r0, r3, 1
/* 801172DC 0011423C 90 04 00 00 */ stw r0, 0(r4)
lbl_801172E0:
/* 801172E0 00114240 BB 21 00 94 */ lmw r25, 0x94(r1)
/* 801172E4 00114244 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 801172E8 00114248 7C 08 03 A6 */ mtlr r0
/* 801172EC 0011424C 38 21 00 B0 */ addi r1, r1, 0xb0
/* 801172F0 00114250 4E 80 00 20 */ blr
.global "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal"
"assign__Q24rstl24optional_object<6CDecal>FRC6CDecal":
/* 801172F4 00114254 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801172F8 00114258 7C 08 02 A6 */ mflr r0
/* 801172FC 0011425C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117300 00114260 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117304 00114264 7C 7F 1B 78 */ mr r31, r3
/* 80117308 00114268 48 00 00 1D */ bl sub_80117324
/* 8011730C 0011426C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117310 00114270 7F E3 FB 78 */ mr r3, r31
/* 80117314 00114274 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117318 00114278 7C 08 03 A6 */ mtlr r0
/* 8011731C 0011427C 38 21 00 10 */ addi r1, r1, 0x10
/* 80117320 00114280 4E 80 00 20 */ blr
.global sub_80117324
sub_80117324:
/* 80117324 00114284 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80117328 00114288 7C 08 02 A6 */ mflr r0
/* 8011732C 0011428C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80117330 00114290 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80117334 00114294 7C 9F 23 78 */ mr r31, r4
/* 80117338 00114298 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8011733C 0011429C 7C 7E 1B 78 */ mr r30, r3
/* 80117340 001142A0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80117344 001142A4 93 81 00 10 */ stw r28, 0x10(r1)
/* 80117348 001142A8 88 03 00 6C */ lbz r0, 0x6c(r3)
/* 8011734C 001142AC 28 00 00 00 */ cmplwi r0, 0
/* 80117350 001142B0 40 82 00 A0 */ bne lbl_801173F0
/* 80117354 001142B4 7F C0 F3 79 */ or. r0, r30, r30
/* 80117358 001142B8 41 82 00 8C */ beq lbl_801173E4
/* 8011735C 001142BC 7C 1C 03 78 */ mr r28, r0
/* 80117360 001142C0 7C 1D 03 78 */ mr r29, r0
/* 80117364 001142C4 48 22 9B 45 */ bl __ct__6CTokenFRC6CToken
/* 80117368 001142C8 80 1F 00 08 */ lwz r0, 8(r31)
/* 8011736C 001142CC 7F A3 EB 78 */ mr r3, r29
/* 80117370 001142D0 90 1D 00 08 */ stw r0, 8(r29)
/* 80117374 001142D4 48 22 9A 11 */ bl Lock__6CTokenFv
/* 80117378 001142D8 38 7C 00 0C */ addi r3, r28, 0xc
/* 8011737C 001142DC 38 9F 00 0C */ addi r4, r31, 0xc
/* 80117380 001142E0 48 1F B7 F5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80117384 001142E4 88 1F 00 3C */ lbz r0, 0x3c(r31)
/* 80117388 001142E8 98 1C 00 3C */ stb r0, 0x3c(r28)
/* 8011738C 001142EC 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 80117390 001142F0 90 1C 00 40 */ stw r0, 0x40(r28)
/* 80117394 001142F4 C0 1F 00 44 */ lfs f0, 0x44(r31)
/* 80117398 001142F8 D0 1C 00 44 */ stfs f0, 0x44(r28)
/* 8011739C 001142FC 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 801173A0 00114300 98 1C 00 48 */ stb r0, 0x48(r28)
/* 801173A4 00114304 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 801173A8 00114308 90 1C 00 4C */ stw r0, 0x4c(r28)
/* 801173AC 0011430C C0 1F 00 50 */ lfs f0, 0x50(r31)
/* 801173B0 00114310 D0 1C 00 50 */ stfs f0, 0x50(r28)
/* 801173B4 00114314 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 801173B8 00114318 90 1C 00 54 */ stw r0, 0x54(r28)
/* 801173BC 0011431C 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 801173C0 00114320 90 1C 00 58 */ stw r0, 0x58(r28)
/* 801173C4 00114324 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 801173C8 00114328 90 1C 00 5C */ stw r0, 0x5c(r28)
/* 801173CC 0011432C C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 801173D0 00114330 D0 1C 00 60 */ stfs f0, 0x60(r28)
/* 801173D4 00114334 C0 1F 00 64 */ lfs f0, 0x64(r31)
/* 801173D8 00114338 D0 1C 00 64 */ stfs f0, 0x64(r28)
/* 801173DC 0011433C C0 1F 00 68 */ lfs f0, 0x68(r31)
/* 801173E0 00114340 D0 1C 00 68 */ stfs f0, 0x68(r28)
lbl_801173E4:
/* 801173E4 00114344 38 00 00 01 */ li r0, 1
/* 801173E8 00114348 98 1E 00 6C */ stb r0, 0x6c(r30)
/* 801173EC 0011434C 48 00 00 7C */ b lbl_80117468
lbl_801173F0:
/* 801173F0 00114350 48 22 98 D5 */ bl __as__6CTokenFRC6CToken
/* 801173F4 00114354 80 1F 00 08 */ lwz r0, 8(r31)
/* 801173F8 00114358 38 7E 00 0C */ addi r3, r30, 0xc
/* 801173FC 0011435C 38 9F 00 0C */ addi r4, r31, 0xc
/* 80117400 00114360 90 1E 00 08 */ stw r0, 8(r30)
/* 80117404 00114364 48 1F B7 3D */ bl __as__12CTransform4fFRC12CTransform4f
/* 80117408 00114368 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 8011740C 0011436C 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 80117410 00114370 90 7E 00 3C */ stw r3, 0x3c(r30)
/* 80117414 00114374 90 1E 00 40 */ stw r0, 0x40(r30)
/* 80117418 00114378 80 1F 00 44 */ lwz r0, 0x44(r31)
/* 8011741C 0011437C 90 1E 00 44 */ stw r0, 0x44(r30)
/* 80117420 00114380 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 80117424 00114384 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 80117428 00114388 90 7E 00 48 */ stw r3, 0x48(r30)
/* 8011742C 0011438C 90 1E 00 4C */ stw r0, 0x4c(r30)
/* 80117430 00114390 80 1F 00 50 */ lwz r0, 0x50(r31)
/* 80117434 00114394 90 1E 00 50 */ stw r0, 0x50(r30)
/* 80117438 00114398 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 8011743C 0011439C 90 1E 00 54 */ stw r0, 0x54(r30)
/* 80117440 001143A0 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 80117444 001143A4 90 1E 00 58 */ stw r0, 0x58(r30)
/* 80117448 001143A8 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 8011744C 001143AC 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 80117450 001143B0 80 7F 00 60 */ lwz r3, 0x60(r31)
/* 80117454 001143B4 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 80117458 001143B8 90 7E 00 60 */ stw r3, 0x60(r30)
/* 8011745C 001143BC 90 1E 00 64 */ stw r0, 0x64(r30)
/* 80117460 001143C0 80 1F 00 68 */ lwz r0, 0x68(r31)
/* 80117464 001143C4 90 1E 00 68 */ stw r0, 0x68(r30)
lbl_80117468:
/* 80117468 001143C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8011746C 001143CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80117470 001143D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80117474 001143D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80117478 001143D8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8011747C 001143DC 7C 08 03 A6 */ mtlr r0
/* 80117480 001143E0 38 21 00 20 */ addi r1, r1, 0x20
/* 80117484 001143E4 4E 80 00 20 */ blr
.global Reinitialize__13CDecalManagerFv
Reinitialize__13CDecalManagerFv:
/* 80117488 001143E8 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8011748C 001143EC 7C 08 02 A6 */ mflr r0
/* 80117490 001143F0 90 01 01 04 */ stw r0, 0x104(r1)
/* 80117494 001143F4 93 E1 00 FC */ stw r31, 0xfc(r1)
/* 80117498 001143F8 93 C1 00 F8 */ stw r30, 0xf8(r1)
/* 8011749C 001143FC 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13)
/* 801174A0 00114400 28 00 00 00 */ cmplwi r0, 0
/* 801174A4 00114404 40 82 00 08 */ bne lbl_801174AC
/* 801174A8 00114408 48 00 04 AD */ bl Initialize__13CDecalManagerFv
lbl_801174AC:
/* 801174AC 0011440C 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 801174B0 00114410 3B C0 00 00 */ li r30, 0
/* 801174B4 00114414 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 801174B8 00114418 3B E3 00 04 */ addi r31, r3, 4
lbl_801174BC:
/* 801174BC 0011441C 39 00 00 00 */ li r8, 0
/* 801174C0 00114420 38 1E FF FF */ addi r0, r30, -1
/* 801174C4 00114424 99 01 00 F4 */ stb r8, 0xf4(r1)
/* 801174C8 00114428 38 61 00 10 */ addi r3, r1, 0x10
/* 801174CC 0011442C 38 81 00 88 */ addi r4, r1, 0x88
/* 801174D0 00114430 38 A1 00 0C */ addi r5, r1, 0xc
/* 801174D4 00114434 91 01 00 08 */ stw r8, 8(r1)
/* 801174D8 00114438 7C 06 07 74 */ extsb r6, r0
/* 801174DC 0011443C 38 E0 00 00 */ li r7, 0
/* 801174E0 00114440 91 01 00 0C */ stw r8, 0xc(r1)
/* 801174E4 00114444 48 00 01 C5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>"
/* 801174E8 00114448 7F E3 FB 78 */ mr r3, r31
/* 801174EC 0011444C 38 81 00 10 */ addi r4, r1, 0x10
/* 801174F0 00114450 48 00 00 ED */ bl sub_801175dc
/* 801174F4 00114454 88 01 00 7C */ lbz r0, 0x7c(r1)
/* 801174F8 00114458 28 00 00 00 */ cmplwi r0, 0
/* 801174FC 0011445C 41 82 00 20 */ beq lbl_8011751C
/* 80117500 00114460 34 61 00 10 */ addic. r3, r1, 0x10
/* 80117504 00114464 41 82 00 18 */ beq lbl_8011751C
/* 80117508 00114468 28 03 00 00 */ cmplwi r3, 0
/* 8011750C 0011446C 41 82 00 10 */ beq lbl_8011751C
/* 80117510 00114470 41 82 00 0C */ beq lbl_8011751C
/* 80117514 00114474 38 80 00 00 */ li r4, 0
/* 80117518 00114478 48 22 99 29 */ bl __dt__6CTokenFv
lbl_8011751C:
/* 8011751C 0011447C 88 01 00 F4 */ lbz r0, 0xf4(r1)
/* 80117520 00114480 38 60 00 00 */ li r3, 0
/* 80117524 00114484 98 61 00 7C */ stb r3, 0x7c(r1)
/* 80117528 00114488 28 00 00 00 */ cmplwi r0, 0
/* 8011752C 0011448C 41 82 00 20 */ beq lbl_8011754C
/* 80117530 00114490 34 61 00 88 */ addic. r3, r1, 0x88
/* 80117534 00114494 41 82 00 18 */ beq lbl_8011754C
/* 80117538 00114498 28 03 00 00 */ cmplwi r3, 0
/* 8011753C 0011449C 41 82 00 10 */ beq lbl_8011754C
/* 80117540 001144A0 41 82 00 0C */ beq lbl_8011754C
/* 80117544 001144A4 38 80 00 00 */ li r4, 0
/* 80117548 001144A8 48 22 98 F9 */ bl __dt__6CTokenFv
lbl_8011754C:
/* 8011754C 001144AC 3B DE 00 01 */ addi r30, r30, 1
/* 80117550 001144B0 38 80 00 00 */ li r4, 0
/* 80117554 001144B4 2C 1E 00 40 */ cmpwi r30, 0x40
/* 80117558 001144B8 98 81 00 F4 */ stb r4, 0xf4(r1)
/* 8011755C 001144BC 3B FF 00 78 */ addi r31, r31, 0x78
/* 80117560 001144C0 41 80 FF 5C */ blt lbl_801174BC
/* 80117564 001144C4 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 80117568 001144C8 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3)
/* 8011756C 001144CC 2C 05 00 00 */ cmpwi r5, 0
/* 80117570 001144D0 40 81 00 40 */ ble lbl_801175B0
/* 80117574 001144D4 2C 05 00 08 */ cmpwi r5, 8
/* 80117578 001144D8 38 65 FF F8 */ addi r3, r5, -8
/* 8011757C 001144DC 40 81 00 20 */ ble lbl_8011759C
/* 80117580 001144E0 38 03 00 07 */ addi r0, r3, 7
/* 80117584 001144E4 54 00 E8 FE */ srwi r0, r0, 3
/* 80117588 001144E8 7C 09 03 A6 */ mtctr r0
/* 8011758C 001144EC 2C 03 00 00 */ cmpwi r3, 0
/* 80117590 001144F0 40 81 00 0C */ ble lbl_8011759C
lbl_80117594:
/* 80117594 001144F4 38 84 00 08 */ addi r4, r4, 8
/* 80117598 001144F8 42 00 FF FC */ bdnz lbl_80117594
lbl_8011759C:
/* 8011759C 001144FC 7C 04 28 50 */ subf r0, r4, r5
/* 801175A0 00114500 7C 09 03 A6 */ mtctr r0
/* 801175A4 00114504 7C 04 28 00 */ cmpw r4, r5
/* 801175A8 00114508 40 80 00 08 */ bge lbl_801175B0
lbl_801175AC:
/* 801175AC 0011450C 42 00 00 00 */ bdnz lbl_801175AC
lbl_801175B0:
/* 801175B0 00114510 38 00 00 3F */ li r0, 0x3f
/* 801175B4 00114514 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 801175B8 00114518 38 80 00 00 */ li r4, 0
/* 801175BC 0011451C 90 0D A3 68 */ stw r0, lbl_805A8F28@sda21(r13)
/* 801175C0 00114520 90 83 F7 58 */ stw r4, lbl_8056F758@l(r3)
/* 801175C4 00114524 83 E1 00 FC */ lwz r31, 0xfc(r1)
/* 801175C8 00114528 80 01 01 04 */ lwz r0, 0x104(r1)
/* 801175CC 0011452C 83 C1 00 F8 */ lwz r30, 0xf8(r1)
/* 801175D0 00114530 7C 08 03 A6 */ mtlr r0
/* 801175D4 00114534 38 21 01 00 */ addi r1, r1, 0x100
/* 801175D8 00114538 4E 80 00 20 */ blr
.global sub_801175dc
sub_801175dc:
/* 801175DC 0011453C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801175E0 00114540 7C 08 02 A6 */ mflr r0
/* 801175E4 00114544 90 01 00 14 */ stw r0, 0x14(r1)
/* 801175E8 00114548 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801175EC 0011454C 7C 9F 23 78 */ mr r31, r4
/* 801175F0 00114550 93 C1 00 08 */ stw r30, 8(r1)
/* 801175F4 00114554 7C 7E 1B 78 */ mr r30, r3
/* 801175F8 00114558 48 00 00 39 */ bl sub_80117630
/* 801175FC 0011455C 80 1F 00 70 */ lwz r0, 0x70(r31)
/* 80117600 00114560 7F C3 F3 78 */ mr r3, r30
/* 80117604 00114564 90 1E 00 70 */ stw r0, 0x70(r30)
/* 80117608 00114568 88 1F 00 74 */ lbz r0, 0x74(r31)
/* 8011760C 0011456C 98 1E 00 74 */ stb r0, 0x74(r30)
/* 80117610 00114570 88 1F 00 75 */ lbz r0, 0x75(r31)
/* 80117614 00114574 98 1E 00 75 */ stb r0, 0x75(r30)
/* 80117618 00114578 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011761C 0011457C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80117620 00114580 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117624 00114584 7C 08 03 A6 */ mtlr r0
/* 80117628 00114588 38 21 00 10 */ addi r1, r1, 0x10
/* 8011762C 0011458C 4E 80 00 20 */ blr
.global sub_80117630
sub_80117630:
/* 80117630 00114590 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117634 00114594 7C 08 02 A6 */ mflr r0
/* 80117638 00114598 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011763C 0011459C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117640 001145A0 7C 7F 1B 78 */ mr r31, r3
/* 80117644 001145A4 7C 1F 20 40 */ cmplw r31, r4
/* 80117648 001145A8 40 82 00 08 */ bne lbl_80117650
/* 8011764C 001145AC 48 00 00 48 */ b lbl_80117694
lbl_80117650:
/* 80117650 001145B0 88 04 00 6C */ lbz r0, 0x6c(r4)
/* 80117654 001145B4 28 00 00 00 */ cmplwi r0, 0
/* 80117658 001145B8 41 82 00 0C */ beq lbl_80117664
/* 8011765C 001145BC 4B FF FC C9 */ bl sub_80117324
/* 80117660 001145C0 48 00 00 30 */ b lbl_80117690
lbl_80117664:
/* 80117664 001145C4 88 1F 00 6C */ lbz r0, 0x6c(r31)
/* 80117668 001145C8 28 00 00 00 */ cmplwi r0, 0
/* 8011766C 001145CC 41 82 00 1C */ beq lbl_80117688
/* 80117670 001145D0 28 1F 00 00 */ cmplwi r31, 0
/* 80117674 001145D4 41 82 00 14 */ beq lbl_80117688
/* 80117678 001145D8 41 82 00 10 */ beq lbl_80117688
/* 8011767C 001145DC 41 82 00 0C */ beq lbl_80117688
/* 80117680 001145E0 38 80 00 00 */ li r4, 0
/* 80117684 001145E4 48 22 97 BD */ bl __dt__6CTokenFv
lbl_80117688:
/* 80117688 001145E8 38 00 00 00 */ li r0, 0
/* 8011768C 001145EC 98 1F 00 6C */ stb r0, 0x6c(r31)
lbl_80117690:
/* 80117690 001145F0 7F E3 FB 78 */ mr r3, r31
lbl_80117694:
/* 80117694 001145F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117698 001145F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011769C 001145FC 7C 08 03 A6 */ mtlr r0
/* 801176A0 00114600 38 21 00 10 */ addi r1, r1, 0x10
/* 801176A4 00114604 4E 80 00 20 */ blr
.global "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>"
"__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>":
/* 801176A8 00114608 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801176AC 0011460C 7C 08 02 A6 */ mflr r0
/* 801176B0 00114610 90 01 00 24 */ stw r0, 0x24(r1)
/* 801176B4 00114614 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801176B8 00114618 7C FF 3B 78 */ mr r31, r7
/* 801176BC 0011461C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801176C0 00114620 7C DE 33 78 */ mr r30, r6
/* 801176C4 00114624 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801176C8 00114628 7C BD 2B 78 */ mr r29, r5
/* 801176CC 0011462C 93 81 00 10 */ stw r28, 0x10(r1)
/* 801176D0 00114630 7C 7C 1B 78 */ mr r28, r3
/* 801176D4 00114634 48 00 00 45 */ bl sub_80117718
/* 801176D8 00114638 80 1D 00 00 */ lwz r0, 0(r29)
/* 801176DC 0011463C 7F E4 07 74 */ extsb r4, r31
/* 801176E0 00114640 7F 83 E3 78 */ mr r3, r28
/* 801176E4 00114644 90 1C 00 70 */ stw r0, 0x70(r28)
/* 801176E8 00114648 9B DC 00 74 */ stb r30, 0x74(r28)
/* 801176EC 0011464C 88 1C 00 75 */ lbz r0, 0x75(r28)
/* 801176F0 00114650 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 801176F4 00114654 98 1C 00 75 */ stb r0, 0x75(r28)
/* 801176F8 00114658 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801176FC 0011465C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80117700 00114660 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80117704 00114664 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80117708 00114668 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8011770C 0011466C 7C 08 03 A6 */ mtlr r0
/* 80117710 00114670 38 21 00 20 */ addi r1, r1, 0x20
/* 80117714 00114674 4E 80 00 20 */ blr
.global sub_80117718
sub_80117718:
/* 80117718 00114678 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8011771C 0011467C 7C 08 02 A6 */ mflr r0
/* 80117720 00114680 90 01 00 24 */ stw r0, 0x24(r1)
/* 80117724 00114684 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80117728 00114688 7C 9F 23 78 */ mr r31, r4
/* 8011772C 0011468C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80117730 00114690 7C 7E 1B 78 */ mr r30, r3
/* 80117734 00114694 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80117738 00114698 93 81 00 10 */ stw r28, 0x10(r1)
/* 8011773C 0011469C 88 04 00 6C */ lbz r0, 0x6c(r4)
/* 80117740 001146A0 98 03 00 6C */ stb r0, 0x6c(r3)
/* 80117744 001146A4 88 04 00 6C */ lbz r0, 0x6c(r4)
/* 80117748 001146A8 28 00 00 00 */ cmplwi r0, 0
/* 8011774C 001146AC 41 82 00 94 */ beq lbl_801177E0
/* 80117750 001146B0 7F C0 F3 79 */ or. r0, r30, r30
/* 80117754 001146B4 41 82 00 8C */ beq lbl_801177E0
/* 80117758 001146B8 7C 1C 03 78 */ mr r28, r0
/* 8011775C 001146BC 7C 1D 03 78 */ mr r29, r0
/* 80117760 001146C0 48 22 97 49 */ bl __ct__6CTokenFRC6CToken
/* 80117764 001146C4 80 1F 00 08 */ lwz r0, 8(r31)
/* 80117768 001146C8 7F A3 EB 78 */ mr r3, r29
/* 8011776C 001146CC 90 1D 00 08 */ stw r0, 8(r29)
/* 80117770 001146D0 48 22 96 15 */ bl Lock__6CTokenFv
/* 80117774 001146D4 38 7C 00 0C */ addi r3, r28, 0xc
/* 80117778 001146D8 38 9F 00 0C */ addi r4, r31, 0xc
/* 8011777C 001146DC 48 1F B3 F9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80117780 001146E0 88 1F 00 3C */ lbz r0, 0x3c(r31)
/* 80117784 001146E4 98 1C 00 3C */ stb r0, 0x3c(r28)
/* 80117788 001146E8 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 8011778C 001146EC 90 1C 00 40 */ stw r0, 0x40(r28)
/* 80117790 001146F0 C0 1F 00 44 */ lfs f0, 0x44(r31)
/* 80117794 001146F4 D0 1C 00 44 */ stfs f0, 0x44(r28)
/* 80117798 001146F8 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8011779C 001146FC 98 1C 00 48 */ stb r0, 0x48(r28)
/* 801177A0 00114700 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 801177A4 00114704 90 1C 00 4C */ stw r0, 0x4c(r28)
/* 801177A8 00114708 C0 1F 00 50 */ lfs f0, 0x50(r31)
/* 801177AC 0011470C D0 1C 00 50 */ stfs f0, 0x50(r28)
/* 801177B0 00114710 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 801177B4 00114714 90 1C 00 54 */ stw r0, 0x54(r28)
/* 801177B8 00114718 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 801177BC 0011471C 90 1C 00 58 */ stw r0, 0x58(r28)
/* 801177C0 00114720 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 801177C4 00114724 90 1C 00 5C */ stw r0, 0x5c(r28)
/* 801177C8 00114728 C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 801177CC 0011472C D0 1C 00 60 */ stfs f0, 0x60(r28)
/* 801177D0 00114730 C0 1F 00 64 */ lfs f0, 0x64(r31)
/* 801177D4 00114734 D0 1C 00 64 */ stfs f0, 0x64(r28)
/* 801177D8 00114738 C0 1F 00 68 */ lfs f0, 0x68(r31)
/* 801177DC 0011473C D0 1C 00 68 */ stfs f0, 0x68(r28)
lbl_801177E0:
/* 801177E0 00114740 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801177E4 00114744 7F C3 F3 78 */ mr r3, r30
/* 801177E8 00114748 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801177EC 0011474C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801177F0 00114750 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801177F4 00114754 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801177F8 00114758 7C 08 03 A6 */ mtlr r0
/* 801177FC 0011475C 38 21 00 20 */ addi r1, r1, 0x20
/* 80117800 00114760 4E 80 00 20 */ blr
.global ShutDown__13CDecalManagerFv
ShutDown__13CDecalManagerFv:
/* 80117804 00114764 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117808 00114768 7C 08 02 A6 */ mflr r0
/* 8011780C 0011476C 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 80117810 00114770 38 80 00 00 */ li r4, 0
/* 80117814 00114774 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117818 00114778 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3)
/* 8011781C 0011477C 2C 05 00 00 */ cmpwi r5, 0
/* 80117820 00114780 40 81 00 40 */ ble lbl_80117860
/* 80117824 00114784 2C 05 00 08 */ cmpwi r5, 8
/* 80117828 00114788 38 65 FF F8 */ addi r3, r5, -8
/* 8011782C 0011478C 40 81 00 20 */ ble lbl_8011784C
/* 80117830 00114790 38 03 00 07 */ addi r0, r3, 7
/* 80117834 00114794 54 00 E8 FE */ srwi r0, r0, 3
/* 80117838 00114798 7C 09 03 A6 */ mtctr r0
/* 8011783C 0011479C 2C 03 00 00 */ cmpwi r3, 0
/* 80117840 001147A0 40 81 00 0C */ ble lbl_8011784C
lbl_80117844:
/* 80117844 001147A4 38 84 00 08 */ addi r4, r4, 8
/* 80117848 001147A8 42 00 FF FC */ bdnz lbl_80117844
lbl_8011784C:
/* 8011784C 001147AC 7C 04 28 50 */ subf r0, r4, r5
/* 80117850 001147B0 7C 09 03 A6 */ mtctr r0
/* 80117854 001147B4 7C 04 28 00 */ cmpw r4, r5
/* 80117858 001147B8 40 80 00 08 */ bge lbl_80117860
lbl_8011785C:
/* 8011785C 001147BC 42 00 00 00 */ bdnz lbl_8011785C
lbl_80117860:
/* 80117860 001147C0 3C 80 80 57 */ lis r4, lbl_8056F758@ha
/* 80117864 001147C4 38 00 00 00 */ li r0, 0
/* 80117868 001147C8 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 8011786C 001147CC 90 04 F7 58 */ stw r0, lbl_8056F758@l(r4)
/* 80117870 001147D0 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 80117874 001147D4 48 00 00 1D */ bl "data__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"
/* 80117878 001147D8 38 00 00 00 */ li r0, 0
/* 8011787C 001147DC 98 0D A3 6C */ stb r0, lbl_805A8F2C@sda21(r13)
/* 80117880 001147E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117884 001147E4 7C 08 03 A6 */ mtlr r0
/* 80117888 001147E8 38 21 00 10 */ addi r1, r1, 0x10
/* 8011788C 001147EC 4E 80 00 20 */ blr
.global "data__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"
"data__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv":
/* 80117890 001147F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80117894 001147F4 7C 08 02 A6 */ mflr r0
/* 80117898 001147F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011789C 001147FC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801178A0 00114800 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801178A4 00114804 3B C0 00 00 */ li r30, 0
/* 801178A8 00114808 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801178AC 0011480C 7C 7D 1B 78 */ mr r29, r3
/* 801178B0 00114810 3B FD 00 04 */ addi r31, r29, 4
/* 801178B4 00114814 48 00 00 14 */ b lbl_801178C8
lbl_801178B8:
/* 801178B8 00114818 7F E3 FB 78 */ mr r3, r31
/* 801178BC 0011481C 48 00 00 3D */ bl sub_801178f8
/* 801178C0 00114820 3B FF 00 78 */ addi r31, r31, 0x78
/* 801178C4 00114824 3B DE 00 01 */ addi r30, r30, 1
lbl_801178C8:
/* 801178C8 00114828 80 1D 00 00 */ lwz r0, 0(r29)
/* 801178CC 0011482C 7C 1E 00 00 */ cmpw r30, r0
/* 801178D0 00114830 41 80 FF E8 */ blt lbl_801178B8
/* 801178D4 00114834 38 00 00 00 */ li r0, 0
/* 801178D8 00114838 90 1D 00 00 */ stw r0, 0(r29)
/* 801178DC 0011483C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801178E0 00114840 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801178E4 00114844 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801178E8 00114848 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801178EC 0011484C 7C 08 03 A6 */ mtlr r0
/* 801178F0 00114850 38 21 00 20 */ addi r1, r1, 0x20
/* 801178F4 00114854 4E 80 00 20 */ blr
.global sub_801178f8
sub_801178f8:
/* 801178F8 00114858 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801178FC 0011485C 7C 08 02 A6 */ mflr r0
/* 80117900 00114860 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117904 00114864 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117908 00114868 7C 7F 1B 79 */ or. r31, r3, r3
/* 8011790C 0011486C 41 82 00 34 */ beq lbl_80117940
/* 80117910 00114870 41 82 00 30 */ beq lbl_80117940
/* 80117914 00114874 88 1F 00 6C */ lbz r0, 0x6c(r31)
/* 80117918 00114878 28 00 00 00 */ cmplwi r0, 0
/* 8011791C 0011487C 41 82 00 1C */ beq lbl_80117938
/* 80117920 00114880 28 1F 00 00 */ cmplwi r31, 0
/* 80117924 00114884 41 82 00 14 */ beq lbl_80117938
/* 80117928 00114888 41 82 00 10 */ beq lbl_80117938
/* 8011792C 0011488C 41 82 00 0C */ beq lbl_80117938
/* 80117930 00114890 38 80 00 00 */ li r4, 0
/* 80117934 00114894 48 22 95 0D */ bl __dt__6CTokenFv
lbl_80117938:
/* 80117938 00114898 38 00 00 00 */ li r0, 0
/* 8011793C 0011489C 98 1F 00 6C */ stb r0, 0x6c(r31)
lbl_80117940:
/* 80117940 001148A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117944 001148A4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117948 001148A8 7C 08 03 A6 */ mtlr r0
/* 8011794C 001148AC 38 21 00 10 */ addi r1, r1, 0x10
/* 80117950 001148B0 4E 80 00 20 */ blr
.global Initialize__13CDecalManagerFv
Initialize__13CDecalManagerFv:
/* 80117954 001148B4 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 80117958 001148B8 7C 08 02 A6 */ mflr r0
/* 8011795C 001148BC 90 01 01 04 */ stw r0, 0x104(r1)
/* 80117960 001148C0 93 E1 00 FC */ stw r31, 0xfc(r1)
/* 80117964 001148C4 93 C1 00 F8 */ stw r30, 0xf8(r1)
/* 80117968 001148C8 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13)
/* 8011796C 001148CC 28 00 00 00 */ cmplwi r0, 0
/* 80117970 001148D0 40 82 00 E4 */ bne lbl_80117A54
/* 80117974 001148D4 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80117978 001148D8 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l
/* 8011797C 001148DC 4B FF FF 15 */ bl "data__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"
/* 80117980 001148E0 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80117984 001148E4 3B C0 00 00 */ li r30, 0
/* 80117988 001148E8 3B E3 D8 50 */ addi r31, r3, lbl_8056D850@l
lbl_8011798C:
/* 8011798C 001148EC 39 00 00 00 */ li r8, 0
/* 80117990 001148F0 38 1E FF FF */ addi r0, r30, -1
/* 80117994 001148F4 99 01 00 F4 */ stb r8, 0xf4(r1)
/* 80117998 001148F8 38 61 00 10 */ addi r3, r1, 0x10
/* 8011799C 001148FC 38 81 00 88 */ addi r4, r1, 0x88
/* 801179A0 00114900 38 A1 00 0C */ addi r5, r1, 0xc
/* 801179A4 00114904 91 01 00 08 */ stw r8, 8(r1)
/* 801179A8 00114908 7C 06 07 74 */ extsb r6, r0
/* 801179AC 0011490C 38 E0 00 00 */ li r7, 0
/* 801179B0 00114910 91 01 00 0C */ stw r8, 0xc(r1)
/* 801179B4 00114914 4B FF FC F5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>"
/* 801179B8 00114918 7F E3 FB 78 */ mr r3, r31
/* 801179BC 0011491C 38 81 00 10 */ addi r4, r1, 0x10
/* 801179C0 00114920 48 00 00 AD */ bl sub_80117a6c
/* 801179C4 00114924 88 01 00 7C */ lbz r0, 0x7c(r1)
/* 801179C8 00114928 28 00 00 00 */ cmplwi r0, 0
/* 801179CC 0011492C 41 82 00 20 */ beq lbl_801179EC
/* 801179D0 00114930 34 61 00 10 */ addic. r3, r1, 0x10
/* 801179D4 00114934 41 82 00 18 */ beq lbl_801179EC
/* 801179D8 00114938 28 03 00 00 */ cmplwi r3, 0
/* 801179DC 0011493C 41 82 00 10 */ beq lbl_801179EC
/* 801179E0 00114940 41 82 00 0C */ beq lbl_801179EC
/* 801179E4 00114944 38 80 00 00 */ li r4, 0
/* 801179E8 00114948 48 22 94 59 */ bl __dt__6CTokenFv
lbl_801179EC:
/* 801179EC 0011494C 88 01 00 F4 */ lbz r0, 0xf4(r1)
/* 801179F0 00114950 38 60 00 00 */ li r3, 0
/* 801179F4 00114954 98 61 00 7C */ stb r3, 0x7c(r1)
/* 801179F8 00114958 28 00 00 00 */ cmplwi r0, 0
/* 801179FC 0011495C 41 82 00 20 */ beq lbl_80117A1C
/* 80117A00 00114960 34 61 00 88 */ addic. r3, r1, 0x88
/* 80117A04 00114964 41 82 00 18 */ beq lbl_80117A1C
/* 80117A08 00114968 28 03 00 00 */ cmplwi r3, 0
/* 80117A0C 0011496C 41 82 00 10 */ beq lbl_80117A1C
/* 80117A10 00114970 41 82 00 0C */ beq lbl_80117A1C
/* 80117A14 00114974 38 80 00 00 */ li r4, 0
/* 80117A18 00114978 48 22 94 29 */ bl __dt__6CTokenFv
lbl_80117A1C:
/* 80117A1C 0011497C 3B DE 00 01 */ addi r30, r30, 1
/* 80117A20 00114980 38 00 00 00 */ li r0, 0
/* 80117A24 00114984 2C 1E 00 40 */ cmpwi r30, 0x40
/* 80117A28 00114988 98 01 00 F4 */ stb r0, 0xf4(r1)
/* 80117A2C 0011498C 41 80 FF 60 */ blt lbl_8011798C
/* 80117A30 00114990 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2)
/* 80117A34 00114994 38 00 FF FF */ li r0, -1
/* 80117A38 00114998 38 80 00 3F */ li r4, 0x3f
/* 80117A3C 0011499C 38 60 00 01 */ li r3, 1
/* 80117A40 001149A0 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13)
/* 80117A44 001149A4 98 6D A3 6C */ stb r3, lbl_805A8F2C@sda21(r13)
/* 80117A48 001149A8 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13)
/* 80117A4C 001149AC 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13)
/* 80117A50 001149B0 90 0D A3 78 */ stw r0, lbl_805A8F38@sda21(r13)
lbl_80117A54:
/* 80117A54 001149B4 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80117A58 001149B8 83 E1 00 FC */ lwz r31, 0xfc(r1)
/* 80117A5C 001149BC 83 C1 00 F8 */ lwz r30, 0xf8(r1)
/* 80117A60 001149C0 7C 08 03 A6 */ mtlr r0
/* 80117A64 001149C4 38 21 01 00 */ addi r1, r1, 0x100
/* 80117A68 001149C8 4E 80 00 20 */ blr
.global sub_80117a6c
sub_80117a6c:
/* 80117A6C 001149CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117A70 001149D0 7C 08 02 A6 */ mflr r0
/* 80117A74 001149D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117A78 001149D8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117A7C 001149DC 7C 7F 1B 78 */ mr r31, r3
/* 80117A80 001149E0 80 03 00 00 */ lwz r0, 0(r3)
/* 80117A84 001149E4 1C 00 00 78 */ mulli r0, r0, 0x78
/* 80117A88 001149E8 7C 7F 02 14 */ add r3, r31, r0
/* 80117A8C 001149EC 38 63 00 04 */ addi r3, r3, 4
/* 80117A90 001149F0 48 00 00 25 */ bl sub_80117ab4
/* 80117A94 001149F4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80117A98 001149F8 38 03 00 01 */ addi r0, r3, 1
/* 80117A9C 001149FC 90 1F 00 00 */ stw r0, 0(r31)
/* 80117AA0 00114A00 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117AA4 00114A04 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117AA8 00114A08 7C 08 03 A6 */ mtlr r0
/* 80117AAC 00114A0C 38 21 00 10 */ addi r1, r1, 0x10
/* 80117AB0 00114A10 4E 80 00 20 */ blr
.global sub_80117ab4
sub_80117ab4:
/* 80117AB4 00114A14 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117AB8 00114A18 7C 08 02 A6 */ mflr r0
/* 80117ABC 00114A1C 28 03 00 00 */ cmplwi r3, 0
/* 80117AC0 00114A20 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117AC4 00114A24 41 82 00 08 */ beq lbl_80117ACC
/* 80117AC8 00114A28 48 00 00 15 */ bl sub_80117adc
lbl_80117ACC:
/* 80117ACC 00114A2C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117AD0 00114A30 7C 08 03 A6 */ mtlr r0
/* 80117AD4 00114A34 38 21 00 10 */ addi r1, r1, 0x10
/* 80117AD8 00114A38 4E 80 00 20 */ blr
.global sub_80117adc
sub_80117adc:
/* 80117ADC 00114A3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117AE0 00114A40 7C 08 02 A6 */ mflr r0
/* 80117AE4 00114A44 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117AE8 00114A48 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117AEC 00114A4C 7C 9F 23 78 */ mr r31, r4
/* 80117AF0 00114A50 93 C1 00 08 */ stw r30, 8(r1)
/* 80117AF4 00114A54 7C 7E 1B 78 */ mr r30, r3
/* 80117AF8 00114A58 4B FF FC 21 */ bl sub_80117718
/* 80117AFC 00114A5C 80 1F 00 70 */ lwz r0, 0x70(r31)
/* 80117B00 00114A60 7F C3 F3 78 */ mr r3, r30
/* 80117B04 00114A64 90 1E 00 70 */ stw r0, 0x70(r30)
/* 80117B08 00114A68 88 1F 00 74 */ lbz r0, 0x74(r31)
/* 80117B0C 00114A6C 98 1E 00 74 */ stb r0, 0x74(r30)
/* 80117B10 00114A70 88 1F 00 75 */ lbz r0, 0x75(r31)
/* 80117B14 00114A74 98 1E 00 75 */ stb r0, 0x75(r30)
/* 80117B18 00114A78 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117B1C 00114A7C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80117B20 00114A80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117B24 00114A84 7C 08 03 A6 */ mtlr r0
/* 80117B28 00114A88 38 21 00 10 */ addi r1, r1, 0x10
/* 80117B2C 00114A8C 4E 80 00 20 */ blr
.global __sinit_CDecalManager_cpp
__sinit_CDecalManager_cpp:
/* 80117B30 00114A90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117B34 00114A94 7C 08 02 A6 */ mflr r0
/* 80117B38 00114A98 3C 80 80 11 */ lis r4, "__dt__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"@ha
/* 80117B3C 00114A9C 3C A0 80 47 */ lis r5, lbl_8046C558@ha
/* 80117B40 00114AA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117B44 00114AA4 38 00 00 00 */ li r0, 0
/* 80117B48 00114AA8 3C 60 80 57 */ lis r3, lbl_8056D850@ha
/* 80117B4C 00114AAC 38 84 7C 20 */ addi r4, r4, "__dt__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"@l
/* 80117B50 00114AB0 94 03 D8 50 */ stwu r0, lbl_8056D850@l(r3)
/* 80117B54 00114AB4 38 A5 C5 58 */ addi r5, r5, lbl_8046C558@l
/* 80117B58 00114AB8 48 27 1B 35 */ bl __register_global_object
/* 80117B5C 00114ABC 38 00 00 00 */ li r0, 0
/* 80117B60 00114AC0 3C 60 80 57 */ lis r3, lbl_8056F758@ha
/* 80117B64 00114AC4 3C 80 80 11 */ lis r4, "__dt__Q24rstl21reserved_vector<i,64>Fv"@ha
/* 80117B68 00114AC8 3C A0 80 47 */ lis r5, lbl_8046C564@ha
/* 80117B6C 00114ACC 94 03 F7 58 */ stwu r0, lbl_8056F758@l(r3)
/* 80117B70 00114AD0 38 84 7B 8C */ addi r4, r4, "__dt__Q24rstl21reserved_vector<i,64>Fv"@l
/* 80117B74 00114AD4 38 A5 C5 64 */ addi r5, r5, lbl_8046C564@l
/* 80117B78 00114AD8 48 27 1B 15 */ bl __register_global_object
/* 80117B7C 00114ADC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117B80 00114AE0 7C 08 03 A6 */ mtlr r0
/* 80117B84 00114AE4 38 21 00 10 */ addi r1, r1, 0x10
/* 80117B88 00114AE8 4E 80 00 20 */ blr
.global "__dt__Q24rstl21reserved_vector<i,64>Fv"
"__dt__Q24rstl21reserved_vector<i,64>Fv":
/* 80117B8C 00114AEC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117B90 00114AF0 7C 08 02 A6 */ mflr r0
/* 80117B94 00114AF4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117B98 00114AF8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117B9C 00114AFC 7C 7F 1B 79 */ or. r31, r3, r3
/* 80117BA0 00114B00 41 82 00 68 */ beq lbl_80117C08
/* 80117BA4 00114B04 80 DF 00 00 */ lwz r6, 0(r31)
/* 80117BA8 00114B08 38 60 00 00 */ li r3, 0
/* 80117BAC 00114B0C 2C 06 00 00 */ cmpwi r6, 0
/* 80117BB0 00114B10 40 81 00 40 */ ble lbl_80117BF0
/* 80117BB4 00114B14 2C 06 00 08 */ cmpwi r6, 8
/* 80117BB8 00114B18 38 A6 FF F8 */ addi r5, r6, -8
/* 80117BBC 00114B1C 40 81 00 20 */ ble lbl_80117BDC
/* 80117BC0 00114B20 38 05 00 07 */ addi r0, r5, 7
/* 80117BC4 00114B24 54 00 E8 FE */ srwi r0, r0, 3
/* 80117BC8 00114B28 7C 09 03 A6 */ mtctr r0
/* 80117BCC 00114B2C 2C 05 00 00 */ cmpwi r5, 0
/* 80117BD0 00114B30 40 81 00 0C */ ble lbl_80117BDC
lbl_80117BD4:
/* 80117BD4 00114B34 38 63 00 08 */ addi r3, r3, 8
/* 80117BD8 00114B38 42 00 FF FC */ bdnz lbl_80117BD4
lbl_80117BDC:
/* 80117BDC 00114B3C 7C 03 30 50 */ subf r0, r3, r6
/* 80117BE0 00114B40 7C 09 03 A6 */ mtctr r0
/* 80117BE4 00114B44 7C 03 30 00 */ cmpw r3, r6
/* 80117BE8 00114B48 40 80 00 08 */ bge lbl_80117BF0
lbl_80117BEC:
/* 80117BEC 00114B4C 42 00 00 00 */ bdnz lbl_80117BEC
lbl_80117BF0:
/* 80117BF0 00114B50 38 60 00 00 */ li r3, 0
/* 80117BF4 00114B54 7C 80 07 35 */ extsh. r0, r4
/* 80117BF8 00114B58 90 7F 00 00 */ stw r3, 0(r31)
/* 80117BFC 00114B5C 40 81 00 0C */ ble lbl_80117C08
/* 80117C00 00114B60 7F E3 FB 78 */ mr r3, r31
/* 80117C04 00114B64 48 1F DD 2D */ bl Free__7CMemoryFPCv
lbl_80117C08:
/* 80117C08 00114B68 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117C0C 00114B6C 7F E3 FB 78 */ mr r3, r31
/* 80117C10 00114B70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117C14 00114B74 7C 08 03 A6 */ mtlr r0
/* 80117C18 00114B78 38 21 00 10 */ addi r1, r1, 0x10
/* 80117C1C 00114B7C 4E 80 00 20 */ blr
.global "__dt__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"
"__dt__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv":
/* 80117C20 00114B80 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80117C24 00114B84 7C 08 02 A6 */ mflr r0
/* 80117C28 00114B88 90 01 00 14 */ stw r0, 0x14(r1)
/* 80117C2C 00114B8C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80117C30 00114B90 7C 9F 23 78 */ mr r31, r4
/* 80117C34 00114B94 93 C1 00 08 */ stw r30, 8(r1)
/* 80117C38 00114B98 7C 7E 1B 79 */ or. r30, r3, r3
/* 80117C3C 00114B9C 41 82 00 18 */ beq lbl_80117C54
/* 80117C40 00114BA0 4B FF FC 51 */ bl "data__Q24rstl44reserved_vector<Q213CDecalManager6SDecal,64>Fv"
/* 80117C44 00114BA4 7F E0 07 35 */ extsh. r0, r31
/* 80117C48 00114BA8 40 81 00 0C */ ble lbl_80117C54
/* 80117C4C 00114BAC 7F C3 F3 78 */ mr r3, r30
/* 80117C50 00114BB0 48 1F DC E1 */ bl Free__7CMemoryFPCv
lbl_80117C54:
/* 80117C54 00114BB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80117C58 00114BB8 7F C3 F3 78 */ mr r3, r30
/* 80117C5C 00114BBC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80117C60 00114BC0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80117C64 00114BC4 7C 08 03 A6 */ mtlr r0
/* 80117C68 00114BC8 38 21 00 10 */ addi r1, r1, 0x10
/* 80117C6C 00114BCC 4E 80 00 20 */ blr

558
asm/Kyoto_CWD/CFluidPlane.s Normal file
View File

@ -0,0 +1,558 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global nullsub_209
nullsub_209:
/* 8012E90C 0012B86C 4E 80 00 20 */ blr
.global AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager
AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager:
/* 8012E910 0012B870 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012E914 0012B874 7C 08 02 A6 */ mflr r0
/* 8012E918 0012B878 7C A3 2B 78 */ mr r3, r5
/* 8012E91C 0012B87C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012E920 0012B880 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012E924 0012B884 7C DF 33 78 */ mr r31, r6
/* 8012E928 0012B888 93 C1 00 08 */ stw r30, 8(r1)
/* 8012E92C 0012B88C 7C 9E 23 78 */ mr r30, r4
/* 8012E930 0012B890 38 9E 00 08 */ addi r4, r30, 8
/* 8012E934 0012B894 4B FD 03 7D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f
/* 8012E938 0012B898 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012E93C 0012B89C 41 82 00 10 */ beq lbl_8012E94C
/* 8012E940 0012B8A0 80 7F 08 7C */ lwz r3, 0x87c(r31)
/* 8012E944 0012B8A4 7F C4 F3 78 */ mr r4, r30
/* 8012E948 0012B8A8 4B FE E6 05 */ bl AddRipple__14CRippleManagerFRC7CRipple
lbl_8012E94C:
/* 8012E94C 0012B8AC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012E950 0012B8B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012E954 0012B8B4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8012E958 0012B8B8 7C 08 03 A6 */ mtlr r0
/* 8012E95C 0012B8BC 38 21 00 10 */ addi r1, r1, 0x10
/* 8012E960 0012B8C0 4E 80 00 20 */ blr
.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f
AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f:
/* 8012E964 0012B8C4 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8012E968 0012B8C8 7C 08 02 A6 */ mflr r0
/* 8012E96C 0012B8CC 90 01 00 84 */ stw r0, 0x84(r1)
/* 8012E970 0012B8D0 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8012E974 0012B8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8012E978 0012B8D8 BF 41 00 58 */ stmw r26, 0x58(r1)
/* 8012E97C 0012B8DC FF E0 08 90 */ fmr f31, f1
/* 8012E980 0012B8E0 7C 7A 1B 78 */ mr r26, r3
/* 8012E984 0012B8E4 7C BC 2B 78 */ mr r28, r5
/* 8012E988 0012B8E8 7C 9B 23 78 */ mr r27, r4
/* 8012E98C 0012B8EC 7C DD 33 78 */ mr r29, r6
/* 8012E990 0012B8F0 7D 1E 43 78 */ mr r30, r8
/* 8012E994 0012B8F4 7D 3F 4B 78 */ mr r31, r9
/* 8012E998 0012B8F8 7C E3 3B 78 */ mr r3, r7
/* 8012E99C 0012B8FC 7F 84 E3 78 */ mr r4, r28
/* 8012E9A0 0012B900 4B FD 03 11 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f
/* 8012E9A4 0012B904 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012E9A8 0012B908 41 82 00 64 */ beq lbl_8012EA0C
/* 8012E9AC 0012B90C C0 5F 00 04 */ lfs f2, 4(r31)
/* 8012E9B0 0012B910 FC 20 F8 90 */ fmr f1, f31
/* 8012E9B4 0012B914 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8012E9B8 0012B918 7F 43 D3 78 */ mr r3, r26
/* 8012E9BC 0012B91C C0 7F 00 00 */ lfs f3, 0(r31)
/* 8012E9C0 0012B920 EC 02 00 32 */ fmuls f0, f2, f0
/* 8012E9C4 0012B924 C0 5D 00 00 */ lfs f2, 0(r29)
/* 8012E9C8 0012B928 C0 BF 00 08 */ lfs f5, 8(r31)
/* 8012E9CC 0012B92C C0 9D 00 08 */ lfs f4, 8(r29)
/* 8012E9D0 0012B930 EC 03 00 BA */ fmadds f0, f3, f2, f0
/* 8012E9D4 0012B934 EC 45 01 3A */ fmadds f2, f5, f4, f0
/* 8012E9D8 0012B938 48 00 00 F1 */ bl ProjectRippleVelocity__11CFluidPlaneCFff
/* 8012E9DC 0012B93C 7F 43 D3 78 */ mr r3, r26
/* 8012E9E0 0012B940 48 00 01 39 */ bl CalculateRippleIntensity__11CFluidPlaneCFf
/* 8012E9E4 0012B944 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8012E9E8 0012B948 7F 85 E3 78 */ mr r5, r28
/* 8012E9EC 0012B94C 38 61 00 0C */ addi r3, r1, 0xc
/* 8012E9F0 0012B950 38 81 00 08 */ addi r4, r1, 8
/* 8012E9F4 0012B954 B0 01 00 08 */ sth r0, 8(r1)
/* 8012E9F8 0012B958 83 FE 08 7C */ lwz r31, 0x87c(r30)
/* 8012E9FC 0012B95C 4B FE DF 21 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff
/* 8012EA00 0012B960 7C 64 1B 78 */ mr r4, r3
/* 8012EA04 0012B964 7F E3 FB 78 */ mr r3, r31
/* 8012EA08 0012B968 4B FE E5 45 */ bl AddRipple__14CRippleManagerFRC7CRipple
lbl_8012EA0C:
/* 8012EA0C 0012B96C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8012EA10 0012B970 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8012EA14 0012B974 BB 41 00 58 */ lmw r26, 0x58(r1)
/* 8012EA18 0012B978 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8012EA1C 0012B97C 7C 08 03 A6 */ mtlr r0
/* 8012EA20 0012B980 38 21 00 80 */ addi r1, r1, 0x80
/* 8012EA24 0012B984 4E 80 00 20 */ blr
.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager
AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager:
/* 8012EA28 0012B988 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8012EA2C 0012B98C 7C 08 02 A6 */ mflr r0
/* 8012EA30 0012B990 90 01 00 74 */ stw r0, 0x74(r1)
/* 8012EA34 0012B994 DB E1 00 68 */ stfd f31, 0x68(r1)
/* 8012EA38 0012B998 FF E0 08 90 */ fmr f31, f1
/* 8012EA3C 0012B99C 93 E1 00 64 */ stw r31, 0x64(r1)
/* 8012EA40 0012B9A0 7C FF 3B 78 */ mr r31, r7
/* 8012EA44 0012B9A4 93 C1 00 60 */ stw r30, 0x60(r1)
/* 8012EA48 0012B9A8 7C BE 2B 78 */ mr r30, r5
/* 8012EA4C 0012B9AC 93 A1 00 5C */ stw r29, 0x5c(r1)
/* 8012EA50 0012B9B0 7C 9D 23 78 */ mr r29, r4
/* 8012EA54 0012B9B4 7F C4 F3 78 */ mr r4, r30
/* 8012EA58 0012B9B8 93 81 00 58 */ stw r28, 0x58(r1)
/* 8012EA5C 0012B9BC 7C 7C 1B 78 */ mr r28, r3
/* 8012EA60 0012B9C0 7C C3 33 78 */ mr r3, r6
/* 8012EA64 0012B9C4 4B FD 02 4D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f
/* 8012EA68 0012B9C8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012EA6C 0012B9CC 41 82 00 38 */ beq lbl_8012EAA4
/* 8012EA70 0012B9D0 FC 20 F8 90 */ fmr f1, f31
/* 8012EA74 0012B9D4 7F 83 E3 78 */ mr r3, r28
/* 8012EA78 0012B9D8 48 00 00 A1 */ bl CalculateRippleIntensity__11CFluidPlaneCFf
/* 8012EA7C 0012B9DC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8012EA80 0012B9E0 7F C5 F3 78 */ mr r5, r30
/* 8012EA84 0012B9E4 38 61 00 0C */ addi r3, r1, 0xc
/* 8012EA88 0012B9E8 38 81 00 08 */ addi r4, r1, 8
/* 8012EA8C 0012B9EC B0 01 00 08 */ sth r0, 8(r1)
/* 8012EA90 0012B9F0 83 FF 08 7C */ lwz r31, 0x87c(r31)
/* 8012EA94 0012B9F4 4B FE DE 89 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff
/* 8012EA98 0012B9F8 7C 64 1B 78 */ mr r4, r3
/* 8012EA9C 0012B9FC 7F E3 FB 78 */ mr r3, r31
/* 8012EAA0 0012BA00 4B FE E4 AD */ bl AddRipple__14CRippleManagerFRC7CRipple
lbl_8012EAA4:
/* 8012EAA4 0012BA04 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8012EAA8 0012BA08 CB E1 00 68 */ lfd f31, 0x68(r1)
/* 8012EAAC 0012BA0C 83 E1 00 64 */ lwz r31, 0x64(r1)
/* 8012EAB0 0012BA10 83 C1 00 60 */ lwz r30, 0x60(r1)
/* 8012EAB4 0012BA14 83 A1 00 5C */ lwz r29, 0x5c(r1)
/* 8012EAB8 0012BA18 83 81 00 58 */ lwz r28, 0x58(r1)
/* 8012EABC 0012BA1C 7C 08 03 A6 */ mtlr r0
/* 8012EAC0 0012BA20 38 21 00 70 */ addi r1, r1, 0x70
/* 8012EAC4 0012BA24 4E 80 00 20 */ blr
.global ProjectRippleVelocity__11CFluidPlaneCFff
ProjectRippleVelocity__11CFluidPlaneCFff:
/* 8012EAC8 0012BA28 C0 02 98 CC */ lfs f0, lbl_805AB5EC@sda21(r2)
/* 8012EACC 0012BA2C C0 62 98 D0 */ lfs f3, lbl_805AB5F0@sda21(r2)
/* 8012EAD0 0012BA30 EC 00 00 72 */ fmuls f0, f0, f1
/* 8012EAD4 0012BA34 EC 00 00 B2 */ fmuls f0, f0, f2
/* 8012EAD8 0012BA38 EC 22 00 32 */ fmuls f1, f2, f0
/* 8012EADC 0012BA3C FC 03 08 00 */ fcmpu cr0, f3, f1
/* 8012EAE0 0012BA40 40 82 00 08 */ bne lbl_8012EAE8
/* 8012EAE4 0012BA44 48 00 00 10 */ b lbl_8012EAF4
lbl_8012EAE8:
/* 8012EAE8 0012BA48 FC 00 08 34 */ frsqrte f0, f1
/* 8012EAEC 0012BA4C FC 61 00 32 */ fmul f3, f1, f0
/* 8012EAF0 0012BA50 FC 60 18 18 */ frsp f3, f3
lbl_8012EAF4:
/* 8012EAF4 0012BA54 C0 02 98 DC */ lfs f0, lbl_805AB5FC@sda21(r2)
/* 8012EAF8 0012BA58 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 8012EAFC 0012BA5C 4C 41 13 82 */ cror 2, 1, 2
/* 8012EB00 0012BA60 40 82 00 0C */ bne lbl_8012EB0C
/* 8012EB04 0012BA64 C0 22 98 D4 */ lfs f1, lbl_805AB5F4@sda21(r2)
/* 8012EB08 0012BA68 4E 80 00 20 */ blr
lbl_8012EB0C:
/* 8012EB0C 0012BA6C C0 02 98 D8 */ lfs f0, lbl_805AB5F8@sda21(r2)
/* 8012EB10 0012BA70 EC 20 00 F2 */ fmuls f1, f0, f3
/* 8012EB14 0012BA74 4E 80 00 20 */ blr
.global CalculateRippleIntensity__11CFluidPlaneCFf
CalculateRippleIntensity__11CFluidPlaneCFf:
/* 8012EB18 0012BA78 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012EB1C 0012BA7C 80 03 00 44 */ lwz r0, 0x44(r3)
/* 8012EB20 0012BA80 2C 00 00 02 */ cmpwi r0, 2
/* 8012EB24 0012BA84 41 82 00 3C */ beq lbl_8012EB60
/* 8012EB28 0012BA88 40 80 00 14 */ bge lbl_8012EB3C
/* 8012EB2C 0012BA8C 2C 00 00 00 */ cmpwi r0, 0
/* 8012EB30 0012BA90 41 82 00 18 */ beq lbl_8012EB48
/* 8012EB34 0012BA94 40 80 00 20 */ bge lbl_8012EB54
/* 8012EB38 0012BA98 48 00 00 3C */ b lbl_8012EB74
lbl_8012EB3C:
/* 8012EB3C 0012BA9C 2C 00 00 05 */ cmpwi r0, 5
/* 8012EB40 0012BAA0 40 80 00 34 */ bge lbl_8012EB74
/* 8012EB44 0012BAA4 48 00 00 28 */ b lbl_8012EB6C
lbl_8012EB48:
/* 8012EB48 0012BAA8 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13)
/* 8012EB4C 0012BAAC C0 04 00 40 */ lfs f0, 0x40(r4)
/* 8012EB50 0012BAB0 48 00 00 28 */ b lbl_8012EB78
lbl_8012EB54:
/* 8012EB54 0012BAB4 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13)
/* 8012EB58 0012BAB8 C0 04 00 44 */ lfs f0, 0x44(r4)
/* 8012EB5C 0012BABC 48 00 00 1C */ b lbl_8012EB78
lbl_8012EB60:
/* 8012EB60 0012BAC0 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13)
/* 8012EB64 0012BAC4 C0 04 00 48 */ lfs f0, 0x48(r4)
/* 8012EB68 0012BAC8 48 00 00 10 */ b lbl_8012EB78
lbl_8012EB6C:
/* 8012EB6C 0012BACC C0 02 98 E0 */ lfs f0, lbl_805AB600@sda21(r2)
/* 8012EB70 0012BAD0 48 00 00 08 */ b lbl_8012EB78
lbl_8012EB74:
/* 8012EB74 0012BAD4 C0 02 98 D4 */ lfs f0, lbl_805AB5F4@sda21(r2)
lbl_8012EB78:
/* 8012EB78 0012BAD8 C0 42 98 D4 */ lfs f2, lbl_805AB5F4@sda21(r2)
/* 8012EB7C 0012BADC EC 81 00 32 */ fmuls f4, f1, f0
/* 8012EB80 0012BAE0 C0 03 00 48 */ lfs f0, 0x48(r3)
/* 8012EB84 0012BAE4 C0 AD 8B 08 */ lfs f5, lbl_805A76C8@sda21(r13)
/* 8012EB88 0012BAE8 EC 22 00 28 */ fsubs f1, f2, f0
/* 8012EB8C 0012BAEC C0 62 98 CC */ lfs f3, lbl_805AB5EC@sda21(r2)
/* 8012EB90 0012BAF0 C0 0D 8B 0C */ lfs f0, lbl_805A76CC@sda21(r13)
/* 8012EB94 0012BAF4 EC 25 10 7A */ fmadds f1, f5, f1, f2
/* 8012EB98 0012BAF8 EC 23 09 7C */ fnmsubs f1, f3, f5, f1
/* 8012EB9C 0012BAFC EC 24 00 72 */ fmuls f1, f4, f1
/* 8012EBA0 0012BB00 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012EBA4 0012BB04 D0 21 00 08 */ stfs f1, 8(r1)
/* 8012EBA8 0012BB08 40 80 00 0C */ bge lbl_8012EBB4
/* 8012EBAC 0012BB0C 38 6D 8B 0C */ addi r3, r13, lbl_805A76CC@sda21
/* 8012EBB0 0012BB10 48 00 00 08 */ b lbl_8012EBB8
lbl_8012EBB4:
/* 8012EBB4 0012BB14 38 61 00 08 */ addi r3, r1, 8
lbl_8012EBB8:
/* 8012EBB8 0012BB18 C0 2D 8B 10 */ lfs f1, lbl_805A76D0@sda21(r13)
/* 8012EBBC 0012BB1C C0 03 00 00 */ lfs f0, 0(r3)
/* 8012EBC0 0012BB20 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012EBC4 0012BB24 40 80 00 08 */ bge lbl_8012EBCC
/* 8012EBC8 0012BB28 38 6D 8B 10 */ addi r3, r13, lbl_805A76D0@sda21
lbl_8012EBCC:
/* 8012EBCC 0012BB2C C0 23 00 00 */ lfs f1, 0(r3)
/* 8012EBD0 0012BB30 D0 21 00 08 */ stfs f1, 8(r1)
/* 8012EBD4 0012BB34 38 21 00 10 */ addi r1, r1, 0x10
/* 8012EBD8 0012BB38 4E 80 00 20 */ blr
.global __dt__11CFluidPlaneFv
__dt__11CFluidPlaneFv:
/* 8012EBDC 0012BB3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012EBE0 0012BB40 7C 08 02 A6 */ mflr r0
/* 8012EBE4 0012BB44 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012EBE8 0012BB48 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012EBEC 0012BB4C 7C 9F 23 78 */ mr r31, r4
/* 8012EBF0 0012BB50 93 C1 00 08 */ stw r30, 8(r1)
/* 8012EBF4 0012BB54 7C 7E 1B 79 */ or. r30, r3, r3
/* 8012EBF8 0012BB58 41 82 01 20 */ beq lbl_8012ED18
/* 8012EBFC 0012BB5C 3C 60 80 3E */ lis r3, lbl_803E0CE0@ha
/* 8012EC00 0012BB60 34 1E 00 4C */ addic. r0, r30, 0x4c
/* 8012EC04 0012BB64 38 03 0C E0 */ addi r0, r3, lbl_803E0CE0@l
/* 8012EC08 0012BB68 90 1E 00 00 */ stw r0, 0(r30)
/* 8012EC0C 0012BB6C 41 82 00 60 */ beq lbl_8012EC6C
/* 8012EC10 0012BB70 34 1E 00 4C */ addic. r0, r30, 0x4c
/* 8012EC14 0012BB74 41 82 00 58 */ beq lbl_8012EC6C
/* 8012EC18 0012BB78 80 BE 00 4C */ lwz r5, 0x4c(r30)
/* 8012EC1C 0012BB7C 38 60 00 00 */ li r3, 0
/* 8012EC20 0012BB80 2C 05 00 00 */ cmpwi r5, 0
/* 8012EC24 0012BB84 40 81 00 40 */ ble lbl_8012EC64
/* 8012EC28 0012BB88 2C 05 00 08 */ cmpwi r5, 8
/* 8012EC2C 0012BB8C 38 85 FF F8 */ addi r4, r5, -8
/* 8012EC30 0012BB90 40 81 00 20 */ ble lbl_8012EC50
/* 8012EC34 0012BB94 38 04 00 07 */ addi r0, r4, 7
/* 8012EC38 0012BB98 54 00 E8 FE */ srwi r0, r0, 3
/* 8012EC3C 0012BB9C 7C 09 03 A6 */ mtctr r0
/* 8012EC40 0012BBA0 2C 04 00 00 */ cmpwi r4, 0
/* 8012EC44 0012BBA4 40 81 00 0C */ ble lbl_8012EC50
lbl_8012EC48:
/* 8012EC48 0012BBA8 38 63 00 08 */ addi r3, r3, 8
/* 8012EC4C 0012BBAC 42 00 FF FC */ bdnz lbl_8012EC48
lbl_8012EC50:
/* 8012EC50 0012BBB0 7C 03 28 50 */ subf r0, r3, r5
/* 8012EC54 0012BBB4 7C 09 03 A6 */ mtctr r0
/* 8012EC58 0012BBB8 7C 03 28 00 */ cmpw r3, r5
/* 8012EC5C 0012BBBC 40 80 00 08 */ bge lbl_8012EC64
lbl_8012EC60:
/* 8012EC60 0012BBC0 42 00 00 00 */ bdnz lbl_8012EC60
lbl_8012EC64:
/* 8012EC64 0012BBC4 38 00 00 00 */ li r0, 0
/* 8012EC68 0012BBC8 90 1E 00 4C */ stw r0, 0x4c(r30)
lbl_8012EC6C:
/* 8012EC6C 0012BBCC 34 1E 00 30 */ addic. r0, r30, 0x30
/* 8012EC70 0012BBD0 41 82 00 30 */ beq lbl_8012ECA0
/* 8012EC74 0012BBD4 88 1E 00 3C */ lbz r0, 0x3c(r30)
/* 8012EC78 0012BBD8 28 00 00 00 */ cmplwi r0, 0
/* 8012EC7C 0012BBDC 41 82 00 1C */ beq lbl_8012EC98
/* 8012EC80 0012BBE0 34 7E 00 30 */ addic. r3, r30, 0x30
/* 8012EC84 0012BBE4 41 82 00 14 */ beq lbl_8012EC98
/* 8012EC88 0012BBE8 28 03 00 00 */ cmplwi r3, 0
/* 8012EC8C 0012BBEC 41 82 00 0C */ beq lbl_8012EC98
/* 8012EC90 0012BBF0 38 80 00 00 */ li r4, 0
/* 8012EC94 0012BBF4 48 21 21 AD */ bl __dt__6CTokenFv
lbl_8012EC98:
/* 8012EC98 0012BBF8 38 00 00 00 */ li r0, 0
/* 8012EC9C 0012BBFC 98 1E 00 3C */ stb r0, 0x3c(r30)
lbl_8012ECA0:
/* 8012ECA0 0012BC00 34 1E 00 20 */ addic. r0, r30, 0x20
/* 8012ECA4 0012BC04 41 82 00 30 */ beq lbl_8012ECD4
/* 8012ECA8 0012BC08 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 8012ECAC 0012BC0C 28 00 00 00 */ cmplwi r0, 0
/* 8012ECB0 0012BC10 41 82 00 1C */ beq lbl_8012ECCC
/* 8012ECB4 0012BC14 34 7E 00 20 */ addic. r3, r30, 0x20
/* 8012ECB8 0012BC18 41 82 00 14 */ beq lbl_8012ECCC
/* 8012ECBC 0012BC1C 28 03 00 00 */ cmplwi r3, 0
/* 8012ECC0 0012BC20 41 82 00 0C */ beq lbl_8012ECCC
/* 8012ECC4 0012BC24 38 80 00 00 */ li r4, 0
/* 8012ECC8 0012BC28 48 21 21 79 */ bl __dt__6CTokenFv
lbl_8012ECCC:
/* 8012ECCC 0012BC2C 38 00 00 00 */ li r0, 0
/* 8012ECD0 0012BC30 98 1E 00 2C */ stb r0, 0x2c(r30)
lbl_8012ECD4:
/* 8012ECD4 0012BC34 34 1E 00 10 */ addic. r0, r30, 0x10
/* 8012ECD8 0012BC38 41 82 00 30 */ beq lbl_8012ED08
/* 8012ECDC 0012BC3C 88 1E 00 1C */ lbz r0, 0x1c(r30)
/* 8012ECE0 0012BC40 28 00 00 00 */ cmplwi r0, 0
/* 8012ECE4 0012BC44 41 82 00 1C */ beq lbl_8012ED00
/* 8012ECE8 0012BC48 34 7E 00 10 */ addic. r3, r30, 0x10
/* 8012ECEC 0012BC4C 41 82 00 14 */ beq lbl_8012ED00
/* 8012ECF0 0012BC50 28 03 00 00 */ cmplwi r3, 0
/* 8012ECF4 0012BC54 41 82 00 0C */ beq lbl_8012ED00
/* 8012ECF8 0012BC58 38 80 00 00 */ li r4, 0
/* 8012ECFC 0012BC5C 48 21 21 45 */ bl __dt__6CTokenFv
lbl_8012ED00:
/* 8012ED00 0012BC60 38 00 00 00 */ li r0, 0
/* 8012ED04 0012BC64 98 1E 00 1C */ stb r0, 0x1c(r30)
lbl_8012ED08:
/* 8012ED08 0012BC68 7F E0 07 35 */ extsh. r0, r31
/* 8012ED0C 0012BC6C 40 81 00 0C */ ble lbl_8012ED18
/* 8012ED10 0012BC70 7F C3 F3 78 */ mr r3, r30
/* 8012ED14 0012BC74 48 1E 6C 1D */ bl Free__7CMemoryFPCv
lbl_8012ED18:
/* 8012ED18 0012BC78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012ED1C 0012BC7C 7F C3 F3 78 */ mr r3, r30
/* 8012ED20 0012BC80 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012ED24 0012BC84 83 C1 00 08 */ lwz r30, 8(r1)
/* 8012ED28 0012BC88 7C 08 03 A6 */ mtlr r0
/* 8012ED2C 0012BC8C 38 21 00 10 */ addi r1, r1, 0x10
/* 8012ED30 0012BC90 4E 80 00 20 */ blr
.global __ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion
__ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion:
/* 8012ED34 0012BC94 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8012ED38 0012BC98 7C 08 02 A6 */ mflr r0
/* 8012ED3C 0012BC9C 3D 20 80 3E */ lis r9, lbl_803E0CE0@ha
/* 8012ED40 0012BCA0 90 01 00 74 */ stw r0, 0x74(r1)
/* 8012ED44 0012BCA4 38 00 00 00 */ li r0, 0
/* 8012ED48 0012BCA8 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8012ED4C 0012BCAC 7C 7F 1B 78 */ mr r31, r3
/* 8012ED50 0012BCB0 38 69 0C E0 */ addi r3, r9, lbl_803E0CE0@l
/* 8012ED54 0012BCB4 39 28 00 04 */ addi r9, r8, 4
/* 8012ED58 0012BCB8 93 C1 00 68 */ stw r30, 0x68(r1)
/* 8012ED5C 0012BCBC 90 7F 00 00 */ stw r3, 0(r31)
/* 8012ED60 0012BCC0 38 7F 00 50 */ addi r3, r31, 0x50
/* 8012ED64 0012BCC4 90 9F 00 04 */ stw r4, 4(r31)
/* 8012ED68 0012BCC8 90 BF 00 08 */ stw r5, 8(r31)
/* 8012ED6C 0012BCCC 90 DF 00 0C */ stw r6, 0xc(r31)
/* 8012ED70 0012BCD0 98 1F 00 1C */ stb r0, 0x1c(r31)
/* 8012ED74 0012BCD4 98 1F 00 2C */ stb r0, 0x2c(r31)
/* 8012ED78 0012BCD8 98 1F 00 3C */ stb r0, 0x3c(r31)
/* 8012ED7C 0012BCDC D0 3F 00 40 */ stfs f1, 0x40(r31)
/* 8012ED80 0012BCE0 90 FF 00 44 */ stw r7, 0x44(r31)
/* 8012ED84 0012BCE4 D0 5F 00 48 */ stfs f2, 0x48(r31)
/* 8012ED88 0012BCE8 80 08 00 00 */ lwz r0, 0(r8)
/* 8012ED8C 0012BCEC 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 8012ED90 0012BCF0 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 8012ED94 0012BCF4 7C 09 03 A6 */ mtctr r0
/* 8012ED98 0012BCF8 2C 00 00 00 */ cmpwi r0, 0
/* 8012ED9C 0012BCFC 40 81 00 48 */ ble lbl_8012EDE4
lbl_8012EDA0:
/* 8012EDA0 0012BD00 28 03 00 00 */ cmplwi r3, 0
/* 8012EDA4 0012BD04 41 82 00 34 */ beq lbl_8012EDD8
/* 8012EDA8 0012BD08 80 09 00 00 */ lwz r0, 0(r9)
/* 8012EDAC 0012BD0C 90 03 00 00 */ stw r0, 0(r3)
/* 8012EDB0 0012BD10 C0 09 00 04 */ lfs f0, 4(r9)
/* 8012EDB4 0012BD14 D0 03 00 04 */ stfs f0, 4(r3)
/* 8012EDB8 0012BD18 C0 09 00 08 */ lfs f0, 8(r9)
/* 8012EDBC 0012BD1C D0 03 00 08 */ stfs f0, 8(r3)
/* 8012EDC0 0012BD20 C0 09 00 0C */ lfs f0, 0xc(r9)
/* 8012EDC4 0012BD24 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8012EDC8 0012BD28 C0 09 00 10 */ lfs f0, 0x10(r9)
/* 8012EDCC 0012BD2C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8012EDD0 0012BD30 C0 09 00 14 */ lfs f0, 0x14(r9)
/* 8012EDD4 0012BD34 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8012EDD8:
/* 8012EDD8 0012BD38 38 63 00 18 */ addi r3, r3, 0x18
/* 8012EDDC 0012BD3C 39 29 00 18 */ addi r9, r9, 0x18
/* 8012EDE0 0012BD40 42 00 FF C0 */ bdnz lbl_8012EDA0
lbl_8012EDE4:
/* 8012EDE4 0012BD44 C0 08 00 4C */ lfs f0, 0x4c(r8)
/* 8012EDE8 0012BD48 D0 1F 00 98 */ stfs f0, 0x98(r31)
/* 8012EDEC 0012BD4C C0 08 00 50 */ lfs f0, 0x50(r8)
/* 8012EDF0 0012BD50 D0 1F 00 9C */ stfs f0, 0x9c(r31)
/* 8012EDF4 0012BD54 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8012EDF8 0012BD58 80 9F 00 04 */ lwz r4, 4(r31)
/* 8012EDFC 0012BD5C 38 63 00 04 */ addi r3, r3, 4
/* 8012EE00 0012BD60 48 20 CE CD */ bl GetResourceTypeById__10CResLoaderCFUi
/* 8012EE04 0012BD64 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 8012EE08 0012BD68 28 00 54 52 */ cmplwi r0, 0x5452
/* 8012EE0C 0012BD6C 40 82 00 C0 */ bne lbl_8012EECC
/* 8012EE10 0012BD70 80 DF 00 04 */ lwz r6, 4(r31)
/* 8012EE14 0012BD74 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8012EE18 0012BD78 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 8012EE1C 0012BD7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8012EE20 0012BD80 90 01 00 30 */ stw r0, 0x30(r1)
/* 8012EE24 0012BD84 38 61 00 28 */ addi r3, r1, 0x28
/* 8012EE28 0012BD88 38 A1 00 30 */ addi r5, r1, 0x30
/* 8012EE2C 0012BD8C 90 C1 00 34 */ stw r6, 0x34(r1)
/* 8012EE30 0012BD90 81 84 00 00 */ lwz r12, 0(r4)
/* 8012EE34 0012BD94 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012EE38 0012BD98 7D 89 03 A6 */ mtctr r12
/* 8012EE3C 0012BD9C 4E 80 04 21 */ bctrl
/* 8012EE40 0012BDA0 3B C1 00 50 */ addi r30, r1, 0x50
/* 8012EE44 0012BDA4 38 81 00 28 */ addi r4, r1, 0x28
/* 8012EE48 0012BDA8 7F C3 F3 78 */ mr r3, r30
/* 8012EE4C 0012BDAC 48 21 20 5D */ bl __ct__6CTokenFRC6CToken
/* 8012EE50 0012BDB0 7F C3 F3 78 */ mr r3, r30
/* 8012EE54 0012BDB4 48 21 1F B9 */ bl GetObj__6CTokenFv
/* 8012EE58 0012BDB8 80 03 00 04 */ lwz r0, 4(r3)
/* 8012EE5C 0012BDBC 90 01 00 58 */ stw r0, 0x58(r1)
/* 8012EE60 0012BDC0 88 1F 00 1C */ lbz r0, 0x1c(r31)
/* 8012EE64 0012BDC4 28 00 00 00 */ cmplwi r0, 0
/* 8012EE68 0012BDC8 40 82 00 34 */ bne lbl_8012EE9C
/* 8012EE6C 0012BDCC 37 DF 00 10 */ addic. r30, r31, 0x10
/* 8012EE70 0012BDD0 41 82 00 20 */ beq lbl_8012EE90
/* 8012EE74 0012BDD4 7F C3 F3 78 */ mr r3, r30
/* 8012EE78 0012BDD8 38 81 00 50 */ addi r4, r1, 0x50
/* 8012EE7C 0012BDDC 48 21 20 2D */ bl __ct__6CTokenFRC6CToken
/* 8012EE80 0012BDE0 80 01 00 58 */ lwz r0, 0x58(r1)
/* 8012EE84 0012BDE4 7F C3 F3 78 */ mr r3, r30
/* 8012EE88 0012BDE8 90 1E 00 08 */ stw r0, 8(r30)
/* 8012EE8C 0012BDEC 48 21 1E F9 */ bl Lock__6CTokenFv
lbl_8012EE90:
/* 8012EE90 0012BDF0 38 00 00 01 */ li r0, 1
/* 8012EE94 0012BDF4 98 1F 00 1C */ stb r0, 0x1c(r31)
/* 8012EE98 0012BDF8 48 00 00 1C */ b lbl_8012EEB4
lbl_8012EE9C:
/* 8012EE9C 0012BDFC 3B DF 00 10 */ addi r30, r31, 0x10
/* 8012EEA0 0012BE00 38 81 00 50 */ addi r4, r1, 0x50
/* 8012EEA4 0012BE04 7F C3 F3 78 */ mr r3, r30
/* 8012EEA8 0012BE08 48 21 1E 1D */ bl __as__6CTokenFRC6CToken
/* 8012EEAC 0012BE0C 80 01 00 58 */ lwz r0, 0x58(r1)
/* 8012EEB0 0012BE10 90 1E 00 08 */ stw r0, 8(r30)
lbl_8012EEB4:
/* 8012EEB4 0012BE14 38 61 00 50 */ addi r3, r1, 0x50
/* 8012EEB8 0012BE18 38 80 00 00 */ li r4, 0
/* 8012EEBC 0012BE1C 48 21 1F 85 */ bl __dt__6CTokenFv
/* 8012EEC0 0012BE20 38 61 00 28 */ addi r3, r1, 0x28
/* 8012EEC4 0012BE24 38 80 FF FF */ li r4, -1
/* 8012EEC8 0012BE28 48 21 1F 79 */ bl __dt__6CTokenFv
lbl_8012EECC:
/* 8012EECC 0012BE2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8012EED0 0012BE30 80 9F 00 08 */ lwz r4, 8(r31)
/* 8012EED4 0012BE34 38 63 00 04 */ addi r3, r3, 4
/* 8012EED8 0012BE38 48 20 CD F5 */ bl GetResourceTypeById__10CResLoaderCFUi
/* 8012EEDC 0012BE3C 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 8012EEE0 0012BE40 28 00 54 52 */ cmplwi r0, 0x5452
/* 8012EEE4 0012BE44 40 82 00 C0 */ bne lbl_8012EFA4
/* 8012EEE8 0012BE48 80 DF 00 08 */ lwz r6, 8(r31)
/* 8012EEEC 0012BE4C 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8012EEF0 0012BE50 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 8012EEF4 0012BE54 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8012EEF8 0012BE58 90 01 00 20 */ stw r0, 0x20(r1)
/* 8012EEFC 0012BE5C 38 61 00 18 */ addi r3, r1, 0x18
/* 8012EF00 0012BE60 38 A1 00 20 */ addi r5, r1, 0x20
/* 8012EF04 0012BE64 90 C1 00 24 */ stw r6, 0x24(r1)
/* 8012EF08 0012BE68 81 84 00 00 */ lwz r12, 0(r4)
/* 8012EF0C 0012BE6C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012EF10 0012BE70 7D 89 03 A6 */ mtctr r12
/* 8012EF14 0012BE74 4E 80 04 21 */ bctrl
/* 8012EF18 0012BE78 3B C1 00 44 */ addi r30, r1, 0x44
/* 8012EF1C 0012BE7C 38 81 00 18 */ addi r4, r1, 0x18
/* 8012EF20 0012BE80 7F C3 F3 78 */ mr r3, r30
/* 8012EF24 0012BE84 48 21 1F 85 */ bl __ct__6CTokenFRC6CToken
/* 8012EF28 0012BE88 7F C3 F3 78 */ mr r3, r30
/* 8012EF2C 0012BE8C 48 21 1E E1 */ bl GetObj__6CTokenFv
/* 8012EF30 0012BE90 80 03 00 04 */ lwz r0, 4(r3)
/* 8012EF34 0012BE94 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8012EF38 0012BE98 88 1F 00 2C */ lbz r0, 0x2c(r31)
/* 8012EF3C 0012BE9C 28 00 00 00 */ cmplwi r0, 0
/* 8012EF40 0012BEA0 40 82 00 34 */ bne lbl_8012EF74
/* 8012EF44 0012BEA4 37 DF 00 20 */ addic. r30, r31, 0x20
/* 8012EF48 0012BEA8 41 82 00 20 */ beq lbl_8012EF68
/* 8012EF4C 0012BEAC 7F C3 F3 78 */ mr r3, r30
/* 8012EF50 0012BEB0 38 81 00 44 */ addi r4, r1, 0x44
/* 8012EF54 0012BEB4 48 21 1F 55 */ bl __ct__6CTokenFRC6CToken
/* 8012EF58 0012BEB8 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8012EF5C 0012BEBC 7F C3 F3 78 */ mr r3, r30
/* 8012EF60 0012BEC0 90 1E 00 08 */ stw r0, 8(r30)
/* 8012EF64 0012BEC4 48 21 1E 21 */ bl Lock__6CTokenFv
lbl_8012EF68:
/* 8012EF68 0012BEC8 38 00 00 01 */ li r0, 1
/* 8012EF6C 0012BECC 98 1F 00 2C */ stb r0, 0x2c(r31)
/* 8012EF70 0012BED0 48 00 00 1C */ b lbl_8012EF8C
lbl_8012EF74:
/* 8012EF74 0012BED4 3B DF 00 20 */ addi r30, r31, 0x20
/* 8012EF78 0012BED8 38 81 00 44 */ addi r4, r1, 0x44
/* 8012EF7C 0012BEDC 7F C3 F3 78 */ mr r3, r30
/* 8012EF80 0012BEE0 48 21 1D 45 */ bl __as__6CTokenFRC6CToken
/* 8012EF84 0012BEE4 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8012EF88 0012BEE8 90 1E 00 08 */ stw r0, 8(r30)
lbl_8012EF8C:
/* 8012EF8C 0012BEEC 38 61 00 44 */ addi r3, r1, 0x44
/* 8012EF90 0012BEF0 38 80 00 00 */ li r4, 0
/* 8012EF94 0012BEF4 48 21 1E AD */ bl __dt__6CTokenFv
/* 8012EF98 0012BEF8 38 61 00 18 */ addi r3, r1, 0x18
/* 8012EF9C 0012BEFC 38 80 FF FF */ li r4, -1
/* 8012EFA0 0012BF00 48 21 1E A1 */ bl __dt__6CTokenFv
lbl_8012EFA4:
/* 8012EFA4 0012BF04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8012EFA8 0012BF08 80 9F 00 0C */ lwz r4, 0xc(r31)
/* 8012EFAC 0012BF0C 38 63 00 04 */ addi r3, r3, 4
/* 8012EFB0 0012BF10 48 20 CD 1D */ bl GetResourceTypeById__10CResLoaderCFUi
/* 8012EFB4 0012BF14 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 8012EFB8 0012BF18 28 00 54 52 */ cmplwi r0, 0x5452
/* 8012EFBC 0012BF1C 40 82 00 C0 */ bne lbl_8012F07C
/* 8012EFC0 0012BF20 80 DF 00 0C */ lwz r6, 0xc(r31)
/* 8012EFC4 0012BF24 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8012EFC8 0012BF28 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 8012EFCC 0012BF2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8012EFD0 0012BF30 90 01 00 10 */ stw r0, 0x10(r1)
/* 8012EFD4 0012BF34 38 61 00 08 */ addi r3, r1, 8
/* 8012EFD8 0012BF38 38 A1 00 10 */ addi r5, r1, 0x10
/* 8012EFDC 0012BF3C 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8012EFE0 0012BF40 81 84 00 00 */ lwz r12, 0(r4)
/* 8012EFE4 0012BF44 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012EFE8 0012BF48 7D 89 03 A6 */ mtctr r12
/* 8012EFEC 0012BF4C 4E 80 04 21 */ bctrl
/* 8012EFF0 0012BF50 3B C1 00 38 */ addi r30, r1, 0x38
/* 8012EFF4 0012BF54 38 81 00 08 */ addi r4, r1, 8
/* 8012EFF8 0012BF58 7F C3 F3 78 */ mr r3, r30
/* 8012EFFC 0012BF5C 48 21 1E AD */ bl __ct__6CTokenFRC6CToken
/* 8012F000 0012BF60 7F C3 F3 78 */ mr r3, r30
/* 8012F004 0012BF64 48 21 1E 09 */ bl GetObj__6CTokenFv
/* 8012F008 0012BF68 80 03 00 04 */ lwz r0, 4(r3)
/* 8012F00C 0012BF6C 90 01 00 40 */ stw r0, 0x40(r1)
/* 8012F010 0012BF70 88 1F 00 3C */ lbz r0, 0x3c(r31)
/* 8012F014 0012BF74 28 00 00 00 */ cmplwi r0, 0
/* 8012F018 0012BF78 40 82 00 34 */ bne lbl_8012F04C
/* 8012F01C 0012BF7C 37 DF 00 30 */ addic. r30, r31, 0x30
/* 8012F020 0012BF80 41 82 00 20 */ beq lbl_8012F040
/* 8012F024 0012BF84 7F C3 F3 78 */ mr r3, r30
/* 8012F028 0012BF88 38 81 00 38 */ addi r4, r1, 0x38
/* 8012F02C 0012BF8C 48 21 1E 7D */ bl __ct__6CTokenFRC6CToken
/* 8012F030 0012BF90 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8012F034 0012BF94 7F C3 F3 78 */ mr r3, r30
/* 8012F038 0012BF98 90 1E 00 08 */ stw r0, 8(r30)
/* 8012F03C 0012BF9C 48 21 1D 49 */ bl Lock__6CTokenFv
lbl_8012F040:
/* 8012F040 0012BFA0 38 00 00 01 */ li r0, 1
/* 8012F044 0012BFA4 98 1F 00 3C */ stb r0, 0x3c(r31)
/* 8012F048 0012BFA8 48 00 00 1C */ b lbl_8012F064
lbl_8012F04C:
/* 8012F04C 0012BFAC 3B DF 00 30 */ addi r30, r31, 0x30
/* 8012F050 0012BFB0 38 81 00 38 */ addi r4, r1, 0x38
/* 8012F054 0012BFB4 7F C3 F3 78 */ mr r3, r30
/* 8012F058 0012BFB8 48 21 1C 6D */ bl __as__6CTokenFRC6CToken
/* 8012F05C 0012BFBC 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8012F060 0012BFC0 90 1E 00 08 */ stw r0, 8(r30)
lbl_8012F064:
/* 8012F064 0012BFC4 38 61 00 38 */ addi r3, r1, 0x38
/* 8012F068 0012BFC8 38 80 00 00 */ li r4, 0
/* 8012F06C 0012BFCC 48 21 1D D5 */ bl __dt__6CTokenFv
/* 8012F070 0012BFD0 38 61 00 08 */ addi r3, r1, 8
/* 8012F074 0012BFD4 38 80 FF FF */ li r4, -1
/* 8012F078 0012BFD8 48 21 1D C9 */ bl __dt__6CTokenFv
lbl_8012F07C:
/* 8012F07C 0012BFDC 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8012F080 0012BFE0 7F E3 FB 78 */ mr r3, r31
/* 8012F084 0012BFE4 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8012F088 0012BFE8 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8012F08C 0012BFEC 7C 08 03 A6 */ mtlr r0
/* 8012F090 0012BFF0 38 21 00 70 */ addi r1, r1, 0x70
/* 8012F094 0012BFF4 4E 80 00 20 */ blr
.global sub_8012f098
sub_8012f098:
/* 8012F098 0012BFF8 38 60 00 00 */ li r3, 0
/* 8012F09C 0012BFFC 4E 80 00 20 */ blr

View File

@ -0,0 +1,502 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global SetupRippleMap__18CFluidPlaneManagerFv
SetupRippleMap__18CFluidPlaneManagerFv:
/* 8012F0A0 0012C000 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8012F0A4 0012C004 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8012F0A8 0012C008 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8012F0AC 0012C00C DB C1 00 60 */ stfd f30, 0x60(r1)
/* 8012F0B0 0012C010 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 8012F0B4 0012C014 DB A1 00 50 */ stfd f29, 0x50(r1)
/* 8012F0B8 0012C018 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 8012F0BC 0012C01C DB 81 00 40 */ stfd f28, 0x40(r1)
/* 8012F0C0 0012C020 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 8012F0C4 0012C024 DB 61 00 30 */ stfd f27, 0x30(r1)
/* 8012F0C8 0012C028 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0
/* 8012F0CC 0012C02C DB 41 00 20 */ stfd f26, 0x20(r1)
/* 8012F0D0 0012C030 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0
/* 8012F0D4 0012C034 C3 A2 98 F8 */ lfs f29, lbl_805AB618@sda21(r2)
/* 8012F0D8 0012C038 3C 60 80 57 */ lis r3, lbl_8057198C@ha
/* 8012F0DC 0012C03C 3C A0 80 57 */ lis r5, lbl_8057094C@ha
/* 8012F0E0 0012C040 3C 80 80 57 */ lis r4, lbl_8057194C@ha
/* 8012F0E4 0012C044 FC A0 E8 90 */ fmr f5, f29
/* 8012F0E8 0012C048 39 23 19 8C */ addi r9, r3, lbl_8057198C@l
/* 8012F0EC 0012C04C C1 22 99 00 */ lfs f9, lbl_805AB620@sda21(r2)
/* 8012F0F0 0012C050 38 E5 09 4C */ addi r7, r5, lbl_8057094C@l
/* 8012F0F4 0012C054 C1 02 99 08 */ lfs f8, lbl_805AB628@sda21(r2)
/* 8012F0F8 0012C058 39 04 19 4C */ addi r8, r4, lbl_8057194C@l
/* 8012F0FC 0012C05C C0 E2 98 FC */ lfs f7, lbl_805AB61C@sda21(r2)
/* 8012F100 0012C060 39 40 00 00 */ li r10, 0
/* 8012F104 0012C064 C0 C2 99 04 */ lfs f6, lbl_805AB624@sda21(r2)
/* 8012F108 0012C068 C0 42 99 1C */ lfs f2, lbl_805AB63C@sda21(r2)
/* 8012F10C 0012C06C C0 02 99 20 */ lfs f0, lbl_805AB640@sda21(r2)
/* 8012F110 0012C070 80 CD 8B 18 */ lwz r6, lbl_805A76D8@sda21(r13)
/* 8012F114 0012C074 80 6D 8B 1C */ lwz r3, lbl_805A76DC@sda21(r13)
lbl_8012F118:
/* 8012F118 0012C078 C3 82 98 F8 */ lfs f28, lbl_805AB618@sda21(r2)
/* 8012F11C 0012C07C 38 00 00 40 */ li r0, 0x40
/* 8012F120 0012C080 7C E5 3B 78 */ mr r5, r7
/* 8012F124 0012C084 C3 62 98 FC */ lfs f27, lbl_805AB61C@sda21(r2)
/* 8012F128 0012C088 FF 40 E0 90 */ fmr f26, f28
/* 8012F12C 0012C08C 7C 09 03 A6 */ mtctr r0
lbl_8012F130:
/* 8012F130 0012C090 EF C7 E0 28 */ fsubs f30, f7, f28
/* 8012F134 0012C094 FD 60 E0 90 */ fmr f11, f28
/* 8012F138 0012C098 FC 1C 28 40 */ fcmpo cr0, f28, f5
/* 8012F13C 0012C09C EC 28 37 BA */ fmadds f1, f8, f30, f6
/* 8012F140 0012C0A0 ED 49 E0 7A */ fmadds f10, f9, f1, f28
/* 8012F144 0012C0A4 40 80 00 0C */ bge lbl_8012F150
/* 8012F148 0012C0A8 FD 60 28 90 */ fmr f11, f5
/* 8012F14C 0012C0AC 48 00 00 10 */ b lbl_8012F15C
lbl_8012F150:
/* 8012F150 0012C0B0 FC 0A 38 40 */ fcmpo cr0, f10, f7
/* 8012F154 0012C0B4 40 81 00 08 */ ble lbl_8012F15C
/* 8012F158 0012C0B8 FD 40 38 90 */ fmr f10, f7
lbl_8012F15C:
/* 8012F15C 0012C0BC FC 1D 58 40 */ fcmpo cr0, f29, f11
/* 8012F160 0012C0C0 C0 62 98 F8 */ lfs f3, lbl_805AB618@sda21(r2)
/* 8012F164 0012C0C4 4C 41 13 82 */ cror 2, 1, 2
/* 8012F168 0012C0C8 40 82 00 58 */ bne lbl_8012F1C0
/* 8012F16C 0012C0CC FC 1D 50 40 */ fcmpo cr0, f29, f10
/* 8012F170 0012C0D0 4C 40 13 82 */ cror 2, 0, 2
/* 8012F174 0012C0D4 40 82 00 4C */ bne lbl_8012F1C0
/* 8012F178 0012C0D8 EC 9D 58 28 */ fsubs f4, f29, f11
/* 8012F17C 0012C0DC C0 22 99 0C */ lfs f1, lbl_805AB62C@sda21(r2)
/* 8012F180 0012C0E0 EC 6A 58 28 */ fsubs f3, f10, f11
/* 8012F184 0012C0E4 EC 84 18 24 */ fdivs f4, f4, f3
/* 8012F188 0012C0E8 FC 04 08 40 */ fcmpo cr0, f4, f1
/* 8012F18C 0012C0EC 40 80 00 10 */ bge lbl_8012F19C
/* 8012F190 0012C0F0 C0 22 99 10 */ lfs f1, lbl_805AB630@sda21(r2)
/* 8012F194 0012C0F4 EC 61 01 32 */ fmuls f3, f1, f4
/* 8012F198 0012C0F8 48 00 00 28 */ b lbl_8012F1C0
lbl_8012F19C:
/* 8012F19C 0012C0FC C0 22 99 14 */ lfs f1, lbl_805AB634@sda21(r2)
/* 8012F1A0 0012C100 FC 04 08 40 */ fcmpo cr0, f4, f1
/* 8012F1A4 0012C104 40 81 00 18 */ ble lbl_8012F1BC
/* 8012F1A8 0012C108 C0 22 98 FC */ lfs f1, lbl_805AB61C@sda21(r2)
/* 8012F1AC 0012C10C C0 62 99 18 */ lfs f3, lbl_805AB638@sda21(r2)
/* 8012F1B0 0012C110 EC 21 20 28 */ fsubs f1, f1, f4
/* 8012F1B4 0012C114 EC 63 00 72 */ fmuls f3, f3, f1
/* 8012F1B8 0012C118 48 00 00 08 */ b lbl_8012F1C0
lbl_8012F1BC:
/* 8012F1BC 0012C11C C0 62 98 FC */ lfs f3, lbl_805AB61C@sda21(r2)
lbl_8012F1C0:
/* 8012F1C0 0012C120 EC 3E 07 B2 */ fmuls f1, f30, f30
/* 8012F1C4 0012C124 EC 23 00 72 */ fmuls f1, f3, f1
/* 8012F1C8 0012C128 ED 82 00 72 */ fmuls f12, f2, f1
/* 8012F1CC 0012C12C F1 81 A0 0A */ psq_st f12, 10(r1), 1, qr2
/* 8012F1D0 0012C130 88 81 00 0A */ lbz r4, 0xa(r1)
/* 8012F1D4 0012C134 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8012F1D8 0012C138 98 85 00 00 */ stb r4, 0(r5)
/* 8012F1DC 0012C13C 41 82 00 10 */ beq lbl_8012F1EC
/* 8012F1E0 0012C140 FC 1C D8 40 */ fcmpo cr0, f28, f27
/* 8012F1E4 0012C144 40 80 00 08 */ bge lbl_8012F1EC
/* 8012F1E8 0012C148 FF 60 E0 90 */ fmr f27, f28
lbl_8012F1EC:
/* 8012F1EC 0012C14C 28 00 00 00 */ cmplwi r0, 0
/* 8012F1F0 0012C150 41 82 00 10 */ beq lbl_8012F200
/* 8012F1F4 0012C154 FC 1C D0 40 */ fcmpo cr0, f28, f26
/* 8012F1F8 0012C158 40 81 00 08 */ ble lbl_8012F200
/* 8012F1FC 0012C15C FF 40 E0 90 */ fmr f26, f28
lbl_8012F200:
/* 8012F200 0012C160 EF 9C 00 2A */ fadds f28, f28, f0
/* 8012F204 0012C164 38 A5 00 01 */ addi r5, r5, 1
/* 8012F208 0012C168 42 00 FF 28 */ bdnz lbl_8012F130
/* 8012F20C 0012C16C ED A2 06 F2 */ fmuls f13, f2, f27
/* 8012F210 0012C170 F1 A1 A0 09 */ psq_st f13, 9(r1), 1, qr2
/* 8012F214 0012C174 38 8D 8B 18 */ addi r4, r13, lbl_805A76D8@sda21
/* 8012F218 0012C178 88 A1 00 09 */ lbz r5, 9(r1)
/* 8012F21C 0012C17C 38 05 FF FF */ addi r0, r5, -1
/* 8012F220 0012C180 7C 06 00 00 */ cmpw r6, r0
/* 8012F224 0012C184 90 01 00 10 */ stw r0, 0x10(r1)
/* 8012F228 0012C188 40 80 00 08 */ bge lbl_8012F230
/* 8012F22C 0012C18C 38 81 00 10 */ addi r4, r1, 0x10
lbl_8012F230:
/* 8012F230 0012C190 EF E2 06 B2 */ fmuls f31, f2, f26
/* 8012F234 0012C194 80 04 00 00 */ lwz r0, 0(r4)
/* 8012F238 0012C198 98 08 00 00 */ stb r0, 0(r8)
/* 8012F23C 0012C19C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 8012F240 0012C1A0 38 8D 8B 1C */ addi r4, r13, lbl_805A76DC@sda21
/* 8012F244 0012C1A4 88 A1 00 08 */ lbz r5, 8(r1)
/* 8012F248 0012C1A8 38 05 00 01 */ addi r0, r5, 1
/* 8012F24C 0012C1AC 7C 00 18 00 */ cmpw r0, r3
/* 8012F250 0012C1B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8012F254 0012C1B4 40 80 00 08 */ bge lbl_8012F25C
/* 8012F258 0012C1B8 38 81 00 0C */ addi r4, r1, 0xc
lbl_8012F25C:
/* 8012F25C 0012C1BC 80 04 00 00 */ lwz r0, 0(r4)
/* 8012F260 0012C1C0 39 4A 00 01 */ addi r10, r10, 1
/* 8012F264 0012C1C4 2C 0A 00 40 */ cmpwi r10, 0x40
/* 8012F268 0012C1C8 EF BD 00 2A */ fadds f29, f29, f0
/* 8012F26C 0012C1CC 98 09 00 00 */ stb r0, 0(r9)
/* 8012F270 0012C1D0 39 08 00 01 */ addi r8, r8, 1
/* 8012F274 0012C1D4 39 29 00 01 */ addi r9, r9, 1
/* 8012F278 0012C1D8 38 E7 00 40 */ addi r7, r7, 0x40
/* 8012F27C 0012C1DC 41 80 FE 9C */ blt lbl_8012F118
/* 8012F280 0012C1E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8012F284 0012C1E4 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8012F288 0012C1E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 8012F28C 0012C1EC CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8012F290 0012C1F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 8012F294 0012C1F4 CB A1 00 50 */ lfd f29, 0x50(r1)
/* 8012F298 0012C1F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 8012F29C 0012C1FC CB 81 00 40 */ lfd f28, 0x40(r1)
/* 8012F2A0 0012C200 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0
/* 8012F2A4 0012C204 CB 61 00 30 */ lfd f27, 0x30(r1)
/* 8012F2A8 0012C208 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0
/* 8012F2AC 0012C20C CB 41 00 20 */ lfd f26, 0x20(r1)
/* 8012F2B0 0012C210 38 21 00 80 */ addi r1, r1, 0x80
/* 8012F2B4 0012C214 4E 80 00 20 */ blr
.global CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb
CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb:
/* 8012F2B8 0012C218 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8012F2BC 0012C21C 7C 08 02 A6 */ mflr r0
/* 8012F2C0 0012C220 90 01 01 04 */ stw r0, 0x104(r1)
/* 8012F2C4 0012C224 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 8012F2C8 0012C228 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 8012F2CC 0012C22C DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 8012F2D0 0012C230 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 8012F2D4 0012C234 BF 01 00 C0 */ stmw r24, 0xc0(r1)
/* 8012F2D8 0012C238 FF C0 08 90 */ fmr f30, f1
/* 8012F2DC 0012C23C 7C DC 33 78 */ mr r28, r6
/* 8012F2E0 0012C240 7C FD 3B 78 */ mr r29, r7
/* 8012F2E4 0012C244 7C 79 1B 78 */ mr r25, r3
/* 8012F2E8 0012C248 7C 98 23 78 */ mr r24, r4
/* 8012F2EC 0012C24C 7C BB 2B 78 */ mr r27, r5
/* 8012F2F0 0012C250 7D 1E 43 78 */ mr r30, r8
/* 8012F2F4 0012C254 7F 83 E3 78 */ mr r3, r28
/* 8012F2F8 0012C258 7F A4 EB 78 */ mr r4, r29
/* 8012F2FC 0012C25C 4B FC F9 B5 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f
/* 8012F300 0012C260 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012F304 0012C264 41 82 02 58 */ beq lbl_8012F55C
/* 8012F308 0012C268 C0 22 98 F8 */ lfs f1, lbl_805AB618@sda21(r2)
/* 8012F30C 0012C26C 38 D9 00 1C */ addi r6, r25, 0x1c
/* 8012F310 0012C270 38 99 00 18 */ addi r4, r25, 0x18
/* 8012F314 0012C274 38 A0 00 00 */ li r5, 0
/* 8012F318 0012C278 48 00 00 1C */ b lbl_8012F334
lbl_8012F31C:
/* 8012F31C 0012C27C C0 06 00 00 */ lfs f0, 0(r6)
/* 8012F320 0012C280 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8012F324 0012C284 40 81 00 0C */ ble lbl_8012F330
/* 8012F328 0012C288 7C C5 33 78 */ mr r5, r6
/* 8012F32C 0012C28C FC 20 00 90 */ fmr f1, f0
lbl_8012F330:
/* 8012F330 0012C290 38 C6 00 08 */ addi r6, r6, 8
lbl_8012F334:
/* 8012F334 0012C294 80 04 00 00 */ lwz r0, 0(r4)
/* 8012F338 0012C298 54 00 18 38 */ slwi r0, r0, 3
/* 8012F33C 0012C29C 7C 64 02 14 */ add r3, r4, r0
/* 8012F340 0012C2A0 38 03 00 04 */ addi r0, r3, 4
/* 8012F344 0012C2A4 7C 06 00 40 */ cmplw r6, r0
/* 8012F348 0012C2A8 40 82 FF D4 */ bne lbl_8012F31C
/* 8012F34C 0012C2AC A0 18 00 00 */ lhz r0, 0(r24)
/* 8012F350 0012C2B0 28 05 00 00 */ cmplwi r5, 0
/* 8012F354 0012C2B4 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2)
/* 8012F358 0012C2B8 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8012F35C 0012C2BC D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 8012F360 0012C2C0 B0 01 00 40 */ sth r0, 0x40(r1)
/* 8012F364 0012C2C4 41 82 00 10 */ beq lbl_8012F374
/* 8012F368 0012C2C8 D0 05 00 00 */ stfs f0, 0(r5)
/* 8012F36C 0012C2CC B0 05 00 04 */ sth r0, 4(r5)
/* 8012F370 0012C2D0 48 00 00 20 */ b lbl_8012F390
lbl_8012F374:
/* 8012F374 0012C2D4 34 63 00 04 */ addic. r3, r3, 4
/* 8012F378 0012C2D8 41 82 00 0C */ beq lbl_8012F384
/* 8012F37C 0012C2DC D0 03 00 00 */ stfs f0, 0(r3)
/* 8012F380 0012C2E0 B0 03 00 04 */ sth r0, 4(r3)
lbl_8012F384:
/* 8012F384 0012C2E4 80 64 00 00 */ lwz r3, 0(r4)
/* 8012F388 0012C2E8 38 03 00 01 */ addi r0, r3, 1
/* 8012F38C 0012C2EC 90 04 00 00 */ stw r0, 0(r4)
lbl_8012F390:
/* 8012F390 0012C2F0 FC 20 F0 90 */ fmr f1, f30
/* 8012F394 0012C2F4 7F 83 E3 78 */ mr r3, r28
/* 8012F398 0012C2F8 4B FD 02 89 */ bl GetSplashEffectScale__12CScriptWaterCFf
/* 8012F39C 0012C2FC FF E0 08 90 */ fmr f31, f1
/* 8012F3A0 0012C300 7F 83 E3 78 */ mr r3, r28
/* 8012F3A4 0012C304 FC 20 F0 90 */ fmr f1, f30
/* 8012F3A8 0012C308 4B FD 03 55 */ bl GetSplashEffect__12CScriptWaterCFf
/* 8012F3AC 0012C30C 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8012F3B0 0012C310 28 00 00 00 */ cmplwi r0, 0
/* 8012F3B4 0012C314 41 82 01 5C */ beq lbl_8012F510
/* 8012F3B8 0012C318 3C 60 80 3D */ lis r3, lbl_803D0038@ha
/* 8012F3BC 0012C31C 3B 40 00 00 */ li r26, 0
/* 8012F3C0 0012C320 38 83 00 38 */ addi r4, r3, lbl_803D0038@l
/* 8012F3C4 0012C324 3B 20 00 00 */ li r25, 0
/* 8012F3C8 0012C328 38 60 01 00 */ li r3, 0x100
/* 8012F3CC 0012C32C 38 A0 00 00 */ li r5, 0
/* 8012F3D0 0012C330 48 1E 64 9D */ bl __nw__FUlPCcPCc
/* 8012F3D4 0012C334 7C 7F 1B 79 */ or. r31, r3, r3
/* 8012F3D8 0012C338 41 82 00 C8 */ beq lbl_8012F4A0
/* 8012F3DC 0012C33C 3C 60 80 3D */ lis r3, lbl_803D0038@ha
/* 8012F3E0 0012C340 D3 E1 00 60 */ stfs f31, 0x60(r1)
/* 8012F3E4 0012C344 38 83 00 38 */ addi r4, r3, lbl_803D0038@l
/* 8012F3E8 0012C348 38 61 00 50 */ addi r3, r1, 0x50
/* 8012F3EC 0012C34C D3 E1 00 64 */ stfs f31, 0x64(r1)
/* 8012F3F0 0012C350 38 84 00 07 */ addi r4, r4, 7
/* 8012F3F4 0012C354 D3 E1 00 68 */ stfs f31, 0x68(r1)
/* 8012F3F8 0012C358 4B ED 58 C1 */ bl string_l__4rstlFPCc
/* 8012F3FC 0012C35C 80 1C 00 04 */ lwz r0, 4(r28)
/* 8012F400 0012C360 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 8012F404 0012C364 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13)
/* 8012F408 0012C368 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l
/* 8012F40C 0012C36C 90 01 00 30 */ stw r0, 0x30(r1)
/* 8012F410 0012C370 38 61 00 6C */ addi r3, r1, 0x6c
/* 8012F414 0012C374 38 81 00 34 */ addi r4, r1, 0x34
/* 8012F418 0012C378 3B 40 00 01 */ li r26, 1
/* 8012F41C 0012C37C 90 C1 00 38 */ stw r6, 0x38(r1)
/* 8012F420 0012C380 38 C1 00 38 */ addi r6, r1, 0x38
/* 8012F424 0012C384 90 01 00 34 */ stw r0, 0x34(r1)
/* 8012F428 0012C388 4B F2 20 5D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 8012F42C 0012C38C 7F 64 DB 78 */ mr r4, r27
/* 8012F430 0012C390 38 61 00 10 */ addi r3, r1, 0x10
/* 8012F434 0012C394 3B 20 00 01 */ li r25, 1
/* 8012F438 0012C398 4B F1 DC A5 */ bl AllocateUniqueId__13CStateManagerFv
/* 8012F43C 0012C39C A0 01 00 10 */ lhz r0, 0x10(r1)
/* 8012F440 0012C3A0 FC 20 F0 90 */ fmr f1, f30
/* 8012F444 0012C3A4 7F 83 E3 78 */ mr r3, r28
/* 8012F448 0012C3A8 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8012F44C 0012C3AC 4B FD 02 B1 */ bl GetSplashEffect__12CScriptWaterCFf
/* 8012F450 0012C3B0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha
/* 8012F454 0012C3B4 7C 78 1B 78 */ mr r24, r3
/* 8012F458 0012C3B8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l
/* 8012F45C 0012C3BC 7F A5 EB 78 */ mr r5, r29
/* 8012F460 0012C3C0 38 61 00 84 */ addi r3, r1, 0x84
/* 8012F464 0012C3C4 48 1E 3E 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 8012F468 0012C3C8 38 01 00 60 */ addi r0, r1, 0x60
/* 8012F46C 0012C3CC 7C 69 1B 78 */ mr r9, r3
/* 8012F470 0012C3D0 90 01 00 08 */ stw r0, 8(r1)
/* 8012F474 0012C3D4 38 1C 02 A4 */ addi r0, r28, 0x2a4
/* 8012F478 0012C3D8 7F E3 FB 78 */ mr r3, r31
/* 8012F47C 0012C3DC 7F 04 C3 78 */ mr r4, r24
/* 8012F480 0012C3E0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8012F484 0012C3E4 38 A1 00 14 */ addi r5, r1, 0x14
/* 8012F488 0012C3E8 38 E1 00 6C */ addi r7, r1, 0x6c
/* 8012F48C 0012C3EC 39 01 00 50 */ addi r8, r1, 0x50
/* 8012F490 0012C3F0 38 C0 00 01 */ li r6, 1
/* 8012F494 0012C3F4 39 40 00 01 */ li r10, 1
/* 8012F498 0012C3F8 4B F2 B6 61 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor"
/* 8012F49C 0012C3FC 7C 7F 1B 78 */ mr r31, r3
lbl_8012F4A0:
/* 8012F4A0 0012C400 7F 20 07 75 */ extsb. r0, r25
/* 8012F4A4 0012C404 7F F8 FB 78 */ mr r24, r31
/* 8012F4A8 0012C408 41 82 00 44 */ beq lbl_8012F4EC
/* 8012F4AC 0012C40C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8012F4B0 0012C410 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 8012F4B4 0012C414 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8012F4B8 0012C418 90 61 00 20 */ stw r3, 0x20(r1)
/* 8012F4BC 0012C41C 7C 64 1B 78 */ mr r4, r3
/* 8012F4C0 0012C420 7C 03 02 14 */ add r0, r3, r0
/* 8012F4C4 0012C424 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8012F4C8 0012C428 90 01 00 28 */ stw r0, 0x28(r1)
/* 8012F4CC 0012C42C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012F4D0 0012C430 48 00 00 08 */ b lbl_8012F4D8
lbl_8012F4D4:
/* 8012F4D4 0012C434 38 84 00 0C */ addi r4, r4, 0xc
lbl_8012F4D8:
/* 8012F4D8 0012C438 7C 04 00 40 */ cmplw r4, r0
/* 8012F4DC 0012C43C 40 82 FF F8 */ bne lbl_8012F4D4
/* 8012F4E0 0012C440 28 03 00 00 */ cmplwi r3, 0
/* 8012F4E4 0012C444 41 82 00 08 */ beq lbl_8012F4EC
/* 8012F4E8 0012C448 48 1E 64 49 */ bl Free__7CMemoryFPCv
lbl_8012F4EC:
/* 8012F4EC 0012C44C 7F 40 07 75 */ extsb. r0, r26
/* 8012F4F0 0012C450 41 82 00 0C */ beq lbl_8012F4FC
/* 8012F4F4 0012C454 38 61 00 50 */ addi r3, r1, 0x50
/* 8012F4F8 0012C458 48 20 E5 E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8012F4FC:
/* 8012F4FC 0012C45C 28 18 00 00 */ cmplwi r24, 0
/* 8012F500 0012C460 41 82 00 10 */ beq lbl_8012F510
/* 8012F504 0012C464 7F 63 DB 78 */ mr r3, r27
/* 8012F508 0012C468 7F 04 C3 78 */ mr r4, r24
/* 8012F50C 0012C46C 4B F1 D6 09 */ bl AddObject__13CStateManagerFR7CEntity
lbl_8012F510:
/* 8012F510 0012C470 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 8012F514 0012C474 41 82 00 48 */ beq lbl_8012F55C
/* 8012F518 0012C478 C0 42 98 F8 */ lfs f2, lbl_805AB618@sda21(r2)
/* 8012F51C 0012C47C FC 20 F0 90 */ fmr f1, f30
/* 8012F520 0012C480 C0 02 98 FC */ lfs f0, lbl_805AB61C@sda21(r2)
/* 8012F524 0012C484 7F 83 E3 78 */ mr r3, r28
/* 8012F528 0012C488 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8012F52C 0012C48C D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8012F530 0012C490 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 8012F534 0012C494 4B FD 01 91 */ bl GetSplashSound__12CScriptWaterCFf
/* 8012F538 0012C498 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2)
/* 8012F53C 0012C49C 7C 64 1B 78 */ mr r4, r3
/* 8012F540 0012C4A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8012F544 0012C4A4 7F A5 EB 78 */ mr r5, r29
/* 8012F548 0012C4A8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8012F54C 0012C4AC 38 C1 00 44 */ addi r6, r1, 0x44
/* 8012F550 0012C4B0 38 E0 00 01 */ li r7, 1
/* 8012F554 0012C4B4 39 00 00 00 */ li r8, 0
/* 8012F558 0012C4B8 48 1B AD 59 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi
lbl_8012F55C:
/* 8012F55C 0012C4BC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 8012F560 0012C4C0 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 8012F564 0012C4C4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 8012F568 0012C4C8 CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 8012F56C 0012C4CC BB 01 00 C0 */ lmw r24, 0xc0(r1)
/* 8012F570 0012C4D0 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8012F574 0012C4D4 7C 08 03 A6 */ mtlr r0
/* 8012F578 0012C4D8 38 21 01 00 */ addi r1, r1, 0x100
/* 8012F57C 0012C4DC 4E 80 00 20 */ blr
.global GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId
GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId:
/* 8012F580 0012C4E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F584 0012C4E4 7C 08 02 A6 */ mflr r0
/* 8012F588 0012C4E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F58C 0012C4EC A0 04 00 00 */ lhz r0, 0(r4)
/* 8012F590 0012C4F0 38 81 00 08 */ addi r4, r1, 8
/* 8012F594 0012C4F4 B0 01 00 08 */ sth r0, 8(r1)
/* 8012F598 0012C4F8 4B FE DA E9 */ bl GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId
/* 8012F59C 0012C4FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F5A0 0012C500 7C 08 03 A6 */ mtlr r0
/* 8012F5A4 0012C504 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F5A8 0012C508 4E 80 00 20 */ blr
.global GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId
GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId:
/* 8012F5AC 0012C50C C0 22 99 24 */ lfs f1, lbl_805AB644@sda21(r2)
/* 8012F5B0 0012C510 38 C3 00 1C */ addi r6, r3, 0x1c
/* 8012F5B4 0012C514 38 A3 00 18 */ addi r5, r3, 0x18
/* 8012F5B8 0012C518 48 00 00 28 */ b lbl_8012F5E0
lbl_8012F5BC:
/* 8012F5BC 0012C51C A0 64 00 00 */ lhz r3, 0(r4)
/* 8012F5C0 0012C520 A0 06 00 04 */ lhz r0, 4(r6)
/* 8012F5C4 0012C524 7C 03 00 40 */ cmplw r3, r0
/* 8012F5C8 0012C528 40 82 00 14 */ bne lbl_8012F5DC
/* 8012F5CC 0012C52C C0 06 00 00 */ lfs f0, 0(r6)
/* 8012F5D0 0012C530 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012F5D4 0012C534 40 81 00 08 */ ble lbl_8012F5DC
/* 8012F5D8 0012C538 FC 20 00 90 */ fmr f1, f0
lbl_8012F5DC:
/* 8012F5DC 0012C53C 38 C6 00 08 */ addi r6, r6, 8
lbl_8012F5E0:
/* 8012F5E0 0012C540 80 05 00 00 */ lwz r0, 0(r5)
/* 8012F5E4 0012C544 54 00 18 38 */ slwi r0, r0, 3
/* 8012F5E8 0012C548 7C 65 02 14 */ add r3, r5, r0
/* 8012F5EC 0012C54C 38 03 00 04 */ addi r0, r3, 4
/* 8012F5F0 0012C550 7C 06 00 40 */ cmplw r6, r0
/* 8012F5F4 0012C554 40 82 FF C8 */ bne lbl_8012F5BC
.global sub_8012f5f8
sub_8012f5f8:
/* 8012F5F8 0012C558 4E 80 00 20 */ blr
.global EndFrame__18CFluidPlaneManagerCFv
EndFrame__18CFluidPlaneManagerCFv:
/* 8012F5FC 0012C55C 38 00 00 00 */ li r0, 0
/* 8012F600 0012C560 98 03 01 21 */ stb r0, 0x121(r3)
/* 8012F604 0012C564 4E 80 00 20 */ blr
.global StartFrame__18CFluidPlaneManagerCFb
StartFrame__18CFluidPlaneManagerCFb:
/* 8012F608 0012C568 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F60C 0012C56C 7C 08 02 A6 */ mflr r0
/* 8012F610 0012C570 3C A0 80 57 */ lis r5, lbl_8056F8B4@ha
/* 8012F614 0012C574 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F618 0012C578 98 83 01 21 */ stb r4, 0x121(r3)
/* 8012F61C 0012C57C 38 65 F8 B4 */ addi r3, r5, lbl_8056F8B4@l
/* 8012F620 0012C580 48 00 01 39 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv
/* 8012F624 0012C584 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F628 0012C588 7C 08 03 A6 */ mtlr r0
/* 8012F62C 0012C58C 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F630 0012C590 4E 80 00 20 */ blr
.global Update__18CFluidPlaneManagerFf
Update__18CFluidPlaneManagerFf:
/* 8012F634 0012C594 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8012F638 0012C598 7C 08 02 A6 */ mflr r0
/* 8012F63C 0012C59C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012F640 0012C5A0 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8012F644 0012C5A4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8012F648 0012C5A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012F64C 0012C5AC 7C 7F 1B 78 */ mr r31, r3
/* 8012F650 0012C5B0 FF E0 08 90 */ fmr f31, f1
/* 8012F654 0012C5B4 C0 03 01 1C */ lfs f0, 0x11c(r3)
/* 8012F658 0012C5B8 EC 1F 00 2A */ fadds f0, f31, f0
/* 8012F65C 0012C5BC D0 03 01 1C */ stfs f0, 0x11c(r3)
/* 8012F660 0012C5C0 4B FE DA 6D */ bl Update__14CRippleManagerFf
/* 8012F664 0012C5C4 C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2)
/* 8012F668 0012C5C8 38 BF 00 1C */ addi r5, r31, 0x1c
/* 8012F66C 0012C5CC 38 9F 00 18 */ addi r4, r31, 0x18
/* 8012F670 0012C5D0 48 00 00 24 */ b lbl_8012F694
lbl_8012F674:
/* 8012F674 0012C5D4 C0 25 00 00 */ lfs f1, 0(r5)
/* 8012F678 0012C5D8 EC 3F 08 2A */ fadds f1, f31, f1
/* 8012F67C 0012C5DC D0 25 00 00 */ stfs f1, 0(r5)
/* 8012F680 0012C5E0 C0 25 00 00 */ lfs f1, 0(r5)
/* 8012F684 0012C5E4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012F688 0012C5E8 40 81 00 08 */ ble lbl_8012F690
/* 8012F68C 0012C5EC D0 05 00 00 */ stfs f0, 0(r5)
lbl_8012F690:
/* 8012F690 0012C5F0 38 A5 00 08 */ addi r5, r5, 8
lbl_8012F694:
/* 8012F694 0012C5F4 80 04 00 00 */ lwz r0, 0(r4)
/* 8012F698 0012C5F8 54 00 18 38 */ slwi r0, r0, 3
/* 8012F69C 0012C5FC 7C 64 02 14 */ add r3, r4, r0
/* 8012F6A0 0012C600 38 03 00 04 */ addi r0, r3, 4
/* 8012F6A4 0012C604 7C 05 00 40 */ cmplw r5, r0
/* 8012F6A8 0012C608 40 82 FF CC */ bne lbl_8012F674
/* 8012F6AC 0012C60C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8012F6B0 0012C610 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8012F6B4 0012C614 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8012F6B8 0012C618 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012F6BC 0012C61C 7C 08 03 A6 */ mtlr r0
/* 8012F6C0 0012C620 38 21 00 20 */ addi r1, r1, 0x20
/* 8012F6C4 0012C624 4E 80 00 20 */ blr
.global __ct__18CFluidPlaneManagerFv
__ct__18CFluidPlaneManagerFv:
/* 8012F6C8 0012C628 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F6CC 0012C62C 7C 08 02 A6 */ mflr r0
/* 8012F6D0 0012C630 C0 22 99 28 */ lfs f1, lbl_805AB648@sda21(r2)
/* 8012F6D4 0012C634 38 80 00 14 */ li r4, 0x14
/* 8012F6D8 0012C638 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F6DC 0012C63C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012F6E0 0012C640 7C 7F 1B 78 */ mr r31, r3
/* 8012F6E4 0012C644 4B FE DC 01 */ bl __ct__14CRippleManagerFif
/* 8012F6E8 0012C648 38 00 00 00 */ li r0, 0
/* 8012F6EC 0012C64C 3C 60 80 57 */ lis r3, lbl_8056F8B4@ha
/* 8012F6F0 0012C650 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8012F6F4 0012C654 38 63 F8 B4 */ addi r3, r3, lbl_8056F8B4@l
/* 8012F6F8 0012C658 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2)
/* 8012F6FC 0012C65C D0 1F 01 1C */ stfs f0, 0x11c(r31)
/* 8012F700 0012C660 98 1F 01 20 */ stb r0, 0x120(r31)
/* 8012F704 0012C664 98 1F 01 21 */ stb r0, 0x121(r31)
/* 8012F708 0012C668 48 00 00 51 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv
/* 8012F70C 0012C66C C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2)
/* 8012F710 0012C670 38 BF 00 1C */ addi r5, r31, 0x1c
/* 8012F714 0012C674 38 9F 00 18 */ addi r4, r31, 0x18
/* 8012F718 0012C678 48 00 00 0C */ b lbl_8012F724
lbl_8012F71C:
/* 8012F71C 0012C67C D0 05 00 00 */ stfs f0, 0(r5)
/* 8012F720 0012C680 38 A5 00 08 */ addi r5, r5, 8
lbl_8012F724:
/* 8012F724 0012C684 80 04 00 00 */ lwz r0, 0(r4)
/* 8012F728 0012C688 54 00 18 38 */ slwi r0, r0, 3
/* 8012F72C 0012C68C 7C 64 02 14 */ add r3, r4, r0
/* 8012F730 0012C690 38 03 00 04 */ addi r0, r3, 4
/* 8012F734 0012C694 7C 05 00 40 */ cmplw r5, r0
/* 8012F738 0012C698 40 82 FF E4 */ bne lbl_8012F71C
/* 8012F73C 0012C69C 4B FF F9 65 */ bl SetupRippleMap__18CFluidPlaneManagerFv
/* 8012F740 0012C6A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F744 0012C6A4 7F E3 FB 78 */ mr r3, r31
/* 8012F748 0012C6A8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012F74C 0012C6AC 7C 08 03 A6 */ mtlr r0
/* 8012F750 0012C6B0 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F754 0012C6B4 4E 80 00 20 */ blr
.global Clear__Q218CFluidPlaneManager13CFluidProfileFv
Clear__Q218CFluidPlaneManager13CFluidProfileFv:
/* 8012F758 0012C6B8 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2)
/* 8012F75C 0012C6BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8012F760 0012C6C0 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8012F764 0012C6C4 D0 03 00 08 */ stfs f0, 8(r3)
/* 8012F768 0012C6C8 D0 03 00 04 */ stfs f0, 4(r3)
/* 8012F76C 0012C6CC D0 03 00 00 */ stfs f0, 0(r3)
/* 8012F770 0012C6D0 4E 80 00 20 */ blr

View File

@ -0,0 +1,310 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f
CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f:
/* 8011CAE4 00119A44 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8011CAE8 00119A48 7C 08 02 A6 */ mflr r0
/* 8011CAEC 00119A4C 90 01 00 94 */ stw r0, 0x94(r1)
/* 8011CAF0 00119A50 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8011CAF4 00119A54 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8011CAF8 00119A58 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8011CAFC 00119A5C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 8011CB00 00119A60 DB A1 00 60 */ stfd f29, 0x60(r1)
/* 8011CB04 00119A64 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
/* 8011CB08 00119A68 DB 81 00 50 */ stfd f28, 0x50(r1)
/* 8011CB0C 00119A6C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
/* 8011CB10 00119A70 DB 61 00 40 */ stfd f27, 0x40(r1)
/* 8011CB14 00119A74 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0
/* 8011CB18 00119A78 DB 41 00 30 */ stfd f26, 0x30(r1)
/* 8011CB1C 00119A7C F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0
/* 8011CB20 00119A80 DB 21 00 20 */ stfd f25, 0x20(r1)
/* 8011CB24 00119A84 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0
/* 8011CB28 00119A88 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8011CB2C 00119A8C 7C 7B 1B 78 */ mr r27, r3
/* 8011CB30 00119A90 FF E0 08 90 */ fmr f31, f1
/* 8011CB34 00119A94 C0 03 00 4C */ lfs f0, 0x4c(r3)
/* 8011CB38 00119A98 7C 9C 23 78 */ mr r28, r4
/* 8011CB3C 00119A9C C0 23 00 50 */ lfs f1, 0x50(r3)
/* 8011CB40 00119AA0 EF BF 00 32 */ fmuls f29, f31, f0
/* 8011CB44 00119AA4 48 1F 82 01 */ bl FastCosR__5CMathFf
/* 8011CB48 00119AA8 EF 9D 00 72 */ fmuls f28, f29, f1
/* 8011CB4C 00119AAC C0 3B 00 50 */ lfs f1, 0x50(r27)
/* 8011CB50 00119AB0 48 1F 82 A1 */ bl FastSinR__5CMathFf
/* 8011CB54 00119AB4 EF BD 00 72 */ fmuls f29, f29, f1
/* 8011CB58 00119AB8 7F 9D E3 78 */ mr r29, r28
/* 8011CB5C 00119ABC 3B 80 00 00 */ li r28, 0
/* 8011CB60 00119AC0 3B E0 00 00 */ li r31, 0
/* 8011CB64 00119AC4 48 00 01 08 */ b lbl_8011CC6C
lbl_8011CB68:
/* 8011CB68 00119AC8 7F DB FA 14 */ add r30, r27, r31
/* 8011CB6C 00119ACC C0 1E 00 08 */ lfs f0, 8(r30)
/* 8011CB70 00119AD0 EF DF 00 32 */ fmuls f30, f31, f0
/* 8011CB74 00119AD4 FC 20 F0 90 */ fmr f1, f30
/* 8011CB78 00119AD8 48 27 79 4D */ bl floor
/* 8011CB7C 00119ADC FC 00 08 18 */ frsp f0, f1
/* 8011CB80 00119AE0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8011CB84 00119AE4 2C 00 00 01 */ cmpwi r0, 1
/* 8011CB88 00119AE8 EC 3E 00 28 */ fsubs f1, f30, f0
/* 8011CB8C 00119AEC 41 82 00 2C */ beq lbl_8011CBB8
/* 8011CB90 00119AF0 40 80 00 10 */ bge lbl_8011CBA0
/* 8011CB94 00119AF4 2C 00 00 00 */ cmpwi r0, 0
/* 8011CB98 00119AF8 40 80 00 14 */ bge lbl_8011CBAC
/* 8011CB9C 00119AFC 48 00 00 64 */ b lbl_8011CC00
lbl_8011CBA0:
/* 8011CBA0 00119B00 2C 00 00 03 */ cmpwi r0, 3
/* 8011CBA4 00119B04 40 80 00 5C */ bge lbl_8011CC00
/* 8011CBA8 00119B08 48 00 00 3C */ b lbl_8011CBE4
lbl_8011CBAC:
/* 8011CBAC 00119B0C FF 40 F0 90 */ fmr f26, f30
/* 8011CBB0 00119B10 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2)
/* 8011CBB4 00119B14 48 00 00 54 */ b lbl_8011CC08
lbl_8011CBB8:
/* 8011CBB8 00119B18 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2)
/* 8011CBBC 00119B1C EF C0 00 72 */ fmuls f30, f0, f1
/* 8011CBC0 00119B20 FC 20 F0 90 */ fmr f1, f30
/* 8011CBC4 00119B24 48 1F 82 2D */ bl FastSinR__5CMathFf
/* 8011CBC8 00119B28 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8011CBCC 00119B2C EF 60 00 72 */ fmuls f27, f0, f1
/* 8011CBD0 00119B30 FC 20 F0 90 */ fmr f1, f30
/* 8011CBD4 00119B34 48 1F 81 71 */ bl FastCosR__5CMathFf
/* 8011CBD8 00119B38 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8011CBDC 00119B3C EF 40 00 72 */ fmuls f26, f0, f1
/* 8011CBE0 00119B40 48 00 00 28 */ b lbl_8011CC08
lbl_8011CBE4:
/* 8011CBE4 00119B44 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2)
/* 8011CBE8 00119B48 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2)
/* 8011CBEC 00119B4C EC 20 00 72 */ fmuls f1, f0, f1
/* 8011CBF0 00119B50 48 1F 81 55 */ bl FastCosR__5CMathFf
/* 8011CBF4 00119B54 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8011CBF8 00119B58 EF 40 00 72 */ fmuls f26, f0, f1
/* 8011CBFC 00119B5C 48 00 00 0C */ b lbl_8011CC08
lbl_8011CC00:
/* 8011CC00 00119B60 C3 42 97 18 */ lfs f26, lbl_805AB438@sda21(r2)
/* 8011CC04 00119B64 FF 60 D0 90 */ fmr f27, f26
lbl_8011CC08:
/* 8011CC08 00119B68 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8011CC0C 00119B6C 48 1F 81 39 */ bl FastCosR__5CMathFf
/* 8011CC10 00119B70 EF DB E8 7A */ fmadds f30, f27, f1, f29
/* 8011CC14 00119B74 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8011CC18 00119B78 48 1F 81 D9 */ bl FastSinR__5CMathFf
/* 8011CC1C 00119B7C EF 3A F0 7A */ fmadds f25, f26, f1, f30
/* 8011CC20 00119B80 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8011CC24 00119B84 48 1F 81 21 */ bl FastCosR__5CMathFf
/* 8011CC28 00119B88 EF DA E0 7A */ fmadds f30, f26, f1, f28
/* 8011CC2C 00119B8C C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8011CC30 00119B90 48 1F 81 C1 */ bl FastSinR__5CMathFf
/* 8011CC34 00119B94 EF 5B F0 7A */ fmadds f26, f27, f1, f30
/* 8011CC38 00119B98 FC 20 C8 90 */ fmr f1, f25
/* 8011CC3C 00119B9C 48 27 78 89 */ bl floor
/* 8011CC40 00119BA0 FC 00 08 18 */ frsp f0, f1
/* 8011CC44 00119BA4 FC 20 D0 90 */ fmr f1, f26
/* 8011CC48 00119BA8 EC 19 00 28 */ fsubs f0, f25, f0
/* 8011CC4C 00119BAC D0 1D 00 00 */ stfs f0, 0(r29)
/* 8011CC50 00119BB0 48 27 78 75 */ bl floor
/* 8011CC54 00119BB4 FC 00 08 18 */ frsp f0, f1
/* 8011CC58 00119BB8 3B 9C 00 01 */ addi r28, r28, 1
/* 8011CC5C 00119BBC 3B FF 00 18 */ addi r31, r31, 0x18
/* 8011CC60 00119BC0 EC 1A 00 28 */ fsubs f0, f26, f0
/* 8011CC64 00119BC4 D0 1D 00 04 */ stfs f0, 4(r29)
/* 8011CC68 00119BC8 3B BD 00 08 */ addi r29, r29, 8
lbl_8011CC6C:
/* 8011CC6C 00119BCC 80 1B 00 00 */ lwz r0, 0(r27)
/* 8011CC70 00119BD0 7C 1C 00 00 */ cmpw r28, r0
/* 8011CC74 00119BD4 41 80 FE F4 */ blt lbl_8011CB68
/* 8011CC78 00119BD8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8011CC7C 00119BDC CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8011CC80 00119BE0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 8011CC84 00119BE4 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 8011CC88 00119BE8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
/* 8011CC8C 00119BEC CB A1 00 60 */ lfd f29, 0x60(r1)
/* 8011CC90 00119BF0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
/* 8011CC94 00119BF4 CB 81 00 50 */ lfd f28, 0x50(r1)
/* 8011CC98 00119BF8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0
/* 8011CC9C 00119BFC CB 61 00 40 */ lfd f27, 0x40(r1)
/* 8011CCA0 00119C00 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0
/* 8011CCA4 00119C04 CB 41 00 30 */ lfd f26, 0x30(r1)
/* 8011CCA8 00119C08 E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0
/* 8011CCAC 00119C0C CB 21 00 20 */ lfd f25, 0x20(r1)
/* 8011CCB0 00119C10 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 8011CCB4 00119C14 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8011CCB8 00119C18 7C 08 03 A6 */ mtlr r0
/* 8011CCBC 00119C1C 38 21 00 90 */ addi r1, r1, 0x90
/* 8011CCC0 00119C20 4E 80 00 20 */ blr
.global __ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion
__ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion:
/* 8011CCC4 00119C24 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2)
/* 8011CCC8 00119C28 38 E0 00 00 */ li r7, 0
/* 8011CCCC 00119C2C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8011CCD0 00119C30 EC A6 08 24 */ fdivs f5, f6, f1
/* 8011CCD4 00119C34 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2)
/* 8011CCD8 00119C38 90 E3 00 00 */ stw r7, 0(r3)
/* 8011CCDC 00119C3C C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2)
/* 8011CCE0 00119C40 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2)
/* 8011CCE4 00119C44 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2)
/* 8011CCE8 00119C48 D0 A3 00 4C */ stfs f5, 0x4c(r3)
/* 8011CCEC 00119C4C D0 43 00 50 */ stfs f2, 0x50(r3)
/* 8011CCF0 00119C50 81 03 00 00 */ lwz r8, 0(r3)
/* 8011CCF4 00119C54 90 E1 00 08 */ stw r7, 8(r1)
/* 8011CCF8 00119C58 2C 08 00 03 */ cmpwi r8, 3
/* 8011CCFC 00119C5C D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8011CD00 00119C60 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8011CD04 00119C64 D0 C1 00 14 */ stfs f6, 0x14(r1)
/* 8011CD08 00119C68 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8011CD0C 00119C6C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8011CD10 00119C70 40 80 00 50 */ bge lbl_8011CD60
/* 8011CD14 00119C74 1C 08 00 18 */ mulli r0, r8, 0x18
/* 8011CD18 00119C78 21 28 00 03 */ subfic r9, r8, 3
/* 8011CD1C 00119C7C 7D 03 02 14 */ add r8, r3, r0
/* 8011CD20 00119C80 7D 29 03 A6 */ mtctr r9
/* 8011CD24 00119C84 2C 09 00 00 */ cmpwi r9, 0
/* 8011CD28 00119C88 39 08 00 04 */ addi r8, r8, 4
/* 8011CD2C 00119C8C 40 81 00 2C */ ble lbl_8011CD58
lbl_8011CD30:
/* 8011CD30 00119C90 28 08 00 00 */ cmplwi r8, 0
/* 8011CD34 00119C94 41 82 00 1C */ beq lbl_8011CD50
/* 8011CD38 00119C98 90 E8 00 00 */ stw r7, 0(r8)
/* 8011CD3C 00119C9C D0 88 00 04 */ stfs f4, 4(r8)
/* 8011CD40 00119CA0 D0 68 00 08 */ stfs f3, 8(r8)
/* 8011CD44 00119CA4 D0 C8 00 0C */ stfs f6, 0xc(r8)
/* 8011CD48 00119CA8 D0 28 00 10 */ stfs f1, 0x10(r8)
/* 8011CD4C 00119CAC D0 08 00 14 */ stfs f0, 0x14(r8)
lbl_8011CD50:
/* 8011CD50 00119CB0 39 08 00 18 */ addi r8, r8, 0x18
/* 8011CD54 00119CB4 42 00 FF DC */ bdnz lbl_8011CD30
lbl_8011CD58:
/* 8011CD58 00119CB8 38 00 00 03 */ li r0, 3
/* 8011CD5C 00119CBC 90 03 00 00 */ stw r0, 0(r3)
lbl_8011CD60:
/* 8011CD60 00119CC0 80 04 00 00 */ lwz r0, 0(r4)
/* 8011CD64 00119CC4 90 03 00 04 */ stw r0, 4(r3)
/* 8011CD68 00119CC8 C0 04 00 04 */ lfs f0, 4(r4)
/* 8011CD6C 00119CCC D0 03 00 08 */ stfs f0, 8(r3)
/* 8011CD70 00119CD0 C0 04 00 08 */ lfs f0, 8(r4)
/* 8011CD74 00119CD4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8011CD78 00119CD8 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 8011CD7C 00119CDC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8011CD80 00119CE0 C0 04 00 10 */ lfs f0, 0x10(r4)
/* 8011CD84 00119CE4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8011CD88 00119CE8 C0 04 00 14 */ lfs f0, 0x14(r4)
/* 8011CD8C 00119CEC D0 03 00 18 */ stfs f0, 0x18(r3)
/* 8011CD90 00119CF0 80 05 00 00 */ lwz r0, 0(r5)
/* 8011CD94 00119CF4 90 03 00 1C */ stw r0, 0x1c(r3)
/* 8011CD98 00119CF8 C0 05 00 04 */ lfs f0, 4(r5)
/* 8011CD9C 00119CFC D0 03 00 20 */ stfs f0, 0x20(r3)
/* 8011CDA0 00119D00 C0 05 00 08 */ lfs f0, 8(r5)
/* 8011CDA4 00119D04 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8011CDA8 00119D08 C0 05 00 0C */ lfs f0, 0xc(r5)
/* 8011CDAC 00119D0C D0 03 00 28 */ stfs f0, 0x28(r3)
/* 8011CDB0 00119D10 C0 05 00 10 */ lfs f0, 0x10(r5)
/* 8011CDB4 00119D14 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8011CDB8 00119D18 C0 05 00 14 */ lfs f0, 0x14(r5)
/* 8011CDBC 00119D1C D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8011CDC0 00119D20 80 06 00 00 */ lwz r0, 0(r6)
/* 8011CDC4 00119D24 90 03 00 34 */ stw r0, 0x34(r3)
/* 8011CDC8 00119D28 C0 06 00 04 */ lfs f0, 4(r6)
/* 8011CDCC 00119D2C D0 03 00 38 */ stfs f0, 0x38(r3)
/* 8011CDD0 00119D30 C0 06 00 08 */ lfs f0, 8(r6)
/* 8011CDD4 00119D34 D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 8011CDD8 00119D38 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 8011CDDC 00119D3C D0 03 00 40 */ stfs f0, 0x40(r3)
/* 8011CDE0 00119D40 C0 06 00 10 */ lfs f0, 0x10(r6)
/* 8011CDE4 00119D44 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8011CDE8 00119D48 C0 06 00 14 */ lfs f0, 0x14(r6)
/* 8011CDEC 00119D4C D0 03 00 48 */ stfs f0, 0x48(r3)
/* 8011CDF0 00119D50 38 21 00 20 */ addi r1, r1, 0x20
/* 8011CDF4 00119D54 4E 80 00 20 */ blr
.global __ct__14CFluidUVMotionFff
__ct__14CFluidUVMotionFff:
/* 8011CDF8 00119D58 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2)
/* 8011CDFC 00119D5C 38 80 00 00 */ li r4, 0
/* 8011CE00 00119D60 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8011CE04 00119D64 EC A6 08 24 */ fdivs f5, f6, f1
/* 8011CE08 00119D68 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2)
/* 8011CE0C 00119D6C 90 83 00 00 */ stw r4, 0(r3)
/* 8011CE10 00119D70 C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2)
/* 8011CE14 00119D74 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2)
/* 8011CE18 00119D78 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2)
/* 8011CE1C 00119D7C D0 A3 00 4C */ stfs f5, 0x4c(r3)
/* 8011CE20 00119D80 D0 43 00 50 */ stfs f2, 0x50(r3)
/* 8011CE24 00119D84 80 A3 00 00 */ lwz r5, 0(r3)
/* 8011CE28 00119D88 90 81 00 50 */ stw r4, 0x50(r1)
/* 8011CE2C 00119D8C 2C 05 00 03 */ cmpwi r5, 3
/* 8011CE30 00119D90 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 8011CE34 00119D94 D0 61 00 58 */ stfs f3, 0x58(r1)
/* 8011CE38 00119D98 D0 C1 00 5C */ stfs f6, 0x5c(r1)
/* 8011CE3C 00119D9C D0 21 00 60 */ stfs f1, 0x60(r1)
/* 8011CE40 00119DA0 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8011CE44 00119DA4 40 80 00 50 */ bge lbl_8011CE94
/* 8011CE48 00119DA8 1C 05 00 18 */ mulli r0, r5, 0x18
/* 8011CE4C 00119DAC 20 C5 00 03 */ subfic r6, r5, 3
/* 8011CE50 00119DB0 7C A3 02 14 */ add r5, r3, r0
/* 8011CE54 00119DB4 7C C9 03 A6 */ mtctr r6
/* 8011CE58 00119DB8 2C 06 00 00 */ cmpwi r6, 0
/* 8011CE5C 00119DBC 38 A5 00 04 */ addi r5, r5, 4
/* 8011CE60 00119DC0 40 81 00 2C */ ble lbl_8011CE8C
lbl_8011CE64:
/* 8011CE64 00119DC4 28 05 00 00 */ cmplwi r5, 0
/* 8011CE68 00119DC8 41 82 00 1C */ beq lbl_8011CE84
/* 8011CE6C 00119DCC 90 85 00 00 */ stw r4, 0(r5)
/* 8011CE70 00119DD0 D0 85 00 04 */ stfs f4, 4(r5)
/* 8011CE74 00119DD4 D0 65 00 08 */ stfs f3, 8(r5)
/* 8011CE78 00119DD8 D0 C5 00 0C */ stfs f6, 0xc(r5)
/* 8011CE7C 00119DDC D0 25 00 10 */ stfs f1, 0x10(r5)
/* 8011CE80 00119DE0 D0 05 00 14 */ stfs f0, 0x14(r5)
lbl_8011CE84:
/* 8011CE84 00119DE4 38 A5 00 18 */ addi r5, r5, 0x18
/* 8011CE88 00119DE8 42 00 FF DC */ bdnz lbl_8011CE64
lbl_8011CE8C:
/* 8011CE8C 00119DEC 38 00 00 03 */ li r0, 3
/* 8011CE90 00119DF0 90 03 00 00 */ stw r0, 0(r3)
lbl_8011CE94:
/* 8011CE94 00119DF4 38 00 00 00 */ li r0, 0
/* 8011CE98 00119DF8 C0 42 97 2C */ lfs f2, lbl_805AB44C@sda21(r2)
/* 8011CE9C 00119DFC C0 C2 97 30 */ lfs f6, lbl_805AB450@sda21(r2)
/* 8011CEA0 00119E00 90 03 00 04 */ stw r0, 4(r3)
/* 8011CEA4 00119E04 C0 A2 97 18 */ lfs f5, lbl_805AB438@sda21(r2)
/* 8011CEA8 00119E08 D0 C3 00 08 */ stfs f6, 8(r3)
/* 8011CEAC 00119E0C C0 82 97 20 */ lfs f4, lbl_805AB440@sda21(r2)
/* 8011CEB0 00119E10 D0 A3 00 0C */ stfs f5, 0xc(r3)
/* 8011CEB4 00119E14 C0 62 97 28 */ lfs f3, lbl_805AB448@sda21(r2)
/* 8011CEB8 00119E18 D0 83 00 10 */ stfs f4, 0x10(r3)
/* 8011CEBC 00119E1C C0 22 97 34 */ lfs f1, lbl_805AB454@sda21(r2)
/* 8011CEC0 00119E20 D0 63 00 14 */ stfs f3, 0x14(r3)
/* 8011CEC4 00119E24 C0 02 97 38 */ lfs f0, lbl_805AB458@sda21(r2)
/* 8011CEC8 00119E28 D0 43 00 18 */ stfs f2, 0x18(r3)
/* 8011CECC 00119E2C 90 03 00 1C */ stw r0, 0x1c(r3)
/* 8011CED0 00119E30 D0 23 00 20 */ stfs f1, 0x20(r3)
/* 8011CED4 00119E34 D0 A3 00 24 */ stfs f5, 0x24(r3)
/* 8011CED8 00119E38 D0 83 00 28 */ stfs f4, 0x28(r3)
/* 8011CEDC 00119E3C D0 63 00 2C */ stfs f3, 0x2c(r3)
/* 8011CEE0 00119E40 D0 43 00 30 */ stfs f2, 0x30(r3)
/* 8011CEE4 00119E44 90 03 00 34 */ stw r0, 0x34(r3)
/* 8011CEE8 00119E48 D0 43 00 38 */ stfs f2, 0x38(r3)
/* 8011CEEC 00119E4C D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 8011CEF0 00119E50 D0 83 00 40 */ stfs f4, 0x40(r3)
/* 8011CEF4 00119E54 D0 63 00 44 */ stfs f3, 0x44(r3)
/* 8011CEF8 00119E58 90 01 00 38 */ stw r0, 0x38(r1)
/* 8011CEFC 00119E5C D0 C1 00 3C */ stfs f6, 0x3c(r1)
/* 8011CF00 00119E60 D0 A1 00 40 */ stfs f5, 0x40(r1)
/* 8011CF04 00119E64 D0 81 00 44 */ stfs f4, 0x44(r1)
/* 8011CF08 00119E68 D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8011CF0C 00119E6C D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8011CF10 00119E70 90 01 00 20 */ stw r0, 0x20(r1)
/* 8011CF14 00119E74 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8011CF18 00119E78 D0 A1 00 28 */ stfs f5, 0x28(r1)
/* 8011CF1C 00119E7C D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 8011CF20 00119E80 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 8011CF24 00119E84 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 8011CF28 00119E88 90 01 00 08 */ stw r0, 8(r1)
/* 8011CF2C 00119E8C D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8011CF30 00119E90 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8011CF34 00119E94 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 8011CF38 00119E98 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 8011CF3C 00119E9C D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8011CF40 00119EA0 D0 43 00 48 */ stfs f2, 0x48(r3)
/* 8011CF44 00119EA4 38 21 00 70 */ addi r1, r1, 0x70
/* 8011CF48 00119EA8 4E 80 00 20 */ blr

View File

@ -0,0 +1,29 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__13CHUDMemoParmsFR12CInputStream
__ct__13CHUDMemoParmsFR12CInputStream:
/* 800E82D0 000E5230 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E82D4 000E5234 7C 08 02 A6 */ mflr r0
/* 800E82D8 000E5238 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E82DC 000E523C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800E82E0 000E5240 7C 9F 23 78 */ mr r31, r4
/* 800E82E4 000E5244 93 C1 00 08 */ stw r30, 8(r1)
/* 800E82E8 000E5248 7C 7E 1B 78 */ mr r30, r3
/* 800E82EC 000E524C 7F E3 FB 78 */ mr r3, r31
/* 800E82F0 000E5250 48 25 69 39 */ bl ReadFloat__12CInputStreamFv
/* 800E82F4 000E5254 D0 3E 00 00 */ stfs f1, 0(r30)
/* 800E82F8 000E5258 7F E3 FB 78 */ mr r3, r31
/* 800E82FC 000E525C 48 25 69 E1 */ bl ReadBool__12CInputStreamFv
/* 800E8300 000E5260 98 7E 00 04 */ stb r3, 4(r30)
/* 800E8304 000E5264 38 00 00 00 */ li r0, 0
/* 800E8308 000E5268 7F C3 F3 78 */ mr r3, r30
/* 800E830C 000E526C 98 1E 00 05 */ stb r0, 5(r30)
/* 800E8310 000E5270 98 1E 00 06 */ stb r0, 6(r30)
/* 800E8314 000E5274 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800E8318 000E5278 83 C1 00 08 */ lwz r30, 8(r1)
/* 800E831C 000E527C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E8320 000E5280 7C 08 03 A6 */ mtlr r0
/* 800E8324 000E5284 38 21 00 10 */ addi r1, r1, 0x10
/* 800E8328 000E5288 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,268 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global MakeActorLights__16CLightParametersCFv
MakeActorLights__16CLightParametersCFv:
/* 80106410 00103370 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80106414 00103374 7C 08 02 A6 */ mflr r0
/* 80106418 00103378 90 01 00 44 */ stw r0, 0x44(r1)
/* 8010641C 0010337C 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80106420 00103380 7C 9F 23 78 */ mr r31, r4
/* 80106424 00103384 38 80 00 00 */ li r4, 0
/* 80106428 00103388 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8010642C 0010338C 7C 7E 1B 78 */ mr r30, r3
/* 80106430 00103390 93 A1 00 34 */ stw r29, 0x34(r1)
/* 80106434 00103394 88 1F 00 1C */ lbz r0, 0x1c(r31)
/* 80106438 00103398 98 81 00 10 */ stb r4, 0x10(r1)
/* 8010643C 0010339C 28 00 00 00 */ cmplwi r0, 0
/* 80106440 001033A0 90 81 00 14 */ stw r4, 0x14(r1)
/* 80106444 001033A4 41 82 01 34 */ beq lbl_80106578
/* 80106448 001033A8 3C 80 80 3D */ lis r4, lbl_803CEE50@ha
/* 8010644C 001033AC 38 60 02 E0 */ li r3, 0x2e0
/* 80106450 001033B0 38 84 EE 50 */ addi r4, r4, lbl_803CEE50@l
/* 80106454 001033B4 38 A0 00 00 */ li r5, 0
/* 80106458 001033B8 48 20 F4 15 */ bl __nw__FUlPCcPCc
/* 8010645C 001033BC 7C 7D 1B 79 */ or. r29, r3, r3
/* 80106460 001033C0 41 82 00 68 */ beq lbl_801064C8
/* 80106464 001033C4 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 80106468 001033C8 80 9F 00 30 */ lwz r4, 0x30(r31)
/* 8010646C 001033CC 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 80106470 001033D0 90 61 00 18 */ stw r3, 0x18(r1)
/* 80106474 001033D4 80 7F 00 24 */ lwz r3, 0x24(r31)
/* 80106478 001033D8 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8010647C 001033DC 90 01 00 20 */ stw r0, 0x20(r1)
/* 80106480 001033E0 48 00 01 35 */ bl GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions
/* 80106484 001033E4 80 BF 00 28 */ lwz r5, 0x28(r31)
/* 80106488 001033E8 7C 64 1B 78 */ mr r4, r3
/* 8010648C 001033EC 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 80106490 001033F0 7F A3 EB 78 */ mr r3, r29
/* 80106494 001033F4 20 A5 00 01 */ subfic r5, r5, 1
/* 80106498 001033F8 80 DF 00 38 */ lwz r6, 0x38(r31)
/* 8010649C 001033FC 20 00 00 03 */ subfic r0, r0, 3
/* 801064A0 00103400 80 FF 00 3C */ lwz r7, 0x3c(r31)
/* 801064A4 00103404 7C A9 00 34 */ cntlzw r9, r5
/* 801064A8 00103408 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2)
/* 801064AC 0010340C 7C 00 00 34 */ cntlzw r0, r0
/* 801064B0 00103410 89 1F 00 1D */ lbz r8, 0x1d(r31)
/* 801064B4 00103414 38 A1 00 18 */ addi r5, r1, 0x18
/* 801064B8 00103418 55 29 D9 7E */ srwi r9, r9, 5
/* 801064BC 0010341C 54 0A D9 7E */ srwi r10, r0, 5
/* 801064C0 00103420 4B FF ED 0D */ bl __ct__12CActorLightsFUi9CVector3fiif
/* 801064C4 00103424 7C 7D 1B 78 */ mr r29, r3
lbl_801064C8:
/* 801064C8 00103428 7C 1D 00 D0 */ neg r0, r29
/* 801064CC 0010342C 38 61 00 08 */ addi r3, r1, 8
/* 801064D0 00103430 7C 04 EB 78 */ or r4, r0, r29
/* 801064D4 00103434 38 01 00 10 */ addi r0, r1, 0x10
/* 801064D8 00103438 54 84 0F FE */ srwi r4, r4, 0x1f
/* 801064DC 0010343C 93 A1 00 0C */ stw r29, 0xc(r1)
/* 801064E0 00103440 7C 03 00 40 */ cmplw r3, r0
/* 801064E4 00103444 98 81 00 08 */ stb r4, 8(r1)
/* 801064E8 00103448 41 82 00 34 */ beq lbl_8010651C
/* 801064EC 0010344C 88 01 00 10 */ lbz r0, 0x10(r1)
/* 801064F0 00103450 28 00 00 00 */ cmplwi r0, 0
/* 801064F4 00103454 41 82 00 10 */ beq lbl_80106504
/* 801064F8 00103458 80 61 00 14 */ lwz r3, 0x14(r1)
/* 801064FC 0010345C 38 80 00 01 */ li r4, 1
/* 80106500 00103460 4B FF EB D5 */ bl __dt__12CActorLightsFv
lbl_80106504:
/* 80106504 00103464 88 81 00 08 */ lbz r4, 8(r1)
/* 80106508 00103468 38 00 00 00 */ li r0, 0
/* 8010650C 0010346C 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80106510 00103470 98 81 00 10 */ stb r4, 0x10(r1)
/* 80106514 00103474 90 61 00 14 */ stw r3, 0x14(r1)
/* 80106518 00103478 98 01 00 08 */ stb r0, 8(r1)
lbl_8010651C:
/* 8010651C 0010347C 88 01 00 08 */ lbz r0, 8(r1)
/* 80106520 00103480 28 00 00 00 */ cmplwi r0, 0
/* 80106524 00103484 41 82 00 10 */ beq lbl_80106534
/* 80106528 00103488 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8010652C 0010348C 38 80 00 01 */ li r4, 1
/* 80106530 00103490 4B FF EB A5 */ bl __dt__12CActorLightsFv
lbl_80106534:
/* 80106534 00103494 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 80106538 00103498 2C 00 00 02 */ cmpwi r0, 2
/* 8010653C 0010349C 40 82 00 18 */ bne lbl_80106554
/* 80106540 001034A0 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80106544 001034A4 38 80 00 00 */ li r4, 0
/* 80106548 001034A8 88 03 02 98 */ lbz r0, 0x298(r3)
/* 8010654C 001034AC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80106550 001034B0 98 03 02 98 */ stb r0, 0x298(r3)
lbl_80106554:
/* 80106554 001034B4 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 80106558 001034B8 2C 00 00 00 */ cmpwi r0, 0
/* 8010655C 001034BC 40 82 00 1C */ bne lbl_80106578
/* 80106560 001034C0 88 1F 00 1C */ lbz r0, 0x1c(r31)
/* 80106564 001034C4 28 00 00 00 */ cmplwi r0, 0
/* 80106568 001034C8 41 82 00 10 */ beq lbl_80106578
/* 8010656C 001034CC 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80106570 001034D0 38 9F 00 18 */ addi r4, r31, 0x18
/* 80106574 001034D4 4B FF EA C5 */ bl SetAmbientColor__12CActorLightsFRC6CColor
lbl_80106578:
/* 80106578 001034D8 88 61 00 10 */ lbz r3, 0x10(r1)
/* 8010657C 001034DC 38 00 00 00 */ li r0, 0
/* 80106580 001034E0 98 7E 00 00 */ stb r3, 0(r30)
/* 80106584 001034E4 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80106588 001034E8 90 7E 00 04 */ stw r3, 4(r30)
/* 8010658C 001034EC 98 01 00 10 */ stb r0, 0x10(r1)
/* 80106590 001034F0 48 00 00 08 */ b lbl_80106598
/* 80106594 001034F4 4B FF EB 41 */ bl __dt__12CActorLightsFv
lbl_80106598:
/* 80106598 001034F8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8010659C 001034FC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 801065A0 00103500 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 801065A4 00103504 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 801065A8 00103508 7C 08 03 A6 */ mtlr r0
/* 801065AC 0010350C 38 21 00 40 */ addi r1, r1, 0x40
/* 801065B0 00103510 4E 80 00 20 */ blr
.global GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions
GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions:
/* 801065B4 00103514 2C 03 00 02 */ cmpwi r3, 2
/* 801065B8 00103518 41 82 00 38 */ beq lbl_801065F0
/* 801065BC 0010351C 40 80 00 14 */ bge lbl_801065D0
/* 801065C0 00103520 2C 03 00 00 */ cmpwi r3, 0
/* 801065C4 00103524 41 82 00 18 */ beq lbl_801065DC
/* 801065C8 00103528 40 80 00 20 */ bge lbl_801065E8
/* 801065CC 0010352C 48 00 00 34 */ b lbl_80106600
lbl_801065D0:
/* 801065D0 00103530 2C 03 00 04 */ cmpwi r3, 4
/* 801065D4 00103534 40 80 00 2C */ bge lbl_80106600
/* 801065D8 00103538 48 00 00 20 */ b lbl_801065F8
lbl_801065DC:
/* 801065DC 0010353C 3C 60 40 00 */ lis r3, 0x3FFFFFFF@ha
/* 801065E0 00103540 38 63 FF FF */ addi r3, r3, 0x3FFFFFFF@l
/* 801065E4 00103544 4E 80 00 20 */ blr
lbl_801065E8:
/* 801065E8 00103548 38 60 00 08 */ li r3, 8
/* 801065EC 0010354C 4E 80 00 20 */ blr
lbl_801065F0:
/* 801065F0 00103550 38 60 00 04 */ li r3, 4
/* 801065F4 00103554 4E 80 00 20 */ blr
lbl_801065F8:
/* 801065F8 00103558 38 60 00 01 */ li r3, 1
/* 801065FC 0010355C 4E 80 00 20 */ blr
lbl_80106600:
/* 80106600 00103560 38 60 00 08 */ li r3, 8
/* 80106604 00103564 4E 80 00 20 */ blr
.global __dt__16CActorParametersFv
__dt__16CActorParametersFv:
/* 80106608 00103568 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010660C 0010356C 7C 08 02 A6 */ mflr r0
/* 80106610 00103570 90 01 00 14 */ stw r0, 0x14(r1)
/* 80106614 00103574 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80106618 00103578 7C 7F 1B 79 */ or. r31, r3, r3
/* 8010661C 0010357C 41 82 00 1C */ beq lbl_80106638
/* 80106620 00103580 3C A0 80 3E */ lis r5, lbl_803DFF80@ha
/* 80106624 00103584 7C 80 07 35 */ extsh. r0, r4
/* 80106628 00103588 38 05 FF 80 */ addi r0, r5, lbl_803DFF80@l
/* 8010662C 0010358C 90 1F 00 00 */ stw r0, 0(r31)
/* 80106630 00103590 40 81 00 08 */ ble lbl_80106638
/* 80106634 00103594 48 20 F2 FD */ bl Free__7CMemoryFPCv
lbl_80106638:
/* 80106638 00103598 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010663C 0010359C 7F E3 FB 78 */ mr r3, r31
/* 80106640 001035A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80106644 001035A4 7C 08 03 A6 */ mtlr r0
/* 80106648 001035A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8010664C 001035AC 4E 80 00 20 */ blr
.global __ct__16CLightParametersFv
__ct__16CLightParametersFv:
/* 80106650 001035B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80106654 001035B4 7C 08 02 A6 */ mflr r0
/* 80106658 001035B8 3C 80 80 3E */ lis r4, lbl_803DFF80@ha
/* 8010665C 001035BC C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2)
/* 80106660 001035C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80106664 001035C4 38 00 00 00 */ li r0, 0
/* 80106668 001035C8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010666C 001035CC 7C 7F 1B 78 */ mr r31, r3
/* 80106670 001035D0 38 64 FF 80 */ addi r3, r4, lbl_803DFF80@l
/* 80106674 001035D4 90 7F 00 00 */ stw r3, 0(r31)
/* 80106678 001035D8 98 1F 00 04 */ stb r0, 4(r31)
/* 8010667C 001035DC D0 1F 00 08 */ stfs f0, 8(r31)
/* 80106680 001035E0 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80106684 001035E4 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80106688 001035E8 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8010668C 001035EC 48 24 39 21 */ bl White__6CColorFv
/* 80106690 001035F0 80 03 00 00 */ lwz r0, 0(r3)
/* 80106694 001035F4 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80106698 001035F8 38 C0 00 00 */ li r6, 0
/* 8010669C 001035FC 38 A0 00 01 */ li r5, 1
/* 801066A0 00103600 90 1F 00 18 */ stw r0, 0x18(r31)
/* 801066A4 00103604 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 801066A8 00103608 38 00 00 04 */ li r0, 4
/* 801066AC 0010360C 7F E3 FB 78 */ mr r3, r31
/* 801066B0 00103610 98 DF 00 1C */ stb r6, 0x1c(r31)
/* 801066B4 00103614 98 DF 00 1D */ stb r6, 0x1d(r31)
/* 801066B8 00103618 90 DF 00 20 */ stw r6, 0x20(r31)
/* 801066BC 0010361C 90 BF 00 24 */ stw r5, 0x24(r31)
/* 801066C0 00103620 90 DF 00 28 */ stw r6, 0x28(r31)
/* 801066C4 00103624 C0 04 00 00 */ lfs f0, 0(r4)
/* 801066C8 00103628 D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 801066CC 0010362C C0 04 00 04 */ lfs f0, 4(r4)
/* 801066D0 00103630 D0 1F 00 30 */ stfs f0, 0x30(r31)
/* 801066D4 00103634 C0 04 00 08 */ lfs f0, 8(r4)
/* 801066D8 00103638 D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 801066DC 0010363C 90 1F 00 38 */ stw r0, 0x38(r31)
/* 801066E0 00103640 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 801066E4 00103644 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801066E8 00103648 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801066EC 0010364C 7C 08 03 A6 */ mtlr r0
/* 801066F0 00103650 38 21 00 10 */ addi r1, r1, 0x10
/* 801066F4 00103654 4E 80 00 20 */ blr
.global __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii
__ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii:
/* 801066F8 00103658 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801066FC 0010365C 3D 60 80 3E */ lis r11, lbl_803DFF80@ha
/* 80106700 00103660 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l
/* 80106704 00103664 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80106708 00103668 89 81 00 23 */ lbz r12, 0x23(r1)
/* 8010670C 0010366C 90 03 00 00 */ stw r0, 0(r3)
/* 80106710 00103670 81 61 00 24 */ lwz r11, 0x24(r1)
/* 80106714 00103674 98 83 00 04 */ stb r4, 4(r3)
/* 80106718 00103678 83 E1 00 18 */ lwz r31, 0x18(r1)
/* 8010671C 0010367C D0 23 00 08 */ stfs f1, 8(r3)
/* 80106720 00103680 80 81 00 1C */ lwz r4, 0x1c(r1)
/* 80106724 00103684 90 A3 00 0C */ stw r5, 0xc(r3)
/* 80106728 00103688 D0 43 00 10 */ stfs f2, 0x10(r3)
/* 8010672C 0010368C D0 63 00 14 */ stfs f3, 0x14(r3)
/* 80106730 00103690 80 06 00 00 */ lwz r0, 0(r6)
/* 80106734 00103694 90 03 00 18 */ stw r0, 0x18(r3)
/* 80106738 00103698 98 E3 00 1C */ stb r7, 0x1c(r3)
/* 8010673C 0010369C 99 83 00 1D */ stb r12, 0x1d(r3)
/* 80106740 001036A0 91 03 00 20 */ stw r8, 0x20(r3)
/* 80106744 001036A4 91 23 00 24 */ stw r9, 0x24(r3)
/* 80106748 001036A8 91 63 00 28 */ stw r11, 0x28(r3)
/* 8010674C 001036AC C0 0A 00 00 */ lfs f0, 0(r10)
/* 80106750 001036B0 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80106754 001036B4 C0 0A 00 04 */ lfs f0, 4(r10)
/* 80106758 001036B8 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8010675C 001036BC C0 0A 00 08 */ lfs f0, 8(r10)
/* 80106760 001036C0 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80106764 001036C4 93 E3 00 38 */ stw r31, 0x38(r3)
/* 80106768 001036C8 90 83 00 3C */ stw r4, 0x3c(r3)
/* 8010676C 001036CC 80 03 00 38 */ lwz r0, 0x38(r3)
/* 80106770 001036D0 2C 00 00 04 */ cmpwi r0, 4
/* 80106774 001036D4 41 81 00 0C */ bgt lbl_80106780
/* 80106778 001036D8 2C 00 FF FF */ cmpwi r0, -1
/* 8010677C 001036DC 40 82 00 0C */ bne lbl_80106788
lbl_80106780:
/* 80106780 001036E0 38 00 00 04 */ li r0, 4
/* 80106784 001036E4 90 03 00 38 */ stw r0, 0x38(r3)
lbl_80106788:
/* 80106788 001036E8 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 8010678C 001036EC 2C 00 00 04 */ cmpwi r0, 4
/* 80106790 001036F0 41 81 00 0C */ bgt lbl_8010679C
/* 80106794 001036F4 2C 00 FF FF */ cmpwi r0, -1
/* 80106798 001036F8 40 82 00 0C */ bne lbl_801067A4
lbl_8010679C:
/* 8010679C 001036FC 38 00 00 04 */ li r0, 4
/* 801067A0 00103700 90 03 00 3C */ stw r0, 0x3c(r3)
lbl_801067A4:
/* 801067A4 00103704 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801067A8 00103708 38 21 00 10 */ addi r1, r1, 0x10
/* 801067AC 0010370C 4E 80 00 20 */ blr

View File

@ -0,0 +1,977 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AdjustTransformForType__15CMappableObjectFv
AdjustTransformForType__15CMappableObjectFv:
/* 800E8770 000E56D0 94 21 FD 30 */ stwu r1, -0x2d0(r1)
/* 800E8774 000E56D4 7C 08 02 A6 */ mflr r0
/* 800E8778 000E56D8 90 01 02 D4 */ stw r0, 0x2d4(r1)
/* 800E877C 000E56DC 93 E1 02 CC */ stw r31, 0x2cc(r1)
/* 800E8780 000E56E0 7C 9F 23 78 */ mr r31, r4
/* 800E8784 000E56E4 93 C1 02 C8 */ stw r30, 0x2c8(r1)
/* 800E8788 000E56E8 7C 7E 1B 78 */ mr r30, r3
/* 800E878C 000E56EC 80 BF 00 00 */ lwz r5, 0(r31)
/* 800E8790 000E56F0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13)
/* 800E8794 000E56F4 2C 05 00 05 */ cmpwi r5, 5
/* 800E8798 000E56F8 C0 44 00 A4 */ lfs f2, 0xa4(r4)
/* 800E879C 000E56FC C0 84 00 AC */ lfs f4, 0xac(r4)
/* 800E87A0 000E5700 40 82 00 70 */ bne lbl_800E8810
/* 800E87A4 000E5704 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2)
/* 800E87A8 000E5708 38 61 02 14 */ addi r3, r1, 0x214
/* 800E87AC 000E570C C0 62 90 20 */ lfs f3, lbl_805AAD40@sda21(r2)
/* 800E87B0 000E5710 EC 40 00 B2 */ fmuls f2, f0, f2
/* 800E87B4 000E5714 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2)
/* 800E87B8 000E5718 D0 61 00 58 */ stfs f3, 0x58(r1)
/* 800E87BC 000E571C C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2)
/* 800E87C0 000E5720 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 800E87C4 000E5724 D0 41 00 60 */ stfs f2, 0x60(r1)
/* 800E87C8 000E5728 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 800E87CC 000E572C 48 22 AA 75 */ bl Scale__12CTransform4fFf
/* 800E87D0 000E5730 38 61 02 44 */ addi r3, r1, 0x244
/* 800E87D4 000E5734 38 81 00 18 */ addi r4, r1, 0x18
/* 800E87D8 000E5738 48 22 7C 31 */ bl RotateZ__9CMatrix3fFRC9CRelAngle
/* 800E87DC 000E573C 38 61 02 68 */ addi r3, r1, 0x268
/* 800E87E0 000E5740 38 81 02 44 */ addi r4, r1, 0x244
/* 800E87E4 000E5744 38 A1 00 58 */ addi r5, r1, 0x58
/* 800E87E8 000E5748 48 22 AA 91 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800E87EC 000E574C 7C 65 1B 78 */ mr r5, r3
/* 800E87F0 000E5750 38 61 02 98 */ addi r3, r1, 0x298
/* 800E87F4 000E5754 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E87F8 000E5758 48 22 A1 59 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E87FC 000E575C 7F C3 F3 78 */ mr r3, r30
/* 800E8800 000E5760 38 81 02 98 */ addi r4, r1, 0x298
/* 800E8804 000E5764 38 A1 02 14 */ addi r5, r1, 0x214
/* 800E8808 000E5768 48 22 A1 49 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E880C 000E576C 48 00 02 20 */ b lbl_800E8A2C
lbl_800E8810:
/* 800E8810 000E5770 2C 05 00 06 */ cmpwi r5, 6
/* 800E8814 000E5774 40 82 00 78 */ bne lbl_800E888C
/* 800E8818 000E5778 C0 22 90 30 */ lfs f1, lbl_805AAD50@sda21(r2)
/* 800E881C 000E577C 38 61 01 60 */ addi r3, r1, 0x160
/* 800E8820 000E5780 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2)
/* 800E8824 000E5784 EC 61 01 32 */ fmuls f3, f1, f4
/* 800E8828 000E5788 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E882C 000E578C EC 40 00 B2 */ fmuls f2, f0, f2
/* 800E8830 000E5790 C0 02 90 34 */ lfs f0, lbl_805AAD54@sda21(r2)
/* 800E8834 000E5794 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 800E8838 000E5798 C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2)
/* 800E883C 000E579C D0 61 00 50 */ stfs f3, 0x50(r1)
/* 800E8840 000E57A0 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 800E8844 000E57A4 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800E8848 000E57A8 48 22 A9 F9 */ bl Scale__12CTransform4fFf
/* 800E884C 000E57AC 38 61 01 90 */ addi r3, r1, 0x190
/* 800E8850 000E57B0 38 81 00 14 */ addi r4, r1, 0x14
/* 800E8854 000E57B4 48 22 7B B5 */ bl RotateZ__9CMatrix3fFRC9CRelAngle
/* 800E8858 000E57B8 38 61 01 B4 */ addi r3, r1, 0x1b4
/* 800E885C 000E57BC 38 81 01 90 */ addi r4, r1, 0x190
/* 800E8860 000E57C0 38 A1 00 4C */ addi r5, r1, 0x4c
/* 800E8864 000E57C4 48 22 AA 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800E8868 000E57C8 7C 65 1B 78 */ mr r5, r3
/* 800E886C 000E57CC 38 61 01 E4 */ addi r3, r1, 0x1e4
/* 800E8870 000E57D0 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E8874 000E57D4 48 22 A0 DD */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E8878 000E57D8 7F C3 F3 78 */ mr r3, r30
/* 800E887C 000E57DC 38 81 01 E4 */ addi r4, r1, 0x1e4
/* 800E8880 000E57E0 38 A1 01 60 */ addi r5, r1, 0x160
/* 800E8884 000E57E4 48 22 A0 CD */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E8888 000E57E8 48 00 01 A4 */ b lbl_800E8A2C
lbl_800E888C:
/* 800E888C 000E57EC 2C 05 00 07 */ cmpwi r5, 7
/* 800E8890 000E57F0 41 82 00 14 */ beq lbl_800E88A4
/* 800E8894 000E57F4 2C 05 00 09 */ cmpwi r5, 9
/* 800E8898 000E57F8 41 82 00 0C */ beq lbl_800E88A4
/* 800E889C 000E57FC 2C 05 00 0B */ cmpwi r5, 0xb
/* 800E88A0 000E5800 40 82 00 5C */ bne lbl_800E88FC
lbl_800E88A4:
/* 800E88A4 000E5804 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2)
/* 800E88A8 000E5808 38 61 01 0C */ addi r3, r1, 0x10c
/* 800E88AC 000E580C C0 02 90 3C */ lfs f0, lbl_805AAD5C@sda21(r2)
/* 800E88B0 000E5810 38 81 00 10 */ addi r4, r1, 0x10
/* 800E88B4 000E5814 EC 61 00 B2 */ fmuls f3, f1, f2
/* 800E88B8 000E5818 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E88BC 000E581C EC 20 01 32 */ fmuls f1, f0, f4
/* 800E88C0 000E5820 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2)
/* 800E88C4 000E5824 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 800E88C8 000E5828 D0 61 00 40 */ stfs f3, 0x40(r1)
/* 800E88CC 000E582C D0 21 00 48 */ stfs f1, 0x48(r1)
/* 800E88D0 000E5830 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800E88D4 000E5834 48 22 7B C1 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800E88D8 000E5838 38 61 01 30 */ addi r3, r1, 0x130
/* 800E88DC 000E583C 38 81 01 0C */ addi r4, r1, 0x10c
/* 800E88E0 000E5840 38 A1 00 40 */ addi r5, r1, 0x40
/* 800E88E4 000E5844 48 22 A9 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800E88E8 000E5848 7C 65 1B 78 */ mr r5, r3
/* 800E88EC 000E584C 7F C3 F3 78 */ mr r3, r30
/* 800E88F0 000E5850 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E88F4 000E5854 48 22 A0 5D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E88F8 000E5858 48 00 01 34 */ b lbl_800E8A2C
lbl_800E88FC:
/* 800E88FC 000E585C 2C 05 00 08 */ cmpwi r5, 8
/* 800E8900 000E5860 41 82 00 14 */ beq lbl_800E8914
/* 800E8904 000E5864 2C 05 00 0A */ cmpwi r5, 0xa
/* 800E8908 000E5868 41 82 00 0C */ beq lbl_800E8914
/* 800E890C 000E586C 2C 05 00 0C */ cmpwi r5, 0xc
/* 800E8910 000E5870 40 82 00 5C */ bne lbl_800E896C
lbl_800E8914:
/* 800E8914 000E5874 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2)
/* 800E8918 000E5878 38 61 00 B8 */ addi r3, r1, 0xb8
/* 800E891C 000E587C C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2)
/* 800E8920 000E5880 38 81 00 0C */ addi r4, r1, 0xc
/* 800E8924 000E5884 EC 61 00 B2 */ fmuls f3, f1, f2
/* 800E8928 000E5888 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E892C 000E588C EC 20 01 32 */ fmuls f1, f0, f4
/* 800E8930 000E5890 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2)
/* 800E8934 000E5894 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 800E8938 000E5898 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 800E893C 000E589C D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 800E8940 000E58A0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 800E8944 000E58A4 48 22 7B 51 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800E8948 000E58A8 38 61 00 DC */ addi r3, r1, 0xdc
/* 800E894C 000E58AC 38 81 00 B8 */ addi r4, r1, 0xb8
/* 800E8950 000E58B0 38 A1 00 34 */ addi r5, r1, 0x34
/* 800E8954 000E58B4 48 22 A9 25 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800E8958 000E58B8 7C 65 1B 78 */ mr r5, r3
/* 800E895C 000E58BC 7F C3 F3 78 */ mr r3, r30
/* 800E8960 000E58C0 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E8964 000E58C4 48 22 9F ED */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E8968 000E58C8 48 00 00 C4 */ b lbl_800E8A2C
lbl_800E896C:
/* 800E896C 000E58CC 38 05 FF F3 */ addi r0, r5, -13
/* 800E8970 000E58D0 28 00 00 01 */ cmplwi r0, 1
/* 800E8974 000E58D4 40 81 00 0C */ ble lbl_800E8980
/* 800E8978 000E58D8 2C 05 00 0F */ cmpwi r5, 0xf
/* 800E897C 000E58DC 40 82 00 5C */ bne lbl_800E89D8
lbl_800E8980:
/* 800E8980 000E58E0 C0 22 90 44 */ lfs f1, lbl_805AAD64@sda21(r2)
/* 800E8984 000E58E4 38 61 00 64 */ addi r3, r1, 0x64
/* 800E8988 000E58E8 C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2)
/* 800E898C 000E58EC 38 81 00 08 */ addi r4, r1, 8
/* 800E8990 000E58F0 EC 61 00 B2 */ fmuls f3, f1, f2
/* 800E8994 000E58F4 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E8998 000E58F8 EC 20 01 32 */ fmuls f1, f0, f4
/* 800E899C 000E58FC C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2)
/* 800E89A0 000E5900 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 800E89A4 000E5904 D0 61 00 28 */ stfs f3, 0x28(r1)
/* 800E89A8 000E5908 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 800E89AC 000E590C D0 01 00 08 */ stfs f0, 8(r1)
/* 800E89B0 000E5910 48 22 7A E5 */ bl RotateY__9CMatrix3fFRC9CRelAngle
/* 800E89B4 000E5914 38 61 00 88 */ addi r3, r1, 0x88
/* 800E89B8 000E5918 38 81 00 64 */ addi r4, r1, 0x64
/* 800E89BC 000E591C 38 A1 00 28 */ addi r5, r1, 0x28
/* 800E89C0 000E5920 48 22 A8 B9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 800E89C4 000E5924 7C 65 1B 78 */ mr r5, r3
/* 800E89C8 000E5928 7F C3 F3 78 */ mr r3, r30
/* 800E89CC 000E592C 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E89D0 000E5930 48 22 9F 81 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 800E89D4 000E5934 48 00 00 58 */ b lbl_800E8A2C
lbl_800E89D8:
/* 800E89D8 000E5938 2C 05 00 00 */ cmpwi r5, 0
/* 800E89DC 000E593C 38 00 00 00 */ li r0, 0
/* 800E89E0 000E5940 41 80 00 10 */ blt lbl_800E89F0
/* 800E89E4 000E5944 2C 05 00 0F */ cmpwi r5, 0xf
/* 800E89E8 000E5948 41 81 00 08 */ bgt lbl_800E89F0
/* 800E89EC 000E594C 38 00 00 01 */ li r0, 1
lbl_800E89F0:
/* 800E89F0 000E5950 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800E89F4 000E5954 41 82 00 14 */ beq lbl_800E8A08
/* 800E89F8 000E5958 7F C3 F3 78 */ mr r3, r30
/* 800E89FC 000E595C 38 9F 00 10 */ addi r4, r31, 0x10
/* 800E8A00 000E5960 48 22 A1 75 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800E8A04 000E5964 48 00 00 28 */ b lbl_800E8A2C
lbl_800E8A08:
/* 800E8A08 000E5968 C0 5F 00 3C */ lfs f2, 0x3c(r31)
/* 800E8A0C 000E596C 7F C3 F3 78 */ mr r3, r30
/* 800E8A10 000E5970 C0 3F 00 2C */ lfs f1, 0x2c(r31)
/* 800E8A14 000E5974 38 81 00 1C */ addi r4, r1, 0x1c
/* 800E8A18 000E5978 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 800E8A1C 000E597C D0 21 00 20 */ stfs f1, 0x20(r1)
/* 800E8A20 000E5980 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 800E8A24 000E5984 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 800E8A28 000E5988 48 22 A7 19 */ bl Translate__12CTransform4fFRC9CVector3f
lbl_800E8A2C:
/* 800E8A2C 000E598C 80 01 02 D4 */ lwz r0, 0x2d4(r1)
/* 800E8A30 000E5990 83 E1 02 CC */ lwz r31, 0x2cc(r1)
/* 800E8A34 000E5994 83 C1 02 C8 */ lwz r30, 0x2c8(r1)
/* 800E8A38 000E5998 7C 08 03 A6 */ mtlr r0
/* 800E8A3C 000E599C 38 21 02 D0 */ addi r1, r1, 0x2d0
/* 800E8A40 000E59A0 4E 80 00 20 */ blr
.global GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo
GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo:
/* 800E8A44 000E59A4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800E8A48 000E59A8 7C 08 02 A6 */ mflr r0
/* 800E8A4C 000E59AC 90 01 00 34 */ stw r0, 0x34(r1)
/* 800E8A50 000E59B0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800E8A54 000E59B4 7C BF 2B 78 */ mr r31, r5
/* 800E8A58 000E59B8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800E8A5C 000E59BC 7C 9E 23 78 */ mr r30, r4
/* 800E8A60 000E59C0 38 81 00 10 */ addi r4, r1, 0x10
/* 800E8A64 000E59C4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800E8A68 000E59C8 7C 7D 1B 78 */ mr r29, r3
/* 800E8A6C 000E59CC 80 03 00 08 */ lwz r0, 8(r3)
/* 800E8A70 000E59D0 7F E3 FB 78 */ mr r3, r31
/* 800E8A74 000E59D4 54 00 85 BE */ rlwinm r0, r0, 0x10, 0x16, 0x1f
/* 800E8A78 000E59D8 90 01 00 0C */ stw r0, 0xc(r1)
/* 800E8A7C 000E59DC 90 01 00 10 */ stw r0, 0x10(r1)
/* 800E8A80 000E59E0 48 07 F2 85 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId
/* 800E8A84 000E59E4 80 1D 00 04 */ lwz r0, 4(r29)
/* 800E8A88 000E59E8 2C 00 00 02 */ cmpwi r0, 2
/* 800E8A8C 000E59EC 41 82 00 50 */ beq lbl_800E8ADC
/* 800E8A90 000E59F0 40 80 00 14 */ bge lbl_800E8AA4
/* 800E8A94 000E59F4 2C 00 00 00 */ cmpwi r0, 0
/* 800E8A98 000E59F8 41 82 00 1C */ beq lbl_800E8AB4
/* 800E8A9C 000E59FC 40 80 00 20 */ bge lbl_800E8ABC
/* 800E8AA0 000E5A00 48 00 00 84 */ b lbl_800E8B24
lbl_800E8AA4:
/* 800E8AA4 000E5A04 2C 00 00 04 */ cmpwi r0, 4
/* 800E8AA8 000E5A08 41 82 00 14 */ beq lbl_800E8ABC
/* 800E8AAC 000E5A0C 40 80 00 78 */ bge lbl_800E8B24
/* 800E8AB0 000E5A10 48 00 00 6C */ b lbl_800E8B1C
lbl_800E8AB4:
/* 800E8AB4 000E5A14 38 60 00 01 */ li r3, 1
/* 800E8AB8 000E5A18 48 00 00 70 */ b lbl_800E8B28
lbl_800E8ABC:
/* 800E8ABC 000E5A1C 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800E8AC0 000E5A20 38 80 00 00 */ li r4, 0
/* 800E8AC4 000E5A24 40 82 00 0C */ bne lbl_800E8AD0
/* 800E8AC8 000E5A28 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800E8ACC 000E5A2C 41 82 00 08 */ beq lbl_800E8AD4
lbl_800E8AD0:
/* 800E8AD0 000E5A30 38 80 00 01 */ li r4, 1
lbl_800E8AD4:
/* 800E8AD4 000E5A34 7C 83 23 78 */ mr r3, r4
/* 800E8AD8 000E5A38 48 00 00 50 */ b lbl_800E8B28
lbl_800E8ADC:
/* 800E8ADC 000E5A3C 80 9D 00 00 */ lwz r4, 0(r29)
/* 800E8AE0 000E5A40 38 00 00 00 */ li r0, 0
/* 800E8AE4 000E5A44 2C 04 00 00 */ cmpwi r4, 0
/* 800E8AE8 000E5A48 41 80 00 10 */ blt lbl_800E8AF8
/* 800E8AEC 000E5A4C 2C 04 00 0F */ cmpwi r4, 0xf
/* 800E8AF0 000E5A50 41 81 00 08 */ bgt lbl_800E8AF8
/* 800E8AF4 000E5A54 38 00 00 01 */ li r0, 1
lbl_800E8AF8:
/* 800E8AF8 000E5A58 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800E8AFC 000E5A5C 41 82 00 2C */ beq lbl_800E8B28
/* 800E8B00 000E5A60 80 1D 00 08 */ lwz r0, 8(r29)
/* 800E8B04 000E5A64 7F E3 FB 78 */ mr r3, r31
/* 800E8B08 000E5A68 38 81 00 08 */ addi r4, r1, 8
/* 800E8B0C 000E5A6C 90 01 00 08 */ stw r0, 8(r1)
/* 800E8B10 000E5A70 48 07 FB E1 */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId
/* 800E8B14 000E5A74 48 00 00 14 */ b lbl_800E8B28
/* 800E8B18 000E5A78 48 00 00 10 */ b lbl_800E8B28
lbl_800E8B1C:
/* 800E8B1C 000E5A7C 38 60 00 00 */ li r3, 0
/* 800E8B20 000E5A80 48 00 00 08 */ b lbl_800E8B28
lbl_800E8B24:
/* 800E8B24 000E5A84 38 60 00 01 */ li r3, 1
lbl_800E8B28:
/* 800E8B28 000E5A88 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E8B2C 000E5A8C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800E8B30 000E5A90 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800E8B34 000E5A94 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800E8B38 000E5A98 7C 08 03 A6 */ mtlr r0
/* 800E8B3C 000E5A9C 38 21 00 30 */ addi r1, r1, 0x30
/* 800E8B40 000E5AA0 4E 80 00 20 */ blr
.global BuildSurfaceCenterPoint__15CMappableObjectCFi
BuildSurfaceCenterPoint__15CMappableObjectCFi:
/* 800E8B44 000E5AA4 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800E8B48 000E5AA8 7C 08 02 A6 */ mflr r0
/* 800E8B4C 000E5AAC 2C 05 00 03 */ cmpwi r5, 3
/* 800E8B50 000E5AB0 90 01 00 54 */ stw r0, 0x54(r1)
/* 800E8B54 000E5AB4 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 800E8B58 000E5AB8 7C 7F 1B 78 */ mr r31, r3
/* 800E8B5C 000E5ABC 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13)
/* 800E8B60 000E5AC0 C0 26 00 AC */ lfs f1, 0xac(r6)
/* 800E8B64 000E5AC4 C0 46 00 A8 */ lfs f2, 0xa8(r6)
/* 800E8B68 000E5AC8 C0 66 00 A4 */ lfs f3, 0xa4(r6)
/* 800E8B6C 000E5ACC 41 82 00 90 */ beq lbl_800E8BFC
/* 800E8B70 000E5AD0 40 80 00 1C */ bge lbl_800E8B8C
/* 800E8B74 000E5AD4 2C 05 00 01 */ cmpwi r5, 1
/* 800E8B78 000E5AD8 41 82 00 38 */ beq lbl_800E8BB0
/* 800E8B7C 000E5ADC 40 80 00 5C */ bge lbl_800E8BD8
/* 800E8B80 000E5AE0 2C 05 00 00 */ cmpwi r5, 0
/* 800E8B84 000E5AE4 40 80 00 18 */ bge lbl_800E8B9C
/* 800E8B88 000E5AE8 48 00 00 D8 */ b lbl_800E8C60
lbl_800E8B8C:
/* 800E8B8C 000E5AEC 2C 05 00 05 */ cmpwi r5, 5
/* 800E8B90 000E5AF0 41 82 00 B0 */ beq lbl_800E8C40
/* 800E8B94 000E5AF4 40 80 00 CC */ bge lbl_800E8C60
/* 800E8B98 000E5AF8 48 00 00 84 */ b lbl_800E8C1C
lbl_800E8B9C:
/* 800E8B9C 000E5AFC 3C A0 80 5A */ lis r5, skZero3f@ha
/* 800E8BA0 000E5B00 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8BA4 000E5B04 38 A5 66 A0 */ addi r5, r5, skZero3f@l
/* 800E8BA8 000E5B08 48 22 9F 41 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8BAC 000E5B0C 48 00 00 D0 */ b lbl_800E8C7C
lbl_800E8BB0:
/* 800E8BB0 000E5B10 C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2)
/* 800E8BB4 000E5B14 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8BB8 000E5B18 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E8BBC 000E5B1C 38 A1 00 38 */ addi r5, r1, 0x38
/* 800E8BC0 000E5B20 EC 00 00 F2 */ fmuls f0, f0, f3
/* 800E8BC4 000E5B24 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 800E8BC8 000E5B28 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 800E8BCC 000E5B2C D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800E8BD0 000E5B30 48 22 9F 19 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8BD4 000E5B34 48 00 00 A8 */ b lbl_800E8C7C
lbl_800E8BD8:
/* 800E8BD8 000E5B38 FC 00 10 50 */ fneg f0, f2
/* 800E8BDC 000E5B3C C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E8BE0 000E5B40 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8BE4 000E5B44 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800E8BE8 000E5B48 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 800E8BEC 000E5B4C D0 01 00 30 */ stfs f0, 0x30(r1)
/* 800E8BF0 000E5B50 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 800E8BF4 000E5B54 48 22 9E F5 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8BF8 000E5B58 48 00 00 84 */ b lbl_800E8C7C
lbl_800E8BFC:
/* 800E8BFC 000E5B5C C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2)
/* 800E8C00 000E5B60 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8C04 000E5B64 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 800E8C08 000E5B68 38 A1 00 20 */ addi r5, r1, 0x20
/* 800E8C0C 000E5B6C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800E8C10 000E5B70 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 800E8C14 000E5B74 48 22 9E D5 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8C18 000E5B78 48 00 00 64 */ b lbl_800E8C7C
lbl_800E8C1C:
/* 800E8C1C 000E5B7C FC 20 08 50 */ fneg f1, f1
/* 800E8C20 000E5B80 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2)
/* 800E8C24 000E5B84 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8C28 000E5B88 38 A1 00 14 */ addi r5, r1, 0x14
/* 800E8C2C 000E5B8C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 800E8C30 000E5B90 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 800E8C34 000E5B94 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 800E8C38 000E5B98 48 22 9E B1 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8C3C 000E5B9C 48 00 00 40 */ b lbl_800E8C7C
lbl_800E8C40:
/* 800E8C40 000E5BA0 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2)
/* 800E8C44 000E5BA4 38 84 00 10 */ addi r4, r4, 0x10
/* 800E8C48 000E5BA8 D0 21 00 08 */ stfs f1, 8(r1)
/* 800E8C4C 000E5BAC 38 A1 00 08 */ addi r5, r1, 8
/* 800E8C50 000E5BB0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 800E8C54 000E5BB4 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800E8C58 000E5BB8 48 22 9E 91 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 800E8C5C 000E5BBC 48 00 00 20 */ b lbl_800E8C7C
lbl_800E8C60:
/* 800E8C60 000E5BC0 3C 60 80 5A */ lis r3, skZero3f@ha
/* 800E8C64 000E5BC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3)
/* 800E8C68 000E5BC8 D0 1F 00 00 */ stfs f0, 0(r31)
/* 800E8C6C 000E5BCC C0 03 00 04 */ lfs f0, 4(r3)
/* 800E8C70 000E5BD0 D0 1F 00 04 */ stfs f0, 4(r31)
/* 800E8C74 000E5BD4 C0 03 00 08 */ lfs f0, 8(r3)
/* 800E8C78 000E5BD8 D0 1F 00 08 */ stfs f0, 8(r31)
lbl_800E8C7C:
/* 800E8C7C 000E5BDC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800E8C80 000E5BE0 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 800E8C84 000E5BE4 7C 08 03 A6 */ mtlr r0
/* 800E8C88 000E5BE8 38 21 00 50 */ addi r1, r1, 0x50
/* 800E8C8C 000E5BEC 4E 80 00 20 */ blr
.global DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib
DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib:
/* 800E8C90 000E5BF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800E8C94 000E5BF4 7C 08 02 A6 */ mflr r0
/* 800E8C98 000E5BF8 7C 88 23 78 */ mr r8, r4
/* 800E8C9C 000E5BFC 7C 64 1B 78 */ mr r4, r3
/* 800E8CA0 000E5C00 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E8CA4 000E5C04 7C A0 2B 78 */ mr r0, r5
/* 800E8CA8 000E5C08 7D 05 43 78 */ mr r5, r8
/* 800E8CAC 000E5C0C 38 61 00 08 */ addi r3, r1, 8
/* 800E8CB0 000E5C10 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800E8CB4 000E5C14 7C DF 33 78 */ mr r31, r6
/* 800E8CB8 000E5C18 7C 06 03 78 */ mr r6, r0
/* 800E8CBC 000E5C1C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800E8CC0 000E5C20 7C FE 3B 78 */ mr r30, r7
/* 800E8CC4 000E5C24 48 00 05 45 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo
/* 800E8CC8 000E5C28 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800E8CCC 000E5C2C 80 81 00 08 */ lwz r4, 8(r1)
/* 800E8CD0 000E5C30 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 800E8CD4 000E5C34 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha
/* 800E8CD8 000E5C38 90 81 00 10 */ stw r4, 0x10(r1)
/* 800E8CDC 000E5C3C 57 E4 20 36 */ slwi r4, r31, 4
/* 800E8CE0 000E5C40 38 03 E5 F0 */ addi r0, r3, lbl_803CE5F0@l
/* 800E8CE4 000E5C44 3B C1 00 14 */ addi r30, r1, 0x14
/* 800E8CE8 000E5C48 90 A1 00 14 */ stw r5, 0x14(r1)
/* 800E8CEC 000E5C4C 7F E0 22 14 */ add r31, r0, r4
/* 800E8CF0 000E5C50 41 82 00 18 */ beq lbl_800E8D08
/* 800E8CF4 000E5C54 3C 80 80 47 */ lis r4, lbl_8046C498@ha
/* 800E8CF8 000E5C58 38 60 00 09 */ li r3, 9
/* 800E8CFC 000E5C5C 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l
/* 800E8D00 000E5C60 38 A0 00 0C */ li r5, 0xc
/* 800E8D04 000E5C64 48 21 F9 41 */ bl SetArray__3CGXF7_GXAttrPCvUc
lbl_800E8D08:
/* 800E8D08 000E5C68 38 81 00 10 */ addi r4, r1, 0x10
/* 800E8D0C 000E5C6C 38 60 00 00 */ li r3, 0
/* 800E8D10 000E5C70 48 21 FF 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 800E8D14 000E5C74 38 60 00 98 */ li r3, 0x98
/* 800E8D18 000E5C78 38 80 00 00 */ li r4, 0
/* 800E8D1C 000E5C7C 38 A0 00 04 */ li r5, 4
/* 800E8D20 000E5C80 48 21 F8 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 800E8D24 000E5C84 88 7F 00 0C */ lbz r3, 0xc(r31)
/* 800E8D28 000E5C88 3C 80 CC 01 */ lis r4, 0xCC008000@ha
/* 800E8D2C 000E5C8C 88 1F 00 0D */ lbz r0, 0xd(r31)
/* 800E8D30 000E5C90 98 64 80 00 */ stb r3, 0xCC008000@l(r4)
/* 800E8D34 000E5C94 88 7F 00 0E */ lbz r3, 0xe(r31)
/* 800E8D38 000E5C98 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
/* 800E8D3C 000E5C9C 88 1F 00 0F */ lbz r0, 0xf(r31)
/* 800E8D40 000E5CA0 98 64 80 00 */ stb r3, 0xCC008000@l(r4)
/* 800E8D44 000E5CA4 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
/* 800E8D48 000E5CA8 48 21 F8 39 */ bl End__3CGXFv
/* 800E8D4C 000E5CAC 7F C4 F3 78 */ mr r4, r30
/* 800E8D50 000E5CB0 38 60 00 00 */ li r3, 0
/* 800E8D54 000E5CB4 48 21 FE F1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 800E8D58 000E5CB8 38 60 00 B0 */ li r3, 0xb0
/* 800E8D5C 000E5CBC 38 80 00 00 */ li r4, 0
/* 800E8D60 000E5CC0 38 A0 00 05 */ li r5, 5
/* 800E8D64 000E5CC4 48 21 F8 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 800E8D68 000E5CC8 88 BF 00 0C */ lbz r5, 0xc(r31)
/* 800E8D6C 000E5CCC 3C 80 CC 01 */ lis r4, 0xCC008000@ha
/* 800E8D70 000E5CD0 88 1F 00 0D */ lbz r0, 0xd(r31)
/* 800E8D74 000E5CD4 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
/* 800E8D78 000E5CD8 88 7F 00 0F */ lbz r3, 0xf(r31)
/* 800E8D7C 000E5CDC 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
/* 800E8D80 000E5CE0 88 1F 00 0E */ lbz r0, 0xe(r31)
/* 800E8D84 000E5CE4 98 64 80 00 */ stb r3, 0xCC008000@l(r4)
/* 800E8D88 000E5CE8 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
/* 800E8D8C 000E5CEC 98 A4 80 00 */ stb r5, 0xCC008000@l(r4)
/* 800E8D90 000E5CF0 48 21 F7 F1 */ bl End__3CGXFv
/* 800E8D94 000E5CF4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800E8D98 000E5CF8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800E8D9C 000E5CFC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800E8DA0 000E5D00 7C 08 03 A6 */ mtlr r0
/* 800E8DA4 000E5D04 38 21 00 20 */ addi r1, r1, 0x20
/* 800E8DA8 000E5D08 4E 80 00 20 */ blr
.global Draw__15CMappableObjectCFiRC13CMapWorldInfofb
Draw__15CMappableObjectCFiRC13CMapWorldInfofb:
/* 800E8DAC 000E5D0C 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 800E8DB0 000E5D10 7C 08 02 A6 */ mflr r0
/* 800E8DB4 000E5D14 90 01 00 94 */ stw r0, 0x94(r1)
/* 800E8DB8 000E5D18 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 800E8DBC 000E5D1C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 800E8DC0 000E5D20 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 800E8DC4 000E5D24 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 800E8DC8 000E5D28 BF 61 00 5C */ stmw r27, 0x5c(r1)
/* 800E8DCC 000E5D2C 80 E3 00 00 */ lwz r7, 0(r3)
/* 800E8DD0 000E5D30 FF C0 08 90 */ fmr f30, f1
/* 800E8DD4 000E5D34 7C 89 23 78 */ mr r9, r4
/* 800E8DD8 000E5D38 7C A8 2B 78 */ mr r8, r5
/* 800E8DDC 000E5D3C 2C 07 00 00 */ cmpwi r7, 0
/* 800E8DE0 000E5D40 7C DB 33 78 */ mr r27, r6
/* 800E8DE4 000E5D44 38 00 00 00 */ li r0, 0
/* 800E8DE8 000E5D48 41 80 00 10 */ blt lbl_800E8DF8
/* 800E8DEC 000E5D4C 2C 07 00 0F */ cmpwi r7, 0xf
/* 800E8DF0 000E5D50 41 81 00 08 */ bgt lbl_800E8DF8
/* 800E8DF4 000E5D54 38 00 00 01 */ li r0, 1
lbl_800E8DF8:
/* 800E8DF8 000E5D58 54 00 06 3E */ clrlwi r0, r0, 0x18
/* 800E8DFC 000E5D5C 28 00 00 01 */ cmplwi r0, 1
/* 800E8E00 000E5D60 40 82 00 F8 */ bne lbl_800E8EF8
/* 800E8E04 000E5D64 FC 20 F0 90 */ fmr f1, f30
/* 800E8E08 000E5D68 7C 64 1B 78 */ mr r4, r3
/* 800E8E0C 000E5D6C 7D 25 4B 78 */ mr r5, r9
/* 800E8E10 000E5D70 7D 06 43 78 */ mr r6, r8
/* 800E8E14 000E5D74 38 61 00 38 */ addi r3, r1, 0x38
/* 800E8E18 000E5D78 48 00 03 F1 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo
/* 800E8E1C 000E5D7C 80 81 00 38 */ lwz r4, 0x38(r1)
/* 800E8E20 000E5D80 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha
/* 800E8E24 000E5D84 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 800E8E28 000E5D88 57 7D 06 3E */ clrlwi r29, r27, 0x18
/* 800E8E2C 000E5D8C 90 81 00 40 */ stw r4, 0x40(r1)
/* 800E8E30 000E5D90 3B E1 00 44 */ addi r31, r1, 0x44
/* 800E8E34 000E5D94 3B 83 E5 F0 */ addi r28, r3, lbl_803CE5F0@l
/* 800E8E38 000E5D98 3B 60 00 00 */ li r27, 0
/* 800E8E3C 000E5D9C 90 01 00 44 */ stw r0, 0x44(r1)
/* 800E8E40 000E5DA0 3F C0 CC 01 */ lis r30, 0xcc01
lbl_800E8E44:
/* 800E8E44 000E5DA4 28 1D 00 00 */ cmplwi r29, 0
/* 800E8E48 000E5DA8 41 82 00 18 */ beq lbl_800E8E60
/* 800E8E4C 000E5DAC 3C 80 80 47 */ lis r4, lbl_8046C498@ha
/* 800E8E50 000E5DB0 38 60 00 09 */ li r3, 9
/* 800E8E54 000E5DB4 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l
/* 800E8E58 000E5DB8 38 A0 00 0C */ li r5, 0xc
/* 800E8E5C 000E5DBC 48 21 F7 E9 */ bl SetArray__3CGXF7_GXAttrPCvUc
lbl_800E8E60:
/* 800E8E60 000E5DC0 38 81 00 40 */ addi r4, r1, 0x40
/* 800E8E64 000E5DC4 38 60 00 00 */ li r3, 0
/* 800E8E68 000E5DC8 48 21 FD DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 800E8E6C 000E5DCC 38 60 00 98 */ li r3, 0x98
/* 800E8E70 000E5DD0 38 80 00 00 */ li r4, 0
/* 800E8E74 000E5DD4 38 A0 00 04 */ li r5, 4
/* 800E8E78 000E5DD8 48 21 F7 0D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 800E8E7C 000E5DDC 88 7C 00 0C */ lbz r3, 0xc(r28)
/* 800E8E80 000E5DE0 88 1C 00 0D */ lbz r0, 0xd(r28)
/* 800E8E84 000E5DE4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30)
/* 800E8E88 000E5DE8 88 7C 00 0E */ lbz r3, 0xe(r28)
/* 800E8E8C 000E5DEC 98 1E 80 00 */ stb r0, 0xCC008000@l(r30)
/* 800E8E90 000E5DF0 88 1C 00 0F */ lbz r0, 0xf(r28)
/* 800E8E94 000E5DF4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30)
/* 800E8E98 000E5DF8 98 1E 80 00 */ stb r0, 0xCC008000@l(r30)
/* 800E8E9C 000E5DFC 48 21 F6 E5 */ bl End__3CGXFv
/* 800E8EA0 000E5E00 7F E4 FB 78 */ mr r4, r31
/* 800E8EA4 000E5E04 38 60 00 00 */ li r3, 0
/* 800E8EA8 000E5E08 48 21 FD 9D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 800E8EAC 000E5E0C 38 60 00 B0 */ li r3, 0xb0
/* 800E8EB0 000E5E10 38 80 00 00 */ li r4, 0
/* 800E8EB4 000E5E14 38 A0 00 05 */ li r5, 5
/* 800E8EB8 000E5E18 48 21 F6 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 800E8EBC 000E5E1C 88 9C 00 0C */ lbz r4, 0xc(r28)
/* 800E8EC0 000E5E20 88 1C 00 0D */ lbz r0, 0xd(r28)
/* 800E8EC4 000E5E24 98 9E 80 00 */ stb r4, 0xCC008000@l(r30)
/* 800E8EC8 000E5E28 88 7C 00 0F */ lbz r3, 0xf(r28)
/* 800E8ECC 000E5E2C 98 1E 80 00 */ stb r0, 0xCC008000@l(r30)
/* 800E8ED0 000E5E30 88 1C 00 0E */ lbz r0, 0xe(r28)
/* 800E8ED4 000E5E34 98 7E 80 00 */ stb r3, 0xCC008000@l(r30)
/* 800E8ED8 000E5E38 98 1E 80 00 */ stb r0, 0xCC008000@l(r30)
/* 800E8EDC 000E5E3C 98 9E 80 00 */ stb r4, 0xCC008000@l(r30)
/* 800E8EE0 000E5E40 48 21 F6 A1 */ bl End__3CGXFv
/* 800E8EE4 000E5E44 3B 7B 00 01 */ addi r27, r27, 1
/* 800E8EE8 000E5E48 3B 9C 00 10 */ addi r28, r28, 0x10
/* 800E8EEC 000E5E4C 2C 1B 00 06 */ cmpwi r27, 6
/* 800E8EF0 000E5E50 41 80 FF 54 */ blt lbl_800E8E44
/* 800E8EF4 000E5E54 48 00 02 70 */ b lbl_800E9164
lbl_800E8EF8:
/* 800E8EF8 000E5E58 80 63 00 00 */ lwz r3, 0(r3)
/* 800E8EFC 000E5E5C 3B A0 FF FF */ li r29, -1
/* 800E8F00 000E5E60 38 03 FF E5 */ addi r0, r3, -27
/* 800E8F04 000E5E64 28 00 00 0A */ cmplwi r0, 0xa
/* 800E8F08 000E5E68 41 81 01 34 */ bgt lbl_800E903C
/* 800E8F0C 000E5E6C 3C 60 80 3E */ lis r3, lbl_803DFC10@ha
/* 800E8F10 000E5E70 54 00 10 3A */ slwi r0, r0, 2
/* 800E8F14 000E5E74 38 63 FC 10 */ addi r3, r3, lbl_803DFC10@l
/* 800E8F18 000E5E78 7C 03 00 2E */ lwzx r0, r3, r0
/* 800E8F1C 000E5E7C 7C 09 03 A6 */ mtctr r0
/* 800E8F20 000E5E80 4E 80 04 20 */ bctr
/* 800E8F24 000E5E84 38 80 00 FF */ li r4, 0xff
/* 800E8F28 000E5E88 38 00 00 96 */ li r0, 0x96
/* 800E8F2C 000E5E8C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E8F30 000E5E90 98 81 00 24 */ stb r4, 0x24(r1)
/* 800E8F34 000E5E94 80 C3 00 10 */ lwz r6, 0x10(r3)
/* 800E8F38 000E5E98 98 81 00 25 */ stb r4, 0x25(r1)
/* 800E8F3C 000E5E9C 98 01 00 26 */ stb r0, 0x26(r1)
/* 800E8F40 000E5EA0 98 81 00 27 */ stb r4, 0x27(r1)
/* 800E8F44 000E5EA4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800E8F48 000E5EA8 48 00 00 FC */ b lbl_800E9044
/* 800E8F4C 000E5EAC 38 80 00 FF */ li r4, 0xff
/* 800E8F50 000E5EB0 38 00 00 96 */ li r0, 0x96
/* 800E8F54 000E5EB4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E8F58 000E5EB8 98 81 00 20 */ stb r4, 0x20(r1)
/* 800E8F5C 000E5EBC 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 800E8F60 000E5EC0 98 81 00 21 */ stb r4, 0x21(r1)
/* 800E8F64 000E5EC4 98 01 00 22 */ stb r0, 0x22(r1)
/* 800E8F68 000E5EC8 98 81 00 23 */ stb r4, 0x23(r1)
/* 800E8F6C 000E5ECC 83 A1 00 20 */ lwz r29, 0x20(r1)
/* 800E8F70 000E5ED0 48 00 00 D4 */ b lbl_800E9044
/* 800E8F74 000E5ED4 38 80 00 FF */ li r4, 0xff
/* 800E8F78 000E5ED8 38 A0 00 64 */ li r5, 0x64
/* 800E8F7C 000E5EDC 38 00 00 96 */ li r0, 0x96
/* 800E8F80 000E5EE0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E8F84 000E5EE4 98 A1 00 1C */ stb r5, 0x1c(r1)
/* 800E8F88 000E5EE8 80 C3 00 10 */ lwz r6, 0x10(r3)
/* 800E8F8C 000E5EEC 98 81 00 1D */ stb r4, 0x1d(r1)
/* 800E8F90 000E5EF0 98 01 00 1E */ stb r0, 0x1e(r1)
/* 800E8F94 000E5EF4 98 81 00 1F */ stb r4, 0x1f(r1)
/* 800E8F98 000E5EF8 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 800E8F9C 000E5EFC 48 00 00 A8 */ b lbl_800E9044
/* 800E8FA0 000E5F00 38 80 00 FF */ li r4, 0xff
/* 800E8FA4 000E5F04 38 A0 00 64 */ li r5, 0x64
/* 800E8FA8 000E5F08 38 00 00 96 */ li r0, 0x96
/* 800E8FAC 000E5F0C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E8FB0 000E5F10 98 A1 00 18 */ stb r5, 0x18(r1)
/* 800E8FB4 000E5F14 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 800E8FB8 000E5F18 98 81 00 19 */ stb r4, 0x19(r1)
/* 800E8FBC 000E5F1C 98 01 00 1A */ stb r0, 0x1a(r1)
/* 800E8FC0 000E5F20 98 81 00 1B */ stb r4, 0x1b(r1)
/* 800E8FC4 000E5F24 83 A1 00 18 */ lwz r29, 0x18(r1)
/* 800E8FC8 000E5F28 48 00 00 7C */ b lbl_800E9044
/* 800E8FCC 000E5F2C 38 A0 00 FF */ li r5, 0xff
/* 800E8FD0 000E5F30 38 80 00 64 */ li r4, 0x64
/* 800E8FD4 000E5F34 38 00 00 96 */ li r0, 0x96
/* 800E8FD8 000E5F38 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E8FDC 000E5F3C 98 A1 00 14 */ stb r5, 0x14(r1)
/* 800E8FE0 000E5F40 80 C3 00 10 */ lwz r6, 0x10(r3)
/* 800E8FE4 000E5F44 98 81 00 15 */ stb r4, 0x15(r1)
/* 800E8FE8 000E5F48 98 01 00 16 */ stb r0, 0x16(r1)
/* 800E8FEC 000E5F4C 98 A1 00 17 */ stb r5, 0x17(r1)
/* 800E8FF0 000E5F50 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800E8FF4 000E5F54 48 00 00 50 */ b lbl_800E9044
/* 800E8FF8 000E5F58 38 A0 00 FF */ li r5, 0xff
/* 800E8FFC 000E5F5C 38 80 00 64 */ li r4, 0x64
/* 800E9000 000E5F60 38 00 00 96 */ li r0, 0x96
/* 800E9004 000E5F64 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E9008 000E5F68 98 A1 00 10 */ stb r5, 0x10(r1)
/* 800E900C 000E5F6C 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 800E9010 000E5F70 98 81 00 11 */ stb r4, 0x11(r1)
/* 800E9014 000E5F74 98 01 00 12 */ stb r0, 0x12(r1)
/* 800E9018 000E5F78 98 A1 00 13 */ stb r5, 0x13(r1)
/* 800E901C 000E5F7C 83 A1 00 10 */ lwz r29, 0x10(r1)
/* 800E9020 000E5F80 48 00 00 24 */ b lbl_800E9044
/* 800E9024 000E5F84 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E9028 000E5F88 80 C3 00 04 */ lwz r6, 4(r3)
/* 800E902C 000E5F8C 48 00 00 18 */ b lbl_800E9044
/* 800E9030 000E5F90 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E9034 000E5F94 80 C3 00 08 */ lwz r6, 8(r3)
/* 800E9038 000E5F98 48 00 00 0C */ b lbl_800E9044
lbl_800E903C:
/* 800E903C 000E5F9C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 800E9040 000E5FA0 80 C3 00 0C */ lwz r6, 0xc(r3)
lbl_800E9044:
/* 800E9044 000E5FA4 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 800E9048 000E5FA8 90 C1 00 34 */ stw r6, 0x34(r1)
/* 800E904C 000E5FAC 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 800E9050 000E5FB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800E9054 000E5FB4 90 01 00 30 */ stw r0, 0x30(r1)
/* 800E9058 000E5FB8 38 61 00 28 */ addi r3, r1, 0x28
/* 800E905C 000E5FBC 38 A1 00 30 */ addi r5, r1, 0x30
/* 800E9060 000E5FC0 81 84 00 00 */ lwz r12, 0(r4)
/* 800E9064 000E5FC4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 800E9068 000E5FC8 7D 89 03 A6 */ mtctr r12
/* 800E906C 000E5FCC 4E 80 04 21 */ bctrl
/* 800E9070 000E5FD0 3B 61 00 48 */ addi r27, r1, 0x48
/* 800E9074 000E5FD4 38 81 00 28 */ addi r4, r1, 0x28
/* 800E9078 000E5FD8 7F 63 DB 78 */ mr r3, r27
/* 800E907C 000E5FDC 48 25 7E 2D */ bl __ct__6CTokenFRC6CToken
/* 800E9080 000E5FE0 7F 63 DB 78 */ mr r3, r27
/* 800E9084 000E5FE4 48 25 7D 89 */ bl GetObj__6CTokenFv
/* 800E9088 000E5FE8 80 03 00 04 */ lwz r0, 4(r3)
/* 800E908C 000E5FEC 38 61 00 28 */ addi r3, r1, 0x28
/* 800E9090 000E5FF0 38 80 FF FF */ li r4, -1
/* 800E9094 000E5FF4 90 01 00 50 */ stw r0, 0x50(r1)
/* 800E9098 000E5FF8 48 25 7D A9 */ bl __dt__6CTokenFv
/* 800E909C 000E5FFC 80 61 00 50 */ lwz r3, 0x50(r1)
/* 800E90A0 000E6000 38 80 00 00 */ li r4, 0
/* 800E90A4 000E6004 38 A0 00 01 */ li r5, 1
/* 800E90A8 000E6008 48 22 66 95 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 800E90AC 000E600C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha
/* 800E90B0 000E6010 38 60 00 00 */ li r3, 0
/* 800E90B4 000E6014 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l
/* 800E90B8 000E6018 48 22 12 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 800E90BC 000E601C 38 60 00 98 */ li r3, 0x98
/* 800E90C0 000E6020 48 22 25 A9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 800E90C4 000E6024 C0 02 90 4C */ lfs f0, lbl_805AAD6C@sda21(r2)
/* 800E90C8 000E6028 EF E0 07 B2 */ fmuls f31, f0, f30
/* 800E90CC 000E602C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 800E90D0 000E6030 38 61 00 0C */ addi r3, r1, 0xc
/* 800E90D4 000E6034 88 01 00 08 */ lbz r0, 8(r1)
/* 800E90D8 000E6038 53 A0 00 2E */ rlwimi r0, r29, 0, 0, 0x17
/* 800E90DC 000E603C 90 01 00 0C */ stw r0, 0xc(r1)
/* 800E90E0 000E6040 48 22 24 69 */ bl StreamColor__9CGraphicsFRC6CColor
/* 800E90E4 000E6044 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E90E8 000E6048 C0 42 90 50 */ lfs f2, lbl_805AAD70@sda21(r2)
/* 800E90EC 000E604C 48 22 23 79 */ bl StreamTexcoord__9CGraphicsFff
/* 800E90F0 000E6050 C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2)
/* 800E90F4 000E6054 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E90F8 000E6058 C0 62 90 58 */ lfs f3, lbl_805AAD78@sda21(r2)
/* 800E90FC 000E605C 48 22 25 3D */ bl StreamVertex__9CGraphicsFfff
/* 800E9100 000E6060 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E9104 000E6064 FC 40 08 90 */ fmr f2, f1
/* 800E9108 000E6068 48 22 23 5D */ bl StreamTexcoord__9CGraphicsFff
/* 800E910C 000E606C C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2)
/* 800E9110 000E6070 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E9114 000E6074 FC 60 08 90 */ fmr f3, f1
/* 800E9118 000E6078 48 22 25 21 */ bl StreamVertex__9CGraphicsFfff
/* 800E911C 000E607C C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2)
/* 800E9120 000E6080 FC 40 08 90 */ fmr f2, f1
/* 800E9124 000E6084 48 22 23 41 */ bl StreamTexcoord__9CGraphicsFff
/* 800E9128 000E6088 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2)
/* 800E912C 000E608C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E9130 000E6090 FC 60 08 90 */ fmr f3, f1
/* 800E9134 000E6094 48 22 25 05 */ bl StreamVertex__9CGraphicsFfff
/* 800E9138 000E6098 C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2)
/* 800E913C 000E609C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E9140 000E60A0 48 22 23 25 */ bl StreamTexcoord__9CGraphicsFff
/* 800E9144 000E60A4 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2)
/* 800E9148 000E60A8 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2)
/* 800E914C 000E60AC C0 62 90 54 */ lfs f3, lbl_805AAD74@sda21(r2)
/* 800E9150 000E60B0 48 22 24 E9 */ bl StreamVertex__9CGraphicsFfff
/* 800E9154 000E60B4 48 22 22 BD */ bl StreamEnd__9CGraphicsFv
/* 800E9158 000E60B8 7F 63 DB 78 */ mr r3, r27
/* 800E915C 000E60BC 38 80 00 00 */ li r4, 0
/* 800E9160 000E60C0 48 25 7C E1 */ bl __dt__6CTokenFv
lbl_800E9164:
/* 800E9164 000E60C4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 800E9168 000E60C8 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 800E916C 000E60CC E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 800E9170 000E60D0 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 800E9174 000E60D4 BB 61 00 5C */ lmw r27, 0x5c(r1)
/* 800E9178 000E60D8 80 01 00 94 */ lwz r0, 0x94(r1)
/* 800E917C 000E60DC 7C 08 03 A6 */ mtlr r0
/* 800E9180 000E60E0 38 21 00 90 */ addi r1, r1, 0x90
/* 800E9184 000E60E4 4E 80 00 20 */ blr
.global PostConstruct__15CMappableObjectFPCv
PostConstruct__15CMappableObjectFPCv:
/* 800E9188 000E60E8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800E918C 000E60EC 7C 08 02 A6 */ mflr r0
/* 800E9190 000E60F0 90 01 00 44 */ stw r0, 0x44(r1)
/* 800E9194 000E60F4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 800E9198 000E60F8 7C 7F 1B 78 */ mr r31, r3
/* 800E919C 000E60FC 38 61 00 08 */ addi r3, r1, 8
/* 800E91A0 000E6100 80 1F 00 00 */ lwz r0, 0(r31)
/* 800E91A4 000E6104 7F E4 FB 78 */ mr r4, r31
/* 800E91A8 000E6108 80 1F 00 04 */ lwz r0, 4(r31)
/* 800E91AC 000E610C 80 1F 00 08 */ lwz r0, 8(r31)
/* 800E91B0 000E6110 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 800E91B4 000E6114 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 800E91B8 000E6118 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 800E91BC 000E611C 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 800E91C0 000E6120 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 800E91C4 000E6124 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 800E91C8 000E6128 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 800E91CC 000E612C 80 1F 00 28 */ lwz r0, 0x28(r31)
/* 800E91D0 000E6130 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 800E91D4 000E6134 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 800E91D8 000E6138 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 800E91DC 000E613C 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 800E91E0 000E6140 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 800E91E4 000E6144 4B FF F5 8D */ bl AdjustTransformForType__15CMappableObjectFv
/* 800E91E8 000E6148 38 7F 00 10 */ addi r3, r31, 0x10
/* 800E91EC 000E614C 38 81 00 08 */ addi r4, r1, 8
/* 800E91F0 000E6150 48 22 99 51 */ bl __as__12CTransform4fFRC12CTransform4f
/* 800E91F4 000E6154 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800E91F8 000E6158 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 800E91FC 000E615C 7C 08 03 A6 */ mtlr r0
/* 800E9200 000E6160 38 21 00 40 */ addi r1, r1, 0x40
/* 800E9204 000E6164 4E 80 00 20 */ blr
.global GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo
GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo:
/* 800E9208 000E6168 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800E920C 000E616C 7C 08 02 A6 */ mflr r0
/* 800E9210 000E6170 90 01 00 64 */ stw r0, 0x64(r1)
/* 800E9214 000E6174 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 800E9218 000E6178 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 800E921C 000E617C DB C1 00 40 */ stfd f30, 0x40(r1)
/* 800E9220 000E6180 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 800E9224 000E6184 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 800E9228 000E6188 93 C1 00 38 */ stw r30, 0x38(r1)
/* 800E922C 000E618C 93 A1 00 34 */ stw r29, 0x34(r1)
/* 800E9230 000E6190 80 E4 00 08 */ lwz r7, 8(r4)
/* 800E9234 000E6194 39 00 00 FF */ li r8, 0xff
/* 800E9238 000E6198 7C 9D 23 78 */ mr r29, r4
/* 800E923C 000E619C 38 80 00 00 */ li r4, 0
/* 800E9240 000E61A0 54 E0 85 BE */ rlwinm r0, r7, 0x10, 0x16, 0x1f
/* 800E9244 000E61A4 98 81 00 25 */ stb r4, 0x25(r1)
/* 800E9248 000E61A8 7C 05 00 50 */ subf r0, r5, r0
/* 800E924C 000E61AC FF C0 08 90 */ fmr f30, f1
/* 800E9250 000E61B0 7C 00 00 34 */ cntlzw r0, r0
/* 800E9254 000E61B4 99 01 00 24 */ stb r8, 0x24(r1)
/* 800E9258 000E61B8 7C 7F 1B 78 */ mr r31, r3
/* 800E925C 000E61BC 7C C3 33 78 */ mr r3, r6
/* 800E9260 000E61C0 99 01 00 26 */ stb r8, 0x26(r1)
/* 800E9264 000E61C4 54 1E D9 7E */ srwi r30, r0, 5
/* 800E9268 000E61C8 38 81 00 1C */ addi r4, r1, 0x1c
/* 800E926C 000E61CC 99 01 00 27 */ stb r8, 0x27(r1)
/* 800E9270 000E61D0 90 E1 00 1C */ stw r7, 0x1c(r1)
/* 800E9274 000E61D4 48 07 F4 7D */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId
/* 800E9278 000E61D8 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800E927C 000E61DC 41 82 00 84 */ beq lbl_800E9300
/* 800E9280 000E61E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800E9284 000E61E4 41 82 00 20 */ beq lbl_800E92A4
/* 800E9288 000E61E8 80 1D 00 00 */ lwz r0, 0(r29)
/* 800E928C 000E61EC 2C 00 00 01 */ cmpwi r0, 1
/* 800E9290 000E61F0 40 82 00 14 */ bne lbl_800E92A4
/* 800E9294 000E61F4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13)
/* 800E9298 000E61F8 80 03 01 04 */ lwz r0, 0x104(r3)
/* 800E929C 000E61FC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E92A0 000E6200 48 00 00 80 */ b lbl_800E9320
lbl_800E92A4:
/* 800E92A4 000E6204 80 1D 00 00 */ lwz r0, 0(r29)
/* 800E92A8 000E6208 38 80 00 00 */ li r4, 0
/* 800E92AC 000E620C 28 00 00 0F */ cmplwi r0, 0xf
/* 800E92B0 000E6210 41 81 00 38 */ bgt lbl_800E92E8
/* 800E92B4 000E6214 3C 60 80 3E */ lis r3, lbl_803DFC3C@ha
/* 800E92B8 000E6218 54 00 10 3A */ slwi r0, r0, 2
/* 800E92BC 000E621C 38 63 FC 3C */ addi r3, r3, lbl_803DFC3C@l
/* 800E92C0 000E6220 7C 03 00 2E */ lwzx r0, r3, r0
/* 800E92C4 000E6224 7C 09 03 A6 */ mtctr r0
/* 800E92C8 000E6228 4E 80 04 20 */ bctr
/* 800E92CC 000E622C 38 80 00 01 */ li r4, 1
/* 800E92D0 000E6230 48 00 00 18 */ b lbl_800E92E8
/* 800E92D4 000E6234 38 80 00 02 */ li r4, 2
/* 800E92D8 000E6238 48 00 00 10 */ b lbl_800E92E8
/* 800E92DC 000E623C 38 80 00 03 */ li r4, 3
/* 800E92E0 000E6240 48 00 00 08 */ b lbl_800E92E8
/* 800E92E4 000E6244 38 80 00 04 */ li r4, 4
lbl_800E92E8:
/* 800E92E8 000E6248 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13)
/* 800E92EC 000E624C 54 80 10 3A */ slwi r0, r4, 2
/* 800E92F0 000E6250 7C 63 02 14 */ add r3, r3, r0
/* 800E92F4 000E6254 80 03 01 04 */ lwz r0, 0x104(r3)
/* 800E92F8 000E6258 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E92FC 000E625C 48 00 00 24 */ b lbl_800E9320
lbl_800E9300:
/* 800E9300 000E6260 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800E9304 000E6264 41 82 00 14 */ beq lbl_800E9318
/* 800E9308 000E6268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13)
/* 800E930C 000E626C 80 03 01 1C */ lwz r0, 0x11c(r3)
/* 800E9310 000E6270 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E9314 000E6274 48 00 00 0C */ b lbl_800E9320
lbl_800E9318:
/* 800E9318 000E6278 38 00 00 00 */ li r0, 0
/* 800E931C 000E627C 90 01 00 24 */ stw r0, 0x24(r1)
lbl_800E9320:
/* 800E9320 000E6280 88 61 00 27 */ lbz r3, 0x27(r1)
/* 800E9324 000E6284 3C 00 43 30 */ lis r0, 0x4330
/* 800E9328 000E6288 90 01 00 28 */ stw r0, 0x28(r1)
/* 800E932C 000E628C C8 22 90 68 */ lfd f1, lbl_805AAD88@sda21(r2)
/* 800E9330 000E6290 90 61 00 2C */ stw r3, 0x2c(r1)
/* 800E9334 000E6294 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 800E9338 000E6298 EC 00 08 28 */ fsubs f0, f0, f1
/* 800E933C 000E629C EF FE 00 32 */ fmuls f31, f30, f0
/* 800E9340 000E62A0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 800E9344 000E62A4 80 61 00 24 */ lwz r3, 0x24(r1)
/* 800E9348 000E62A8 88 01 00 08 */ lbz r0, 8(r1)
/* 800E934C 000E62AC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 800E9350 000E62B0 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E9354 000E62B4 E0 21 A0 24 */ psq_l f1, 36(r1), 1, qr2
/* 800E9358 000E62B8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2)
/* 800E935C 000E62BC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2)
/* 800E9360 000E62C0 EC 20 00 72 */ fmuls f1, f0, f1
/* 800E9364 000E62C4 C0 0D 87 A8 */ lfs f0, lbl_805A7368@sda21(r13)
/* 800E9368 000E62C8 EC 22 00 72 */ fmuls f1, f2, f1
/* 800E936C 000E62CC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E9370 000E62D0 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 800E9374 000E62D4 40 80 00 0C */ bge lbl_800E9380
/* 800E9378 000E62D8 38 81 00 18 */ addi r4, r1, 0x18
/* 800E937C 000E62DC 48 00 00 08 */ b lbl_800E9384
lbl_800E9380:
/* 800E9380 000E62E0 38 8D 87 A8 */ addi r4, r13, lbl_805A7368@sda21
lbl_800E9384:
/* 800E9384 000E62E4 E0 21 A0 25 */ psq_l f1, 37(r1), 1, qr2
/* 800E9388 000E62E8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2)
/* 800E938C 000E62EC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2)
/* 800E9390 000E62F0 EC 20 00 72 */ fmuls f1, f0, f1
/* 800E9394 000E62F4 C0 0D 87 AC */ lfs f0, lbl_805A736C@sda21(r13)
/* 800E9398 000E62F8 EC 22 00 72 */ fmuls f1, f2, f1
/* 800E939C 000E62FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E93A0 000E6300 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 800E93A4 000E6304 40 80 00 0C */ bge lbl_800E93B0
/* 800E93A8 000E6308 38 A1 00 14 */ addi r5, r1, 0x14
/* 800E93AC 000E630C 48 00 00 08 */ b lbl_800E93B4
lbl_800E93B0:
/* 800E93B0 000E6310 38 AD 87 AC */ addi r5, r13, lbl_805A736C@sda21
lbl_800E93B4:
/* 800E93B4 000E6314 E0 21 A0 26 */ psq_l f1, 38(r1), 1, qr2
/* 800E93B8 000E6318 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2)
/* 800E93BC 000E631C C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2)
/* 800E93C0 000E6320 EC 20 00 72 */ fmuls f1, f0, f1
/* 800E93C4 000E6324 C0 0D 87 B0 */ lfs f0, lbl_805A7370@sda21(r13)
/* 800E93C8 000E6328 EC 22 00 72 */ fmuls f1, f2, f1
/* 800E93CC 000E632C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E93D0 000E6330 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 800E93D4 000E6334 40 80 00 0C */ bge lbl_800E93E0
/* 800E93D8 000E6338 38 C1 00 10 */ addi r6, r1, 0x10
/* 800E93DC 000E633C 48 00 00 08 */ b lbl_800E93E4
lbl_800E93E0:
/* 800E93E0 000E6340 38 CD 87 B0 */ addi r6, r13, lbl_805A7370@sda21
lbl_800E93E4:
/* 800E93E4 000E6344 E0 21 A0 27 */ psq_l f1, 39(r1), 1, qr2
/* 800E93E8 000E6348 38 61 00 20 */ addi r3, r1, 0x20
/* 800E93EC 000E634C C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2)
/* 800E93F0 000E6350 C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2)
/* 800E93F4 000E6354 EC 20 00 72 */ fmuls f1, f0, f1
/* 800E93F8 000E6358 C0 0D 87 B4 */ lfs f0, lbl_805A7374@sda21(r13)
/* 800E93FC 000E635C EC 22 00 72 */ fmuls f1, f2, f1
/* 800E9400 000E6360 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 800E9404 000E6364 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E9408 000E6368 C0 24 00 00 */ lfs f1, 0(r4)
/* 800E940C 000E636C C0 45 00 00 */ lfs f2, 0(r5)
/* 800E9410 000E6370 C0 66 00 00 */ lfs f3, 0(r6)
/* 800E9414 000E6374 40 80 00 0C */ bge lbl_800E9420
/* 800E9418 000E6378 38 81 00 0C */ addi r4, r1, 0xc
/* 800E941C 000E637C 48 00 00 08 */ b lbl_800E9424
lbl_800E9420:
/* 800E9420 000E6380 38 8D 87 B4 */ addi r4, r13, lbl_805A7374@sda21
lbl_800E9424:
/* 800E9424 000E6384 C0 84 00 00 */ lfs f4, 0(r4)
/* 800E9428 000E6388 48 27 9F C5 */ bl __ct__6CColorFffff
/* 800E942C 000E638C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800E9430 000E6390 90 1F 00 00 */ stw r0, 0(r31)
/* 800E9434 000E6394 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800E9438 000E6398 90 1F 00 04 */ stw r0, 4(r31)
/* 800E943C 000E639C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 800E9440 000E63A0 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 800E9444 000E63A4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 800E9448 000E63A8 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 800E944C 000E63AC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 800E9450 000E63B0 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 800E9454 000E63B4 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800E9458 000E63B8 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 800E945C 000E63BC 7C 08 03 A6 */ mtlr r0
/* 800E9460 000E63C0 38 21 00 60 */ addi r1, r1, 0x60
/* 800E9464 000E63C4 4E 80 00 20 */ blr
.global ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper
ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper:
/* 800E9468 000E63C8 C0 03 00 AC */ lfs f0, 0xac(r3)
/* 800E946C 000E63CC 3C 80 80 47 */ lis r4, lbl_8046C498@ha
/* 800E9470 000E63D0 C0 A3 00 A8 */ lfs f5, 0xa8(r3)
/* 800E9474 000E63D4 FC 40 00 50 */ fneg f2, f0
/* 800E9478 000E63D8 C0 02 90 70 */ lfs f0, lbl_805AAD90@sda21(r2)
/* 800E947C 000E63DC C0 C3 00 A4 */ lfs f6, 0xa4(r3)
/* 800E9480 000E63E0 FC 60 28 50 */ fneg f3, f5
/* 800E9484 000E63E4 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2)
/* 800E9488 000E63E8 EC 80 00 B2 */ fmuls f4, f0, f2
/* 800E948C 000E63EC C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2)
/* 800E9490 000E63F0 D4 44 C4 98 */ stfsu f2, lbl_8046C498@l(r4)
/* 800E9494 000E63F4 EC 00 01 B2 */ fmuls f0, f0, f6
/* 800E9498 000E63F8 D0 64 00 04 */ stfs f3, 4(r4)
/* 800E949C 000E63FC D0 24 00 08 */ stfs f1, 8(r4)
/* 800E94A0 000E6400 D0 44 00 0C */ stfs f2, 0xc(r4)
/* 800E94A4 000E6404 D0 64 00 10 */ stfs f3, 0x10(r4)
/* 800E94A8 000E6408 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 800E94AC 000E640C D0 44 00 18 */ stfs f2, 0x18(r4)
/* 800E94B0 000E6410 D0 A4 00 1C */ stfs f5, 0x1c(r4)
/* 800E94B4 000E6414 D0 24 00 20 */ stfs f1, 0x20(r4)
/* 800E94B8 000E6418 D0 44 00 24 */ stfs f2, 0x24(r4)
/* 800E94BC 000E641C D0 A4 00 28 */ stfs f5, 0x28(r4)
/* 800E94C0 000E6420 D0 04 00 2C */ stfs f0, 0x2c(r4)
/* 800E94C4 000E6424 D0 84 00 30 */ stfs f4, 0x30(r4)
/* 800E94C8 000E6428 D0 64 00 34 */ stfs f3, 0x34(r4)
/* 800E94CC 000E642C D0 24 00 38 */ stfs f1, 0x38(r4)
/* 800E94D0 000E6430 D0 84 00 3C */ stfs f4, 0x3c(r4)
/* 800E94D4 000E6434 D0 64 00 40 */ stfs f3, 0x40(r4)
/* 800E94D8 000E6438 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 800E94DC 000E643C D0 84 00 48 */ stfs f4, 0x48(r4)
/* 800E94E0 000E6440 D0 A4 00 4C */ stfs f5, 0x4c(r4)
/* 800E94E4 000E6444 D0 24 00 50 */ stfs f1, 0x50(r4)
/* 800E94E8 000E6448 D0 84 00 54 */ stfs f4, 0x54(r4)
/* 800E94EC 000E644C D0 A4 00 58 */ stfs f5, 0x58(r4)
/* 800E94F0 000E6450 D0 04 00 5C */ stfs f0, 0x5c(r4)
/* 800E94F4 000E6454 4E 80 00 20 */ blr
.global __sinit_CMappableObject_cpp
__sinit_CMappableObject_cpp:
/* 800E94F8 000E6458 3C 80 80 5A */ lis r4, skZero3f@ha
/* 800E94FC 000E645C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4)
/* 800E9500 000E6460 3C 60 80 47 */ lis r3, lbl_8046C498@ha
/* 800E9504 000E6464 D4 03 C4 98 */ stfsu f0, lbl_8046C498@l(r3)
/* 800E9508 000E6468 C0 24 00 04 */ lfs f1, 4(r4)
/* 800E950C 000E646C C0 44 00 08 */ lfs f2, 8(r4)
/* 800E9510 000E6470 D0 23 00 04 */ stfs f1, 4(r3)
/* 800E9514 000E6474 D0 43 00 08 */ stfs f2, 8(r3)
/* 800E9518 000E6478 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 800E951C 000E647C D0 23 00 10 */ stfs f1, 0x10(r3)
/* 800E9520 000E6480 D0 43 00 14 */ stfs f2, 0x14(r3)
/* 800E9524 000E6484 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 800E9528 000E6488 D0 23 00 1C */ stfs f1, 0x1c(r3)
/* 800E952C 000E648C D0 43 00 20 */ stfs f2, 0x20(r3)
/* 800E9530 000E6490 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 800E9534 000E6494 D0 23 00 28 */ stfs f1, 0x28(r3)
/* 800E9538 000E6498 D0 43 00 2C */ stfs f2, 0x2c(r3)
/* 800E953C 000E649C D0 03 00 30 */ stfs f0, 0x30(r3)
/* 800E9540 000E64A0 D0 23 00 34 */ stfs f1, 0x34(r3)
/* 800E9544 000E64A4 D0 43 00 38 */ stfs f2, 0x38(r3)
/* 800E9548 000E64A8 D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 800E954C 000E64AC D0 23 00 40 */ stfs f1, 0x40(r3)
/* 800E9550 000E64B0 D0 43 00 44 */ stfs f2, 0x44(r3)
/* 800E9554 000E64B4 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 800E9558 000E64B8 D0 23 00 4C */ stfs f1, 0x4c(r3)
/* 800E955C 000E64BC D0 43 00 50 */ stfs f2, 0x50(r3)
/* 800E9560 000E64C0 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 800E9564 000E64C4 D0 23 00 58 */ stfs f1, 0x58(r3)
/* 800E9568 000E64C8 D0 43 00 5C */ stfs f2, 0x5c(r3)
/* 800E956C 000E64CC 4E 80 00 20 */ blr

2469
asm/Kyoto_CWD/CModelData.s Normal file

File diff suppressed because it is too large Load Diff

1095
asm/Kyoto_CWD/CPathCamera.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,65 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle
__ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle:
/* 8011C830 00119790 C0 04 00 00 */ lfs f0, 0(r4)
/* 8011C834 00119794 81 81 00 08 */ lwz r12, 8(r1)
/* 8011C838 00119798 D0 03 00 00 */ stfs f0, 0(r3)
/* 8011C83C 0011979C 81 61 00 0C */ lwz r11, 0xc(r1)
/* 8011C840 001197A0 C0 04 00 04 */ lfs f0, 4(r4)
/* 8011C844 001197A4 D0 03 00 04 */ stfs f0, 4(r3)
/* 8011C848 001197A8 C0 04 00 08 */ lfs f0, 8(r4)
/* 8011C84C 001197AC D0 03 00 08 */ stfs f0, 8(r3)
/* 8011C850 001197B0 C0 05 00 00 */ lfs f0, 0(r5)
/* 8011C854 001197B4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8011C858 001197B8 C0 05 00 04 */ lfs f0, 4(r5)
/* 8011C85C 001197BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8011C860 001197C0 C0 05 00 08 */ lfs f0, 8(r5)
/* 8011C864 001197C4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8011C868 001197C8 C0 05 00 0C */ lfs f0, 0xc(r5)
/* 8011C86C 001197CC D0 03 00 18 */ stfs f0, 0x18(r3)
/* 8011C870 001197D0 C0 06 00 00 */ lfs f0, 0(r6)
/* 8011C874 001197D4 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 8011C878 001197D8 C0 06 00 04 */ lfs f0, 4(r6)
/* 8011C87C 001197DC D0 03 00 20 */ stfs f0, 0x20(r3)
/* 8011C880 001197E0 C0 06 00 08 */ lfs f0, 8(r6)
/* 8011C884 001197E4 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8011C888 001197E8 C0 07 00 00 */ lfs f0, 0(r7)
/* 8011C88C 001197EC D0 03 00 28 */ stfs f0, 0x28(r3)
/* 8011C890 001197F0 C0 07 00 04 */ lfs f0, 4(r7)
/* 8011C894 001197F4 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8011C898 001197F8 C0 07 00 08 */ lfs f0, 8(r7)
/* 8011C89C 001197FC D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8011C8A0 00119800 C0 08 00 00 */ lfs f0, 0(r8)
/* 8011C8A4 00119804 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 8011C8A8 00119808 C0 08 00 04 */ lfs f0, 4(r8)
/* 8011C8AC 0011980C D0 03 00 38 */ stfs f0, 0x38(r3)
/* 8011C8B0 00119810 C0 08 00 08 */ lfs f0, 8(r8)
/* 8011C8B4 00119814 D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 8011C8B8 00119818 C0 09 00 00 */ lfs f0, 0(r9)
/* 8011C8BC 0011981C D0 03 00 40 */ stfs f0, 0x40(r3)
/* 8011C8C0 00119820 C0 09 00 04 */ lfs f0, 4(r9)
/* 8011C8C4 00119824 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8011C8C8 00119828 C0 09 00 08 */ lfs f0, 8(r9)
/* 8011C8CC 0011982C D0 03 00 48 */ stfs f0, 0x48(r3)
/* 8011C8D0 00119830 C0 0A 00 00 */ lfs f0, 0(r10)
/* 8011C8D4 00119834 D0 03 00 4C */ stfs f0, 0x4c(r3)
/* 8011C8D8 00119838 C0 0A 00 04 */ lfs f0, 4(r10)
/* 8011C8DC 0011983C D0 03 00 50 */ stfs f0, 0x50(r3)
/* 8011C8E0 00119840 C0 0A 00 08 */ lfs f0, 8(r10)
/* 8011C8E4 00119844 D0 03 00 54 */ stfs f0, 0x54(r3)
/* 8011C8E8 00119848 C0 0C 00 00 */ lfs f0, 0(r12)
/* 8011C8EC 0011984C D0 03 00 58 */ stfs f0, 0x58(r3)
/* 8011C8F0 00119850 C0 0C 00 04 */ lfs f0, 4(r12)
/* 8011C8F4 00119854 D0 03 00 5C */ stfs f0, 0x5c(r3)
/* 8011C8F8 00119858 C0 0C 00 08 */ lfs f0, 8(r12)
/* 8011C8FC 0011985C D0 03 00 60 */ stfs f0, 0x60(r3)
/* 8011C900 00119860 C0 0B 00 00 */ lfs f0, 0(r11)
/* 8011C904 00119864 D0 03 00 64 */ stfs f0, 0x64(r3)
/* 8011C908 00119868 C0 0B 00 04 */ lfs f0, 4(r11)
/* 8011C90C 0011986C D0 03 00 68 */ stfs f0, 0x68(r3)
/* 8011C910 00119870 C0 0B 00 08 */ lfs f0, 8(r11)
/* 8011C914 00119874 D0 03 00 6C */ stfs f0, 0x6c(r3)
/* 8011C918 00119878 4E 80 00 20 */ blr

124
asm/Kyoto_CWD/CRipple.s Normal file
View File

@ -0,0 +1,124 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__7CRippleF9TUniqueIdRC9CVector3ff
__ct__7CRippleF9TUniqueIdRC9CVector3ff:
/* 8011C91C 0011987C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8011C920 00119880 7C 08 02 A6 */ mflr r0
/* 8011C924 00119884 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011C928 00119888 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8011C92C 0011988C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8011C930 00119890 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8011C934 00119894 A0 04 00 00 */ lhz r0, 0(r4)
/* 8011C938 00119898 7C 7F 1B 78 */ mr r31, r3
/* 8011C93C 0011989C C0 E2 96 D4 */ lfs f7, lbl_805AB3F4@sda21(r2)
/* 8011C940 001198A0 FF E0 08 90 */ fmr f31, f1
/* 8011C944 001198A4 B0 03 00 00 */ sth r0, 0(r3)
/* 8011C948 001198A8 C0 A2 96 D8 */ lfs f5, lbl_805AB3F8@sda21(r2)
/* 8011C94C 001198AC D0 E3 00 04 */ stfs f7, 4(r3)
/* 8011C950 001198B0 C0 82 96 DC */ lfs f4, lbl_805AB3FC@sda21(r2)
/* 8011C954 001198B4 C0 05 00 00 */ lfs f0, 0(r5)
/* 8011C958 001198B8 C0 62 96 E0 */ lfs f3, lbl_805AB400@sda21(r2)
/* 8011C95C 001198BC D0 03 00 08 */ stfs f0, 8(r3)
/* 8011C960 001198C0 C0 42 96 E4 */ lfs f2, lbl_805AB404@sda21(r2)
/* 8011C964 001198C4 C0 C5 00 04 */ lfs f6, 4(r5)
/* 8011C968 001198C8 C0 02 96 E8 */ lfs f0, lbl_805AB408@sda21(r2)
/* 8011C96C 001198CC D0 C3 00 0C */ stfs f6, 0xc(r3)
/* 8011C970 001198D0 C0 C5 00 08 */ lfs f6, 8(r5)
/* 8011C974 001198D4 D0 C3 00 10 */ stfs f6, 0x10(r3)
/* 8011C978 001198D8 D0 A3 00 14 */ stfs f5, 0x14(r3)
/* 8011C97C 001198DC D0 83 00 18 */ stfs f4, 0x18(r3)
/* 8011C980 001198E0 D0 63 00 1C */ stfs f3, 0x1c(r3)
/* 8011C984 001198E4 D0 43 00 20 */ stfs f2, 0x20(r3)
/* 8011C988 001198E8 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8011C98C 001198EC D0 E3 00 28 */ stfs f7, 0x28(r3)
/* 8011C990 001198F0 D0 E3 00 2C */ stfs f7, 0x2c(r3)
/* 8011C994 001198F4 D0 E3 00 30 */ stfs f7, 0x30(r3)
/* 8011C998 001198F8 D0 E3 00 34 */ stfs f7, 0x34(r3)
/* 8011C99C 001198FC D0 E3 00 38 */ stfs f7, 0x38(r3)
/* 8011C9A0 00119900 48 01 26 F9 */ bl sub_8012f098
/* 8011C9A4 00119904 C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2)
/* 8011C9A8 00119908 90 7F 00 3C */ stw r3, 0x3c(r31)
/* 8011C9AC 0011990C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8011C9B0 00119910 41 80 00 CC */ blt lbl_8011CA7C
/* 8011C9B4 00119914 C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2)
/* 8011C9B8 00119918 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8011C9BC 0011991C 41 81 00 C0 */ bgt lbl_8011CA7C
/* 8011C9C0 00119920 88 0D A3 98 */ lbz r0, lbl_805A8F58@sda21(r13)
/* 8011C9C4 00119924 7C 00 07 75 */ extsb. r0, r0
/* 8011C9C8 00119928 40 82 00 1C */ bne lbl_8011C9E4
/* 8011C9CC 0011992C 3C 80 00 01 */ lis r4, 0x0000ABBA@ha
/* 8011C9D0 00119930 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21
/* 8011C9D4 00119934 38 84 AB BA */ addi r4, r4, 0x0000ABBA@l
/* 8011C9D8 00119938 48 1F 5C 15 */ bl __ct__9CRandom16FUi
/* 8011C9DC 0011993C 38 00 00 01 */ li r0, 1
/* 8011C9E0 00119940 98 0D A3 98 */ stb r0, lbl_805A8F58@sda21(r13)
lbl_8011C9E4:
/* 8011C9E4 00119944 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21
/* 8011C9E8 00119948 48 1F 5A F5 */ bl Float__9CRandom16Fv
/* 8011C9EC 0011994C C0 02 96 F4 */ lfs f0, lbl_805AB414@sda21(r2)
/* 8011C9F0 00119950 C0 42 96 D8 */ lfs f2, lbl_805AB3F8@sda21(r2)
/* 8011C9F4 00119954 EC 21 00 28 */ fsubs f1, f1, f0
/* 8011C9F8 00119958 C0 62 96 F0 */ lfs f3, lbl_805AB410@sda21(r2)
/* 8011C9FC 0011995C C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2)
/* 8011CA00 00119960 EC 3F 00 72 */ fmuls f1, f31, f1
/* 8011CA04 00119964 EC 22 00 72 */ fmuls f1, f2, f1
/* 8011CA08 00119968 EC 23 F8 7A */ fmadds f1, f3, f1, f31
/* 8011CA0C 0011996C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8011CA10 00119970 40 80 00 0C */ bge lbl_8011CA1C
/* 8011CA14 00119974 FC 20 00 90 */ fmr f1, f0
/* 8011CA18 00119978 48 00 00 14 */ b lbl_8011CA2C
lbl_8011CA1C:
/* 8011CA1C 0011997C C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2)
/* 8011CA20 00119980 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8011CA24 00119984 40 81 00 08 */ ble lbl_8011CA2C
/* 8011CA28 00119988 FC 20 00 90 */ fmr f1, f0
lbl_8011CA2C:
/* 8011CA2C 0011998C C0 C2 96 D8 */ lfs f6, lbl_805AB3F8@sda21(r2)
/* 8011CA30 00119990 C0 42 96 F4 */ lfs f2, lbl_805AB414@sda21(r2)
/* 8011CA34 00119994 EC E6 00 72 */ fmuls f7, f6, f1
/* 8011CA38 00119998 C0 22 96 F8 */ lfs f1, lbl_805AB418@sda21(r2)
/* 8011CA3C 0011999C C0 62 97 00 */ lfs f3, lbl_805AB420@sda21(r2)
/* 8011CA40 001199A0 C0 02 96 FC */ lfs f0, lbl_805AB41C@sda21(r2)
/* 8011CA44 001199A4 EC A2 09 FA */ fmadds f5, f2, f7, f1
/* 8011CA48 001199A8 C0 42 97 08 */ lfs f2, lbl_805AB428@sda21(r2)
/* 8011CA4C 001199AC C0 22 97 04 */ lfs f1, lbl_805AB424@sda21(r2)
/* 8011CA50 001199B0 EC 83 01 FA */ fmadds f4, f3, f7, f0
/* 8011CA54 001199B4 EC 66 38 2A */ fadds f3, f6, f7
/* 8011CA58 001199B8 C0 02 97 0C */ lfs f0, lbl_805AB42C@sda21(r2)
/* 8011CA5C 001199BC D0 BF 00 14 */ stfs f5, 0x14(r31)
/* 8011CA60 001199C0 EC 22 09 FA */ fmadds f1, f2, f7, f1
/* 8011CA64 001199C4 D0 9F 00 18 */ stfs f4, 0x18(r31)
/* 8011CA68 001199C8 D0 7F 00 1C */ stfs f3, 0x1c(r31)
/* 8011CA6C 001199CC D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 8011CA70 001199D0 C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 8011CA74 001199D4 EC 01 00 24 */ fdivs f0, f1, f0
/* 8011CA78 001199D8 D0 1F 00 24 */ stfs f0, 0x24(r31)
lbl_8011CA7C:
/* 8011CA7C 001199DC C0 62 96 EC */ lfs f3, lbl_805AB40C@sda21(r2)
/* 8011CA80 001199E0 7F E3 FB 78 */ mr r3, r31
/* 8011CA84 001199E4 C0 3F 00 14 */ lfs f1, 0x14(r31)
/* 8011CA88 001199E8 C0 02 97 10 */ lfs f0, lbl_805AB430@sda21(r2)
/* 8011CA8C 001199EC EC 43 08 24 */ fdivs f2, f3, f1
/* 8011CA90 001199F0 C0 22 97 14 */ lfs f1, lbl_805AB434@sda21(r2)
/* 8011CA94 001199F4 D0 5F 00 28 */ stfs f2, 0x28(r31)
/* 8011CA98 001199F8 C0 5F 00 18 */ lfs f2, 0x18(r31)
/* 8011CA9C 001199FC EC 43 10 24 */ fdivs f2, f3, f2
/* 8011CAA0 00119A00 D0 5F 00 2C */ stfs f2, 0x2c(r31)
/* 8011CAA4 00119A04 C0 5F 00 18 */ lfs f2, 0x18(r31)
/* 8011CAA8 00119A08 EC 02 00 24 */ fdivs f0, f2, f0
/* 8011CAAC 00119A0C D0 1F 00 30 */ stfs f0, 0x30(r31)
/* 8011CAB0 00119A10 C0 1F 00 30 */ lfs f0, 0x30(r31)
/* 8011CAB4 00119A14 EC 03 00 24 */ fdivs f0, f3, f0
/* 8011CAB8 00119A18 D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 8011CABC 00119A1C C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 8011CAC0 00119A20 EC 01 00 32 */ fmuls f0, f1, f0
/* 8011CAC4 00119A24 D0 1F 00 38 */ stfs f0, 0x38(r31)
/* 8011CAC8 00119A28 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8011CACC 00119A2C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8011CAD0 00119A30 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8011CAD4 00119A34 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011CAD8 00119A38 7C 08 03 A6 */ mtlr r0
/* 8011CADC 00119A3C 38 21 00 20 */ addi r1, r1, 0x20
/* 8011CAE0 00119A40 4E 80 00 20 */ blr

View File

@ -0,0 +1,408 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AddRipple__14CRippleManagerFRC7CRipple
AddRipple__14CRippleManagerFRC7CRipple:
/* 8011CF4C 00119EAC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8011CF50 00119EB0 C0 42 97 40 */ lfs f2, lbl_805AB460@sda21(r2)
/* 8011CF54 00119EB4 80 03 00 08 */ lwz r0, 8(r3)
/* 8011CF58 00119EB8 80 E3 00 10 */ lwz r7, 0x10(r3)
/* 8011CF5C 00119EBC 54 00 30 32 */ slwi r0, r0, 6
/* 8011CF60 00119EC0 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2)
/* 8011CF64 00119EC4 7C C7 02 14 */ add r6, r7, r0
/* 8011CF68 00119EC8 48 00 00 2C */ b lbl_8011CF94
lbl_8011CF6C:
/* 8011CF6C 00119ECC C0 27 00 04 */ lfs f1, 4(r7)
/* 8011CF70 00119ED0 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 8011CF74 00119ED4 40 82 00 0C */ bne lbl_8011CF80
/* 8011CF78 00119ED8 7C E6 3B 78 */ mr r6, r7
/* 8011CF7C 00119EDC 48 00 00 30 */ b lbl_8011CFAC
lbl_8011CF80:
/* 8011CF80 00119EE0 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8011CF84 00119EE4 40 81 00 0C */ ble lbl_8011CF90
/* 8011CF88 00119EE8 7C E6 3B 78 */ mr r6, r7
/* 8011CF8C 00119EEC FC 40 08 90 */ fmr f2, f1
lbl_8011CF90:
/* 8011CF90 00119EF0 38 E7 00 40 */ addi r7, r7, 0x40
lbl_8011CF94:
/* 8011CF94 00119EF4 80 03 00 08 */ lwz r0, 8(r3)
/* 8011CF98 00119EF8 80 A3 00 10 */ lwz r5, 0x10(r3)
/* 8011CF9C 00119EFC 54 00 30 32 */ slwi r0, r0, 6
/* 8011CFA0 00119F00 7C 05 02 14 */ add r0, r5, r0
/* 8011CFA4 00119F04 7C 07 00 40 */ cmplw r7, r0
/* 8011CFA8 00119F08 40 82 FF C4 */ bne lbl_8011CF6C
lbl_8011CFAC:
/* 8011CFAC 00119F0C 80 03 00 08 */ lwz r0, 8(r3)
/* 8011CFB0 00119F10 80 A3 00 10 */ lwz r5, 0x10(r3)
/* 8011CFB4 00119F14 54 00 30 32 */ slwi r0, r0, 6
/* 8011CFB8 00119F18 7C 05 02 14 */ add r0, r5, r0
/* 8011CFBC 00119F1C 7C 06 00 40 */ cmplw r6, r0
/* 8011CFC0 00119F20 41 82 00 B8 */ beq lbl_8011D078
/* 8011CFC4 00119F24 A0 04 00 00 */ lhz r0, 0(r4)
/* 8011CFC8 00119F28 C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2)
/* 8011CFCC 00119F2C B0 06 00 00 */ sth r0, 0(r6)
/* 8011CFD0 00119F30 C0 24 00 04 */ lfs f1, 4(r4)
/* 8011CFD4 00119F34 D0 26 00 04 */ stfs f1, 4(r6)
/* 8011CFD8 00119F38 80 A4 00 08 */ lwz r5, 8(r4)
/* 8011CFDC 00119F3C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8011CFE0 00119F40 90 A6 00 08 */ stw r5, 8(r6)
/* 8011CFE4 00119F44 90 06 00 0C */ stw r0, 0xc(r6)
/* 8011CFE8 00119F48 80 04 00 10 */ lwz r0, 0x10(r4)
/* 8011CFEC 00119F4C 90 06 00 10 */ stw r0, 0x10(r6)
/* 8011CFF0 00119F50 C0 24 00 14 */ lfs f1, 0x14(r4)
/* 8011CFF4 00119F54 D0 26 00 14 */ stfs f1, 0x14(r6)
/* 8011CFF8 00119F58 C0 24 00 18 */ lfs f1, 0x18(r4)
/* 8011CFFC 00119F5C D0 26 00 18 */ stfs f1, 0x18(r6)
/* 8011D000 00119F60 C0 24 00 1C */ lfs f1, 0x1c(r4)
/* 8011D004 00119F64 D0 26 00 1C */ stfs f1, 0x1c(r6)
/* 8011D008 00119F68 C0 24 00 20 */ lfs f1, 0x20(r4)
/* 8011D00C 00119F6C D0 26 00 20 */ stfs f1, 0x20(r6)
/* 8011D010 00119F70 C0 24 00 24 */ lfs f1, 0x24(r4)
/* 8011D014 00119F74 D0 26 00 24 */ stfs f1, 0x24(r6)
/* 8011D018 00119F78 C0 24 00 28 */ lfs f1, 0x28(r4)
/* 8011D01C 00119F7C D0 26 00 28 */ stfs f1, 0x28(r6)
/* 8011D020 00119F80 C0 24 00 2C */ lfs f1, 0x2c(r4)
/* 8011D024 00119F84 D0 26 00 2C */ stfs f1, 0x2c(r6)
/* 8011D028 00119F88 C0 24 00 30 */ lfs f1, 0x30(r4)
/* 8011D02C 00119F8C D0 26 00 30 */ stfs f1, 0x30(r6)
/* 8011D030 00119F90 C0 24 00 34 */ lfs f1, 0x34(r4)
/* 8011D034 00119F94 D0 26 00 34 */ stfs f1, 0x34(r6)
/* 8011D038 00119F98 C0 24 00 38 */ lfs f1, 0x38(r4)
/* 8011D03C 00119F9C D0 26 00 38 */ stfs f1, 0x38(r6)
/* 8011D040 00119FA0 80 04 00 3C */ lwz r0, 0x3c(r4)
/* 8011D044 00119FA4 90 06 00 3C */ stw r0, 0x3c(r6)
/* 8011D048 00119FA8 D0 06 00 04 */ stfs f0, 4(r6)
/* 8011D04C 00119FAC C0 04 00 14 */ lfs f0, 0x14(r4)
/* 8011D050 00119FB0 D0 01 00 08 */ stfs f0, 8(r1)
/* 8011D054 00119FB4 C0 23 00 00 */ lfs f1, 0(r3)
/* 8011D058 00119FB8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8011D05C 00119FBC D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8011D060 00119FC0 40 80 00 0C */ bge lbl_8011D06C
/* 8011D064 00119FC4 38 81 00 08 */ addi r4, r1, 8
/* 8011D068 00119FC8 48 00 00 08 */ b lbl_8011D070
lbl_8011D06C:
/* 8011D06C 00119FCC 38 81 00 0C */ addi r4, r1, 0xc
lbl_8011D070:
/* 8011D070 00119FD0 C0 04 00 00 */ lfs f0, 0(r4)
/* 8011D074 00119FD4 D0 03 00 00 */ stfs f0, 0(r3)
lbl_8011D078:
/* 8011D078 00119FD8 38 21 00 10 */ addi r1, r1, 0x10
/* 8011D07C 00119FDC 4E 80 00 20 */ blr
.global GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId
GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId:
/* 8011D080 00119FE0 C0 22 98 F4 */ lfs f1, lbl_805AB614@sda21(r2)
/* 8011D084 00119FE4 80 C3 00 10 */ lwz r6, 0x10(r3)
/* 8011D088 00119FE8 48 00 00 28 */ b lbl_8011D0B0
lbl_8011D08C:
/* 8011D08C 00119FEC A0 A4 00 00 */ lhz r5, 0(r4)
/* 8011D090 00119FF0 A0 06 00 00 */ lhz r0, 0(r6)
/* 8011D094 00119FF4 7C 05 00 40 */ cmplw r5, r0
/* 8011D098 00119FF8 40 82 00 14 */ bne lbl_8011D0AC
/* 8011D09C 00119FFC C0 06 00 04 */ lfs f0, 4(r6)
/* 8011D0A0 0011A000 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8011D0A4 0011A004 40 81 00 08 */ ble lbl_8011D0AC
/* 8011D0A8 0011A008 FC 20 00 90 */ fmr f1, f0
lbl_8011D0AC:
/* 8011D0AC 0011A00C 38 C6 00 40 */ addi r6, r6, 0x40
lbl_8011D0B0:
/* 8011D0B0 0011A010 80 03 00 08 */ lwz r0, 8(r3)
/* 8011D0B4 0011A014 80 A3 00 10 */ lwz r5, 0x10(r3)
/* 8011D0B8 0011A018 54 00 30 32 */ slwi r0, r0, 6
/* 8011D0BC 0011A01C 7C 05 02 14 */ add r0, r5, r0
/* 8011D0C0 0011A020 7C 06 00 40 */ cmplw r6, r0
/* 8011D0C4 0011A024 40 82 FF C8 */ bne lbl_8011D08C
/* 8011D0C8 0011A028 4E 80 00 20 */ blr
.global Update__14CRippleManagerFf
Update__14CRippleManagerFf:
/* 8011D0CC 0011A02C 80 A3 00 10 */ lwz r5, 0x10(r3)
/* 8011D0D0 0011A030 C0 42 98 F4 */ lfs f2, lbl_805AB614@sda21(r2)
/* 8011D0D4 0011A034 48 00 00 24 */ b lbl_8011D0F8
lbl_8011D0D8:
/* 8011D0D8 0011A038 C0 05 00 04 */ lfs f0, 4(r5)
/* 8011D0DC 0011A03C EC 01 00 2A */ fadds f0, f1, f0
/* 8011D0E0 0011A040 D0 05 00 04 */ stfs f0, 4(r5)
/* 8011D0E4 0011A044 C0 05 00 04 */ lfs f0, 4(r5)
/* 8011D0E8 0011A048 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8011D0EC 0011A04C 40 81 00 08 */ ble lbl_8011D0F4
/* 8011D0F0 0011A050 D0 45 00 04 */ stfs f2, 4(r5)
lbl_8011D0F4:
/* 8011D0F4 0011A054 38 A5 00 40 */ addi r5, r5, 0x40
lbl_8011D0F8:
/* 8011D0F8 0011A058 80 03 00 08 */ lwz r0, 8(r3)
/* 8011D0FC 0011A05C 80 83 00 10 */ lwz r4, 0x10(r3)
/* 8011D100 0011A060 54 00 30 32 */ slwi r0, r0, 6
/* 8011D104 0011A064 7C 04 02 14 */ add r0, r4, r0
/* 8011D108 0011A068 7C 05 00 40 */ cmplw r5, r0
/* 8011D10C 0011A06C 40 82 FF CC */ bne lbl_8011D0D8
.global sub_8011d110
sub_8011d110:
/* 8011D110 0011A070 4E 80 00 20 */ blr
.global Init__14CRippleManagerFi
Init__14CRippleManagerFi:
/* 8011D114 0011A074 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8011D118 0011A078 7C 08 02 A6 */ mflr r0
/* 8011D11C 0011A07C 3C A0 80 5A */ lis r5, skZero3f@ha
/* 8011D120 0011A080 C0 22 97 40 */ lfs f1, lbl_805AB460@sda21(r2)
/* 8011D124 0011A084 90 01 00 64 */ stw r0, 0x64(r1)
/* 8011D128 0011A088 38 A5 66 A0 */ addi r5, r5, skZero3f@l
/* 8011D12C 0011A08C 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8011D130 0011A090 7C 9F 23 78 */ mr r31, r4
/* 8011D134 0011A094 38 81 00 08 */ addi r4, r1, 8
/* 8011D138 0011A098 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8011D13C 0011A09C 7C 7E 1B 78 */ mr r30, r3
/* 8011D140 0011A0A0 38 61 00 0C */ addi r3, r1, 0xc
/* 8011D144 0011A0A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8011D148 0011A0A8 B0 01 00 08 */ sth r0, 8(r1)
/* 8011D14C 0011A0AC 4B FF F7 D1 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff
/* 8011D150 0011A0B0 7C 65 1B 78 */ mr r5, r3
/* 8011D154 0011A0B4 7F E4 FB 78 */ mr r4, r31
/* 8011D158 0011A0B8 38 7E 00 04 */ addi r3, r30, 4
/* 8011D15C 0011A0BC 48 00 00 49 */ bl sub_8011d1a4
/* 8011D160 0011A0C0 80 9E 00 10 */ lwz r4, 0x10(r30)
/* 8011D164 0011A0C4 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2)
/* 8011D168 0011A0C8 48 00 00 0C */ b lbl_8011D174
lbl_8011D16C:
/* 8011D16C 0011A0CC D0 04 00 04 */ stfs f0, 4(r4)
/* 8011D170 0011A0D0 38 84 00 40 */ addi r4, r4, 0x40
lbl_8011D174:
/* 8011D174 0011A0D4 80 1E 00 08 */ lwz r0, 8(r30)
/* 8011D178 0011A0D8 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8011D17C 0011A0DC 54 00 30 32 */ slwi r0, r0, 6
/* 8011D180 0011A0E0 7C 03 02 14 */ add r0, r3, r0
/* 8011D184 0011A0E4 7C 04 00 40 */ cmplw r4, r0
/* 8011D188 0011A0E8 40 82 FF E4 */ bne lbl_8011D16C
/* 8011D18C 0011A0EC 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8011D190 0011A0F0 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8011D194 0011A0F4 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8011D198 0011A0F8 7C 08 03 A6 */ mtlr r0
/* 8011D19C 0011A0FC 38 21 00 60 */ addi r1, r1, 0x60
/* 8011D1A0 0011A100 4E 80 00 20 */ blr
.global sub_8011d1a4
sub_8011d1a4:
/* 8011D1A4 0011A104 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8011D1A8 0011A108 7C 08 02 A6 */ mflr r0
/* 8011D1AC 0011A10C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011D1B0 0011A110 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8011D1B4 0011A114 7C BF 2B 78 */ mr r31, r5
/* 8011D1B8 0011A118 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8011D1BC 0011A11C 7C 9E 23 78 */ mr r30, r4
/* 8011D1C0 0011A120 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8011D1C4 0011A124 7C 7D 1B 78 */ mr r29, r3
/* 8011D1C8 0011A128 80 03 00 04 */ lwz r0, 4(r3)
/* 8011D1CC 0011A12C 7C 00 F0 00 */ cmpw r0, r30
/* 8011D1D0 0011A130 41 82 00 F8 */ beq lbl_8011D2C8
/* 8011D1D4 0011A134 7C 1E 00 00 */ cmpw r30, r0
/* 8011D1D8 0011A138 40 81 00 B8 */ ble lbl_8011D290
/* 8011D1DC 0011A13C 48 00 01 55 */ bl sub_8011d330
/* 8011D1E0 0011A140 80 9D 00 04 */ lwz r4, 4(r29)
/* 8011D1E4 0011A144 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8011D1E8 0011A148 54 80 30 32 */ slwi r0, r4, 6
/* 8011D1EC 0011A14C 7C 84 F0 51 */ subf. r4, r4, r30
/* 8011D1F0 0011A150 7C 63 02 14 */ add r3, r3, r0
/* 8011D1F4 0011A154 7C 89 03 A6 */ mtctr r4
/* 8011D1F8 0011A158 40 81 00 CC */ ble lbl_8011D2C4
lbl_8011D1FC:
/* 8011D1FC 0011A15C 28 03 00 00 */ cmplwi r3, 0
/* 8011D200 0011A160 41 82 00 84 */ beq lbl_8011D284
/* 8011D204 0011A164 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8011D208 0011A168 B0 03 00 00 */ sth r0, 0(r3)
/* 8011D20C 0011A16C C0 1F 00 04 */ lfs f0, 4(r31)
/* 8011D210 0011A170 D0 03 00 04 */ stfs f0, 4(r3)
/* 8011D214 0011A174 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8011D218 0011A178 D0 03 00 08 */ stfs f0, 8(r3)
/* 8011D21C 0011A17C C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8011D220 0011A180 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8011D224 0011A184 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8011D228 0011A188 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8011D22C 0011A18C C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8011D230 0011A190 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8011D234 0011A194 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8011D238 0011A198 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 8011D23C 0011A19C C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8011D240 0011A1A0 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 8011D244 0011A1A4 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 8011D248 0011A1A8 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 8011D24C 0011A1AC C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 8011D250 0011A1B0 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 8011D254 0011A1B4 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 8011D258 0011A1B8 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 8011D25C 0011A1BC C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 8011D260 0011A1C0 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8011D264 0011A1C4 C0 1F 00 30 */ lfs f0, 0x30(r31)
/* 8011D268 0011A1C8 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8011D26C 0011A1CC C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 8011D270 0011A1D0 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 8011D274 0011A1D4 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8011D278 0011A1D8 D0 03 00 38 */ stfs f0, 0x38(r3)
/* 8011D27C 0011A1DC 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8011D280 0011A1E0 90 03 00 3C */ stw r0, 0x3c(r3)
lbl_8011D284:
/* 8011D284 0011A1E4 38 63 00 40 */ addi r3, r3, 0x40
/* 8011D288 0011A1E8 42 00 FF 74 */ bdnz lbl_8011D1FC
/* 8011D28C 0011A1EC 48 00 00 38 */ b lbl_8011D2C4
lbl_8011D290:
/* 8011D290 0011A1F0 80 9D 00 0C */ lwz r4, 0xc(r29)
/* 8011D294 0011A1F4 54 03 30 32 */ slwi r3, r0, 6
/* 8011D298 0011A1F8 57 C0 30 32 */ slwi r0, r30, 6
/* 8011D29C 0011A1FC 7C A4 02 14 */ add r5, r4, r0
/* 8011D2A0 0011A200 7C 04 1A 14 */ add r0, r4, r3
/* 8011D2A4 0011A204 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8011D2A8 0011A208 90 01 00 08 */ stw r0, 8(r1)
/* 8011D2AC 0011A20C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8011D2B0 0011A210 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8011D2B4 0011A214 48 00 00 08 */ b lbl_8011D2BC
lbl_8011D2B8:
/* 8011D2B8 0011A218 38 A5 00 40 */ addi r5, r5, 0x40
lbl_8011D2BC:
/* 8011D2BC 0011A21C 7C 05 00 40 */ cmplw r5, r0
/* 8011D2C0 0011A220 40 82 FF F8 */ bne lbl_8011D2B8
lbl_8011D2C4:
/* 8011D2C4 0011A224 93 DD 00 04 */ stw r30, 4(r29)
lbl_8011D2C8:
/* 8011D2C8 0011A228 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8011D2CC 0011A22C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8011D2D0 0011A230 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8011D2D4 0011A234 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8011D2D8 0011A238 7C 08 03 A6 */ mtlr r0
/* 8011D2DC 0011A23C 38 21 00 30 */ addi r1, r1, 0x30
/* 8011D2E0 0011A240 4E 80 00 20 */ blr
.global __ct__14CRippleManagerFif
__ct__14CRippleManagerFif:
/* 8011D2E4 0011A244 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8011D2E8 0011A248 7C 08 02 A6 */ mflr r0
/* 8011D2EC 0011A24C C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2)
/* 8011D2F0 0011A250 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011D2F4 0011A254 38 00 00 00 */ li r0, 0
/* 8011D2F8 0011A258 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8011D2FC 0011A25C 7C 7F 1B 78 */ mr r31, r3
/* 8011D300 0011A260 D0 03 00 00 */ stfs f0, 0(r3)
/* 8011D304 0011A264 90 03 00 08 */ stw r0, 8(r3)
/* 8011D308 0011A268 90 03 00 0C */ stw r0, 0xc(r3)
/* 8011D30C 0011A26C 90 03 00 10 */ stw r0, 0x10(r3)
/* 8011D310 0011A270 D0 23 00 14 */ stfs f1, 0x14(r3)
/* 8011D314 0011A274 4B FF FE 01 */ bl Init__14CRippleManagerFi
/* 8011D318 0011A278 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8011D31C 0011A27C 7F E3 FB 78 */ mr r3, r31
/* 8011D320 0011A280 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011D324 0011A284 7C 08 03 A6 */ mtlr r0
/* 8011D328 0011A288 38 21 00 10 */ addi r1, r1, 0x10
/* 8011D32C 0011A28C 4E 80 00 20 */ blr
.global sub_8011d330
sub_8011d330:
/* 8011D330 0011A290 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8011D334 0011A294 7C 08 02 A6 */ mflr r0
/* 8011D338 0011A298 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011D33C 0011A29C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8011D340 0011A2A0 7C 9F 23 78 */ mr r31, r4
/* 8011D344 0011A2A4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8011D348 0011A2A8 7C 7E 1B 78 */ mr r30, r3
/* 8011D34C 0011A2AC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8011D350 0011A2B0 80 03 00 08 */ lwz r0, 8(r3)
/* 8011D354 0011A2B4 7C 1F 00 00 */ cmpw r31, r0
/* 8011D358 0011A2B8 40 81 00 94 */ ble lbl_8011D3EC
/* 8011D35C 0011A2BC 57 E3 30 33 */ rlwinm. r3, r31, 6, 0, 0x19
/* 8011D360 0011A2C0 40 82 00 0C */ bne lbl_8011D36C
/* 8011D364 0011A2C4 3B A0 00 00 */ li r29, 0
/* 8011D368 0011A2C8 48 00 00 18 */ b lbl_8011D380
lbl_8011D36C:
/* 8011D36C 0011A2CC 3C 80 80 3D */ lis r4, lbl_803CF318@ha
/* 8011D370 0011A2D0 38 A0 00 00 */ li r5, 0
/* 8011D374 0011A2D4 38 84 F3 18 */ addi r4, r4, lbl_803CF318@l
/* 8011D378 0011A2D8 48 1F 84 A1 */ bl __nwa__FUlPCcPCc
/* 8011D37C 0011A2DC 7C 7D 1B 78 */ mr r29, r3
lbl_8011D380:
/* 8011D380 0011A2E0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8011D384 0011A2E4 7F A5 EB 78 */ mr r5, r29
/* 8011D388 0011A2E8 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 8011D38C 0011A2EC 38 61 00 14 */ addi r3, r1, 0x14
/* 8011D390 0011A2F0 54 00 30 32 */ slwi r0, r0, 6
/* 8011D394 0011A2F4 38 81 00 0C */ addi r4, r1, 0xc
/* 8011D398 0011A2F8 7C C6 02 14 */ add r6, r6, r0
/* 8011D39C 0011A2FC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8011D3A0 0011A300 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8011D3A4 0011A304 90 C1 00 08 */ stw r6, 8(r1)
/* 8011D3A8 0011A308 90 01 00 10 */ stw r0, 0x10(r1)
/* 8011D3AC 0011A30C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011D3B0 0011A310 48 00 00 59 */ bl sub_8011d408
/* 8011D3B4 0011A314 80 1E 00 04 */ lwz r0, 4(r30)
/* 8011D3B8 0011A318 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8011D3BC 0011A31C 54 00 30 32 */ slwi r0, r0, 6
/* 8011D3C0 0011A320 7C 64 1B 78 */ mr r4, r3
/* 8011D3C4 0011A324 7C 03 02 14 */ add r0, r3, r0
/* 8011D3C8 0011A328 48 00 00 08 */ b lbl_8011D3D0
lbl_8011D3CC:
/* 8011D3CC 0011A32C 38 84 00 40 */ addi r4, r4, 0x40
lbl_8011D3D0:
/* 8011D3D0 0011A330 7C 04 00 40 */ cmplw r4, r0
/* 8011D3D4 0011A334 40 82 FF F8 */ bne lbl_8011D3CC
/* 8011D3D8 0011A338 28 03 00 00 */ cmplwi r3, 0
/* 8011D3DC 0011A33C 41 82 00 08 */ beq lbl_8011D3E4
/* 8011D3E0 0011A340 48 1F 85 51 */ bl Free__7CMemoryFPCv
lbl_8011D3E4:
/* 8011D3E4 0011A344 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8011D3E8 0011A348 93 FE 00 08 */ stw r31, 8(r30)
lbl_8011D3EC:
/* 8011D3EC 0011A34C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8011D3F0 0011A350 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8011D3F4 0011A354 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8011D3F8 0011A358 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8011D3FC 0011A35C 7C 08 03 A6 */ mtlr r0
/* 8011D400 0011A360 38 21 00 30 */ addi r1, r1, 0x30
/* 8011D404 0011A364 4E 80 00 20 */ blr
.global sub_8011d408
sub_8011d408:
/* 8011D408 0011A368 80 63 00 00 */ lwz r3, 0(r3)
/* 8011D40C 0011A36C 48 00 00 94 */ b lbl_8011D4A0
lbl_8011D410:
/* 8011D410 0011A370 28 05 00 00 */ cmplwi r5, 0
/* 8011D414 0011A374 41 82 00 84 */ beq lbl_8011D498
/* 8011D418 0011A378 A0 03 00 00 */ lhz r0, 0(r3)
/* 8011D41C 0011A37C B0 05 00 00 */ sth r0, 0(r5)
/* 8011D420 0011A380 C0 03 00 04 */ lfs f0, 4(r3)
/* 8011D424 0011A384 D0 05 00 04 */ stfs f0, 4(r5)
/* 8011D428 0011A388 C0 03 00 08 */ lfs f0, 8(r3)
/* 8011D42C 0011A38C D0 05 00 08 */ stfs f0, 8(r5)
/* 8011D430 0011A390 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8011D434 0011A394 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 8011D438 0011A398 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8011D43C 0011A39C D0 05 00 10 */ stfs f0, 0x10(r5)
/* 8011D440 0011A3A0 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8011D444 0011A3A4 D0 05 00 14 */ stfs f0, 0x14(r5)
/* 8011D448 0011A3A8 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8011D44C 0011A3AC D0 05 00 18 */ stfs f0, 0x18(r5)
/* 8011D450 0011A3B0 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 8011D454 0011A3B4 D0 05 00 1C */ stfs f0, 0x1c(r5)
/* 8011D458 0011A3B8 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 8011D45C 0011A3BC D0 05 00 20 */ stfs f0, 0x20(r5)
/* 8011D460 0011A3C0 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 8011D464 0011A3C4 D0 05 00 24 */ stfs f0, 0x24(r5)
/* 8011D468 0011A3C8 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8011D46C 0011A3CC D0 05 00 28 */ stfs f0, 0x28(r5)
/* 8011D470 0011A3D0 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 8011D474 0011A3D4 D0 05 00 2C */ stfs f0, 0x2c(r5)
/* 8011D478 0011A3D8 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8011D47C 0011A3DC D0 05 00 30 */ stfs f0, 0x30(r5)
/* 8011D480 0011A3E0 C0 03 00 34 */ lfs f0, 0x34(r3)
/* 8011D484 0011A3E4 D0 05 00 34 */ stfs f0, 0x34(r5)
/* 8011D488 0011A3E8 C0 03 00 38 */ lfs f0, 0x38(r3)
/* 8011D48C 0011A3EC D0 05 00 38 */ stfs f0, 0x38(r5)
/* 8011D490 0011A3F0 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 8011D494 0011A3F4 90 05 00 3C */ stw r0, 0x3c(r5)
lbl_8011D498:
/* 8011D498 0011A3F8 38 A5 00 40 */ addi r5, r5, 0x40
/* 8011D49C 0011A3FC 38 63 00 40 */ addi r3, r3, 0x40
lbl_8011D4A0:
/* 8011D4A0 0011A400 80 04 00 00 */ lwz r0, 0(r4)
/* 8011D4A4 0011A404 7C 03 00 40 */ cmplw r3, r0
/* 8011D4A8 0011A408 40 82 FF 68 */ bne lbl_8011D410
/* 8011D4AC 0011A40C 7C A3 2B 78 */ mr r3, r5
/* 8011D4B0 0011A410 4E 80 00 20 */ blr

View File

@ -0,0 +1,624 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Valid__13CSimpleShadowCFv
Valid__13CSimpleShadowCFv:
/* 80105B00 00102A60 88 03 00 48 */ lbz r0, 0x48(r3)
/* 80105B04 00102A64 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 80105B08 00102A68 4E 80 00 20 */ blr
.global GetMaxShadowBox__13CSimpleShadowCFRC6CAABox
GetMaxShadowBox__13CSimpleShadowCFRC6CAABox:
/* 80105B0C 00102A6C 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80105B10 00102A70 7C 08 02 A6 */ mflr r0
/* 80105B14 00102A74 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80105B18 00102A78 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 80105B1C 00102A7C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80105B20 00102A80 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 80105B24 00102A84 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 80105B28 00102A88 DB A1 00 70 */ stfd f29, 0x70(r1)
/* 80105B2C 00102A8C F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 80105B30 00102A90 DB 81 00 60 */ stfd f28, 0x60(r1)
/* 80105B34 00102A94 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0
/* 80105B38 00102A98 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80105B3C 00102A9C 93 C1 00 58 */ stw r30, 0x58(r1)
/* 80105B40 00102AA0 93 A1 00 54 */ stw r29, 0x54(r1)
/* 80105B44 00102AA4 7C 9E 23 78 */ mr r30, r4
/* 80105B48 00102AA8 7C BF 2B 78 */ mr r31, r5
/* 80105B4C 00102AAC C0 24 00 34 */ lfs f1, 0x34(r4)
/* 80105B50 00102AB0 7C 7D 1B 78 */ mr r29, r3
/* 80105B54 00102AB4 C0 04 00 30 */ lfs f0, 0x30(r4)
/* 80105B58 00102AB8 7F E4 FB 78 */ mr r4, r31
/* 80105B5C 00102ABC 38 61 00 20 */ addi r3, r1, 0x20
/* 80105B60 00102AC0 EF 81 00 32 */ fmuls f28, f1, f0
/* 80105B64 00102AC4 48 23 1A A9 */ bl GetCenterPoint__6CAABoxCFv
/* 80105B68 00102AC8 C0 BF 00 00 */ lfs f5, 0(r31)
/* 80105B6C 00102ACC 7F C3 F3 78 */ mr r3, r30
/* 80105B70 00102AD0 C0 9F 00 04 */ lfs f4, 4(r31)
/* 80105B74 00102AD4 C0 7F 00 08 */ lfs f3, 8(r31)
/* 80105B78 00102AD8 C0 5F 00 0C */ lfs f2, 0xc(r31)
/* 80105B7C 00102ADC C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 80105B80 00102AE0 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 80105B84 00102AE4 D0 A1 00 2C */ stfs f5, 0x2c(r1)
/* 80105B88 00102AE8 C3 E1 00 20 */ lfs f31, 0x20(r1)
/* 80105B8C 00102AEC D0 81 00 30 */ stfs f4, 0x30(r1)
/* 80105B90 00102AF0 C3 C1 00 24 */ lfs f30, 0x24(r1)
/* 80105B94 00102AF4 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 80105B98 00102AF8 C3 A1 00 28 */ lfs f29, 0x28(r1)
/* 80105B9C 00102AFC D0 41 00 38 */ stfs f2, 0x38(r1)
/* 80105BA0 00102B00 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 80105BA4 00102B04 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80105BA8 00102B08 48 00 01 59 */ bl GetMaxObjectHeight__13CSimpleShadowCFv
/* 80105BAC 00102B0C FC 00 08 50 */ fneg f0, f1
/* 80105BB0 00102B10 38 61 00 2C */ addi r3, r1, 0x2c
/* 80105BB4 00102B14 EC 5F E0 2A */ fadds f2, f31, f28
/* 80105BB8 00102B18 38 81 00 14 */ addi r4, r1, 0x14
/* 80105BBC 00102B1C EC 3E E0 2A */ fadds f1, f30, f28
/* 80105BC0 00102B20 EC 1D 00 2A */ fadds f0, f29, f0
/* 80105BC4 00102B24 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80105BC8 00102B28 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80105BCC 00102B2C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80105BD0 00102B30 48 23 1F 39 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80105BD4 00102B34 7F C3 F3 78 */ mr r3, r30
/* 80105BD8 00102B38 48 00 01 29 */ bl GetMaxObjectHeight__13CSimpleShadowCFv
/* 80105BDC 00102B3C FC 60 E0 50 */ fneg f3, f28
/* 80105BE0 00102B40 38 61 00 2C */ addi r3, r1, 0x2c
/* 80105BE4 00102B44 FC 00 08 50 */ fneg f0, f1
/* 80105BE8 00102B48 38 81 00 08 */ addi r4, r1, 8
/* 80105BEC 00102B4C EC 5F 18 2A */ fadds f2, f31, f3
/* 80105BF0 00102B50 EC 3E 18 2A */ fadds f1, f30, f3
/* 80105BF4 00102B54 EC 1D 00 2A */ fadds f0, f29, f0
/* 80105BF8 00102B58 D0 41 00 08 */ stfs f2, 8(r1)
/* 80105BFC 00102B5C D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80105C00 00102B60 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80105C04 00102B64 48 23 1F 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f
/* 80105C08 00102B68 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80105C0C 00102B6C D0 1D 00 00 */ stfs f0, 0(r29)
/* 80105C10 00102B70 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 80105C14 00102B74 D0 1D 00 04 */ stfs f0, 4(r29)
/* 80105C18 00102B78 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 80105C1C 00102B7C D0 1D 00 08 */ stfs f0, 8(r29)
/* 80105C20 00102B80 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 80105C24 00102B84 D0 1D 00 0C */ stfs f0, 0xc(r29)
/* 80105C28 00102B88 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80105C2C 00102B8C D0 1D 00 10 */ stfs f0, 0x10(r29)
/* 80105C30 00102B90 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 80105C34 00102B94 D0 1D 00 14 */ stfs f0, 0x14(r29)
/* 80105C38 00102B98 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80105C3C 00102B9C CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80105C40 00102BA0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 80105C44 00102BA4 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 80105C48 00102BA8 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 80105C4C 00102BAC CB A1 00 70 */ lfd f29, 0x70(r1)
/* 80105C50 00102BB0 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0
/* 80105C54 00102BB4 CB 81 00 60 */ lfd f28, 0x60(r1)
/* 80105C58 00102BB8 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80105C5C 00102BBC 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 80105C60 00102BC0 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80105C64 00102BC4 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 80105C68 00102BC8 7C 08 03 A6 */ mtlr r0
/* 80105C6C 00102BCC 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80105C70 00102BD0 4E 80 00 20 */ blr
.global GetBounds__13CSimpleShadowCFv
GetBounds__13CSimpleShadowCFv:
/* 80105C74 00102BD4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80105C78 00102BD8 7C 08 02 A6 */ mflr r0
/* 80105C7C 00102BDC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80105C80 00102BE0 38 A1 00 08 */ addi r5, r1, 8
/* 80105C84 00102BE4 C0 24 00 34 */ lfs f1, 0x34(r4)
/* 80105C88 00102BE8 C0 04 00 30 */ lfs f0, 0x30(r4)
/* 80105C8C 00102BEC C0 C4 00 2C */ lfs f6, 0x2c(r4)
/* 80105C90 00102BF0 EC E1 00 32 */ fmuls f7, f1, f0
/* 80105C94 00102BF4 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 80105C98 00102BF8 C0 24 00 1C */ lfs f1, 0x1c(r4)
/* 80105C9C 00102BFC 38 81 00 14 */ addi r4, r1, 0x14
/* 80105CA0 00102C00 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80105CA4 00102C04 EC A1 38 2A */ fadds f5, f1, f7
/* 80105CA8 00102C08 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80105CAC 00102C0C EC 86 38 2A */ fadds f4, f6, f7
/* 80105CB0 00102C10 EC 60 38 2A */ fadds f3, f0, f7
/* 80105CB4 00102C14 EC 40 38 28 */ fsubs f2, f0, f7
/* 80105CB8 00102C18 D0 C1 00 28 */ stfs f6, 0x28(r1)
/* 80105CBC 00102C1C EC 21 38 28 */ fsubs f1, f1, f7
/* 80105CC0 00102C20 EC 06 38 28 */ fsubs f0, f6, f7
/* 80105CC4 00102C24 D0 61 00 08 */ stfs f3, 8(r1)
/* 80105CC8 00102C28 D0 A1 00 0C */ stfs f5, 0xc(r1)
/* 80105CCC 00102C2C D0 81 00 10 */ stfs f4, 0x10(r1)
/* 80105CD0 00102C30 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80105CD4 00102C34 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80105CD8 00102C38 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80105CDC 00102C3C 48 23 28 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80105CE0 00102C40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80105CE4 00102C44 7C 08 03 A6 */ mtlr r0
/* 80105CE8 00102C48 38 21 00 30 */ addi r1, r1, 0x30
/* 80105CEC 00102C4C 4E 80 00 20 */ blr
.global sub_80105cf0
sub_80105cf0:
/* 80105CF0 00102C50 88 03 00 48 */ lbz r0, 0x48(r3)
/* 80105CF4 00102C54 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80105CF8 00102C58 98 03 00 48 */ stb r0, 0x48(r3)
/* 80105CFC 00102C5C 4E 80 00 20 */ blr
.global GetMaxObjectHeight__13CSimpleShadowCFv
GetMaxObjectHeight__13CSimpleShadowCFv:
/* 80105D00 00102C60 C0 23 00 40 */ lfs f1, 0x40(r3)
/* 80105D04 00102C64 4E 80 00 20 */ blr
.global SetUserAlpha__13CSimpleShadowFf
SetUserAlpha__13CSimpleShadowFf:
/* 80105D08 00102C68 D0 23 00 38 */ stfs f1, 0x38(r3)
/* 80105D0C 00102C6C 4E 80 00 20 */ blr
.global GetTransform__13CSimpleShadowCFv
GetTransform__13CSimpleShadowCFv:
/* 80105D10 00102C70 4E 80 00 20 */ blr
.global Render__13CSimpleShadowCFPC8CTexture
Render__13CSimpleShadowCFPC8CTexture:
/* 80105D14 00102C74 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80105D18 00102C78 7C 08 02 A6 */ mflr r0
/* 80105D1C 00102C7C 90 01 00 74 */ stw r0, 0x74(r1)
/* 80105D20 00102C80 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 80105D24 00102C84 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 80105D28 00102C88 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 80105D2C 00102C8C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
/* 80105D30 00102C90 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80105D34 00102C94 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80105D38 00102C98 88 03 00 48 */ lbz r0, 0x48(r3)
/* 80105D3C 00102C9C 7C 7E 1B 78 */ mr r30, r3
/* 80105D40 00102CA0 7C 9F 23 78 */ mr r31, r4
/* 80105D44 00102CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80105D48 00102CA8 41 82 01 58 */ beq lbl_80105EA0
/* 80105D4C 00102CAC 48 20 6C 31 */ bl DisableAllLights__9CGraphicsFv
/* 80105D50 00102CB0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80105D54 00102CB4 7F C4 F3 78 */ mr r4, r30
/* 80105D58 00102CB8 81 83 00 00 */ lwz r12, 0(r3)
/* 80105D5C 00102CBC 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80105D60 00102CC0 7D 89 03 A6 */ mtctr r12
/* 80105D64 00102CC4 4E 80 04 21 */ bctrl
/* 80105D68 00102CC8 7F E3 FB 78 */ mr r3, r31
/* 80105D6C 00102CCC 38 80 00 00 */ li r4, 0
/* 80105D70 00102CD0 38 A0 00 01 */ li r5, 1
/* 80105D74 00102CD4 48 20 99 C9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 80105D78 00102CD8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha
/* 80105D7C 00102CDC 38 60 00 00 */ li r3, 0
/* 80105D80 00102CE0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l
/* 80105D84 00102CE4 48 20 45 35 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80105D88 00102CE8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 80105D8C 00102CEC 38 60 00 01 */ li r3, 1
/* 80105D90 00102CF0 48 20 45 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80105D94 00102CF4 38 60 00 07 */ li r3, 7
/* 80105D98 00102CF8 38 80 00 00 */ li r4, 0
/* 80105D9C 00102CFC 38 A0 00 00 */ li r5, 0
/* 80105DA0 00102D00 38 C0 00 07 */ li r6, 7
/* 80105DA4 00102D04 38 E0 00 00 */ li r7, 0
/* 80105DA8 00102D08 48 20 5C 81 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 80105DAC 00102D0C 38 60 00 01 */ li r3, 1
/* 80105DB0 00102D10 38 80 00 03 */ li r4, 3
/* 80105DB4 00102D14 38 A0 00 00 */ li r5, 0
/* 80105DB8 00102D18 48 20 5C DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 80105DBC 00102D1C 38 60 00 01 */ li r3, 1
/* 80105DC0 00102D20 38 80 00 04 */ li r4, 4
/* 80105DC4 00102D24 38 A0 00 05 */ li r5, 5
/* 80105DC8 00102D28 38 C0 00 00 */ li r6, 0
/* 80105DCC 00102D2C 48 20 5C 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 80105DD0 00102D30 C0 3E 00 34 */ lfs f1, 0x34(r30)
/* 80105DD4 00102D34 38 60 00 80 */ li r3, 0x80
/* 80105DD8 00102D38 C0 1E 00 30 */ lfs f0, 0x30(r30)
/* 80105DDC 00102D3C EF C1 00 32 */ fmuls f30, f1, f0
/* 80105DE0 00102D40 48 20 58 89 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 80105DE4 00102D44 C0 3E 00 3C */ lfs f1, 0x3c(r30)
/* 80105DE8 00102D48 C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 80105DEC 00102D4C C0 42 94 50 */ lfs f2, lbl_805AB170@sda21(r2)
/* 80105DF0 00102D50 EC 01 00 32 */ fmuls f0, f1, f0
/* 80105DF4 00102D54 EF E2 00 32 */ fmuls f31, f2, f0
/* 80105DF8 00102D58 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80105DFC 00102D5C 88 61 00 08 */ lbz r3, 8(r1)
/* 80105E00 00102D60 38 63 FF 00 */ addi r3, r3, -256
/* 80105E04 00102D64 48 20 57 69 */ bl StreamColor__9CGraphicsFUi
/* 80105E08 00102D68 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2)
/* 80105E0C 00102D6C FC 40 08 90 */ fmr f2, f1
/* 80105E10 00102D70 48 20 56 55 */ bl StreamTexcoord__9CGraphicsFff
/* 80105E14 00102D74 FF E0 F0 50 */ fneg f31, f30
/* 80105E18 00102D78 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2)
/* 80105E1C 00102D7C 38 61 00 30 */ addi r3, r1, 0x30
/* 80105E20 00102D80 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80105E24 00102D84 D3 E1 00 30 */ stfs f31, 0x30(r1)
/* 80105E28 00102D88 D3 E1 00 38 */ stfs f31, 0x38(r1)
/* 80105E2C 00102D8C 48 20 57 95 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80105E30 00102D90 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2)
/* 80105E34 00102D94 C0 42 94 58 */ lfs f2, lbl_805AB178@sda21(r2)
/* 80105E38 00102D98 48 20 56 2D */ bl StreamTexcoord__9CGraphicsFff
/* 80105E3C 00102D9C C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2)
/* 80105E40 00102DA0 38 61 00 24 */ addi r3, r1, 0x24
/* 80105E44 00102DA4 D3 C1 00 24 */ stfs f30, 0x24(r1)
/* 80105E48 00102DA8 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80105E4C 00102DAC D3 E1 00 2C */ stfs f31, 0x2c(r1)
/* 80105E50 00102DB0 48 20 57 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80105E54 00102DB4 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2)
/* 80105E58 00102DB8 FC 40 08 90 */ fmr f2, f1
/* 80105E5C 00102DBC 48 20 56 09 */ bl StreamTexcoord__9CGraphicsFff
/* 80105E60 00102DC0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2)
/* 80105E64 00102DC4 38 61 00 18 */ addi r3, r1, 0x18
/* 80105E68 00102DC8 D3 C1 00 18 */ stfs f30, 0x18(r1)
/* 80105E6C 00102DCC D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80105E70 00102DD0 D3 C1 00 20 */ stfs f30, 0x20(r1)
/* 80105E74 00102DD4 48 20 57 4D */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80105E78 00102DD8 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2)
/* 80105E7C 00102DDC C0 42 94 54 */ lfs f2, lbl_805AB174@sda21(r2)
/* 80105E80 00102DE0 48 20 55 E5 */ bl StreamTexcoord__9CGraphicsFff
/* 80105E84 00102DE4 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2)
/* 80105E88 00102DE8 38 61 00 0C */ addi r3, r1, 0xc
/* 80105E8C 00102DEC D3 E1 00 0C */ stfs f31, 0xc(r1)
/* 80105E90 00102DF0 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80105E94 00102DF4 D3 C1 00 14 */ stfs f30, 0x14(r1)
/* 80105E98 00102DF8 48 20 57 29 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80105E9C 00102DFC 48 20 55 75 */ bl StreamEnd__9CGraphicsFv
lbl_80105EA0:
/* 80105EA0 00102E00 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 80105EA4 00102E04 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 80105EA8 00102E08 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
/* 80105EAC 00102E0C CB C1 00 50 */ lfd f30, 0x50(r1)
/* 80105EB0 00102E10 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80105EB4 00102E14 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80105EB8 00102E18 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80105EBC 00102E1C 7C 08 03 A6 */ mtlr r0
/* 80105EC0 00102E20 38 21 00 70 */ addi r1, r1, 0x70
/* 80105EC4 00102E24 4E 80 00 20 */ blr
.global Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager
Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager:
/* 80105EC8 00102E28 94 21 F6 50 */ stwu r1, -0x9b0(r1)
/* 80105ECC 00102E2C 7C 08 02 A6 */ mflr r0
/* 80105ED0 00102E30 90 01 09 B4 */ stw r0, 0x9b4(r1)
/* 80105ED4 00102E34 DB E1 09 A0 */ stfd f31, 0x9a0(r1)
/* 80105ED8 00102E38 F3 E1 09 A8 */ psq_st f31, -1624(r1), 0, qr0
/* 80105EDC 00102E3C DB C1 09 90 */ stfd f30, 0x990(r1)
/* 80105EE0 00102E40 F3 C1 09 98 */ psq_st f30, -1640(r1), 0, qr0
/* 80105EE4 00102E44 DB A1 09 80 */ stfd f29, 0x980(r1)
/* 80105EE8 00102E48 F3 A1 09 88 */ psq_st f29, -1656(r1), 0, qr0
/* 80105EEC 00102E4C DB 81 09 70 */ stfd f28, 0x970(r1)
/* 80105EF0 00102E50 F3 81 09 78 */ psq_st f28, -1672(r1), 0, qr0
/* 80105EF4 00102E54 93 E1 09 6C */ stw r31, 0x96c(r1)
/* 80105EF8 00102E58 93 C1 09 68 */ stw r30, 0x968(r1)
/* 80105EFC 00102E5C 7C 7E 1B 78 */ mr r30, r3
/* 80105F00 00102E60 38 60 00 00 */ li r3, 0
/* 80105F04 00102E64 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 80105F08 00102E68 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80105F0C 00102E6C C0 82 94 5C */ lfs f4, lbl_805AB17C@sda21(r2)
/* 80105F10 00102E70 7C DF 33 78 */ mr r31, r6
/* 80105F14 00102E74 98 1E 00 48 */ stb r0, 0x48(r30)
/* 80105F18 00102E78 38 60 00 00 */ li r3, 0
/* 80105F1C 00102E7C C0 62 94 54 */ lfs f3, lbl_805AB174@sda21(r2)
/* 80105F20 00102E80 C0 44 00 14 */ lfs f2, 0x14(r4)
/* 80105F24 00102E84 C0 24 00 08 */ lfs f1, 8(r4)
/* 80105F28 00102E88 C0 05 00 1C */ lfs f0, 0x1c(r5)
/* 80105F2C 00102E8C EC A2 08 28 */ fsubs f5, f2, f1
/* 80105F30 00102E90 C0 25 00 0C */ lfs f1, 0xc(r5)
/* 80105F34 00102E94 ED 00 18 2A */ fadds f8, f0, f3
/* 80105F38 00102E98 C0 45 00 2C */ lfs f2, 0x2c(r5)
/* 80105F3C 00102E9C EC 21 18 2A */ fadds f1, f1, f3
/* 80105F40 00102EA0 C0 02 94 60 */ lfs f0, lbl_805AB180@sda21(r2)
/* 80105F44 00102EA4 EF A5 01 32 */ fmuls f29, f5, f4
/* 80105F48 00102EA8 C0 C4 00 0C */ lfs f6, 0xc(r4)
/* 80105F4C 00102EAC C0 A4 00 00 */ lfs f5, 0(r4)
/* 80105F50 00102EB0 C0 84 00 10 */ lfs f4, 0x10(r4)
/* 80105F54 00102EB4 EC E2 E8 2A */ fadds f7, f2, f29
/* 80105F58 00102EB8 C0 44 00 04 */ lfs f2, 4(r4)
/* 80105F5C 00102EBC EF C6 28 28 */ fsubs f30, f6, f5
/* 80105F60 00102EC0 80 AD 89 B8 */ lwz r5, lbl_805A7578@sda21(r13)
/* 80105F64 00102EC4 EF E4 10 28 */ fsubs f31, f4, f2
/* 80105F68 00102EC8 D0 21 00 28 */ stfs f1, 0x28(r1)
/* 80105F6C 00102ECC D1 01 00 2C */ stfs f8, 0x2c(r1)
/* 80105F70 00102ED0 38 80 00 01 */ li r4, 1
/* 80105F74 00102ED4 D0 E1 00 30 */ stfs f7, 0x30(r1)
/* 80105F78 00102ED8 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 80105F7C 00102EDC D0 61 00 20 */ stfs f3, 0x20(r1)
/* 80105F80 00102EE0 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80105F84 00102EE4 48 28 3F 71 */ bl __shl2i
/* 80105F88 00102EE8 39 20 FF FF */ li r9, -1
/* 80105F8C 00102EEC 39 00 00 00 */ li r8, 0
/* 80105F90 00102EF0 38 00 00 02 */ li r0, 2
/* 80105F94 00102EF4 90 81 00 5C */ stw r4, 0x5c(r1)
/* 80105F98 00102EF8 7F E4 FB 78 */ mr r4, r31
/* 80105F9C 00102EFC 38 A1 00 28 */ addi r5, r1, 0x28
/* 80105FA0 00102F00 90 61 00 58 */ stw r3, 0x58(r1)
/* 80105FA4 00102F04 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80105FA8 00102F08 38 C1 00 1C */ addi r6, r1, 0x1c
/* 80105FAC 00102F0C 38 E1 00 50 */ addi r7, r1, 0x50
/* 80105FB0 00102F10 91 21 00 54 */ stw r9, 0x54(r1)
/* 80105FB4 00102F14 91 01 00 50 */ stw r8, 0x50(r1)
/* 80105FB8 00102F18 90 01 00 60 */ stw r0, 0x60(r1)
/* 80105FBC 00102F1C C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 80105FC0 00102F20 4B F4 6F D9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter
/* 80105FC4 00102F24 88 81 00 E8 */ lbz r4, 0xe8(r1)
/* 80105FC8 00102F28 C0 21 00 C8 */ lfs f1, 0xc8(r1)
/* 80105FCC 00102F2C 28 04 00 00 */ cmplwi r4, 0
/* 80105FD0 00102F30 C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 80105FD4 00102F34 C0 61 00 D0 */ lfs f3, 0xd0(r1)
/* 80105FD8 00102F38 C0 81 00 D4 */ lfs f4, 0xd4(r1)
/* 80105FDC 00102F3C C0 A1 00 D8 */ lfs f5, 0xd8(r1)
/* 80105FE0 00102F40 C0 C1 00 DC */ lfs f6, 0xdc(r1)
/* 80105FE4 00102F44 C0 E1 00 E0 */ lfs f7, 0xe0(r1)
/* 80105FE8 00102F48 C1 01 00 E4 */ lfs f8, 0xe4(r1)
/* 80105FEC 00102F4C 80 A1 00 F0 */ lwz r5, 0xf0(r1)
/* 80105FF0 00102F50 80 C1 00 F4 */ lwz r6, 0xf4(r1)
/* 80105FF4 00102F54 C3 9E 00 40 */ lfs f28, 0x40(r30)
/* 80105FF8 00102F58 41 82 00 18 */ beq lbl_80106010
/* 80105FFC 00102F5C 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 80106000 00102F60 38 60 00 01 */ li r3, 1
/* 80106004 00102F64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80106008 00102F68 FF 80 08 90 */ fmr f28, f1
/* 8010600C 00102F6C 98 1E 00 48 */ stb r0, 0x48(r30)
lbl_80106010:
/* 80106010 00102F70 C0 02 94 64 */ lfs f0, lbl_805AB184@sda21(r2)
/* 80106014 00102F74 D0 21 01 28 */ stfs f1, 0x128(r1)
/* 80106018 00102F78 EC 00 E8 2A */ fadds f0, f0, f29
/* 8010601C 00102F7C D0 41 01 2C */ stfs f2, 0x12c(r1)
/* 80106020 00102F80 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 80106024 00102F84 D0 61 01 30 */ stfs f3, 0x130(r1)
/* 80106028 00102F88 D0 81 01 34 */ stfs f4, 0x134(r1)
/* 8010602C 00102F8C D0 A1 01 38 */ stfs f5, 0x138(r1)
/* 80106030 00102F90 D0 C1 01 3C */ stfs f6, 0x13c(r1)
/* 80106034 00102F94 D0 E1 01 40 */ stfs f7, 0x140(r1)
/* 80106038 00102F98 D1 01 01 44 */ stfs f8, 0x144(r1)
/* 8010603C 00102F9C 98 81 01 48 */ stb r4, 0x148(r1)
/* 80106040 00102FA0 90 C1 01 54 */ stw r6, 0x154(r1)
/* 80106044 00102FA4 90 A1 01 50 */ stw r5, 0x150(r1)
/* 80106048 00102FA8 40 81 01 90 */ ble lbl_801061D8
/* 8010604C 00102FAC 38 00 00 00 */ li r0, 0
/* 80106050 00102FB0 80 AD 89 BC */ lwz r5, lbl_805A757C@sda21(r13)
/* 80106054 00102FB4 90 01 01 58 */ stw r0, 0x158(r1)
/* 80106058 00102FB8 38 60 00 00 */ li r3, 0
/* 8010605C 00102FBC 38 80 00 01 */ li r4, 1
/* 80106060 00102FC0 48 28 3E 95 */ bl __shl2i
/* 80106064 00102FC4 39 20 00 00 */ li r9, 0
/* 80106068 00102FC8 38 00 00 01 */ li r0, 1
/* 8010606C 00102FCC 90 81 00 3C */ stw r4, 0x3c(r1)
/* 80106070 00102FD0 38 81 01 58 */ addi r4, r1, 0x158
/* 80106074 00102FD4 38 A1 00 28 */ addi r5, r1, 0x28
/* 80106078 00102FD8 38 C1 00 1C */ addi r6, r1, 0x1c
/* 8010607C 00102FDC 90 61 00 38 */ stw r3, 0x38(r1)
/* 80106080 00102FE0 7F E3 FB 78 */ mr r3, r31
/* 80106084 00102FE4 38 E1 00 38 */ addi r7, r1, 0x38
/* 80106088 00102FE8 39 00 00 00 */ li r8, 0
/* 8010608C 00102FEC 91 21 00 44 */ stw r9, 0x44(r1)
/* 80106090 00102FF0 91 21 00 40 */ stw r9, 0x40(r1)
/* 80106094 00102FF4 90 01 00 48 */ stw r0, 0x48(r1)
/* 80106098 00102FF8 C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 8010609C 00102FFC 4B F4 66 3D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor"
/* 801060A0 00103000 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 801060A4 00103004 3C 60 80 5A */ lis r3, lbl_8059FD18@ha
/* 801060A8 00103008 39 03 FD 18 */ addi r8, r3, lbl_8059FD18@l
/* 801060AC 0010300C 7F E4 FB 78 */ mr r4, r31
/* 801060B0 00103010 B0 01 00 08 */ sth r0, 8(r1)
/* 801060B4 00103014 38 61 00 98 */ addi r3, r1, 0x98
/* 801060B8 00103018 38 A1 00 08 */ addi r5, r1, 8
/* 801060BC 0010301C 38 C1 00 28 */ addi r6, r1, 0x28
/* 801060C0 00103020 C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 801060C4 00103024 38 E1 00 1C */ addi r7, r1, 0x1c
/* 801060C8 00103028 39 21 01 58 */ addi r9, r1, 0x158
/* 801060CC 0010302C 48 07 ED A1 */ bl "RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>"
/* 801060D0 00103030 88 E1 00 B8 */ lbz r7, 0xb8(r1)
/* 801060D4 00103034 C0 E1 00 98 */ lfs f7, 0x98(r1)
/* 801060D8 00103038 54 E0 06 3F */ clrlwi. r0, r7, 0x18
/* 801060DC 0010303C C0 C1 00 9C */ lfs f6, 0x9c(r1)
/* 801060E0 00103040 C0 A1 00 A0 */ lfs f5, 0xa0(r1)
/* 801060E4 00103044 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 801060E8 00103048 C0 81 00 A8 */ lfs f4, 0xa8(r1)
/* 801060EC 0010304C C0 61 00 AC */ lfs f3, 0xac(r1)
/* 801060F0 00103050 C0 41 00 B0 */ lfs f2, 0xb0(r1)
/* 801060F4 00103054 C0 21 00 B4 */ lfs f1, 0xb4(r1)
/* 801060F8 00103058 80 01 00 C0 */ lwz r0, 0xc0(r1)
/* 801060FC 0010305C 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 80106100 00103060 D0 E1 00 F8 */ stfs f7, 0xf8(r1)
/* 80106104 00103064 D0 C1 00 FC */ stfs f6, 0xfc(r1)
/* 80106108 00103068 D0 A1 01 00 */ stfs f5, 0x100(r1)
/* 8010610C 0010306C D0 01 01 04 */ stfs f0, 0x104(r1)
/* 80106110 00103070 D0 81 01 08 */ stfs f4, 0x108(r1)
/* 80106114 00103074 D0 61 01 0C */ stfs f3, 0x10c(r1)
/* 80106118 00103078 D0 41 01 10 */ stfs f2, 0x110(r1)
/* 8010611C 0010307C D0 21 01 14 */ stfs f1, 0x114(r1)
/* 80106120 00103080 98 E1 01 18 */ stb r7, 0x118(r1)
/* 80106124 00103084 90 61 01 24 */ stw r3, 0x124(r1)
/* 80106128 00103088 90 01 01 20 */ stw r0, 0x120(r1)
/* 8010612C 0010308C 41 82 00 58 */ beq lbl_80106184
/* 80106130 00103090 FC 07 E0 40 */ fcmpo cr0, f7, f28
/* 80106134 00103094 40 80 00 50 */ bge lbl_80106184
/* 80106138 00103098 80 C1 00 FC */ lwz r6, 0xfc(r1)
/* 8010613C 0010309C 38 60 00 01 */ li r3, 1
/* 80106140 001030A0 80 A1 01 00 */ lwz r5, 0x100(r1)
/* 80106144 001030A4 FF 80 38 90 */ fmr f28, f7
/* 80106148 001030A8 80 81 01 04 */ lwz r4, 0x104(r1)
/* 8010614C 001030AC C8 01 01 20 */ lfd f0, 0x120(r1)
/* 80106150 001030B0 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 80106154 001030B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80106158 001030B8 D0 E1 01 28 */ stfs f7, 0x128(r1)
/* 8010615C 001030BC 90 C1 01 2C */ stw r6, 0x12c(r1)
/* 80106160 001030C0 90 A1 01 30 */ stw r5, 0x130(r1)
/* 80106164 001030C4 90 81 01 34 */ stw r4, 0x134(r1)
/* 80106168 001030C8 D0 81 01 38 */ stfs f4, 0x138(r1)
/* 8010616C 001030CC D0 61 01 3C */ stfs f3, 0x13c(r1)
/* 80106170 001030D0 D0 41 01 40 */ stfs f2, 0x140(r1)
/* 80106174 001030D4 D0 21 01 44 */ stfs f1, 0x144(r1)
/* 80106178 001030D8 98 E1 01 48 */ stb r7, 0x148(r1)
/* 8010617C 001030DC D8 01 01 50 */ stfd f0, 0x150(r1)
/* 80106180 001030E0 98 1E 00 48 */ stb r0, 0x48(r30)
lbl_80106184:
/* 80106184 001030E4 80 A1 01 58 */ lwz r5, 0x158(r1)
/* 80106188 001030E8 38 60 00 00 */ li r3, 0
/* 8010618C 001030EC 2C 05 00 00 */ cmpwi r5, 0
/* 80106190 001030F0 40 81 00 40 */ ble lbl_801061D0
/* 80106194 001030F4 2C 05 00 08 */ cmpwi r5, 8
/* 80106198 001030F8 38 85 FF F8 */ addi r4, r5, -8
/* 8010619C 001030FC 40 81 00 20 */ ble lbl_801061BC
/* 801061A0 00103100 38 04 00 07 */ addi r0, r4, 7
/* 801061A4 00103104 54 00 E8 FE */ srwi r0, r0, 3
/* 801061A8 00103108 7C 09 03 A6 */ mtctr r0
/* 801061AC 0010310C 2C 04 00 00 */ cmpwi r4, 0
/* 801061B0 00103110 40 81 00 0C */ ble lbl_801061BC
lbl_801061B4:
/* 801061B4 00103114 38 63 00 08 */ addi r3, r3, 8
/* 801061B8 00103118 42 00 FF FC */ bdnz lbl_801061B4
lbl_801061BC:
/* 801061BC 0010311C 7C 03 28 50 */ subf r0, r3, r5
/* 801061C0 00103120 7C 09 03 A6 */ mtctr r0
/* 801061C4 00103124 7C 03 28 00 */ cmpw r3, r5
/* 801061C8 00103128 40 80 00 08 */ bge lbl_801061D0
lbl_801061CC:
/* 801061CC 0010312C 42 00 00 00 */ bdnz lbl_801061CC
lbl_801061D0:
/* 801061D0 00103130 38 00 00 00 */ li r0, 0
/* 801061D4 00103134 90 01 01 58 */ stw r0, 0x158(r1)
lbl_801061D8:
/* 801061D8 00103138 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 801061DC 0010313C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801061E0 00103140 41 82 01 28 */ beq lbl_80106308
/* 801061E4 00103144 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 801061E8 00103148 3C 80 80 5A */ lis r4, skZero3f@ha
/* 801061EC 0010314C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 801061F0 00103150 C0 62 94 58 */ lfs f3, lbl_805AB178@sda21(r2)
/* 801061F4 00103154 EC 1C 00 24 */ fdivs f0, f28, f0
/* 801061F8 00103158 38 A4 66 A0 */ addi r5, r4, skZero3f@l
/* 801061FC 0010315C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l
/* 80106200 00103160 C0 41 01 38 */ lfs f2, 0x138(r1)
/* 80106204 00103164 C0 21 01 3C */ lfs f1, 0x13c(r1)
/* 80106208 00103168 38 61 00 68 */ addi r3, r1, 0x68
/* 8010620C 0010316C EC 63 00 28 */ fsubs f3, f3, f0
/* 80106210 00103170 C0 01 01 40 */ lfs f0, 0x140(r1)
/* 80106214 00103174 38 81 00 10 */ addi r4, r1, 0x10
/* 80106218 00103178 D0 7E 00 3C */ stfs f3, 0x3c(r30)
/* 8010621C 0010317C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80106220 00103180 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80106224 00103184 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80106228 00103188 48 20 D8 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 8010622C 0010318C 7F C3 F3 78 */ mr r3, r30
/* 80106230 00103190 38 81 00 68 */ addi r4, r1, 0x68
/* 80106234 00103194 48 20 C9 0D */ bl __as__12CTransform4fFRC12CTransform4f
/* 80106238 00103198 C0 BE 00 44 */ lfs f5, 0x44(r30)
/* 8010623C 0010319C C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80106240 001031A0 C0 61 00 14 */ lfs f3, 0x14(r1)
/* 80106244 001031A4 EC 05 00 32 */ fmuls f0, f5, f0
/* 80106248 001031A8 C0 21 01 2C */ lfs f1, 0x12c(r1)
/* 8010624C 001031AC C0 41 00 18 */ lfs f2, 0x18(r1)
/* 80106250 001031B0 EC 65 00 F2 */ fmuls f3, f5, f3
/* 80106254 001031B4 C0 81 01 30 */ lfs f4, 0x130(r1)
/* 80106258 001031B8 EC 01 00 2A */ fadds f0, f1, f0
/* 8010625C 001031BC EC 25 00 B2 */ fmuls f1, f5, f2
/* 80106260 001031C0 C0 41 01 34 */ lfs f2, 0x134(r1)
/* 80106264 001031C4 EC 64 18 2A */ fadds f3, f4, f3
/* 80106268 001031C8 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 8010626C 001031CC EC 02 08 2A */ fadds f0, f2, f1
/* 80106270 001031D0 D0 7E 00 1C */ stfs f3, 0x1c(r30)
/* 80106274 001031D4 D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 80106278 001031D8 88 7E 00 48 */ lbz r3, 0x48(r30)
/* 8010627C 001031DC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 80106280 001031E0 40 82 00 0C */ bne lbl_8010628C
/* 80106284 001031E4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f
/* 80106288 001031E8 40 82 00 80 */ bne lbl_80106308
lbl_8010628C:
/* 8010628C 001031EC EC 3F 07 F2 */ fmuls f1, f31, f31
/* 80106290 001031F0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2)
/* 80106294 001031F4 EC 9E 0F BA */ fmadds f4, f30, f30, f1
/* 80106298 001031F8 FC 04 00 40 */ fcmpo cr0, f4, f0
/* 8010629C 001031FC 40 81 00 50 */ ble lbl_801062EC
/* 801062A0 00103200 FC 20 20 34 */ frsqrte f1, f4
/* 801062A4 00103204 C8 62 94 68 */ lfd f3, lbl_805AB188@sda21(r2)
/* 801062A8 00103208 C8 42 94 70 */ lfd f2, lbl_805AB190@sda21(r2)
/* 801062AC 0010320C FC 01 00 72 */ fmul f0, f1, f1
/* 801062B0 00103210 FC 23 00 72 */ fmul f1, f3, f1
/* 801062B4 00103214 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 801062B8 00103218 FC 21 00 32 */ fmul f1, f1, f0
/* 801062BC 0010321C FC 01 00 72 */ fmul f0, f1, f1
/* 801062C0 00103220 FC 23 00 72 */ fmul f1, f3, f1
/* 801062C4 00103224 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 801062C8 00103228 FC 21 00 32 */ fmul f1, f1, f0
/* 801062CC 0010322C FC 01 00 72 */ fmul f0, f1, f1
/* 801062D0 00103230 FC 23 00 72 */ fmul f1, f3, f1
/* 801062D4 00103234 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 801062D8 00103238 FC 01 00 32 */ fmul f0, f1, f0
/* 801062DC 0010323C FC 04 00 32 */ fmul f0, f4, f0
/* 801062E0 00103240 FC 00 00 18 */ frsp f0, f0
/* 801062E4 00103244 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 801062E8 00103248 C0 81 00 0C */ lfs f4, 0xc(r1)
lbl_801062EC:
/* 801062EC 0010324C C0 02 94 5C */ lfs f0, lbl_805AB17C@sda21(r2)
/* 801062F0 00103250 38 60 00 01 */ li r3, 1
/* 801062F4 00103254 EC 04 00 32 */ fmuls f0, f4, f0
/* 801062F8 00103258 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 801062FC 0010325C 88 1E 00 48 */ lbz r0, 0x48(r30)
/* 80106300 00103260 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80106304 00103264 98 1E 00 48 */ stb r0, 0x48(r30)
lbl_80106308:
/* 80106308 00103268 E3 E1 09 A8 */ psq_l f31, -1624(r1), 0, qr0
/* 8010630C 0010326C CB E1 09 A0 */ lfd f31, 0x9a0(r1)
/* 80106310 00103270 E3 C1 09 98 */ psq_l f30, -1640(r1), 0, qr0
/* 80106314 00103274 CB C1 09 90 */ lfd f30, 0x990(r1)
/* 80106318 00103278 E3 A1 09 88 */ psq_l f29, -1656(r1), 0, qr0
/* 8010631C 0010327C CB A1 09 80 */ lfd f29, 0x980(r1)
/* 80106320 00103280 E3 81 09 78 */ psq_l f28, -1672(r1), 0, qr0
/* 80106324 00103284 CB 81 09 70 */ lfd f28, 0x970(r1)
/* 80106328 00103288 83 E1 09 6C */ lwz r31, 0x96c(r1)
/* 8010632C 0010328C 80 01 09 B4 */ lwz r0, 0x9b4(r1)
/* 80106330 00103290 83 C1 09 68 */ lwz r30, 0x968(r1)
/* 80106334 00103294 7C 08 03 A6 */ mtlr r0
/* 80106338 00103298 38 21 09 B0 */ addi r1, r1, 0x9b0
/* 8010633C 0010329C 4E 80 00 20 */ blr
.global __ct__13CSimpleShadowFffff
__ct__13CSimpleShadowFffff:
/* 80106340 001032A0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80106344 001032A4 7C 08 02 A6 */ mflr r0
/* 80106348 001032A8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8010634C 001032AC DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80106350 001032B0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 80106354 001032B4 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 80106358 001032B8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 8010635C 001032BC DB A1 00 20 */ stfd f29, 0x20(r1)
/* 80106360 001032C0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0
/* 80106364 001032C4 DB 81 00 10 */ stfd f28, 0x10(r1)
/* 80106368 001032C8 F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0
/* 8010636C 001032CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80106370 001032D0 FF 80 08 90 */ fmr f28, f1
/* 80106374 001032D4 3C 80 80 5A */ lis r4, skIdentity4f@ha
/* 80106378 001032D8 FF A0 10 90 */ fmr f29, f2
/* 8010637C 001032DC 38 84 66 70 */ addi r4, r4, skIdentity4f@l
/* 80106380 001032E0 FF C0 18 90 */ fmr f30, f3
/* 80106384 001032E4 7C 7F 1B 78 */ mr r31, r3
/* 80106388 001032E8 FF E0 20 90 */ fmr f31, f4
/* 8010638C 001032EC 48 20 C7 E9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80106390 001032F0 D3 9F 00 30 */ stfs f28, 0x30(r31)
/* 80106394 001032F4 38 A0 00 00 */ li r5, 0
/* 80106398 001032F8 C0 02 94 58 */ lfs f0, lbl_805AB178@sda21(r2)
/* 8010639C 001032FC 38 80 00 01 */ li r4, 1
/* 801063A0 00103300 7F E3 FB 78 */ mr r3, r31
/* 801063A4 00103304 D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 801063A8 00103308 D3 BF 00 38 */ stfs f29, 0x38(r31)
/* 801063AC 0010330C D0 1F 00 3C */ stfs f0, 0x3c(r31)
/* 801063B0 00103310 D3 DF 00 40 */ stfs f30, 0x40(r31)
/* 801063B4 00103314 D3 FF 00 44 */ stfs f31, 0x44(r31)
/* 801063B8 00103318 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 801063BC 0010331C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 801063C0 00103320 98 1F 00 48 */ stb r0, 0x48(r31)
/* 801063C4 00103324 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 801063C8 00103328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 801063CC 0010332C 98 1F 00 48 */ stb r0, 0x48(r31)
/* 801063D0 00103330 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 801063D4 00103334 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
/* 801063D8 00103338 98 1F 00 48 */ stb r0, 0x48(r31)
/* 801063DC 0010333C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 801063E0 00103340 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 801063E4 00103344 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 801063E8 00103348 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 801063EC 0010334C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0
/* 801063F0 00103350 CB A1 00 20 */ lfd f29, 0x20(r1)
/* 801063F4 00103354 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0
/* 801063F8 00103358 CB 81 00 10 */ lfd f28, 0x10(r1)
/* 801063FC 0010335C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80106400 00103360 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80106404 00103364 7C 08 03 A6 */ mtlr r0
/* 80106408 00103368 38 21 00 50 */ addi r1, r1, 0x50
/* 8010640C 0010336C 4E 80 00 20 */ blr

1550
asm/Kyoto_CWD/CSortedLists.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,892 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global ResetBlur__12CWorldShadowFv
ResetBlur__12CWorldShadowFv:
/* 80110F8C 0010DEEC 38 00 00 01 */ li r0, 1
/* 80110F90 0010DEF0 98 03 00 88 */ stb r0, 0x88(r3)
/* 80110F94 0010DEF4 4E 80 00 20 */ blr
.global DisableModelProjectedShadow__12CWorldShadowCFv
DisableModelProjectedShadow__12CWorldShadowCFv:
/* 80110F98 0010DEF8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80110F9C 0010DEFC 7C 08 02 A6 */ mflr r0
/* 80110FA0 0010DF00 90 01 00 14 */ stw r0, 0x14(r1)
/* 80110FA4 0010DF04 48 23 47 E1 */ bl DisableShadowMaps__10CCubeModelFv
/* 80110FA8 0010DF08 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80110FAC 0010DF0C 7C 08 03 A6 */ mtlr r0
/* 80110FB0 0010DF10 38 21 00 10 */ addi r1, r1, 0x10
/* 80110FB4 0010DF14 4E 80 00 20 */ blr
.global EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif
EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif:
/* 80110FB8 0010DF18 94 21 FD E0 */ stwu r1, -0x220(r1)
/* 80110FBC 0010DF1C 7C 08 02 A6 */ mflr r0
/* 80110FC0 0010DF20 90 01 02 24 */ stw r0, 0x224(r1)
/* 80110FC4 0010DF24 DB E1 02 10 */ stfd f31, 0x210(r1)
/* 80110FC8 0010DF28 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0
/* 80110FCC 0010DF2C 93 E1 02 0C */ stw r31, 0x20c(r1)
/* 80110FD0 0010DF30 93 C1 02 08 */ stw r30, 0x208(r1)
/* 80110FD4 0010DF34 93 A1 02 04 */ stw r29, 0x204(r1)
/* 80110FD8 0010DF38 88 0D A3 64 */ lbz r0, lbl_805A8F24@sda21(r13)
/* 80110FDC 0010DF3C FF E0 08 90 */ fmr f31, f1
/* 80110FE0 0010DF40 7C 7D 1B 78 */ mr r29, r3
/* 80110FE4 0010DF44 7C 9E 23 78 */ mr r30, r4
/* 80110FE8 0010DF48 7C 00 07 75 */ extsb. r0, r0
/* 80110FEC 0010DF4C 7C BF 2B 78 */ mr r31, r5
/* 80110FF0 0010DF50 40 82 00 68 */ bne lbl_80111058
/* 80110FF4 0010DF54 C8 82 95 70 */ lfd f4, lbl_805AB290@sda21(r2)
/* 80110FF8 0010DF58 38 00 00 01 */ li r0, 1
/* 80110FFC 0010DF5C C8 62 95 78 */ lfd f3, lbl_805AB298@sda21(r2)
/* 80111000 0010DF60 FC 20 20 34 */ frsqrte f1, f4
/* 80111004 0010DF64 C8 42 95 80 */ lfd f2, lbl_805AB2A0@sda21(r2)
/* 80111008 0010DF68 98 0D A3 64 */ stb r0, lbl_805A8F24@sda21(r13)
/* 8011100C 0010DF6C FC 01 00 72 */ fmul f0, f1, f1
/* 80111010 0010DF70 FC 23 00 72 */ fmul f1, f3, f1
/* 80111014 0010DF74 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 80111018 0010DF78 FC 21 00 32 */ fmul f1, f1, f0
/* 8011101C 0010DF7C FC 01 00 72 */ fmul f0, f1, f1
/* 80111020 0010DF80 FC 23 00 72 */ fmul f1, f3, f1
/* 80111024 0010DF84 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 80111028 0010DF88 FC 21 00 32 */ fmul f1, f1, f0
/* 8011102C 0010DF8C FC 01 00 72 */ fmul f0, f1, f1
/* 80111030 0010DF90 FC 23 00 72 */ fmul f1, f3, f1
/* 80111034 0010DF94 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 80111038 0010DF98 FC 21 00 32 */ fmul f1, f1, f0
/* 8011103C 0010DF9C FC 01 00 72 */ fmul f0, f1, f1
/* 80111040 0010DFA0 FC 23 00 72 */ fmul f1, f3, f1
/* 80111044 0010DFA4 FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 80111048 0010DFA8 FC 01 00 32 */ fmul f0, f1, f0
/* 8011104C 0010DFAC FC 04 00 32 */ fmul f0, f4, f0
/* 80111050 0010DFB0 FC 00 00 18 */ frsp f0, f0
/* 80111054 0010DFB4 D0 0D A3 60 */ stfs f0, lbl_805A8F20@sda21(r13)
lbl_80111058:
/* 80111058 0010DFB8 C0 5D 00 78 */ lfs f2, 0x78(r29)
/* 8011105C 0010DFBC 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80111060 0010DFC0 C0 1D 00 6C */ lfs f0, 0x6c(r29)
/* 80111064 0010DFC4 38 83 66 A0 */ addi r4, r3, skZero3f@l
/* 80111068 0010DFC8 C0 3D 00 7C */ lfs f1, 0x7c(r29)
/* 8011106C 0010DFCC 38 61 01 70 */ addi r3, r1, 0x170
/* 80111070 0010DFD0 EC A2 00 28 */ fsubs f5, f2, f0
/* 80111074 0010DFD4 C0 1D 00 70 */ lfs f0, 0x70(r29)
/* 80111078 0010DFD8 C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2)
/* 8011107C 0010DFDC 38 A1 00 14 */ addi r5, r1, 0x14
/* 80111080 0010DFE0 EC 81 00 28 */ fsubs f4, f1, f0
/* 80111084 0010DFE4 C0 3D 00 74 */ lfs f1, 0x74(r29)
/* 80111088 0010DFE8 C0 1D 00 68 */ lfs f0, 0x68(r29)
/* 8011108C 0010DFEC 38 C1 00 08 */ addi r6, r1, 8
/* 80111090 0010DFF0 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2)
/* 80111094 0010DFF4 EC 01 00 28 */ fsubs f0, f1, f0
/* 80111098 0010DFF8 D0 61 00 08 */ stfs f3, 8(r1)
/* 8011109C 0010DFFC D0 61 00 0C */ stfs f3, 0xc(r1)
/* 801110A0 0010E000 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 801110A4 0010E004 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 801110A8 0010E008 D0 A1 00 18 */ stfs f5, 0x18(r1)
/* 801110AC 0010E00C D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 801110B0 0010E010 48 20 2A 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 801110B4 0010E014 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 801110B8 0010E018 38 81 01 70 */ addi r4, r1, 0x170
/* 801110BC 0010E01C 48 20 1A B9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801110C0 0010E020 7F C4 F3 78 */ mr r4, r30
/* 801110C4 0010E024 38 61 01 A0 */ addi r3, r1, 0x1a0
/* 801110C8 0010E028 48 20 1A AD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801110CC 0010E02C 3C 80 80 5A */ lis r4, skZero3f@ha
/* 801110D0 0010E030 38 61 01 10 */ addi r3, r1, 0x110
/* 801110D4 0010E034 38 A4 66 A0 */ addi r5, r4, skZero3f@l
/* 801110D8 0010E038 38 81 01 A0 */ addi r4, r1, 0x1a0
/* 801110DC 0010E03C C0 45 00 00 */ lfs f2, 0(r5)
/* 801110E0 0010E040 C0 25 00 04 */ lfs f1, 4(r5)
/* 801110E4 0010E044 C0 05 00 08 */ lfs f0, 8(r5)
/* 801110E8 0010E048 D0 41 01 AC */ stfs f2, 0x1ac(r1)
/* 801110EC 0010E04C D0 21 01 BC */ stfs f1, 0x1bc(r1)
/* 801110F0 0010E050 D0 01 01 CC */ stfs f0, 0x1cc(r1)
/* 801110F4 0010E054 48 20 15 ED */ bl GetInverse__12CTransform4fCFv
/* 801110F8 0010E058 38 61 01 40 */ addi r3, r1, 0x140
/* 801110FC 0010E05C 38 81 01 10 */ addi r4, r1, 0x110
/* 80111100 0010E060 38 A1 01 D0 */ addi r5, r1, 0x1d0
/* 80111104 0010E064 48 20 18 4D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80111108 0010E068 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 8011110C 0010E06C 38 81 01 40 */ addi r4, r1, 0x140
/* 80111110 0010E070 48 20 1A 31 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111114 0010E074 C0 2D A3 60 */ lfs f1, lbl_805A8F20@sda21(r13)
/* 80111118 0010E078 38 61 00 E0 */ addi r3, r1, 0xe0
/* 8011111C 0010E07C C0 1D 00 64 */ lfs f0, 0x64(r29)
/* 80111120 0010E080 EC 01 00 32 */ fmuls f0, f1, f0
/* 80111124 0010E084 EC 3F 00 32 */ fmuls f1, f31, f0
/* 80111128 0010E088 48 20 21 19 */ bl Scale__12CTransform4fFf
/* 8011112C 0010E08C 38 61 00 20 */ addi r3, r1, 0x20
/* 80111130 0010E090 38 81 01 D0 */ addi r4, r1, 0x1d0
/* 80111134 0010E094 38 A1 00 E0 */ addi r5, r1, 0xe0
/* 80111138 0010E098 48 20 18 19 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8011113C 0010E09C 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 80111140 0010E0A0 38 81 00 20 */ addi r4, r1, 0x20
/* 80111144 0010E0A4 48 20 19 FD */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111148 0010E0A8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8011114C 0010E0AC 38 81 01 D0 */ addi r4, r1, 0x1d0
/* 80111150 0010E0B0 48 20 15 91 */ bl GetInverse__12CTransform4fCFv
/* 80111154 0010E0B4 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 80111158 0010E0B8 38 81 00 B0 */ addi r4, r1, 0xb0
/* 8011115C 0010E0BC 48 20 19 E5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111160 0010E0C0 C0 22 95 90 */ lfs f1, lbl_805AB2B0@sda21(r2)
/* 80111164 0010E0C4 38 61 00 50 */ addi r3, r1, 0x50
/* 80111168 0010E0C8 C0 42 95 88 */ lfs f2, lbl_805AB2A8@sda21(r2)
/* 8011116C 0010E0CC FC 60 08 90 */ fmr f3, f1
/* 80111170 0010E0D0 48 20 20 19 */ bl Translate__12CTransform4fFfff
/* 80111174 0010E0D4 38 61 00 80 */ addi r3, r1, 0x80
/* 80111178 0010E0D8 38 81 00 50 */ addi r4, r1, 0x50
/* 8011117C 0010E0DC 38 A1 01 D0 */ addi r5, r1, 0x1d0
/* 80111180 0010E0E0 48 20 17 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80111184 0010E0E4 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 80111188 0010E0E8 38 81 00 80 */ addi r4, r1, 0x80
/* 8011118C 0010E0EC 48 20 19 B5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111190 0010E0F0 38 00 00 01 */ li r0, 1
/* 80111194 0010E0F4 80 7D 00 00 */ lwz r3, 0(r29)
/* 80111198 0010E0F8 7C 00 F8 30 */ slw r0, r0, r31
/* 8011119C 0010E0FC 38 81 01 D0 */ addi r4, r1, 0x1d0
/* 801111A0 0010E100 54 05 06 3E */ clrlwi r5, r0, 0x18
/* 801111A4 0010E104 7C A6 2B 78 */ mr r6, r5
/* 801111A8 0010E108 48 23 45 E9 */ bl EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc
/* 801111AC 0010E10C E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0
/* 801111B0 0010E110 80 01 02 24 */ lwz r0, 0x224(r1)
/* 801111B4 0010E114 CB E1 02 10 */ lfd f31, 0x210(r1)
/* 801111B8 0010E118 83 E1 02 0C */ lwz r31, 0x20c(r1)
/* 801111BC 0010E11C 83 C1 02 08 */ lwz r30, 0x208(r1)
/* 801111C0 0010E120 83 A1 02 04 */ lwz r29, 0x204(r1)
/* 801111C4 0010E124 7C 08 03 A6 */ mtlr r0
/* 801111C8 0010E128 38 21 02 20 */ addi r1, r1, 0x220
/* 801111CC 0010E12C 4E 80 00 20 */ blr
.global BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb
BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb:
/* 801111D0 0010E130 94 21 FD B0 */ stwu r1, -0x250(r1)
/* 801111D4 0010E134 7C 08 02 A6 */ mflr r0
/* 801111D8 0010E138 90 01 02 54 */ stw r0, 0x254(r1)
/* 801111DC 0010E13C DB E1 02 40 */ stfd f31, 0x240(r1)
/* 801111E0 0010E140 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0
/* 801111E4 0010E144 DB C1 02 30 */ stfd f30, 0x230(r1)
/* 801111E8 0010E148 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0
/* 801111EC 0010E14C DB A1 02 20 */ stfd f29, 0x220(r1)
/* 801111F0 0010E150 F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0
/* 801111F4 0010E154 DB 81 02 10 */ stfd f28, 0x210(r1)
/* 801111F8 0010E158 F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0
/* 801111FC 0010E15C BE E1 01 EC */ stmw r23, 0x1ec(r1)
/* 80111200 0010E160 7C 7F 1B 78 */ mr r31, r3
/* 80111204 0010E164 7C B7 2B 78 */ mr r23, r5
/* 80111208 0010E168 80 63 00 80 */ lwz r3, 0x80(r3)
/* 8011120C 0010E16C 7C DB 33 78 */ mr r27, r6
/* 80111210 0010E170 80 05 00 00 */ lwz r0, 0(r5)
/* 80111214 0010E174 7C FA 3B 78 */ mr r26, r7
/* 80111218 0010E178 7D 18 43 78 */ mr r24, r8
/* 8011121C 0010E17C 7D 39 4B 78 */ mr r25, r9
/* 80111220 0010E180 7C 03 00 00 */ cmpw r3, r0
/* 80111224 0010E184 40 82 00 10 */ bne lbl_80111234
/* 80111228 0010E188 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 8011122C 0010E18C 7C 00 D8 40 */ cmplw r0, r27
/* 80111230 0010E190 41 82 00 18 */ beq lbl_80111248
lbl_80111234:
/* 80111234 0010E194 38 00 00 01 */ li r0, 1
/* 80111238 0010E198 98 1F 00 88 */ stb r0, 0x88(r31)
/* 8011123C 0010E19C 80 17 00 00 */ lwz r0, 0(r23)
/* 80111240 0010E1A0 90 1F 00 80 */ stw r0, 0x80(r31)
/* 80111244 0010E1A4 93 7F 00 84 */ stw r27, 0x84(r31)
lbl_80111248:
/* 80111248 0010E1A8 80 77 00 00 */ lwz r3, 0(r23)
/* 8011124C 0010E1AC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13)
/* 80111250 0010E1B0 7C 03 00 00 */ cmpw r3, r0
/* 80111254 0010E1B4 41 82 08 CC */ beq lbl_80111B20
/* 80111258 0010E1B8 80 17 00 00 */ lwz r0, 0(r23)
/* 8011125C 0010E1BC 80 84 08 50 */ lwz r4, 0x850(r4)
/* 80111260 0010E1C0 54 03 18 38 */ slwi r3, r0, 3
/* 80111264 0010E1C4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80111268 0010E1C8 80 84 00 20 */ lwz r4, 0x20(r4)
/* 8011126C 0010E1CC 38 03 00 04 */ addi r0, r3, 4
/* 80111270 0010E1D0 7F 84 00 2E */ lwzx r28, r4, r0
/* 80111274 0010E1D4 88 1C 00 F0 */ lbz r0, 0xf0(r28)
/* 80111278 0010E1D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8011127C 0010E1DC 41 82 08 A4 */ beq lbl_80111B20
/* 80111280 0010E1E0 80 7C 01 2C */ lwz r3, 0x12c(r28)
/* 80111284 0010E1E4 1C 1B 00 44 */ mulli r0, r27, 0x44
/* 80111288 0010E1E8 7F 44 D3 78 */ mr r4, r26
/* 8011128C 0010E1EC 80 A3 00 6C */ lwz r5, 0x6c(r3)
/* 80111290 0010E1F0 38 61 00 B4 */ addi r3, r1, 0xb4
/* 80111294 0010E1F4 7F C5 02 14 */ add r30, r5, r0
/* 80111298 0010E1F8 48 22 63 75 */ bl GetCenterPoint__6CAABoxCFv
/* 8011129C 0010E1FC C0 41 00 B4 */ lfs f2, 0xb4(r1)
/* 801112A0 0010E200 C0 21 00 B8 */ lfs f1, 0xb8(r1)
/* 801112A4 0010E204 C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 801112A8 0010E208 D0 41 00 CC */ stfs f2, 0xcc(r1)
/* 801112AC 0010E20C D0 21 00 D0 */ stfs f1, 0xd0(r1)
/* 801112B0 0010E210 D0 01 00 D4 */ stfs f0, 0xd4(r1)
/* 801112B4 0010E214 80 7C 01 2C */ lwz r3, 0x12c(r28)
/* 801112B8 0010E218 80 83 00 A0 */ lwz r4, 0xa0(r3)
/* 801112BC 0010E21C 28 04 00 00 */ cmplwi r4, 0
/* 801112C0 0010E220 41 82 00 A8 */ beq lbl_80111368
/* 801112C4 0010E224 80 02 85 40 */ lwz r0, lbl_805AA260@sda21(r2)
/* 801112C8 0010E228 2C 00 00 01 */ cmpwi r0, 1
/* 801112CC 0010E22C 40 82 00 9C */ bne lbl_80111368
/* 801112D0 0010E230 80 04 00 08 */ lwz r0, 8(r4)
/* 801112D4 0010E234 38 61 00 EC */ addi r3, r1, 0xec
/* 801112D8 0010E238 7C BB 02 14 */ add r5, r27, r0
/* 801112DC 0010E23C 48 19 D1 19 */ bl GetLightSet__11CPVSAreaSetCFi
/* 801112E0 0010E240 34 01 00 F8 */ addic. r0, r1, 0xf8
/* 801112E4 0010E244 80 E1 00 EC */ lwz r7, 0xec(r1)
/* 801112E8 0010E248 80 C1 00 F0 */ lwz r6, 0xf0(r1)
/* 801112EC 0010E24C 38 00 00 00 */ li r0, 0
/* 801112F0 0010E250 88 81 00 F8 */ lbz r4, 0xf8(r1)
/* 801112F4 0010E254 3B 61 01 0C */ addi r27, r1, 0x10c
/* 801112F8 0010E258 80 A1 00 F4 */ lwz r5, 0xf4(r1)
/* 801112FC 0010E25C 80 61 00 FC */ lwz r3, 0xfc(r1)
/* 80111300 0010E260 90 E1 01 00 */ stw r7, 0x100(r1)
/* 80111304 0010E264 90 C1 01 04 */ stw r6, 0x104(r1)
/* 80111308 0010E268 90 A1 01 08 */ stw r5, 0x108(r1)
/* 8011130C 0010E26C 98 81 01 0C */ stb r4, 0x10c(r1)
/* 80111310 0010E270 90 61 01 10 */ stw r3, 0x110(r1)
/* 80111314 0010E274 98 01 00 F8 */ stb r0, 0xf8(r1)
/* 80111318 0010E278 41 82 00 14 */ beq lbl_8011132C
/* 8011131C 0010E27C 28 00 00 00 */ cmplwi r0, 0
/* 80111320 0010E280 41 82 00 0C */ beq lbl_8011132C
/* 80111324 0010E284 80 61 00 FC */ lwz r3, 0xfc(r1)
/* 80111328 0010E288 48 20 46 09 */ bl Free__7CMemoryFPCv
lbl_8011132C:
/* 8011132C 0010E28C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111330 0010E290 38 81 01 00 */ addi r4, r1, 0x100
/* 80111334 0010E294 80 B7 00 00 */ lwz r5, 0(r23)
/* 80111338 0010E298 81 83 00 00 */ lwz r12, 0(r3)
/* 8011133C 0010E29C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80111340 0010E2A0 7D 89 03 A6 */ mtctr r12
/* 80111344 0010E2A4 4E 80 04 21 */ bctrl
/* 80111348 0010E2A8 28 1B 00 00 */ cmplwi r27, 0
/* 8011134C 0010E2AC 41 82 00 60 */ beq lbl_801113AC
/* 80111350 0010E2B0 88 01 01 0C */ lbz r0, 0x10c(r1)
/* 80111354 0010E2B4 28 00 00 00 */ cmplwi r0, 0
/* 80111358 0010E2B8 41 82 00 54 */ beq lbl_801113AC
/* 8011135C 0010E2BC 80 61 01 10 */ lwz r3, 0x110(r1)
/* 80111360 0010E2C0 48 20 45 D1 */ bl Free__7CMemoryFPCv
/* 80111364 0010E2C4 48 00 00 48 */ b lbl_801113AC
lbl_80111368:
/* 80111368 0010E2C8 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8011136C 0010E2CC 38 80 00 02 */ li r4, 2
/* 80111370 0010E2D0 48 20 50 11 */ bl Reset__10CPVSVisSetFi
/* 80111374 0010E2D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111378 0010E2D8 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8011137C 0010E2DC 80 B7 00 00 */ lwz r5, 0(r23)
/* 80111380 0010E2E0 81 83 00 00 */ lwz r12, 0(r3)
/* 80111384 0010E2E4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80111388 0010E2E8 7D 89 03 A6 */ mtctr r12
/* 8011138C 0010E2EC 4E 80 04 21 */ bctrl
/* 80111390 0010E2F0 34 61 00 E4 */ addic. r3, r1, 0xe4
/* 80111394 0010E2F4 41 82 00 18 */ beq lbl_801113AC
/* 80111398 0010E2F8 88 03 00 00 */ lbz r0, 0(r3)
/* 8011139C 0010E2FC 28 00 00 00 */ cmplwi r0, 0
/* 801113A0 0010E300 41 82 00 0C */ beq lbl_801113AC
/* 801113A4 0010E304 80 61 00 E8 */ lwz r3, 0xe8(r1)
/* 801113A8 0010E308 48 20 45 89 */ bl Free__7CMemoryFPCv
lbl_801113AC:
/* 801113AC 0010E30C C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 801113B0 0010E310 38 61 00 A8 */ addi r3, r1, 0xa8
/* 801113B4 0010E314 C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 801113B8 0010E318 C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 801113BC 0010E31C C0 C1 00 D0 */ lfs f6, 0xd0(r1)
/* 801113C0 0010E320 EC A2 08 28 */ fsubs f5, f2, f1
/* 801113C4 0010E324 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 801113C8 0010E328 EC 00 10 28 */ fsubs f0, f0, f2
/* 801113CC 0010E32C C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 801113D0 0010E330 C0 E1 00 D4 */ lfs f7, 0xd4(r1)
/* 801113D4 0010E334 EC 86 08 28 */ fsubs f4, f6, f1
/* 801113D8 0010E338 C0 5A 00 10 */ lfs f2, 0x10(r26)
/* 801113DC 0010E33C C0 3A 00 14 */ lfs f1, 0x14(r26)
/* 801113E0 0010E340 EC 67 18 28 */ fsubs f3, f7, f3
/* 801113E4 0010E344 EC 42 30 28 */ fsubs f2, f2, f6
/* 801113E8 0010E348 D0 A1 00 C0 */ stfs f5, 0xc0(r1)
/* 801113EC 0010E34C EC 21 38 28 */ fsubs f1, f1, f7
/* 801113F0 0010E350 D0 81 00 C4 */ stfs f4, 0xc4(r1)
/* 801113F4 0010E354 D0 61 00 C8 */ stfs f3, 0xc8(r1)
/* 801113F8 0010E358 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 801113FC 0010E35C D0 41 00 AC */ stfs f2, 0xac(r1)
/* 80111400 0010E360 D0 21 00 B0 */ stfs f1, 0xb0(r1)
/* 80111404 0010E364 48 20 34 B5 */ bl Magnitude__9CVector3fCFv
/* 80111408 0010E368 D0 3F 00 64 */ stfs f1, 0x64(r31)
/* 8011140C 0010E36C 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80111410 0010E370 48 20 34 A9 */ bl Magnitude__9CVector3fCFv
/* 80111414 0010E374 FC 00 08 90 */ fmr f0, f1
/* 80111418 0010E378 C0 3F 00 64 */ lfs f1, 0x64(r31)
/* 8011141C 0010E37C FF A0 00 90 */ fmr f29, f0
/* 80111420 0010E380 FC 40 E8 90 */ fmr f2, f29
/* 80111424 0010E384 48 28 38 49 */ bl atan2
/* 80111428 0010E388 FC 20 08 18 */ frsp f1, f1
/* 8011142C 0010E38C C0 42 95 98 */ lfs f2, lbl_805AB2B8@sda21(r2)
/* 80111430 0010E390 C0 62 95 94 */ lfs f3, lbl_805AB2B4@sda21(r2)
/* 80111434 0010E394 C0 02 95 9C */ lfs f0, lbl_805AB2BC@sda21(r2)
/* 80111438 0010E398 EC 22 00 72 */ fmuls f1, f2, f1
/* 8011143C 0010E39C EF C3 00 72 */ fmuls f30, f3, f1
/* 80111440 0010E3A0 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 80111444 0010E3A4 41 80 06 DC */ blt lbl_80111B20
/* 80111448 0010E3A8 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8011144C 0010E3AC 48 20 34 AD */ bl Normalize__9CVector3fFv
/* 80111450 0010E3B0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2)
/* 80111454 0010E3B4 38 61 01 44 */ addi r3, r1, 0x144
/* 80111458 0010E3B8 C0 02 95 A0 */ lfs f0, lbl_805AB2C0@sda21(r2)
/* 8011145C 0010E3BC 38 9E 00 10 */ addi r4, r30, 0x10
/* 80111460 0010E3C0 D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 80111464 0010E3C4 38 A1 00 CC */ addi r5, r1, 0xcc
/* 80111468 0010E3C8 38 C1 00 9C */ addi r6, r1, 0x9c
/* 8011146C 0010E3CC D0 21 00 A0 */ stfs f1, 0xa0(r1)
/* 80111470 0010E3D0 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 80111474 0010E3D4 48 20 26 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80111478 0010E3D8 38 7F 00 04 */ addi r3, r31, 4
/* 8011147C 0010E3DC 38 81 01 44 */ addi r4, r1, 0x144
/* 80111480 0010E3E0 48 20 16 C1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111484 0010E3E4 C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 80111488 0010E3E8 38 7F 00 04 */ addi r3, r31, 4
/* 8011148C 0010E3EC D0 1F 00 68 */ stfs f0, 0x68(r31)
/* 80111490 0010E3F0 C0 01 00 D0 */ lfs f0, 0xd0(r1)
/* 80111494 0010E3F4 D0 1F 00 6C */ stfs f0, 0x6c(r31)
/* 80111498 0010E3F8 C0 01 00 D4 */ lfs f0, 0xd4(r1)
/* 8011149C 0010E3FC D0 1F 00 70 */ stfs f0, 0x70(r31)
/* 801114A0 0010E400 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 801114A4 0010E404 D0 1F 00 74 */ stfs f0, 0x74(r31)
/* 801114A8 0010E408 C0 1E 00 14 */ lfs f0, 0x14(r30)
/* 801114AC 0010E40C D0 1F 00 78 */ stfs f0, 0x78(r31)
/* 801114B0 0010E410 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 801114B4 0010E414 D0 1F 00 7C */ stfs f0, 0x7c(r31)
/* 801114B8 0010E418 48 1F B2 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 801114BC 0010E41C C0 22 95 A4 */ lfs f1, lbl_805AB2C4@sda21(r2)
/* 801114C0 0010E420 38 61 01 74 */ addi r3, r1, 0x174
/* 801114C4 0010E424 C0 1F 00 64 */ lfs f0, 0x64(r31)
/* 801114C8 0010E428 38 9F 00 04 */ addi r4, r31, 4
/* 801114CC 0010E42C EC 21 07 B2 */ fmuls f1, f1, f30
/* 801114D0 0010E430 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2)
/* 801114D4 0010E434 EC 9D 00 2A */ fadds f4, f29, f0
/* 801114D8 0010E438 C0 62 95 A8 */ lfs f3, lbl_805AB2C8@sda21(r2)
/* 801114DC 0010E43C 38 A0 00 01 */ li r5, 1
/* 801114E0 0010E440 48 23 3D 75 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf
/* 801114E4 0010E444 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801114E8 0010E448 38 81 01 74 */ addi r4, r1, 0x174
/* 801114EC 0010E44C 81 83 00 00 */ lwz r12, 0(r3)
/* 801114F0 0010E450 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 801114F4 0010E454 7D 89 03 A6 */ mtctr r12
/* 801114F8 0010E458 4E 80 04 21 */ bctrl
/* 801114FC 0010E45C 80 DF 00 00 */ lwz r6, 0(r31)
/* 80111500 0010E460 3C 80 43 30 */ lis r4, 0x4330
/* 80111504 0010E464 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111508 0010E468 FC 20 F0 90 */ fmr f1, f30
/* 8011150C 0010E46C A8 A6 00 04 */ lha r5, 4(r6)
/* 80111510 0010E470 A8 06 00 06 */ lha r0, 6(r6)
/* 80111514 0010E474 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 80111518 0010E478 81 83 00 00 */ lwz r12, 0(r3)
/* 8011151C 0010E47C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80111520 0010E480 90 A1 01 DC */ stw r5, 0x1dc(r1)
/* 80111524 0010E484 C8 62 95 C0 */ lfd f3, lbl_805AB2E0@sda21(r2)
/* 80111528 0010E488 90 81 01 D8 */ stw r4, 0x1d8(r1)
/* 8011152C 0010E48C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 80111530 0010E490 C8 01 01 D8 */ lfd f0, 0x1d8(r1)
/* 80111534 0010E494 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 80111538 0010E498 EC 40 18 28 */ fsubs f2, f0, f3
/* 8011153C 0010E49C C0 82 95 A8 */ lfs f4, lbl_805AB2C8@sda21(r2)
/* 80111540 0010E4A0 90 81 01 E0 */ stw r4, 0x1e0(r1)
/* 80111544 0010E4A4 C0 A2 95 AC */ lfs f5, lbl_805AB2CC@sda21(r2)
/* 80111548 0010E4A8 C8 01 01 E0 */ lfd f0, 0x1e0(r1)
/* 8011154C 0010E4AC EC 60 18 28 */ fsubs f3, f0, f3
/* 80111550 0010E4B0 7D 89 03 A6 */ mtctr r12
/* 80111554 0010E4B4 4E 80 04 21 */ bctrl
/* 80111558 0010E4B8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13)
/* 8011155C 0010E4BC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13)
/* 80111560 0010E4C0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2)
/* 80111564 0010E4C4 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2)
/* 80111568 0010E4C8 48 1F 8E 79 */ bl SetDepthRange__9CGraphicsFff
/* 8011156C 0010E4CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111570 0010E4D0 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 80111574 0010E4D4 39 04 D9 10 */ addi r8, r4, lbl_803ED910@l
/* 80111578 0010E4D8 80 FF 00 00 */ lwz r7, 0(r31)
/* 8011157C 0010E4DC 81 83 00 00 */ lwz r12, 0(r3)
/* 80111580 0010E4E0 38 80 00 00 */ li r4, 0
/* 80111584 0010E4E4 A8 C7 00 04 */ lha r6, 4(r7)
/* 80111588 0010E4E8 38 A0 00 00 */ li r5, 0
/* 8011158C 0010E4EC A8 07 00 06 */ lha r0, 6(r7)
/* 80111590 0010E4F0 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 80111594 0010E4F4 54 C6 08 3C */ slwi r6, r6, 1
/* 80111598 0010E4F8 54 07 08 3C */ slwi r7, r0, 1
/* 8011159C 0010E4FC 83 A8 00 00 */ lwz r29, 0(r8)
/* 801115A0 0010E500 83 88 00 04 */ lwz r28, 4(r8)
/* 801115A4 0010E504 83 68 00 08 */ lwz r27, 8(r8)
/* 801115A8 0010E508 83 48 00 0C */ lwz r26, 0xc(r8)
/* 801115AC 0010E50C 7D 89 03 A6 */ mtctr r12
/* 801115B0 0010E510 4E 80 04 21 */ bctrl
/* 801115B4 0010E514 C0 21 00 D0 */ lfs f1, 0xd0(r1)
/* 801115B8 0010E518 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 801115BC 0010E51C C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2)
/* 801115C0 0010E520 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l
/* 801115C4 0010E524 C0 01 00 CC */ lfs f0, 0xcc(r1)
/* 801115C8 0010E528 38 61 01 14 */ addi r3, r1, 0x114
/* 801115CC 0010E52C EC 81 18 28 */ fsubs f4, f1, f3
/* 801115D0 0010E530 C0 41 00 D4 */ lfs f2, 0xd4(r1)
/* 801115D4 0010E534 C0 22 95 A8 */ lfs f1, lbl_805AB2C8@sda21(r2)
/* 801115D8 0010E538 EC 00 18 28 */ fsubs f0, f0, f3
/* 801115DC 0010E53C C0 7F 00 64 */ lfs f3, 0x64(r31)
/* 801115E0 0010E540 38 81 00 90 */ addi r4, r1, 0x90
/* 801115E4 0010E544 EC 42 08 28 */ fsubs f2, f2, f1
/* 801115E8 0010E548 C0 22 95 B0 */ lfs f1, lbl_805AB2D0@sda21(r2)
/* 801115EC 0010E54C D0 01 00 90 */ stfs f0, 0x90(r1)
/* 801115F0 0010E550 38 BE 00 10 */ addi r5, r30, 0x10
/* 801115F4 0010E554 EF 81 00 F2 */ fmuls f28, f1, f3
/* 801115F8 0010E558 D0 81 00 94 */ stfs f4, 0x94(r1)
/* 801115FC 0010E55C D0 41 00 98 */ stfs f2, 0x98(r1)
/* 80111600 0010E560 48 20 25 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80111604 0010E564 38 7F 00 34 */ addi r3, r31, 0x34
/* 80111608 0010E568 38 81 01 14 */ addi r4, r1, 0x114
/* 8011160C 0010E56C 48 20 15 35 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80111610 0010E570 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111614 0010E574 38 9F 00 34 */ addi r4, r31, 0x34
/* 80111618 0010E578 81 83 00 00 */ lwz r12, 0(r3)
/* 8011161C 0010E57C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80111620 0010E580 7D 89 03 A6 */ mtctr r12
/* 80111624 0010E584 4E 80 04 21 */ bctrl
/* 80111628 0010E588 48 23 89 85 */ bl White__6CColorFv
/* 8011162C 0010E58C 7C 64 1B 78 */ mr r4, r3
/* 80111630 0010E590 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111634 0010E594 81 83 00 00 */ lwz r12, 0(r3)
/* 80111638 0010E598 81 8C 00 B4 */ lwz r12, 0xb4(r12)
/* 8011163C 0010E59C 7D 89 03 A6 */ mtctr r12
/* 80111640 0010E5A0 4E 80 04 21 */ bctrl
/* 80111644 0010E5A4 38 60 00 07 */ li r3, 7
/* 80111648 0010E5A8 38 80 00 00 */ li r4, 0
/* 8011164C 0010E5AC 38 A0 00 00 */ li r5, 0
/* 80111650 0010E5B0 38 C0 00 07 */ li r6, 7
/* 80111654 0010E5B4 38 E0 00 00 */ li r7, 0
/* 80111658 0010E5B8 48 1F A3 D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 8011165C 0010E5BC 38 60 00 01 */ li r3, 1
/* 80111660 0010E5C0 38 80 00 03 */ li r4, 3
/* 80111664 0010E5C4 38 A0 00 01 */ li r5, 1
/* 80111668 0010E5C8 48 1F A4 2D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 8011166C 0010E5CC 38 60 00 01 */ li r3, 1
/* 80111670 0010E5D0 38 80 00 04 */ li r4, 4
/* 80111674 0010E5D4 38 A0 00 05 */ li r5, 5
/* 80111678 0010E5D8 38 C0 00 00 */ li r6, 0
/* 8011167C 0010E5DC 48 1F A3 D5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 80111680 0010E5E0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 80111684 0010E5E4 38 60 00 00 */ li r3, 0
/* 80111688 0010E5E8 48 1F 8C 31 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8011168C 0010E5EC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 80111690 0010E5F0 38 60 00 01 */ li r3, 1
/* 80111694 0010E5F4 48 1F 8C 25 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80111698 0010E5F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8011169C 0010E5FC 38 80 00 04 */ li r4, 4
/* 801116A0 0010E600 81 83 00 00 */ lwz r12, 0(r3)
/* 801116A4 0010E604 81 8C 00 A0 */ lwz r12, 0xa0(r12)
/* 801116A8 0010E608 7D 89 03 A6 */ mtctr r12
/* 801116AC 0010E60C 4E 80 04 21 */ bctrl
/* 801116B0 0010E610 FF A0 E0 50 */ fneg f29, f28
/* 801116B4 0010E614 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 801116B8 0010E618 D3 81 00 8C */ stfs f28, 0x8c(r1)
/* 801116BC 0010E61C 38 81 00 84 */ addi r4, r1, 0x84
/* 801116C0 0010E620 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801116C4 0010E624 D3 A1 00 84 */ stfs f29, 0x84(r1)
/* 801116C8 0010E628 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 801116CC 0010E62C 81 83 00 00 */ lwz r12, 0(r3)
/* 801116D0 0010E630 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 801116D4 0010E634 7D 89 03 A6 */ mtctr r12
/* 801116D8 0010E638 4E 80 04 21 */ bctrl
/* 801116DC 0010E63C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 801116E0 0010E640 38 81 00 78 */ addi r4, r1, 0x78
/* 801116E4 0010E644 D3 81 00 78 */ stfs f28, 0x78(r1)
/* 801116E8 0010E648 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801116EC 0010E64C D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 801116F0 0010E650 D3 81 00 80 */ stfs f28, 0x80(r1)
/* 801116F4 0010E654 81 83 00 00 */ lwz r12, 0(r3)
/* 801116F8 0010E658 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 801116FC 0010E65C 7D 89 03 A6 */ mtctr r12
/* 80111700 0010E660 4E 80 04 21 */ bctrl
/* 80111704 0010E664 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 80111708 0010E668 38 81 00 6C */ addi r4, r1, 0x6c
/* 8011170C 0010E66C D3 A1 00 6C */ stfs f29, 0x6c(r1)
/* 80111710 0010E670 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111714 0010E674 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80111718 0010E678 D3 A1 00 74 */ stfs f29, 0x74(r1)
/* 8011171C 0010E67C 81 83 00 00 */ lwz r12, 0(r3)
/* 80111720 0010E680 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 80111724 0010E684 7D 89 03 A6 */ mtctr r12
/* 80111728 0010E688 4E 80 04 21 */ bctrl
/* 8011172C 0010E68C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 80111730 0010E690 38 81 00 60 */ addi r4, r1, 0x60
/* 80111734 0010E694 D3 81 00 60 */ stfs f28, 0x60(r1)
/* 80111738 0010E698 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8011173C 0010E69C D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80111740 0010E6A0 D3 A1 00 68 */ stfs f29, 0x68(r1)
/* 80111744 0010E6A4 81 83 00 00 */ lwz r12, 0(r3)
/* 80111748 0010E6A8 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 8011174C 0010E6AC 7D 89 03 A6 */ mtctr r12
/* 80111750 0010E6B0 4E 80 04 21 */ bctrl
/* 80111754 0010E6B4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111758 0010E6B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8011175C 0010E6BC 81 8C 00 B8 */ lwz r12, 0xb8(r12)
/* 80111760 0010E6C0 7D 89 03 A6 */ mtctr r12
/* 80111764 0010E6C4 4E 80 04 21 */ bctrl
/* 80111768 0010E6C8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8011176C 0010E6CC 3C 80 80 5A */ lis r4, skIdentity4f@ha
/* 80111770 0010E6D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l
/* 80111774 0010E6D4 81 83 00 00 */ lwz r12, 0(r3)
/* 80111778 0010E6D8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8011177C 0010E6DC 7D 89 03 A6 */ mtctr r12
/* 80111780 0010E6E0 4E 80 04 21 */ bctrl
/* 80111784 0010E6E4 38 60 00 01 */ li r3, 1
/* 80111788 0010E6E8 48 23 40 61 */ bl SetRenderModelBlack__10CCubeModelFb
/* 8011178C 0010E6EC 38 60 00 01 */ li r3, 1
/* 80111790 0010E6F0 48 1F 51 09 */ bl SetDrawingOccluders__10CCubeModelFb
/* 80111794 0010E6F4 38 00 00 00 */ li r0, 0
/* 80111798 0010E6F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8011179C 0010E6FC 90 01 00 54 */ stw r0, 0x54(r1)
/* 801117A0 0010E700 38 81 00 50 */ addi r4, r1, 0x50
/* 801117A4 0010E704 90 01 00 58 */ stw r0, 0x58(r1)
/* 801117A8 0010E708 90 01 00 5C */ stw r0, 0x5c(r1)
/* 801117AC 0010E70C 81 83 00 00 */ lwz r12, 0(r3)
/* 801117B0 0010E710 81 8C 01 08 */ lwz r12, 0x108(r12)
/* 801117B4 0010E714 7D 89 03 A6 */ mtctr r12
/* 801117B8 0010E718 4E 80 04 21 */ bctrl
/* 801117BC 0010E71C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 801117C0 0010E720 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 801117C4 0010E724 1C 00 00 50 */ mulli r0, r0, 0x50
/* 801117C8 0010E728 90 61 00 0C */ stw r3, 0xc(r1)
/* 801117CC 0010E72C 7C 64 1B 78 */ mr r4, r3
/* 801117D0 0010E730 7C 03 02 14 */ add r0, r3, r0
/* 801117D4 0010E734 90 61 00 08 */ stw r3, 8(r1)
/* 801117D8 0010E738 90 01 00 14 */ stw r0, 0x14(r1)
/* 801117DC 0010E73C 90 01 00 10 */ stw r0, 0x10(r1)
/* 801117E0 0010E740 48 00 00 08 */ b lbl_801117E8
lbl_801117E4:
/* 801117E4 0010E744 38 84 00 50 */ addi r4, r4, 0x50
lbl_801117E8:
/* 801117E8 0010E748 7C 04 00 40 */ cmplw r4, r0
/* 801117EC 0010E74C 40 82 FF F8 */ bne lbl_801117E4
/* 801117F0 0010E750 28 03 00 00 */ cmplwi r3, 0
/* 801117F4 0010E754 41 82 00 08 */ beq lbl_801117FC
/* 801117F8 0010E758 48 20 41 39 */ bl Free__7CMemoryFPCv
lbl_801117FC:
/* 801117FC 0010E75C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111800 0010E760 38 A0 00 00 */ li r5, 0
/* 80111804 0010E764 80 97 00 00 */ lwz r4, 0(r23)
/* 80111808 0010E768 38 C0 00 00 */ li r6, 0
/* 8011180C 0010E76C 81 83 00 00 */ lwz r12, 0(r3)
/* 80111810 0010E770 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80111814 0010E774 7D 89 03 A6 */ mtctr r12
/* 80111818 0010E778 4E 80 04 21 */ bctrl
/* 8011181C 0010E77C 38 60 00 00 */ li r3, 0
/* 80111820 0010E780 48 23 3F C9 */ bl SetRenderModelBlack__10CCubeModelFb
/* 80111824 0010E784 38 60 00 00 */ li r3, 0
/* 80111828 0010E788 48 1F 50 71 */ bl SetDrawingOccluders__10CCubeModelFb
/* 8011182C 0010E78C 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 80111830 0010E790 41 82 01 00 */ beq lbl_80111930
/* 80111834 0010E794 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111838 0010E798 38 9F 00 34 */ addi r4, r31, 0x34
/* 8011183C 0010E79C 81 83 00 00 */ lwz r12, 0(r3)
/* 80111840 0010E7A0 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80111844 0010E7A4 7D 89 03 A6 */ mtctr r12
/* 80111848 0010E7A8 4E 80 04 21 */ bctrl
/* 8011184C 0010E7AC 38 60 00 07 */ li r3, 7
/* 80111850 0010E7B0 38 80 00 00 */ li r4, 0
/* 80111854 0010E7B4 38 A0 00 00 */ li r5, 0
/* 80111858 0010E7B8 38 C0 00 07 */ li r6, 7
/* 8011185C 0010E7BC 38 E0 00 00 */ li r7, 0
/* 80111860 0010E7C0 48 1F A1 C9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 80111864 0010E7C4 38 60 00 00 */ li r3, 0
/* 80111868 0010E7C8 38 80 00 03 */ li r4, 3
/* 8011186C 0010E7CC 38 A0 00 00 */ li r5, 0
/* 80111870 0010E7D0 48 1F A2 25 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 80111874 0010E7D4 38 60 00 01 */ li r3, 1
/* 80111878 0010E7D8 38 80 00 04 */ li r4, 4
/* 8011187C 0010E7DC 38 A0 00 05 */ li r5, 5
/* 80111880 0010E7E0 38 C0 00 00 */ li r6, 0
/* 80111884 0010E7E4 48 1F A1 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 80111888 0010E7E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 8011188C 0010E7EC 38 60 00 00 */ li r3, 0
/* 80111890 0010E7F0 48 1F 8A 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80111894 0010E7F4 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 80111898 0010E7F8 38 60 00 01 */ li r3, 1
/* 8011189C 0010E7FC 48 1F 8A 1D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 801118A0 0010E800 38 60 00 98 */ li r3, 0x98
/* 801118A4 0010E804 48 1F 9D C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 801118A8 0010E808 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2)
/* 801118AC 0010E80C C0 82 95 B4 */ lfs f4, lbl_805AB2D4@sda21(r2)
/* 801118B0 0010E810 FC 40 08 90 */ fmr f2, f1
/* 801118B4 0010E814 FC 60 08 90 */ fmr f3, f1
/* 801118B8 0010E818 48 1F 9C 15 */ bl StreamColor__9CGraphicsFffff
/* 801118BC 0010E81C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 801118C0 0010E820 38 61 00 44 */ addi r3, r1, 0x44
/* 801118C4 0010E824 D3 A1 00 44 */ stfs f29, 0x44(r1)
/* 801118C8 0010E828 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 801118CC 0010E82C D3 81 00 4C */ stfs f28, 0x4c(r1)
/* 801118D0 0010E830 48 1F 9C F1 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801118D4 0010E834 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 801118D8 0010E838 38 61 00 38 */ addi r3, r1, 0x38
/* 801118DC 0010E83C D3 81 00 38 */ stfs f28, 0x38(r1)
/* 801118E0 0010E840 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 801118E4 0010E844 D3 81 00 40 */ stfs f28, 0x40(r1)
/* 801118E8 0010E848 48 1F 9C D9 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801118EC 0010E84C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 801118F0 0010E850 38 61 00 2C */ addi r3, r1, 0x2c
/* 801118F4 0010E854 D3 A1 00 2C */ stfs f29, 0x2c(r1)
/* 801118F8 0010E858 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 801118FC 0010E85C D3 A1 00 34 */ stfs f29, 0x34(r1)
/* 80111900 0010E860 48 1F 9C C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80111904 0010E864 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 80111908 0010E868 38 61 00 20 */ addi r3, r1, 0x20
/* 8011190C 0010E86C D3 81 00 20 */ stfs f28, 0x20(r1)
/* 80111910 0010E870 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80111914 0010E874 D3 A1 00 28 */ stfs f29, 0x28(r1)
/* 80111918 0010E878 48 1F 9C A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 8011191C 0010E87C 48 1F 9A F5 */ bl StreamEnd__9CGraphicsFv
/* 80111920 0010E880 38 60 00 01 */ li r3, 1
/* 80111924 0010E884 38 80 00 03 */ li r4, 3
/* 80111928 0010E888 38 A0 00 01 */ li r5, 1
/* 8011192C 0010E88C 48 1F A1 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
lbl_80111930:
/* 80111930 0010E890 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80111934 0010E894 41 82 00 BC */ beq lbl_801119F0
/* 80111938 0010E898 88 1F 00 88 */ lbz r0, 0x88(r31)
/* 8011193C 0010E89C 28 00 00 01 */ cmplwi r0, 1
/* 80111940 0010E8A0 41 82 00 B0 */ beq lbl_801119F0
/* 80111944 0010E8A4 38 60 00 00 */ li r3, 0
/* 80111948 0010E8A8 38 80 00 03 */ li r4, 3
/* 8011194C 0010E8AC 38 A0 00 00 */ li r5, 0
/* 80111950 0010E8B0 48 1F A1 45 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 80111954 0010E8B4 38 60 00 01 */ li r3, 1
/* 80111958 0010E8B8 38 80 00 04 */ li r4, 4
/* 8011195C 0010E8BC 38 A0 00 05 */ li r5, 5
/* 80111960 0010E8C0 38 C0 00 00 */ li r6, 0
/* 80111964 0010E8C4 48 1F A0 ED */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 80111968 0010E8C8 38 60 00 07 */ li r3, 7
/* 8011196C 0010E8CC 38 80 00 00 */ li r4, 0
/* 80111970 0010E8D0 38 A0 00 00 */ li r5, 0
/* 80111974 0010E8D4 38 C0 00 07 */ li r6, 7
/* 80111978 0010E8D8 38 E0 00 00 */ li r7, 0
/* 8011197C 0010E8DC 48 1F A0 AD */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc
/* 80111980 0010E8E0 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha
/* 80111984 0010E8E4 38 60 00 00 */ li r3, 0
/* 80111988 0010E8E8 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l
/* 8011198C 0010E8EC 48 1F 89 2D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80111990 0010E8F0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 80111994 0010E8F4 38 60 00 01 */ li r3, 1
/* 80111998 0010E8F8 48 1F 89 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8011199C 0010E8FC C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2)
/* 801119A0 0010E900 38 61 00 18 */ addi r3, r1, 0x18
/* 801119A4 0010E904 83 3F 00 00 */ lwz r25, 0(r31)
/* 801119A8 0010E908 FC 40 08 90 */ fmr f2, f1
/* 801119AC 0010E90C C0 82 95 B8 */ lfs f4, lbl_805AB2D8@sda21(r2)
/* 801119B0 0010E910 FC 60 08 90 */ fmr f3, f1
/* 801119B4 0010E914 AA F9 00 04 */ lha r23, 4(r25)
/* 801119B8 0010E918 AB 19 00 06 */ lha r24, 6(r25)
/* 801119BC 0010E91C 48 25 1A 31 */ bl __ct__6CColorFffff
/* 801119C0 0010E920 7C 17 00 D0 */ neg r0, r23
/* 801119C4 0010E924 7C 68 1B 78 */ mr r8, r3
/* 801119C8 0010E928 7F 23 CB 78 */ mr r3, r25
/* 801119CC 0010E92C 56 E5 08 3C */ slwi r5, r23, 1
/* 801119D0 0010E930 57 06 08 3C */ slwi r6, r24, 1
/* 801119D4 0010E934 54 07 08 3C */ slwi r7, r0, 1
/* 801119D8 0010E938 38 80 00 00 */ li r4, 0
/* 801119DC 0010E93C 48 1F 9D 81 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor
/* 801119E0 0010E940 38 60 00 01 */ li r3, 1
/* 801119E4 0010E944 38 80 00 03 */ li r4, 3
/* 801119E8 0010E948 38 A0 00 01 */ li r5, 1
/* 801119EC 0010E94C 48 1F A0 A9 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
lbl_801119F0:
/* 801119F0 0010E950 38 00 00 00 */ li r0, 0
/* 801119F4 0010E954 38 60 00 00 */ li r3, 0
/* 801119F8 0010E958 98 1F 00 88 */ stb r0, 0x88(r31)
/* 801119FC 0010E95C 80 9F 00 00 */ lwz r4, 0(r31)
/* 80111A00 0010E960 A8 A4 00 06 */ lha r5, 6(r4)
/* 80111A04 0010E964 A8 04 00 04 */ lha r0, 4(r4)
/* 80111A08 0010E968 54 A4 08 3C */ slwi r4, r5, 1
/* 80111A0C 0010E96C 54 A6 0C 3C */ rlwinm r6, r5, 1, 0x10, 0x1e
/* 80111A10 0010E970 20 84 01 C0 */ subfic r4, r4, 0x1c0
/* 80111A14 0010E974 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e
/* 80111A18 0010E978 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 80111A1C 0010E97C 48 26 73 99 */ bl GXSetTexCopySrc
/* 80111A20 0010E980 80 DF 00 00 */ lwz r6, 0(r31)
/* 80111A24 0010E984 38 A0 00 06 */ li r5, 6
/* 80111A28 0010E988 80 86 00 00 */ lwz r4, 0(r6)
/* 80111A2C 0010E98C A8 66 00 04 */ lha r3, 4(r6)
/* 80111A30 0010E990 A8 06 00 06 */ lha r0, 6(r6)
/* 80111A34 0010E994 2C 04 00 07 */ cmpwi r4, 7
/* 80111A38 0010E998 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 80111A3C 0010E99C 54 04 04 3E */ clrlwi r4, r0, 0x10
/* 80111A40 0010E9A0 40 82 00 08 */ bne lbl_80111A48
/* 80111A44 0010E9A4 38 A0 00 04 */ li r5, 4
lbl_80111A48:
/* 80111A48 0010E9A8 38 C0 00 01 */ li r6, 1
/* 80111A4C 0010E9AC 48 26 74 35 */ bl GXSetTexCopyDst
/* 80111A50 0010E9B0 88 0D A3 5C */ lbz r0, lbl_805A8F1C@sda21(r13)
/* 80111A54 0010E9B4 7C 00 07 75 */ extsb. r0, r0
/* 80111A58 0010E9B8 40 82 00 14 */ bne lbl_80111A6C
/* 80111A5C 0010E9BC 38 60 00 00 */ li r3, 0
/* 80111A60 0010E9C0 38 00 00 01 */ li r0, 1
/* 80111A64 0010E9C4 90 6D A3 58 */ stw r3, lbl_805A8F18@sda21(r13)
/* 80111A68 0010E9C8 98 0D A3 5C */ stb r0, lbl_805A8F1C@sda21(r13)
lbl_80111A6C:
/* 80111A6C 0010E9CC 80 7F 00 00 */ lwz r3, 0(r31)
/* 80111A70 0010E9D0 38 A0 00 01 */ li r5, 1
/* 80111A74 0010E9D4 38 80 00 00 */ li r4, 0
/* 80111A78 0010E9D8 88 03 00 0A */ lbz r0, 0xa(r3)
/* 80111A7C 0010E9DC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80111A80 0010E9E0 98 03 00 0A */ stb r0, 0xa(r3)
/* 80111A84 0010E9E4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80111A88 0010E9E8 48 1F CB 4D */ bl GetBitMapData__8CTextureFi
/* 80111A8C 0010E9EC 38 80 00 01 */ li r4, 1
/* 80111A90 0010E9F0 48 26 7A A5 */ bl GXCopyTex
/* 80111A94 0010E9F4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80111A98 0010E9F8 48 1F CE 85 */ bl UnLock__8CTextureFv
/* 80111A9C 0010E9FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80111AA0 0010EA00 7F A4 EB 78 */ mr r4, r29
/* 80111AA4 0010EA04 7F 85 E3 78 */ mr r5, r28
/* 80111AA8 0010EA08 7F 66 DB 78 */ mr r6, r27
/* 80111AAC 0010EA0C 81 83 00 00 */ lwz r12, 0(r3)
/* 80111AB0 0010EA10 7F 47 D3 78 */ mr r7, r26
/* 80111AB4 0010EA14 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 80111AB8 0010EA18 7D 89 03 A6 */ mtctr r12
/* 80111ABC 0010EA1C 4E 80 04 21 */ bctrl
/* 80111AC0 0010EA20 FC 20 F8 90 */ fmr f1, f31
/* 80111AC4 0010EA24 FC 40 F0 90 */ fmr f2, f30
/* 80111AC8 0010EA28 48 1F 89 19 */ bl SetDepthRange__9CGraphicsFff
/* 80111ACC 0010EA2C 80 A1 01 74 */ lwz r5, 0x174(r1)
/* 80111AD0 0010EA30 38 60 00 00 */ li r3, 0
/* 80111AD4 0010EA34 2C 05 00 00 */ cmpwi r5, 0
/* 80111AD8 0010EA38 40 81 00 40 */ ble lbl_80111B18
/* 80111ADC 0010EA3C 2C 05 00 08 */ cmpwi r5, 8
/* 80111AE0 0010EA40 38 85 FF F8 */ addi r4, r5, -8
/* 80111AE4 0010EA44 40 81 00 20 */ ble lbl_80111B04
/* 80111AE8 0010EA48 38 04 00 07 */ addi r0, r4, 7
/* 80111AEC 0010EA4C 54 00 E8 FE */ srwi r0, r0, 3
/* 80111AF0 0010EA50 7C 09 03 A6 */ mtctr r0
/* 80111AF4 0010EA54 2C 04 00 00 */ cmpwi r4, 0
/* 80111AF8 0010EA58 40 81 00 0C */ ble lbl_80111B04
lbl_80111AFC:
/* 80111AFC 0010EA5C 38 63 00 08 */ addi r3, r3, 8
/* 80111B00 0010EA60 42 00 FF FC */ bdnz lbl_80111AFC
lbl_80111B04:
/* 80111B04 0010EA64 7C 03 28 50 */ subf r0, r3, r5
/* 80111B08 0010EA68 7C 09 03 A6 */ mtctr r0
/* 80111B0C 0010EA6C 7C 03 28 00 */ cmpw r3, r5
/* 80111B10 0010EA70 40 80 00 08 */ bge lbl_80111B18
lbl_80111B14:
/* 80111B14 0010EA74 42 00 00 00 */ bdnz lbl_80111B14
lbl_80111B18:
/* 80111B18 0010EA78 38 00 00 00 */ li r0, 0
/* 80111B1C 0010EA7C 90 01 01 74 */ stw r0, 0x174(r1)
lbl_80111B20:
/* 80111B20 0010EA80 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0
/* 80111B24 0010EA84 CB E1 02 40 */ lfd f31, 0x240(r1)
/* 80111B28 0010EA88 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0
/* 80111B2C 0010EA8C CB C1 02 30 */ lfd f30, 0x230(r1)
/* 80111B30 0010EA90 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0
/* 80111B34 0010EA94 CB A1 02 20 */ lfd f29, 0x220(r1)
/* 80111B38 0010EA98 E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0
/* 80111B3C 0010EA9C CB 81 02 10 */ lfd f28, 0x210(r1)
/* 80111B40 0010EAA0 BA E1 01 EC */ lmw r23, 0x1ec(r1)
/* 80111B44 0010EAA4 80 01 02 54 */ lwz r0, 0x254(r1)
/* 80111B48 0010EAA8 7C 08 03 A6 */ mtlr r0
/* 80111B4C 0010EAAC 38 21 02 50 */ addi r1, r1, 0x250
/* 80111B50 0010EAB0 4E 80 00 20 */ blr
.global __dt__12CWorldShadowFv
__dt__12CWorldShadowFv:
/* 80111B54 0010EAB4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80111B58 0010EAB8 7C 08 02 A6 */ mflr r0
/* 80111B5C 0010EABC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80111B60 0010EAC0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80111B64 0010EAC4 7C 9F 23 78 */ mr r31, r4
/* 80111B68 0010EAC8 93 C1 00 08 */ stw r30, 8(r1)
/* 80111B6C 0010EACC 7C 7E 1B 79 */ or. r30, r3, r3
/* 80111B70 0010EAD0 41 82 00 38 */ beq lbl_80111BA8
/* 80111B74 0010EAD4 80 7E 00 00 */ lwz r3, 0(r30)
/* 80111B78 0010EAD8 28 03 00 00 */ cmplwi r3, 0
/* 80111B7C 0010EADC 41 82 00 08 */ beq lbl_80111B84
/* 80111B80 0010EAE0 48 1F C5 8D */ bl sub_8030e10c
lbl_80111B84:
/* 80111B84 0010EAE4 28 1E 00 00 */ cmplwi r30, 0
/* 80111B88 0010EAE8 41 82 00 10 */ beq lbl_80111B98
/* 80111B8C 0010EAEC 80 7E 00 00 */ lwz r3, 0(r30)
/* 80111B90 0010EAF0 38 80 00 01 */ li r4, 1
/* 80111B94 0010EAF4 48 1F DE 65 */ bl __dt__8CTextureFv
lbl_80111B98:
/* 80111B98 0010EAF8 7F E0 07 35 */ extsh. r0, r31
/* 80111B9C 0010EAFC 40 81 00 0C */ ble lbl_80111BA8
/* 80111BA0 0010EB00 7F C3 F3 78 */ mr r3, r30
/* 80111BA4 0010EB04 48 20 3D 8D */ bl Free__7CMemoryFPCv
lbl_80111BA8:
/* 80111BA8 0010EB08 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80111BAC 0010EB0C 7F C3 F3 78 */ mr r3, r30
/* 80111BB0 0010EB10 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80111BB4 0010EB14 83 C1 00 08 */ lwz r30, 8(r1)
/* 80111BB8 0010EB18 7C 08 03 A6 */ mtlr r0
/* 80111BBC 0010EB1C 38 21 00 10 */ addi r1, r1, 0x10
/* 80111BC0 0010EB20 4E 80 00 20 */ blr
.global __ct__12CWorldShadowFUiUib
__ct__12CWorldShadowFUiUib:
/* 80111BC4 0010EB24 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80111BC8 0010EB28 7C 08 02 A6 */ mflr r0
/* 80111BCC 0010EB2C 3C E0 80 3D */ lis r7, lbl_803CF1F8@ha
/* 80111BD0 0010EB30 90 01 00 24 */ stw r0, 0x24(r1)
/* 80111BD4 0010EB34 38 07 F1 F8 */ addi r0, r7, lbl_803CF1F8@l
/* 80111BD8 0010EB38 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80111BDC 0010EB3C 7C 7F 1B 78 */ mr r31, r3
/* 80111BE0 0010EB40 38 60 00 68 */ li r3, 0x68
/* 80111BE4 0010EB44 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80111BE8 0010EB48 7C DE 33 78 */ mr r30, r6
/* 80111BEC 0010EB4C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80111BF0 0010EB50 7C BD 2B 78 */ mr r29, r5
/* 80111BF4 0010EB54 38 A0 00 00 */ li r5, 0
/* 80111BF8 0010EB58 93 81 00 10 */ stw r28, 0x10(r1)
/* 80111BFC 0010EB5C 7C 9C 23 78 */ mr r28, r4
/* 80111C00 0010EB60 7C 04 03 78 */ mr r4, r0
/* 80111C04 0010EB64 48 20 3C 69 */ bl __nw__FUlPCcPCc
/* 80111C08 0010EB68 7C 60 1B 79 */ or. r0, r3, r3
/* 80111C0C 0010EB6C 41 82 00 28 */ beq lbl_80111C34
/* 80111C10 0010EB70 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 80111C14 0010EB74 38 80 00 07 */ li r4, 7
/* 80111C18 0010EB78 41 82 00 08 */ beq lbl_80111C20
/* 80111C1C 0010EB7C 38 80 00 09 */ li r4, 9
lbl_80111C20:
/* 80111C20 0010EB80 7F 85 07 34 */ extsh r5, r28
/* 80111C24 0010EB84 7F A6 07 34 */ extsh r6, r29
/* 80111C28 0010EB88 38 E0 00 01 */ li r7, 1
/* 80111C2C 0010EB8C 48 1F E2 01 */ bl __ct__8CTextureF12ETexelFormatssi
/* 80111C30 0010EB90 7C 60 1B 78 */ mr r0, r3
lbl_80111C34:
/* 80111C34 0010EB94 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 80111C38 0010EB98 90 1F 00 00 */ stw r0, 0(r31)
/* 80111C3C 0010EB9C 38 83 66 70 */ addi r4, r3, skIdentity4f@l
/* 80111C40 0010EBA0 38 7F 00 04 */ addi r3, r31, 4
/* 80111C44 0010EBA4 48 20 0F 31 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80111C48 0010EBA8 3C 80 80 5A */ lis r4, skIdentity4f@ha
/* 80111C4C 0010EBAC 38 7F 00 34 */ addi r3, r31, 0x34
/* 80111C50 0010EBB0 38 84 66 70 */ addi r4, r4, skIdentity4f@l
/* 80111C54 0010EBB4 48 20 0F 21 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80111C58 0010EBB8 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2)
/* 80111C5C 0010EBBC 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80111C60 0010EBC0 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2)
/* 80111C64 0010EBC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l
/* 80111C68 0010EBC8 D0 3F 00 64 */ stfs f1, 0x64(r31)
/* 80111C6C 0010EBCC 38 80 FF FF */ li r4, -1
/* 80111C70 0010EBD0 38 00 00 01 */ li r0, 1
/* 80111C74 0010EBD4 7F E3 FB 78 */ mr r3, r31
/* 80111C78 0010EBD8 D0 1F 00 68 */ stfs f0, 0x68(r31)
/* 80111C7C 0010EBDC D0 3F 00 6C */ stfs f1, 0x6c(r31)
/* 80111C80 0010EBE0 D0 1F 00 70 */ stfs f0, 0x70(r31)
/* 80111C84 0010EBE4 C0 05 00 00 */ lfs f0, 0(r5)
/* 80111C88 0010EBE8 D0 1F 00 74 */ stfs f0, 0x74(r31)
/* 80111C8C 0010EBEC C0 05 00 04 */ lfs f0, 4(r5)
/* 80111C90 0010EBF0 D0 1F 00 78 */ stfs f0, 0x78(r31)
/* 80111C94 0010EBF4 C0 05 00 08 */ lfs f0, 8(r5)
/* 80111C98 0010EBF8 D0 1F 00 7C */ stfs f0, 0x7c(r31)
/* 80111C9C 0010EBFC 80 AD A3 90 */ lwz r5, lbl_805A8F50@sda21(r13)
/* 80111CA0 0010EC00 90 BF 00 80 */ stw r5, 0x80(r31)
/* 80111CA4 0010EC04 90 9F 00 84 */ stw r4, 0x84(r31)
/* 80111CA8 0010EC08 98 1F 00 88 */ stb r0, 0x88(r31)
/* 80111CAC 0010EC0C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80111CB0 0010EC10 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80111CB4 0010EC14 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80111CB8 0010EC18 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80111CBC 0010EC1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80111CC0 0010EC20 7C 08 03 A6 */ mtlr r0
/* 80111CC4 0010EC24 38 21 00 20 */ addi r1, r1, 0x20
/* 80111CC8 0010EC28 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,198 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global HasCorrectParameterCount__14CPatternedInfoFR12CInputStream
HasCorrectParameterCount__14CPatternedInfoFR12CInputStream:
/* 80105828 00102788 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010582C 0010278C 7C 08 02 A6 */ mflr r0
/* 80105830 00102790 90 01 00 14 */ stw r0, 0x14(r1)
/* 80105834 00102794 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80105838 00102798 7C 7F 1B 78 */ mr r31, r3
/* 8010583C 0010279C 7C 83 23 78 */ mr r3, r4
/* 80105840 001027A0 48 23 94 45 */ bl ReadLong__12CInputStreamFv
/* 80105844 001027A4 28 03 00 23 */ cmplwi r3, 0x23
/* 80105848 001027A8 38 00 00 00 */ li r0, 0
/* 8010584C 001027AC 41 80 00 10 */ blt lbl_8010585C
/* 80105850 001027B0 28 03 00 26 */ cmplwi r3, 0x26
/* 80105854 001027B4 41 81 00 08 */ bgt lbl_8010585C
/* 80105858 001027B8 38 00 00 01 */ li r0, 1
lbl_8010585C:
/* 8010585C 001027BC 98 1F 00 00 */ stb r0, 0(r31)
/* 80105860 001027C0 90 7F 00 04 */ stw r3, 4(r31)
/* 80105864 001027C4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80105868 001027C8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010586C 001027CC 7C 08 03 A6 */ mtlr r0
/* 80105870 001027D0 38 21 00 10 */ addi r1, r1, 0x10
/* 80105874 001027D4 4E 80 00 20 */ blr
.global __ct__14CPatternedInfoFR12CInputStreamUi
__ct__14CPatternedInfoFR12CInputStreamUi:
/* 80105878 001027D8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8010587C 001027DC 7C 08 02 A6 */ mflr r0
/* 80105880 001027E0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80105884 001027E4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80105888 001027E8 7C BF 2B 78 */ mr r31, r5
/* 8010588C 001027EC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80105890 001027F0 7C 9E 23 78 */ mr r30, r4
/* 80105894 001027F4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80105898 001027F8 7C 7D 1B 78 */ mr r29, r3
/* 8010589C 001027FC 7F C3 F3 78 */ mr r3, r30
/* 801058A0 00102800 48 23 93 89 */ bl ReadFloat__12CInputStreamFv
/* 801058A4 00102804 D0 3D 00 00 */ stfs f1, 0(r29)
/* 801058A8 00102808 7F C3 F3 78 */ mr r3, r30
/* 801058AC 0010280C 48 23 93 7D */ bl ReadFloat__12CInputStreamFv
/* 801058B0 00102810 D0 3D 00 04 */ stfs f1, 4(r29)
/* 801058B4 00102814 7F C3 F3 78 */ mr r3, r30
/* 801058B8 00102818 48 23 93 71 */ bl ReadFloat__12CInputStreamFv
/* 801058BC 0010281C D0 3D 00 08 */ stfs f1, 8(r29)
/* 801058C0 00102820 7F C3 F3 78 */ mr r3, r30
/* 801058C4 00102824 48 23 93 65 */ bl ReadFloat__12CInputStreamFv
/* 801058C8 00102828 D0 3D 00 0C */ stfs f1, 0xc(r29)
/* 801058CC 0010282C 7F C3 F3 78 */ mr r3, r30
/* 801058D0 00102830 48 23 93 59 */ bl ReadFloat__12CInputStreamFv
/* 801058D4 00102834 D0 3D 00 10 */ stfs f1, 0x10(r29)
/* 801058D8 00102838 7F C3 F3 78 */ mr r3, r30
/* 801058DC 0010283C 48 23 93 4D */ bl ReadFloat__12CInputStreamFv
/* 801058E0 00102840 D0 3D 00 14 */ stfs f1, 0x14(r29)
/* 801058E4 00102844 7F C3 F3 78 */ mr r3, r30
/* 801058E8 00102848 48 23 93 41 */ bl ReadFloat__12CInputStreamFv
/* 801058EC 0010284C D0 3D 00 18 */ stfs f1, 0x18(r29)
/* 801058F0 00102850 7F C3 F3 78 */ mr r3, r30
/* 801058F4 00102854 48 23 93 35 */ bl ReadFloat__12CInputStreamFv
/* 801058F8 00102858 D0 3D 00 1C */ stfs f1, 0x1c(r29)
/* 801058FC 0010285C 7F C3 F3 78 */ mr r3, r30
/* 80105900 00102860 48 23 93 29 */ bl ReadFloat__12CInputStreamFv
/* 80105904 00102864 D0 3D 00 20 */ stfs f1, 0x20(r29)
/* 80105908 00102868 7F C3 F3 78 */ mr r3, r30
/* 8010590C 0010286C 48 23 93 1D */ bl ReadFloat__12CInputStreamFv
/* 80105910 00102870 D0 3D 00 24 */ stfs f1, 0x24(r29)
/* 80105914 00102874 7F C3 F3 78 */ mr r3, r30
/* 80105918 00102878 48 23 93 11 */ bl ReadFloat__12CInputStreamFv
/* 8010591C 0010287C D0 3D 00 28 */ stfs f1, 0x28(r29)
/* 80105920 00102880 7F C3 F3 78 */ mr r3, r30
/* 80105924 00102884 48 23 93 05 */ bl ReadFloat__12CInputStreamFv
/* 80105928 00102888 D0 3D 00 2C */ stfs f1, 0x2c(r29)
/* 8010592C 0010288C 7F C3 F3 78 */ mr r3, r30
/* 80105930 00102890 48 23 92 F9 */ bl ReadFloat__12CInputStreamFv
/* 80105934 00102894 D0 3D 00 30 */ stfs f1, 0x30(r29)
/* 80105938 00102898 7F C4 F3 78 */ mr r4, r30
/* 8010593C 0010289C 38 7D 00 34 */ addi r3, r29, 0x34
/* 80105940 001028A0 4B FB DC 21 */ bl __ct__11CDamageInfoFR12CInputStream
/* 80105944 001028A4 7F C3 F3 78 */ mr r3, r30
/* 80105948 001028A8 48 23 92 E1 */ bl ReadFloat__12CInputStreamFv
/* 8010594C 001028AC D0 3D 00 50 */ stfs f1, 0x50(r29)
/* 80105950 001028B0 7F C4 F3 78 */ mr r4, r30
/* 80105954 001028B4 38 7D 00 54 */ addi r3, r29, 0x54
/* 80105958 001028B8 48 0C DE ED */ bl __ct__11CHealthInfoFR12CInputStream
/* 8010595C 001028BC 7F C4 F3 78 */ mr r4, r30
/* 80105960 001028C0 38 7D 00 5C */ addi r3, r29, 0x5c
/* 80105964 001028C4 4B FF D1 F5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream
/* 80105968 001028C8 7F C3 F3 78 */ mr r3, r30
/* 8010596C 001028CC 48 23 92 BD */ bl ReadFloat__12CInputStreamFv
/* 80105970 001028D0 D0 3D 00 C4 */ stfs f1, 0xc4(r29)
/* 80105974 001028D4 7F C3 F3 78 */ mr r3, r30
/* 80105978 001028D8 48 23 92 B1 */ bl ReadFloat__12CInputStreamFv
/* 8010597C 001028DC D0 3D 00 C8 */ stfs f1, 0xc8(r29)
/* 80105980 001028E0 7F C4 F3 78 */ mr r4, r30
/* 80105984 001028E4 38 7D 00 CC */ addi r3, r29, 0xcc
/* 80105988 001028E8 48 20 F2 05 */ bl __ct__9CVector3fFR12CInputStream
/* 8010598C 001028EC 7F C3 F3 78 */ mr r3, r30
/* 80105990 001028F0 48 23 92 99 */ bl ReadFloat__12CInputStreamFv
/* 80105994 001028F4 D0 3D 00 D8 */ stfs f1, 0xd8(r29)
/* 80105998 001028F8 7F C3 F3 78 */ mr r3, r30
/* 8010599C 001028FC 48 23 92 8D */ bl ReadFloat__12CInputStreamFv
/* 801059A0 00102900 D0 3D 00 DC */ stfs f1, 0xdc(r29)
/* 801059A4 00102904 7F C3 F3 78 */ mr r3, r30
/* 801059A8 00102908 48 23 92 81 */ bl ReadFloat__12CInputStreamFv
/* 801059AC 0010290C D0 3D 00 E0 */ stfs f1, 0xe0(r29)
/* 801059B0 00102910 7F C3 F3 78 */ mr r3, r30
/* 801059B4 00102914 48 23 92 75 */ bl ReadFloat__12CInputStreamFv
/* 801059B8 00102918 D0 3D 00 E4 */ stfs f1, 0xe4(r29)
/* 801059BC 0010291C 7F C3 F3 78 */ mr r3, r30
/* 801059C0 00102920 48 23 92 C5 */ bl ReadLong__12CInputStreamFv
/* 801059C4 00102924 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 801059C8 00102928 48 1E 2F E9 */ bl TranslateSFXID__11CSfxManagerFUs
/* 801059CC 0010292C 54 60 04 3E */ clrlwi r0, r3, 0x10
/* 801059D0 00102930 7F C3 F3 78 */ mr r3, r30
/* 801059D4 00102934 90 1D 00 E8 */ stw r0, 0xe8(r29)
/* 801059D8 00102938 48 23 92 AD */ bl ReadLong__12CInputStreamFv
/* 801059DC 0010293C 90 7D 00 EC */ stw r3, 0xec(r29)
/* 801059E0 00102940 7F C3 F3 78 */ mr r3, r30
/* 801059E4 00102944 48 23 92 A1 */ bl ReadLong__12CInputStreamFv
/* 801059E8 00102948 90 7D 00 F0 */ stw r3, 0xf0(r29)
/* 801059EC 0010294C 7F C3 F3 78 */ mr r3, r30
/* 801059F0 00102950 48 23 92 95 */ bl ReadLong__12CInputStreamFv
/* 801059F4 00102954 90 7D 00 F4 */ stw r3, 0xf4(r29)
/* 801059F8 00102958 7F C3 F3 78 */ mr r3, r30
/* 801059FC 0010295C 48 23 92 E1 */ bl ReadBool__12CInputStreamFv
/* 80105A00 00102960 98 7D 00 F8 */ stb r3, 0xf8(r29)
/* 80105A04 00102964 7F C3 F3 78 */ mr r3, r30
/* 80105A08 00102968 48 23 92 7D */ bl ReadLong__12CInputStreamFv
/* 80105A0C 0010296C 90 7D 00 FC */ stw r3, 0xfc(r29)
/* 80105A10 00102970 7F C3 F3 78 */ mr r3, r30
/* 80105A14 00102974 48 23 92 15 */ bl ReadFloat__12CInputStreamFv
/* 80105A18 00102978 D0 3D 01 00 */ stfs f1, 0x100(r29)
/* 80105A1C 0010297C 7F C3 F3 78 */ mr r3, r30
/* 80105A20 00102980 48 23 92 09 */ bl ReadFloat__12CInputStreamFv
/* 80105A24 00102984 D0 3D 01 04 */ stfs f1, 0x104(r29)
/* 80105A28 00102988 7F C3 F3 78 */ mr r3, r30
/* 80105A2C 0010298C 48 23 91 FD */ bl ReadFloat__12CInputStreamFv
/* 80105A30 00102990 D0 3D 01 08 */ stfs f1, 0x108(r29)
/* 80105A34 00102994 7F C3 F3 78 */ mr r3, r30
/* 80105A38 00102998 48 23 92 4D */ bl ReadLong__12CInputStreamFv
/* 80105A3C 0010299C 90 7D 01 0C */ stw r3, 0x10c(r29)
/* 80105A40 001029A0 7F C4 F3 78 */ mr r4, r30
/* 80105A44 001029A4 38 7D 01 10 */ addi r3, r29, 0x110
/* 80105A48 001029A8 48 20 F1 45 */ bl __ct__9CVector3fFR12CInputStream
/* 80105A4C 001029AC 7F C3 F3 78 */ mr r3, r30
/* 80105A50 001029B0 48 23 92 35 */ bl ReadLong__12CInputStreamFv
/* 80105A54 001029B4 90 7D 01 1C */ stw r3, 0x11c(r29)
/* 80105A58 001029B8 7F C3 F3 78 */ mr r3, r30
/* 80105A5C 001029BC 48 23 92 29 */ bl ReadLong__12CInputStreamFv
/* 80105A60 001029C0 28 1F 00 24 */ cmplwi r31, 0x24
/* 80105A64 001029C4 90 7D 01 20 */ stw r3, 0x120(r29)
/* 80105A68 001029C8 41 80 00 14 */ blt lbl_80105A7C
/* 80105A6C 001029CC 7F C4 F3 78 */ mr r4, r30
/* 80105A70 001029D0 38 61 00 08 */ addi r3, r1, 8
/* 80105A74 001029D4 48 20 F1 19 */ bl __ct__9CVector3fFR12CInputStream
/* 80105A78 001029D8 48 00 00 0C */ b lbl_80105A84
lbl_80105A7C:
/* 80105A7C 001029DC 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80105A80 001029E0 38 63 66 A0 */ addi r3, r3, skZero3f@l
lbl_80105A84:
/* 80105A84 001029E4 C0 03 00 00 */ lfs f0, 0(r3)
/* 80105A88 001029E8 28 1F 00 25 */ cmplwi r31, 0x25
/* 80105A8C 001029EC D0 1D 01 24 */ stfs f0, 0x124(r29)
/* 80105A90 001029F0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80105A94 001029F4 D0 1D 01 28 */ stfs f0, 0x128(r29)
/* 80105A98 001029F8 C0 03 00 08 */ lfs f0, 8(r3)
/* 80105A9C 001029FC D0 1D 01 2C */ stfs f0, 0x12c(r29)
/* 80105AA0 00102A00 41 80 00 10 */ blt lbl_80105AB0
/* 80105AA4 00102A04 7F C3 F3 78 */ mr r3, r30
/* 80105AA8 00102A08 48 23 91 DD */ bl ReadLong__12CInputStreamFv
/* 80105AAC 00102A0C 48 00 00 08 */ b lbl_80105AB4
lbl_80105AB0:
/* 80105AB0 00102A10 38 60 FF FF */ li r3, -1
lbl_80105AB4:
/* 80105AB4 00102A14 28 1F 00 26 */ cmplwi r31, 0x26
/* 80105AB8 00102A18 90 7D 01 30 */ stw r3, 0x130(r29)
/* 80105ABC 00102A1C 41 80 00 18 */ blt lbl_80105AD4
/* 80105AC0 00102A20 7F C3 F3 78 */ mr r3, r30
/* 80105AC4 00102A24 48 23 91 C1 */ bl ReadLong__12CInputStreamFv
/* 80105AC8 00102A28 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 80105ACC 00102A2C 48 1E 2E E5 */ bl TranslateSFXID__11CSfxManagerFUs
/* 80105AD0 00102A30 48 00 00 08 */ b lbl_80105AD8
lbl_80105AD4:
/* 80105AD4 00102A34 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2)
lbl_80105AD8:
/* 80105AD8 00102A38 54 60 04 3E */ clrlwi r0, r3, 0x10
/* 80105ADC 00102A3C 7F A3 EB 78 */ mr r3, r29
/* 80105AE0 00102A40 90 1D 01 34 */ stw r0, 0x134(r29)
/* 80105AE4 00102A44 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80105AE8 00102A48 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80105AEC 00102A4C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80105AF0 00102A50 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80105AF4 00102A54 7C 08 03 A6 */ mtlr r0
/* 80105AF8 00102A58 38 21 00 30 */ addi r1, r1, 0x30
/* 80105AFC 00102A5C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,583 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__19CHUDBillboardEffectFR8IVisitor
Accept__19CHUDBillboardEffectFR8IVisitor:
/* 8012FAD8 0012CA38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012FADC 0012CA3C 7C 08 02 A6 */ mflr r0
/* 8012FAE0 0012CA40 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012FAE4 0012CA44 7C 60 1B 78 */ mr r0, r3
/* 8012FAE8 0012CA48 7C 83 23 78 */ mr r3, r4
/* 8012FAEC 0012CA4C 81 84 00 00 */ lwz r12, 0(r4)
/* 8012FAF0 0012CA50 7C 04 03 78 */ mr r4, r0
/* 8012FAF4 0012CA54 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8012FAF8 0012CA58 7D 89 03 A6 */ mtctr r12
/* 8012FAFC 0012CA5C 4E 80 04 21 */ bctrl
/* 8012FB00 0012CA60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012FB04 0012CA64 7C 08 03 A6 */ mtlr r0
/* 8012FB08 0012CA68 38 21 00 10 */ addi r1, r1, 0x10
/* 8012FB0C 0012CA6C 4E 80 00 20 */ blr
.global Think__19CHUDBillboardEffectFfR13CStateManager
Think__19CHUDBillboardEffectFfR13CStateManager:
/* 8012FB10 0012CA70 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8012FB14 0012CA74 7C 08 02 A6 */ mflr r0
/* 8012FB18 0012CA78 90 01 00 54 */ stw r0, 0x54(r1)
/* 8012FB1C 0012CA7C DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8012FB20 0012CA80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8012FB24 0012CA84 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 8012FB28 0012CA88 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 8012FB2C 0012CA8C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8012FB30 0012CA90 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8012FB34 0012CA94 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8012FB38 0012CA98 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8012FB3C 0012CA9C FF C0 08 90 */ fmr f30, f1
/* 8012FB40 0012CAA0 7C 7D 1B 78 */ mr r29, r3
/* 8012FB44 0012CAA4 7C 9E 23 78 */ mr r30, r4
/* 8012FB48 0012CAA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8012FB4C 0012CAAC 41 82 01 04 */ beq lbl_8012FC50
/* 8012FB50 0012CAB0 80 DE 08 50 */ lwz r6, 0x850(r30)
/* 8012FB54 0012CAB4 7F C3 F3 78 */ mr r3, r30
/* 8012FB58 0012CAB8 7F A4 EB 78 */ mr r4, r29
/* 8012FB5C 0012CABC 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8012FB60 0012CAC0 80 06 00 68 */ lwz r0, 0x68(r6)
/* 8012FB64 0012CAC4 90 01 00 18 */ stw r0, 0x18(r1)
/* 8012FB68 0012CAC8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8012FB6C 0012CACC 4B F1 57 0D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId
/* 8012FB70 0012CAD0 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8012FB74 0012CAD4 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FB78 0012CAD8 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 8012FB7C 0012CADC 7D 89 03 A6 */ mtctr r12
/* 8012FB80 0012CAE0 4E 80 04 21 */ bctrl
/* 8012FB84 0012CAE4 FF E0 08 90 */ fmr f31, f1
/* 8012FB88 0012CAE8 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 8012FB8C 0012CAEC 48 00 06 D9 */ bl CalcGenRate__19CHudBillboardEffectFv
/* 8012FB90 0012CAF0 81 9F 00 00 */ lwz r12, 0(r31)
/* 8012FB94 0012CAF4 EC 3F 00 72 */ fmuls f1, f31, f1
/* 8012FB98 0012CAF8 7F E3 FB 78 */ mr r3, r31
/* 8012FB9C 0012CAFC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8012FBA0 0012CB00 7D 89 03 A6 */ mtctr r12
/* 8012FBA4 0012CB04 4E 80 04 21 */ bctrl
/* 8012FBA8 0012CB08 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8012FBAC 0012CB0C FC 20 F0 90 */ fmr f1, f30
/* 8012FBB0 0012CB10 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FBB4 0012CB14 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012FBB8 0012CB18 7D 89 03 A6 */ mtctr r12
/* 8012FBBC 0012CB1C 4E 80 04 21 */ bctrl
/* 8012FBC0 0012CB20 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8012FBC4 0012CB24 FC 20 F8 90 */ fmr f1, f31
/* 8012FBC8 0012CB28 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FBCC 0012CB2C 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8012FBD0 0012CB30 7D 89 03 A6 */ mtctr r12
/* 8012FBD4 0012CB34 4E 80 04 21 */ bctrl
/* 8012FBD8 0012CB38 88 1D 01 04 */ lbz r0, 0x104(r29)
/* 8012FBDC 0012CB3C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 8012FBE0 0012CB40 40 82 00 3C */ bne lbl_8012FC1C
/* 8012FBE4 0012CB44 C0 3D 01 08 */ lfs f1, 0x108(r29)
/* 8012FBE8 0012CB48 C0 02 99 38 */ lfs f0, lbl_805AB658@sda21(r2)
/* 8012FBEC 0012CB4C EC 21 F0 2A */ fadds f1, f1, f30
/* 8012FBF0 0012CB50 D0 3D 01 08 */ stfs f1, 0x108(r29)
/* 8012FBF4 0012CB54 C0 3D 01 08 */ lfs f1, 0x108(r29)
/* 8012FBF8 0012CB58 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012FBFC 0012CB5C 40 81 00 20 */ ble lbl_8012FC1C
/* 8012FC00 0012CB60 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8012FC04 0012CB64 7F C3 F3 78 */ mr r3, r30
/* 8012FC08 0012CB68 38 81 00 14 */ addi r4, r1, 0x14
/* 8012FC0C 0012CB6C B0 01 00 10 */ sth r0, 0x10(r1)
/* 8012FC10 0012CB70 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8012FC14 0012CB74 4B F1 C6 59 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8012FC18 0012CB78 48 00 00 38 */ b lbl_8012FC50
lbl_8012FC1C:
/* 8012FC1C 0012CB7C 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8012FC20 0012CB80 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FC24 0012CB84 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8012FC28 0012CB88 7D 89 03 A6 */ mtctr r12
/* 8012FC2C 0012CB8C 4E 80 04 21 */ bctrl
/* 8012FC30 0012CB90 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012FC34 0012CB94 41 82 00 1C */ beq lbl_8012FC50
/* 8012FC38 0012CB98 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8012FC3C 0012CB9C 7F C3 F3 78 */ mr r3, r30
/* 8012FC40 0012CBA0 38 81 00 0C */ addi r4, r1, 0xc
/* 8012FC44 0012CBA4 B0 01 00 08 */ sth r0, 8(r1)
/* 8012FC48 0012CBA8 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8012FC4C 0012CBAC 4B F1 C6 21 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8012FC50:
/* 8012FC50 0012CBB0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8012FC54 0012CBB4 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8012FC58 0012CBB8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 8012FC5C 0012CBBC CB C1 00 30 */ lfd f30, 0x30(r1)
/* 8012FC60 0012CBC0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8012FC64 0012CBC4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8012FC68 0012CBC8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8012FC6C 0012CBCC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8012FC70 0012CBD0 7C 08 03 A6 */ mtlr r0
/* 8012FC74 0012CBD4 38 21 00 50 */ addi r1, r1, 0x50
/* 8012FC78 0012CBD8 4E 80 00 20 */ blr
.global SetGeneratorRate__12CParticleGenFf
SetGeneratorRate__12CParticleGenFf:
/* 8012FC7C 0012CBDC 4E 80 00 20 */ blr
.global GetGeneratorRate__12CParticleGenCFv
GetGeneratorRate__12CParticleGenCFv:
/* 8012FC80 0012CBE0 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2)
/* 8012FC84 0012CBE4 4E 80 00 20 */ blr
.global Render__19CHUDBillboardEffectCFRC13CStateManager
Render__19CHUDBillboardEffectCFRC13CStateManager:
/* 8012FC88 0012CBE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012FC8C 0012CBEC 7C 08 02 A6 */ mflr r0
/* 8012FC90 0012CBF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012FC94 0012CBF4 88 83 01 04 */ lbz r4, 0x104(r3)
/* 8012FC98 0012CBF8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f
/* 8012FC9C 0012CBFC 41 82 00 20 */ beq lbl_8012FCBC
/* 8012FCA0 0012CC00 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 8012FCA4 0012CC04 40 82 00 18 */ bne lbl_8012FCBC
/* 8012FCA8 0012CC08 80 63 00 E8 */ lwz r3, 0xe8(r3)
/* 8012FCAC 0012CC0C 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FCB0 0012CC10 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8012FCB4 0012CC14 7D 89 03 A6 */ mtctr r12
/* 8012FCB8 0012CC18 4E 80 04 21 */ bctrl
lbl_8012FCBC:
/* 8012FCBC 0012CC1C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012FCC0 0012CC20 7C 08 03 A6 */ mtlr r0
/* 8012FCC4 0012CC24 38 21 00 10 */ addi r1, r1, 0x10
/* 8012FCC8 0012CC28 4E 80 00 20 */ blr
.global PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes
PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes:
/* 8012FCCC 0012CC2C 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8012FCD0 0012CC30 7C 08 02 A6 */ mflr r0
/* 8012FCD4 0012CC34 90 01 00 94 */ stw r0, 0x94(r1)
/* 8012FCD8 0012CC38 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8012FCDC 0012CC3C 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8012FCE0 0012CC40 7C 9E 23 78 */ mr r30, r4
/* 8012FCE4 0012CC44 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8012FCE8 0012CC48 7C 7D 1B 78 */ mr r29, r3
/* 8012FCEC 0012CC4C 80 64 08 4C */ lwz r3, 0x84c(r4)
/* 8012FCF0 0012CC50 80 03 02 F4 */ lwz r0, 0x2f4(r3)
/* 8012FCF4 0012CC54 2C 00 00 00 */ cmpwi r0, 0
/* 8012FCF8 0012CC58 40 82 00 78 */ bne lbl_8012FD70
/* 8012FCFC 0012CC5C 80 9E 08 70 */ lwz r4, 0x870(r30)
/* 8012FD00 0012CC60 7F C5 F3 78 */ mr r5, r30
/* 8012FD04 0012CC64 38 61 00 18 */ addi r3, r1, 0x18
/* 8012FD08 0012CC68 4B ED AC 61 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager
/* 8012FD0C 0012CC6C 38 61 00 48 */ addi r3, r1, 0x48
/* 8012FD10 0012CC70 38 81 00 18 */ addi r4, r1, 0x18
/* 8012FD14 0012CC74 48 1E 2E 61 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8012FD18 0012CC78 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 8012FD1C 0012CC7C 38 61 00 0C */ addi r3, r1, 0xc
/* 8012FD20 0012CC80 38 81 00 48 */ addi r4, r1, 0x48
/* 8012FD24 0012CC84 38 BD 00 EC */ addi r5, r29, 0xec
/* 8012FD28 0012CC88 48 1E 2D C1 */ bl __ml__12CTransform4fCFRC9CVector3f
/* 8012FD2C 0012CC8C 7F E3 FB 78 */ mr r3, r31
/* 8012FD30 0012CC90 38 81 00 0C */ addi r4, r1, 0xc
/* 8012FD34 0012CC94 81 9F 00 00 */ lwz r12, 0(r31)
/* 8012FD38 0012CC98 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8012FD3C 0012CC9C 7D 89 03 A6 */ mtctr r12
/* 8012FD40 0012CCA0 4E 80 04 21 */ bctrl
/* 8012FD44 0012CCA4 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8012FD48 0012CCA8 38 81 00 48 */ addi r4, r1, 0x48
/* 8012FD4C 0012CCAC 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FD50 0012CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8012FD54 0012CCB4 7D 89 03 A6 */ mtctr r12
/* 8012FD58 0012CCB8 4E 80 04 21 */ bctrl
/* 8012FD5C 0012CCBC 88 1D 01 04 */ lbz r0, 0x104(r29)
/* 8012FD60 0012CCC0 38 60 00 01 */ li r3, 1
/* 8012FD64 0012CCC4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8012FD68 0012CCC8 98 1D 01 04 */ stb r0, 0x104(r29)
/* 8012FD6C 0012CCCC 48 00 00 14 */ b lbl_8012FD80
lbl_8012FD70:
/* 8012FD70 0012CCD0 88 1D 01 04 */ lbz r0, 0x104(r29)
/* 8012FD74 0012CCD4 38 60 00 00 */ li r3, 0
/* 8012FD78 0012CCD8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8012FD7C 0012CCDC 98 1D 01 04 */ stb r0, 0x104(r29)
lbl_8012FD80:
/* 8012FD80 0012CCE0 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8012FD84 0012CCE4 7F C3 F3 78 */ mr r3, r30
/* 8012FD88 0012CCE8 38 81 00 08 */ addi r4, r1, 8
/* 8012FD8C 0012CCEC B0 01 00 08 */ sth r0, 8(r1)
/* 8012FD90 0012CCF0 4B F1 4B 49 */ bl RenderLast__13CStateManagerFRC9TUniqueId
/* 8012FD94 0012CCF4 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8012FD98 0012CCF8 88 1D 01 04 */ lbz r0, 0x104(r29)
/* 8012FD9C 0012CCFC 7C 63 00 34 */ cntlzw r3, r3
/* 8012FDA0 0012CD00 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18
/* 8012FDA4 0012CD04 98 1D 01 04 */ stb r0, 0x104(r29)
/* 8012FDA8 0012CD08 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8012FDAC 0012CD0C 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8012FDB0 0012CD10 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8012FDB4 0012CD14 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8012FDB8 0012CD18 7C 08 03 A6 */ mtlr r0
/* 8012FDBC 0012CD1C 38 21 00 90 */ addi r1, r1, 0x90
/* 8012FDC0 0012CD20 4E 80 00 20 */ blr
.global AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager:
/* 8012FDC4 0012CD24 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012FDC8 0012CD28 7C 08 02 A6 */ mflr r0
/* 8012FDCC 0012CD2C 7C 64 1B 78 */ mr r4, r3
/* 8012FDD0 0012CD30 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012FDD4 0012CD34 88 63 01 04 */ lbz r3, 0x104(r3)
/* 8012FDD8 0012CD38 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 8012FDDC 0012CD3C 41 82 00 24 */ beq lbl_8012FE00
/* 8012FDE0 0012CD40 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 8012FDE4 0012CD44 41 82 00 1C */ beq lbl_8012FE00
/* 8012FDE8 0012CD48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8012FDEC 0012CD4C 80 84 00 E8 */ lwz r4, 0xe8(r4)
/* 8012FDF0 0012CD50 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FDF4 0012CD54 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8012FDF8 0012CD58 7D 89 03 A6 */ mtctr r12
/* 8012FDFC 0012CD5C 4E 80 04 21 */ bctrl
lbl_8012FE00:
/* 8012FE00 0012CD60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012FE04 0012CD64 7C 08 03 A6 */ mtlr r0
/* 8012FE08 0012CD68 38 21 00 10 */ addi r1, r1, 0x10
/* 8012FE0C 0012CD6C 4E 80 00 20 */ blr
.global __dt__19CHUDBillboardEffectFv
__dt__19CHUDBillboardEffectFv:
/* 8012FE10 0012CD70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012FE14 0012CD74 7C 08 02 A6 */ mflr r0
/* 8012FE18 0012CD78 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012FE1C 0012CD7C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012FE20 0012CD80 7C 9F 23 78 */ mr r31, r4
/* 8012FE24 0012CD84 93 C1 00 08 */ stw r30, 8(r1)
/* 8012FE28 0012CD88 7C 7E 1B 79 */ or. r30, r3, r3
/* 8012FE2C 0012CD8C 41 82 00 B0 */ beq lbl_8012FEDC
/* 8012FE30 0012CD90 3C 60 80 3E */ lis r3, lbl_803E0D70@ha
/* 8012FE34 0012CD94 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l
/* 8012FE38 0012CD98 90 1E 00 00 */ stw r0, 0(r30)
/* 8012FE3C 0012CD9C 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13)
/* 8012FE40 0012CDA0 38 03 FF FF */ addi r0, r3, -1
/* 8012FE44 0012CDA4 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13)
/* 8012FE48 0012CDA8 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8012FE4C 0012CDAC 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FE50 0012CDB0 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8012FE54 0012CDB4 7D 89 03 A6 */ mtctr r12
/* 8012FE58 0012CDB8 4E 80 04 21 */ bctrl
/* 8012FE5C 0012CDBC 3C 03 AF BF */ addis r0, r3, 0xafbf
/* 8012FE60 0012CDC0 28 00 52 54 */ cmplwi r0, 0x5254
/* 8012FE64 0012CDC4 40 82 00 20 */ bne lbl_8012FE84
/* 8012FE68 0012CDC8 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8012FE6C 0012CDCC 48 1E 77 D9 */ bl IsIndirectTextured__11CElementGenCFv
/* 8012FE70 0012CDD0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012FE74 0012CDD4 41 82 00 10 */ beq lbl_8012FE84
/* 8012FE78 0012CDD8 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13)
/* 8012FE7C 0012CDDC 38 03 FF FF */ addi r0, r3, -1
/* 8012FE80 0012CDE0 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13)
lbl_8012FE84:
/* 8012FE84 0012CDE4 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8012FE88 0012CDE8 41 82 00 24 */ beq lbl_8012FEAC
/* 8012FE8C 0012CDEC 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8012FE90 0012CDF0 28 03 00 00 */ cmplwi r3, 0
/* 8012FE94 0012CDF4 41 82 00 18 */ beq lbl_8012FEAC
/* 8012FE98 0012CDF8 81 83 00 00 */ lwz r12, 0(r3)
/* 8012FE9C 0012CDFC 38 80 00 01 */ li r4, 1
/* 8012FEA0 0012CE00 81 8C 00 08 */ lwz r12, 8(r12)
/* 8012FEA4 0012CE04 7D 89 03 A6 */ mtctr r12
/* 8012FEA8 0012CE08 4E 80 04 21 */ bctrl
lbl_8012FEAC:
/* 8012FEAC 0012CE0C 28 1E 00 00 */ cmplwi r30, 0
/* 8012FEB0 0012CE10 41 82 00 1C */ beq lbl_8012FECC
/* 8012FEB4 0012CE14 3C 80 80 3E */ lis r4, lbl_803DA118@ha
/* 8012FEB8 0012CE18 7F C3 F3 78 */ mr r3, r30
/* 8012FEBC 0012CE1C 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l
/* 8012FEC0 0012CE20 38 80 00 00 */ li r4, 0
/* 8012FEC4 0012CE24 90 1E 00 00 */ stw r0, 0(r30)
/* 8012FEC8 0012CE28 4B F2 58 29 */ bl __dt__6CActorFv
lbl_8012FECC:
/* 8012FECC 0012CE2C 7F E0 07 35 */ extsh. r0, r31
/* 8012FED0 0012CE30 40 81 00 0C */ ble lbl_8012FEDC
/* 8012FED4 0012CE34 7F C3 F3 78 */ mr r3, r30
/* 8012FED8 0012CE38 48 1E 5A 59 */ bl Free__7CMemoryFPCv
lbl_8012FEDC:
/* 8012FEDC 0012CE3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012FEE0 0012CE40 7F C3 F3 78 */ mr r3, r30
/* 8012FEE4 0012CE44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012FEE8 0012CE48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8012FEEC 0012CE4C 7C 08 03 A6 */ mtlr r0
/* 8012FEF0 0012CE50 38 21 00 10 */ addi r1, r1, 0x10
/* 8012FEF4 0012CE54 4E 80 00 20 */ blr
.global "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f"
"__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f":
/* 8012FEF8 0012CE58 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8012FEFC 0012CE5C 7C 08 02 A6 */ mflr r0
/* 8012FF00 0012CE60 90 01 00 94 */ stw r0, 0x94(r1)
/* 8012FF04 0012CE64 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8012FF08 0012CE68 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8012FF0C 0012CE6C BE C1 00 58 */ stmw r22, 0x58(r1)
/* 8012FF10 0012CE70 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13)
/* 8012FF14 0012CE74 3D 60 80 57 */ lis r11, lbl_8056D410@ha
/* 8012FF18 0012CE78 81 8D A3 90 */ lwz r12, lbl_805A8F50@sda21(r13)
/* 8012FF1C 0012CE7C FF E0 08 90 */ fmr f31, f1
/* 8012FF20 0012CE80 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8012FF24 0012CE84 38 0B D4 10 */ addi r0, r11, lbl_8056D410@l
/* 8012FF28 0012CE88 7C 7F 1B 78 */ mr r31, r3
/* 8012FF2C 0012CE8C 7C 99 23 78 */ mr r25, r4
/* 8012FF30 0012CE90 7C BA 2B 78 */ mr r26, r5
/* 8012FF34 0012CE94 7C D6 33 78 */ mr r22, r6
/* 8012FF38 0012CE98 91 81 00 20 */ stw r12, 0x20(r1)
/* 8012FF3C 0012CE9C 83 A1 00 98 */ lwz r29, 0x98(r1)
/* 8012FF40 0012CEA0 7C F7 3B 78 */ mr r23, r7
/* 8012FF44 0012CEA4 83 C1 00 9C */ lwz r30, 0x9c(r1)
/* 8012FF48 0012CEA8 7D 18 43 78 */ mr r24, r8
/* 8012FF4C 0012CEAC 7D 3B 4B 78 */ mr r27, r9
/* 8012FF50 0012CEB0 7D 5C 53 78 */ mr r28, r10
/* 8012FF54 0012CEB4 7C 05 03 78 */ mr r5, r0
/* 8012FF58 0012CEB8 38 61 00 34 */ addi r3, r1, 0x34
/* 8012FF5C 0012CEBC 38 81 00 20 */ addi r4, r1, 0x20
/* 8012FF60 0012CEC0 38 C1 00 1C */ addi r6, r1, 0x1c
/* 8012FF64 0012CEC4 4B F2 15 21 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 8012FF68 0012CEC8 A0 16 00 00 */ lhz r0, 0(r22)
/* 8012FF6C 0012CECC 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 8012FF70 0012CED0 39 03 66 70 */ addi r8, r3, skIdentity4f@l
/* 8012FF74 0012CED4 7E E6 BB 78 */ mr r6, r23
/* 8012FF78 0012CED8 B0 01 00 08 */ sth r0, 8(r1)
/* 8012FF7C 0012CEDC 7F E3 FB 78 */ mr r3, r31
/* 8012FF80 0012CEE0 7F 07 C3 78 */ mr r7, r24
/* 8012FF84 0012CEE4 38 81 00 08 */ addi r4, r1, 8
/* 8012FF88 0012CEE8 38 A1 00 34 */ addi r5, r1, 0x34
/* 8012FF8C 0012CEEC 4B F2 AD C5 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f"
/* 8012FF90 0012CEF0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8012FF94 0012CEF4 80 61 00 44 */ lwz r3, 0x44(r1)
/* 8012FF98 0012CEF8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8012FF9C 0012CEFC 90 61 00 10 */ stw r3, 0x10(r1)
/* 8012FFA0 0012CF00 7C 64 1B 78 */ mr r4, r3
/* 8012FFA4 0012CF04 7C 03 02 14 */ add r0, r3, r0
/* 8012FFA8 0012CF08 90 61 00 0C */ stw r3, 0xc(r1)
/* 8012FFAC 0012CF0C 90 01 00 18 */ stw r0, 0x18(r1)
/* 8012FFB0 0012CF10 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012FFB4 0012CF14 48 00 00 08 */ b lbl_8012FFBC
lbl_8012FFB8:
/* 8012FFB8 0012CF18 38 84 00 0C */ addi r4, r4, 0xc
lbl_8012FFBC:
/* 8012FFBC 0012CF1C 7C 04 00 40 */ cmplw r4, r0
/* 8012FFC0 0012CF20 40 82 FF F8 */ bne lbl_8012FFB8
/* 8012FFC4 0012CF24 28 03 00 00 */ cmplwi r3, 0
/* 8012FFC8 0012CF28 41 82 00 08 */ beq lbl_8012FFD0
/* 8012FFCC 0012CF2C 48 1E 59 65 */ bl Free__7CMemoryFPCv
lbl_8012FFD0:
/* 8012FFD0 0012CF30 3C 60 80 3E */ lis r3, lbl_803E0D70@ha
/* 8012FFD4 0012CF34 38 80 00 00 */ li r4, 0
/* 8012FFD8 0012CF38 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l
/* 8012FFDC 0012CF3C 38 60 00 01 */ li r3, 1
/* 8012FFE0 0012CF40 90 1F 00 00 */ stw r0, 0(r31)
/* 8012FFE4 0012CF44 C0 02 99 40 */ lfs f0, lbl_805AB660@sda21(r2)
/* 8012FFE8 0012CF48 90 9F 00 E8 */ stw r4, 0xe8(r31)
/* 8012FFEC 0012CF4C C0 5E 00 04 */ lfs f2, 4(r30)
/* 8012FFF0 0012CF50 C0 7E 00 08 */ lfs f3, 8(r30)
/* 8012FFF4 0012CF54 C0 3E 00 00 */ lfs f1, 0(r30)
/* 8012FFF8 0012CF58 EC 5F 10 2A */ fadds f2, f31, f2
/* 8012FFFC 0012CF5C D0 3F 00 EC */ stfs f1, 0xec(r31)
/* 80130000 0012CF60 D0 5F 00 F0 */ stfs f2, 0xf0(r31)
/* 80130004 0012CF64 D0 7F 00 F4 */ stfs f3, 0xf4(r31)
/* 80130008 0012CF68 C0 5D 00 00 */ lfs f2, 0(r29)
/* 8013000C 0012CF6C C0 3B 00 00 */ lfs f1, 0(r27)
/* 80130010 0012CF70 C0 9D 00 04 */ lfs f4, 4(r29)
/* 80130014 0012CF74 C0 7B 00 04 */ lfs f3, 4(r27)
/* 80130018 0012CF78 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013001C 0012CF7C C0 BD 00 08 */ lfs f5, 8(r29)
/* 80130020 0012CF80 C0 5B 00 08 */ lfs f2, 8(r27)
/* 80130024 0012CF84 EC 64 00 F2 */ fmuls f3, f4, f3
/* 80130028 0012CF88 D0 3F 00 F8 */ stfs f1, 0xf8(r31)
/* 8013002C 0012CF8C EC 25 00 B2 */ fmuls f1, f5, f2
/* 80130030 0012CF90 D0 7F 00 FC */ stfs f3, 0xfc(r31)
/* 80130034 0012CF94 D0 3F 01 00 */ stfs f1, 0x100(r31)
/* 80130038 0012CF98 88 1F 01 04 */ lbz r0, 0x104(r31)
/* 8013003C 0012CF9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80130040 0012CFA0 98 1F 01 04 */ stb r0, 0x104(r31)
/* 80130044 0012CFA4 88 1F 01 04 */ lbz r0, 0x104(r31)
/* 80130048 0012CFA8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8013004C 0012CFAC 98 1F 01 04 */ stb r0, 0x104(r31)
/* 80130050 0012CFB0 88 1F 01 04 */ lbz r0, 0x104(r31)
/* 80130054 0012CFB4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80130058 0012CFB8 98 1F 01 04 */ stb r0, 0x104(r31)
/* 8013005C 0012CFBC 88 1F 01 04 */ lbz r0, 0x104(r31)
/* 80130060 0012CFC0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80130064 0012CFC4 98 1F 01 04 */ stb r0, 0x104(r31)
/* 80130068 0012CFC8 D0 1F 01 08 */ stfs f0, 0x108(r31)
/* 8013006C 0012CFCC 88 19 00 08 */ lbz r0, 8(r25)
/* 80130070 0012CFD0 28 00 00 00 */ cmplwi r0, 0
/* 80130074 0012CFD4 41 82 00 B0 */ beq lbl_80130124
/* 80130078 0012CFD8 88 1F 01 04 */ lbz r0, 0x104(r31)
/* 8013007C 0012CFDC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80130080 0012CFE0 3C 60 80 3D */ lis r3, lbl_803D0048@ha
/* 80130084 0012CFE4 3A C0 00 00 */ li r22, 0
/* 80130088 0012CFE8 98 1F 01 04 */ stb r0, 0x104(r31)
/* 8013008C 0012CFEC 38 83 00 48 */ addi r4, r3, lbl_803D0048@l
/* 80130090 0012CFF0 38 60 03 40 */ li r3, 0x340
/* 80130094 0012CFF4 38 A0 00 00 */ li r5, 0
/* 80130098 0012CFF8 48 1E 57 D5 */ bl __nw__FUlPCcPCc
/* 8013009C 0012CFFC 7C 7A 1B 79 */ or. r26, r3, r3
/* 801300A0 0012D000 41 82 00 2C */ beq lbl_801300CC
/* 801300A4 0012D004 7F 24 CB 78 */ mr r4, r25
/* 801300A8 0012D008 38 61 00 2C */ addi r3, r1, 0x2c
/* 801300AC 0012D00C 48 21 0D FD */ bl __ct__6CTokenFRC6CToken
/* 801300B0 0012D010 7F 43 D3 78 */ mr r3, r26
/* 801300B4 0012D014 38 81 00 2C */ addi r4, r1, 0x2c
/* 801300B8 0012D018 3A C0 00 01 */ li r22, 1
/* 801300BC 0012D01C 38 A0 00 00 */ li r5, 0
/* 801300C0 0012D020 38 C0 00 01 */ li r6, 1
/* 801300C4 0012D024 48 1E F3 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 801300C8 0012D028 7C 7A 1B 78 */ mr r26, r3
lbl_801300CC:
/* 801300CC 0012D02C 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 801300D0 0012D030 28 03 00 00 */ cmplwi r3, 0
/* 801300D4 0012D034 41 82 00 18 */ beq lbl_801300EC
/* 801300D8 0012D038 81 83 00 00 */ lwz r12, 0(r3)
/* 801300DC 0012D03C 38 80 00 01 */ li r4, 1
/* 801300E0 0012D040 81 8C 00 08 */ lwz r12, 8(r12)
/* 801300E4 0012D044 7D 89 03 A6 */ mtctr r12
/* 801300E8 0012D048 4E 80 04 21 */ bctrl
lbl_801300EC:
/* 801300EC 0012D04C 7E C0 07 75 */ extsb. r0, r22
/* 801300F0 0012D050 93 5F 00 E8 */ stw r26, 0xe8(r31)
/* 801300F4 0012D054 41 82 00 10 */ beq lbl_80130104
/* 801300F8 0012D058 38 61 00 2C */ addi r3, r1, 0x2c
/* 801300FC 0012D05C 38 80 00 00 */ li r4, 0
/* 80130100 0012D060 48 21 0D 41 */ bl __dt__6CTokenFv
lbl_80130104:
/* 80130104 0012D064 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 80130108 0012D068 48 1E 75 3D */ bl IsIndirectTextured__11CElementGenCFv
/* 8013010C 0012D06C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80130110 0012D070 41 82 00 8C */ beq lbl_8013019C
/* 80130114 0012D074 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13)
/* 80130118 0012D078 38 03 00 01 */ addi r0, r3, 1
/* 8013011C 0012D07C 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13)
/* 80130120 0012D080 48 00 00 7C */ b lbl_8013019C
lbl_80130124:
/* 80130124 0012D084 3C 60 80 3D */ lis r3, lbl_803D0048@ha
/* 80130128 0012D088 3A C0 00 00 */ li r22, 0
/* 8013012C 0012D08C 38 83 00 48 */ addi r4, r3, lbl_803D0048@l
/* 80130130 0012D090 38 A0 00 00 */ li r5, 0
/* 80130134 0012D094 38 60 04 58 */ li r3, 0x458
/* 80130138 0012D098 48 1E 57 35 */ bl __nw__FUlPCcPCc
/* 8013013C 0012D09C 7C 79 1B 79 */ or. r25, r3, r3
/* 80130140 0012D0A0 41 82 00 24 */ beq lbl_80130164
/* 80130144 0012D0A4 7F 44 D3 78 */ mr r4, r26
/* 80130148 0012D0A8 38 61 00 24 */ addi r3, r1, 0x24
/* 8013014C 0012D0AC 48 21 0D 5D */ bl __ct__6CTokenFRC6CToken
/* 80130150 0012D0B0 7F 23 CB 78 */ mr r3, r25
/* 80130154 0012D0B4 38 81 00 24 */ addi r4, r1, 0x24
/* 80130158 0012D0B8 3A C0 00 01 */ li r22, 1
/* 8013015C 0012D0BC 48 23 20 15 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>"
/* 80130160 0012D0C0 7C 79 1B 78 */ mr r25, r3
lbl_80130164:
/* 80130164 0012D0C4 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 80130168 0012D0C8 28 03 00 00 */ cmplwi r3, 0
/* 8013016C 0012D0CC 41 82 00 18 */ beq lbl_80130184
/* 80130170 0012D0D0 81 83 00 00 */ lwz r12, 0(r3)
/* 80130174 0012D0D4 38 80 00 01 */ li r4, 1
/* 80130178 0012D0D8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8013017C 0012D0DC 7D 89 03 A6 */ mtctr r12
/* 80130180 0012D0E0 4E 80 04 21 */ bctrl
lbl_80130184:
/* 80130184 0012D0E4 7E C0 07 75 */ extsb. r0, r22
/* 80130188 0012D0E8 93 3F 00 E8 */ stw r25, 0xe8(r31)
/* 8013018C 0012D0EC 41 82 00 10 */ beq lbl_8013019C
/* 80130190 0012D0F0 38 61 00 24 */ addi r3, r1, 0x24
/* 80130194 0012D0F4 38 80 00 00 */ li r4, 0
/* 80130198 0012D0F8 48 21 0C A9 */ bl __dt__6CTokenFv
lbl_8013019C:
/* 8013019C 0012D0FC 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13)
/* 801301A0 0012D100 7F 84 E3 78 */ mr r4, r28
/* 801301A4 0012D104 38 03 00 01 */ addi r0, r3, 1
/* 801301A8 0012D108 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13)
/* 801301AC 0012D10C 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 801301B0 0012D110 81 83 00 00 */ lwz r12, 0(r3)
/* 801301B4 0012D114 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 801301B8 0012D118 7D 89 03 A6 */ mtctr r12
/* 801301BC 0012D11C 4E 80 04 21 */ bctrl
/* 801301C0 0012D120 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 801301C4 0012D124 38 9F 00 F8 */ addi r4, r31, 0xf8
/* 801301C8 0012D128 81 83 00 00 */ lwz r12, 0(r3)
/* 801301CC 0012D12C 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 801301D0 0012D130 7D 89 03 A6 */ mtctr r12
/* 801301D4 0012D134 4E 80 04 21 */ bctrl
/* 801301D8 0012D138 7F E3 FB 78 */ mr r3, r31
/* 801301DC 0012D13C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 801301E0 0012D140 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 801301E4 0012D144 BA C1 00 58 */ lmw r22, 0x58(r1)
/* 801301E8 0012D148 80 01 00 94 */ lwz r0, 0x94(r1)
/* 801301EC 0012D14C 7C 08 03 A6 */ mtlr r0
/* 801301F0 0012D150 38 21 00 90 */ addi r1, r1, 0x90
/* 801301F4 0012D154 4E 80 00 20 */ blr
.global GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager
GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager:
/* 801301F8 0012D158 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801301FC 0012D15C 7C 08 02 A6 */ mflr r0
/* 80130200 0012D160 7C 64 1B 78 */ mr r4, r3
/* 80130204 0012D164 90 01 00 14 */ stw r0, 0x14(r1)
/* 80130208 0012D168 80 63 08 70 */ lwz r3, 0x870(r3)
/* 8013020C 0012D16C 4B ED B9 0D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 80130210 0012D170 C0 22 99 44 */ lfs f1, lbl_805AB664@sda21(r2)
/* 80130214 0012D174 C0 03 01 60 */ lfs f0, 0x160(r3)
/* 80130218 0012D178 EC 21 00 2A */ fadds f1, f1, f0
/* 8013021C 0012D17C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80130220 0012D180 7C 08 03 A6 */ mtlr r0
/* 80130224 0012D184 38 21 00 10 */ addi r1, r1, 0x10
/* 80130228 0012D188 4E 80 00 20 */ blr
.global GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager
GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager:
/* 8013022C 0012D18C 88 0D A3 B8 */ lbz r0, lbl_805A8F78@sda21(r13)
/* 80130230 0012D190 7C 00 07 75 */ extsb. r0, r0
/* 80130234 0012D194 40 82 00 24 */ bne lbl_80130258
/* 80130238 0012D198 C0 22 99 48 */ lfs f1, lbl_805AB668@sda21(r2)
/* 8013023C 0012D19C 3C 60 80 47 */ lis r3, lbl_8046C738@ha
/* 80130240 0012D1A0 38 00 00 01 */ li r0, 1
/* 80130244 0012D1A4 C0 02 99 3C */ lfs f0, lbl_805AB65C@sda21(r2)
/* 80130248 0012D1A8 D4 23 C7 38 */ stfsu f1, lbl_8046C738@l(r3)
/* 8013024C 0012D1AC D0 03 00 04 */ stfs f0, 4(r3)
/* 80130250 0012D1B0 D0 23 00 08 */ stfs f1, 8(r3)
/* 80130254 0012D1B4 98 0D A3 B8 */ stb r0, lbl_805A8F78@sda21(r13)
lbl_80130258:
/* 80130258 0012D1B8 3C 60 80 47 */ lis r3, lbl_8046C738@ha
/* 8013025C 0012D1BC 38 63 C7 38 */ addi r3, r3, lbl_8046C738@l
/* 80130260 0012D1C0 4E 80 00 20 */ blr
.global CalcGenRate__19CHudBillboardEffectFv
CalcGenRate__19CHudBillboardEffectFv:
/* 80130264 0012D1C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80130268 0012D1C8 80 AD A3 B0 */ lwz r5, lbl_805A8F70@sda21(r13)
/* 8013026C 0012D1CC 80 8D A3 B4 */ lwz r4, lbl_805A8F74@sda21(r13)
/* 80130270 0012D1D0 7C 05 22 14 */ add r0, r5, r4
/* 80130274 0012D1D4 2C 00 00 04 */ cmpwi r0, 4
/* 80130278 0012D1D8 41 81 00 0C */ bgt lbl_80130284
/* 8013027C 0012D1DC C0 22 99 40 */ lfs f1, lbl_805AB660@sda21(r2)
/* 80130280 0012D1E0 48 00 00 44 */ b lbl_801302C4
lbl_80130284:
/* 80130284 0012D1E4 3C 60 43 30 */ lis r3, 0x4330
/* 80130288 0012D1E8 6C 80 80 00 */ xoris r0, r4, 0x8000
/* 8013028C 0012D1EC 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80130290 0012D1F0 6C A0 80 00 */ xoris r0, r5, 0x8000
/* 80130294 0012D1F4 C8 62 99 58 */ lfd f3, lbl_805AB678@sda21(r2)
/* 80130298 0012D1F8 90 61 00 18 */ stw r3, 0x18(r1)
/* 8013029C 0012D1FC C0 22 99 50 */ lfs f1, lbl_805AB670@sda21(r2)
/* 801302A0 0012D200 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 801302A4 0012D204 90 01 00 14 */ stw r0, 0x14(r1)
/* 801302A8 0012D208 EC 00 18 28 */ fsubs f0, f0, f3
/* 801302AC 0012D20C C0 82 99 4C */ lfs f4, lbl_805AB66C@sda21(r2)
/* 801302B0 0012D210 90 61 00 10 */ stw r3, 0x10(r1)
/* 801302B4 0012D214 C8 41 00 10 */ lfd f2, 0x10(r1)
/* 801302B8 0012D218 EC 01 00 32 */ fmuls f0, f1, f0
/* 801302BC 0012D21C EC 22 18 28 */ fsubs f1, f2, f3
/* 801302C0 0012D220 EC 24 00 7A */ fmadds f1, f4, f1, f0
lbl_801302C4:
/* 801302C4 0012D224 C0 0D 8B 28 */ lfs f0, lbl_805A76E8@sda21(r13)
/* 801302C8 0012D228 D0 21 00 08 */ stfs f1, 8(r1)
/* 801302CC 0012D22C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801302D0 0012D230 40 80 00 0C */ bge lbl_801302DC
/* 801302D4 0012D234 38 61 00 08 */ addi r3, r1, 8
/* 801302D8 0012D238 48 00 00 08 */ b lbl_801302E0
lbl_801302DC:
/* 801302DC 0012D23C 38 6D 8B 28 */ addi r3, r13, lbl_805A76E8@sda21
lbl_801302E0:
/* 801302E0 0012D240 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2)
/* 801302E4 0012D244 C0 03 00 00 */ lfs f0, 0(r3)
/* 801302E8 0012D248 EC 21 00 28 */ fsubs f1, f1, f0
/* 801302EC 0012D24C 38 21 00 20 */ addi r1, r1, 0x20
/* 801302F0 0012D250 4E 80 00 20 */ blr

View File

@ -0,0 +1,583 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__20CScriptActorKeyframeFv
__dt__20CScriptActorKeyframeFv:
/* 800FE03C 000FAF9C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FE040 000FAFA0 7C 08 02 A6 */ mflr r0
/* 800FE044 000FAFA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FE048 000FAFA8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FE04C 000FAFAC 7C 9F 23 78 */ mr r31, r4
/* 800FE050 000FAFB0 93 C1 00 08 */ stw r30, 8(r1)
/* 800FE054 000FAFB4 7C 7E 1B 79 */ or. r30, r3, r3
/* 800FE058 000FAFB8 41 82 00 28 */ beq lbl_800FE080
/* 800FE05C 000FAFBC 3C A0 80 3E */ lis r5, lbl_803DFE20@ha
/* 800FE060 000FAFC0 38 80 00 00 */ li r4, 0
/* 800FE064 000FAFC4 38 05 FE 20 */ addi r0, r5, lbl_803DFE20@l
/* 800FE068 000FAFC8 90 1E 00 00 */ stw r0, 0(r30)
/* 800FE06C 000FAFCC 4B F5 32 09 */ bl __dt__7CEntityFv
/* 800FE070 000FAFD0 7F E0 07 35 */ extsh. r0, r31
/* 800FE074 000FAFD4 40 81 00 0C */ ble lbl_800FE080
/* 800FE078 000FAFD8 7F C3 F3 78 */ mr r3, r30
/* 800FE07C 000FAFDC 48 21 78 B5 */ bl Free__7CMemoryFPCv
lbl_800FE080:
/* 800FE080 000FAFE0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FE084 000FAFE4 7F C3 F3 78 */ mr r3, r30
/* 800FE088 000FAFE8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FE08C 000FAFEC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800FE090 000FAFF0 7C 08 03 A6 */ mtlr r0
/* 800FE094 000FAFF4 38 21 00 10 */ addi r1, r1, 0x10
/* 800FE098 000FAFF8 4E 80 00 20 */ blr
.global Think__20CScriptActorKeyframeFfR13CStateManager
Think__20CScriptActorKeyframeFfR13CStateManager:
/* 800FE09C 000FAFFC 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800FE0A0 000FB000 7C 08 02 A6 */ mflr r0
/* 800FE0A4 000FB004 90 01 00 64 */ stw r0, 0x64(r1)
/* 800FE0A8 000FB008 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 800FE0AC 000FB00C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 800FE0B0 000FB010 BF 61 00 3C */ stmw r27, 0x3c(r1)
/* 800FE0B4 000FB014 7C 7D 1B 78 */ mr r29, r3
/* 800FE0B8 000FB018 88 63 00 44 */ lbz r3, 0x44(r3)
/* 800FE0BC 000FB01C FF E0 08 90 */ fmr f31, f1
/* 800FE0C0 000FB020 7C 9E 23 78 */ mr r30, r4
/* 800FE0C4 000FB024 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 800FE0C8 000FB028 40 82 01 EC */ bne lbl_800FE2B4
/* 800FE0CC 000FB02C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 800FE0D0 000FB030 41 82 01 E4 */ beq lbl_800FE2B4
/* 800FE0D4 000FB034 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 800FE0D8 000FB038 41 82 01 DC */ beq lbl_800FE2B4
/* 800FE0DC 000FB03C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 800FE0E0 000FB040 41 82 01 D4 */ beq lbl_800FE2B4
/* 800FE0E4 000FB044 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 800FE0E8 000FB048 C0 22 93 A0 */ lfs f1, lbl_805AB0C0@sda21(r2)
/* 800FE0EC 000FB04C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800FE0F0 000FB050 40 81 01 C4 */ ble lbl_800FE2B4
/* 800FE0F4 000FB054 EC 00 F8 28 */ fsubs f0, f0, f31
/* 800FE0F8 000FB058 D0 1D 00 40 */ stfs f0, 0x40(r29)
/* 800FE0FC 000FB05C C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 800FE100 000FB060 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800FE104 000FB064 4C 40 13 82 */ cror 2, 0, 2
/* 800FE108 000FB068 40 82 01 AC */ bne lbl_800FE2B4
/* 800FE10C 000FB06C 88 1D 00 44 */ lbz r0, 0x44(r29)
/* 800FE110 000FB070 38 60 00 00 */ li r3, 0
/* 800FE114 000FB074 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800FE118 000FB078 98 1D 00 44 */ stb r0, 0x44(r29)
/* 800FE11C 000FB07C 83 FD 00 2C */ lwz r31, 0x2c(r29)
/* 800FE120 000FB080 48 00 01 7C */ b lbl_800FE29C
lbl_800FE124:
/* 800FE124 000FB084 80 1F 00 00 */ lwz r0, 0(r31)
/* 800FE128 000FB088 2C 00 00 12 */ cmpwi r0, 0x12
/* 800FE12C 000FB08C 40 82 01 6C */ bne lbl_800FE298
/* 800FE130 000FB090 80 1F 00 04 */ lwz r0, 4(r31)
/* 800FE134 000FB094 2C 00 00 14 */ cmpwi r0, 0x14
/* 800FE138 000FB098 40 82 01 60 */ bne lbl_800FE298
/* 800FE13C 000FB09C 80 1F 00 08 */ lwz r0, 8(r31)
/* 800FE140 000FB0A0 7F C4 F3 78 */ mr r4, r30
/* 800FE144 000FB0A4 38 61 00 0C */ addi r3, r1, 0xc
/* 800FE148 000FB0A8 38 A1 00 14 */ addi r5, r1, 0x14
/* 800FE14C 000FB0AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FE150 000FB0B0 4B F4 9D CD */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800FE154 000FB0B4 A0 01 00 0C */ lhz r0, 0xc(r1)
/* 800FE158 000FB0B8 7F C3 F3 78 */ mr r3, r30
/* 800FE15C 000FB0BC 38 81 00 08 */ addi r4, r1, 8
/* 800FE160 000FB0C0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800FE164 000FB0C4 B0 01 00 08 */ sth r0, 8(r1)
/* 800FE168 000FB0C8 4B F4 E4 0D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800FE16C 000FB0CC 7C 60 1B 78 */ mr r0, r3
/* 800FE170 000FB0D0 38 61 00 28 */ addi r3, r1, 0x28
/* 800FE174 000FB0D4 7C 1B 03 78 */ mr r27, r0
/* 800FE178 000FB0D8 7F 64 DB 78 */ mr r4, r27
/* 800FE17C 000FB0DC 4B FA DB F1 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity"
/* 800FE180 000FB0E0 83 83 00 04 */ lwz r28, 4(r3)
/* 800FE184 000FB0E4 28 1C 00 00 */ cmplwi r28, 0
/* 800FE188 000FB0E8 41 82 00 78 */ beq lbl_800FE200
/* 800FE18C 000FB0EC 80 9C 00 64 */ lwz r4, 0x64(r28)
/* 800FE190 000FB0F0 38 60 00 00 */ li r3, 0
/* 800FE194 000FB0F4 28 04 00 00 */ cmplwi r4, 0
/* 800FE198 000FB0F8 41 82 00 14 */ beq lbl_800FE1AC
/* 800FE19C 000FB0FC 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800FE1A0 000FB100 28 00 00 00 */ cmplwi r0, 0
/* 800FE1A4 000FB104 41 82 00 08 */ beq lbl_800FE1AC
/* 800FE1A8 000FB108 38 60 00 01 */ li r3, 1
lbl_800FE1AC:
/* 800FE1AC 000FB10C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE1B0 000FB110 41 82 00 E8 */ beq lbl_800FE298
/* 800FE1B4 000FB114 80 64 00 10 */ lwz r3, 0x10(r4)
/* 800FE1B8 000FB118 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800FE1BC 000FB11C 4B F2 BD E1 */ bl IsAdditiveAnimation__9CAnimDataCFUi
/* 800FE1C0 000FB120 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE1C4 000FB124 41 82 00 18 */ beq lbl_800FE1DC
/* 800FE1C8 000FB128 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 800FE1CC 000FB12C 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800FE1D0 000FB130 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE1D4 000FB134 4B F2 BF 85 */ bl DelAdditiveAnimation__9CAnimDataFUi
/* 800FE1D8 000FB138 48 00 00 C0 */ b lbl_800FE298
lbl_800FE1DC:
/* 800FE1DC 000FB13C 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 800FE1E0 000FB140 80 BD 00 34 */ lwz r5, 0x34(r29)
/* 800FE1E4 000FB144 80 83 00 10 */ lwz r4, 0x10(r3)
/* 800FE1E8 000FB148 A8 04 02 08 */ lha r0, 0x208(r4)
/* 800FE1EC 000FB14C 7C 05 00 00 */ cmpw r5, r0
/* 800FE1F0 000FB150 40 82 00 A8 */ bne lbl_800FE298
/* 800FE1F4 000FB154 38 80 00 00 */ li r4, 0
/* 800FE1F8 000FB158 48 01 73 69 */ bl EnableLooping__10CModelDataFb
/* 800FE1FC 000FB15C 48 00 00 9C */ b lbl_800FE298
lbl_800FE200:
/* 800FE200 000FB160 7F 64 DB 78 */ mr r4, r27
/* 800FE204 000FB164 38 61 00 20 */ addi r3, r1, 0x20
/* 800FE208 000FB168 4B FA E8 55 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity"
/* 800FE20C 000FB16C 83 83 00 04 */ lwz r28, 4(r3)
/* 800FE210 000FB170 28 1C 00 00 */ cmplwi r28, 0
/* 800FE214 000FB174 41 82 00 84 */ beq lbl_800FE298
/* 800FE218 000FB178 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 800FE21C 000FB17C 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800FE220 000FB180 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE224 000FB184 4B F2 BD 79 */ bl IsAdditiveAnimation__9CAnimDataCFUi
/* 800FE228 000FB188 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE22C 000FB18C 41 82 00 18 */ beq lbl_800FE244
/* 800FE230 000FB190 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 800FE234 000FB194 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800FE238 000FB198 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE23C 000FB19C 4B F2 BF 1D */ bl DelAdditiveAnimation__9CAnimDataFUi
/* 800FE240 000FB1A0 48 00 00 58 */ b lbl_800FE298
lbl_800FE244:
/* 800FE244 000FB1A4 80 DC 04 50 */ lwz r6, 0x450(r28)
/* 800FE248 000FB1A8 80 06 02 B8 */ lwz r0, 0x2b8(r6)
/* 800FE24C 000FB1AC 2C 00 00 11 */ cmpwi r0, 0x11
/* 800FE250 000FB1B0 40 82 00 48 */ bne lbl_800FE298
/* 800FE254 000FB1B4 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 800FE258 000FB1B8 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800FE25C 000FB1BC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE260 000FB1C0 A8 03 02 08 */ lha r0, 0x208(r3)
/* 800FE264 000FB1C4 7C 04 00 00 */ cmpw r4, r0
/* 800FE268 000FB1C8 40 82 00 30 */ bne lbl_800FE298
/* 800FE26C 000FB1CC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 800FE270 000FB1D0 38 00 00 0A */ li r0, 0xa
/* 800FE274 000FB1D4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l
/* 800FE278 000FB1D8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800FE27C 000FB1DC 38 66 00 04 */ addi r3, r6, 4
/* 800FE280 000FB1E0 38 81 00 18 */ addi r4, r1, 0x18
/* 800FE284 000FB1E4 90 A1 00 18 */ stw r5, 0x18(r1)
/* 800FE288 000FB1E8 48 03 35 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd
/* 800FE28C 000FB1EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 800FE290 000FB1F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l
/* 800FE294 000FB1F4 90 01 00 18 */ stw r0, 0x18(r1)
lbl_800FE298:
/* 800FE298 000FB1F8 3B FF 00 0C */ addi r31, r31, 0xc
lbl_800FE29C:
/* 800FE29C 000FB1FC 80 1D 00 24 */ lwz r0, 0x24(r29)
/* 800FE2A0 000FB200 80 7D 00 2C */ lwz r3, 0x2c(r29)
/* 800FE2A4 000FB204 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800FE2A8 000FB208 7C 03 02 14 */ add r0, r3, r0
/* 800FE2AC 000FB20C 7C 1F 00 40 */ cmplw r31, r0
/* 800FE2B0 000FB210 40 82 FE 74 */ bne lbl_800FE124
lbl_800FE2B4:
/* 800FE2B4 000FB214 FC 20 F8 90 */ fmr f1, f31
/* 800FE2B8 000FB218 7F A3 EB 78 */ mr r3, r29
/* 800FE2BC 000FB21C 7F C4 F3 78 */ mr r4, r30
/* 800FE2C0 000FB220 4B F5 2D F9 */ bl Think__7CEntityFfR13CStateManager
/* 800FE2C4 000FB224 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 800FE2C8 000FB228 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 800FE2CC 000FB22C BB 61 00 3C */ lmw r27, 0x3c(r1)
/* 800FE2D0 000FB230 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800FE2D4 000FB234 7C 08 03 A6 */ mtlr r0
/* 800FE2D8 000FB238 38 21 00 60 */ addi r1, r1, 0x60
/* 800FE2DC 000FB23C 4E 80 00 20 */ blr
.global UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager
UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager:
/* 800FE2E0 000FB240 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 800FE2E4 000FB244 7C 08 02 A6 */ mflr r0
/* 800FE2E8 000FB248 90 01 00 84 */ stw r0, 0x84(r1)
/* 800FE2EC 000FB24C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 800FE2F0 000FB250 93 C1 00 78 */ stw r30, 0x78(r1)
/* 800FE2F4 000FB254 7C 7E 1B 78 */ mr r30, r3
/* 800FE2F8 000FB258 93 A1 00 74 */ stw r29, 0x74(r1)
/* 800FE2FC 000FB25C 93 81 00 70 */ stw r28, 0x70(r1)
/* 800FE300 000FB260 7C BC 2B 78 */ mr r28, r5
/* 800FE304 000FB264 7F 83 E3 78 */ mr r3, r28
/* 800FE308 000FB268 A0 04 00 00 */ lhz r0, 0(r4)
/* 800FE30C 000FB26C 38 81 00 10 */ addi r4, r1, 0x10
/* 800FE310 000FB270 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800FE314 000FB274 4B F4 E2 61 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800FE318 000FB278 7C 60 1B 78 */ mr r0, r3
/* 800FE31C 000FB27C 38 61 00 2C */ addi r3, r1, 0x2c
/* 800FE320 000FB280 7C 1D 03 78 */ mr r29, r0
/* 800FE324 000FB284 7F A4 EB 78 */ mr r4, r29
/* 800FE328 000FB288 4B FA DA 45 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity"
/* 800FE32C 000FB28C 83 E3 00 04 */ lwz r31, 4(r3)
/* 800FE330 000FB290 28 1F 00 00 */ cmplwi r31, 0
/* 800FE334 000FB294 40 82 00 14 */ bne lbl_800FE348
/* 800FE338 000FB298 7F A4 EB 78 */ mr r4, r29
/* 800FE33C 000FB29C 38 61 00 24 */ addi r3, r1, 0x24
/* 800FE340 000FB2A0 4B FA AA D5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 800FE344 000FB2A4 83 E3 00 04 */ lwz r31, 4(r3)
lbl_800FE348:
/* 800FE348 000FB2A8 28 1F 00 00 */ cmplwi r31, 0
/* 800FE34C 000FB2AC 41 82 01 50 */ beq lbl_800FE49C
/* 800FE350 000FB2B0 88 1F 00 30 */ lbz r0, 0x30(r31)
/* 800FE354 000FB2B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800FE358 000FB2B8 40 82 00 24 */ bne lbl_800FE37C
/* 800FE35C 000FB2BC A0 1E 00 08 */ lhz r0, 8(r30)
/* 800FE360 000FB2C0 7F 83 E3 78 */ mr r3, r28
/* 800FE364 000FB2C4 7F E4 FB 78 */ mr r4, r31
/* 800FE368 000FB2C8 38 A1 00 0C */ addi r5, r1, 0xc
/* 800FE36C 000FB2CC B0 01 00 08 */ sth r0, 8(r1)
/* 800FE370 000FB2D0 38 C0 00 01 */ li r6, 1
/* 800FE374 000FB2D4 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800FE378 000FB2D8 4B F4 5B 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_800FE37C:
/* 800FE37C 000FB2DC C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2)
/* 800FE380 000FB2E0 38 80 00 00 */ li r4, 0
/* 800FE384 000FB2E4 38 00 00 03 */ li r0, 3
/* 800FE388 000FB2E8 98 81 00 1C */ stb r4, 0x1c(r1)
/* 800FE38C 000FB2EC FC 40 08 90 */ fmr f2, f1
/* 800FE390 000FB2F0 38 61 00 20 */ addi r3, r1, 0x20
/* 800FE394 000FB2F4 FC 60 08 90 */ fmr f3, f1
/* 800FE398 000FB2F8 98 81 00 1D */ stb r4, 0x1d(r1)
/* 800FE39C 000FB2FC FC 80 08 90 */ fmr f4, f1
/* 800FE3A0 000FB300 B0 01 00 1E */ sth r0, 0x1e(r1)
/* 800FE3A4 000FB304 48 26 50 49 */ bl __ct__6CColorFffff
/* 800FE3A8 000FB308 88 01 00 1C */ lbz r0, 0x1c(r1)
/* 800FE3AC 000FB30C 38 60 00 00 */ li r3, 0
/* 800FE3B0 000FB310 98 1F 00 B4 */ stb r0, 0xb4(r31)
/* 800FE3B4 000FB314 88 01 00 1D */ lbz r0, 0x1d(r1)
/* 800FE3B8 000FB318 98 1F 00 B5 */ stb r0, 0xb5(r31)
/* 800FE3BC 000FB31C A0 01 00 1E */ lhz r0, 0x1e(r1)
/* 800FE3C0 000FB320 B0 1F 00 B6 */ sth r0, 0xb6(r31)
/* 800FE3C4 000FB324 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800FE3C8 000FB328 90 1F 00 B8 */ stw r0, 0xb8(r31)
/* 800FE3CC 000FB32C 80 9F 00 64 */ lwz r4, 0x64(r31)
/* 800FE3D0 000FB330 28 04 00 00 */ cmplwi r4, 0
/* 800FE3D4 000FB334 41 82 00 14 */ beq lbl_800FE3E8
/* 800FE3D8 000FB338 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800FE3DC 000FB33C 28 00 00 00 */ cmplwi r0, 0
/* 800FE3E0 000FB340 41 82 00 08 */ beq lbl_800FE3E8
/* 800FE3E4 000FB344 38 60 00 01 */ li r3, 1
lbl_800FE3E8:
/* 800FE3E8 000FB348 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE3EC 000FB34C 41 82 01 9C */ beq lbl_800FE588
/* 800FE3F0 000FB350 80 64 00 10 */ lwz r3, 0x10(r4)
/* 800FE3F4 000FB354 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 800FE3F8 000FB358 4B F2 BB A5 */ bl IsAdditiveAnimation__9CAnimDataCFUi
/* 800FE3FC 000FB35C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE400 000FB360 41 82 00 28 */ beq lbl_800FE428
/* 800FE404 000FB364 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE408 000FB368 88 1E 00 44 */ lbz r0, 0x44(r30)
/* 800FE40C 000FB36C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE410 000FB370 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 800FE414 000FB374 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f
/* 800FE418 000FB378 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2)
/* 800FE41C 000FB37C 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f
/* 800FE420 000FB380 4B F2 BD B1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb
/* 800FE424 000FB384 48 00 01 64 */ b lbl_800FE588
lbl_800FE428:
/* 800FE428 000FB388 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 800FE42C 000FB38C 38 00 00 00 */ li r0, 0
/* 800FE430 000FB390 C0 02 93 A4 */ lfs f0, lbl_805AB0C4@sda21(r2)
/* 800FE434 000FB394 38 C0 FF FF */ li r6, -1
/* 800FE438 000FB398 38 60 00 01 */ li r3, 1
/* 800FE43C 000FB39C 90 81 00 48 */ stw r4, 0x48(r1)
/* 800FE440 000FB3A0 38 81 00 48 */ addi r4, r1, 0x48
/* 800FE444 000FB3A4 38 A0 00 00 */ li r5, 0
/* 800FE448 000FB3A8 90 C1 00 4C */ stw r6, 0x4c(r1)
/* 800FE44C 000FB3AC D0 01 00 50 */ stfs f0, 0x50(r1)
/* 800FE450 000FB3B0 98 61 00 54 */ stb r3, 0x54(r1)
/* 800FE454 000FB3B4 90 01 00 58 */ stw r0, 0x58(r1)
/* 800FE458 000FB3B8 90 01 00 5C */ stw r0, 0x5c(r1)
/* 800FE45C 000FB3BC 98 01 00 60 */ stb r0, 0x60(r1)
/* 800FE460 000FB3C0 90 01 00 64 */ stw r0, 0x64(r1)
/* 800FE464 000FB3C4 90 01 00 68 */ stw r0, 0x68(r1)
/* 800FE468 000FB3C8 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800FE46C 000FB3CC 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE470 000FB3D0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE474 000FB3D4 4B F2 E9 09 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb
/* 800FE478 000FB3D8 88 1E 00 44 */ lbz r0, 0x44(r30)
/* 800FE47C 000FB3DC 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE480 000FB3E0 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f
/* 800FE484 000FB3E4 48 01 70 DD */ bl EnableLooping__10CModelDataFb
/* 800FE488 000FB3E8 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE48C 000FB3EC C0 3E 00 3C */ lfs f1, 0x3c(r30)
/* 800FE490 000FB3F0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE494 000FB3F4 4B F2 CF C5 */ bl MultiplyPlaybackRate__9CAnimDataFf
/* 800FE498 000FB3F8 48 00 00 F0 */ b lbl_800FE588
lbl_800FE49C:
/* 800FE49C 000FB3FC 7F A4 EB 78 */ mr r4, r29
/* 800FE4A0 000FB400 38 61 00 14 */ addi r3, r1, 0x14
/* 800FE4A4 000FB404 4B FA E5 B9 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity"
/* 800FE4A8 000FB408 83 E3 00 04 */ lwz r31, 4(r3)
/* 800FE4AC 000FB40C 28 1F 00 00 */ cmplwi r31, 0
/* 800FE4B0 000FB410 41 82 00 D8 */ beq lbl_800FE588
/* 800FE4B4 000FB414 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE4B8 000FB418 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 800FE4BC 000FB41C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE4C0 000FB420 4B F2 BA DD */ bl IsAdditiveAnimation__9CAnimDataCFUi
/* 800FE4C4 000FB424 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800FE4C8 000FB428 41 82 00 28 */ beq lbl_800FE4F0
/* 800FE4CC 000FB42C 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 800FE4D0 000FB430 88 1E 00 44 */ lbz r0, 0x44(r30)
/* 800FE4D4 000FB434 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800FE4D8 000FB438 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 800FE4DC 000FB43C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f
/* 800FE4E0 000FB440 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2)
/* 800FE4E4 000FB444 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f
/* 800FE4E8 000FB448 4B F2 BC E9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb
/* 800FE4EC 000FB44C 48 00 00 9C */ b lbl_800FE588
lbl_800FE4F0:
/* 800FE4F0 000FB450 88 DE 00 44 */ lbz r6, 0x44(r30)
/* 800FE4F4 000FB454 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 800FE4F8 000FB458 88 01 00 40 */ lbz r0, 0x40(r1)
/* 800FE4FC 000FB45C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l
/* 800FE500 000FB460 50 C0 06 30 */ rlwimi r0, r6, 0, 0x18, 0x18
/* 800FE504 000FB464 C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 800FE508 000FB468 81 1E 00 34 */ lwz r8, 0x34(r30)
/* 800FE50C 000FB46C 3C 60 80 3E */ lis r3, lbl_803DFE40@ha
/* 800FE510 000FB470 80 FF 04 50 */ lwz r7, 0x450(r31)
/* 800FE514 000FB474 38 80 00 13 */ li r4, 0x13
/* 800FE518 000FB478 90 A1 00 34 */ stw r5, 0x34(r1)
/* 800FE51C 000FB47C 38 A3 FE 40 */ addi r5, r3, lbl_803DFE40@l
/* 800FE520 000FB480 3B C7 00 04 */ addi r30, r7, 4
/* 800FE524 000FB484 98 01 00 40 */ stb r0, 0x40(r1)
/* 800FE528 000FB488 54 00 06 3E */ clrlwi r0, r0, 0x18
/* 800FE52C 000FB48C 50 C0 16 72 */ rlwimi r0, r6, 2, 0x19, 0x19
/* 800FE530 000FB490 7F C3 F3 78 */ mr r3, r30
/* 800FE534 000FB494 90 81 00 38 */ stw r4, 0x38(r1)
/* 800FE538 000FB498 38 80 00 13 */ li r4, 0x13
/* 800FE53C 000FB49C 90 A1 00 34 */ stw r5, 0x34(r1)
/* 800FE540 000FB4A0 91 01 00 3C */ stw r8, 0x3c(r1)
/* 800FE544 000FB4A4 98 01 00 40 */ stb r0, 0x40(r1)
/* 800FE548 000FB4A8 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 800FE54C 000FB4AC 48 03 2E ED */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 800FE550 000FB4B0 80 01 00 38 */ lwz r0, 0x38(r1)
/* 800FE554 000FB4B4 3C 60 80 3E */ lis r3, lbl_803DFE40@ha
/* 800FE558 000FB4B8 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l
/* 800FE55C 000FB4BC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 800FE560 000FB4C0 90 1E 02 20 */ stw r0, 0x220(r30)
/* 800FE564 000FB4C4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l
/* 800FE568 000FB4C8 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 800FE56C 000FB4CC 88 61 00 40 */ lbz r3, 0x40(r1)
/* 800FE570 000FB4D0 90 BE 02 24 */ stw r5, 0x224(r30)
/* 800FE574 000FB4D4 C0 01 00 44 */ lfs f0, 0x44(r1)
/* 800FE578 000FB4D8 98 7E 02 28 */ stb r3, 0x228(r30)
/* 800FE57C 000FB4DC 90 81 00 34 */ stw r4, 0x34(r1)
/* 800FE580 000FB4E0 D0 1E 02 2C */ stfs f0, 0x22c(r30)
/* 800FE584 000FB4E4 90 01 00 34 */ stw r0, 0x34(r1)
lbl_800FE588:
/* 800FE588 000FB4E8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800FE58C 000FB4EC 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 800FE590 000FB4F0 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 800FE594 000FB4F4 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 800FE598 000FB4F8 83 81 00 70 */ lwz r28, 0x70(r1)
/* 800FE59C 000FB4FC 7C 08 03 A6 */ mtlr r0
/* 800FE5A0 000FB500 38 21 00 80 */ addi r1, r1, 0x80
/* 800FE5A4 000FB504 4E 80 00 20 */ blr
.global __dt__14CBCScriptedCmdFv
__dt__14CBCScriptedCmdFv:
/* 800FE5A8 000FB508 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FE5AC 000FB50C 7C 08 02 A6 */ mflr r0
/* 800FE5B0 000FB510 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FE5B4 000FB514 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FE5B8 000FB518 7C 7F 1B 79 */ or. r31, r3, r3
/* 800FE5BC 000FB51C 41 82 00 30 */ beq lbl_800FE5EC
/* 800FE5C0 000FB520 3C 60 80 3E */ lis r3, lbl_803DFE40@ha
/* 800FE5C4 000FB524 38 03 FE 40 */ addi r0, r3, lbl_803DFE40@l
/* 800FE5C8 000FB528 90 1F 00 00 */ stw r0, 0(r31)
/* 800FE5CC 000FB52C 41 82 00 10 */ beq lbl_800FE5DC
/* 800FE5D0 000FB530 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 800FE5D4 000FB534 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l
/* 800FE5D8 000FB538 90 1F 00 00 */ stw r0, 0(r31)
lbl_800FE5DC:
/* 800FE5DC 000FB53C 7C 80 07 35 */ extsh. r0, r4
/* 800FE5E0 000FB540 40 81 00 0C */ ble lbl_800FE5EC
/* 800FE5E4 000FB544 7F E3 FB 78 */ mr r3, r31
/* 800FE5E8 000FB548 48 21 73 49 */ bl Free__7CMemoryFPCv
lbl_800FE5EC:
/* 800FE5EC 000FB54C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FE5F0 000FB550 7F E3 FB 78 */ mr r3, r31
/* 800FE5F4 000FB554 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FE5F8 000FB558 7C 08 03 A6 */ mtlr r0
/* 800FE5FC 000FB55C 38 21 00 10 */ addi r1, r1, 0x10
/* 800FE600 000FB560 4E 80 00 20 */ blr
.global Accept__20CScriptActorKeyframeFR8IVisitor
Accept__20CScriptActorKeyframeFR8IVisitor:
/* 800FE604 000FB564 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FE608 000FB568 7C 08 02 A6 */ mflr r0
/* 800FE60C 000FB56C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FE610 000FB570 7C 60 1B 78 */ mr r0, r3
/* 800FE614 000FB574 7C 83 23 78 */ mr r3, r4
/* 800FE618 000FB578 81 84 00 00 */ lwz r12, 0(r4)
/* 800FE61C 000FB57C 7C 04 03 78 */ mr r4, r0
/* 800FE620 000FB580 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 800FE624 000FB584 7D 89 03 A6 */ mtctr r12
/* 800FE628 000FB588 4E 80 04 21 */ bctrl
/* 800FE62C 000FB58C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FE630 000FB590 7C 08 03 A6 */ mtlr r0
/* 800FE634 000FB594 38 21 00 10 */ addi r1, r1, 0x10
/* 800FE638 000FB598 4E 80 00 20 */ blr
.global AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800FE63C 000FB59C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800FE640 000FB5A0 7C 08 02 A6 */ mflr r0
/* 800FE644 000FB5A4 90 01 00 54 */ stw r0, 0x54(r1)
/* 800FE648 000FB5A8 BE E1 00 2C */ stmw r23, 0x2c(r1)
/* 800FE64C 000FB5AC 7C 9D 23 78 */ mr r29, r4
/* 800FE650 000FB5B0 2C 1D 00 23 */ cmpwi r29, 0x23
/* 800FE654 000FB5B4 7C 7C 1B 78 */ mr r28, r3
/* 800FE658 000FB5B8 7C BE 2B 78 */ mr r30, r5
/* 800FE65C 000FB5BC 7C DF 33 78 */ mr r31, r6
/* 800FE660 000FB5C0 41 82 01 0C */ beq lbl_800FE76C
/* 800FE664 000FB5C4 40 80 01 1C */ bge lbl_800FE780
/* 800FE668 000FB5C8 2C 1D 00 13 */ cmpwi r29, 0x13
/* 800FE66C 000FB5CC 41 82 00 08 */ beq lbl_800FE674
/* 800FE670 000FB5D0 48 00 01 10 */ b lbl_800FE780
lbl_800FE674:
/* 800FE674 000FB5D4 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800FE678 000FB5D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800FE67C 000FB5DC 41 82 01 04 */ beq lbl_800FE780
/* 800FE680 000FB5E0 88 1C 00 44 */ lbz r0, 0x44(r28)
/* 800FE684 000FB5E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800FE688 000FB5E8 40 82 00 B4 */ bne lbl_800FE73C
/* 800FE68C 000FB5EC 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 800FE690 000FB5F0 48 00 00 94 */ b lbl_800FE724
lbl_800FE694:
/* 800FE694 000FB5F4 80 1B 00 00 */ lwz r0, 0(r27)
/* 800FE698 000FB5F8 2C 00 00 12 */ cmpwi r0, 0x12
/* 800FE69C 000FB5FC 40 82 00 84 */ bne lbl_800FE720
/* 800FE6A0 000FB600 80 1B 00 04 */ lwz r0, 4(r27)
/* 800FE6A4 000FB604 2C 00 00 14 */ cmpwi r0, 0x14
/* 800FE6A8 000FB608 40 82 00 78 */ bne lbl_800FE720
/* 800FE6AC 000FB60C 80 1B 00 08 */ lwz r0, 8(r27)
/* 800FE6B0 000FB610 7F E4 FB 78 */ mr r4, r31
/* 800FE6B4 000FB614 38 61 00 14 */ addi r3, r1, 0x14
/* 800FE6B8 000FB618 38 A1 00 10 */ addi r5, r1, 0x10
/* 800FE6BC 000FB61C 90 01 00 10 */ stw r0, 0x10(r1)
/* 800FE6C0 000FB620 4B F4 99 09 */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 800FE6C4 000FB624 83 41 00 18 */ lwz r26, 0x18(r1)
/* 800FE6C8 000FB628 83 21 00 1C */ lwz r25, 0x1c(r1)
/* 800FE6CC 000FB62C 83 01 00 20 */ lwz r24, 0x20(r1)
/* 800FE6D0 000FB630 82 E1 00 14 */ lwz r23, 0x14(r1)
/* 800FE6D4 000FB634 48 00 00 2C */ b lbl_800FE700
lbl_800FE6D8:
/* 800FE6D8 000FB638 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 800FE6DC 000FB63C 7F 83 E3 78 */ mr r3, r28
/* 800FE6E0 000FB640 7F E5 FB 78 */ mr r5, r31
/* 800FE6E4 000FB644 38 81 00 0C */ addi r4, r1, 0xc
/* 800FE6E8 000FB648 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800FE6EC 000FB64C 4B FF FB F5 */ bl UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager
/* 800FE6F0 000FB650 7F 43 D3 78 */ mr r3, r26
/* 800FE6F4 000FB654 7E E4 BB 78 */ mr r4, r23
/* 800FE6F8 000FB658 48 23 DE E9 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 800FE6FC 000FB65C 7C 77 1B 78 */ mr r23, r3
lbl_800FE700:
/* 800FE700 000FB660 7C 17 C8 40 */ cmplw r23, r25
/* 800FE704 000FB664 38 00 00 00 */ li r0, 0
/* 800FE708 000FB668 40 82 00 0C */ bne lbl_800FE714
/* 800FE70C 000FB66C 7C 1A C0 40 */ cmplw r26, r24
/* 800FE710 000FB670 41 82 00 08 */ beq lbl_800FE718
lbl_800FE714:
/* 800FE714 000FB674 38 00 00 01 */ li r0, 1
lbl_800FE718:
/* 800FE718 000FB678 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800FE71C 000FB67C 40 82 FF BC */ bne lbl_800FE6D8
lbl_800FE720:
/* 800FE720 000FB680 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_800FE724:
/* 800FE724 000FB684 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800FE728 000FB688 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800FE72C 000FB68C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800FE730 000FB690 7C 03 02 14 */ add r0, r3, r0
/* 800FE734 000FB694 7C 1B 00 40 */ cmplw r27, r0
/* 800FE738 000FB698 40 82 FF 5C */ bne lbl_800FE694
lbl_800FE73C:
/* 800FE73C 000FB69C 88 1C 00 44 */ lbz r0, 0x44(r28)
/* 800FE740 000FB6A0 38 60 00 01 */ li r3, 1
/* 800FE744 000FB6A4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800FE748 000FB6A8 7F 83 E3 78 */ mr r3, r28
/* 800FE74C 000FB6AC 98 1C 00 44 */ stb r0, 0x44(r28)
/* 800FE750 000FB6B0 7F E5 FB 78 */ mr r5, r31
/* 800FE754 000FB6B4 38 80 00 12 */ li r4, 0x12
/* 800FE758 000FB6B8 38 C0 FF FF */ li r6, -1
/* 800FE75C 000FB6BC C0 1C 00 38 */ lfs f0, 0x38(r28)
/* 800FE760 000FB6C0 D0 1C 00 40 */ stfs f0, 0x40(r28)
/* 800FE764 000FB6C4 4B F5 29 5D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 800FE768 000FB6C8 48 00 00 18 */ b lbl_800FE780
lbl_800FE76C:
/* 800FE76C 000FB6CC 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800FE770 000FB6D0 2C 00 FF FF */ cmpwi r0, -1
/* 800FE774 000FB6D4 40 82 00 0C */ bne lbl_800FE780
/* 800FE778 000FB6D8 38 00 00 00 */ li r0, 0
/* 800FE77C 000FB6DC 90 1C 00 34 */ stw r0, 0x34(r28)
lbl_800FE780:
/* 800FE780 000FB6E0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800FE784 000FB6E4 7F 83 E3 78 */ mr r3, r28
/* 800FE788 000FB6E8 7F A4 EB 78 */ mr r4, r29
/* 800FE78C 000FB6EC 7F E6 FB 78 */ mr r6, r31
/* 800FE790 000FB6F0 B0 01 00 08 */ sth r0, 8(r1)
/* 800FE794 000FB6F4 38 A1 00 08 */ addi r5, r1, 8
/* 800FE798 000FB6F8 4B F5 29 C5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800FE79C 000FB6FC BA E1 00 2C */ lmw r23, 0x2c(r1)
/* 800FE7A0 000FB700 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800FE7A4 000FB704 7C 08 03 A6 */ mtlr r0
/* 800FE7A8 000FB708 38 21 00 50 */ addi r1, r1, 0x50
/* 800FE7AC 000FB70C 4E 80 00 20 */ blr
.global "__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib"
"__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib":
/* 800FE7B0 000FB710 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800FE7B4 000FB714 7C 08 02 A6 */ mflr r0
/* 800FE7B8 000FB718 7C AB 2B 78 */ mr r11, r5
/* 800FE7BC 000FB71C 7C C5 33 78 */ mr r5, r6
/* 800FE7C0 000FB720 90 01 00 44 */ stw r0, 0x44(r1)
/* 800FE7C4 000FB724 DB E1 00 38 */ stfd f31, 0x38(r1)
/* 800FE7C8 000FB728 FF E0 10 90 */ fmr f31, f2
/* 800FE7CC 000FB72C DB C1 00 30 */ stfd f30, 0x30(r1)
/* 800FE7D0 000FB730 FF C0 08 90 */ fmr f30, f1
/* 800FE7D4 000FB734 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800FE7D8 000FB738 7C FB 3B 78 */ mr r27, r7
/* 800FE7DC 000FB73C 7C 7F 1B 78 */ mr r31, r3
/* 800FE7E0 000FB740 7D 1C 43 78 */ mr r28, r8
/* 800FE7E4 000FB744 7D 3D 4B 78 */ mr r29, r9
/* 800FE7E8 000FB748 7D 5E 53 78 */ mr r30, r10
/* 800FE7EC 000FB74C 7D 67 5B 78 */ mr r7, r11
/* 800FE7F0 000FB750 A0 04 00 00 */ lhz r0, 0(r4)
/* 800FE7F4 000FB754 88 81 00 4B */ lbz r4, 0x4b(r1)
/* 800FE7F8 000FB758 B0 01 00 08 */ sth r0, 8(r1)
/* 800FE7FC 000FB75C 7C 86 23 78 */ mr r6, r4
/* 800FE800 000FB760 38 81 00 08 */ addi r4, r1, 8
/* 800FE804 000FB764 4B F5 2B 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800FE808 000FB768 3C 60 80 3E */ lis r3, lbl_803DFE20@ha
/* 800FE80C 000FB76C 38 80 00 00 */ li r4, 0
/* 800FE810 000FB770 38 03 FE 20 */ addi r0, r3, lbl_803DFE20@l
/* 800FE814 000FB774 90 1F 00 00 */ stw r0, 0(r31)
/* 800FE818 000FB778 7F E3 FB 78 */ mr r3, r31
/* 800FE81C 000FB77C 93 7F 00 34 */ stw r27, 0x34(r31)
/* 800FE820 000FB780 D3 DF 00 38 */ stfs f30, 0x38(r31)
/* 800FE824 000FB784 D3 FF 00 3C */ stfs f31, 0x3c(r31)
/* 800FE828 000FB788 D3 DF 00 40 */ stfs f30, 0x40(r31)
/* 800FE82C 000FB78C 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 800FE830 000FB790 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18
/* 800FE834 000FB794 98 1F 00 44 */ stb r0, 0x44(r31)
/* 800FE838 000FB798 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 800FE83C 000FB79C 53 A0 36 72 */ rlwimi r0, r29, 6, 0x19, 0x19
/* 800FE840 000FB7A0 98 1F 00 44 */ stb r0, 0x44(r31)
/* 800FE844 000FB7A4 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 800FE848 000FB7A8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a
/* 800FE84C 000FB7AC 98 1F 00 44 */ stb r0, 0x44(r31)
/* 800FE850 000FB7B0 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 800FE854 000FB7B4 53 C0 1E F6 */ rlwimi r0, r30, 3, 0x1b, 0x1b
/* 800FE858 000FB7B8 98 1F 00 44 */ stb r0, 0x44(r31)
/* 800FE85C 000FB7BC 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 800FE860 000FB7C0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 800FE864 000FB7C4 98 1F 00 44 */ stb r0, 0x44(r31)
/* 800FE868 000FB7C8 CB E1 00 38 */ lfd f31, 0x38(r1)
/* 800FE86C 000FB7CC CB C1 00 30 */ lfd f30, 0x30(r1)
/* 800FE870 000FB7D0 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 800FE874 000FB7D4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800FE878 000FB7D8 7C 08 03 A6 */ mtlr r0
/* 800FE87C 000FB7DC 38 21 00 40 */ addi r1, r1, 0x40
/* 800FE880 000FB7E0 4E 80 00 20 */ blr

View File

@ -0,0 +1,143 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__25CScriptCameraBlurKeyframeFR8IVisitor
Accept__25CScriptCameraBlurKeyframeFR8IVisitor:
/* 800EA758 000E76B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800EA75C 000E76BC 7C 08 02 A6 */ mflr r0
/* 800EA760 000E76C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800EA764 000E76C4 7C 60 1B 78 */ mr r0, r3
/* 800EA768 000E76C8 7C 83 23 78 */ mr r3, r4
/* 800EA76C 000E76CC 81 84 00 00 */ lwz r12, 0(r4)
/* 800EA770 000E76D0 7C 04 03 78 */ mr r4, r0
/* 800EA774 000E76D4 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800EA778 000E76D8 7D 89 03 A6 */ mtctr r12
/* 800EA77C 000E76DC 4E 80 04 21 */ bctrl
/* 800EA780 000E76E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800EA784 000E76E4 7C 08 03 A6 */ mtlr r0
/* 800EA788 000E76E8 38 21 00 10 */ addi r1, r1, 0x10
/* 800EA78C 000E76EC 4E 80 00 20 */ blr
.global AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800EA790 000E76F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800EA794 000E76F4 7C 08 02 A6 */ mflr r0
/* 800EA798 000E76F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800EA79C 000E76FC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800EA7A0 000E7700 7C DF 33 78 */ mr r31, r6
/* 800EA7A4 000E7704 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800EA7A8 000E7708 7C 9E 23 78 */ mr r30, r4
/* 800EA7AC 000E770C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800EA7B0 000E7710 7C 7D 1B 78 */ mr r29, r3
/* 800EA7B4 000E7714 A0 05 00 00 */ lhz r0, 0(r5)
/* 800EA7B8 000E7718 38 A1 00 08 */ addi r5, r1, 8
/* 800EA7BC 000E771C B0 01 00 08 */ sth r0, 8(r1)
/* 800EA7C0 000E7720 4B F6 69 9D */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800EA7C4 000E7724 2C 1E 00 06 */ cmpwi r30, 6
/* 800EA7C8 000E7728 41 82 00 5C */ beq lbl_800EA824
/* 800EA7CC 000E772C 40 80 00 10 */ bge lbl_800EA7DC
/* 800EA7D0 000E7730 2C 1E 00 05 */ cmpwi r30, 5
/* 800EA7D4 000E7734 40 80 00 38 */ bge lbl_800EA80C
/* 800EA7D8 000E7738 48 00 00 4C */ b lbl_800EA824
lbl_800EA7DC:
/* 800EA7DC 000E773C 2C 1E 00 08 */ cmpwi r30, 8
/* 800EA7E0 000E7740 40 80 00 44 */ bge lbl_800EA824
/* 800EA7E4 000E7744 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 800EA7E8 000E7748 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800EA7EC 000E774C 41 82 00 38 */ beq lbl_800EA824
/* 800EA7F0 000E7750 80 9D 00 34 */ lwz r4, 0x34(r29)
/* 800EA7F4 000E7754 38 7F 0D B4 */ addi r3, r31, 0xdb4
/* 800EA7F8 000E7758 C0 3D 00 38 */ lfs f1, 0x38(r29)
/* 800EA7FC 000E775C 38 A0 00 00 */ li r5, 0
/* 800EA800 000E7760 C0 5D 00 40 */ lfs f2, 0x40(r29)
/* 800EA804 000E7764 48 00 11 A1 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb
/* 800EA808 000E7768 48 00 00 1C */ b lbl_800EA824
lbl_800EA80C:
/* 800EA80C 000E776C 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 800EA810 000E7770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800EA814 000E7774 41 82 00 10 */ beq lbl_800EA824
/* 800EA818 000E7778 C0 3D 00 44 */ lfs f1, 0x44(r29)
/* 800EA81C 000E777C 38 7F 0D B4 */ addi r3, r31, 0xdb4
/* 800EA820 000E7780 48 00 11 55 */ bl DisableBlur__15CCameraBlurPassFf
lbl_800EA824:
/* 800EA824 000E7784 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800EA828 000E7788 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800EA82C 000E778C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800EA830 000E7790 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800EA834 000E7794 7C 08 03 A6 */ mtlr r0
/* 800EA838 000E7798 38 21 00 20 */ addi r1, r1, 0x20
/* 800EA83C 000E779C 4E 80 00 20 */ blr
.global __dt__25CScriptCameraBlurKeyframeFv
__dt__25CScriptCameraBlurKeyframeFv:
/* 800EA840 000E77A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800EA844 000E77A4 7C 08 02 A6 */ mflr r0
/* 800EA848 000E77A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800EA84C 000E77AC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800EA850 000E77B0 7C 9F 23 78 */ mr r31, r4
/* 800EA854 000E77B4 93 C1 00 08 */ stw r30, 8(r1)
/* 800EA858 000E77B8 7C 7E 1B 79 */ or. r30, r3, r3
/* 800EA85C 000E77BC 41 82 00 28 */ beq lbl_800EA884
/* 800EA860 000E77C0 3C A0 80 3E */ lis r5, lbl_803DFCA0@ha
/* 800EA864 000E77C4 38 80 00 00 */ li r4, 0
/* 800EA868 000E77C8 38 05 FC A0 */ addi r0, r5, lbl_803DFCA0@l
/* 800EA86C 000E77CC 90 1E 00 00 */ stw r0, 0(r30)
/* 800EA870 000E77D0 4B F6 6A 05 */ bl __dt__7CEntityFv
/* 800EA874 000E77D4 7F E0 07 35 */ extsh. r0, r31
/* 800EA878 000E77D8 40 81 00 0C */ ble lbl_800EA884
/* 800EA87C 000E77DC 7F C3 F3 78 */ mr r3, r30
/* 800EA880 000E77E0 48 22 B0 B1 */ bl Free__7CMemoryFPCv
lbl_800EA884:
/* 800EA884 000E77E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800EA888 000E77E8 7F C3 F3 78 */ mr r3, r30
/* 800EA88C 000E77EC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800EA890 000E77F0 83 C1 00 08 */ lwz r30, 8(r1)
/* 800EA894 000E77F4 7C 08 03 A6 */ mtlr r0
/* 800EA898 000E77F8 38 21 00 10 */ addi r1, r1, 0x10
/* 800EA89C 000E77FC 4E 80 00 20 */ blr
.global "__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb"
"__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb":
/* 800EA8A0 000E7800 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800EA8A4 000E7804 7C 08 02 A6 */ mflr r0
/* 800EA8A8 000E7808 90 01 00 44 */ stw r0, 0x44(r1)
/* 800EA8AC 000E780C DB E1 00 38 */ stfd f31, 0x38(r1)
/* 800EA8B0 000E7810 FF E0 18 90 */ fmr f31, f3
/* 800EA8B4 000E7814 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 800EA8B8 000E7818 FF C0 10 90 */ fmr f30, f2
/* 800EA8BC 000E781C DB A1 00 28 */ stfd f29, 0x28(r1)
/* 800EA8C0 000E7820 FF A0 08 90 */ fmr f29, f1
/* 800EA8C4 000E7824 93 E1 00 24 */ stw r31, 0x24(r1)
/* 800EA8C8 000E7828 7D 1F 43 78 */ mr r31, r8
/* 800EA8CC 000E782C 93 C1 00 20 */ stw r30, 0x20(r1)
/* 800EA8D0 000E7830 7C FE 3B 78 */ mr r30, r7
/* 800EA8D4 000E7834 93 A1 00 1C */ stw r29, 0x1c(r1)
/* 800EA8D8 000E7838 7C 7D 1B 78 */ mr r29, r3
/* 800EA8DC 000E783C A0 04 00 00 */ lhz r0, 0(r4)
/* 800EA8E0 000E7840 7C A4 2B 78 */ mr r4, r5
/* 800EA8E4 000E7844 7C C5 33 78 */ mr r5, r6
/* 800EA8E8 000E7848 7D 26 4B 78 */ mr r6, r9
/* 800EA8EC 000E784C B0 01 00 08 */ sth r0, 8(r1)
/* 800EA8F0 000E7850 7C 87 23 78 */ mr r7, r4
/* 800EA8F4 000E7854 38 81 00 08 */ addi r4, r1, 8
/* 800EA8F8 000E7858 4B F6 6A 2D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800EA8FC 000E785C 3C 80 80 3E */ lis r4, lbl_803DFCA0@ha
/* 800EA900 000E7860 7F A3 EB 78 */ mr r3, r29
/* 800EA904 000E7864 38 04 FC A0 */ addi r0, r4, lbl_803DFCA0@l
/* 800EA908 000E7868 90 1D 00 00 */ stw r0, 0(r29)
/* 800EA90C 000E786C 93 DD 00 34 */ stw r30, 0x34(r29)
/* 800EA910 000E7870 D3 BD 00 38 */ stfs f29, 0x38(r29)
/* 800EA914 000E7874 93 FD 00 3C */ stw r31, 0x3c(r29)
/* 800EA918 000E7878 D3 DD 00 40 */ stfs f30, 0x40(r29)
/* 800EA91C 000E787C D3 FD 00 44 */ stfs f31, 0x44(r29)
/* 800EA920 000E7880 CB E1 00 38 */ lfd f31, 0x38(r1)
/* 800EA924 000E7884 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 800EA928 000E7888 CB A1 00 28 */ lfd f29, 0x28(r1)
/* 800EA92C 000E788C 83 E1 00 24 */ lwz r31, 0x24(r1)
/* 800EA930 000E7890 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 800EA934 000E7894 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 800EA938 000E7898 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800EA93C 000E789C 7C 08 03 A6 */ mtlr r0
/* 800EA940 000E78A0 38 21 00 40 */ addi r1, r1, 0x40
/* 800EA944 000E78A4 4E 80 00 20 */ blr

View File

@ -0,0 +1,177 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__27CScriptCameraFilterKeyframeFR8IVisitor
Accept__27CScriptCameraFilterKeyframeFR8IVisitor:
/* 800EA4E4 000E7444 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800EA4E8 000E7448 7C 08 02 A6 */ mflr r0
/* 800EA4EC 000E744C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800EA4F0 000E7450 7C 60 1B 78 */ mr r0, r3
/* 800EA4F4 000E7454 7C 83 23 78 */ mr r3, r4
/* 800EA4F8 000E7458 81 84 00 00 */ lwz r12, 0(r4)
/* 800EA4FC 000E745C 7C 04 03 78 */ mr r4, r0
/* 800EA500 000E7460 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800EA504 000E7464 7D 89 03 A6 */ mtctr r12
/* 800EA508 000E7468 4E 80 04 21 */ bctrl
/* 800EA50C 000E746C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800EA510 000E7470 7C 08 03 A6 */ mtlr r0
/* 800EA514 000E7474 38 21 00 10 */ addi r1, r1, 0x10
/* 800EA518 000E7478 4E 80 00 20 */ blr
.global AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800EA51C 000E747C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800EA520 000E7480 7C 08 02 A6 */ mflr r0
/* 800EA524 000E7484 90 01 00 24 */ stw r0, 0x24(r1)
/* 800EA528 000E7488 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800EA52C 000E748C 7C DF 33 78 */ mr r31, r6
/* 800EA530 000E7490 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800EA534 000E7494 7C BE 2B 78 */ mr r30, r5
/* 800EA538 000E7498 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800EA53C 000E749C 7C 9D 23 78 */ mr r29, r4
/* 800EA540 000E74A0 2C 1D 00 06 */ cmpwi r29, 6
/* 800EA544 000E74A4 93 81 00 10 */ stw r28, 0x10(r1)
/* 800EA548 000E74A8 7C 7C 1B 78 */ mr r28, r3
/* 800EA54C 000E74AC 41 82 00 A4 */ beq lbl_800EA5F0
/* 800EA550 000E74B0 40 80 00 14 */ bge lbl_800EA564
/* 800EA554 000E74B4 2C 1D 00 04 */ cmpwi r29, 4
/* 800EA558 000E74B8 41 82 00 74 */ beq lbl_800EA5CC
/* 800EA55C 000E74BC 40 80 00 48 */ bge lbl_800EA5A4
/* 800EA560 000E74C0 48 00 00 90 */ b lbl_800EA5F0
lbl_800EA564:
/* 800EA564 000E74C4 2C 1D 00 08 */ cmpwi r29, 8
/* 800EA568 000E74C8 40 80 00 88 */ bge lbl_800EA5F0
/* 800EA56C 000E74CC 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800EA570 000E74D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800EA574 000E74D4 41 82 00 7C */ beq lbl_800EA5F0
/* 800EA578 000E74D8 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800EA57C 000E74DC 38 DC 00 44 */ addi r6, r28, 0x44
/* 800EA580 000E74E0 80 9C 00 34 */ lwz r4, 0x34(r28)
/* 800EA584 000E74E4 1C 00 00 2C */ mulli r0, r0, 0x2c
/* 800EA588 000E74E8 80 BC 00 38 */ lwz r5, 0x38(r28)
/* 800EA58C 000E74EC C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 800EA590 000E74F0 80 FC 00 50 */ lwz r7, 0x50(r28)
/* 800EA594 000E74F4 7C 7F 02 14 */ add r3, r31, r0
/* 800EA598 000E74F8 38 63 0B 88 */ addi r3, r3, 0xb88
/* 800EA59C 000E74FC 48 00 2E 05 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi
/* 800EA5A0 000E7500 48 00 00 50 */ b lbl_800EA5F0
lbl_800EA5A4:
/* 800EA5A4 000E7504 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800EA5A8 000E7508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800EA5AC 000E750C 41 82 00 44 */ beq lbl_800EA5F0
/* 800EA5B0 000E7510 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800EA5B4 000E7514 C0 3C 00 4C */ lfs f1, 0x4c(r28)
/* 800EA5B8 000E7518 1C 00 00 2C */ mulli r0, r0, 0x2c
/* 800EA5BC 000E751C 7C 7F 02 14 */ add r3, r31, r0
/* 800EA5C0 000E7520 38 63 0B 88 */ addi r3, r3, 0xb88
/* 800EA5C4 000E7524 48 00 2D A5 */ bl DisableFilter__17CCameraFilterPassFf
/* 800EA5C8 000E7528 48 00 00 28 */ b lbl_800EA5F0
lbl_800EA5CC:
/* 800EA5CC 000E752C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800EA5D0 000E7530 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800EA5D4 000E7534 41 82 00 1C */ beq lbl_800EA5F0
/* 800EA5D8 000E7538 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800EA5DC 000E753C C0 22 90 C8 */ lfs f1, lbl_805AADE8@sda21(r2)
/* 800EA5E0 000E7540 1C 00 00 2C */ mulli r0, r0, 0x2c
/* 800EA5E4 000E7544 7C 7F 02 14 */ add r3, r31, r0
/* 800EA5E8 000E7548 38 63 0B 88 */ addi r3, r3, 0xb88
/* 800EA5EC 000E754C 48 00 2D 7D */ bl DisableFilter__17CCameraFilterPassFf
lbl_800EA5F0:
/* 800EA5F0 000E7550 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800EA5F4 000E7554 7F 83 E3 78 */ mr r3, r28
/* 800EA5F8 000E7558 7F A4 EB 78 */ mr r4, r29
/* 800EA5FC 000E755C 7F E6 FB 78 */ mr r6, r31
/* 800EA600 000E7560 B0 01 00 08 */ sth r0, 8(r1)
/* 800EA604 000E7564 38 A1 00 08 */ addi r5, r1, 8
/* 800EA608 000E7568 4B F6 6B 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800EA60C 000E756C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800EA610 000E7570 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800EA614 000E7574 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800EA618 000E7578 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800EA61C 000E757C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800EA620 000E7580 7C 08 03 A6 */ mtlr r0
/* 800EA624 000E7584 38 21 00 20 */ addi r1, r1, 0x20
/* 800EA628 000E7588 4E 80 00 20 */ blr
.global __dt__27CScriptCameraFilterKeyframeFv
__dt__27CScriptCameraFilterKeyframeFv:
/* 800EA62C 000E758C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800EA630 000E7590 7C 08 02 A6 */ mflr r0
/* 800EA634 000E7594 90 01 00 14 */ stw r0, 0x14(r1)
/* 800EA638 000E7598 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800EA63C 000E759C 7C 9F 23 78 */ mr r31, r4
/* 800EA640 000E75A0 93 C1 00 08 */ stw r30, 8(r1)
/* 800EA644 000E75A4 7C 7E 1B 79 */ or. r30, r3, r3
/* 800EA648 000E75A8 41 82 00 28 */ beq lbl_800EA670
/* 800EA64C 000E75AC 3C A0 80 3E */ lis r5, lbl_803DFC80@ha
/* 800EA650 000E75B0 38 80 00 00 */ li r4, 0
/* 800EA654 000E75B4 38 05 FC 80 */ addi r0, r5, lbl_803DFC80@l
/* 800EA658 000E75B8 90 1E 00 00 */ stw r0, 0(r30)
/* 800EA65C 000E75BC 4B F6 6C 19 */ bl __dt__7CEntityFv
/* 800EA660 000E75C0 7F E0 07 35 */ extsh. r0, r31
/* 800EA664 000E75C4 40 81 00 0C */ ble lbl_800EA670
/* 800EA668 000E75C8 7F C3 F3 78 */ mr r3, r30
/* 800EA66C 000E75CC 48 22 B2 C5 */ bl Free__7CMemoryFPCv
lbl_800EA670:
/* 800EA670 000E75D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800EA674 000E75D4 7F C3 F3 78 */ mr r3, r30
/* 800EA678 000E75D8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800EA67C 000E75DC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800EA680 000E75E0 7C 08 03 A6 */ mtlr r0
/* 800EA684 000E75E4 38 21 00 10 */ addi r1, r1, 0x10
/* 800EA688 000E75E8 4E 80 00 20 */ blr
.global "__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib"
"__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib":
/* 800EA68C 000E75EC 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800EA690 000E75F0 7C 08 02 A6 */ mflr r0
/* 800EA694 000E75F4 90 01 00 64 */ stw r0, 0x64(r1)
/* 800EA698 000E75F8 39 61 00 60 */ addi r11, r1, 0x60
/* 800EA69C 000E75FC 48 29 F3 45 */ bl func_803899E0
/* 800EA6A0 000E7600 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 800EA6A4 000E7604 A0 04 00 00 */ lhz r0, 0(r4)
/* 800EA6A8 000E7608 7C AB 2B 78 */ mr r11, r5
/* 800EA6AC 000E760C FF 40 08 90 */ fmr f26, f1
/* 800EA6B0 000E7610 88 81 00 6F */ lbz r4, 0x6f(r1)
/* 800EA6B4 000E7614 FF 60 10 90 */ fmr f27, f2
/* 800EA6B8 000E7618 B0 01 00 08 */ sth r0, 8(r1)
/* 800EA6BC 000E761C 7C FB 3B 78 */ mr r27, r7
/* 800EA6C0 000E7620 7C C5 33 78 */ mr r5, r6
/* 800EA6C4 000E7624 7C 86 23 78 */ mr r6, r4
/* 800EA6C8 000E7628 FF 80 18 90 */ fmr f28, f3
/* 800EA6CC 000E762C FF A0 20 90 */ fmr f29, f4
/* 800EA6D0 000E7630 83 E1 00 68 */ lwz r31, 0x68(r1)
/* 800EA6D4 000E7634 FF C0 28 90 */ fmr f30, f5
/* 800EA6D8 000E7638 7C 7A 1B 78 */ mr r26, r3
/* 800EA6DC 000E763C FF E0 30 90 */ fmr f31, f6
/* 800EA6E0 000E7640 7D 1C 43 78 */ mr r28, r8
/* 800EA6E4 000E7644 7D 3D 4B 78 */ mr r29, r9
/* 800EA6E8 000E7648 7D 5E 53 78 */ mr r30, r10
/* 800EA6EC 000E764C 7D 67 5B 78 */ mr r7, r11
/* 800EA6F0 000E7650 38 81 00 08 */ addi r4, r1, 8
/* 800EA6F4 000E7654 4B F6 6C 31 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800EA6F8 000E7658 3C 60 80 3E */ lis r3, lbl_803DFC80@ha
/* 800EA6FC 000E765C FC 20 D0 90 */ fmr f1, f26
/* 800EA700 000E7660 38 03 FC 80 */ addi r0, r3, lbl_803DFC80@l
/* 800EA704 000E7664 FC 40 D8 90 */ fmr f2, f27
/* 800EA708 000E7668 90 1A 00 00 */ stw r0, 0(r26)
/* 800EA70C 000E766C FC 60 E0 90 */ fmr f3, f28
/* 800EA710 000E7670 FC 80 E8 90 */ fmr f4, f29
/* 800EA714 000E7674 93 7A 00 34 */ stw r27, 0x34(r26)
/* 800EA718 000E7678 38 7A 00 44 */ addi r3, r26, 0x44
/* 800EA71C 000E767C 93 9A 00 38 */ stw r28, 0x38(r26)
/* 800EA720 000E7680 93 BA 00 3C */ stw r29, 0x3c(r26)
/* 800EA724 000E7684 93 DA 00 40 */ stw r30, 0x40(r26)
/* 800EA728 000E7688 48 27 8C C5 */ bl __ct__6CColorFffff
/* 800EA72C 000E768C D3 DA 00 48 */ stfs f30, 0x48(r26)
/* 800EA730 000E7690 7F 43 D3 78 */ mr r3, r26
/* 800EA734 000E7694 D3 FA 00 4C */ stfs f31, 0x4c(r26)
/* 800EA738 000E7698 93 FA 00 50 */ stw r31, 0x50(r26)
/* 800EA73C 000E769C 39 61 00 60 */ addi r11, r1, 0x60
/* 800EA740 000E76A0 48 29 F2 ED */ bl func_80389A2C
/* 800EA744 000E76A4 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 800EA748 000E76A8 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800EA74C 000E76AC 7C 08 03 A6 */ mtlr r0
/* 800EA750 000E76B0 38 21 00 60 */ addi r1, r1, 0x60
/* 800EA754 000E76B4 4E 80 00 20 */ blr

View File

@ -0,0 +1,175 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__19CScriptCameraShakerFv
__dt__19CScriptCameraShakerFv:
/* 800FDDE0 000FAD40 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FDDE4 000FAD44 7C 08 02 A6 */ mflr r0
/* 800FDDE8 000FAD48 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FDDEC 000FAD4C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800FDDF0 000FAD50 7C 9F 23 78 */ mr r31, r4
/* 800FDDF4 000FAD54 93 C1 00 08 */ stw r30, 8(r1)
/* 800FDDF8 000FAD58 7C 7E 1B 79 */ or. r30, r3, r3
/* 800FDDFC 000FAD5C 41 82 00 70 */ beq lbl_800FDE6C
/* 800FDE00 000FAD60 3C 60 80 3E */ lis r3, lbl_803DFE00@ha
/* 800FDE04 000FAD64 34 1E 00 34 */ addic. r0, r30, 0x34
/* 800FDE08 000FAD68 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l
/* 800FDE0C 000FAD6C 90 1E 00 00 */ stw r0, 0(r30)
/* 800FDE10 000FAD70 41 82 00 40 */ beq lbl_800FDE50
/* 800FDE14 000FAD74 34 1E 00 B4 */ addic. r0, r30, 0xb4
/* 800FDE18 000FAD78 41 82 00 10 */ beq lbl_800FDE28
/* 800FDE1C 000FAD7C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 800FDE20 000FAD80 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 800FDE24 000FAD84 90 1E 00 B4 */ stw r0, 0xb4(r30)
lbl_800FDE28:
/* 800FDE28 000FAD88 34 1E 00 78 */ addic. r0, r30, 0x78
/* 800FDE2C 000FAD8C 41 82 00 10 */ beq lbl_800FDE3C
/* 800FDE30 000FAD90 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 800FDE34 000FAD94 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 800FDE38 000FAD98 90 1E 00 78 */ stw r0, 0x78(r30)
lbl_800FDE3C:
/* 800FDE3C 000FAD9C 34 1E 00 3C */ addic. r0, r30, 0x3c
/* 800FDE40 000FADA0 41 82 00 10 */ beq lbl_800FDE50
/* 800FDE44 000FADA4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 800FDE48 000FADA8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 800FDE4C 000FADAC 90 1E 00 3C */ stw r0, 0x3c(r30)
lbl_800FDE50:
/* 800FDE50 000FADB0 7F C3 F3 78 */ mr r3, r30
/* 800FDE54 000FADB4 38 80 00 00 */ li r4, 0
/* 800FDE58 000FADB8 4B F5 34 1D */ bl __dt__7CEntityFv
/* 800FDE5C 000FADBC 7F E0 07 35 */ extsh. r0, r31
/* 800FDE60 000FADC0 40 81 00 0C */ ble lbl_800FDE6C
/* 800FDE64 000FADC4 7F C3 F3 78 */ mr r3, r30
/* 800FDE68 000FADC8 48 21 7A C9 */ bl Free__7CMemoryFPCv
lbl_800FDE6C:
/* 800FDE6C 000FADCC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FDE70 000FADD0 7F C3 F3 78 */ mr r3, r30
/* 800FDE74 000FADD4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800FDE78 000FADD8 83 C1 00 08 */ lwz r30, 8(r1)
/* 800FDE7C 000FADDC 7C 08 03 A6 */ mtlr r0
/* 800FDE80 000FADE0 38 21 00 10 */ addi r1, r1, 0x10
/* 800FDE84 000FADE4 4E 80 00 20 */ blr
.global Accept__19CScriptCameraShakerFR8IVisitor
Accept__19CScriptCameraShakerFR8IVisitor:
/* 800FDE88 000FADE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800FDE8C 000FADEC 7C 08 02 A6 */ mflr r0
/* 800FDE90 000FADF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800FDE94 000FADF4 7C 60 1B 78 */ mr r0, r3
/* 800FDE98 000FADF8 7C 83 23 78 */ mr r3, r4
/* 800FDE9C 000FADFC 81 84 00 00 */ lwz r12, 0(r4)
/* 800FDEA0 000FAE00 7C 04 03 78 */ mr r4, r0
/* 800FDEA4 000FAE04 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800FDEA8 000FAE08 7D 89 03 A6 */ mtctr r12
/* 800FDEAC 000FAE0C 4E 80 04 21 */ bctrl
/* 800FDEB0 000FAE10 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800FDEB4 000FAE14 7C 08 03 A6 */ mtlr r0
/* 800FDEB8 000FAE18 38 21 00 10 */ addi r1, r1, 0x10
/* 800FDEBC 000FAE1C 4E 80 00 20 */ blr
.global AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800FDEC0 000FAE20 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800FDEC4 000FAE24 7C 08 02 A6 */ mflr r0
/* 800FDEC8 000FAE28 90 01 00 34 */ stw r0, 0x34(r1)
/* 800FDECC 000FAE2C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800FDED0 000FAE30 7C DF 33 78 */ mr r31, r6
/* 800FDED4 000FAE34 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800FDED8 000FAE38 7C BE 2B 78 */ mr r30, r5
/* 800FDEDC 000FAE3C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800FDEE0 000FAE40 7C 9D 23 78 */ mr r29, r4
/* 800FDEE4 000FAE44 2C 1D 00 13 */ cmpwi r29, 0x13
/* 800FDEE8 000FAE48 93 81 00 20 */ stw r28, 0x20(r1)
/* 800FDEEC 000FAE4C 7C 7C 1B 78 */ mr r28, r3
/* 800FDEF0 000FAE50 41 82 00 14 */ beq lbl_800FDF04
/* 800FDEF4 000FAE54 40 80 00 9C */ bge lbl_800FDF90
/* 800FDEF8 000FAE58 2C 1D 00 04 */ cmpwi r29, 4
/* 800FDEFC 000FAE5C 41 82 00 7C */ beq lbl_800FDF78
/* 800FDF00 000FAE60 48 00 00 90 */ b lbl_800FDF90
lbl_800FDF04:
/* 800FDF04 000FAE64 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800FDF08 000FAE68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800FDF0C 000FAE6C 41 82 00 84 */ beq lbl_800FDF90
/* 800FDF10 000FAE70 80 BC 00 04 */ lwz r5, 4(r28)
/* 800FDF14 000FAE74 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13)
/* 800FDF18 000FAE78 7C 05 00 00 */ cmpw r5, r0
/* 800FDF1C 000FAE7C 41 82 00 74 */ beq lbl_800FDF90
/* 800FDF20 000FAE80 80 9F 08 50 */ lwz r4, 0x850(r31)
/* 800FDF24 000FAE84 54 A3 18 38 */ slwi r3, r5, 3
/* 800FDF28 000FAE88 38 03 00 04 */ addi r0, r3, 4
/* 800FDF2C 000FAE8C 90 A1 00 0C */ stw r5, 0xc(r1)
/* 800FDF30 000FAE90 80 64 00 20 */ lwz r3, 0x20(r4)
/* 800FDF34 000FAE94 90 A1 00 10 */ stw r5, 0x10(r1)
/* 800FDF38 000FAE98 7C 63 00 2E */ lwzx r3, r3, r0
/* 800FDF3C 000FAE9C 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 800FDF40 000FAEA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800FDF44 000FAEA4 41 82 00 10 */ beq lbl_800FDF54
/* 800FDF48 000FAEA8 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 800FDF4C 000FAEAC 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 800FDF50 000FAEB0 48 00 00 08 */ b lbl_800FDF58
lbl_800FDF54:
/* 800FDF54 000FAEB4 38 00 00 00 */ li r0, 0
lbl_800FDF58:
/* 800FDF58 000FAEB8 2C 00 00 00 */ cmpwi r0, 0
/* 800FDF5C 000FAEBC 41 82 00 34 */ beq lbl_800FDF90
/* 800FDF60 000FAEC0 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 800FDF64 000FAEC4 38 9C 00 34 */ addi r4, r28, 0x34
/* 800FDF68 000FAEC8 38 A0 00 00 */ li r5, 0
/* 800FDF6C 000FAECC 4B F0 CA B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab
/* 800FDF70 000FAED0 90 7C 00 F0 */ stw r3, 0xf0(r28)
/* 800FDF74 000FAED4 48 00 00 1C */ b lbl_800FDF90
lbl_800FDF78:
/* 800FDF78 000FAED8 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800FDF7C 000FAEDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800FDF80 000FAEE0 41 82 00 10 */ beq lbl_800FDF90
/* 800FDF84 000FAEE4 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 800FDF88 000FAEE8 80 9C 00 F0 */ lwz r4, 0xf0(r28)
/* 800FDF8C 000FAEEC 4B F0 CA 45 */ bl RemoveCameraShaker__14CCameraManagerFi
lbl_800FDF90:
/* 800FDF90 000FAEF0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800FDF94 000FAEF4 7F 83 E3 78 */ mr r3, r28
/* 800FDF98 000FAEF8 7F A4 EB 78 */ mr r4, r29
/* 800FDF9C 000FAEFC 7F E6 FB 78 */ mr r6, r31
/* 800FDFA0 000FAF00 B0 01 00 08 */ sth r0, 8(r1)
/* 800FDFA4 000FAF04 38 A1 00 08 */ addi r5, r1, 8
/* 800FDFA8 000FAF08 4B F5 31 B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800FDFAC 000FAF0C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800FDFB0 000FAF10 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800FDFB4 000FAF14 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800FDFB8 000FAF18 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800FDFBC 000FAF1C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 800FDFC0 000FAF20 7C 08 03 A6 */ mtlr r0
/* 800FDFC4 000FAF24 38 21 00 30 */ addi r1, r1, 0x30
/* 800FDFC8 000FAF28 4E 80 00 20 */ blr
.global "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData"
"__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData":
/* 800FDFCC 000FAF2C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800FDFD0 000FAF30 7C 08 02 A6 */ mflr r0
/* 800FDFD4 000FAF34 90 01 00 24 */ stw r0, 0x24(r1)
/* 800FDFD8 000FAF38 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800FDFDC 000FAF3C 7D 1F 43 78 */ mr r31, r8
/* 800FDFE0 000FAF40 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800FDFE4 000FAF44 7C 7E 1B 78 */ mr r30, r3
/* 800FDFE8 000FAF48 A0 04 00 00 */ lhz r0, 0(r4)
/* 800FDFEC 000FAF4C 7C A4 2B 78 */ mr r4, r5
/* 800FDFF0 000FAF50 7C C5 33 78 */ mr r5, r6
/* 800FDFF4 000FAF54 7C E6 3B 78 */ mr r6, r7
/* 800FDFF8 000FAF58 B0 01 00 08 */ sth r0, 8(r1)
/* 800FDFFC 000FAF5C 7C 87 23 78 */ mr r7, r4
/* 800FE000 000FAF60 38 81 00 08 */ addi r4, r1, 8
/* 800FE004 000FAF64 4B F5 33 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800FE008 000FAF68 3C 60 80 3E */ lis r3, lbl_803DFE00@ha
/* 800FE00C 000FAF6C 7F E4 FB 78 */ mr r4, r31
/* 800FE010 000FAF70 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l
/* 800FE014 000FAF74 38 7E 00 34 */ addi r3, r30, 0x34
/* 800FE018 000FAF78 90 1E 00 00 */ stw r0, 0(r30)
/* 800FE01C 000FAF7C 4B F0 CD 8D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData
/* 800FE020 000FAF80 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800FE024 000FAF84 7F C3 F3 78 */ mr r3, r30
/* 800FE028 000FAF88 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800FE02C 000FAF8C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800FE030 000FAF90 7C 08 03 A6 */ mtlr r0
/* 800FE034 000FAF94 38 21 00 20 */ addi r1, r1, 0x20
/* 800FE038 000FAF98 4E 80 00 20 */ blr

View File

@ -0,0 +1,458 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__17CScriptCoverPointFv
__dt__17CScriptCoverPointFv:
/* 8012D308 0012A268 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012D30C 0012A26C 7C 08 02 A6 */ mflr r0
/* 8012D310 0012A270 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012D314 0012A274 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012D318 0012A278 7C 9F 23 78 */ mr r31, r4
/* 8012D31C 0012A27C 93 C1 00 08 */ stw r30, 8(r1)
/* 8012D320 0012A280 7C 7E 1B 79 */ or. r30, r3, r3
/* 8012D324 0012A284 41 82 00 3C */ beq lbl_8012D360
/* 8012D328 0012A288 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha
/* 8012D32C 0012A28C 34 1E 01 00 */ addic. r0, r30, 0x100
/* 8012D330 0012A290 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l
/* 8012D334 0012A294 90 1E 00 00 */ stw r0, 0(r30)
/* 8012D338 0012A298 41 82 00 0C */ beq lbl_8012D344
/* 8012D33C 0012A29C 38 00 00 00 */ li r0, 0
/* 8012D340 0012A2A0 98 1E 01 18 */ stb r0, 0x118(r30)
lbl_8012D344:
/* 8012D344 0012A2A4 7F C3 F3 78 */ mr r3, r30
/* 8012D348 0012A2A8 38 80 00 00 */ li r4, 0
/* 8012D34C 0012A2AC 4B F2 83 A5 */ bl __dt__6CActorFv
/* 8012D350 0012A2B0 7F E0 07 35 */ extsh. r0, r31
/* 8012D354 0012A2B4 40 81 00 0C */ ble lbl_8012D360
/* 8012D358 0012A2B8 7F C3 F3 78 */ mr r3, r30
/* 8012D35C 0012A2BC 48 1E 85 D5 */ bl Free__7CMemoryFPCv
lbl_8012D360:
/* 8012D360 0012A2C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012D364 0012A2C4 7F C3 F3 78 */ mr r3, r30
/* 8012D368 0012A2C8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012D36C 0012A2CC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8012D370 0012A2D0 7C 08 03 A6 */ mtlr r0
/* 8012D374 0012A2D4 38 21 00 10 */ addi r1, r1, 0x10
/* 8012D378 0012A2D8 4E 80 00 20 */ blr
.global GetTouchBounds__17CScriptCoverPointCFv
GetTouchBounds__17CScriptCoverPointCFv:
/* 8012D37C 0012A2DC 88 04 01 18 */ lbz r0, 0x118(r4)
/* 8012D380 0012A2E0 98 03 00 18 */ stb r0, 0x18(r3)
/* 8012D384 0012A2E4 88 04 01 18 */ lbz r0, 0x118(r4)
/* 8012D388 0012A2E8 28 00 00 00 */ cmplwi r0, 0
/* 8012D38C 0012A2EC 4D 82 00 20 */ beqlr
/* 8012D390 0012A2F0 28 03 00 00 */ cmplwi r3, 0
/* 8012D394 0012A2F4 4D 82 00 20 */ beqlr
/* 8012D398 0012A2F8 C0 04 01 00 */ lfs f0, 0x100(r4)
/* 8012D39C 0012A2FC D0 03 00 00 */ stfs f0, 0(r3)
/* 8012D3A0 0012A300 C0 04 01 04 */ lfs f0, 0x104(r4)
/* 8012D3A4 0012A304 D0 03 00 04 */ stfs f0, 4(r3)
/* 8012D3A8 0012A308 C0 04 01 08 */ lfs f0, 0x108(r4)
/* 8012D3AC 0012A30C D0 03 00 08 */ stfs f0, 8(r3)
/* 8012D3B0 0012A310 C0 04 01 0C */ lfs f0, 0x10c(r4)
/* 8012D3B4 0012A314 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8012D3B8 0012A318 C0 04 01 10 */ lfs f0, 0x110(r4)
/* 8012D3BC 0012A31C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8012D3C0 0012A320 C0 04 01 14 */ lfs f0, 0x114(r4)
/* 8012D3C4 0012A324 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8012D3C8 0012A328 4E 80 00 20 */ blr
.global Render__17CScriptCoverPointCFRC13CStateManager
Render__17CScriptCoverPointCFRC13CStateManager:
/* 8012D3CC 0012A32C 4E 80 00 20 */ blr
.global AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager:
/* 8012D3D0 0012A330 4E 80 00 20 */ blr
.global Think__17CScriptCoverPointFfR13CStateManager
Think__17CScriptCoverPointFfR13CStateManager:
/* 8012D3D4 0012A334 C0 43 01 1C */ lfs f2, 0x11c(r3)
/* 8012D3D8 0012A338 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2)
/* 8012D3DC 0012A33C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8012D3E0 0012A340 4C 81 00 20 */ blelr
/* 8012D3E4 0012A344 EC 02 08 28 */ fsubs f0, f2, f1
/* 8012D3E8 0012A348 D0 03 01 1C */ stfs f0, 0x11c(r3)
/* 8012D3EC 0012A34C 4E 80 00 20 */ blr
.global SetInUse__17CScriptCoverPointFb
SetInUse__17CScriptCoverPointFb:
/* 8012D3F0 0012A350 88 03 00 F8 */ lbz r0, 0xf8(r3)
/* 8012D3F4 0012A354 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8012D3F8 0012A358 98 03 00 F8 */ stb r0, 0xf8(r3)
/* 8012D3FC 0012A35C 88 03 00 F8 */ lbz r0, 0xf8(r3)
/* 8012D400 0012A360 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8012D404 0012A364 4C 82 00 20 */ bnelr
/* 8012D408 0012A368 C0 03 00 F4 */ lfs f0, 0xf4(r3)
/* 8012D40C 0012A36C D0 03 01 1C */ stfs f0, 0x11c(r3)
/* 8012D410 0012A370 4E 80 00 20 */ blr
.global GetInUse__17CScriptCoverPointCF9TUniqueId
GetInUse__17CScriptCoverPointCF9TUniqueId:
/* 8012D414 0012A374 88 03 00 F8 */ lbz r0, 0xf8(r3)
/* 8012D418 0012A378 38 A0 00 00 */ li r5, 0
/* 8012D41C 0012A37C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8012D420 0012A380 40 82 00 38 */ bne lbl_8012D458
/* 8012D424 0012A384 C0 23 01 1C */ lfs f1, 0x11c(r3)
/* 8012D428 0012A388 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2)
/* 8012D42C 0012A38C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012D430 0012A390 41 81 00 28 */ bgt lbl_8012D458
/* 8012D434 0012A394 A0 C3 00 FA */ lhz r6, 0xfa(r3)
/* 8012D438 0012A398 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13)
/* 8012D43C 0012A39C 7C 06 18 40 */ cmplw r6, r3
/* 8012D440 0012A3A0 41 82 00 1C */ beq lbl_8012D45C
/* 8012D444 0012A3A4 A0 04 00 00 */ lhz r0, 0(r4)
/* 8012D448 0012A3A8 7C 00 18 40 */ cmplw r0, r3
/* 8012D44C 0012A3AC 41 82 00 10 */ beq lbl_8012D45C
/* 8012D450 0012A3B0 7C 00 30 40 */ cmplw r0, r6
/* 8012D454 0012A3B4 41 82 00 08 */ beq lbl_8012D45C
lbl_8012D458:
/* 8012D458 0012A3B8 38 A0 00 01 */ li r5, 1
lbl_8012D45C:
/* 8012D45C 0012A3BC 7C A3 2B 78 */ mr r3, r5
/* 8012D460 0012A3C0 4E 80 00 20 */ blr
.global Blown__17CScriptCoverPointCFRC9CVector3f
Blown__17CScriptCoverPointCFRC9CVector3f:
/* 8012D464 0012A3C4 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8012D468 0012A3C8 7C 08 02 A6 */ mflr r0
/* 8012D46C 0012A3CC 90 01 00 64 */ stw r0, 0x64(r1)
/* 8012D470 0012A3D0 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 8012D474 0012A3D4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 8012D478 0012A3D8 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8012D47C 0012A3DC 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8012D480 0012A3E0 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8012D484 0012A3E4 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8012D488 0012A3E8 7C 7D 1B 78 */ mr r29, r3
/* 8012D48C 0012A3EC 7C 9E 23 78 */ mr r30, r4
/* 8012D490 0012A3F0 3B E0 00 01 */ li r31, 1
/* 8012D494 0012A3F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8012D498 0012A3F8 41 82 01 20 */ beq lbl_8012D5B8
/* 8012D49C 0012A3FC 48 00 01 65 */ bl ShouldWallHang__17CScriptCoverPointCFv
/* 8012D4A0 0012A400 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8012D4A4 0012A404 41 82 00 0C */ beq lbl_8012D4B0
/* 8012D4A8 0012A408 3B E0 00 00 */ li r31, 0
/* 8012D4AC 0012A40C 48 00 01 0C */ b lbl_8012D5B8
lbl_8012D4B0:
/* 8012D4B0 0012A410 C0 3E 00 04 */ lfs f1, 4(r30)
/* 8012D4B4 0012A414 38 61 00 2C */ addi r3, r1, 0x2c
/* 8012D4B8 0012A418 C0 1D 00 50 */ lfs f0, 0x50(r29)
/* 8012D4BC 0012A41C C0 7E 00 08 */ lfs f3, 8(r30)
/* 8012D4C0 0012A420 C0 5D 00 60 */ lfs f2, 0x60(r29)
/* 8012D4C4 0012A424 EC 81 00 28 */ fsubs f4, f1, f0
/* 8012D4C8 0012A428 C0 3E 00 00 */ lfs f1, 0(r30)
/* 8012D4CC 0012A42C C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8012D4D0 0012A430 EC 43 10 28 */ fsubs f2, f3, f2
/* 8012D4D4 0012A434 D0 81 00 30 */ stfs f4, 0x30(r1)
/* 8012D4D8 0012A438 EC 01 00 28 */ fsubs f0, f1, f0
/* 8012D4DC 0012A43C D0 41 00 34 */ stfs f2, 0x34(r1)
/* 8012D4E0 0012A440 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8012D4E4 0012A444 48 1E 73 D5 */ bl Magnitude__9CVector3fCFv
/* 8012D4E8 0012A448 C0 42 98 9C */ lfs f2, lbl_805AB5BC@sda21(r2)
/* 8012D4EC 0012A44C C0 02 98 A0 */ lfs f0, lbl_805AB5C0@sda21(r2)
/* 8012D4F0 0012A450 EC A2 08 24 */ fdivs f5, f2, f1
/* 8012D4F4 0012A454 C0 81 00 2C */ lfs f4, 0x2c(r1)
/* 8012D4F8 0012A458 C0 61 00 30 */ lfs f3, 0x30(r1)
/* 8012D4FC 0012A45C C0 41 00 34 */ lfs f2, 0x34(r1)
/* 8012D500 0012A460 EC 84 01 72 */ fmuls f4, f4, f5
/* 8012D504 0012A464 EC 63 01 72 */ fmuls f3, f3, f5
/* 8012D508 0012A468 EC 42 01 72 */ fmuls f2, f2, f5
/* 8012D50C 0012A46C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8012D510 0012A470 D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 8012D514 0012A474 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 8012D518 0012A478 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 8012D51C 0012A47C 40 81 00 9C */ ble lbl_8012D5B8
/* 8012D520 0012A480 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2)
/* 8012D524 0012A484 38 61 00 20 */ addi r3, r1, 0x20
/* 8012D528 0012A488 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 8012D52C 0012A48C D0 61 00 24 */ stfs f3, 0x24(r1)
/* 8012D530 0012A490 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8012D534 0012A494 48 1E 73 C5 */ bl Normalize__9CVector3fFv
/* 8012D538 0012A498 C0 5D 00 48 */ lfs f2, 0x48(r29)
/* 8012D53C 0012A49C 38 61 00 14 */ addi r3, r1, 0x14
/* 8012D540 0012A4A0 C0 3D 00 38 */ lfs f1, 0x38(r29)
/* 8012D544 0012A4A4 C0 7D 00 58 */ lfs f3, 0x58(r29)
/* 8012D548 0012A4A8 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2)
/* 8012D54C 0012A4AC D0 21 00 08 */ stfs f1, 8(r1)
/* 8012D550 0012A4B0 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8012D554 0012A4B4 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8012D558 0012A4B8 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8012D55C 0012A4BC D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8012D560 0012A4C0 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8012D564 0012A4C4 48 1E 73 95 */ bl Normalize__9CVector3fFv
/* 8012D568 0012A4C8 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8012D56C 0012A4CC 7F A3 EB 78 */ mr r3, r29
/* 8012D570 0012A4D0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8012D574 0012A4D4 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 8012D578 0012A4D8 EC 01 00 32 */ fmuls f0, f1, f0
/* 8012D57C 0012A4DC C0 21 00 20 */ lfs f1, 0x20(r1)
/* 8012D580 0012A4E0 C0 81 00 1C */ lfs f4, 0x1c(r1)
/* 8012D584 0012A4E4 C0 61 00 28 */ lfs f3, 0x28(r1)
/* 8012D588 0012A4E8 EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 8012D58C 0012A4EC EF E4 00 FA */ fmadds f31, f4, f3, f0
/* 8012D590 0012A4F0 48 00 00 5D */ bl GetCosHorizontalAngle__17CScriptCoverPointCFv
/* 8012D594 0012A4F4 FC 1F 08 40 */ fcmpo cr0, f31, f1
/* 8012D598 0012A4F8 40 81 00 20 */ ble lbl_8012D5B8
/* 8012D59C 0012A4FC C3 E1 00 34 */ lfs f31, 0x34(r1)
/* 8012D5A0 0012A500 7F A3 EB 78 */ mr r3, r29
/* 8012D5A4 0012A504 48 00 00 3D */ bl GetSinSqVerticalAngle__17CScriptCoverPointCFv
/* 8012D5A8 0012A508 EC 1F 07 F2 */ fmuls f0, f31, f31
/* 8012D5AC 0012A50C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8012D5B0 0012A510 40 80 00 08 */ bge lbl_8012D5B8
/* 8012D5B4 0012A514 3B E0 00 00 */ li r31, 0
lbl_8012D5B8:
/* 8012D5B8 0012A518 57 E3 06 3E */ clrlwi r3, r31, 0x18
/* 8012D5BC 0012A51C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 8012D5C0 0012A520 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8012D5C4 0012A524 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8012D5C8 0012A528 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8012D5CC 0012A52C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8012D5D0 0012A530 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8012D5D4 0012A534 7C 08 03 A6 */ mtlr r0
/* 8012D5D8 0012A538 38 21 00 60 */ addi r1, r1, 0x60
/* 8012D5DC 0012A53C 4E 80 00 20 */ blr
.global GetSinSqVerticalAngle__17CScriptCoverPointCFv
GetSinSqVerticalAngle__17CScriptCoverPointCFv:
/* 8012D5E0 0012A540 C0 03 00 F0 */ lfs f0, 0xf0(r3)
/* 8012D5E4 0012A544 EC 20 00 32 */ fmuls f1, f0, f0
/* 8012D5E8 0012A548 4E 80 00 20 */ blr
.global GetCosHorizontalAngle__17CScriptCoverPointCFv
GetCosHorizontalAngle__17CScriptCoverPointCFv:
/* 8012D5EC 0012A54C C0 23 00 EC */ lfs f1, 0xec(r3)
/* 8012D5F0 0012A550 4E 80 00 20 */ blr
.global ShouldLandHere__17CScriptCoverPointCFv
ShouldLandHere__17CScriptCoverPointCFv:
/* 8012D5F4 0012A554 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 8012D5F8 0012A558 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f
/* 8012D5FC 0012A55C 4E 80 00 20 */ blr
.global ShouldWallHang__17CScriptCoverPointCFv
ShouldWallHang__17CScriptCoverPointCFv:
/* 8012D600 0012A560 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 8012D604 0012A564 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f
/* 8012D608 0012A568 4E 80 00 20 */ blr
.global ShouldStay__17CScriptCoverPointCFv
ShouldStay__17CScriptCoverPointCFv:
/* 8012D60C 0012A56C 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 8012D610 0012A570 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f
/* 8012D614 0012A574 4E 80 00 20 */ blr
.global ShouldCrouch__17CScriptCoverPointCFv
ShouldCrouch__17CScriptCoverPointCFv:
/* 8012D618 0012A578 88 03 00 F8 */ lbz r0, 0xf8(r3)
/* 8012D61C 0012A57C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 8012D620 0012A580 4E 80 00 20 */ blr
.global GetAttackDirection__17CScriptCoverPointCFv
GetAttackDirection__17CScriptCoverPointCFv:
/* 8012D624 0012A584 80 63 00 E8 */ lwz r3, 0xe8(r3)
/* 8012D628 0012A588 4E 80 00 20 */ blr
.global AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8012D62C 0012A58C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8012D630 0012A590 7C 08 02 A6 */ mflr r0
/* 8012D634 0012A594 90 01 00 34 */ stw r0, 0x34(r1)
/* 8012D638 0012A598 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8012D63C 0012A59C 7C DF 33 78 */ mr r31, r6
/* 8012D640 0012A5A0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8012D644 0012A5A4 7C 9E 23 78 */ mr r30, r4
/* 8012D648 0012A5A8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8012D64C 0012A5AC 7C 7D 1B 78 */ mr r29, r3
/* 8012D650 0012A5B0 A0 05 00 00 */ lhz r0, 0(r5)
/* 8012D654 0012A5B4 38 A1 00 0C */ addi r5, r1, 0xc
/* 8012D658 0012A5B8 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8012D65C 0012A5BC 4B F2 5F B9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8012D660 0012A5C0 2C 1E 00 23 */ cmpwi r30, 0x23
/* 8012D664 0012A5C4 41 82 00 08 */ beq lbl_8012D66C
/* 8012D668 0012A5C8 48 00 00 58 */ b lbl_8012D6C0
lbl_8012D66C:
/* 8012D66C 0012A5CC 80 9D 00 2C */ lwz r4, 0x2c(r29)
/* 8012D670 0012A5D0 48 00 00 38 */ b lbl_8012D6A8
lbl_8012D674:
/* 8012D674 0012A5D4 80 04 00 00 */ lwz r0, 0(r4)
/* 8012D678 0012A5D8 2C 00 00 0C */ cmpwi r0, 0xc
/* 8012D67C 0012A5DC 40 82 00 28 */ bne lbl_8012D6A4
/* 8012D680 0012A5E0 80 04 00 08 */ lwz r0, 8(r4)
/* 8012D684 0012A5E4 7F E4 FB 78 */ mr r4, r31
/* 8012D688 0012A5E8 38 61 00 08 */ addi r3, r1, 8
/* 8012D68C 0012A5EC 38 A1 00 10 */ addi r5, r1, 0x10
/* 8012D690 0012A5F0 90 01 00 10 */ stw r0, 0x10(r1)
/* 8012D694 0012A5F4 4B F1 A8 89 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8012D698 0012A5F8 A0 01 00 08 */ lhz r0, 8(r1)
/* 8012D69C 0012A5FC B0 1D 00 FC */ sth r0, 0xfc(r29)
/* 8012D6A0 0012A600 48 00 00 20 */ b lbl_8012D6C0
lbl_8012D6A4:
/* 8012D6A4 0012A604 38 84 00 0C */ addi r4, r4, 0xc
lbl_8012D6A8:
/* 8012D6A8 0012A608 80 1D 00 24 */ lwz r0, 0x24(r29)
/* 8012D6AC 0012A60C 80 7D 00 2C */ lwz r3, 0x2c(r29)
/* 8012D6B0 0012A610 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8012D6B4 0012A614 7C 03 02 14 */ add r0, r3, r0
/* 8012D6B8 0012A618 7C 04 00 40 */ cmplw r4, r0
/* 8012D6BC 0012A61C 40 82 FF B8 */ bne lbl_8012D674
lbl_8012D6C0:
/* 8012D6C0 0012A620 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8012D6C4 0012A624 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8012D6C8 0012A628 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8012D6CC 0012A62C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8012D6D0 0012A630 7C 08 03 A6 */ mtlr r0
/* 8012D6D4 0012A634 38 21 00 30 */ addi r1, r1, 0x30
/* 8012D6D8 0012A638 4E 80 00 20 */ blr
.global Accept__17CScriptCoverPointFR8IVisitor
Accept__17CScriptCoverPointFR8IVisitor:
/* 8012D6DC 0012A63C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012D6E0 0012A640 7C 08 02 A6 */ mflr r0
/* 8012D6E4 0012A644 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012D6E8 0012A648 7C 60 1B 78 */ mr r0, r3
/* 8012D6EC 0012A64C 7C 83 23 78 */ mr r3, r4
/* 8012D6F0 0012A650 81 84 00 00 */ lwz r12, 0(r4)
/* 8012D6F4 0012A654 7C 04 03 78 */ mr r4, r0
/* 8012D6F8 0012A658 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8012D6FC 0012A65C 7D 89 03 A6 */ mtctr r12
/* 8012D700 0012A660 4E 80 04 21 */ bctrl
/* 8012D704 0012A664 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012D708 0012A668 7C 08 03 A6 */ mtlr r0
/* 8012D70C 0012A66C 38 21 00 10 */ addi r1, r1, 0x10
/* 8012D710 0012A670 4E 80 00 20 */ blr
.global "__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff"
"__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff":
/* 8012D714 0012A674 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 8012D718 0012A678 7C 08 02 A6 */ mflr r0
/* 8012D71C 0012A67C 90 01 01 64 */ stw r0, 0x164(r1)
/* 8012D720 0012A680 DB E1 01 50 */ stfd f31, 0x150(r1)
/* 8012D724 0012A684 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0
/* 8012D728 0012A688 DB C1 01 40 */ stfd f30, 0x140(r1)
/* 8012D72C 0012A68C F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0
/* 8012D730 0012A690 DB A1 01 30 */ stfd f29, 0x130(r1)
/* 8012D734 0012A694 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0
/* 8012D738 0012A698 BF 01 01 10 */ stmw r24, 0x110(r1)
/* 8012D73C 0012A69C FF A0 08 90 */ fmr f29, f1
/* 8012D740 0012A6A0 7C 7E 1B 78 */ mr r30, r3
/* 8012D744 0012A6A4 FF C0 10 90 */ fmr f30, f2
/* 8012D748 0012A6A8 7C 98 23 78 */ mr r24, r4
/* 8012D74C 0012A6AC FF E0 18 90 */ fmr f31, f3
/* 8012D750 0012A6B0 7C B9 2B 78 */ mr r25, r5
/* 8012D754 0012A6B4 7C DA 33 78 */ mr r26, r6
/* 8012D758 0012A6B8 7C FF 3B 78 */ mr r31, r7
/* 8012D75C 0012A6BC 7D 1B 43 78 */ mr r27, r8
/* 8012D760 0012A6C0 7D 3C 4B 78 */ mr r28, r9
/* 8012D764 0012A6C4 7D 5D 53 78 */ mr r29, r10
/* 8012D768 0012A6C8 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8012D76C 0012A6CC 4B F0 D0 39 */ bl CModelDataNull__10CModelDataFv
/* 8012D770 0012A6D0 38 61 00 50 */ addi r3, r1, 0x50
/* 8012D774 0012A6D4 4B EE D6 C5 */ bl None__16CActorParametersFv
/* 8012D778 0012A6D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8012D77C 0012A6DC 38 00 00 00 */ li r0, 0
/* 8012D780 0012A6E0 80 AD 8A E8 */ lwz r5, lbl_805A76A8@sda21(r13)
/* 8012D784 0012A6E4 38 60 00 00 */ li r3, 0
/* 8012D788 0012A6E8 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8012D78C 0012A6EC 38 80 00 01 */ li r4, 1
/* 8012D790 0012A6F0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8012D794 0012A6F4 90 01 00 18 */ stw r0, 0x18(r1)
/* 8012D798 0012A6F8 48 25 C7 5D */ bl __shl2i
/* 8012D79C 0012A6FC 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8012D7A0 0012A700 39 61 00 50 */ addi r11, r1, 0x50
/* 8012D7A4 0012A704 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8012D7A8 0012A708 38 01 00 10 */ addi r0, r1, 0x10
/* 8012D7AC 0012A70C 7C A3 1B 78 */ or r3, r5, r3
/* 8012D7B0 0012A710 A1 38 00 00 */ lhz r9, 0(r24)
/* 8012D7B4 0012A714 7C C4 23 78 */ or r4, r6, r4
/* 8012D7B8 0012A718 90 61 00 18 */ stw r3, 0x18(r1)
/* 8012D7BC 0012A71C 7F C3 F3 78 */ mr r3, r30
/* 8012D7C0 0012A720 7F 65 DB 78 */ mr r5, r27
/* 8012D7C4 0012A724 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8012D7C8 0012A728 7F 26 CB 78 */ mr r6, r25
/* 8012D7CC 0012A72C 7F 47 D3 78 */ mr r7, r26
/* 8012D7D0 0012A730 7F E8 FB 78 */ mr r8, r31
/* 8012D7D4 0012A734 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8012D7D8 0012A738 38 81 00 14 */ addi r4, r1, 0x14
/* 8012D7DC 0012A73C 39 21 00 B8 */ addi r9, r1, 0xb8
/* 8012D7E0 0012A740 39 41 00 18 */ addi r10, r1, 0x18
/* 8012D7E4 0012A744 91 61 00 08 */ stw r11, 8(r1)
/* 8012D7E8 0012A748 90 01 00 0C */ stw r0, 0xc(r1)
/* 8012D7EC 0012A74C 4B F2 80 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8012D7F0 0012A750 38 61 00 50 */ addi r3, r1, 0x50
/* 8012D7F4 0012A754 38 80 FF FF */ li r4, -1
/* 8012D7F8 0012A758 4B FD 8E 11 */ bl __dt__16CActorParametersFv
/* 8012D7FC 0012A75C 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8012D800 0012A760 38 80 FF FF */ li r4, -1
/* 8012D804 0012A764 4B FE 92 49 */ bl __dt__10CModelDataFv
/* 8012D808 0012A768 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha
/* 8012D80C 0012A76C C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2)
/* 8012D810 0012A770 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l
/* 8012D814 0012A774 90 1E 00 00 */ stw r0, 0(r30)
/* 8012D818 0012A778 EC 20 07 72 */ fmuls f1, f0, f29
/* 8012D81C 0012A77C 93 9E 00 E8 */ stw r28, 0xe8(r30)
/* 8012D820 0012A780 48 26 6B D1 */ bl cos
/* 8012D824 0012A784 FC 40 08 18 */ frsp f2, f1
/* 8012D828 0012A788 C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2)
/* 8012D82C 0012A78C EC 20 07 B2 */ fmuls f1, f0, f30
/* 8012D830 0012A790 D0 5E 00 EC */ stfs f2, 0xec(r30)
/* 8012D834 0012A794 48 26 72 A9 */ bl sin
/* 8012D838 0012A798 FC 00 08 18 */ frsp f0, f1
/* 8012D83C 0012A79C 38 C0 00 00 */ li r6, 0
/* 8012D840 0012A7A0 38 61 00 38 */ addi r3, r1, 0x38
/* 8012D844 0012A7A4 38 81 00 2C */ addi r4, r1, 0x2c
/* 8012D848 0012A7A8 38 A1 00 20 */ addi r5, r1, 0x20
/* 8012D84C 0012A7AC D0 1E 00 F0 */ stfs f0, 0xf0(r30)
/* 8012D850 0012A7B0 D3 FE 00 F4 */ stfs f31, 0xf4(r30)
/* 8012D854 0012A7B4 88 1E 00 F8 */ lbz r0, 0xf8(r30)
/* 8012D858 0012A7B8 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 8012D85C 0012A7BC 98 1E 00 F8 */ stb r0, 0xf8(r30)
/* 8012D860 0012A7C0 88 1E 00 F8 */ lbz r0, 0xf8(r30)
/* 8012D864 0012A7C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
/* 8012D868 0012A7C8 98 1E 00 F8 */ stb r0, 0xf8(r30)
/* 8012D86C 0012A7CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8012D870 0012A7D0 B0 1E 00 FA */ sth r0, 0xfa(r30)
/* 8012D874 0012A7D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8012D878 0012A7D8 B0 1E 00 FC */ sth r0, 0xfc(r30)
/* 8012D87C 0012A7DC C0 5F 00 2C */ lfs f2, 0x2c(r31)
/* 8012D880 0012A7E0 C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8012D884 0012A7E4 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8012D888 0012A7E8 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8012D88C 0012A7EC D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8012D890 0012A7F0 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 8012D894 0012A7F4 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8012D898 0012A7F8 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8012D89C 0012A7FC D0 41 00 34 */ stfs f2, 0x34(r1)
/* 8012D8A0 0012A800 48 20 AC 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8012D8A4 0012A804 38 00 00 01 */ li r0, 1
/* 8012D8A8 0012A808 34 7E 01 00 */ addic. r3, r30, 0x100
/* 8012D8AC 0012A80C 98 1E 01 18 */ stb r0, 0x118(r30)
/* 8012D8B0 0012A810 41 82 00 34 */ beq lbl_8012D8E4
/* 8012D8B4 0012A814 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8012D8B8 0012A818 D0 03 00 00 */ stfs f0, 0(r3)
/* 8012D8BC 0012A81C C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8012D8C0 0012A820 D0 03 00 04 */ stfs f0, 4(r3)
/* 8012D8C4 0012A824 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8012D8C8 0012A828 D0 03 00 08 */ stfs f0, 8(r3)
/* 8012D8CC 0012A82C C0 01 00 44 */ lfs f0, 0x44(r1)
/* 8012D8D0 0012A830 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8012D8D4 0012A834 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 8012D8D8 0012A838 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8012D8DC 0012A83C C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 8012D8E0 0012A840 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8012D8E4:
/* 8012D8E4 0012A844 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2)
/* 8012D8E8 0012A848 7F C3 F3 78 */ mr r3, r30
/* 8012D8EC 0012A84C D0 1E 01 1C */ stfs f0, 0x11c(r30)
/* 8012D8F0 0012A850 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0
/* 8012D8F4 0012A854 CB E1 01 50 */ lfd f31, 0x150(r1)
/* 8012D8F8 0012A858 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0
/* 8012D8FC 0012A85C CB C1 01 40 */ lfd f30, 0x140(r1)
/* 8012D900 0012A860 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0
/* 8012D904 0012A864 CB A1 01 30 */ lfd f29, 0x130(r1)
/* 8012D908 0012A868 BB 01 01 10 */ lmw r24, 0x110(r1)
/* 8012D90C 0012A86C 80 01 01 64 */ lwz r0, 0x164(r1)
/* 8012D910 0012A870 7C 08 03 A6 */ mtlr r0
/* 8012D914 0012A874 38 21 01 60 */ addi r1, r1, 0x160
/* 8012D918 0012A878 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,111 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__26CScriptDebugCameraWaypointFv
__dt__26CScriptDebugCameraWaypointFv:
/* 8014ABE4 00147B44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014ABE8 00147B48 7C 08 02 A6 */ mflr r0
/* 8014ABEC 00147B4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014ABF0 00147B50 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014ABF4 00147B54 7C 9F 23 78 */ mr r31, r4
/* 8014ABF8 00147B58 93 C1 00 08 */ stw r30, 8(r1)
/* 8014ABFC 00147B5C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8014AC00 00147B60 41 82 00 28 */ beq lbl_8014AC28
/* 8014AC04 00147B64 3C A0 80 3E */ lis r5, lbl_803E23C8@ha
/* 8014AC08 00147B68 38 80 00 00 */ li r4, 0
/* 8014AC0C 00147B6C 38 05 23 C8 */ addi r0, r5, lbl_803E23C8@l
/* 8014AC10 00147B70 90 1E 00 00 */ stw r0, 0(r30)
/* 8014AC14 00147B74 4B F0 AA DD */ bl __dt__6CActorFv
/* 8014AC18 00147B78 7F E0 07 35 */ extsh. r0, r31
/* 8014AC1C 00147B7C 40 81 00 0C */ ble lbl_8014AC28
/* 8014AC20 00147B80 7F C3 F3 78 */ mr r3, r30
/* 8014AC24 00147B84 48 1C AD 0D */ bl Free__7CMemoryFPCv
lbl_8014AC28:
/* 8014AC28 00147B88 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014AC2C 00147B8C 7F C3 F3 78 */ mr r3, r30
/* 8014AC30 00147B90 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014AC34 00147B94 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014AC38 00147B98 7C 08 03 A6 */ mtlr r0
/* 8014AC3C 00147B9C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014AC40 00147BA0 4E 80 00 20 */ blr
.global Accept__26CScriptDebugCameraWaypointFR8IVisitor
Accept__26CScriptDebugCameraWaypointFR8IVisitor:
/* 8014AC44 00147BA4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014AC48 00147BA8 7C 08 02 A6 */ mflr r0
/* 8014AC4C 00147BAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014AC50 00147BB0 7C 60 1B 78 */ mr r0, r3
/* 8014AC54 00147BB4 7C 83 23 78 */ mr r3, r4
/* 8014AC58 00147BB8 81 84 00 00 */ lwz r12, 0(r4)
/* 8014AC5C 00147BBC 7C 04 03 78 */ mr r4, r0
/* 8014AC60 00147BC0 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 8014AC64 00147BC4 7D 89 03 A6 */ mtctr r12
/* 8014AC68 00147BC8 4E 80 04 21 */ bctrl
/* 8014AC6C 00147BCC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014AC70 00147BD0 7C 08 03 A6 */ mtlr r0
/* 8014AC74 00147BD4 38 21 00 10 */ addi r1, r1, 0x10
/* 8014AC78 00147BD8 4E 80 00 20 */ blr
.global "__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi"
"__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi":
/* 8014AC7C 00147BDC 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8014AC80 00147BE0 7C 08 02 A6 */ mflr r0
/* 8014AC84 00147BE4 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8014AC88 00147BE8 BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 8014AC8C 00147BEC 7C 7F 1B 78 */ mr r31, r3
/* 8014AC90 00147BF0 7C 9A 23 78 */ mr r26, r4
/* 8014AC94 00147BF4 7C BB 2B 78 */ mr r27, r5
/* 8014AC98 00147BF8 7C DC 33 78 */ mr r28, r6
/* 8014AC9C 00147BFC 7C FD 3B 78 */ mr r29, r7
/* 8014ACA0 00147C00 7D 1E 43 78 */ mr r30, r8
/* 8014ACA4 00147C04 38 61 00 88 */ addi r3, r1, 0x88
/* 8014ACA8 00147C08 4B EE FA FD */ bl CModelDataNull__10CModelDataFv
/* 8014ACAC 00147C0C 38 61 00 20 */ addi r3, r1, 0x20
/* 8014ACB0 00147C10 4B ED 01 89 */ bl None__16CActorParametersFv
/* 8014ACB4 00147C14 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8014ACB8 00147C18 38 00 00 00 */ li r0, 0
/* 8014ACBC 00147C1C 80 AD 8B E8 */ lwz r5, lbl_805A77A8@sda21(r13)
/* 8014ACC0 00147C20 38 60 00 00 */ li r3, 0
/* 8014ACC4 00147C24 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8014ACC8 00147C28 38 80 00 01 */ li r4, 1
/* 8014ACCC 00147C2C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8014ACD0 00147C30 90 01 00 18 */ stw r0, 0x18(r1)
/* 8014ACD4 00147C34 48 23 F2 21 */ bl __shl2i
/* 8014ACD8 00147C38 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8014ACDC 00147C3C 39 61 00 20 */ addi r11, r1, 0x20
/* 8014ACE0 00147C40 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8014ACE4 00147C44 38 01 00 10 */ addi r0, r1, 0x10
/* 8014ACE8 00147C48 7C A3 1B 78 */ or r3, r5, r3
/* 8014ACEC 00147C4C A0 BA 00 00 */ lhz r5, 0(r26)
/* 8014ACF0 00147C50 7C C4 23 78 */ or r4, r6, r4
/* 8014ACF4 00147C54 90 61 00 18 */ stw r3, 0x18(r1)
/* 8014ACF8 00147C58 7F E3 FB 78 */ mr r3, r31
/* 8014ACFC 00147C5C 7F 66 DB 78 */ mr r6, r27
/* 8014AD00 00147C60 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8014AD04 00147C64 7F 87 E3 78 */ mr r7, r28
/* 8014AD08 00147C68 7F A8 EB 78 */ mr r8, r29
/* 8014AD0C 00147C6C 38 81 00 14 */ addi r4, r1, 0x14
/* 8014AD10 00147C70 B0 A1 00 14 */ sth r5, 0x14(r1)
/* 8014AD14 00147C74 39 21 00 88 */ addi r9, r1, 0x88
/* 8014AD18 00147C78 39 41 00 18 */ addi r10, r1, 0x18
/* 8014AD1C 00147C7C 38 A0 00 01 */ li r5, 1
/* 8014AD20 00147C80 91 61 00 08 */ stw r11, 8(r1)
/* 8014AD24 00147C84 90 01 00 0C */ stw r0, 0xc(r1)
/* 8014AD28 00147C88 4B F0 AA F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8014AD2C 00147C8C 38 61 00 20 */ addi r3, r1, 0x20
/* 8014AD30 00147C90 38 80 FF FF */ li r4, -1
/* 8014AD34 00147C94 4B FB B8 D5 */ bl __dt__16CActorParametersFv
/* 8014AD38 00147C98 38 61 00 88 */ addi r3, r1, 0x88
/* 8014AD3C 00147C9C 38 80 FF FF */ li r4, -1
/* 8014AD40 00147CA0 4B FC BD 0D */ bl __dt__10CModelDataFv
/* 8014AD44 00147CA4 3C 80 80 3E */ lis r4, lbl_803E23C8@ha
/* 8014AD48 00147CA8 7F E3 FB 78 */ mr r3, r31
/* 8014AD4C 00147CAC 38 04 23 C8 */ addi r0, r4, lbl_803E23C8@l
/* 8014AD50 00147CB0 90 1F 00 00 */ stw r0, 0(r31)
/* 8014AD54 00147CB4 93 DF 00 E8 */ stw r30, 0xe8(r31)
/* 8014AD58 00147CB8 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 8014AD5C 00147CBC 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8014AD60 00147CC0 7C 08 03 A6 */ mtlr r0
/* 8014AD64 00147CC4 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8014AD68 00147CC8 4E 80 00 20 */ blr

View File

@ -0,0 +1,248 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__19CScriptGrapplePointFR8IVisitor
Accept__19CScriptGrapplePointFR8IVisitor:
/* 8012F774 0012C6D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F778 0012C6D8 7C 08 02 A6 */ mflr r0
/* 8012F77C 0012C6DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F780 0012C6E0 7C 60 1B 78 */ mr r0, r3
/* 8012F784 0012C6E4 7C 83 23 78 */ mr r3, r4
/* 8012F788 0012C6E8 81 84 00 00 */ lwz r12, 0(r4)
/* 8012F78C 0012C6EC 7C 04 03 78 */ mr r4, r0
/* 8012F790 0012C6F0 81 8C 00 8C */ lwz r12, 0x8c(r12)
/* 8012F794 0012C6F4 7D 89 03 A6 */ mtctr r12
/* 8012F798 0012C6F8 4E 80 04 21 */ bctrl
/* 8012F79C 0012C6FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F7A0 0012C700 7C 08 03 A6 */ mtlr r0
/* 8012F7A4 0012C704 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F7A8 0012C708 4E 80 00 20 */ blr
.global AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8012F7AC 0012C70C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F7B0 0012C710 7C 08 02 A6 */ mflr r0
/* 8012F7B4 0012C714 2C 04 00 04 */ cmpwi r4, 4
/* 8012F7B8 0012C718 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F7BC 0012C71C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012F7C0 0012C720 7C 7F 1B 78 */ mr r31, r3
/* 8012F7C4 0012C724 41 82 00 48 */ beq lbl_8012F80C
/* 8012F7C8 0012C728 40 80 00 74 */ bge lbl_8012F83C
/* 8012F7CC 0012C72C 2C 04 00 01 */ cmpwi r4, 1
/* 8012F7D0 0012C730 41 82 00 08 */ beq lbl_8012F7D8
/* 8012F7D4 0012C734 48 00 00 68 */ b lbl_8012F83C
lbl_8012F7D8:
/* 8012F7D8 0012C738 88 1F 00 30 */ lbz r0, 0x30(r31)
/* 8012F7DC 0012C73C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8012F7E0 0012C740 40 82 00 5C */ bne lbl_8012F83C
/* 8012F7E4 0012C744 7C C5 33 78 */ mr r5, r6
/* 8012F7E8 0012C748 38 80 00 29 */ li r4, 0x29
/* 8012F7EC 0012C74C 4B F2 4B 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 8012F7F0 0012C750 7F E3 FB 78 */ mr r3, r31
/* 8012F7F4 0012C754 38 80 00 01 */ li r4, 1
/* 8012F7F8 0012C758 81 9F 00 00 */ lwz r12, 0(r31)
/* 8012F7FC 0012C75C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8012F800 0012C760 7D 89 03 A6 */ mtctr r12
/* 8012F804 0012C764 4E 80 04 21 */ bctrl
/* 8012F808 0012C768 48 00 00 34 */ b lbl_8012F83C
lbl_8012F80C:
/* 8012F80C 0012C76C 88 1F 00 30 */ lbz r0, 0x30(r31)
/* 8012F810 0012C770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8012F814 0012C774 41 82 00 28 */ beq lbl_8012F83C
/* 8012F818 0012C778 7C C5 33 78 */ mr r5, r6
/* 8012F81C 0012C77C 38 80 00 29 */ li r4, 0x29
/* 8012F820 0012C780 4B F2 47 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 8012F824 0012C784 7F E3 FB 78 */ mr r3, r31
/* 8012F828 0012C788 38 80 00 00 */ li r4, 0
/* 8012F82C 0012C78C 81 9F 00 00 */ lwz r12, 0(r31)
/* 8012F830 0012C790 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8012F834 0012C794 7D 89 03 A6 */ mtctr r12
/* 8012F838 0012C798 4E 80 04 21 */ bctrl
lbl_8012F83C:
/* 8012F83C 0012C79C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F840 0012C7A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012F844 0012C7A4 7C 08 03 A6 */ mtlr r0
/* 8012F848 0012C7A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F84C 0012C7AC 4E 80 00 20 */ blr
.global Think__19CScriptGrapplePointFfR13CStateManager
Think__19CScriptGrapplePointFfR13CStateManager:
/* 8012F850 0012C7B0 4E 80 00 20 */ blr
.global Render__19CScriptGrapplePointCFRC13CStateManager
Render__19CScriptGrapplePointCFRC13CStateManager:
/* 8012F854 0012C7B4 4E 80 00 20 */ blr
.global GetTouchBounds__19CScriptGrapplePointCFv
GetTouchBounds__19CScriptGrapplePointCFv:
/* 8012F858 0012C7B8 38 00 00 01 */ li r0, 1
/* 8012F85C 0012C7BC 28 03 00 00 */ cmplwi r3, 0
/* 8012F860 0012C7C0 98 03 00 18 */ stb r0, 0x18(r3)
/* 8012F864 0012C7C4 4D 82 00 20 */ beqlr
/* 8012F868 0012C7C8 C0 04 00 E8 */ lfs f0, 0xe8(r4)
/* 8012F86C 0012C7CC D0 03 00 00 */ stfs f0, 0(r3)
/* 8012F870 0012C7D0 C0 04 00 EC */ lfs f0, 0xec(r4)
/* 8012F874 0012C7D4 D0 03 00 04 */ stfs f0, 4(r3)
/* 8012F878 0012C7D8 C0 04 00 F0 */ lfs f0, 0xf0(r4)
/* 8012F87C 0012C7DC D0 03 00 08 */ stfs f0, 8(r3)
/* 8012F880 0012C7E0 C0 04 00 F4 */ lfs f0, 0xf4(r4)
/* 8012F884 0012C7E4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8012F888 0012C7E8 C0 04 00 F8 */ lfs f0, 0xf8(r4)
/* 8012F88C 0012C7EC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8012F890 0012C7F0 C0 04 00 FC */ lfs f0, 0xfc(r4)
/* 8012F894 0012C7F4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8012F898 0012C7F8 4E 80 00 20 */ blr
.global AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager:
/* 8012F89C 0012C7FC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F8A0 0012C800 7C 08 02 A6 */ mflr r0
/* 8012F8A4 0012C804 7C A4 2B 78 */ mr r4, r5
/* 8012F8A8 0012C808 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F8AC 0012C80C 4B F2 51 21 */ bl EnsureRendered__6CActorCFRC13CStateManager
/* 8012F8B0 0012C810 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F8B4 0012C814 7C 08 03 A6 */ mtlr r0
/* 8012F8B8 0012C818 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F8BC 0012C81C 4E 80 00 20 */ blr
.global __dt__19CScriptGrapplePointFv
__dt__19CScriptGrapplePointFv:
/* 8012F8C0 0012C820 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012F8C4 0012C824 7C 08 02 A6 */ mflr r0
/* 8012F8C8 0012C828 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F8CC 0012C82C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012F8D0 0012C830 7C 9F 23 78 */ mr r31, r4
/* 8012F8D4 0012C834 93 C1 00 08 */ stw r30, 8(r1)
/* 8012F8D8 0012C838 7C 7E 1B 79 */ or. r30, r3, r3
/* 8012F8DC 0012C83C 41 82 00 28 */ beq lbl_8012F904
/* 8012F8E0 0012C840 3C A0 80 3E */ lis r5, lbl_803E0D00@ha
/* 8012F8E4 0012C844 38 80 00 00 */ li r4, 0
/* 8012F8E8 0012C848 38 05 0D 00 */ addi r0, r5, lbl_803E0D00@l
/* 8012F8EC 0012C84C 90 1E 00 00 */ stw r0, 0(r30)
/* 8012F8F0 0012C850 4B F2 5E 01 */ bl __dt__6CActorFv
/* 8012F8F4 0012C854 7F E0 07 35 */ extsh. r0, r31
/* 8012F8F8 0012C858 40 81 00 0C */ ble lbl_8012F904
/* 8012F8FC 0012C85C 7F C3 F3 78 */ mr r3, r30
/* 8012F900 0012C860 48 1E 60 31 */ bl Free__7CMemoryFPCv
lbl_8012F904:
/* 8012F904 0012C864 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012F908 0012C868 7F C3 F3 78 */ mr r3, r30
/* 8012F90C 0012C86C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012F910 0012C870 83 C1 00 08 */ lwz r30, 8(r1)
/* 8012F914 0012C874 7C 08 03 A6 */ mtlr r0
/* 8012F918 0012C878 38 21 00 10 */ addi r1, r1, 0x10
/* 8012F91C 0012C87C 4E 80 00 20 */ blr
.global "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters"
"__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters":
/* 8012F920 0012C880 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 8012F924 0012C884 7C 08 02 A6 */ mflr r0
/* 8012F928 0012C888 90 01 01 34 */ stw r0, 0x134(r1)
/* 8012F92C 0012C88C BF 21 01 14 */ stmw r25, 0x114(r1)
/* 8012F930 0012C890 7C 7F 1B 78 */ mr r31, r3
/* 8012F934 0012C894 7C 99 23 78 */ mr r25, r4
/* 8012F938 0012C898 7C BA 2B 78 */ mr r26, r5
/* 8012F93C 0012C89C 7C DB 33 78 */ mr r27, r6
/* 8012F940 0012C8A0 7C FC 3B 78 */ mr r28, r7
/* 8012F944 0012C8A4 7D 1D 43 78 */ mr r29, r8
/* 8012F948 0012C8A8 7D 3E 4B 78 */ mr r30, r9
/* 8012F94C 0012C8AC 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8012F950 0012C8B0 4B F0 AE 55 */ bl CModelDataNull__10CModelDataFv
/* 8012F954 0012C8B4 38 61 00 50 */ addi r3, r1, 0x50
/* 8012F958 0012C8B8 4B EE B4 E1 */ bl None__16CActorParametersFv
/* 8012F95C 0012C8BC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8012F960 0012C8C0 38 00 00 00 */ li r0, 0
/* 8012F964 0012C8C4 80 AD 8B 20 */ lwz r5, lbl_805A76E0@sda21(r13)
/* 8012F968 0012C8C8 38 60 00 00 */ li r3, 0
/* 8012F96C 0012C8CC B0 81 00 10 */ sth r4, 0x10(r1)
/* 8012F970 0012C8D0 38 80 00 01 */ li r4, 1
/* 8012F974 0012C8D4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8012F978 0012C8D8 90 01 00 18 */ stw r0, 0x18(r1)
/* 8012F97C 0012C8DC 48 25 A5 79 */ bl __shl2i
/* 8012F980 0012C8E0 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8012F984 0012C8E4 39 61 00 50 */ addi r11, r1, 0x50
/* 8012F988 0012C8E8 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8012F98C 0012C8EC 38 01 00 10 */ addi r0, r1, 0x10
/* 8012F990 0012C8F0 7C A3 1B 78 */ or r3, r5, r3
/* 8012F994 0012C8F4 A1 39 00 00 */ lhz r9, 0(r25)
/* 8012F998 0012C8F8 7C C4 23 78 */ or r4, r6, r4
/* 8012F99C 0012C8FC 90 61 00 18 */ stw r3, 0x18(r1)
/* 8012F9A0 0012C900 7F E3 FB 78 */ mr r3, r31
/* 8012F9A4 0012C904 7F A5 EB 78 */ mr r5, r29
/* 8012F9A8 0012C908 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8012F9AC 0012C90C 7F 46 D3 78 */ mr r6, r26
/* 8012F9B0 0012C910 7F 67 DB 78 */ mr r7, r27
/* 8012F9B4 0012C914 7F 88 E3 78 */ mr r8, r28
/* 8012F9B8 0012C918 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8012F9BC 0012C91C 38 81 00 14 */ addi r4, r1, 0x14
/* 8012F9C0 0012C920 39 21 00 B8 */ addi r9, r1, 0xb8
/* 8012F9C4 0012C924 39 41 00 18 */ addi r10, r1, 0x18
/* 8012F9C8 0012C928 91 61 00 08 */ stw r11, 8(r1)
/* 8012F9CC 0012C92C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8012F9D0 0012C930 4B F2 5E 51 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8012F9D4 0012C934 38 61 00 50 */ addi r3, r1, 0x50
/* 8012F9D8 0012C938 38 80 FF FF */ li r4, -1
/* 8012F9DC 0012C93C 4B FD 6C 2D */ bl __dt__16CActorParametersFv
/* 8012F9E0 0012C940 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8012F9E4 0012C944 38 80 FF FF */ li r4, -1
/* 8012F9E8 0012C948 4B FE 70 65 */ bl __dt__10CModelDataFv
/* 8012F9EC 0012C94C 3C 60 80 3E */ lis r3, lbl_803E0D00@ha
/* 8012F9F0 0012C950 C0 02 99 30 */ lfs f0, lbl_805AB650@sda21(r2)
/* 8012F9F4 0012C954 38 03 0D 00 */ addi r0, r3, lbl_803E0D00@l
/* 8012F9F8 0012C958 38 7F 00 E8 */ addi r3, r31, 0xe8
/* 8012F9FC 0012C95C 90 1F 00 00 */ stw r0, 0(r31)
/* 8012FA00 0012C960 38 81 00 44 */ addi r4, r1, 0x44
/* 8012FA04 0012C964 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8012FA08 0012C968 C1 1F 00 60 */ lfs f8, 0x60(r31)
/* 8012FA0C 0012C96C C0 FF 00 50 */ lfs f7, 0x50(r31)
/* 8012FA10 0012C970 C0 DF 00 40 */ lfs f6, 0x40(r31)
/* 8012FA14 0012C974 EC 88 00 2A */ fadds f4, f8, f0
/* 8012FA18 0012C978 EC A7 00 2A */ fadds f5, f7, f0
/* 8012FA1C 0012C97C D0 E1 00 24 */ stfs f7, 0x24(r1)
/* 8012FA20 0012C980 EC 26 00 2A */ fadds f1, f6, f0
/* 8012FA24 0012C984 EC 67 00 28 */ fsubs f3, f7, f0
/* 8012FA28 0012C988 D0 C1 00 20 */ stfs f6, 0x20(r1)
/* 8012FA2C 0012C98C EC 48 00 28 */ fsubs f2, f8, f0
/* 8012FA30 0012C990 EC 06 00 28 */ fsubs f0, f6, f0
/* 8012FA34 0012C994 D1 01 00 28 */ stfs f8, 0x28(r1)
/* 8012FA38 0012C998 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 8012FA3C 0012C99C D0 A1 00 30 */ stfs f5, 0x30(r1)
/* 8012FA40 0012C9A0 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 8012FA44 0012C9A4 D0 C1 00 38 */ stfs f6, 0x38(r1)
/* 8012FA48 0012C9A8 D0 E1 00 3C */ stfs f7, 0x3c(r1)
/* 8012FA4C 0012C9AC D1 01 00 40 */ stfs f8, 0x40(r1)
/* 8012FA50 0012C9B0 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8012FA54 0012C9B4 D0 61 00 48 */ stfs f3, 0x48(r1)
/* 8012FA58 0012C9B8 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 8012FA5C 0012C9BC 48 20 8A AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8012FA60 0012C9C0 C0 1E 00 00 */ lfs f0, 0(r30)
/* 8012FA64 0012C9C4 7F E3 FB 78 */ mr r3, r31
/* 8012FA68 0012C9C8 D0 1F 01 00 */ stfs f0, 0x100(r31)
/* 8012FA6C 0012C9CC C0 1E 00 04 */ lfs f0, 4(r30)
/* 8012FA70 0012C9D0 D0 1F 01 04 */ stfs f0, 0x104(r31)
/* 8012FA74 0012C9D4 C0 1E 00 08 */ lfs f0, 8(r30)
/* 8012FA78 0012C9D8 D0 1F 01 08 */ stfs f0, 0x108(r31)
/* 8012FA7C 0012C9DC C0 1E 00 0C */ lfs f0, 0xc(r30)
/* 8012FA80 0012C9E0 D0 1F 01 0C */ stfs f0, 0x10c(r31)
/* 8012FA84 0012C9E4 C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8012FA88 0012C9E8 D0 1F 01 10 */ stfs f0, 0x110(r31)
/* 8012FA8C 0012C9EC C0 1E 00 14 */ lfs f0, 0x14(r30)
/* 8012FA90 0012C9F0 D0 1F 01 14 */ stfs f0, 0x114(r31)
/* 8012FA94 0012C9F4 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 8012FA98 0012C9F8 D0 1F 01 18 */ stfs f0, 0x118(r31)
/* 8012FA9C 0012C9FC C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8012FAA0 0012CA00 D0 1F 01 1C */ stfs f0, 0x11c(r31)
/* 8012FAA4 0012CA04 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 8012FAA8 0012CA08 D0 1F 01 20 */ stfs f0, 0x120(r31)
/* 8012FAAC 0012CA0C C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 8012FAB0 0012CA10 D0 1F 01 24 */ stfs f0, 0x124(r31)
/* 8012FAB4 0012CA14 C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 8012FAB8 0012CA18 D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 8012FABC 0012CA1C 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 8012FAC0 0012CA20 98 1F 01 2C */ stb r0, 0x12c(r31)
/* 8012FAC4 0012CA24 BB 21 01 14 */ lmw r25, 0x114(r1)
/* 8012FAC8 0012CA28 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8012FACC 0012CA2C 7C 08 03 A6 */ mtlr r0
/* 8012FAD0 0012CA30 38 21 01 30 */ addi r1, r1, 0x130
/* 8012FAD4 0012CA34 4E 80 00 20 */ blr

View File

@ -0,0 +1,306 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__14CScriptHUDMemoFR8IVisitor
Accept__14CScriptHUDMemoFR8IVisitor:
/* 800E832C 000E528C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E8330 000E5290 7C 08 02 A6 */ mflr r0
/* 800E8334 000E5294 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E8338 000E5298 7C 60 1B 78 */ mr r0, r3
/* 800E833C 000E529C 7C 83 23 78 */ mr r3, r4
/* 800E8340 000E52A0 81 84 00 00 */ lwz r12, 0(r4)
/* 800E8344 000E52A4 7C 04 03 78 */ mr r4, r0
/* 800E8348 000E52A8 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800E834C 000E52AC 7D 89 03 A6 */ mtctr r12
/* 800E8350 000E52B0 4E 80 04 21 */ bctrl
/* 800E8354 000E52B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E8358 000E52B8 7C 08 03 A6 */ mtlr r0
/* 800E835C 000E52BC 38 21 00 10 */ addi r1, r1, 0x10
/* 800E8360 000E52C0 4E 80 00 20 */ blr
.global AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800E8364 000E52C4 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800E8368 000E52C8 7C 08 02 A6 */ mflr r0
/* 800E836C 000E52CC 90 01 00 64 */ stw r0, 0x64(r1)
/* 800E8370 000E52D0 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 800E8374 000E52D4 7C DF 33 78 */ mr r31, r6
/* 800E8378 000E52D8 93 C1 00 58 */ stw r30, 0x58(r1)
/* 800E837C 000E52DC 7C BE 2B 78 */ mr r30, r5
/* 800E8380 000E52E0 93 A1 00 54 */ stw r29, 0x54(r1)
/* 800E8384 000E52E4 7C 9D 23 78 */ mr r29, r4
/* 800E8388 000E52E8 2C 1D 00 0D */ cmpwi r29, 0xd
/* 800E838C 000E52EC 93 81 00 50 */ stw r28, 0x50(r1)
/* 800E8390 000E52F0 7C 7C 1B 78 */ mr r28, r3
/* 800E8394 000E52F4 41 82 00 14 */ beq lbl_800E83A8
/* 800E8398 000E52F8 40 80 00 F8 */ bge lbl_800E8490
/* 800E839C 000E52FC 2C 1D 00 04 */ cmpwi r29, 4
/* 800E83A0 000E5300 41 82 00 9C */ beq lbl_800E843C
/* 800E83A4 000E5304 48 00 00 EC */ b lbl_800E8490
lbl_800E83A8:
/* 800E83A8 000E5308 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800E83AC 000E530C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E83B0 000E5310 41 82 00 E0 */ beq lbl_800E8490
/* 800E83B4 000E5314 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800E83B8 000E5318 2C 00 00 01 */ cmpwi r0, 1
/* 800E83BC 000E531C 40 82 00 18 */ bne lbl_800E83D4
/* 800E83C0 000E5320 80 9C 00 40 */ lwz r4, 0x40(r28)
/* 800E83C4 000E5324 7F E3 FB 78 */ mr r3, r31
/* 800E83C8 000E5328 C0 3C 00 34 */ lfs f1, 0x34(r28)
/* 800E83CC 000E532C 4B F5 C4 69 */ bl ShowPausedHUDMemo__13CStateManagerFUif
/* 800E83D0 000E5330 48 00 00 C0 */ b lbl_800E8490
lbl_800E83D4:
/* 800E83D4 000E5334 88 1C 00 50 */ lbz r0, 0x50(r28)
/* 800E83D8 000E5338 28 00 00 00 */ cmplwi r0, 0
/* 800E83DC 000E533C 41 82 00 3C */ beq lbl_800E8418
/* 800E83E0 000E5340 80 7C 00 4C */ lwz r3, 0x4c(r28)
/* 800E83E4 000E5344 38 80 00 00 */ li r4, 0
/* 800E83E8 000E5348 48 26 E3 15 */ bl GetString__12CStringTableCFi
/* 800E83EC 000E534C 7C 64 1B 78 */ mr r4, r3
/* 800E83F0 000E5350 38 61 00 38 */ addi r3, r1, 0x38
/* 800E83F4 000E5354 38 C1 00 08 */ addi r6, r1, 8
/* 800E83F8 000E5358 38 A0 FF FF */ li r5, -1
/* 800E83FC 000E535C 48 25 53 C1 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 800E8400 000E5360 38 61 00 38 */ addi r3, r1, 0x38
/* 800E8404 000E5364 38 9C 00 34 */ addi r4, r28, 0x34
/* 800E8408 000E5368 4B F8 38 61 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo
/* 800E840C 000E536C 38 61 00 38 */ addi r3, r1, 0x38
/* 800E8410 000E5370 48 25 4D 25 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 800E8414 000E5374 48 00 00 7C */ b lbl_800E8490
lbl_800E8418:
/* 800E8418 000E5378 38 61 00 28 */ addi r3, r1, 0x28
/* 800E841C 000E537C 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21
/* 800E8420 000E5380 4B F2 D5 D1 */ bl wstring_l__4rstlFPCw
/* 800E8424 000E5384 38 61 00 28 */ addi r3, r1, 0x28
/* 800E8428 000E5388 38 9C 00 34 */ addi r4, r28, 0x34
/* 800E842C 000E538C 4B F8 38 3D */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo
/* 800E8430 000E5390 38 61 00 28 */ addi r3, r1, 0x28
/* 800E8434 000E5394 48 25 4D 01 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 800E8438 000E5398 48 00 00 58 */ b lbl_800E8490
lbl_800E843C:
/* 800E843C 000E539C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800E8440 000E53A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E8444 000E53A4 41 82 00 4C */ beq lbl_800E8490
/* 800E8448 000E53A8 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 800E844C 000E53AC 2C 00 00 00 */ cmpwi r0, 0
/* 800E8450 000E53B0 40 82 00 40 */ bne lbl_800E8490
/* 800E8454 000E53B4 38 61 00 18 */ addi r3, r1, 0x18
/* 800E8458 000E53B8 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21
/* 800E845C 000E53BC 4B F2 D5 95 */ bl wstring_l__4rstlFPCw
/* 800E8460 000E53C0 C0 02 90 18 */ lfs f0, lbl_805AAD38@sda21(r2)
/* 800E8464 000E53C4 38 A0 00 00 */ li r5, 0
/* 800E8468 000E53C8 38 00 00 01 */ li r0, 1
/* 800E846C 000E53CC 98 A1 00 14 */ stb r5, 0x14(r1)
/* 800E8470 000E53D0 38 61 00 18 */ addi r3, r1, 0x18
/* 800E8474 000E53D4 38 81 00 10 */ addi r4, r1, 0x10
/* 800E8478 000E53D8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800E847C 000E53DC 98 01 00 15 */ stb r0, 0x15(r1)
/* 800E8480 000E53E0 98 A1 00 16 */ stb r5, 0x16(r1)
/* 800E8484 000E53E4 4B F8 37 E5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo
/* 800E8488 000E53E8 38 61 00 18 */ addi r3, r1, 0x18
/* 800E848C 000E53EC 48 25 4C A9 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_800E8490:
/* 800E8490 000E53F0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800E8494 000E53F4 7F 83 E3 78 */ mr r3, r28
/* 800E8498 000E53F8 7F A4 EB 78 */ mr r4, r29
/* 800E849C 000E53FC 7F E6 FB 78 */ mr r6, r31
/* 800E84A0 000E5400 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800E84A4 000E5404 38 A1 00 0C */ addi r5, r1, 0xc
/* 800E84A8 000E5408 4B F6 8C B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800E84AC 000E540C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800E84B0 000E5410 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 800E84B4 000E5414 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 800E84B8 000E5418 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 800E84BC 000E541C 83 81 00 50 */ lwz r28, 0x50(r1)
/* 800E84C0 000E5420 7C 08 03 A6 */ mtlr r0
/* 800E84C4 000E5424 38 21 00 60 */ addi r1, r1, 0x60
/* 800E84C8 000E5428 4E 80 00 20 */ blr
.global __dt__14CScriptHUDMemoFv
__dt__14CScriptHUDMemoFv:
/* 800E84CC 000E542C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E84D0 000E5430 7C 08 02 A6 */ mflr r0
/* 800E84D4 000E5434 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E84D8 000E5438 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800E84DC 000E543C 7C 9F 23 78 */ mr r31, r4
/* 800E84E0 000E5440 93 C1 00 08 */ stw r30, 8(r1)
/* 800E84E4 000E5444 7C 7E 1B 79 */ or. r30, r3, r3
/* 800E84E8 000E5448 41 82 00 60 */ beq lbl_800E8548
/* 800E84EC 000E544C 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha
/* 800E84F0 000E5450 34 1E 00 44 */ addic. r0, r30, 0x44
/* 800E84F4 000E5454 38 03 FB F0 */ addi r0, r3, lbl_803DFBF0@l
/* 800E84F8 000E5458 90 1E 00 00 */ stw r0, 0(r30)
/* 800E84FC 000E545C 41 82 00 30 */ beq lbl_800E852C
/* 800E8500 000E5460 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 800E8504 000E5464 28 00 00 00 */ cmplwi r0, 0
/* 800E8508 000E5468 41 82 00 1C */ beq lbl_800E8524
/* 800E850C 000E546C 34 7E 00 44 */ addic. r3, r30, 0x44
/* 800E8510 000E5470 41 82 00 14 */ beq lbl_800E8524
/* 800E8514 000E5474 28 03 00 00 */ cmplwi r3, 0
/* 800E8518 000E5478 41 82 00 0C */ beq lbl_800E8524
/* 800E851C 000E547C 38 80 00 00 */ li r4, 0
/* 800E8520 000E5480 48 25 89 21 */ bl __dt__6CTokenFv
lbl_800E8524:
/* 800E8524 000E5484 38 00 00 00 */ li r0, 0
/* 800E8528 000E5488 98 1E 00 50 */ stb r0, 0x50(r30)
lbl_800E852C:
/* 800E852C 000E548C 7F C3 F3 78 */ mr r3, r30
/* 800E8530 000E5490 38 80 00 00 */ li r4, 0
/* 800E8534 000E5494 4B F6 8D 41 */ bl __dt__7CEntityFv
/* 800E8538 000E5498 7F E0 07 35 */ extsh. r0, r31
/* 800E853C 000E549C 40 81 00 0C */ ble lbl_800E8548
/* 800E8540 000E54A0 7F C3 F3 78 */ mr r3, r30
/* 800E8544 000E54A4 48 22 D3 ED */ bl Free__7CMemoryFPCv
lbl_800E8548:
/* 800E8548 000E54A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E854C 000E54AC 7F C3 F3 78 */ mr r3, r30
/* 800E8550 000E54B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800E8554 000E54B4 83 C1 00 08 */ lwz r30, 8(r1)
/* 800E8558 000E54B8 7C 08 03 A6 */ mtlr r0
/* 800E855C 000E54BC 38 21 00 10 */ addi r1, r1, 0x10
/* 800E8560 000E54C0 4E 80 00 20 */ blr
.global "__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib"
"__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib":
/* 800E8564 000E54C4 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 800E8568 000E54C8 7C 08 02 A6 */ mflr r0
/* 800E856C 000E54CC 90 01 00 74 */ stw r0, 0x74(r1)
/* 800E8570 000E54D0 BF 01 00 50 */ stmw r24, 0x50(r1)
/* 800E8574 000E54D4 7C F9 3B 78 */ mr r25, r7
/* 800E8578 000E54D8 7C 7F 1B 78 */ mr r31, r3
/* 800E857C 000E54DC 7D 1B 43 78 */ mr r27, r8
/* 800E8580 000E54E0 7D 3A 4B 78 */ mr r26, r9
/* 800E8584 000E54E4 A0 04 00 00 */ lhz r0, 0(r4)
/* 800E8588 000E54E8 7C A4 2B 78 */ mr r4, r5
/* 800E858C 000E54EC 7C C5 33 78 */ mr r5, r6
/* 800E8590 000E54F0 7D 46 53 78 */ mr r6, r10
/* 800E8594 000E54F4 B0 01 00 08 */ sth r0, 8(r1)
/* 800E8598 000E54F8 7C 87 23 78 */ mr r7, r4
/* 800E859C 000E54FC 38 81 00 08 */ addi r4, r1, 8
/* 800E85A0 000E5500 4B F6 8D 85 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800E85A4 000E5504 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha
/* 800E85A8 000E5508 3C 1A 00 01 */ addis r0, r26, 1
/* 800E85AC 000E550C 38 63 FB F0 */ addi r3, r3, lbl_803DFBF0@l
/* 800E85B0 000E5510 3B C0 00 00 */ li r30, 0
/* 800E85B4 000E5514 90 7F 00 00 */ stw r3, 0(r31)
/* 800E85B8 000E5518 28 00 FF FF */ cmplwi r0, 0xffff
/* 800E85BC 000E551C 3B A0 00 00 */ li r29, 0
/* 800E85C0 000E5520 3B 80 00 00 */ li r28, 0
/* 800E85C4 000E5524 C0 19 00 00 */ lfs f0, 0(r25)
/* 800E85C8 000E5528 3B 00 00 00 */ li r24, 0
/* 800E85CC 000E552C D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 800E85D0 000E5530 88 19 00 04 */ lbz r0, 4(r25)
/* 800E85D4 000E5534 98 1F 00 38 */ stb r0, 0x38(r31)
/* 800E85D8 000E5538 88 19 00 05 */ lbz r0, 5(r25)
/* 800E85DC 000E553C 98 1F 00 39 */ stb r0, 0x39(r31)
/* 800E85E0 000E5540 88 19 00 06 */ lbz r0, 6(r25)
/* 800E85E4 000E5544 98 1F 00 3A */ stb r0, 0x3a(r31)
/* 800E85E8 000E5548 93 7F 00 3C */ stw r27, 0x3c(r31)
/* 800E85EC 000E554C 93 5F 00 40 */ stw r26, 0x40(r31)
/* 800E85F0 000E5550 40 82 00 18 */ bne lbl_800E8608
/* 800E85F4 000E5554 38 00 00 00 */ li r0, 0
/* 800E85F8 000E5558 3B 61 00 38 */ addi r27, r1, 0x38
/* 800E85FC 000E555C 98 01 00 44 */ stb r0, 0x44(r1)
/* 800E8600 000E5560 3B C0 00 01 */ li r30, 1
/* 800E8604 000E5564 48 00 00 8C */ b lbl_800E8690
lbl_800E8608:
/* 800E8608 000E5568 3C 60 53 54 */ lis r3, 0x53545247@ha
/* 800E860C 000E556C 93 41 00 18 */ stw r26, 0x18(r1)
/* 800E8610 000E5570 38 03 52 47 */ addi r0, r3, 0x53545247@l
/* 800E8614 000E5574 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800E8618 000E5578 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E861C 000E557C 38 61 00 0C */ addi r3, r1, 0xc
/* 800E8620 000E5580 38 A1 00 14 */ addi r5, r1, 0x14
/* 800E8624 000E5584 81 84 00 00 */ lwz r12, 0(r4)
/* 800E8628 000E5588 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 800E862C 000E558C 7D 89 03 A6 */ mtctr r12
/* 800E8630 000E5590 4E 80 04 21 */ bctrl
/* 800E8634 000E5594 3B 01 00 2C */ addi r24, r1, 0x2c
/* 800E8638 000E5598 38 81 00 0C */ addi r4, r1, 0xc
/* 800E863C 000E559C 7F 03 C3 78 */ mr r3, r24
/* 800E8640 000E55A0 3B A0 00 01 */ li r29, 1
/* 800E8644 000E55A4 48 25 88 65 */ bl __ct__6CTokenFRC6CToken
/* 800E8648 000E55A8 7F 03 C3 78 */ mr r3, r24
/* 800E864C 000E55AC 48 25 87 C1 */ bl GetObj__6CTokenFv
/* 800E8650 000E55B0 80 63 00 04 */ lwz r3, 4(r3)
/* 800E8654 000E55B4 38 00 00 01 */ li r0, 1
/* 800E8658 000E55B8 37 61 00 1C */ addic. r27, r1, 0x1c
/* 800E865C 000E55BC 3B 80 00 01 */ li r28, 1
/* 800E8660 000E55C0 90 61 00 34 */ stw r3, 0x34(r1)
/* 800E8664 000E55C4 98 01 00 28 */ stb r0, 0x28(r1)
/* 800E8668 000E55C8 41 82 00 20 */ beq lbl_800E8688
/* 800E866C 000E55CC 7F 63 DB 78 */ mr r3, r27
/* 800E8670 000E55D0 7F 04 C3 78 */ mr r4, r24
/* 800E8674 000E55D4 48 25 88 35 */ bl __ct__6CTokenFRC6CToken
/* 800E8678 000E55D8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E867C 000E55DC 7F 63 DB 78 */ mr r3, r27
/* 800E8680 000E55E0 90 1B 00 08 */ stw r0, 8(r27)
/* 800E8684 000E55E4 48 25 87 01 */ bl Lock__6CTokenFv
lbl_800E8688:
/* 800E8688 000E55E8 3B 00 00 01 */ li r24, 1
/* 800E868C 000E55EC 3B 61 00 1C */ addi r27, r1, 0x1c
lbl_800E8690:
/* 800E8690 000E55F0 88 1B 00 0C */ lbz r0, 0xc(r27)
/* 800E8694 000E55F4 98 1F 00 50 */ stb r0, 0x50(r31)
/* 800E8698 000E55F8 88 1B 00 0C */ lbz r0, 0xc(r27)
/* 800E869C 000E55FC 28 00 00 00 */ cmplwi r0, 0
/* 800E86A0 000E5600 41 82 00 28 */ beq lbl_800E86C8
/* 800E86A4 000E5604 37 5F 00 44 */ addic. r26, r31, 0x44
/* 800E86A8 000E5608 41 82 00 20 */ beq lbl_800E86C8
/* 800E86AC 000E560C 7F 43 D3 78 */ mr r3, r26
/* 800E86B0 000E5610 7F 64 DB 78 */ mr r4, r27
/* 800E86B4 000E5614 48 25 87 F5 */ bl __ct__6CTokenFRC6CToken
/* 800E86B8 000E5618 80 1B 00 08 */ lwz r0, 8(r27)
/* 800E86BC 000E561C 7F 43 D3 78 */ mr r3, r26
/* 800E86C0 000E5620 90 1A 00 08 */ stw r0, 8(r26)
/* 800E86C4 000E5624 48 25 86 C1 */ bl Lock__6CTokenFv
lbl_800E86C8:
/* 800E86C8 000E5628 7F 00 07 75 */ extsb. r0, r24
/* 800E86CC 000E562C 41 82 00 30 */ beq lbl_800E86FC
/* 800E86D0 000E5630 88 01 00 28 */ lbz r0, 0x28(r1)
/* 800E86D4 000E5634 28 00 00 00 */ cmplwi r0, 0
/* 800E86D8 000E5638 41 82 00 1C */ beq lbl_800E86F4
/* 800E86DC 000E563C 34 61 00 1C */ addic. r3, r1, 0x1c
/* 800E86E0 000E5640 41 82 00 14 */ beq lbl_800E86F4
/* 800E86E4 000E5644 28 03 00 00 */ cmplwi r3, 0
/* 800E86E8 000E5648 41 82 00 0C */ beq lbl_800E86F4
/* 800E86EC 000E564C 38 80 00 00 */ li r4, 0
/* 800E86F0 000E5650 48 25 87 51 */ bl __dt__6CTokenFv
lbl_800E86F4:
/* 800E86F4 000E5654 38 00 00 00 */ li r0, 0
/* 800E86F8 000E5658 98 01 00 28 */ stb r0, 0x28(r1)
lbl_800E86FC:
/* 800E86FC 000E565C 7F 80 07 75 */ extsb. r0, r28
/* 800E8700 000E5660 41 82 00 10 */ beq lbl_800E8710
/* 800E8704 000E5664 38 61 00 2C */ addi r3, r1, 0x2c
/* 800E8708 000E5668 38 80 00 00 */ li r4, 0
/* 800E870C 000E566C 48 25 87 35 */ bl __dt__6CTokenFv
lbl_800E8710:
/* 800E8710 000E5670 7F A0 07 75 */ extsb. r0, r29
/* 800E8714 000E5674 41 82 00 10 */ beq lbl_800E8724
/* 800E8718 000E5678 38 61 00 0C */ addi r3, r1, 0xc
/* 800E871C 000E567C 38 80 FF FF */ li r4, -1
/* 800E8720 000E5680 48 25 87 21 */ bl __dt__6CTokenFv
lbl_800E8724:
/* 800E8724 000E5684 7F C0 07 75 */ extsb. r0, r30
/* 800E8728 000E5688 41 82 00 30 */ beq lbl_800E8758
/* 800E872C 000E568C 88 01 00 44 */ lbz r0, 0x44(r1)
/* 800E8730 000E5690 28 00 00 00 */ cmplwi r0, 0
/* 800E8734 000E5694 41 82 00 1C */ beq lbl_800E8750
/* 800E8738 000E5698 34 61 00 38 */ addic. r3, r1, 0x38
/* 800E873C 000E569C 41 82 00 14 */ beq lbl_800E8750
/* 800E8740 000E56A0 28 03 00 00 */ cmplwi r3, 0
/* 800E8744 000E56A4 41 82 00 0C */ beq lbl_800E8750
/* 800E8748 000E56A8 38 80 00 00 */ li r4, 0
/* 800E874C 000E56AC 48 25 86 F5 */ bl __dt__6CTokenFv
lbl_800E8750:
/* 800E8750 000E56B0 38 00 00 00 */ li r0, 0
/* 800E8754 000E56B4 98 01 00 44 */ stb r0, 0x44(r1)
lbl_800E8758:
/* 800E8758 000E56B8 7F E3 FB 78 */ mr r3, r31
/* 800E875C 000E56BC BB 01 00 50 */ lmw r24, 0x50(r1)
/* 800E8760 000E56C0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800E8764 000E56C4 7C 08 03 A6 */ mtlr r0
/* 800E8768 000E56C8 38 21 00 70 */ addi r1, r1, 0x70
/* 800E876C 000E56CC 4E 80 00 20 */ blr

View File

@ -0,0 +1,240 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor
Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor:
/* 8014AD6C 00147CCC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014AD70 00147CD0 7C 08 02 A6 */ mflr r0
/* 8014AD74 00147CD4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014AD78 00147CD8 7C 60 1B 78 */ mr r0, r3
/* 8014AD7C 00147CDC 7C 83 23 78 */ mr r3, r4
/* 8014AD80 00147CE0 81 84 00 00 */ lwz r12, 0(r4)
/* 8014AD84 00147CE4 7C 04 03 78 */ mr r4, r0
/* 8014AD88 00147CE8 81 8C 00 B8 */ lwz r12, 0xb8(r12)
/* 8014AD8C 00147CEC 7D 89 03 A6 */ mtctr r12
/* 8014AD90 00147CF0 4E 80 04 21 */ bctrl
/* 8014AD94 00147CF4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014AD98 00147CF8 7C 08 03 A6 */ mtlr r0
/* 8014AD9C 00147CFC 38 21 00 10 */ addi r1, r1, 0x10
/* 8014ADA0 00147D00 4E 80 00 20 */ blr
.global Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager
Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager:
/* 8014ADA4 00147D04 4E 80 00 20 */ blr
.global AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8014ADA8 00147D08 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014ADAC 00147D0C 7C 08 02 A6 */ mflr r0
/* 8014ADB0 00147D10 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014ADB4 00147D14 A0 05 00 00 */ lhz r0, 0(r5)
/* 8014ADB8 00147D18 38 A1 00 08 */ addi r5, r1, 8
/* 8014ADBC 00147D1C B0 01 00 08 */ sth r0, 8(r1)
/* 8014ADC0 00147D20 4B F0 88 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8014ADC4 00147D24 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014ADC8 00147D28 7C 08 03 A6 */ mtlr r0
/* 8014ADCC 00147D2C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014ADD0 00147D30 4E 80 00 20 */ blr
.global GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv
GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv:
/* 8014ADD4 00147D34 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8014ADD8 00147D38 7C 08 02 A6 */ mflr r0
/* 8014ADDC 00147D3C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8014ADE0 00147D40 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8014ADE4 00147D44 7C 7F 1B 78 */ mr r31, r3
/* 8014ADE8 00147D48 88 04 00 30 */ lbz r0, 0x30(r4)
/* 8014ADEC 00147D4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014ADF0 00147D50 41 82 00 AC */ beq lbl_8014AE9C
/* 8014ADF4 00147D54 C0 24 01 04 */ lfs f1, 0x104(r4)
/* 8014ADF8 00147D58 38 61 00 20 */ addi r3, r1, 0x20
/* 8014ADFC 00147D5C C0 64 00 50 */ lfs f3, 0x50(r4)
/* 8014AE00 00147D60 38 A1 00 08 */ addi r5, r1, 8
/* 8014AE04 00147D64 C0 04 00 F8 */ lfs f0, 0xf8(r4)
/* 8014AE08 00147D68 EC C1 18 2A */ fadds f6, f1, f3
/* 8014AE0C 00147D6C C0 44 01 08 */ lfs f2, 0x108(r4)
/* 8014AE10 00147D70 C0 24 00 60 */ lfs f1, 0x60(r4)
/* 8014AE14 00147D74 EC 80 18 2A */ fadds f4, f0, f3
/* 8014AE18 00147D78 C0 04 00 FC */ lfs f0, 0xfc(r4)
/* 8014AE1C 00147D7C EC A2 08 2A */ fadds f5, f2, f1
/* 8014AE20 00147D80 EC 60 08 2A */ fadds f3, f0, f1
/* 8014AE24 00147D84 C0 24 01 00 */ lfs f1, 0x100(r4)
/* 8014AE28 00147D88 C0 44 00 40 */ lfs f2, 0x40(r4)
/* 8014AE2C 00147D8C C0 04 00 F4 */ lfs f0, 0xf4(r4)
/* 8014AE30 00147D90 38 81 00 14 */ addi r4, r1, 0x14
/* 8014AE34 00147D94 EC 21 10 2A */ fadds f1, f1, f2
/* 8014AE38 00147D98 EC 00 10 2A */ fadds f0, f0, f2
/* 8014AE3C 00147D9C D0 C1 00 0C */ stfs f6, 0xc(r1)
/* 8014AE40 00147DA0 D0 21 00 08 */ stfs f1, 8(r1)
/* 8014AE44 00147DA4 D0 A1 00 10 */ stfs f5, 0x10(r1)
/* 8014AE48 00147DA8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8014AE4C 00147DAC D0 81 00 18 */ stfs f4, 0x18(r1)
/* 8014AE50 00147DB0 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8014AE54 00147DB4 48 1E D6 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8014AE58 00147DB8 38 00 00 01 */ li r0, 1
/* 8014AE5C 00147DBC 28 1F 00 00 */ cmplwi r31, 0
/* 8014AE60 00147DC0 98 1F 00 18 */ stb r0, 0x18(r31)
/* 8014AE64 00147DC4 41 82 00 40 */ beq lbl_8014AEA4
/* 8014AE68 00147DC8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8014AE6C 00147DCC D0 1F 00 00 */ stfs f0, 0(r31)
/* 8014AE70 00147DD0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8014AE74 00147DD4 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8014AE78 00147DD8 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8014AE7C 00147DDC D0 1F 00 08 */ stfs f0, 8(r31)
/* 8014AE80 00147DE0 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8014AE84 00147DE4 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8014AE88 00147DE8 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8014AE8C 00147DEC D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8014AE90 00147DF0 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8014AE94 00147DF4 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 8014AE98 00147DF8 48 00 00 0C */ b lbl_8014AEA4
lbl_8014AE9C:
/* 8014AE9C 00147DFC 38 00 00 00 */ li r0, 0
/* 8014AEA0 00147E00 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_8014AEA4:
/* 8014AEA4 00147E04 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8014AEA8 00147E08 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8014AEAC 00147E0C 7C 08 03 A6 */ mtlr r0
/* 8014AEB0 00147E10 38 21 00 40 */ addi r1, r1, 0x40
/* 8014AEB4 00147E14 4E 80 00 20 */ blr
.global Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager
Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager:
/* 8014AEB8 00147E18 4E 80 00 20 */ blr
.global __dt__34CScriptSpiderBallAttractionSurfaceFv
__dt__34CScriptSpiderBallAttractionSurfaceFv:
/* 8014AEBC 00147E1C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014AEC0 00147E20 7C 08 02 A6 */ mflr r0
/* 8014AEC4 00147E24 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014AEC8 00147E28 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014AECC 00147E2C 7C 9F 23 78 */ mr r31, r4
/* 8014AED0 00147E30 93 C1 00 08 */ stw r30, 8(r1)
/* 8014AED4 00147E34 7C 7E 1B 79 */ or. r30, r3, r3
/* 8014AED8 00147E38 41 82 00 28 */ beq lbl_8014AF00
/* 8014AEDC 00147E3C 3C A0 80 3E */ lis r5, lbl_803E2438@ha
/* 8014AEE0 00147E40 38 80 00 00 */ li r4, 0
/* 8014AEE4 00147E44 38 05 24 38 */ addi r0, r5, lbl_803E2438@l
/* 8014AEE8 00147E48 90 1E 00 00 */ stw r0, 0(r30)
/* 8014AEEC 00147E4C 4B F0 A8 05 */ bl __dt__6CActorFv
/* 8014AEF0 00147E50 7F E0 07 35 */ extsh. r0, r31
/* 8014AEF4 00147E54 40 81 00 0C */ ble lbl_8014AF00
/* 8014AEF8 00147E58 7F C3 F3 78 */ mr r3, r30
/* 8014AEFC 00147E5C 48 1C AA 35 */ bl Free__7CMemoryFPCv
lbl_8014AF00:
/* 8014AF00 00147E60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014AF04 00147E64 7F C3 F3 78 */ mr r3, r30
/* 8014AF08 00147E68 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014AF0C 00147E6C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014AF10 00147E70 7C 08 03 A6 */ mtlr r0
/* 8014AF14 00147E74 38 21 00 10 */ addi r1, r1, 0x10
/* 8014AF18 00147E78 4E 80 00 20 */ blr
.global "__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb"
"__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb":
/* 8014AF1C 00147E7C 94 21 FE 90 */ stwu r1, -0x170(r1)
/* 8014AF20 00147E80 7C 08 02 A6 */ mflr r0
/* 8014AF24 00147E84 90 01 01 74 */ stw r0, 0x174(r1)
/* 8014AF28 00147E88 BF 21 01 54 */ stmw r25, 0x154(r1)
/* 8014AF2C 00147E8C 7C 7F 1B 78 */ mr r31, r3
/* 8014AF30 00147E90 7C 99 23 78 */ mr r25, r4
/* 8014AF34 00147E94 7C BA 2B 78 */ mr r26, r5
/* 8014AF38 00147E98 7C DB 33 78 */ mr r27, r6
/* 8014AF3C 00147E9C 7C FC 3B 78 */ mr r28, r7
/* 8014AF40 00147EA0 7D 1D 43 78 */ mr r29, r8
/* 8014AF44 00147EA4 7D 3E 4B 78 */ mr r30, r9
/* 8014AF48 00147EA8 38 61 01 00 */ addi r3, r1, 0x100
/* 8014AF4C 00147EAC 4B EE F8 59 */ bl CModelDataNull__10CModelDataFv
/* 8014AF50 00147EB0 38 61 00 98 */ addi r3, r1, 0x98
/* 8014AF54 00147EB4 4B EC FE E5 */ bl None__16CActorParametersFv
/* 8014AF58 00147EB8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8014AF5C 00147EBC 38 00 00 00 */ li r0, 0
/* 8014AF60 00147EC0 80 AD 8B F0 */ lwz r5, lbl_805A77B0@sda21(r13)
/* 8014AF64 00147EC4 38 60 00 00 */ li r3, 0
/* 8014AF68 00147EC8 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8014AF6C 00147ECC 38 80 00 01 */ li r4, 1
/* 8014AF70 00147ED0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8014AF74 00147ED4 90 01 00 18 */ stw r0, 0x18(r1)
/* 8014AF78 00147ED8 48 23 EF 7D */ bl __shl2i
/* 8014AF7C 00147EDC 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8014AF80 00147EE0 39 61 00 98 */ addi r11, r1, 0x98
/* 8014AF84 00147EE4 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8014AF88 00147EE8 38 01 00 10 */ addi r0, r1, 0x10
/* 8014AF8C 00147EEC 7C A3 1B 78 */ or r3, r5, r3
/* 8014AF90 00147EF0 A1 39 00 00 */ lhz r9, 0(r25)
/* 8014AF94 00147EF4 7C C4 23 78 */ or r4, r6, r4
/* 8014AF98 00147EF8 90 61 00 18 */ stw r3, 0x18(r1)
/* 8014AF9C 00147EFC 7F E3 FB 78 */ mr r3, r31
/* 8014AFA0 00147F00 7F C5 F3 78 */ mr r5, r30
/* 8014AFA4 00147F04 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8014AFA8 00147F08 7F 46 D3 78 */ mr r6, r26
/* 8014AFAC 00147F0C 7F 67 DB 78 */ mr r7, r27
/* 8014AFB0 00147F10 7F 88 E3 78 */ mr r8, r28
/* 8014AFB4 00147F14 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8014AFB8 00147F18 38 81 00 14 */ addi r4, r1, 0x14
/* 8014AFBC 00147F1C 39 21 01 00 */ addi r9, r1, 0x100
/* 8014AFC0 00147F20 39 41 00 18 */ addi r10, r1, 0x18
/* 8014AFC4 00147F24 91 61 00 08 */ stw r11, 8(r1)
/* 8014AFC8 00147F28 90 01 00 0C */ stw r0, 0xc(r1)
/* 8014AFCC 00147F2C 4B F0 A8 55 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8014AFD0 00147F30 38 61 00 98 */ addi r3, r1, 0x98
/* 8014AFD4 00147F34 38 80 FF FF */ li r4, -1
/* 8014AFD8 00147F38 4B FB B6 31 */ bl __dt__16CActorParametersFv
/* 8014AFDC 00147F3C 38 61 01 00 */ addi r3, r1, 0x100
/* 8014AFE0 00147F40 38 80 FF FF */ li r4, -1
/* 8014AFE4 00147F44 4B FC BA 69 */ bl __dt__10CModelDataFv
/* 8014AFE8 00147F48 3C 60 80 3E */ lis r3, lbl_803E2438@ha
/* 8014AFEC 00147F4C C0 42 9C E0 */ lfs f2, lbl_805ABA00@sda21(r2)
/* 8014AFF0 00147F50 38 03 24 38 */ addi r0, r3, lbl_803E2438@l
/* 8014AFF4 00147F54 7F 84 E3 78 */ mr r4, r28
/* 8014AFF8 00147F58 90 1F 00 00 */ stw r0, 0(r31)
/* 8014AFFC 00147F5C 38 61 00 68 */ addi r3, r1, 0x68
/* 8014B000 00147F60 C0 1D 00 00 */ lfs f0, 0(r29)
/* 8014B004 00147F64 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8014B008 00147F68 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8014B00C 00147F6C D0 1F 00 EC */ stfs f0, 0xec(r31)
/* 8014B010 00147F70 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8014B014 00147F74 D0 1F 00 F0 */ stfs f0, 0xf0(r31)
/* 8014B018 00147F78 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8014B01C 00147F7C C0 3D 00 04 */ lfs f1, 4(r29)
/* 8014B020 00147F80 EC A2 00 32 */ fmuls f5, f2, f0
/* 8014B024 00147F84 C0 1D 00 00 */ lfs f0, 0(r29)
/* 8014B028 00147F88 EC 82 00 72 */ fmuls f4, f2, f1
/* 8014B02C 00147F8C EC 22 00 32 */ fmuls f1, f2, f0
/* 8014B030 00147F90 FC 60 28 50 */ fneg f3, f5
/* 8014B034 00147F94 D0 A1 00 28 */ stfs f5, 0x28(r1)
/* 8014B038 00147F98 FC 40 20 50 */ fneg f2, f4
/* 8014B03C 00147F9C FC 00 08 50 */ fneg f0, f1
/* 8014B040 00147FA0 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8014B044 00147FA4 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 8014B048 00147FA8 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8014B04C 00147FAC D0 41 00 30 */ stfs f2, 0x30(r1)
/* 8014B050 00147FB0 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 8014B054 00147FB4 48 1C 7B ED */ bl GetRotation__12CTransform4fCFv
/* 8014B058 00147FB8 38 61 00 38 */ addi r3, r1, 0x38
/* 8014B05C 00147FBC 38 81 00 2C */ addi r4, r1, 0x2c
/* 8014B060 00147FC0 38 A1 00 20 */ addi r5, r1, 0x20
/* 8014B064 00147FC4 48 1E D4 A5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8014B068 00147FC8 7C 64 1B 78 */ mr r4, r3
/* 8014B06C 00147FCC 38 61 00 50 */ addi r3, r1, 0x50
/* 8014B070 00147FD0 38 A1 00 68 */ addi r5, r1, 0x68
/* 8014B074 00147FD4 48 1E C8 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f
/* 8014B078 00147FD8 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 8014B07C 00147FDC 7F E3 FB 78 */ mr r3, r31
/* 8014B080 00147FE0 D0 1F 00 F4 */ stfs f0, 0xf4(r31)
/* 8014B084 00147FE4 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 8014B088 00147FE8 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 8014B08C 00147FEC C0 01 00 58 */ lfs f0, 0x58(r1)
/* 8014B090 00147FF0 D0 1F 00 FC */ stfs f0, 0xfc(r31)
/* 8014B094 00147FF4 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 8014B098 00147FF8 D0 1F 01 00 */ stfs f0, 0x100(r31)
/* 8014B09C 00147FFC C0 01 00 60 */ lfs f0, 0x60(r1)
/* 8014B0A0 00148000 D0 1F 01 04 */ stfs f0, 0x104(r31)
/* 8014B0A4 00148004 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8014B0A8 00148008 D0 1F 01 08 */ stfs f0, 0x108(r31)
/* 8014B0AC 0014800C BB 21 01 54 */ lmw r25, 0x154(r1)
/* 8014B0B0 00148010 80 01 01 74 */ lwz r0, 0x174(r1)
/* 8014B0B4 00148014 7C 08 03 A6 */ mtlr r0
/* 8014B0B8 00148018 38 21 01 70 */ addi r1, r1, 0x170
/* 8014B0BC 0014801C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __ct__9TEditorIdFR12CInputStream
__ct__9TEditorIdFR12CInputStream:
/* 8011A460 001173C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8011A464 001173C4 7C 08 02 A6 */ mflr r0
/* 8011A468 001173C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011A46C 001173CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8011A470 001173D0 7C 7F 1B 78 */ mr r31, r3
/* 8011A474 001173D4 7C 83 23 78 */ mr r3, r4
/* 8011A478 001173D8 48 22 48 0D */ bl ReadLong__12CInputStreamFv
/* 8011A47C 001173DC 90 7F 00 00 */ stw r3, 0(r31)
/* 8011A480 001173E0 7F E3 FB 78 */ mr r3, r31
/* 8011A484 001173E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8011A488 001173E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011A48C 001173EC 7C 08 03 A6 */ mtlr r0
/* 8011A490 001173F0 38 21 00 10 */ addi r1, r1, 0x10
/* 8011A494 001173F4 4E 80 00 20 */ blr
.global __sinit_TGameTypes_cpp
__sinit_TGameTypes_cpp:
/* 8011A498 001173F8 3C 60 00 01 */ lis r3, 0x0000FFFF@ha
/* 8011A49C 001173FC 38 80 FF FF */ li r4, -1
/* 8011A4A0 00117400 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l
/* 8011A4A4 00117404 90 8D A3 88 */ stw r4, lbl_805A8F48@sda21(r13)
/* 8011A4A8 00117408 B0 0D A3 8C */ sth r0, lbl_805A8F4C@sda21(r13)
/* 8011A4AC 0011740C 90 8D A3 90 */ stw r4, lbl_805A8F50@sda21(r13)
/* 8011A4B0 00117410 90 8D A3 94 */ stw r4, lbl_805A8F54@sda21(r13)
/* 8011A4B4 00117414 4E 80 00 20 */ blr

View File

@ -0,0 +1,534 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__21CTargetableProjectileFv
__dt__21CTargetableProjectileFv:
/* 8013B87C 001387DC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013B880 001387E0 7C 08 02 A6 */ mflr r0
/* 8013B884 001387E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013B888 001387E8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013B88C 001387EC 7C 9F 23 78 */ mr r31, r4
/* 8013B890 001387F0 93 C1 00 08 */ stw r30, 8(r1)
/* 8013B894 001387F4 7C 7E 1B 79 */ or. r30, r3, r3
/* 8013B898 001387F8 41 82 00 40 */ beq lbl_8013B8D8
/* 8013B89C 001387FC 3C 60 80 3E */ lis r3, lbl_803E1800@ha
/* 8013B8A0 00138800 34 1E 03 D8 */ addic. r0, r30, 0x3d8
/* 8013B8A4 00138804 38 03 18 00 */ addi r0, r3, lbl_803E1800@l
/* 8013B8A8 00138808 90 1E 00 00 */ stw r0, 0(r30)
/* 8013B8AC 0013880C 41 82 00 10 */ beq lbl_8013B8BC
/* 8013B8B0 00138810 38 7E 03 D8 */ addi r3, r30, 0x3d8
/* 8013B8B4 00138814 38 80 00 00 */ li r4, 0
/* 8013B8B8 00138818 48 20 55 89 */ bl __dt__6CTokenFv
lbl_8013B8BC:
/* 8013B8BC 0013881C 7F C3 F3 78 */ mr r3, r30
/* 8013B8C0 00138820 38 80 00 00 */ li r4, 0
/* 8013B8C4 00138824 48 00 00 31 */ bl __dt__17CEnergyProjectileFv
/* 8013B8C8 00138828 7F E0 07 35 */ extsh. r0, r31
/* 8013B8CC 0013882C 40 81 00 0C */ ble lbl_8013B8D8
/* 8013B8D0 00138830 7F C3 F3 78 */ mr r3, r30
/* 8013B8D4 00138834 48 1D A0 5D */ bl Free__7CMemoryFPCv
lbl_8013B8D8:
/* 8013B8D8 00138838 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013B8DC 0013883C 7F C3 F3 78 */ mr r3, r30
/* 8013B8E0 00138840 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013B8E4 00138844 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013B8E8 00138848 7C 08 03 A6 */ mtlr r0
/* 8013B8EC 0013884C 38 21 00 10 */ addi r1, r1, 0x10
/* 8013B8F0 00138850 4E 80 00 20 */ blr
.global __dt__17CEnergyProjectileFv
__dt__17CEnergyProjectileFv:
/* 8013B8F4 00138854 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013B8F8 00138858 7C 08 02 A6 */ mflr r0
/* 8013B8FC 0013885C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013B900 00138860 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013B904 00138864 7C 9F 23 78 */ mr r31, r4
/* 8013B908 00138868 93 C1 00 08 */ stw r30, 8(r1)
/* 8013B90C 0013886C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8013B910 00138870 41 82 00 70 */ beq lbl_8013B980
/* 8013B914 00138874 3C 60 80 3E */ lis r3, lbl_803E7158@ha
/* 8013B918 00138878 34 1E 02 FC */ addic. r0, r30, 0x2fc
/* 8013B91C 0013887C 38 03 71 58 */ addi r0, r3, lbl_803E7158@l
/* 8013B920 00138880 90 1E 00 00 */ stw r0, 0(r30)
/* 8013B924 00138884 41 82 00 40 */ beq lbl_8013B964
/* 8013B928 00138888 34 1E 03 7C */ addic. r0, r30, 0x37c
/* 8013B92C 0013888C 41 82 00 10 */ beq lbl_8013B93C
/* 8013B930 00138890 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 8013B934 00138894 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 8013B938 00138898 90 1E 03 7C */ stw r0, 0x37c(r30)
lbl_8013B93C:
/* 8013B93C 0013889C 34 1E 03 40 */ addic. r0, r30, 0x340
/* 8013B940 001388A0 41 82 00 10 */ beq lbl_8013B950
/* 8013B944 001388A4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 8013B948 001388A8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 8013B94C 001388AC 90 1E 03 40 */ stw r0, 0x340(r30)
lbl_8013B950:
/* 8013B950 001388B0 34 1E 03 04 */ addic. r0, r30, 0x304
/* 8013B954 001388B4 41 82 00 10 */ beq lbl_8013B964
/* 8013B958 001388B8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha
/* 8013B95C 001388BC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l
/* 8013B960 001388C0 90 1E 03 04 */ stw r0, 0x304(r30)
lbl_8013B964:
/* 8013B964 001388C4 7F C3 F3 78 */ mr r3, r30
/* 8013B968 001388C8 38 80 00 00 */ li r4, 0
/* 8013B96C 001388CC 4B EF BA 95 */ bl __dt__15CGameProjectileFv
/* 8013B970 001388D0 7F E0 07 35 */ extsh. r0, r31
/* 8013B974 001388D4 40 81 00 0C */ ble lbl_8013B980
/* 8013B978 001388D8 7F C3 F3 78 */ mr r3, r30
/* 8013B97C 001388DC 48 1D 9F B5 */ bl Free__7CMemoryFPCv
lbl_8013B980:
/* 8013B980 001388E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013B984 001388E4 7F C3 F3 78 */ mr r3, r30
/* 8013B988 001388E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013B98C 001388EC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8013B990 001388F0 7C 08 03 A6 */ mtlr r0
/* 8013B994 001388F4 38 21 00 10 */ addi r1, r1, 0x10
/* 8013B998 001388F8 4E 80 00 20 */ blr
.global ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager
ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager:
/* 8013B99C 001388FC 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8013B9A0 00138900 7C 08 02 A6 */ mflr r0
/* 8013B9A4 00138904 C0 22 9A 98 */ lfs f1, lbl_805AB7B8@sda21(r2)
/* 8013B9A8 00138908 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8013B9AC 0013890C 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 8013B9B0 00138910 7C DF 33 78 */ mr r31, r6
/* 8013B9B4 00138914 93 C1 00 98 */ stw r30, 0x98(r1)
/* 8013B9B8 00138918 7C BE 2B 78 */ mr r30, r5
/* 8013B9BC 0013891C 7F E5 FB 78 */ mr r5, r31
/* 8013B9C0 00138920 93 A1 00 94 */ stw r29, 0x94(r1)
/* 8013B9C4 00138924 7C 9D 23 78 */ mr r29, r4
/* 8013B9C8 00138928 93 81 00 90 */ stw r28, 0x90(r1)
/* 8013B9CC 0013892C 7C 7C 1B 78 */ mr r28, r3
/* 8013B9D0 00138930 7F 84 E3 78 */ mr r4, r28
/* 8013B9D4 00138934 38 61 00 14 */ addi r3, r1, 0x14
/* 8013B9D8 00138938 81 9C 00 00 */ lwz r12, 0(r28)
/* 8013B9DC 0013893C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8013B9E0 00138940 7D 89 03 A6 */ mtctr r12
/* 8013B9E4 00138944 4E 80 04 21 */ bctrl
/* 8013B9E8 00138948 C0 41 00 14 */ lfs f2, 0x14(r1)
/* 8013B9EC 0013894C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 8013B9F0 00138950 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8013B9F4 00138954 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l
/* 8013B9F8 00138958 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8013B9FC 0013895C 38 61 00 2C */ addi r3, r1, 0x2c
/* 8013BA00 00138960 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8013BA04 00138964 38 81 00 08 */ addi r4, r1, 8
/* 8013BA08 00138968 38 A1 00 20 */ addi r5, r1, 0x20
/* 8013BA0C 0013896C D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8013BA10 00138970 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8013BA14 00138974 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 8013BA18 00138978 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8013BA1C 0013897C C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8013BA20 00138980 D0 01 00 08 */ stfs f0, 8(r1)
/* 8013BA24 00138984 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8013BA28 00138988 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013BA2C 0013898C 48 1D 80 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 8013BA30 00138990 38 61 00 5C */ addi r3, r1, 0x5c
/* 8013BA34 00138994 38 81 00 2C */ addi r4, r1, 0x2c
/* 8013BA38 00138998 48 1D 71 3D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8013BA3C 0013899C C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 8013BA40 001389A0 38 7C 00 34 */ addi r3, r28, 0x34
/* 8013BA44 001389A4 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8013BA48 001389A8 38 81 00 5C */ addi r4, r1, 0x5c
/* 8013BA4C 001389AC C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8013BA50 001389B0 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 8013BA54 001389B4 D0 21 00 78 */ stfs f1, 0x78(r1)
/* 8013BA58 001389B8 D0 41 00 88 */ stfs f2, 0x88(r1)
/* 8013BA5C 001389BC 48 1D 70 E5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 8013BA60 001389C0 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8013BA64 001389C4 38 E0 00 01 */ li r7, 1
/* 8013BA68 001389C8 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b
/* 8013BA6C 001389CC 7F 83 E3 78 */ mr r3, r28
/* 8013BA70 001389D0 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 8013BA74 001389D4 7F A4 EB 78 */ mr r4, r29
/* 8013BA78 001389D8 7F C5 F3 78 */ mr r5, r30
/* 8013BA7C 001389DC 7F E6 FB 78 */ mr r6, r31
/* 8013BA80 001389E0 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8013BA84 001389E4 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c
/* 8013BA88 001389E8 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 8013BA8C 001389EC 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8013BA90 001389F0 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d
/* 8013BA94 001389F4 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 8013BA98 001389F8 48 0D 88 E9 */ bl ResolveCollisionWithActor__17CEnergyProjectileFRC14CRayCastResultR6CActorR13CStateManager
/* 8013BA9C 001389FC 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8013BAA0 00138A00 83 E1 00 9C */ lwz r31, 0x9c(r1)
/* 8013BAA4 00138A04 83 C1 00 98 */ lwz r30, 0x98(r1)
/* 8013BAA8 00138A08 83 A1 00 94 */ lwz r29, 0x94(r1)
/* 8013BAAC 00138A0C 83 81 00 90 */ lwz r28, 0x90(r1)
/* 8013BAB0 00138A10 7C 08 03 A6 */ mtlr r0
/* 8013BAB4 00138A14 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8013BAB8 00138A18 4E 80 00 20 */ blr
.global GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf
GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf:
/* 8013BABC 00138A1C 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8013BAC0 00138A20 7C 08 02 A6 */ mflr r0
/* 8013BAC4 00138A24 90 01 00 94 */ stw r0, 0x94(r1)
/* 8013BAC8 00138A28 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8013BACC 00138A2C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8013BAD0 00138A30 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8013BAD4 00138A34 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 8013BAD8 00138A38 DB A1 00 60 */ stfd f29, 0x60(r1)
/* 8013BADC 00138A3C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
/* 8013BAE0 00138A40 DB 81 00 50 */ stfd f28, 0x50(r1)
/* 8013BAE4 00138A44 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
/* 8013BAE8 00138A48 DB 61 00 40 */ stfd f27, 0x40(r1)
/* 8013BAEC 00138A4C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0
/* 8013BAF0 00138A50 DB 41 00 30 */ stfd f26, 0x30(r1)
/* 8013BAF4 00138A54 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0
/* 8013BAF8 00138A58 DB 21 00 20 */ stfd f25, 0x20(r1)
/* 8013BAFC 00138A5C F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0
/* 8013BB00 00138A60 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013BB04 00138A64 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013BB08 00138A68 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013BB0C 00138A6C 88 0D A3 CC */ lbz r0, lbl_805A8F8C@sda21(r13)
/* 8013BB10 00138A70 FF 80 08 90 */ fmr f28, f1
/* 8013BB14 00138A74 7C 7D 1B 78 */ mr r29, r3
/* 8013BB18 00138A78 7C 9E 23 78 */ mr r30, r4
/* 8013BB1C 00138A7C 7C 00 07 75 */ extsb. r0, r0
/* 8013BB20 00138A80 40 82 00 1C */ bne lbl_8013BB3C
/* 8013BB24 00138A84 48 17 56 19 */ bl GetTickPeriod__17CProjectileWeaponFv
/* 8013BB28 00138A88 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2)
/* 8013BB2C 00138A8C 38 00 00 01 */ li r0, 1
/* 8013BB30 00138A90 98 0D A3 CC */ stb r0, lbl_805A8F8C@sda21(r13)
/* 8013BB34 00138A94 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013BB38 00138A98 D0 0D A3 C8 */ stfs f0, lbl_805A8F88@sda21(r13)
lbl_8013BB3C:
/* 8013BB3C 00138A9C 3B FE 01 70 */ addi r31, r30, 0x170
/* 8013BB40 00138AA0 C3 BE 00 60 */ lfs f29, 0x60(r30)
/* 8013BB44 00138AA4 C3 DE 00 50 */ lfs f30, 0x50(r30)
/* 8013BB48 00138AA8 7F E3 FB 78 */ mr r3, r31
/* 8013BB4C 00138AAC C3 FE 00 40 */ lfs f31, 0x40(r30)
/* 8013BB50 00138AB0 48 17 35 E5 */ bl GetVelocity__17CProjectileWeaponCFv
/* 8013BB54 00138AB4 C0 6D A3 C8 */ lfs f3, lbl_805A8F88@sda21(r13)
/* 8013BB58 00138AB8 C0 43 00 00 */ lfs f2, 0(r3)
/* 8013BB5C 00138ABC C0 23 00 04 */ lfs f1, 4(r3)
/* 8013BB60 00138AC0 C0 03 00 08 */ lfs f0, 8(r3)
/* 8013BB64 00138AC4 EF 23 00 B2 */ fmuls f25, f3, f2
/* 8013BB68 00138AC8 EF 43 00 72 */ fmuls f26, f3, f1
/* 8013BB6C 00138ACC 7F E3 FB 78 */ mr r3, r31
/* 8013BB70 00138AD0 EF 63 00 32 */ fmuls f27, f3, f0
/* 8013BB74 00138AD4 48 17 35 9D */ bl sub_802af110
/* 8013BB78 00138AD8 C1 0D A3 C8 */ lfs f8, lbl_805A8F88@sda21(r13)
/* 8013BB7C 00138ADC EC 1C 06 72 */ fmuls f0, f28, f25
/* 8013BB80 00138AE0 C0 63 00 00 */ lfs f3, 0(r3)
/* 8013BB84 00138AE4 EC 9C 06 B2 */ fmuls f4, f28, f26
/* 8013BB88 00138AE8 C0 23 00 04 */ lfs f1, 4(r3)
/* 8013BB8C 00138AEC EC 5C 06 F2 */ fmuls f2, f28, f27
/* 8013BB90 00138AF0 EC E8 00 F2 */ fmuls f7, f8, f3
/* 8013BB94 00138AF4 C0 C2 9A A0 */ lfs f6, lbl_805AB7C0@sda21(r2)
/* 8013BB98 00138AF8 EC A8 00 72 */ fmuls f5, f8, f1
/* 8013BB9C 00138AFC C0 63 00 08 */ lfs f3, 8(r3)
/* 8013BBA0 00138B00 EC 26 01 F2 */ fmuls f1, f6, f7
/* 8013BBA4 00138B04 EC 68 00 F2 */ fmuls f3, f8, f3
/* 8013BBA8 00138B08 EC A6 01 72 */ fmuls f5, f6, f5
/* 8013BBAC 00138B0C EC 3C 00 72 */ fmuls f1, f28, f1
/* 8013BBB0 00138B10 EC 66 00 F2 */ fmuls f3, f6, f3
/* 8013BBB4 00138B14 EC BC 01 72 */ fmuls f5, f28, f5
/* 8013BBB8 00138B18 EC 3C 00 72 */ fmuls f1, f28, f1
/* 8013BBBC 00138B1C EC 7C 00 F2 */ fmuls f3, f28, f3
/* 8013BBC0 00138B20 EC BC 01 72 */ fmuls f5, f28, f5
/* 8013BBC4 00138B24 EC 01 00 2A */ fadds f0, f1, f0
/* 8013BBC8 00138B28 EC 3C 00 F2 */ fmuls f1, f28, f3
/* 8013BBCC 00138B2C EC 65 20 2A */ fadds f3, f5, f4
/* 8013BBD0 00138B30 EC 00 F8 2A */ fadds f0, f0, f31
/* 8013BBD4 00138B34 EC 21 10 2A */ fadds f1, f1, f2
/* 8013BBD8 00138B38 EC 43 F0 2A */ fadds f2, f3, f30
/* 8013BBDC 00138B3C D0 1D 00 00 */ stfs f0, 0(r29)
/* 8013BBE0 00138B40 EC 01 E8 2A */ fadds f0, f1, f29
/* 8013BBE4 00138B44 D0 5D 00 04 */ stfs f2, 4(r29)
/* 8013BBE8 00138B48 D0 1D 00 08 */ stfs f0, 8(r29)
/* 8013BBEC 00138B4C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8013BBF0 00138B50 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8013BBF4 00138B54 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 8013BBF8 00138B58 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 8013BBFC 00138B5C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
/* 8013BC00 00138B60 CB A1 00 60 */ lfd f29, 0x60(r1)
/* 8013BC04 00138B64 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
/* 8013BC08 00138B68 CB 81 00 50 */ lfd f28, 0x50(r1)
/* 8013BC0C 00138B6C E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0
/* 8013BC10 00138B70 CB 61 00 40 */ lfd f27, 0x40(r1)
/* 8013BC14 00138B74 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0
/* 8013BC18 00138B78 CB 41 00 30 */ lfd f26, 0x30(r1)
/* 8013BC1C 00138B7C E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0
/* 8013BC20 00138B80 CB 21 00 20 */ lfd f25, 0x20(r1)
/* 8013BC24 00138B84 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013BC28 00138B88 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013BC2C 00138B8C 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8013BC30 00138B90 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013BC34 00138B94 7C 08 03 A6 */ mtlr r0
/* 8013BC38 00138B98 38 21 00 90 */ addi r1, r1, 0x90
/* 8013BC3C 00138B9C 4E 80 00 20 */ blr
.global Think__21CTargetableProjectileFfR13CStateManager
Think__21CTargetableProjectileFfR13CStateManager:
/* 8013BC40 00138BA0 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 8013BC44 00138BA4 7C 08 02 A6 */ mflr r0
/* 8013BC48 00138BA8 90 01 01 14 */ stw r0, 0x114(r1)
/* 8013BC4C 00138BAC BF 21 00 F4 */ stmw r25, 0xf4(r1)
/* 8013BC50 00138BB0 7C 7C 1B 78 */ mr r28, r3
/* 8013BC54 00138BB4 7C FD 3B 78 */ mr r29, r7
/* 8013BC58 00138BB8 A0 09 00 00 */ lhz r0, 0(r9)
/* 8013BC5C 00138BBC 39 21 00 58 */ addi r9, r1, 0x58
/* 8013BC60 00138BC0 B0 01 00 58 */ sth r0, 0x58(r1)
/* 8013BC64 00138BC4 48 0D 8F 95 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId
/* 8013BC68 00138BC8 88 1C 02 E4 */ lbz r0, 0x2e4(r28)
/* 8013BC6C 00138BCC 7C 7E 1B 78 */ mr r30, r3
/* 8013BC70 00138BD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8013BC74 00138BD4 40 82 02 30 */ bne lbl_8013BEA4
/* 8013BC78 00138BD8 A0 7C 02 C4 */ lhz r3, 0x2c4(r28)
/* 8013BC7C 00138BDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8013BC80 00138BE0 54 64 04 3E */ clrlwi r4, r3, 0x10
/* 8013BC84 00138BE4 B0 61 00 60 */ sth r3, 0x60(r1)
/* 8013BC88 00138BE8 7C 04 00 40 */ cmplw r4, r0
/* 8013BC8C 00138BEC 41 82 02 18 */ beq lbl_8013BEA4
/* 8013BC90 00138BF0 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 8013BC94 00138BF4 A0 03 00 08 */ lhz r0, 8(r3)
/* 8013BC98 00138BF8 7C 04 00 40 */ cmplw r4, r0
/* 8013BC9C 00138BFC 40 82 02 08 */ bne lbl_8013BEA4
/* 8013BCA0 00138C00 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8013BCA4 00138C04 7F A3 EB 78 */ mr r3, r29
/* 8013BCA8 00138C08 38 81 00 54 */ addi r4, r1, 0x54
/* 8013BCAC 00138C0C B0 01 00 50 */ sth r0, 0x50(r1)
/* 8013BCB0 00138C10 B0 01 00 54 */ sth r0, 0x54(r1)
/* 8013BCB4 00138C14 4B F1 08 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8013BCB8 00138C18 7C 64 1B 78 */ mr r4, r3
/* 8013BCBC 00138C1C 38 61 00 6C */ addi r3, r1, 0x6c
/* 8013BCC0 00138C20 4B F7 3F D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8013BCC4 00138C24 83 23 00 04 */ lwz r25, 4(r3)
/* 8013BCC8 00138C28 28 19 00 00 */ cmplwi r25, 0
/* 8013BCCC 00138C2C 41 82 01 D8 */ beq lbl_8013BEA4
/* 8013BCD0 00138C30 7F A4 EB 78 */ mr r4, r29
/* 8013BCD4 00138C34 38 61 00 4C */ addi r3, r1, 0x4c
/* 8013BCD8 00138C38 4B F1 14 05 */ bl AllocateUniqueId__13CStateManagerFv
/* 8013BCDC 00138C3C 7F 24 CB 78 */ mr r4, r25
/* 8013BCE0 00138C40 A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 8013BCE4 00138C44 81 99 00 00 */ lwz r12, 0(r25)
/* 8013BCE8 00138C48 7F A5 EB 78 */ mr r5, r29
/* 8013BCEC 00138C4C B0 01 00 5C */ sth r0, 0x5c(r1)
/* 8013BCF0 00138C50 38 61 00 9C */ addi r3, r1, 0x9c
/* 8013BCF4 00138C54 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8013BCF8 00138C58 C0 22 9A A4 */ lfs f1, lbl_805AB7C4@sda21(r2)
/* 8013BCFC 00138C5C 7D 89 03 A6 */ mtctr r12
/* 8013BD00 00138C60 4E 80 04 21 */ bctrl
/* 8013BD04 00138C64 C0 41 00 9C */ lfs f2, 0x9c(r1)
/* 8013BD08 00138C68 3C 60 80 3D */ lis r3, lbl_803D0070@ha
/* 8013BD0C 00138C6C C0 21 00 A0 */ lfs f1, 0xa0(r1)
/* 8013BD10 00138C70 38 83 00 70 */ addi r4, r3, lbl_803D0070@l
/* 8013BD14 00138C74 C0 01 00 A4 */ lfs f0, 0xa4(r1)
/* 8013BD18 00138C78 3B 60 00 00 */ li r27, 0
/* 8013BD1C 00138C7C D0 41 00 A8 */ stfs f2, 0xa8(r1)
/* 8013BD20 00138C80 38 60 03 D8 */ li r3, 0x3d8
/* 8013BD24 00138C84 38 A0 00 00 */ li r5, 0
/* 8013BD28 00138C88 D0 21 00 AC */ stfs f1, 0xac(r1)
/* 8013BD2C 00138C8C D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 8013BD30 00138C90 48 1D 9B 3D */ bl __nw__FUlPCcPCc
/* 8013BD34 00138C94 7C 7F 1B 79 */ or. r31, r3, r3
/* 8013BD38 00138C98 41 82 00 E4 */ beq lbl_8013BE1C
/* 8013BD3C 00138C9C C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2)
/* 8013BD40 00138CA0 38 00 00 00 */ li r0, 0
/* 8013BD44 00138CA4 98 01 00 98 */ stb r0, 0x98(r1)
/* 8013BD48 00138CA8 38 9C 01 70 */ addi r4, r28, 0x170
/* 8013BD4C 00138CAC A0 A1 00 60 */ lhz r5, 0x60(r1)
/* 8013BD50 00138CB0 38 61 00 74 */ addi r3, r1, 0x74
/* 8013BD54 00138CB4 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 8013BD58 00138CB8 3B 60 00 01 */ li r27, 1
/* 8013BD5C 00138CBC A0 01 00 5C */ lhz r0, 0x5c(r1)
/* 8013BD60 00138CC0 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 8013BD64 00138CC4 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 8013BD68 00138CC8 A0 DC 00 EC */ lhz r6, 0xec(r28)
/* 8013BD6C 00138CCC B0 C1 00 48 */ sth r6, 0x48(r1)
/* 8013BD70 00138CD0 B0 A1 00 40 */ sth r5, 0x40(r1)
/* 8013BD74 00138CD4 80 BC 00 04 */ lwz r5, 4(r28)
/* 8013BD78 00138CD8 B0 C1 00 44 */ sth r6, 0x44(r1)
/* 8013BD7C 00138CDC 90 A1 00 68 */ stw r5, 0x68(r1)
/* 8013BD80 00138CE0 B0 01 00 3C */ sth r0, 0x3c(r1)
/* 8013BD84 00138CE4 81 9C 01 70 */ lwz r12, 0x170(r28)
/* 8013BD88 00138CE8 90 A1 00 64 */ stw r5, 0x64(r1)
/* 8013BD8C 00138CEC 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8013BD90 00138CF0 83 3C 00 F0 */ lwz r25, 0xf0(r28)
/* 8013BD94 00138CF4 7D 89 03 A6 */ mtctr r12
/* 8013BD98 00138CF8 4E 80 04 21 */ bctrl
/* 8013BD9C 00138CFC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha
/* 8013BDA0 00138D00 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8013BDA4 00138D04 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l
/* 8013BDA8 00138D08 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 8013BDAC 00138D0C 38 81 00 74 */ addi r4, r1, 0x74
/* 8013BDB0 00138D10 48 1D 7D 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 8013BDB4 00138D14 38 61 00 68 */ addi r3, r1, 0x68
/* 8013BDB8 00138D18 38 01 00 40 */ addi r0, r1, 0x40
/* 8013BDBC 00138D1C 90 61 00 08 */ stw r3, 8(r1)
/* 8013BDC0 00138D20 38 81 00 48 */ addi r4, r1, 0x48
/* 8013BDC4 00138D24 3B 40 00 00 */ li r26, 0
/* 8013BDC8 00138D28 39 81 00 80 */ addi r12, r1, 0x80
/* 8013BDCC 00138D2C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8013BDD0 00138D30 39 61 00 8C */ addi r11, r1, 0x8c
/* 8013BDD4 00138D34 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2)
/* 8013BDD8 00138D38 7F E3 FB 78 */ mr r3, r31
/* 8013BDDC 00138D3C 90 81 00 10 */ stw r4, 0x10(r1)
/* 8013BDE0 00138D40 7F 26 CB 78 */ mr r6, r25
/* 8013BDE4 00138D44 38 BC 03 D8 */ addi r5, r28, 0x3d8
/* 8013BDE8 00138D48 38 E1 00 B4 */ addi r7, r1, 0xb4
/* 8013BDEC 00138D4C 93 41 00 14 */ stw r26, 0x14(r1)
/* 8013BDF0 00138D50 39 3C 03 E0 */ addi r9, r28, 0x3e0
/* 8013BDF4 00138D54 39 41 00 3C */ addi r10, r1, 0x3c
/* 8013BDF8 00138D58 38 80 00 01 */ li r4, 1
/* 8013BDFC 00138D5C 93 41 00 18 */ stw r26, 0x18(r1)
/* 8013BE00 00138D60 39 00 00 20 */ li r8, 0x20
/* 8013BE04 00138D64 91 81 00 1C */ stw r12, 0x1c(r1)
/* 8013BE08 00138D68 91 61 00 20 */ stw r11, 0x20(r1)
/* 8013BE0C 00138D6C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013BE10 00138D70 93 41 00 28 */ stw r26, 0x28(r1)
/* 8013BE14 00138D74 48 0D 98 85 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb"
/* 8013BE18 00138D78 7C 7F 1B 78 */ mr r31, r3
lbl_8013BE1C:
/* 8013BE1C 00138D7C 7F 60 07 75 */ extsb. r0, r27
/* 8013BE20 00138D80 41 82 00 30 */ beq lbl_8013BE50
/* 8013BE24 00138D84 88 01 00 98 */ lbz r0, 0x98(r1)
/* 8013BE28 00138D88 28 00 00 00 */ cmplwi r0, 0
/* 8013BE2C 00138D8C 41 82 00 1C */ beq lbl_8013BE48
/* 8013BE30 00138D90 34 61 00 8C */ addic. r3, r1, 0x8c
/* 8013BE34 00138D94 41 82 00 14 */ beq lbl_8013BE48
/* 8013BE38 00138D98 28 03 00 00 */ cmplwi r3, 0
/* 8013BE3C 00138D9C 41 82 00 0C */ beq lbl_8013BE48
/* 8013BE40 00138DA0 38 80 00 00 */ li r4, 0
/* 8013BE44 00138DA4 48 20 4F FD */ bl __dt__6CTokenFv
lbl_8013BE48:
/* 8013BE48 00138DA8 38 00 00 00 */ li r0, 0
/* 8013BE4C 00138DAC 98 01 00 98 */ stb r0, 0x98(r1)
lbl_8013BE50:
/* 8013BE50 00138DB0 7F A3 EB 78 */ mr r3, r29
/* 8013BE54 00138DB4 7F E4 FB 78 */ mr r4, r31
/* 8013BE58 00138DB8 4B F1 0C BD */ bl AddObject__13CStateManagerFR7CEntity
/* 8013BE5C 00138DBC 7F E3 FB 78 */ mr r3, r31
/* 8013BE60 00138DC0 7F A5 EB 78 */ mr r5, r29
/* 8013BE64 00138DC4 38 80 00 29 */ li r4, 0x29
/* 8013BE68 00138DC8 4B F1 84 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 8013BE6C 00138DCC A0 01 00 5C */ lhz r0, 0x5c(r1)
/* 8013BE70 00138DD0 38 81 00 38 */ addi r4, r1, 0x38
/* 8013BE74 00138DD4 B0 01 00 38 */ sth r0, 0x38(r1)
/* 8013BE78 00138DD8 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 8013BE7C 00138DDC 4B ED DF 29 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId
/* 8013BE80 00138DE0 A0 01 00 5C */ lhz r0, 0x5c(r1)
/* 8013BE84 00138DE4 7F A5 EB 78 */ mr r5, r29
/* 8013BE88 00138DE8 38 81 00 34 */ addi r4, r1, 0x34
/* 8013BE8C 00138DEC B0 01 00 34 */ sth r0, 0x34(r1)
/* 8013BE90 00138DF0 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 8013BE94 00138DF4 48 03 F7 59 */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager
/* 8013BE98 00138DF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8013BE9C 00138DFC B0 01 00 30 */ sth r0, 0x30(r1)
/* 8013BEA0 00138E00 B0 1C 02 C4 */ sth r0, 0x2c4(r28)
lbl_8013BEA4:
/* 8013BEA4 00138E04 7F C3 F3 78 */ mr r3, r30
/* 8013BEA8 00138E08 BB 21 00 F4 */ lmw r25, 0xf4(r1)
/* 8013BEAC 00138E0C 80 01 01 14 */ lwz r0, 0x114(r1)
/* 8013BEB0 00138E10 7C 08 03 A6 */ mtlr r0
/* 8013BEB4 00138E14 38 21 01 10 */ addi r1, r1, 0x110
/* 8013BEB8 00138E18 4E 80 00 20 */ blr
.global Accept__21CTargetableProjectileFR8IVisitor
Accept__21CTargetableProjectileFR8IVisitor:
/* 8013BEBC 00138E1C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013BEC0 00138E20 7C 08 02 A6 */ mflr r0
/* 8013BEC4 00138E24 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013BEC8 00138E28 7C 60 1B 78 */ mr r0, r3
/* 8013BECC 00138E2C 7C 83 23 78 */ mr r3, r4
/* 8013BED0 00138E30 81 84 00 00 */ lwz r12, 0(r4)
/* 8013BED4 00138E34 7C 04 03 78 */ mr r4, r0
/* 8013BED8 00138E38 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8013BEDC 00138E3C 7D 89 03 A6 */ mtctr r12
/* 8013BEE0 00138E40 4E 80 04 21 */ bctrl
/* 8013BEE4 00138E44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013BEE8 00138E48 7C 08 03 A6 */ mtlr r0
/* 8013BEEC 00138E4C 38 21 00 10 */ addi r1, r1, 0x10
/* 8013BEF0 00138E50 4E 80 00 20 */ blr
.global "__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi"
"__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi":
/* 8013BEF4 00138E54 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8013BEF8 00138E58 7C 08 02 A6 */ mflr r0
/* 8013BEFC 00138E5C 7C EC 3B 78 */ mr r12, r7
/* 8013BF00 00138E60 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2)
/* 8013BF04 00138E64 90 01 00 84 */ stw r0, 0x84(r1)
/* 8013BF08 00138E68 80 E1 00 8C */ lwz r7, 0x8c(r1)
/* 8013BF0C 00138E6C BE A1 00 54 */ stmw r21, 0x54(r1)
/* 8013BF10 00138E70 7C DE 33 78 */ mr r30, r6
/* 8013BF14 00138E74 7C BD 2B 78 */ mr r29, r5
/* 8013BF18 00138E78 80 A1 00 98 */ lwz r5, 0x98(r1)
/* 8013BF1C 00138E7C 80 C1 00 94 */ lwz r6, 0x94(r1)
/* 8013BF20 00138E80 3A C1 00 3C */ addi r22, r1, 0x3c
/* 8013BF24 00138E84 60 B9 04 03 */ ori r25, r5, 0x403
/* 8013BF28 00138E88 7C 85 23 78 */ mr r5, r4
/* 8013BF2C 00138E8C 3A E1 00 34 */ addi r23, r1, 0x34
/* 8013BF30 00138E90 3B 01 00 30 */ addi r24, r1, 0x30
/* 8013BF34 00138E94 3B 40 00 00 */ li r26, 0
/* 8013BF38 00138E98 3B 61 00 40 */ addi r27, r1, 0x40
/* 8013BF3C 00138E9C 81 61 00 9C */ lwz r11, 0x9c(r1)
/* 8013BF40 00138EA0 7D 3F 4B 78 */ mr r31, r9
/* 8013BF44 00138EA4 7C 7C 1B 78 */ mr r28, r3
/* 8013BF48 00138EA8 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8013BF4C 00138EAC A2 AA 00 00 */ lhz r21, 0(r10)
/* 8013BF50 00138EB0 7D 0A 43 78 */ mr r10, r8
/* 8013BF54 00138EB4 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8013BF58 00138EB8 7D 49 53 78 */ mr r9, r10
/* 8013BF5C 00138EBC 81 01 00 88 */ lwz r8, 0x88(r1)
/* 8013BF60 00138EC0 39 41 00 38 */ addi r10, r1, 0x38
/* 8013BF64 00138EC4 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8013BF68 00138EC8 A0 06 00 00 */ lhz r0, 0(r6)
/* 8013BF6C 00138ECC B0 01 00 30 */ sth r0, 0x30(r1)
/* 8013BF70 00138ED0 A0 01 00 A2 */ lhz r0, 0xa2(r1)
/* 8013BF74 00138ED4 A0 C7 00 00 */ lhz r6, 0(r7)
/* 8013BF78 00138ED8 7F C7 F3 78 */ mr r7, r30
/* 8013BF7C 00138EDC 83 C1 00 90 */ lwz r30, 0x90(r1)
/* 8013BF80 00138EE0 B0 C1 00 34 */ sth r6, 0x34(r1)
/* 8013BF84 00138EE4 7F A6 EB 78 */ mr r6, r29
/* 8013BF88 00138EE8 8B A1 00 A7 */ lbz r29, 0xa7(r1)
/* 8013BF8C 00138EEC 80 88 00 00 */ lwz r4, 0(r8)
/* 8013BF90 00138EF0 7D 88 63 78 */ mr r8, r12
/* 8013BF94 00138EF4 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8013BF98 00138EF8 38 80 00 01 */ li r4, 1
/* 8013BF9C 00138EFC B2 A1 00 38 */ sth r21, 0x38(r1)
/* 8013BFA0 00138F00 92 C1 00 08 */ stw r22, 8(r1)
/* 8013BFA4 00138F04 92 E1 00 0C */ stw r23, 0xc(r1)
/* 8013BFA8 00138F08 93 01 00 10 */ stw r24, 0x10(r1)
/* 8013BFAC 00138F0C 93 21 00 14 */ stw r25, 0x14(r1)
/* 8013BFB0 00138F10 93 41 00 18 */ stw r26, 0x18(r1)
/* 8013BFB4 00138F14 93 61 00 1C */ stw r27, 0x1c(r1)
/* 8013BFB8 00138F18 91 61 00 20 */ stw r11, 0x20(r1)
/* 8013BFBC 00138F1C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013BFC0 00138F20 93 A1 00 28 */ stw r29, 0x28(r1)
/* 8013BFC4 00138F24 48 0D 96 D5 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb"
/* 8013BFC8 00138F28 3C 60 80 3E */ lis r3, lbl_803E1800@ha
/* 8013BFCC 00138F2C 7F C4 F3 78 */ mr r4, r30
/* 8013BFD0 00138F30 38 03 18 00 */ addi r0, r3, lbl_803E1800@l
/* 8013BFD4 00138F34 38 7C 03 D8 */ addi r3, r28, 0x3d8
/* 8013BFD8 00138F38 90 1C 00 00 */ stw r0, 0(r28)
/* 8013BFDC 00138F3C 48 20 4E CD */ bl __ct__6CTokenFRC6CToken
/* 8013BFE0 00138F40 80 1F 00 00 */ lwz r0, 0(r31)
/* 8013BFE4 00138F44 7F 83 E3 78 */ mr r3, r28
/* 8013BFE8 00138F48 90 1C 03 E0 */ stw r0, 0x3e0(r28)
/* 8013BFEC 00138F4C 88 1F 00 04 */ lbz r0, 4(r31)
/* 8013BFF0 00138F50 98 1C 03 E4 */ stb r0, 0x3e4(r28)
/* 8013BFF4 00138F54 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8013BFF8 00138F58 D0 1C 03 E8 */ stfs f0, 0x3e8(r28)
/* 8013BFFC 00138F5C C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8013C000 00138F60 D0 1C 03 EC */ stfs f0, 0x3ec(r28)
/* 8013C004 00138F64 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8013C008 00138F68 D0 1C 03 F0 */ stfs f0, 0x3f0(r28)
/* 8013C00C 00138F6C C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 8013C010 00138F70 D0 1C 03 F4 */ stfs f0, 0x3f4(r28)
/* 8013C014 00138F74 88 1F 00 18 */ lbz r0, 0x18(r31)
/* 8013C018 00138F78 98 1C 03 F8 */ stb r0, 0x3f8(r28)
/* 8013C01C 00138F7C 80 1C 00 68 */ lwz r0, 0x68(r28)
/* 8013C020 00138F80 60 00 01 00 */ ori r0, r0, 0x100
/* 8013C024 00138F84 90 1C 00 68 */ stw r0, 0x68(r28)
/* 8013C028 00138F88 80 1C 00 68 */ lwz r0, 0x68(r28)
/* 8013C02C 00138F8C 60 00 02 00 */ ori r0, r0, 0x200
/* 8013C030 00138F90 90 1C 00 68 */ stw r0, 0x68(r28)
/* 8013C034 00138F94 BA A1 00 54 */ lmw r21, 0x54(r1)
/* 8013C038 00138F98 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8013C03C 00138F9C 7C 08 03 A6 */ mtlr r0
/* 8013C040 00138FA0 38 21 00 80 */ addi r1, r1, 0x80
/* 8013C044 00138FA4 4E 80 00 20 */ blr

View File

@ -0,0 +1,396 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei
GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei:
/* 80101F00 000FEE60 38 60 00 0C */ li r3, 0xc
/* 80101F04 000FEE64 4E 80 00 20 */ blr
.global Render__7CWeaponCFRC13CStateManager
Render__7CWeaponCFRC13CStateManager:
/* 80101F08 000FEE68 4E 80 00 20 */ blr
.global FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager:
/* 80101F0C 000FEE6C 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80101F10 000FEE70 7C 08 02 A6 */ mflr r0
/* 80101F14 000FEE74 90 01 00 74 */ stw r0, 0x74(r1)
/* 80101F18 000FEE78 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 80101F1C 000FEE7C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 80101F20 000FEE80 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 80101F24 000FEE84 7C 7C 1B 78 */ mr r28, r3
/* 80101F28 000FEE88 C3 E2 93 E8 */ lfs f31, lbl_805AB108@sda21(r2)
/* 80101F2C 000FEE8C 80 03 00 F0 */ lwz r0, 0xf0(r3)
/* 80101F30 000FEE90 7C 9D 23 78 */ mr r29, r4
/* 80101F34 000FEE94 7C BE 2B 78 */ mr r30, r5
/* 80101F38 000FEE98 7C DF 33 78 */ mr r31, r6
/* 80101F3C 000FEE9C 28 00 00 08 */ cmplwi r0, 8
/* 80101F40 000FEEA0 3B 60 00 01 */ li r27, 1
/* 80101F44 000FEEA4 41 81 00 48 */ bgt lbl_80101F8C
/* 80101F48 000FEEA8 3C 60 80 3E */ lis r3, lbl_803DFF5C@ha
/* 80101F4C 000FEEAC 54 00 10 3A */ slwi r0, r0, 2
/* 80101F50 000FEEB0 38 63 FF 5C */ addi r3, r3, lbl_803DFF5C@l
/* 80101F54 000FEEB4 7C 03 00 2E */ lwzx r0, r3, r0
/* 80101F58 000FEEB8 7C 09 03 A6 */ mtctr r0
/* 80101F5C 000FEEBC 4E 80 04 20 */ bctr
/* 80101F60 000FEEC0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2)
/* 80101F64 000FEEC4 48 00 00 2C */ b lbl_80101F90
/* 80101F68 000FEEC8 C3 E2 93 F0 */ lfs f31, lbl_805AB110@sda21(r2)
/* 80101F6C 000FEECC 48 00 00 24 */ b lbl_80101F90
/* 80101F70 000FEED0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2)
/* 80101F74 000FEED4 48 00 00 1C */ b lbl_80101F90
/* 80101F78 000FEED8 48 00 00 18 */ b lbl_80101F90
/* 80101F7C 000FEEDC C3 E2 93 F4 */ lfs f31, lbl_805AB114@sda21(r2)
/* 80101F80 000FEEE0 48 00 00 10 */ b lbl_80101F90
/* 80101F84 000FEEE4 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2)
/* 80101F88 000FEEE8 48 00 00 08 */ b lbl_80101F90
lbl_80101F8C:
/* 80101F8C 000FEEEC 3B 60 00 00 */ li r27, 0
lbl_80101F90:
/* 80101F90 000FEEF0 80 7C 00 E8 */ lwz r3, 0xe8(r28)
/* 80101F94 000FEEF4 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18
/* 80101F98 000FEEF8 41 82 00 14 */ beq lbl_80101FAC
/* 80101F9C 000FEEFC 2C 1D 00 01 */ cmpwi r29, 1
/* 80101FA0 000FEF00 41 82 00 0C */ beq lbl_80101FAC
/* 80101FA4 000FEF04 C0 02 93 F4 */ lfs f0, lbl_805AB114@sda21(r2)
/* 80101FA8 000FEF08 EF FF 00 2A */ fadds f31, f31, f0
lbl_80101FAC:
/* 80101FAC 000FEF0C 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d
/* 80101FB0 000FEF10 41 82 00 0C */ beq lbl_80101FBC
/* 80101FB4 000FEF14 C0 02 93 F8 */ lfs f0, lbl_805AB118@sda21(r2)
/* 80101FB8 000FEF18 EF FF 00 2A */ fadds f31, f31, f0
lbl_80101FBC:
/* 80101FBC 000FEF1C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2)
/* 80101FC0 000FEF20 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80101FC4 000FEF24 40 81 00 08 */ ble lbl_80101FCC
/* 80101FC8 000FEF28 FF E0 00 90 */ fmr f31, f0
lbl_80101FCC:
/* 80101FCC 000FEF2C 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 80101FD0 000FEF30 41 82 00 EC */ beq lbl_801020BC
/* 80101FD4 000FEF34 7F C4 F3 78 */ mr r4, r30
/* 80101FD8 000FEF38 38 61 00 30 */ addi r3, r1, 0x30
/* 80101FDC 000FEF3C 4B F7 46 F1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
/* 80101FE0 000FEF40 C0 3C 00 60 */ lfs f1, 0x60(r28)
/* 80101FE4 000FEF44 C0 1C 00 50 */ lfs f0, 0x50(r28)
/* 80101FE8 000FEF48 C0 7C 00 40 */ lfs f3, 0x40(r28)
/* 80101FEC 000FEF4C C0 41 00 44 */ lfs f2, 0x44(r1)
/* 80101FF0 000FEF50 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80101FF4 000FEF54 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80101FF8 000FEF58 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 80101FFC 000FEF5C 80 1C 00 E8 */ lwz r0, 0xe8(r28)
/* 80102000 000FEF60 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80102004 000FEF64 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18
/* 80102008 000FEF68 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8010200C 000FEF6C D0 21 00 20 */ stfs f1, 0x20(r1)
/* 80102010 000FEF70 41 82 00 20 */ beq lbl_80102030
/* 80102014 000FEF74 7F C3 F3 78 */ mr r3, r30
/* 80102018 000FEF78 38 81 00 24 */ addi r4, r1, 0x24
/* 8010201C 000FEF7C 4B FF CC 95 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f
/* 80102020 000FEF80 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80102024 000FEF84 40 82 00 18 */ bne lbl_8010203C
/* 80102028 000FEF88 3B 60 00 00 */ li r27, 0
/* 8010202C 000FEF8C 48 00 00 10 */ b lbl_8010203C
lbl_80102030:
/* 80102030 000FEF90 2C 1D 00 01 */ cmpwi r29, 1
/* 80102034 000FEF94 40 82 00 08 */ bne lbl_8010203C
/* 80102038 000FEF98 3B 60 00 00 */ li r27, 0
lbl_8010203C:
/* 8010203C 000FEF9C 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 80102040 000FEFA0 41 82 00 7C */ beq lbl_801020BC
/* 80102044 000FEFA4 2C 1D 00 00 */ cmpwi r29, 0
/* 80102048 000FEFA8 3B 60 00 00 */ li r27, 0
/* 8010204C 000FEFAC 41 82 00 0C */ beq lbl_80102058
/* 80102050 000FEFB0 2C 1D 00 02 */ cmpwi r29, 2
/* 80102054 000FEFB4 40 82 00 08 */ bne lbl_8010205C
lbl_80102058:
/* 80102058 000FEFB8 3B 60 00 01 */ li r27, 1
lbl_8010205C:
/* 8010205C 000FEFBC A0 1C 00 08 */ lhz r0, 8(r28)
/* 80102060 000FEFC0 FC 20 F8 90 */ fmr f1, f31
/* 80102064 000FEFC4 7F C6 F3 78 */ mr r6, r30
/* 80102068 000FEFC8 7F E7 FB 78 */ mr r7, r31
/* 8010206C 000FEFCC B0 01 00 14 */ sth r0, 0x14(r1)
/* 80102070 000FEFD0 38 81 00 14 */ addi r4, r1, 0x14
/* 80102074 000FEFD4 38 A1 00 24 */ addi r5, r1, 0x24
/* 80102078 000FEFD8 80 7E 01 B4 */ lwz r3, 0x1b4(r30)
/* 8010207C 000FEFDC B0 01 00 10 */ sth r0, 0x10(r1)
/* 80102080 000FEFE0 81 83 00 00 */ lwz r12, 0(r3)
/* 80102084 000FEFE4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80102088 000FEFE8 7D 89 03 A6 */ mtctr r12
/* 8010208C 000FEFEC 4E 80 04 21 */ bctrl
/* 80102090 000FEFF0 A0 1C 00 08 */ lhz r0, 8(r28)
/* 80102094 000FEFF4 FC 20 F8 90 */ fmr f1, f31
/* 80102098 000FEFF8 7F E5 FB 78 */ mr r5, r31
/* 8010209C 000FEFFC 7F C6 F3 78 */ mr r6, r30
/* 801020A0 000FF000 B0 01 00 0C */ sth r0, 0xc(r1)
/* 801020A4 000FF004 7F 68 DB 78 */ mr r8, r27
/* 801020A8 000FF008 38 81 00 0C */ addi r4, r1, 0xc
/* 801020AC 000FF00C B0 01 00 08 */ sth r0, 8(r1)
/* 801020B0 000FF010 38 E1 00 24 */ addi r7, r1, 0x24
/* 801020B4 000FF014 80 7F 08 7C */ lwz r3, 0x87c(r31)
/* 801020B8 000FF018 48 02 D2 01 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb
lbl_801020BC:
/* 801020BC 000FF01C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 801020C0 000FF020 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 801020C4 000FF024 BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 801020C8 000FF028 80 01 00 74 */ lwz r0, 0x74(r1)
/* 801020CC 000FF02C 7C 08 03 A6 */ mtlr r0
/* 801020D0 000FF030 38 21 00 70 */ addi r1, r1, 0x70
/* 801020D4 000FF034 4E 80 00 20 */ blr
.global Think__7CWeaponFfR13CStateManager
Think__7CWeaponFfR13CStateManager:
/* 801020D8 000FF038 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801020DC 000FF03C 7C 08 02 A6 */ mflr r0
/* 801020E0 000FF040 90 01 00 44 */ stw r0, 0x44(r1)
/* 801020E4 000FF044 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801020E8 000FF048 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 801020EC 000FF04C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801020F0 000FF050 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801020F4 000FF054 7C 7E 1B 78 */ mr r30, r3
/* 801020F8 000FF058 FF E0 08 90 */ fmr f31, f1
/* 801020FC 000FF05C C0 03 01 48 */ lfs f0, 0x148(r3)
/* 80102100 000FF060 7C 9F 23 78 */ mr r31, r4
/* 80102104 000FF064 EC 00 F8 2A */ fadds f0, f0, f31
/* 80102108 000FF068 D0 03 01 48 */ stfs f0, 0x148(r3)
/* 8010210C 000FF06C 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 80102110 000FF070 54 00 04 A4 */ rlwinm r0, r0, 0, 0x12, 0x12
/* 80102114 000FF074 2C 00 20 00 */ cmpwi r0, 0x2000
/* 80102118 000FF078 40 82 00 98 */ bne lbl_801021B0
/* 8010211C 000FF07C C0 5E 01 48 */ lfs f2, 0x148(r30)
/* 80102120 000FF080 38 81 00 08 */ addi r4, r1, 8
/* 80102124 000FF084 C0 3E 01 4C */ lfs f1, 0x14c(r30)
/* 80102128 000FF088 38 6D 89 98 */ addi r3, r13, lbl_805A7558@sda21
/* 8010212C 000FF08C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2)
/* 80102130 000FF090 EC 02 00 7C */ fnmsubs f0, f2, f1, f0
/* 80102134 000FF094 D0 01 00 08 */ stfs f0, 8(r1)
/* 80102138 000FF098 4B F4 D5 F9 */ bl "Max<f>__5CMathFRCfRCf"
/* 8010213C 000FF09C 88 1E 01 14 */ lbz r0, 0x114(r30)
/* 80102140 000FF0A0 38 80 00 00 */ li r4, 0
/* 80102144 000FF0A4 C0 83 00 00 */ lfs f4, 0(r3)
/* 80102148 000FF0A8 C0 1E 01 18 */ lfs f0, 0x118(r30)
/* 8010214C 000FF0AC 80 BE 01 10 */ lwz r5, 0x110(r30)
/* 80102150 000FF0B0 EC 64 00 32 */ fmuls f3, f4, f0
/* 80102154 000FF0B4 98 01 00 10 */ stb r0, 0x10(r1)
/* 80102158 000FF0B8 C0 3E 01 20 */ lfs f1, 0x120(r30)
/* 8010215C 000FF0BC C0 1E 01 24 */ lfs f0, 0x124(r30)
/* 80102160 000FF0C0 EC 44 00 72 */ fmuls f2, f4, f1
/* 80102164 000FF0C4 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80102168 000FF0C8 EC 24 00 32 */ fmuls f1, f4, f0
/* 8010216C 000FF0CC 90 BE 01 2C */ stw r5, 0x12c(r30)
/* 80102170 000FF0D0 FC 00 18 18 */ frsp f0, f3
/* 80102174 000FF0D4 90 1E 01 30 */ stw r0, 0x130(r30)
/* 80102178 000FF0D8 88 01 00 24 */ lbz r0, 0x24(r1)
/* 8010217C 000FF0DC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80102180 000FF0E0 D0 7E 01 34 */ stfs f3, 0x134(r30)
/* 80102184 000FF0E4 D0 1E 01 38 */ stfs f0, 0x138(r30)
/* 80102188 000FF0E8 D0 5E 01 3C */ stfs f2, 0x13c(r30)
/* 8010218C 000FF0EC D0 3E 01 40 */ stfs f1, 0x140(r30)
/* 80102190 000FF0F0 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80102194 000FF0F4 D0 61 00 14 */ stfs f3, 0x14(r1)
/* 80102198 000FF0F8 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 8010219C 000FF0FC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 801021A0 000FF100 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 801021A4 000FF104 98 01 00 24 */ stb r0, 0x24(r1)
/* 801021A8 000FF108 98 1E 01 44 */ stb r0, 0x144(r30)
/* 801021AC 000FF10C 48 00 00 3C */ b lbl_801021E8
lbl_801021B0:
/* 801021B0 000FF110 80 7E 01 10 */ lwz r3, 0x110(r30)
/* 801021B4 000FF114 80 1E 01 14 */ lwz r0, 0x114(r30)
/* 801021B8 000FF118 90 7E 01 2C */ stw r3, 0x12c(r30)
/* 801021BC 000FF11C 90 1E 01 30 */ stw r0, 0x130(r30)
/* 801021C0 000FF120 C0 1E 01 18 */ lfs f0, 0x118(r30)
/* 801021C4 000FF124 D0 1E 01 34 */ stfs f0, 0x134(r30)
/* 801021C8 000FF128 C0 1E 01 1C */ lfs f0, 0x11c(r30)
/* 801021CC 000FF12C D0 1E 01 38 */ stfs f0, 0x138(r30)
/* 801021D0 000FF130 C0 1E 01 20 */ lfs f0, 0x120(r30)
/* 801021D4 000FF134 D0 1E 01 3C */ stfs f0, 0x13c(r30)
/* 801021D8 000FF138 C0 1E 01 24 */ lfs f0, 0x124(r30)
/* 801021DC 000FF13C D0 1E 01 40 */ stfs f0, 0x140(r30)
/* 801021E0 000FF140 88 1E 01 28 */ lbz r0, 0x128(r30)
/* 801021E4 000FF144 98 1E 01 44 */ stb r0, 0x144(r30)
lbl_801021E8:
/* 801021E8 000FF148 FC 20 F8 90 */ fmr f1, f31
/* 801021EC 000FF14C 7F C3 F3 78 */ mr r3, r30
/* 801021F0 000FF150 7F E4 FB 78 */ mr r4, r31
/* 801021F4 000FF154 4B F4 EE C5 */ bl Think__7CEntityFfR13CStateManager
/* 801021F8 000FF158 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 801021FC 000FF15C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80102200 000FF160 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80102204 000FF164 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80102208 000FF168 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8010220C 000FF16C 7C 08 03 A6 */ mtlr r0
/* 80102210 000FF170 38 21 00 40 */ addi r1, r1, 0x40
/* 80102214 000FF174 4E 80 00 20 */ blr
.global sub_80102218
sub_80102218:
/* 80102218 000FF178 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2)
/* 8010221C 000FF17C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80102220 000FF180 4C 81 00 20 */ blelr
/* 80102224 000FF184 C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2)
/* 80102228 000FF188 EC 00 08 24 */ fdivs f0, f0, f1
/* 8010222C 000FF18C D0 03 01 4C */ stfs f0, 0x14c(r3)
/* 80102230 000FF190 4E 80 00 20 */ blr
.global __dt__7CWeaponFv
__dt__7CWeaponFv:
/* 80102234 000FF194 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80102238 000FF198 7C 08 02 A6 */ mflr r0
/* 8010223C 000FF19C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80102240 000FF1A0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80102244 000FF1A4 7C 9F 23 78 */ mr r31, r4
/* 80102248 000FF1A8 93 C1 00 08 */ stw r30, 8(r1)
/* 8010224C 000FF1AC 7C 7E 1B 79 */ or. r30, r3, r3
/* 80102250 000FF1B0 41 82 00 28 */ beq lbl_80102278
/* 80102254 000FF1B4 3C A0 80 3E */ lis r5, lbl_803DFEF0@ha
/* 80102258 000FF1B8 38 80 00 00 */ li r4, 0
/* 8010225C 000FF1BC 38 05 FE F0 */ addi r0, r5, lbl_803DFEF0@l
/* 80102260 000FF1C0 90 1E 00 00 */ stw r0, 0(r30)
/* 80102264 000FF1C4 4B F5 34 8D */ bl __dt__6CActorFv
/* 80102268 000FF1C8 7F E0 07 35 */ extsh. r0, r31
/* 8010226C 000FF1CC 40 81 00 0C */ ble lbl_80102278
/* 80102270 000FF1D0 7F C3 F3 78 */ mr r3, r30
/* 80102274 000FF1D4 48 21 36 BD */ bl Free__7CMemoryFPCv
lbl_80102278:
/* 80102278 000FF1D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010227C 000FF1DC 7F C3 F3 78 */ mr r3, r30
/* 80102280 000FF1E0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80102284 000FF1E4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80102288 000FF1E8 7C 08 03 A6 */ mtlr r0
/* 8010228C 000FF1EC 38 21 00 10 */ addi r1, r1, 0x10
/* 80102290 000FF1F0 4E 80 00 20 */ blr
.global "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData"
"__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData":
/* 80102294 000FF1F4 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 80102298 000FF1F8 7C 08 02 A6 */ mflr r0
/* 8010229C 000FF1FC 3D 60 80 57 */ lis r11, lbl_8056D410@ha
/* 801022A0 000FF200 90 01 01 54 */ stw r0, 0x154(r1)
/* 801022A4 000FF204 BE 81 01 20 */ stmw r20, 0x120(r1)
/* 801022A8 000FF208 7C 79 1B 78 */ mr r25, r3
/* 801022AC 000FF20C 7C 94 23 78 */ mr r20, r4
/* 801022B0 000FF210 7C DA 33 78 */ mr r26, r6
/* 801022B4 000FF214 83 A1 01 58 */ lwz r29, 0x158(r1)
/* 801022B8 000FF218 7C FB 3B 78 */ mr r27, r7
/* 801022BC 000FF21C 82 E1 01 5C */ lwz r23, 0x15c(r1)
/* 801022C0 000FF220 7D 1C 43 78 */ mr r28, r8
/* 801022C4 000FF224 83 C1 01 60 */ lwz r30, 0x160(r1)
/* 801022C8 000FF228 7D 35 4B 78 */ mr r21, r9
/* 801022CC 000FF22C 83 E1 01 64 */ lwz r31, 0x164(r1)
/* 801022D0 000FF230 7D 56 53 78 */ mr r22, r10
/* 801022D4 000FF234 83 01 01 68 */ lwz r24, 0x168(r1)
/* 801022D8 000FF238 38 61 00 30 */ addi r3, r1, 0x30
/* 801022DC 000FF23C 38 81 00 2C */ addi r4, r1, 0x2c
/* 801022E0 000FF240 38 C1 00 28 */ addi r6, r1, 0x28
/* 801022E4 000FF244 80 05 00 00 */ lwz r0, 0(r5)
/* 801022E8 000FF248 38 AB D4 10 */ addi r5, r11, lbl_8056D410@l
/* 801022EC 000FF24C 81 8D A3 88 */ lwz r12, lbl_805A8F48@sda21(r13)
/* 801022F0 000FF250 90 01 00 2C */ stw r0, 0x2c(r1)
/* 801022F4 000FF254 91 81 00 28 */ stw r12, 0x28(r1)
/* 801022F8 000FF258 4B F4 F1 8D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 801022FC 000FF25C 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80102300 000FF260 4B F1 8B 39 */ bl None__16CActorParametersFv
/* 80102304 000FF264 38 61 00 48 */ addi r3, r1, 0x48
/* 80102308 000FF268 38 81 00 B0 */ addi r4, r1, 0xb0
/* 8010230C 000FF26C 38 A0 00 01 */ li r5, 1
/* 80102310 000FF270 48 00 44 FD */ bl sub_8010680c
/* 80102314 000FF274 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13)
/* 80102318 000FF278 38 81 00 48 */ addi r4, r1, 0x48
/* 8010231C 000FF27C A0 F4 00 00 */ lhz r7, 0(r20)
/* 80102320 000FF280 38 01 00 10 */ addi r0, r1, 0x10
/* 80102324 000FF284 B0 61 00 10 */ sth r3, 0x10(r1)
/* 80102328 000FF288 7F 23 CB 78 */ mr r3, r25
/* 8010232C 000FF28C 7F 45 D3 78 */ mr r5, r26
/* 80102330 000FF290 7E A6 AB 78 */ mr r6, r21
/* 80102334 000FF294 B0 E1 00 14 */ sth r7, 0x14(r1)
/* 80102338 000FF298 7E C8 B3 78 */ mr r8, r22
/* 8010233C 000FF29C 7F 09 C3 78 */ mr r9, r24
/* 80102340 000FF2A0 7E EA BB 78 */ mr r10, r23
/* 80102344 000FF2A4 90 81 00 08 */ stw r4, 8(r1)
/* 80102348 000FF2A8 38 81 00 14 */ addi r4, r1, 0x14
/* 8010234C 000FF2AC 38 E1 00 30 */ addi r7, r1, 0x30
/* 80102350 000FF2B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80102354 000FF2B4 4B F5 34 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 80102358 000FF2B8 38 61 00 48 */ addi r3, r1, 0x48
/* 8010235C 000FF2BC 38 80 FF FF */ li r4, -1
/* 80102360 000FF2C0 48 00 42 A9 */ bl __dt__16CActorParametersFv
/* 80102364 000FF2C4 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80102368 000FF2C8 38 80 FF FF */ li r4, -1
/* 8010236C 000FF2CC 48 00 42 9D */ bl __dt__16CActorParametersFv
/* 80102370 000FF2D0 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80102374 000FF2D4 80 61 00 40 */ lwz r3, 0x40(r1)
/* 80102378 000FF2D8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8010237C 000FF2DC 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80102380 000FF2E0 7C 64 1B 78 */ mr r4, r3
/* 80102384 000FF2E4 7C 03 02 14 */ add r0, r3, r0
/* 80102388 000FF2E8 90 61 00 18 */ stw r3, 0x18(r1)
/* 8010238C 000FF2EC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80102390 000FF2F0 90 01 00 20 */ stw r0, 0x20(r1)
/* 80102394 000FF2F4 48 00 00 08 */ b lbl_8010239C
lbl_80102398:
/* 80102398 000FF2F8 38 84 00 0C */ addi r4, r4, 0xc
lbl_8010239C:
/* 8010239C 000FF2FC 7C 04 00 40 */ cmplw r4, r0
/* 801023A0 000FF300 40 82 FF F8 */ bne lbl_80102398
/* 801023A4 000FF304 28 03 00 00 */ cmplwi r3, 0
/* 801023A8 000FF308 41 82 00 08 */ beq lbl_801023B0
/* 801023AC 000FF30C 48 21 35 85 */ bl Free__7CMemoryFPCv
lbl_801023B0:
/* 801023B0 000FF310 3C 60 80 3E */ lis r3, lbl_803DFEF0@ha
/* 801023B4 000FF314 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2)
/* 801023B8 000FF318 38 03 FE F0 */ addi r0, r3, lbl_803DFEF0@l
/* 801023BC 000FF31C 7F 23 CB 78 */ mr r3, r25
/* 801023C0 000FF320 90 19 00 00 */ stw r0, 0(r25)
/* 801023C4 000FF324 93 F9 00 E8 */ stw r31, 0xe8(r25)
/* 801023C8 000FF328 A0 1B 00 00 */ lhz r0, 0(r27)
/* 801023CC 000FF32C B0 19 00 EC */ sth r0, 0xec(r25)
/* 801023D0 000FF330 93 99 00 F0 */ stw r28, 0xf0(r25)
/* 801023D4 000FF334 80 1D 00 00 */ lwz r0, 0(r29)
/* 801023D8 000FF338 80 9D 00 04 */ lwz r4, 4(r29)
/* 801023DC 000FF33C 90 99 00 FC */ stw r4, 0xfc(r25)
/* 801023E0 000FF340 90 19 00 F8 */ stw r0, 0xf8(r25)
/* 801023E4 000FF344 80 1D 00 08 */ lwz r0, 8(r29)
/* 801023E8 000FF348 80 9D 00 0C */ lwz r4, 0xc(r29)
/* 801023EC 000FF34C 90 99 01 04 */ stw r4, 0x104(r25)
/* 801023F0 000FF350 90 19 01 00 */ stw r0, 0x100(r25)
/* 801023F4 000FF354 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 801023F8 000FF358 90 19 01 08 */ stw r0, 0x108(r25)
/* 801023FC 000FF35C 80 1E 00 00 */ lwz r0, 0(r30)
/* 80102400 000FF360 90 19 01 10 */ stw r0, 0x110(r25)
/* 80102404 000FF364 88 1E 00 04 */ lbz r0, 4(r30)
/* 80102408 000FF368 98 19 01 14 */ stb r0, 0x114(r25)
/* 8010240C 000FF36C C0 3E 00 08 */ lfs f1, 8(r30)
/* 80102410 000FF370 D0 39 01 18 */ stfs f1, 0x118(r25)
/* 80102414 000FF374 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 80102418 000FF378 D0 39 01 1C */ stfs f1, 0x11c(r25)
/* 8010241C 000FF37C C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 80102420 000FF380 D0 39 01 20 */ stfs f1, 0x120(r25)
/* 80102424 000FF384 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 80102428 000FF388 D0 39 01 24 */ stfs f1, 0x124(r25)
/* 8010242C 000FF38C 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80102430 000FF390 98 19 01 28 */ stb r0, 0x128(r25)
/* 80102434 000FF394 80 1E 00 00 */ lwz r0, 0(r30)
/* 80102438 000FF398 90 19 01 2C */ stw r0, 0x12c(r25)
/* 8010243C 000FF39C 88 1E 00 04 */ lbz r0, 4(r30)
/* 80102440 000FF3A0 98 19 01 30 */ stb r0, 0x130(r25)
/* 80102444 000FF3A4 C0 3E 00 08 */ lfs f1, 8(r30)
/* 80102448 000FF3A8 D0 39 01 34 */ stfs f1, 0x134(r25)
/* 8010244C 000FF3AC C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 80102450 000FF3B0 D0 39 01 38 */ stfs f1, 0x138(r25)
/* 80102454 000FF3B4 C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 80102458 000FF3B8 D0 39 01 3C */ stfs f1, 0x13c(r25)
/* 8010245C 000FF3BC C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 80102460 000FF3C0 D0 39 01 40 */ stfs f1, 0x140(r25)
/* 80102464 000FF3C4 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 80102468 000FF3C8 98 19 01 44 */ stb r0, 0x144(r25)
/* 8010246C 000FF3CC D0 19 01 48 */ stfs f0, 0x148(r25)
/* 80102470 000FF3D0 D0 19 01 4C */ stfs f0, 0x14c(r25)
/* 80102474 000FF3D4 D0 19 01 50 */ stfs f0, 0x150(r25)
/* 80102478 000FF3D8 D0 19 01 54 */ stfs f0, 0x154(r25)
/* 8010247C 000FF3DC BA 81 01 20 */ lmw r20, 0x120(r1)
/* 80102480 000FF3E0 80 01 01 54 */ lwz r0, 0x154(r1)
/* 80102484 000FF3E4 7C 08 03 A6 */ mtlr r0
/* 80102488 000FF3E8 38 21 01 50 */ addi r1, r1, 0x150
/* 8010248C 000FF3EC 4E 80 00 20 */ blr

110854
asm/text.s

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CControlMapper.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFirstPersonCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CObjectList.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAxisAngle.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CEulerAngles.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFrontEndUI.o\
@ -33,7 +33,7 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweaks.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGame.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameProjectile.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerGun.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerGun.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CEntity.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmInt32.o\
@ -70,7 +70,7 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEffect.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBomb.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakBall.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerState.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerState.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTimer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\
@ -111,6 +111,79 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpawnPoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptRandomRelay.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBeetle.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CHUDMemoParms.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptHUDMemo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMappableObject.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerCameraBob.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCameraFilter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBall.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraShaker.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptActorKeyframe.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CConsoleOutputWindow.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptWater.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CWeapon.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CDamageVulnerability.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CActorLights.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPatternedInfo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSimpleShadow.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CLightParameters.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CActorParameters.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CInGameGuiManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CWarWasp.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWorldShadow.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAudioStateWin.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerVisor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CModelData.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CDecalManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBloodFlower.o\
$(BUILD_DIR)/asm/Kyoto_CWD/TGameTypes.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPhysicsActor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPhysicsState.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CRipple.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFluidUVMotion.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CRippleManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CGrappleArm.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSpacePirate.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPathCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlane.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CHUDBillboardEffect.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CFlickerBat.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyStateCmdMgr.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyStateInfo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSAttack.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSDie.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSFall.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGetup.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSKnockBack.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLieOnGround.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLocomotion.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSStep.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSTurn.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyController.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLoopAttack.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CTargetableProjectile.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLoopReaction.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSteeringBehaviors.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGroundHit.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CChozoGhost.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CFireFlea.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSSlide.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSHurled.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSJump.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGenerate.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPuddleSpore.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSTaunt.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSortedLists.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.o\
AI_FILES :=\
$(BUILD_DIR)/asm/Dolphin/ai.o