.include "macros.inc" .section .data .global lbl_803E6BB0 lbl_803E6BB0: # ROM: 0x3E3BB0 .4byte 0 .4byte 0 .4byte __dt__20CScriptColorModulateFv .4byte Accept__20CScriptColorModulateFR8IVisitor .4byte PreThink__7CEntityFfR13CStateManager .4byte Think__20CScriptColorModulateFfR13CStateManager .4byte AcceptScriptMsg__20CScriptColorModulateF20EScriptObjectMessage9TUniqueIdR13CStateManager .4byte SetActive__7CEntityFb .section .sdata .global lbl_805A7F00 lbl_805A7F00: # ROM: 0x3F58A0 .float 1.0 .global lbl_805A7F04 lbl_805A7F04: # ROM: 0x3F58A4 .float 1.0 .section .text, "ax" .global __dt__20CScriptColorModulateFv __dt__20CScriptColorModulateFv: /* 80200BD8 001FDB38 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80200BDC 001FDB3C 7C 08 02 A6 */ mflr r0 /* 80200BE0 001FDB40 90 01 00 14 */ stw r0, 0x14(r1) /* 80200BE4 001FDB44 93 E1 00 0C */ stw r31, 0xc(r1) /* 80200BE8 001FDB48 7C 9F 23 78 */ mr r31, r4 /* 80200BEC 001FDB4C 93 C1 00 08 */ stw r30, 8(r1) /* 80200BF0 001FDB50 7C 7E 1B 79 */ or. r30, r3, r3 /* 80200BF4 001FDB54 41 82 00 28 */ beq lbl_80200C1C /* 80200BF8 001FDB58 3C A0 80 3E */ lis r5, lbl_803E6BB0@ha /* 80200BFC 001FDB5C 38 80 00 00 */ li r4, 0 /* 80200C00 001FDB60 38 05 6B B0 */ addi r0, r5, lbl_803E6BB0@l /* 80200C04 001FDB64 90 1E 00 00 */ stw r0, 0(r30) /* 80200C08 001FDB68 4B E5 06 6D */ bl __dt__7CEntityFv /* 80200C0C 001FDB6C 7F E0 07 35 */ extsh. r0, r31 /* 80200C10 001FDB70 40 81 00 0C */ ble lbl_80200C1C /* 80200C14 001FDB74 7F C3 F3 78 */ mr r3, r30 /* 80200C18 001FDB78 48 11 4D 19 */ bl Free__7CMemoryFPCv lbl_80200C1C: /* 80200C1C 001FDB7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200C20 001FDB80 7F C3 F3 78 */ mr r3, r30 /* 80200C24 001FDB84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80200C28 001FDB88 83 C1 00 08 */ lwz r30, 8(r1) /* 80200C2C 001FDB8C 7C 08 03 A6 */ mtlr r0 /* 80200C30 001FDB90 38 21 00 10 */ addi r1, r1, 0x10 /* 80200C34 001FDB94 4E 80 00 20 */ blr .global Accept__20CScriptColorModulateFR8IVisitor Accept__20CScriptColorModulateFR8IVisitor: /* 80200C38 001FDB98 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80200C3C 001FDB9C 7C 08 02 A6 */ mflr r0 /* 80200C40 001FDBA0 90 01 00 14 */ stw r0, 0x14(r1) /* 80200C44 001FDBA4 7C 60 1B 78 */ mr r0, r3 /* 80200C48 001FDBA8 7C 83 23 78 */ mr r3, r4 /* 80200C4C 001FDBAC 81 84 00 00 */ lwz r12, 0(r4) /* 80200C50 001FDBB0 7C 04 03 78 */ mr r4, r0 /* 80200C54 001FDBB4 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80200C58 001FDBB8 7D 89 03 A6 */ mtctr r12 /* 80200C5C 001FDBBC 4E 80 04 21 */ bctrl /* 80200C60 001FDBC0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200C64 001FDBC4 7C 08 03 A6 */ mtlr r0 /* 80200C68 001FDBC8 38 21 00 10 */ addi r1, r1, 0x10 /* 80200C6C 001FDBCC 4E 80 00 20 */ blr .global AcceptScriptMsg__20CScriptColorModulateF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CScriptColorModulateF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80200C70 001FDBD0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80200C74 001FDBD4 7C 08 02 A6 */ mflr r0 /* 80200C78 001FDBD8 90 01 00 34 */ stw r0, 0x34(r1) /* 80200C7C 001FDBDC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80200C80 001FDBE0 7C 7F 1B 78 */ mr r31, r3 /* 80200C84 001FDBE4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80200C88 001FDBE8 7C DE 33 78 */ mr r30, r6 /* 80200C8C 001FDBEC 93 A1 00 24 */ stw r29, 0x24(r1) /* 80200C90 001FDBF0 7C 9D 23 78 */ mr r29, r4 /* 80200C94 001FDBF4 A0 05 00 00 */ lhz r0, 0(r5) /* 80200C98 001FDBF8 38 A1 00 08 */ addi r5, r1, 8 /* 80200C9C 001FDBFC B0 01 00 08 */ sth r0, 8(r1) /* 80200CA0 001FDC00 4B E5 04 BD */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80200CA4 001FDC04 88 1F 00 30 */ lbz r0, 0x30(r31) /* 80200CA8 001FDC08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80200CAC 001FDC0C 41 82 01 6C */ beq lbl_80200E18 /* 80200CB0 001FDC10 2C 1D 00 06 */ cmpwi r29, 6 /* 80200CB4 001FDC14 41 82 01 64 */ beq lbl_80200E18 /* 80200CB8 001FDC18 40 80 00 10 */ bge lbl_80200CC8 /* 80200CBC 001FDC1C 2C 1D 00 05 */ cmpwi r29, 5 /* 80200CC0 001FDC20 40 80 00 B8 */ bge lbl_80200D78 /* 80200CC4 001FDC24 48 00 01 54 */ b lbl_80200E18 lbl_80200CC8: /* 80200CC8 001FDC28 2C 1D 00 08 */ cmpwi r29, 8 /* 80200CCC 001FDC2C 40 80 01 4C */ bge lbl_80200E18 /* 80200CD0 001FDC30 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200CD4 001FDC34 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80200CD8 001FDC38 41 82 00 28 */ beq lbl_80200D00 /* 80200CDC 001FDC3C 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200CE0 001FDC40 38 60 00 00 */ li r3, 0 /* 80200CE4 001FDC44 7C 00 00 34 */ cntlzw r0, r0 /* 80200CE8 001FDC48 54 00 D9 7E */ srwi r0, r0, 5 /* 80200CEC 001FDC4C 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200CF0 001FDC50 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200CF4 001FDC54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80200CF8 001FDC58 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200CFC 001FDC5C 48 00 01 1C */ b lbl_80200E18 lbl_80200D00: /* 80200D00 001FDC60 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 80200D04 001FDC64 41 82 00 38 */ beq lbl_80200D3C /* 80200D08 001FDC68 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200D0C 001FDC6C 2C 00 00 00 */ cmpwi r0, 0 /* 80200D10 001FDC70 40 82 00 10 */ bne lbl_80200D20 /* 80200D14 001FDC74 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80200D18 001FDC78 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200D1C 001FDC7C 48 00 00 40 */ b lbl_80200D5C lbl_80200D20: /* 80200D20 001FDC80 C0 3F 00 3C */ lfs f1, 0x3c(r31) /* 80200D24 001FDC84 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 80200D28 001FDC88 C0 5F 00 4C */ lfs f2, 0x4c(r31) /* 80200D2C 001FDC8C EC 01 00 24 */ fdivs f0, f1, f0 /* 80200D30 001FDC90 EC 02 10 3C */ fnmsubs f0, f2, f0, f2 /* 80200D34 001FDC94 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200D38 001FDC98 48 00 00 24 */ b lbl_80200D5C lbl_80200D3C: /* 80200D3C 001FDC9C 7F E4 FB 78 */ mr r4, r31 /* 80200D40 001FDCA0 38 61 00 14 */ addi r3, r1, 0x14 /* 80200D44 001FDCA4 38 BF 00 40 */ addi r5, r31, 0x40 /* 80200D48 001FDCA8 48 00 02 A9 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200D4C 001FDCAC 7F E3 FB 78 */ mr r3, r31 /* 80200D50 001FDCB0 7F C4 F3 78 */ mr r4, r30 /* 80200D54 001FDCB4 38 A1 00 14 */ addi r5, r1, 0x14 /* 80200D58 001FDCB8 48 00 08 B1 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80200D5C: /* 80200D5C 001FDCBC 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200D60 001FDCC0 38 00 00 01 */ li r0, 1 /* 80200D64 001FDCC4 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e /* 80200D68 001FDCC8 38 00 00 00 */ li r0, 0 /* 80200D6C 001FDCCC 98 7F 00 54 */ stb r3, 0x54(r31) /* 80200D70 001FDCD0 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200D74 001FDCD4 48 00 00 A4 */ b lbl_80200E18 lbl_80200D78: /* 80200D78 001FDCD8 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200D7C 001FDCDC 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80200D80 001FDCE0 41 82 00 28 */ beq lbl_80200DA8 /* 80200D84 001FDCE4 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200D88 001FDCE8 38 60 00 00 */ li r3, 0 /* 80200D8C 001FDCEC 7C 00 00 34 */ cntlzw r0, r0 /* 80200D90 001FDCF0 54 00 D9 7E */ srwi r0, r0, 5 /* 80200D94 001FDCF4 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200D98 001FDCF8 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200D9C 001FDCFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80200DA0 001FDD00 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200DA4 001FDD04 48 00 00 74 */ b lbl_80200E18 lbl_80200DA8: /* 80200DA8 001FDD08 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 80200DAC 001FDD0C 41 82 00 38 */ beq lbl_80200DE4 /* 80200DB0 001FDD10 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200DB4 001FDD14 2C 00 00 00 */ cmpwi r0, 0 /* 80200DB8 001FDD18 40 82 00 10 */ bne lbl_80200DC8 /* 80200DBC 001FDD1C C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80200DC0 001FDD20 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200DC4 001FDD24 48 00 00 40 */ b lbl_80200E04 lbl_80200DC8: /* 80200DC8 001FDD28 C0 3F 00 3C */ lfs f1, 0x3c(r31) /* 80200DCC 001FDD2C C0 1F 00 4C */ lfs f0, 0x4c(r31) /* 80200DD0 001FDD30 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 80200DD4 001FDD34 EC 01 00 24 */ fdivs f0, f1, f0 /* 80200DD8 001FDD38 EC 02 10 3C */ fnmsubs f0, f2, f0, f2 /* 80200DDC 001FDD3C D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200DE0 001FDD40 48 00 00 24 */ b lbl_80200E04 lbl_80200DE4: /* 80200DE4 001FDD44 7F E4 FB 78 */ mr r4, r31 /* 80200DE8 001FDD48 38 61 00 0C */ addi r3, r1, 0xc /* 80200DEC 001FDD4C 38 BF 00 44 */ addi r5, r31, 0x44 /* 80200DF0 001FDD50 48 00 02 01 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200DF4 001FDD54 7F E3 FB 78 */ mr r3, r31 /* 80200DF8 001FDD58 7F C4 F3 78 */ mr r4, r30 /* 80200DFC 001FDD5C 38 A1 00 0C */ addi r5, r1, 0xc /* 80200E00 001FDD60 48 00 08 09 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80200E04: /* 80200E04 001FDD64 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200E08 001FDD68 38 60 00 01 */ li r3, 1 /* 80200E0C 001FDD6C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80200E10 001FDD70 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200E14 001FDD74 90 7F 00 38 */ stw r3, 0x38(r31) lbl_80200E18: /* 80200E18 001FDD78 80 01 00 34 */ lwz r0, 0x34(r1) /* 80200E1C 001FDD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80200E20 001FDD80 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80200E24 001FDD84 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80200E28 001FDD88 7C 08 03 A6 */ mtlr r0 /* 80200E2C 001FDD8C 38 21 00 30 */ addi r1, r1, 0x30 /* 80200E30 001FDD90 4E 80 00 20 */ blr .global Think__20CScriptColorModulateFfR13CStateManager Think__20CScriptColorModulateFfR13CStateManager: /* 80200E34 001FDD94 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80200E38 001FDD98 7C 08 02 A6 */ mflr r0 /* 80200E3C 001FDD9C 90 01 00 44 */ stw r0, 0x44(r1) /* 80200E40 001FDDA0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80200E44 001FDDA4 7C 9F 23 78 */ mr r31, r4 /* 80200E48 001FDDA8 93 C1 00 38 */ stw r30, 0x38(r1) /* 80200E4C 001FDDAC 7C 7E 1B 78 */ mr r30, r3 /* 80200E50 001FDDB0 88 03 00 30 */ lbz r0, 0x30(r3) /* 80200E54 001FDDB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80200E58 001FDDB8 41 82 01 80 */ beq lbl_80200FD8 /* 80200E5C 001FDDBC 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80200E60 001FDDC0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 80200E64 001FDDC4 40 82 00 08 */ bne lbl_80200E6C /* 80200E68 001FDDC8 48 00 01 70 */ b lbl_80200FD8 lbl_80200E6C: /* 80200E6C 001FDDCC C0 1E 00 3C */ lfs f0, 0x3c(r30) /* 80200E70 001FDDD0 EC 00 08 2A */ fadds f0, f0, f1 /* 80200E74 001FDDD4 D0 1E 00 3C */ stfs f0, 0x3c(r30) /* 80200E78 001FDDD8 80 1E 00 38 */ lwz r0, 0x38(r30) /* 80200E7C 001FDDDC 2C 00 00 01 */ cmpwi r0, 1 /* 80200E80 001FDDE0 41 82 00 B8 */ beq lbl_80200F38 /* 80200E84 001FDDE4 40 80 01 54 */ bge lbl_80200FD8 /* 80200E88 001FDDE8 2C 00 00 00 */ cmpwi r0, 0 /* 80200E8C 001FDDEC 40 80 00 08 */ bge lbl_80200E94 /* 80200E90 001FDDF0 48 00 01 48 */ b lbl_80200FD8 lbl_80200E94: /* 80200E94 001FDDF4 C0 5E 00 4C */ lfs f2, 0x4c(r30) /* 80200E98 001FDDF8 C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80200E9C 001FDDFC C8 02 B0 38 */ lfd f0, lbl_805ACD58@sda21(r2) /* 80200EA0 001FDE00 EC 22 08 28 */ fsubs f1, f2, f1 /* 80200EA4 001FDE04 FC 20 0A 10 */ fabs f1, f1 /* 80200EA8 001FDE08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200EAC 001FDE0C 40 80 00 0C */ bge lbl_80200EB8 /* 80200EB0 001FDE10 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80200EB4 001FDE14 48 00 00 2C */ b lbl_80200EE0 lbl_80200EB8: /* 80200EB8 001FDE18 C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200EBC 001FDE1C C0 0D 93 40 */ lfs f0, lbl_805A7F00@sda21(r13) /* 80200EC0 001FDE20 EC 21 10 24 */ fdivs f1, f1, f2 /* 80200EC4 001FDE24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200EC8 001FDE28 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80200ECC 001FDE2C 40 80 00 0C */ bge lbl_80200ED8 /* 80200ED0 001FDE30 38 61 00 10 */ addi r3, r1, 0x10 /* 80200ED4 001FDE34 48 00 00 08 */ b lbl_80200EDC lbl_80200ED8: /* 80200ED8 001FDE38 38 6D 93 40 */ addi r3, r13, lbl_805A7F00@sda21 lbl_80200EDC: /* 80200EDC 001FDE3C C0 23 00 00 */ lfs f1, 0(r3) lbl_80200EE0: /* 80200EE0 001FDE40 38 61 00 14 */ addi r3, r1, 0x14 /* 80200EE4 001FDE44 38 9E 00 40 */ addi r4, r30, 0x40 /* 80200EE8 001FDE48 38 BE 00 44 */ addi r5, r30, 0x44 /* 80200EEC 001FDE4C 48 16 23 C1 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80200EF0 001FDE50 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200EF4 001FDE54 7F C4 F3 78 */ mr r4, r30 /* 80200EF8 001FDE58 38 61 00 28 */ addi r3, r1, 0x28 /* 80200EFC 001FDE5C 38 A1 00 1C */ addi r5, r1, 0x1c /* 80200F00 001FDE60 90 01 00 1C */ stw r0, 0x1c(r1) /* 80200F04 001FDE64 48 00 00 ED */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200F08 001FDE68 7F C3 F3 78 */ mr r3, r30 /* 80200F0C 001FDE6C 7F E4 FB 78 */ mr r4, r31 /* 80200F10 001FDE70 38 A1 00 28 */ addi r5, r1, 0x28 /* 80200F14 001FDE74 48 00 06 F5 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags /* 80200F18 001FDE78 C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200F1C 001FDE7C C0 1E 00 4C */ lfs f0, 0x4c(r30) /* 80200F20 001FDE80 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F24 001FDE84 40 81 00 B4 */ ble lbl_80200FD8 /* 80200F28 001FDE88 7F C3 F3 78 */ mr r3, r30 /* 80200F2C 001FDE8C 7F E4 FB 78 */ mr r4, r31 /* 80200F30 001FDE90 48 00 05 9D */ bl End__20CScriptColorModulateFR13CStateManager /* 80200F34 001FDE94 48 00 00 A4 */ b lbl_80200FD8 lbl_80200F38: /* 80200F38 001FDE98 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80200F3C 001FDE9C C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80200F40 001FDEA0 C8 02 B0 38 */ lfd f0, lbl_805ACD58@sda21(r2) /* 80200F44 001FDEA4 EC 22 08 28 */ fsubs f1, f2, f1 /* 80200F48 001FDEA8 FC 20 0A 10 */ fabs f1, f1 /* 80200F4C 001FDEAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F50 001FDEB0 40 80 00 0C */ bge lbl_80200F5C /* 80200F54 001FDEB4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80200F58 001FDEB8 48 00 00 2C */ b lbl_80200F84 lbl_80200F5C: /* 80200F5C 001FDEBC C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200F60 001FDEC0 C0 0D 93 44 */ lfs f0, lbl_805A7F04@sda21(r13) /* 80200F64 001FDEC4 EC 21 10 24 */ fdivs f1, f1, f2 /* 80200F68 001FDEC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F6C 001FDECC D0 21 00 08 */ stfs f1, 8(r1) /* 80200F70 001FDED0 40 80 00 0C */ bge lbl_80200F7C /* 80200F74 001FDED4 38 61 00 08 */ addi r3, r1, 8 /* 80200F78 001FDED8 48 00 00 08 */ b lbl_80200F80 lbl_80200F7C: /* 80200F7C 001FDEDC 38 6D 93 44 */ addi r3, r13, lbl_805A7F04@sda21 lbl_80200F80: /* 80200F80 001FDEE0 C0 23 00 00 */ lfs f1, 0(r3) lbl_80200F84: /* 80200F84 001FDEE4 38 61 00 0C */ addi r3, r1, 0xc /* 80200F88 001FDEE8 38 9E 00 44 */ addi r4, r30, 0x44 /* 80200F8C 001FDEEC 38 BE 00 40 */ addi r5, r30, 0x40 /* 80200F90 001FDEF0 48 16 23 1D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80200F94 001FDEF4 80 01 00 0C */ lwz r0, 0xc(r1) /* 80200F98 001FDEF8 7F C4 F3 78 */ mr r4, r30 /* 80200F9C 001FDEFC 38 61 00 20 */ addi r3, r1, 0x20 /* 80200FA0 001FDF00 38 A1 00 18 */ addi r5, r1, 0x18 /* 80200FA4 001FDF04 90 01 00 18 */ stw r0, 0x18(r1) /* 80200FA8 001FDF08 48 00 00 49 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200FAC 001FDF0C 7F C3 F3 78 */ mr r3, r30 /* 80200FB0 001FDF10 7F E4 FB 78 */ mr r4, r31 /* 80200FB4 001FDF14 38 A1 00 20 */ addi r5, r1, 0x20 /* 80200FB8 001FDF18 48 00 06 51 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags /* 80200FBC 001FDF1C C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200FC0 001FDF20 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 80200FC4 001FDF24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200FC8 001FDF28 40 81 00 10 */ ble lbl_80200FD8 /* 80200FCC 001FDF2C 7F C3 F3 78 */ mr r3, r30 /* 80200FD0 001FDF30 7F E4 FB 78 */ mr r4, r31 /* 80200FD4 001FDF34 48 00 04 F9 */ bl End__20CScriptColorModulateFR13CStateManager lbl_80200FD8: /* 80200FD8 001FDF38 80 01 00 44 */ lwz r0, 0x44(r1) /* 80200FDC 001FDF3C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80200FE0 001FDF40 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80200FE4 001FDF44 7C 08 03 A6 */ mtlr r0 /* 80200FE8 001FDF48 38 21 00 40 */ addi r1, r1, 0x40 /* 80200FEC 001FDF4C 4E 80 00 20 */ blr .global CalculateFlags__20CScriptColorModulateCFRC6CColor CalculateFlags__20CScriptColorModulateCFRC6CColor: /* 80200FF0 001FDF50 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80200FF4 001FDF54 7C 08 02 A6 */ mflr r0 /* 80200FF8 001FDF58 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80200FFC 001FDF5C 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80201000 001FDF60 7C 7F 1B 78 */ mr r31, r3 /* 80201004 001FDF64 93 C1 00 98 */ stw r30, 0x98(r1) /* 80201008 001FDF68 7C 9E 23 78 */ mr r30, r4 /* 8020100C 001FDF6C 93 A1 00 94 */ stw r29, 0x94(r1) /* 80201010 001FDF70 7C BD 2B 78 */ mr r29, r5 /* 80201014 001FDF74 88 04 00 54 */ lbz r0, 0x54(r4) /* 80201018 001FDF78 54 03 EF FF */ rlwinm. r3, r0, 0x1d, 0x1f, 0x1f /* 8020101C 001FDF7C 41 82 01 EC */ beq lbl_80201208 /* 80201020 001FDF80 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80201024 001FDF84 2C 03 00 02 */ cmpwi r3, 2 /* 80201028 001FDF88 41 82 00 D8 */ beq lbl_80201100 /* 8020102C 001FDF8C 40 80 00 14 */ bge lbl_80201040 /* 80201030 001FDF90 2C 03 00 00 */ cmpwi r3, 0 /* 80201034 001FDF94 41 82 00 1C */ beq lbl_80201050 /* 80201038 001FDF98 40 80 00 70 */ bge lbl_802010A8 /* 8020103C 001FDF9C 48 00 01 CC */ b lbl_80201208 lbl_80201040: /* 80201040 001FDFA0 2C 03 00 04 */ cmpwi r3, 4 /* 80201044 001FDFA4 41 82 01 6C */ beq lbl_802011B0 /* 80201048 001FDFA8 40 80 01 C0 */ bge lbl_80201208 /* 8020104C 001FDFAC 48 00 01 0C */ b lbl_80201158 lbl_80201050: /* 80201050 001FDFB0 80 9D 00 00 */ lwz r4, 0(r29) /* 80201054 001FDFB4 38 E0 00 05 */ li r7, 5 /* 80201058 001FDFB8 38 C0 00 00 */ li r6, 0 /* 8020105C 001FDFBC 38 A0 00 03 */ li r5, 3 /* 80201060 001FDFC0 98 FF 00 00 */ stb r7, 0(r31) /* 80201064 001FDFC4 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201068 001FDFC8 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 8020106C 001FDFCC 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201070 001FDFD0 98 DF 00 01 */ stb r6, 1(r31) /* 80201074 001FDFD4 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201078 001FDFD8 60 00 00 08 */ ori r0, r0, 8 /* 8020107C 001FDFDC 98 E1 00 80 */ stb r7, 0x80(r1) /* 80201080 001FDFE0 B0 1F 00 02 */ sth r0, 2(r31) /* 80201084 001FDFE4 98 C1 00 81 */ stb r6, 0x81(r1) /* 80201088 001FDFE8 B0 A1 00 82 */ sth r5, 0x82(r1) /* 8020108C 001FDFEC 90 81 00 84 */ stw r4, 0x84(r1) /* 80201090 001FDFF0 98 E1 00 88 */ stb r7, 0x88(r1) /* 80201094 001FDFF4 98 C1 00 89 */ stb r6, 0x89(r1) /* 80201098 001FDFF8 B0 61 00 8A */ sth r3, 0x8a(r1) /* 8020109C 001FDFFC 90 81 00 8C */ stw r4, 0x8c(r1) /* 802010A0 001FE000 90 9F 00 04 */ stw r4, 4(r31) /* 802010A4 001FE004 48 00 04 0C */ b lbl_802014B0 lbl_802010A8: /* 802010A8 001FE008 80 9D 00 00 */ lwz r4, 0(r29) /* 802010AC 001FE00C 38 E0 00 07 */ li r7, 7 /* 802010B0 001FE010 38 C0 00 00 */ li r6, 0 /* 802010B4 001FE014 38 A0 00 03 */ li r5, 3 /* 802010B8 001FE018 98 FF 00 00 */ stb r7, 0(r31) /* 802010BC 001FE01C 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 802010C0 001FE020 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 802010C4 001FE024 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 802010C8 001FE028 98 DF 00 01 */ stb r6, 1(r31) /* 802010CC 001FE02C 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 802010D0 001FE030 60 00 00 08 */ ori r0, r0, 8 /* 802010D4 001FE034 98 E1 00 70 */ stb r7, 0x70(r1) /* 802010D8 001FE038 B0 1F 00 02 */ sth r0, 2(r31) /* 802010DC 001FE03C 98 C1 00 71 */ stb r6, 0x71(r1) /* 802010E0 001FE040 B0 A1 00 72 */ sth r5, 0x72(r1) /* 802010E4 001FE044 90 81 00 74 */ stw r4, 0x74(r1) /* 802010E8 001FE048 98 E1 00 78 */ stb r7, 0x78(r1) /* 802010EC 001FE04C 98 C1 00 79 */ stb r6, 0x79(r1) /* 802010F0 001FE050 B0 61 00 7A */ sth r3, 0x7a(r1) /* 802010F4 001FE054 90 81 00 7C */ stw r4, 0x7c(r1) /* 802010F8 001FE058 90 9F 00 04 */ stw r4, 4(r31) /* 802010FC 001FE05C 48 00 03 B4 */ b lbl_802014B0 lbl_80201100: /* 80201100 001FE060 80 9D 00 00 */ lwz r4, 0(r29) /* 80201104 001FE064 38 E0 00 08 */ li r7, 8 /* 80201108 001FE068 38 C0 00 00 */ li r6, 0 /* 8020110C 001FE06C 38 A0 00 03 */ li r5, 3 /* 80201110 001FE070 98 FF 00 00 */ stb r7, 0(r31) /* 80201114 001FE074 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201118 001FE078 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 8020111C 001FE07C 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201120 001FE080 98 DF 00 01 */ stb r6, 1(r31) /* 80201124 001FE084 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201128 001FE088 60 00 00 08 */ ori r0, r0, 8 /* 8020112C 001FE08C 98 E1 00 60 */ stb r7, 0x60(r1) /* 80201130 001FE090 B0 1F 00 02 */ sth r0, 2(r31) /* 80201134 001FE094 98 C1 00 61 */ stb r6, 0x61(r1) /* 80201138 001FE098 B0 A1 00 62 */ sth r5, 0x62(r1) /* 8020113C 001FE09C 90 81 00 64 */ stw r4, 0x64(r1) /* 80201140 001FE0A0 98 E1 00 68 */ stb r7, 0x68(r1) /* 80201144 001FE0A4 98 C1 00 69 */ stb r6, 0x69(r1) /* 80201148 001FE0A8 B0 61 00 6A */ sth r3, 0x6a(r1) /* 8020114C 001FE0AC 90 81 00 6C */ stw r4, 0x6c(r1) /* 80201150 001FE0B0 90 9F 00 04 */ stw r4, 4(r31) /* 80201154 001FE0B4 48 00 03 5C */ b lbl_802014B0 lbl_80201158: /* 80201158 001FE0B8 80 9D 00 00 */ lwz r4, 0(r29) /* 8020115C 001FE0BC 38 E0 00 01 */ li r7, 1 /* 80201160 001FE0C0 38 C0 00 00 */ li r6, 0 /* 80201164 001FE0C4 38 A0 00 03 */ li r5, 3 /* 80201168 001FE0C8 98 FF 00 00 */ stb r7, 0(r31) /* 8020116C 001FE0CC 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201170 001FE0D0 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 80201174 001FE0D4 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201178 001FE0D8 98 DF 00 01 */ stb r6, 1(r31) /* 8020117C 001FE0DC 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201180 001FE0E0 60 00 00 08 */ ori r0, r0, 8 /* 80201184 001FE0E4 98 E1 00 50 */ stb r7, 0x50(r1) /* 80201188 001FE0E8 B0 1F 00 02 */ sth r0, 2(r31) /* 8020118C 001FE0EC 98 C1 00 51 */ stb r6, 0x51(r1) /* 80201190 001FE0F0 B0 A1 00 52 */ sth r5, 0x52(r1) /* 80201194 001FE0F4 90 81 00 54 */ stw r4, 0x54(r1) /* 80201198 001FE0F8 98 E1 00 58 */ stb r7, 0x58(r1) /* 8020119C 001FE0FC 98 C1 00 59 */ stb r6, 0x59(r1) /* 802011A0 001FE100 B0 61 00 5A */ sth r3, 0x5a(r1) /* 802011A4 001FE104 90 81 00 5C */ stw r4, 0x5c(r1) /* 802011A8 001FE108 90 9F 00 04 */ stw r4, 4(r31) /* 802011AC 001FE10C 48 00 03 04 */ b lbl_802014B0 lbl_802011B0: /* 802011B0 001FE110 80 9D 00 00 */ lwz r4, 0(r29) /* 802011B4 001FE114 38 E0 00 02 */ li r7, 2 /* 802011B8 001FE118 38 C0 00 00 */ li r6, 0 /* 802011BC 001FE11C 38 A0 00 03 */ li r5, 3 /* 802011C0 001FE120 98 FF 00 00 */ stb r7, 0(r31) /* 802011C4 001FE124 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 802011C8 001FE128 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 802011CC 001FE12C 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 802011D0 001FE130 98 DF 00 01 */ stb r6, 1(r31) /* 802011D4 001FE134 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 802011D8 001FE138 60 00 00 08 */ ori r0, r0, 8 /* 802011DC 001FE13C 98 E1 00 40 */ stb r7, 0x40(r1) /* 802011E0 001FE140 B0 1F 00 02 */ sth r0, 2(r31) /* 802011E4 001FE144 98 C1 00 41 */ stb r6, 0x41(r1) /* 802011E8 001FE148 B0 A1 00 42 */ sth r5, 0x42(r1) /* 802011EC 001FE14C 90 81 00 44 */ stw r4, 0x44(r1) /* 802011F0 001FE150 98 E1 00 48 */ stb r7, 0x48(r1) /* 802011F4 001FE154 98 C1 00 49 */ stb r6, 0x49(r1) /* 802011F8 001FE158 B0 61 00 4A */ sth r3, 0x4a(r1) /* 802011FC 001FE15C 90 81 00 4C */ stw r4, 0x4c(r1) /* 80201200 001FE160 90 9F 00 04 */ stw r4, 4(r31) /* 80201204 001FE164 48 00 02 AC */ b lbl_802014B0 lbl_80201208: /* 80201208 001FE168 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8020120C 001FE16C 2C 00 00 02 */ cmpwi r0, 2 /* 80201210 001FE170 41 82 01 2C */ beq lbl_8020133C /* 80201214 001FE174 40 80 00 14 */ bge lbl_80201228 /* 80201218 001FE178 2C 00 00 00 */ cmpwi r0, 0 /* 8020121C 001FE17C 41 82 00 1C */ beq lbl_80201238 /* 80201220 001FE180 40 80 00 D8 */ bge lbl_802012F8 /* 80201224 001FE184 48 00 02 60 */ b lbl_80201484 lbl_80201228: /* 80201228 001FE188 2C 00 00 04 */ cmpwi r0, 4 /* 8020122C 001FE18C 41 82 02 14 */ beq lbl_80201440 /* 80201230 001FE190 40 80 02 54 */ bge lbl_80201484 /* 80201234 001FE194 48 00 01 4C */ b lbl_80201380 lbl_80201238: /* 80201238 001FE198 48 14 8D 75 */ bl White__6CColorFv /* 8020123C 001FE19C 80 FD 00 00 */ lwz r7, 0(r29) /* 80201240 001FE1A0 80 03 00 00 */ lwz r0, 0(r3) /* 80201244 001FE1A4 7C 07 00 40 */ cmplw r7, r0 /* 80201248 001FE1A8 40 82 00 70 */ bne lbl_802012B8 /* 8020124C 001FE1AC C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201250 001FE1B0 38 80 00 00 */ li r4, 0 /* 80201254 001FE1B4 88 BE 00 54 */ lbz r5, 0x54(r30) /* 80201258 001FE1B8 38 00 00 03 */ li r0, 3 /* 8020125C 001FE1BC FC 40 08 90 */ fmr f2, f1 /* 80201260 001FE1C0 98 81 00 38 */ stb r4, 0x38(r1) /* 80201264 001FE1C4 FC 60 08 90 */ fmr f3, f1 /* 80201268 001FE1C8 38 61 00 3C */ addi r3, r1, 0x3c /* 8020126C 001FE1CC FC 80 08 90 */ fmr f4, f1 /* 80201270 001FE1D0 98 81 00 39 */ stb r4, 0x39(r1) /* 80201274 001FE1D4 B0 01 00 3A */ sth r0, 0x3a(r1) /* 80201278 001FE1D8 54 BE E7 FE */ rlwinm r30, r5, 0x1c, 0x1f, 0x1f /* 8020127C 001FE1DC 54 BD DF FE */ rlwinm r29, r5, 0x1b, 0x1f, 0x1f /* 80201280 001FE1E0 48 16 21 6D */ bl __ct__6CColorFffff /* 80201284 001FE1E4 A0 81 00 3A */ lhz r4, 0x3a(r1) /* 80201288 001FE1E8 57 C3 0D FC */ rlwinm r3, r30, 1, 0x17, 0x1e /* 8020128C 001FE1EC 88 01 00 38 */ lbz r0, 0x38(r1) /* 80201290 001FE1F0 7F A3 1B 78 */ or r3, r29, r3 /* 80201294 001FE1F4 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d /* 80201298 001FE1F8 98 1F 00 00 */ stb r0, 0(r31) /* 8020129C 001FE1FC 7C 83 1B 78 */ or r3, r4, r3 /* 802012A0 001FE200 88 01 00 39 */ lbz r0, 0x39(r1) /* 802012A4 001FE204 98 1F 00 01 */ stb r0, 1(r31) /* 802012A8 001FE208 B0 7F 00 02 */ sth r3, 2(r31) /* 802012AC 001FE20C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802012B0 001FE210 90 1F 00 04 */ stw r0, 4(r31) /* 802012B4 001FE214 48 00 01 FC */ b lbl_802014B0 lbl_802012B8: /* 802012B8 001FE218 88 BE 00 54 */ lbz r5, 0x54(r30) /* 802012BC 001FE21C 38 80 00 05 */ li r4, 5 /* 802012C0 001FE220 38 60 00 00 */ li r3, 0 /* 802012C4 001FE224 38 00 00 03 */ li r0, 3 /* 802012C8 001FE228 98 9F 00 00 */ stb r4, 0(r31) /* 802012CC 001FE22C 54 A6 EF BC */ rlwinm r6, r5, 0x1d, 0x1e, 0x1e /* 802012D0 001FE230 50 A6 DF FE */ rlwimi r6, r5, 0x1b, 0x1f, 0x1f /* 802012D4 001FE234 98 7F 00 01 */ stb r3, 1(r31) /* 802012D8 001FE238 50 06 04 3A */ rlwimi r6, r0, 0, 0x10, 0x1d /* 802012DC 001FE23C B0 DF 00 02 */ sth r6, 2(r31) /* 802012E0 001FE240 98 81 00 30 */ stb r4, 0x30(r1) /* 802012E4 001FE244 98 61 00 31 */ stb r3, 0x31(r1) /* 802012E8 001FE248 B0 01 00 32 */ sth r0, 0x32(r1) /* 802012EC 001FE24C 90 E1 00 34 */ stw r7, 0x34(r1) /* 802012F0 001FE250 90 FF 00 04 */ stw r7, 4(r31) /* 802012F4 001FE254 48 00 01 BC */ b lbl_802014B0 lbl_802012F8: /* 802012F8 001FE258 88 DE 00 54 */ lbz r6, 0x54(r30) /* 802012FC 001FE25C 38 A0 00 07 */ li r5, 7 /* 80201300 001FE260 80 1D 00 00 */ lwz r0, 0(r29) /* 80201304 001FE264 38 80 00 00 */ li r4, 0 /* 80201308 001FE268 38 60 00 03 */ li r3, 3 /* 8020130C 001FE26C 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201310 001FE270 98 BF 00 00 */ stb r5, 0(r31) /* 80201314 001FE274 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 80201318 001FE278 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 8020131C 001FE27C 98 9F 00 01 */ stb r4, 1(r31) /* 80201320 001FE280 B0 FF 00 02 */ sth r7, 2(r31) /* 80201324 001FE284 98 A1 00 28 */ stb r5, 0x28(r1) /* 80201328 001FE288 98 81 00 29 */ stb r4, 0x29(r1) /* 8020132C 001FE28C B0 61 00 2A */ sth r3, 0x2a(r1) /* 80201330 001FE290 90 01 00 2C */ stw r0, 0x2c(r1) /* 80201334 001FE294 90 1F 00 04 */ stw r0, 4(r31) /* 80201338 001FE298 48 00 01 78 */ b lbl_802014B0 lbl_8020133C: /* 8020133C 001FE29C 88 DE 00 54 */ lbz r6, 0x54(r30) /* 80201340 001FE2A0 38 A0 00 08 */ li r5, 8 /* 80201344 001FE2A4 80 1D 00 00 */ lwz r0, 0(r29) /* 80201348 001FE2A8 38 80 00 00 */ li r4, 0 /* 8020134C 001FE2AC 38 60 00 03 */ li r3, 3 /* 80201350 001FE2B0 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201354 001FE2B4 98 BF 00 00 */ stb r5, 0(r31) /* 80201358 001FE2B8 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 8020135C 001FE2BC 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 80201360 001FE2C0 98 9F 00 01 */ stb r4, 1(r31) /* 80201364 001FE2C4 B0 FF 00 02 */ sth r7, 2(r31) /* 80201368 001FE2C8 98 A1 00 20 */ stb r5, 0x20(r1) /* 8020136C 001FE2CC 98 81 00 21 */ stb r4, 0x21(r1) /* 80201370 001FE2D0 B0 61 00 22 */ sth r3, 0x22(r1) /* 80201374 001FE2D4 90 01 00 24 */ stw r0, 0x24(r1) /* 80201378 001FE2D8 90 1F 00 04 */ stw r0, 4(r31) /* 8020137C 001FE2DC 48 00 01 34 */ b lbl_802014B0 lbl_80201380: /* 80201380 001FE2E0 48 14 8C 2D */ bl White__6CColorFv /* 80201384 001FE2E4 80 FD 00 00 */ lwz r7, 0(r29) /* 80201388 001FE2E8 80 03 00 00 */ lwz r0, 0(r3) /* 8020138C 001FE2EC 7C 07 00 40 */ cmplw r7, r0 /* 80201390 001FE2F0 40 82 00 70 */ bne lbl_80201400 /* 80201394 001FE2F4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201398 001FE2F8 38 80 00 00 */ li r4, 0 /* 8020139C 001FE2FC 88 BE 00 54 */ lbz r5, 0x54(r30) /* 802013A0 001FE300 38 00 00 03 */ li r0, 3 /* 802013A4 001FE304 FC 40 08 90 */ fmr f2, f1 /* 802013A8 001FE308 98 81 00 18 */ stb r4, 0x18(r1) /* 802013AC 001FE30C FC 60 08 90 */ fmr f3, f1 /* 802013B0 001FE310 38 61 00 1C */ addi r3, r1, 0x1c /* 802013B4 001FE314 FC 80 08 90 */ fmr f4, f1 /* 802013B8 001FE318 98 81 00 19 */ stb r4, 0x19(r1) /* 802013BC 001FE31C B0 01 00 1A */ sth r0, 0x1a(r1) /* 802013C0 001FE320 54 BD E7 FE */ rlwinm r29, r5, 0x1c, 0x1f, 0x1f /* 802013C4 001FE324 54 BE DF FE */ rlwinm r30, r5, 0x1b, 0x1f, 0x1f /* 802013C8 001FE328 48 16 20 25 */ bl __ct__6CColorFffff /* 802013CC 001FE32C A0 81 00 1A */ lhz r4, 0x1a(r1) /* 802013D0 001FE330 57 A3 0D FC */ rlwinm r3, r29, 1, 0x17, 0x1e /* 802013D4 001FE334 88 01 00 18 */ lbz r0, 0x18(r1) /* 802013D8 001FE338 7F C3 1B 78 */ or r3, r30, r3 /* 802013DC 001FE33C 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d /* 802013E0 001FE340 98 1F 00 00 */ stb r0, 0(r31) /* 802013E4 001FE344 7C 83 1B 78 */ or r3, r4, r3 /* 802013E8 001FE348 88 01 00 19 */ lbz r0, 0x19(r1) /* 802013EC 001FE34C 98 1F 00 01 */ stb r0, 1(r31) /* 802013F0 001FE350 B0 7F 00 02 */ sth r3, 2(r31) /* 802013F4 001FE354 80 01 00 1C */ lwz r0, 0x1c(r1) /* 802013F8 001FE358 90 1F 00 04 */ stw r0, 4(r31) /* 802013FC 001FE35C 48 00 00 B4 */ b lbl_802014B0 lbl_80201400: /* 80201400 001FE360 88 BE 00 54 */ lbz r5, 0x54(r30) /* 80201404 001FE364 38 80 00 01 */ li r4, 1 /* 80201408 001FE368 38 60 00 00 */ li r3, 0 /* 8020140C 001FE36C 38 00 00 03 */ li r0, 3 /* 80201410 001FE370 98 9F 00 00 */ stb r4, 0(r31) /* 80201414 001FE374 54 A6 EF BC */ rlwinm r6, r5, 0x1d, 0x1e, 0x1e /* 80201418 001FE378 50 A6 DF FE */ rlwimi r6, r5, 0x1b, 0x1f, 0x1f /* 8020141C 001FE37C 98 7F 00 01 */ stb r3, 1(r31) /* 80201420 001FE380 50 06 04 3A */ rlwimi r6, r0, 0, 0x10, 0x1d /* 80201424 001FE384 B0 DF 00 02 */ sth r6, 2(r31) /* 80201428 001FE388 98 81 00 10 */ stb r4, 0x10(r1) /* 8020142C 001FE38C 98 61 00 11 */ stb r3, 0x11(r1) /* 80201430 001FE390 B0 01 00 12 */ sth r0, 0x12(r1) /* 80201434 001FE394 90 E1 00 14 */ stw r7, 0x14(r1) /* 80201438 001FE398 90 FF 00 04 */ stw r7, 4(r31) /* 8020143C 001FE39C 48 00 00 74 */ b lbl_802014B0 lbl_80201440: /* 80201440 001FE3A0 88 DE 00 54 */ lbz r6, 0x54(r30) /* 80201444 001FE3A4 38 A0 00 02 */ li r5, 2 /* 80201448 001FE3A8 80 1D 00 00 */ lwz r0, 0(r29) /* 8020144C 001FE3AC 38 80 00 00 */ li r4, 0 /* 80201450 001FE3B0 38 60 00 03 */ li r3, 3 /* 80201454 001FE3B4 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201458 001FE3B8 98 BF 00 00 */ stb r5, 0(r31) /* 8020145C 001FE3BC 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 80201460 001FE3C0 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 80201464 001FE3C4 98 9F 00 01 */ stb r4, 1(r31) /* 80201468 001FE3C8 B0 FF 00 02 */ sth r7, 2(r31) /* 8020146C 001FE3CC 98 A1 00 08 */ stb r5, 8(r1) /* 80201470 001FE3D0 98 81 00 09 */ stb r4, 9(r1) /* 80201474 001FE3D4 B0 61 00 0A */ sth r3, 0xa(r1) /* 80201478 001FE3D8 90 01 00 0C */ stw r0, 0xc(r1) /* 8020147C 001FE3DC 90 1F 00 04 */ stw r0, 4(r31) /* 80201480 001FE3E0 48 00 00 30 */ b lbl_802014B0 lbl_80201484: /* 80201484 001FE3E4 38 80 00 00 */ li r4, 0 /* 80201488 001FE3E8 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 8020148C 001FE3EC 98 9F 00 00 */ stb r4, 0(r31) /* 80201490 001FE3F0 38 00 00 03 */ li r0, 3 /* 80201494 001FE3F4 FC 40 08 90 */ fmr f2, f1 /* 80201498 001FE3F8 38 7F 00 04 */ addi r3, r31, 4 /* 8020149C 001FE3FC 98 9F 00 01 */ stb r4, 1(r31) /* 802014A0 001FE400 FC 60 08 90 */ fmr f3, f1 /* 802014A4 001FE404 FC 80 08 90 */ fmr f4, f1 /* 802014A8 001FE408 B0 1F 00 02 */ sth r0, 2(r31) /* 802014AC 001FE40C 48 16 1F 41 */ bl __ct__6CColorFffff lbl_802014B0: /* 802014B0 001FE410 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 802014B4 001FE414 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 802014B8 001FE418 83 C1 00 98 */ lwz r30, 0x98(r1) /* 802014BC 001FE41C 83 A1 00 94 */ lwz r29, 0x94(r1) /* 802014C0 001FE420 7C 08 03 A6 */ mtlr r0 /* 802014C4 001FE424 38 21 00 A0 */ addi r1, r1, 0xa0 /* 802014C8 001FE428 4E 80 00 20 */ blr .global End__20CScriptColorModulateFR13CStateManager End__20CScriptColorModulateFR13CStateManager: /* 802014CC 001FE42C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802014D0 001FE430 7C 08 02 A6 */ mflr r0 /* 802014D4 001FE434 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 802014D8 001FE438 90 01 00 34 */ stw r0, 0x34(r1) /* 802014DC 001FE43C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802014E0 001FE440 7C 9F 23 78 */ mr r31, r4 /* 802014E4 001FE444 93 C1 00 28 */ stw r30, 0x28(r1) /* 802014E8 001FE448 7C 7E 1B 78 */ mr r30, r3 /* 802014EC 001FE44C D0 03 00 3C */ stfs f0, 0x3c(r3) /* 802014F0 001FE450 88 63 00 54 */ lbz r3, 0x54(r3) /* 802014F4 001FE454 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 802014F8 001FE458 41 82 00 2C */ beq lbl_80201524 /* 802014FC 001FE45C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80201500 001FE460 40 82 00 24 */ bne lbl_80201524 /* 80201504 001FE464 38 00 00 01 */ li r0, 1 /* 80201508 001FE468 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d /* 8020150C 001FE46C 98 7E 00 54 */ stb r3, 0x54(r30) /* 80201510 001FE470 80 1E 00 38 */ lwz r0, 0x38(r30) /* 80201514 001FE474 7C 00 00 34 */ cntlzw r0, r0 /* 80201518 001FE478 54 00 D9 7E */ srwi r0, r0, 5 /* 8020151C 001FE47C 90 1E 00 38 */ stw r0, 0x38(r30) /* 80201520 001FE480 48 00 00 D0 */ b lbl_802015F0 lbl_80201524: /* 80201524 001FE484 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201528 001FE488 38 80 00 00 */ li r4, 0 /* 8020152C 001FE48C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 80201530 001FE490 98 1E 00 54 */ stb r0, 0x54(r30) /* 80201534 001FE494 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201538 001FE498 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 8020153C 001FE49C 98 1E 00 54 */ stb r0, 0x54(r30) /* 80201540 001FE4A0 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201544 001FE4A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80201548 001FE4A8 41 82 00 3C */ beq lbl_80201584 /* 8020154C 001FE4AC C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201550 001FE4B0 38 00 00 03 */ li r0, 3 /* 80201554 001FE4B4 98 81 00 1C */ stb r4, 0x1c(r1) /* 80201558 001FE4B8 38 61 00 20 */ addi r3, r1, 0x20 /* 8020155C 001FE4BC FC 40 08 90 */ fmr f2, f1 /* 80201560 001FE4C0 FC 60 08 90 */ fmr f3, f1 /* 80201564 001FE4C4 98 81 00 1D */ stb r4, 0x1d(r1) /* 80201568 001FE4C8 FC 80 08 90 */ fmr f4, f1 /* 8020156C 001FE4CC B0 01 00 1E */ sth r0, 0x1e(r1) /* 80201570 001FE4D0 48 16 1E 7D */ bl __ct__6CColorFffff /* 80201574 001FE4D4 7F C3 F3 78 */ mr r3, r30 /* 80201578 001FE4D8 7F E4 FB 78 */ mr r4, r31 /* 8020157C 001FE4DC 38 A1 00 1C */ addi r5, r1, 0x1c /* 80201580 001FE4E0 48 00 00 89 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80201584: /* 80201584 001FE4E4 88 1E 00 55 */ lbz r0, 0x55(r30) /* 80201588 001FE4E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020158C 001FE4EC 41 82 00 2C */ beq lbl_802015B8 /* 80201590 001FE4F0 A0 FE 00 08 */ lhz r7, 8(r30) /* 80201594 001FE4F4 7F E3 FB 78 */ mr r3, r31 /* 80201598 001FE4F8 38 81 00 18 */ addi r4, r1, 0x18 /* 8020159C 001FE4FC 38 A1 00 14 */ addi r5, r1, 0x14 /* 802015A0 001FE500 B0 E1 00 14 */ sth r7, 0x14(r1) /* 802015A4 001FE504 38 C0 00 04 */ li r6, 4 /* 802015A8 001FE508 A0 1E 00 34 */ lhz r0, 0x34(r30) /* 802015AC 001FE50C B0 E1 00 10 */ sth r7, 0x10(r1) /* 802015B0 001FE510 B0 01 00 18 */ sth r0, 0x18(r1) /* 802015B4 001FE514 4B E4 28 A1 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId lbl_802015B8: /* 802015B8 001FE518 7F C3 F3 78 */ mr r3, r30 /* 802015BC 001FE51C 7F E5 FB 78 */ mr r5, r31 /* 802015C0 001FE520 38 80 00 07 */ li r4, 7 /* 802015C4 001FE524 38 C0 FF FF */ li r6, -1 /* 802015C8 001FE528 4B E4 FA F9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802015CC 001FE52C 88 1E 00 54 */ lbz r0, 0x54(r30) /* 802015D0 001FE530 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 802015D4 001FE534 41 82 00 1C */ beq lbl_802015F0 /* 802015D8 001FE538 A0 1E 00 08 */ lhz r0, 8(r30) /* 802015DC 001FE53C 7F E3 FB 78 */ mr r3, r31 /* 802015E0 001FE540 38 81 00 0C */ addi r4, r1, 0xc /* 802015E4 001FE544 B0 01 00 08 */ sth r0, 8(r1) /* 802015E8 001FE548 B0 01 00 0C */ sth r0, 0xc(r1) /* 802015EC 001FE54C 4B E4 AC 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_802015F0: /* 802015F0 001FE550 80 01 00 34 */ lwz r0, 0x34(r1) /* 802015F4 001FE554 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802015F8 001FE558 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802015FC 001FE55C 7C 08 03 A6 */ mtlr r0 /* 80201600 001FE560 38 21 00 30 */ addi r1, r1, 0x30 /* 80201604 001FE564 4E 80 00 20 */ blr .global SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags: /* 80201608 001FE568 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8020160C 001FE56C 7C 08 02 A6 */ mflr r0 /* 80201610 001FE570 90 01 00 64 */ stw r0, 0x64(r1) /* 80201614 001FE574 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80201618 001FE578 7C 7C 1B 78 */ mr r28, r3 /* 8020161C 001FE57C 7C 9D 23 78 */ mr r29, r4 /* 80201620 001FE580 7C BE 2B 78 */ mr r30, r5 /* 80201624 001FE584 83 E3 00 2C */ lwz r31, 0x2c(r3) /* 80201628 001FE588 48 00 00 C8 */ b lbl_802016F0 lbl_8020162C: /* 8020162C 001FE58C 80 1F 00 00 */ lwz r0, 0(r31) /* 80201630 001FE590 2C 00 00 12 */ cmpwi r0, 0x12 /* 80201634 001FE594 40 82 00 B8 */ bne lbl_802016EC /* 80201638 001FE598 80 1F 00 04 */ lwz r0, 4(r31) /* 8020163C 001FE59C 2C 00 00 01 */ cmpwi r0, 1 /* 80201640 001FE5A0 40 82 00 AC */ bne lbl_802016EC /* 80201644 001FE5A4 80 1F 00 08 */ lwz r0, 8(r31) /* 80201648 001FE5A8 7F A4 EB 78 */ mr r4, r29 /* 8020164C 001FE5AC 38 61 00 24 */ addi r3, r1, 0x24 /* 80201650 001FE5B0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80201654 001FE5B4 90 01 00 10 */ stw r0, 0x10(r1) /* 80201658 001FE5B8 4B E4 69 71 */ bl GetIdListForScript__13CStateManagerCF9TEditorId /* 8020165C 001FE5BC 83 61 00 28 */ lwz r27, 0x28(r1) /* 80201660 001FE5C0 83 41 00 2C */ lwz r26, 0x2c(r1) /* 80201664 001FE5C4 83 21 00 30 */ lwz r25, 0x30(r1) /* 80201668 001FE5C8 83 01 00 24 */ lwz r24, 0x24(r1) /* 8020166C 001FE5CC 48 00 00 60 */ b lbl_802016CC lbl_80201670: /* 80201670 001FE5D0 A0 18 00 14 */ lhz r0, 0x14(r24) /* 80201674 001FE5D4 7F A3 EB 78 */ mr r3, r29 /* 80201678 001FE5D8 38 81 00 0C */ addi r4, r1, 0xc /* 8020167C 001FE5DC B0 01 00 0C */ sth r0, 0xc(r1) /* 80201680 001FE5E0 4B E4 AE F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80201684 001FE5E4 7C 64 1B 78 */ mr r4, r3 /* 80201688 001FE5E8 38 61 00 1C */ addi r3, r1, 0x1c /* 8020168C 001FE5EC 4B EA E6 05 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80201690 001FE5F0 80 63 00 04 */ lwz r3, 4(r3) /* 80201694 001FE5F4 28 03 00 00 */ cmplwi r3, 0 /* 80201698 001FE5F8 41 82 00 24 */ beq lbl_802016BC /* 8020169C 001FE5FC 88 1E 00 00 */ lbz r0, 0(r30) /* 802016A0 001FE600 98 03 00 B4 */ stb r0, 0xb4(r3) /* 802016A4 001FE604 88 1E 00 01 */ lbz r0, 1(r30) /* 802016A8 001FE608 98 03 00 B5 */ stb r0, 0xb5(r3) /* 802016AC 001FE60C A0 1E 00 02 */ lhz r0, 2(r30) /* 802016B0 001FE610 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 802016B4 001FE614 80 1E 00 04 */ lwz r0, 4(r30) /* 802016B8 001FE618 90 03 00 B8 */ stw r0, 0xb8(r3) lbl_802016BC: /* 802016BC 001FE61C 7F 63 DB 78 */ mr r3, r27 /* 802016C0 001FE620 7F 04 C3 78 */ mr r4, r24 /* 802016C4 001FE624 48 13 AF 1D */ bl rbtree_traverse_forward__4rstlFPCvPv /* 802016C8 001FE628 7C 78 1B 78 */ mr r24, r3 lbl_802016CC: /* 802016CC 001FE62C 7C 18 D0 40 */ cmplw r24, r26 /* 802016D0 001FE630 38 00 00 00 */ li r0, 0 /* 802016D4 001FE634 40 82 00 0C */ bne lbl_802016E0 /* 802016D8 001FE638 7C 1B C8 40 */ cmplw r27, r25 /* 802016DC 001FE63C 41 82 00 08 */ beq lbl_802016E4 lbl_802016E0: /* 802016E0 001FE640 38 00 00 01 */ li r0, 1 lbl_802016E4: /* 802016E4 001FE644 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802016E8 001FE648 40 82 FF 88 */ bne lbl_80201670 lbl_802016EC: /* 802016EC 001FE64C 3B FF 00 0C */ addi r31, r31, 0xc lbl_802016F0: /* 802016F0 001FE650 80 1C 00 24 */ lwz r0, 0x24(r28) /* 802016F4 001FE654 80 7C 00 2C */ lwz r3, 0x2c(r28) /* 802016F8 001FE658 1C 00 00 0C */ mulli r0, r0, 0xc /* 802016FC 001FE65C 7C 03 02 14 */ add r0, r3, r0 /* 80201700 001FE660 7C 1F 00 40 */ cmplw r31, r0 /* 80201704 001FE664 40 82 FF 28 */ bne lbl_8020162C /* 80201708 001FE668 A0 7C 00 34 */ lhz r3, 0x34(r28) /* 8020170C 001FE66C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13) /* 80201710 001FE670 7C 03 00 40 */ cmplw r3, r0 /* 80201714 001FE674 41 82 00 50 */ beq lbl_80201764 /* 80201718 001FE678 A0 1C 00 34 */ lhz r0, 0x34(r28) /* 8020171C 001FE67C 7F A3 EB 78 */ mr r3, r29 /* 80201720 001FE680 38 81 00 08 */ addi r4, r1, 8 /* 80201724 001FE684 B0 01 00 08 */ sth r0, 8(r1) /* 80201728 001FE688 4B E4 AE 4D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8020172C 001FE68C 7C 64 1B 78 */ mr r4, r3 /* 80201730 001FE690 38 61 00 14 */ addi r3, r1, 0x14 /* 80201734 001FE694 4B EA E5 5D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80201738 001FE698 80 63 00 04 */ lwz r3, 4(r3) /* 8020173C 001FE69C 28 03 00 00 */ cmplwi r3, 0 /* 80201740 001FE6A0 41 82 00 24 */ beq lbl_80201764 /* 80201744 001FE6A4 88 1E 00 00 */ lbz r0, 0(r30) /* 80201748 001FE6A8 98 03 00 B4 */ stb r0, 0xb4(r3) /* 8020174C 001FE6AC 88 1E 00 01 */ lbz r0, 1(r30) /* 80201750 001FE6B0 98 03 00 B5 */ stb r0, 0xb5(r3) /* 80201754 001FE6B4 A0 1E 00 02 */ lhz r0, 2(r30) /* 80201758 001FE6B8 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 8020175C 001FE6BC 80 1E 00 04 */ lwz r0, 4(r30) /* 80201760 001FE6C0 90 03 00 B8 */ stw r0, 0xb8(r3) lbl_80201764: /* 80201764 001FE6C4 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80201768 001FE6C8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8020176C 001FE6CC 7C 08 03 A6 */ mtlr r0 /* 80201770 001FE6D0 38 21 00 60 */ addi r1, r1, 0x60 /* 80201774 001FE6D4 4E 80 00 20 */ blr .global FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf: /* 80201778 001FE6D8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8020177C 001FE6DC 7C 08 02 A6 */ mflr r0 /* 80201780 001FE6E0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80201784 001FE6E4 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80201788 001FE6E8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8020178C 001FE6EC BF 41 00 88 */ stmw r26, 0x88(r1) /* 80201790 001FE6F0 7C BF 2B 78 */ mr r31, r5 /* 80201794 001FE6F4 7C 9E 23 78 */ mr r30, r4 /* 80201798 001FE6F8 A0 05 00 00 */ lhz r0, 0(r5) /* 8020179C 001FE6FC 7C 7D 1B 78 */ mr r29, r3 /* 802017A0 001FE700 FF E0 08 90 */ fmr f31, f1 /* 802017A4 001FE704 7F C3 F3 78 */ mr r3, r30 /* 802017A8 001FE708 B0 01 00 28 */ sth r0, 0x28(r1) /* 802017AC 001FE70C 38 81 00 28 */ addi r4, r1, 0x28 /* 802017B0 001FE710 4B E4 AD F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802017B4 001FE714 28 03 00 00 */ cmplwi r3, 0 /* 802017B8 001FE718 41 82 00 14 */ beq lbl_802017CC /* 802017BC 001FE71C 80 03 00 04 */ lwz r0, 4(r3) /* 802017C0 001FE720 38 61 00 54 */ addi r3, r1, 0x54 /* 802017C4 001FE724 90 01 00 54 */ stw r0, 0x54(r1) /* 802017C8 001FE728 48 00 00 10 */ b lbl_802017D8 lbl_802017CC: /* 802017CC 001FE72C 80 1E 08 CC */ lwz r0, 0x8cc(r30) /* 802017D0 001FE730 38 61 00 50 */ addi r3, r1, 0x50 /* 802017D4 001FE734 90 01 00 50 */ stw r0, 0x50(r1) lbl_802017D8: /* 802017D8 001FE738 80 63 00 00 */ lwz r3, 0(r3) /* 802017DC 001FE73C 38 00 00 00 */ li r0, 0 /* 802017E0 001FE740 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 /* 802017E4 001FE744 7F C4 F3 78 */ mr r4, r30 /* 802017E8 001FE748 90 61 00 58 */ stw r3, 0x58(r1) /* 802017EC 001FE74C 38 61 00 24 */ addi r3, r1, 0x24 /* 802017F0 001FE750 90 A1 00 5C */ stw r5, 0x5c(r1) /* 802017F4 001FE754 90 01 00 60 */ stw r0, 0x60(r1) /* 802017F8 001FE758 90 01 00 64 */ stw r0, 0x64(r1) /* 802017FC 001FE75C 4B E4 B8 E1 */ bl AllocateUniqueId__13CStateManagerFv /* 80201800 001FE760 A0 01 00 24 */ lhz r0, 0x24(r1) /* 80201804 001FE764 3C 60 80 3D */ lis r3, lbl_803D2580@ha /* 80201808 001FE768 38 83 25 80 */ addi r4, r3, lbl_803D2580@l /* 8020180C 001FE76C 3B 40 00 00 */ li r26, 0 /* 80201810 001FE770 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80201814 001FE774 38 60 00 58 */ li r3, 0x58 /* 80201818 001FE778 38 A0 00 00 */ li r5, 0 /* 8020181C 001FE77C 48 11 40 51 */ bl __nw__FUlPCcPCc /* 80201820 001FE780 7C 7B 1B 79 */ or. r27, r3, r3 /* 80201824 001FE784 41 82 00 B8 */ beq lbl_802018DC /* 80201828 001FE788 80 8D A3 88 */ lwz r4, kInvalidEditorId@sda21(r13) /* 8020182C 001FE78C 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80201830 001FE790 80 01 00 58 */ lwz r0, 0x58(r1) /* 80201834 001FE794 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80201838 001FE798 90 81 00 44 */ stw r4, 0x44(r1) /* 8020183C 001FE79C 38 61 00 6C */ addi r3, r1, 0x6c /* 80201840 001FE7A0 38 81 00 40 */ addi r4, r1, 0x40 /* 80201844 001FE7A4 38 C1 00 44 */ addi r6, r1, 0x44 /* 80201848 001FE7A8 90 01 00 40 */ stw r0, 0x40(r1) /* 8020184C 001FE7AC 4B E4 FC 39 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80201850 001FE7B0 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201854 001FE7B4 38 61 00 4C */ addi r3, r1, 0x4c /* 80201858 001FE7B8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 8020185C 001FE7BC 3B 40 00 01 */ li r26, 1 /* 80201860 001FE7C0 FC 40 08 90 */ fmr f2, f1 /* 80201864 001FE7C4 C0 82 B0 30 */ lfs f4, lbl_805ACD50@sda21(r2) /* 80201868 001FE7C8 FC 60 08 90 */ fmr f3, f1 /* 8020186C 001FE7CC B0 01 00 20 */ sth r0, 0x20(r1) /* 80201870 001FE7D0 48 16 1B 7D */ bl __ct__6CColorFffff /* 80201874 001FE7D4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201878 001FE7D8 7C 7C 1B 78 */ mr r28, r3 /* 8020187C 001FE7DC 38 61 00 48 */ addi r3, r1, 0x48 /* 80201880 001FE7E0 FC 40 08 90 */ fmr f2, f1 /* 80201884 001FE7E4 FC 60 08 90 */ fmr f3, f1 /* 80201888 001FE7E8 FC 80 08 90 */ fmr f4, f1 /* 8020188C 001FE7EC 48 16 1B 61 */ bl __ct__6CColorFffff /* 80201890 001FE7F0 39 20 00 00 */ li r9, 0 /* 80201894 001FE7F4 7C 67 1B 78 */ mr r7, r3 /* 80201898 001FE7F8 91 21 00 08 */ stw r9, 8(r1) /* 8020189C 001FE7FC 38 00 00 01 */ li r0, 1 /* 802018A0 001FE800 FC 20 F8 90 */ fmr f1, f31 /* 802018A4 001FE804 C0 42 B0 30 */ lfs f2, lbl_805ACD50@sda21(r2) /* 802018A8 001FE808 90 01 00 0C */ stw r0, 0xc(r1) /* 802018AC 001FE80C 7F 63 DB 78 */ mr r3, r27 /* 802018B0 001FE810 7F 88 E3 78 */ mr r8, r28 /* 802018B4 001FE814 38 81 00 20 */ addi r4, r1, 0x20 /* 802018B8 001FE818 90 01 00 10 */ stw r0, 0x10(r1) /* 802018BC 001FE81C 38 A1 00 5C */ addi r5, r1, 0x5c /* 802018C0 001FE820 38 C1 00 6C */ addi r6, r1, 0x6c /* 802018C4 001FE824 39 40 00 00 */ li r10, 0 /* 802018C8 001FE828 91 21 00 14 */ stw r9, 0x14(r1) /* 802018CC 001FE82C 39 20 00 00 */ li r9, 0 /* 802018D0 001FE830 90 01 00 18 */ stw r0, 0x18(r1) /* 802018D4 001FE834 48 00 02 F9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" /* 802018D8 001FE838 7C 7B 1B 78 */ mr r27, r3 lbl_802018DC: /* 802018DC 001FE83C 7F 40 07 75 */ extsb. r0, r26 /* 802018E0 001FE840 41 82 00 44 */ beq lbl_80201924 /* 802018E4 001FE844 80 01 00 74 */ lwz r0, 0x74(r1) /* 802018E8 001FE848 80 61 00 7C */ lwz r3, 0x7c(r1) /* 802018EC 001FE84C 1C 00 00 0C */ mulli r0, r0, 0xc /* 802018F0 001FE850 90 61 00 34 */ stw r3, 0x34(r1) /* 802018F4 001FE854 7C 64 1B 78 */ mr r4, r3 /* 802018F8 001FE858 7C 03 02 14 */ add r0, r3, r0 /* 802018FC 001FE85C 90 61 00 30 */ stw r3, 0x30(r1) /* 80201900 001FE860 90 01 00 3C */ stw r0, 0x3c(r1) /* 80201904 001FE864 90 01 00 38 */ stw r0, 0x38(r1) /* 80201908 001FE868 48 00 00 08 */ b lbl_80201910 lbl_8020190C: /* 8020190C 001FE86C 38 84 00 0C */ addi r4, r4, 0xc lbl_80201910: /* 80201910 001FE870 7C 04 00 40 */ cmplw r4, r0 /* 80201914 001FE874 40 82 FF F8 */ bne lbl_8020190C /* 80201918 001FE878 28 03 00 00 */ cmplwi r3, 0 /* 8020191C 001FE87C 41 82 00 08 */ beq lbl_80201924 /* 80201920 001FE880 48 11 40 11 */ bl Free__7CMemoryFPCv lbl_80201924: /* 80201924 001FE884 A0 1F 00 00 */ lhz r0, 0(r31) /* 80201928 001FE888 38 A0 00 01 */ li r5, 1 /* 8020192C 001FE88C 7F C3 F3 78 */ mr r3, r30 /* 80201930 001FE890 7F 64 DB 78 */ mr r4, r27 /* 80201934 001FE894 B0 1B 00 34 */ sth r0, 0x34(r27) /* 80201938 001FE898 88 1B 00 54 */ lbz r0, 0x54(r27) /* 8020193C 001FE89C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201940 001FE8A0 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201944 001FE8A4 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201948 001FE8A8 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 8020194C 001FE8AC 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201950 001FE8B0 88 1B 00 55 */ lbz r0, 0x55(r27) /* 80201954 001FE8B4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80201958 001FE8B8 98 1B 00 55 */ stb r0, 0x55(r27) /* 8020195C 001FE8BC 4B E4 B1 B9 */ bl AddObject__13CStateManagerFR7CEntity /* 80201960 001FE8C0 7F 63 DB 78 */ mr r3, r27 /* 80201964 001FE8C4 7F C4 F3 78 */ mr r4, r30 /* 80201968 001FE8C8 81 9B 00 00 */ lwz r12, 0(r27) /* 8020196C 001FE8CC C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80201970 001FE8D0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80201974 001FE8D4 7D 89 03 A6 */ mtctr r12 /* 80201978 001FE8D8 4E 80 04 21 */ bctrl /* 8020197C 001FE8DC A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201980 001FE8E0 38 61 00 5C */ addi r3, r1, 0x5c /* 80201984 001FE8E4 B0 1D 00 00 */ sth r0, 0(r29) /* 80201988 001FE8E8 48 13 C1 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020198C 001FE8EC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80201990 001FE8F0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80201994 001FE8F4 BB 41 00 88 */ lmw r26, 0x88(r1) /* 80201998 001FE8F8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8020199C 001FE8FC 7C 08 03 A6 */ mtlr r0 /* 802019A0 001FE900 38 21 00 B0 */ addi r1, r1, 0xb0 /* 802019A4 001FE904 4E 80 00 20 */ blr .global FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf: /* 802019A8 001FE908 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 802019AC 001FE90C 7C 08 02 A6 */ mflr r0 /* 802019B0 001FE910 90 01 00 B4 */ stw r0, 0xb4(r1) /* 802019B4 001FE914 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 802019B8 001FE918 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 802019BC 001FE91C BF 41 00 88 */ stmw r26, 0x88(r1) /* 802019C0 001FE920 7C BF 2B 78 */ mr r31, r5 /* 802019C4 001FE924 7C 9E 23 78 */ mr r30, r4 /* 802019C8 001FE928 A0 05 00 00 */ lhz r0, 0(r5) /* 802019CC 001FE92C 7C 7D 1B 78 */ mr r29, r3 /* 802019D0 001FE930 FF E0 08 90 */ fmr f31, f1 /* 802019D4 001FE934 7F C3 F3 78 */ mr r3, r30 /* 802019D8 001FE938 B0 01 00 28 */ sth r0, 0x28(r1) /* 802019DC 001FE93C 38 81 00 28 */ addi r4, r1, 0x28 /* 802019E0 001FE940 4B E4 AB C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802019E4 001FE944 28 03 00 00 */ cmplwi r3, 0 /* 802019E8 001FE948 41 82 00 14 */ beq lbl_802019FC /* 802019EC 001FE94C 80 03 00 04 */ lwz r0, 4(r3) /* 802019F0 001FE950 38 61 00 54 */ addi r3, r1, 0x54 /* 802019F4 001FE954 90 01 00 54 */ stw r0, 0x54(r1) /* 802019F8 001FE958 48 00 00 10 */ b lbl_80201A08 lbl_802019FC: /* 802019FC 001FE95C 80 1E 08 CC */ lwz r0, 0x8cc(r30) /* 80201A00 001FE960 38 61 00 50 */ addi r3, r1, 0x50 /* 80201A04 001FE964 90 01 00 50 */ stw r0, 0x50(r1) lbl_80201A08: /* 80201A08 001FE968 80 63 00 00 */ lwz r3, 0(r3) /* 80201A0C 001FE96C 38 00 00 00 */ li r0, 0 /* 80201A10 001FE970 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 /* 80201A14 001FE974 7F C4 F3 78 */ mr r4, r30 /* 80201A18 001FE978 90 61 00 58 */ stw r3, 0x58(r1) /* 80201A1C 001FE97C 38 61 00 24 */ addi r3, r1, 0x24 /* 80201A20 001FE980 90 A1 00 5C */ stw r5, 0x5c(r1) /* 80201A24 001FE984 90 01 00 60 */ stw r0, 0x60(r1) /* 80201A28 001FE988 90 01 00 64 */ stw r0, 0x64(r1) /* 80201A2C 001FE98C 4B E4 B6 B1 */ bl AllocateUniqueId__13CStateManagerFv /* 80201A30 001FE990 A0 01 00 24 */ lhz r0, 0x24(r1) /* 80201A34 001FE994 3C 60 80 3D */ lis r3, lbl_803D2580@ha /* 80201A38 001FE998 38 83 25 80 */ addi r4, r3, lbl_803D2580@l /* 80201A3C 001FE99C 3B 40 00 00 */ li r26, 0 /* 80201A40 001FE9A0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80201A44 001FE9A4 38 60 00 58 */ li r3, 0x58 /* 80201A48 001FE9A8 38 A0 00 00 */ li r5, 0 /* 80201A4C 001FE9AC 48 11 3E 21 */ bl __nw__FUlPCcPCc /* 80201A50 001FE9B0 7C 7B 1B 79 */ or. r27, r3, r3 /* 80201A54 001FE9B4 41 82 00 B8 */ beq lbl_80201B0C /* 80201A58 001FE9B8 80 8D A3 88 */ lwz r4, kInvalidEditorId@sda21(r13) /* 80201A5C 001FE9BC 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80201A60 001FE9C0 80 01 00 58 */ lwz r0, 0x58(r1) /* 80201A64 001FE9C4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80201A68 001FE9C8 90 81 00 44 */ stw r4, 0x44(r1) /* 80201A6C 001FE9CC 38 61 00 6C */ addi r3, r1, 0x6c /* 80201A70 001FE9D0 38 81 00 40 */ addi r4, r1, 0x40 /* 80201A74 001FE9D4 38 C1 00 44 */ addi r6, r1, 0x44 /* 80201A78 001FE9D8 90 01 00 40 */ stw r0, 0x40(r1) /* 80201A7C 001FE9DC 4B E4 FA 09 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80201A80 001FE9E0 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201A84 001FE9E4 38 61 00 4C */ addi r3, r1, 0x4c /* 80201A88 001FE9E8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201A8C 001FE9EC 3B 40 00 01 */ li r26, 1 /* 80201A90 001FE9F0 FC 40 08 90 */ fmr f2, f1 /* 80201A94 001FE9F4 FC 60 08 90 */ fmr f3, f1 /* 80201A98 001FE9F8 B0 01 00 20 */ sth r0, 0x20(r1) /* 80201A9C 001FE9FC FC 80 08 90 */ fmr f4, f1 /* 80201AA0 001FEA00 48 16 19 4D */ bl __ct__6CColorFffff /* 80201AA4 001FEA04 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201AA8 001FEA08 7C 7C 1B 78 */ mr r28, r3 /* 80201AAC 001FEA0C C0 82 B0 30 */ lfs f4, lbl_805ACD50@sda21(r2) /* 80201AB0 001FEA10 38 61 00 48 */ addi r3, r1, 0x48 /* 80201AB4 001FEA14 FC 40 08 90 */ fmr f2, f1 /* 80201AB8 001FEA18 FC 60 08 90 */ fmr f3, f1 /* 80201ABC 001FEA1C 48 16 19 31 */ bl __ct__6CColorFffff /* 80201AC0 001FEA20 39 60 00 01 */ li r11, 1 /* 80201AC4 001FEA24 7C 67 1B 78 */ mr r7, r3 /* 80201AC8 001FEA28 91 61 00 08 */ stw r11, 8(r1) /* 80201ACC 001FEA2C 38 00 00 00 */ li r0, 0 /* 80201AD0 001FEA30 FC 20 F8 90 */ fmr f1, f31 /* 80201AD4 001FEA34 C0 42 B0 30 */ lfs f2, lbl_805ACD50@sda21(r2) /* 80201AD8 001FEA38 91 61 00 0C */ stw r11, 0xc(r1) /* 80201ADC 001FEA3C 7F 63 DB 78 */ mr r3, r27 /* 80201AE0 001FEA40 7F 88 E3 78 */ mr r8, r28 /* 80201AE4 001FEA44 38 81 00 20 */ addi r4, r1, 0x20 /* 80201AE8 001FEA48 91 61 00 10 */ stw r11, 0x10(r1) /* 80201AEC 001FEA4C 38 A1 00 5C */ addi r5, r1, 0x5c /* 80201AF0 001FEA50 38 C1 00 6C */ addi r6, r1, 0x6c /* 80201AF4 001FEA54 39 20 00 00 */ li r9, 0 /* 80201AF8 001FEA58 90 01 00 14 */ stw r0, 0x14(r1) /* 80201AFC 001FEA5C 39 40 00 00 */ li r10, 0 /* 80201B00 001FEA60 91 61 00 18 */ stw r11, 0x18(r1) /* 80201B04 001FEA64 48 00 00 C9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" /* 80201B08 001FEA68 7C 7B 1B 78 */ mr r27, r3 lbl_80201B0C: /* 80201B0C 001FEA6C 7F 40 07 75 */ extsb. r0, r26 /* 80201B10 001FEA70 41 82 00 44 */ beq lbl_80201B54 /* 80201B14 001FEA74 80 01 00 74 */ lwz r0, 0x74(r1) /* 80201B18 001FEA78 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80201B1C 001FEA7C 1C 00 00 0C */ mulli r0, r0, 0xc /* 80201B20 001FEA80 90 61 00 34 */ stw r3, 0x34(r1) /* 80201B24 001FEA84 7C 64 1B 78 */ mr r4, r3 /* 80201B28 001FEA88 7C 03 02 14 */ add r0, r3, r0 /* 80201B2C 001FEA8C 90 61 00 30 */ stw r3, 0x30(r1) /* 80201B30 001FEA90 90 01 00 3C */ stw r0, 0x3c(r1) /* 80201B34 001FEA94 90 01 00 38 */ stw r0, 0x38(r1) /* 80201B38 001FEA98 48 00 00 08 */ b lbl_80201B40 lbl_80201B3C: /* 80201B3C 001FEA9C 38 84 00 0C */ addi r4, r4, 0xc lbl_80201B40: /* 80201B40 001FEAA0 7C 04 00 40 */ cmplw r4, r0 /* 80201B44 001FEAA4 40 82 FF F8 */ bne lbl_80201B3C /* 80201B48 001FEAA8 28 03 00 00 */ cmplwi r3, 0 /* 80201B4C 001FEAAC 41 82 00 08 */ beq lbl_80201B54 /* 80201B50 001FEAB0 48 11 3D E1 */ bl Free__7CMemoryFPCv lbl_80201B54: /* 80201B54 001FEAB4 A0 1F 00 00 */ lhz r0, 0(r31) /* 80201B58 001FEAB8 38 A0 00 01 */ li r5, 1 /* 80201B5C 001FEABC 7F C3 F3 78 */ mr r3, r30 /* 80201B60 001FEAC0 7F 64 DB 78 */ mr r4, r27 /* 80201B64 001FEAC4 B0 1B 00 34 */ sth r0, 0x34(r27) /* 80201B68 001FEAC8 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201B6C 001FEACC 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201B70 001FEAD0 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201B74 001FEAD4 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201B78 001FEAD8 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 80201B7C 001FEADC 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201B80 001FEAE0 4B E4 AF 95 */ bl AddObject__13CStateManagerFR7CEntity /* 80201B84 001FEAE4 7F 63 DB 78 */ mr r3, r27 /* 80201B88 001FEAE8 7F C4 F3 78 */ mr r4, r30 /* 80201B8C 001FEAEC 81 9B 00 00 */ lwz r12, 0(r27) /* 80201B90 001FEAF0 C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80201B94 001FEAF4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80201B98 001FEAF8 7D 89 03 A6 */ mtctr r12 /* 80201B9C 001FEAFC 4E 80 04 21 */ bctrl /* 80201BA0 001FEB00 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201BA4 001FEB04 38 61 00 5C */ addi r3, r1, 0x5c /* 80201BA8 001FEB08 B0 1D 00 00 */ sth r0, 0(r29) /* 80201BAC 001FEB0C 48 13 BF 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80201BB0 001FEB10 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80201BB4 001FEB14 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80201BB8 001FEB18 BB 41 00 88 */ lmw r26, 0x88(r1) /* 80201BBC 001FEB1C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80201BC0 001FEB20 7C 08 03 A6 */ mtlr r0 /* 80201BC4 001FEB24 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80201BC8 001FEB28 4E 80 00 20 */ blr .global "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb": /* 80201BCC 001FEB2C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80201BD0 001FEB30 7C 08 02 A6 */ mflr r0 /* 80201BD4 001FEB34 90 01 00 64 */ stw r0, 0x64(r1) /* 80201BD8 001FEB38 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80201BDC 001FEB3C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80201BE0 001FEB40 DB C1 00 40 */ stfd f30, 0x40(r1) /* 80201BE4 001FEB44 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80201BE8 001FEB48 BE E1 00 1C */ stmw r23, 0x1c(r1) /* 80201BEC 001FEB4C A0 04 00 00 */ lhz r0, 0(r4) /* 80201BF0 001FEB50 7C AB 2B 78 */ mr r11, r5 /* 80201BF4 001FEB54 FF C0 08 90 */ fmr f30, f1 /* 80201BF8 001FEB58 88 81 00 7B */ lbz r4, 0x7b(r1) /* 80201BFC 001FEB5C FF E0 10 90 */ fmr f31, f2 /* 80201C00 001FEB60 B0 01 00 08 */ sth r0, 8(r1) /* 80201C04 001FEB64 7C F9 3B 78 */ mr r25, r7 /* 80201C08 001FEB68 7C C5 33 78 */ mr r5, r6 /* 80201C0C 001FEB6C 7C 86 23 78 */ mr r6, r4 /* 80201C10 001FEB70 8B 81 00 6B */ lbz r28, 0x6b(r1) /* 80201C14 001FEB74 8B A1 00 6F */ lbz r29, 0x6f(r1) /* 80201C18 001FEB78 7C 78 1B 78 */ mr r24, r3 /* 80201C1C 001FEB7C 8B C1 00 73 */ lbz r30, 0x73(r1) /* 80201C20 001FEB80 7D 1A 43 78 */ mr r26, r8 /* 80201C24 001FEB84 8B E1 00 77 */ lbz r31, 0x77(r1) /* 80201C28 001FEB88 7D 3B 4B 78 */ mr r27, r9 /* 80201C2C 001FEB8C 7D 57 53 78 */ mr r23, r10 /* 80201C30 001FEB90 7D 67 5B 78 */ mr r7, r11 /* 80201C34 001FEB94 38 81 00 08 */ addi r4, r1, 8 /* 80201C38 001FEB98 4B E4 F6 ED */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80201C3C 001FEB9C 3C 60 80 3E */ lis r3, lbl_803E6BB0@ha /* 80201C40 001FEBA0 38 A0 00 00 */ li r5, 0 /* 80201C44 001FEBA4 38 03 6B B0 */ addi r0, r3, lbl_803E6BB0@l /* 80201C48 001FEBA8 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80201C4C 001FEBAC 90 18 00 00 */ stw r0, 0(r24) /* 80201C50 001FEBB0 7F 03 C3 78 */ mr r3, r24 /* 80201C54 001FEBB4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13) /* 80201C58 001FEBB8 B0 18 00 34 */ sth r0, 0x34(r24) /* 80201C5C 001FEBBC 90 B8 00 38 */ stw r5, 0x38(r24) /* 80201C60 001FEBC0 D0 18 00 3C */ stfs f0, 0x3c(r24) /* 80201C64 001FEBC4 80 19 00 00 */ lwz r0, 0(r25) /* 80201C68 001FEBC8 90 18 00 40 */ stw r0, 0x40(r24) /* 80201C6C 001FEBCC 80 1A 00 00 */ lwz r0, 0(r26) /* 80201C70 001FEBD0 90 18 00 44 */ stw r0, 0x44(r24) /* 80201C74 001FEBD4 93 78 00 48 */ stw r27, 0x48(r24) /* 80201C78 001FEBD8 D3 D8 00 4C */ stfs f30, 0x4c(r24) /* 80201C7C 001FEBDC D3 F8 00 50 */ stfs f31, 0x50(r24) /* 80201C80 001FEBE0 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C84 001FEBE4 52 E0 3E 30 */ rlwimi r0, r23, 7, 0x18, 0x18 /* 80201C88 001FEBE8 98 18 00 54 */ stb r0, 0x54(r24) /* 80201C8C 001FEBEC 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C90 001FEBF0 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 /* 80201C94 001FEBF4 98 18 00 54 */ stb r0, 0x54(r24) /* 80201C98 001FEBF8 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C9C 001FEBFC 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a /* 80201CA0 001FEC00 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CA4 001FEC04 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CA8 001FEC08 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b /* 80201CAC 001FEC0C 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CB0 001FEC10 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CB4 001FEC14 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c /* 80201CB8 001FEC18 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CBC 001FEC1C 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CC0 001FEC20 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80201CC4 001FEC24 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CC8 001FEC28 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CCC 001FEC2C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201CD0 001FEC30 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CD4 001FEC34 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CD8 001FEC38 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 80201CDC 001FEC3C 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CE0 001FEC40 88 18 00 55 */ lbz r0, 0x55(r24) /* 80201CE4 001FEC44 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80201CE8 001FEC48 98 18 00 55 */ stb r0, 0x55(r24) /* 80201CEC 001FEC4C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80201CF0 001FEC50 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80201CF4 001FEC54 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80201CF8 001FEC58 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80201CFC 001FEC5C BA E1 00 1C */ lmw r23, 0x1c(r1) /* 80201D00 001FEC60 80 01 00 64 */ lwz r0, 0x64(r1) /* 80201D04 001FEC64 7C 08 03 A6 */ mtlr r0 /* 80201D08 001FEC68 38 21 00 60 */ addi r1, r1, 0x60 /* 80201D0C 001FEC6C 4E 80 00 20 */ blr .section .sdata2, "a" .global lbl_805ACD50 lbl_805ACD50: # ROM: 0x3F95F0 .4byte 0 .4byte 0 .global lbl_805ACD58 lbl_805ACD58: # ROM: 0x3F95F8 .double 9.999999747378752E-6 .global lbl_805ACD60 lbl_805ACD60: # ROM: 0x3F9600 .float 1.0 .4byte 0 .section .rodata .global lbl_803D2580 lbl_803D2580: # ROM: 0x3CF580 .asciz "??(??)" .balign 4