.include "macros.inc" .section .text, "ax" # 0x80003640 - 0x803CB1C0 .global __dt__18CScriptPlayerActorFv __dt__18CScriptPlayerActorFv: /* 801AA284 001A71E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AA288 001A71E8 7C 08 02 A6 */ mflr r0 /* 801AA28C 001A71EC 90 01 00 24 */ stw r0, 0x24(r1) /* 801AA290 001A71F0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AA294 001A71F4 7C 9F 23 78 */ mr r31, r4 /* 801AA298 001A71F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AA29C 001A71FC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AA2A0 001A7200 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AA2A4 001A7204 41 82 01 38 */ beq lbl_801AA3DC /* 801AA2A8 001A7208 3C 60 80 3E */ lis r3, lbl_803E4BE0@ha /* 801AA2AC 001A720C 34 1E 03 38 */ addic. r0, r30, 0x338 /* 801AA2B0 001A7210 38 03 4B E0 */ addi r0, r3, lbl_803E4BE0@l /* 801AA2B4 001A7214 90 1E 00 00 */ stw r0, 0(r30) /* 801AA2B8 001A7218 41 82 00 30 */ beq lbl_801AA2E8 /* 801AA2BC 001A721C 88 1E 03 44 */ lbz r0, 0x344(r30) /* 801AA2C0 001A7220 28 00 00 00 */ cmplwi r0, 0 /* 801AA2C4 001A7224 41 82 00 1C */ beq lbl_801AA2E0 /* 801AA2C8 001A7228 34 7E 03 38 */ addic. r3, r30, 0x338 /* 801AA2CC 001A722C 41 82 00 14 */ beq lbl_801AA2E0 /* 801AA2D0 001A7230 28 03 00 00 */ cmplwi r3, 0 /* 801AA2D4 001A7234 41 82 00 0C */ beq lbl_801AA2E0 /* 801AA2D8 001A7238 38 80 00 00 */ li r4, 0 /* 801AA2DC 001A723C 48 19 6B 65 */ bl __dt__6CTokenFv lbl_801AA2E0: /* 801AA2E0 001A7240 38 00 00 00 */ li r0, 0 /* 801AA2E4 001A7244 98 1E 03 44 */ stb r0, 0x344(r30) lbl_801AA2E8: /* 801AA2E8 001A7248 34 1E 03 28 */ addic. r0, r30, 0x328 /* 801AA2EC 001A724C 41 82 00 30 */ beq lbl_801AA31C /* 801AA2F0 001A7250 88 1E 03 34 */ lbz r0, 0x334(r30) /* 801AA2F4 001A7254 28 00 00 00 */ cmplwi r0, 0 /* 801AA2F8 001A7258 41 82 00 1C */ beq lbl_801AA314 /* 801AA2FC 001A725C 34 7E 03 28 */ addic. r3, r30, 0x328 /* 801AA300 001A7260 41 82 00 14 */ beq lbl_801AA314 /* 801AA304 001A7264 28 03 00 00 */ cmplwi r3, 0 /* 801AA308 001A7268 41 82 00 0C */ beq lbl_801AA314 /* 801AA30C 001A726C 38 80 00 00 */ li r4, 0 /* 801AA310 001A7270 48 19 6B 31 */ bl __dt__6CTokenFv lbl_801AA314: /* 801AA314 001A7274 38 00 00 00 */ li r0, 0 /* 801AA318 001A7278 98 1E 03 34 */ stb r0, 0x334(r30) lbl_801AA31C: /* 801AA31C 001A727C 34 1E 03 24 */ addic. r0, r30, 0x324 /* 801AA320 001A7280 41 82 00 24 */ beq lbl_801AA344 /* 801AA324 001A7284 83 BE 03 24 */ lwz r29, 0x324(r30) /* 801AA328 001A7288 28 1D 00 00 */ cmplwi r29, 0 /* 801AA32C 001A728C 41 82 00 18 */ beq lbl_801AA344 /* 801AA330 001A7290 7F A3 EB 78 */ mr r3, r29 /* 801AA334 001A7294 38 80 00 00 */ li r4, 0 /* 801AA338 001A7298 48 19 6B 09 */ bl __dt__6CTokenFv /* 801AA33C 001A729C 7F A3 EB 78 */ mr r3, r29 /* 801AA340 001A72A0 48 16 B5 F1 */ bl Free__7CMemoryFPCv lbl_801AA344: /* 801AA344 001A72A4 34 1E 03 20 */ addic. r0, r30, 0x320 /* 801AA348 001A72A8 41 82 00 28 */ beq lbl_801AA370 /* 801AA34C 001A72AC 83 BE 03 20 */ lwz r29, 0x320(r30) /* 801AA350 001A72B0 28 1D 00 00 */ cmplwi r29, 0 /* 801AA354 001A72B4 41 82 00 1C */ beq lbl_801AA370 /* 801AA358 001A72B8 41 82 00 10 */ beq lbl_801AA368 /* 801AA35C 001A72BC 7F A3 EB 78 */ mr r3, r29 /* 801AA360 001A72C0 38 80 00 00 */ li r4, 0 /* 801AA364 001A72C4 48 19 6A DD */ bl __dt__6CTokenFv lbl_801AA368: /* 801AA368 001A72C8 7F A3 EB 78 */ mr r3, r29 /* 801AA36C 001A72CC 48 16 B5 C5 */ bl Free__7CMemoryFPCv lbl_801AA370: /* 801AA370 001A72D0 34 1E 03 1C */ addic. r0, r30, 0x31c /* 801AA374 001A72D4 41 82 00 24 */ beq lbl_801AA398 /* 801AA378 001A72D8 83 BE 03 1C */ lwz r29, 0x31c(r30) /* 801AA37C 001A72DC 28 1D 00 00 */ cmplwi r29, 0 /* 801AA380 001A72E0 41 82 00 18 */ beq lbl_801AA398 /* 801AA384 001A72E4 7F A3 EB 78 */ mr r3, r29 /* 801AA388 001A72E8 38 80 00 00 */ li r4, 0 /* 801AA38C 001A72EC 48 19 6A B5 */ bl __dt__6CTokenFv /* 801AA390 001A72F0 7F A3 EB 78 */ mr r3, r29 /* 801AA394 001A72F4 48 16 B5 9D */ bl Free__7CMemoryFPCv lbl_801AA398: /* 801AA398 001A72F8 34 1E 03 18 */ addic. r0, r30, 0x318 /* 801AA39C 001A72FC 41 82 00 10 */ beq lbl_801AA3AC /* 801AA3A0 001A7300 80 7E 03 18 */ lwz r3, 0x318(r30) /* 801AA3A4 001A7304 38 80 00 01 */ li r4, 1 /* 801AA3A8 001A7308 4B F6 C6 A5 */ bl __dt__10CModelDataFv lbl_801AA3AC: /* 801AA3AC 001A730C 34 1E 03 14 */ addic. r0, r30, 0x314 /* 801AA3B0 001A7310 41 82 00 10 */ beq lbl_801AA3C0 /* 801AA3B4 001A7314 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AA3B8 001A7318 38 80 00 01 */ li r4, 1 /* 801AA3BC 001A731C 4B F6 C6 91 */ bl __dt__10CModelDataFv lbl_801AA3C0: /* 801AA3C0 001A7320 7F C3 F3 78 */ mr r3, r30 /* 801AA3C4 001A7324 38 80 00 00 */ li r4, 0 /* 801AA3C8 001A7328 4B EC B4 85 */ bl __dt__12CScriptActorFv /* 801AA3CC 001A732C 7F E0 07 35 */ extsh. r0, r31 /* 801AA3D0 001A7330 40 81 00 0C */ ble lbl_801AA3DC /* 801AA3D4 001A7334 7F C3 F3 78 */ mr r3, r30 /* 801AA3D8 001A7338 48 16 B5 59 */ bl Free__7CMemoryFPCv lbl_801AA3DC: /* 801AA3DC 001A733C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AA3E0 001A7340 7F C3 F3 78 */ mr r3, r30 /* 801AA3E4 001A7344 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AA3E8 001A7348 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AA3EC 001A734C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AA3F0 001A7350 7C 08 03 A6 */ mtlr r0 /* 801AA3F4 001A7354 38 21 00 20 */ addi r1, r1, 0x20 /* 801AA3F8 001A7358 4E 80 00 20 */ blr .global SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb: /* 801AA3FC 001A735C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801AA400 001A7360 7C 08 02 A6 */ mflr r0 /* 801AA404 001A7364 90 01 00 64 */ stw r0, 0x64(r1) /* 801AA408 001A7368 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801AA40C 001A736C BF 61 00 4C */ stmw r27, 0x4c(r1) /* 801AA410 001A7370 7C 7D 1B 78 */ mr r29, r3 /* 801AA414 001A7374 7C BF 2B 78 */ mr r31, r5 /* 801AA418 001A7378 7C 9E 23 78 */ mr r30, r4 /* 801AA41C 001A737C A0 63 00 08 */ lhz r3, 8(r3) /* 801AA420 001A7380 B0 61 00 30 */ sth r3, 0x30(r1) /* 801AA424 001A7384 40 82 00 30 */ bne lbl_801AA454 /* 801AA428 001A7388 A0 1E 0F 6C */ lhz r0, 0xf6c(r30) /* 801AA42C 001A738C 7C 00 18 40 */ cmplw r0, r3 /* 801AA430 001A7390 40 82 00 24 */ bne lbl_801AA454 /* 801AA434 001A7394 A0 7D 03 56 */ lhz r3, 0x356(r29) /* 801AA438 001A7398 B0 7E 0F 6C */ sth r3, 0xf6c(r30) /* 801AA43C 001A739C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA440 001A73A0 B0 61 00 24 */ sth r3, 0x24(r1) /* 801AA444 001A73A4 B0 61 00 28 */ sth r3, 0x28(r1) /* 801AA448 001A73A8 B0 01 00 20 */ sth r0, 0x20(r1) /* 801AA44C 001A73AC B0 1D 03 56 */ sth r0, 0x356(r29) /* 801AA450 001A73B0 48 00 00 D8 */ b lbl_801AA528 lbl_801AA454: /* 801AA454 001A73B4 A0 1E 0F 6C */ lhz r0, 0xf6c(r30) /* 801AA458 001A73B8 3B 60 00 00 */ li r27, 0 /* 801AA45C 001A73BC A3 81 00 30 */ lhz r28, 0x30(r1) /* 801AA460 001A73C0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA464 001A73C4 48 00 00 98 */ b lbl_801AA4FC lbl_801AA468: /* 801AA468 001A73C8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801AA46C 001A73CC 7C 00 E0 40 */ cmplw r0, r28 /* 801AA470 001A73D0 40 82 00 34 */ bne lbl_801AA4A4 /* 801AA474 001A73D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AA478 001A73D8 40 82 00 B0 */ bne lbl_801AA528 /* 801AA47C 001A73DC 28 1B 00 00 */ cmplwi r27, 0 /* 801AA480 001A73E0 41 82 00 A8 */ beq lbl_801AA528 /* 801AA484 001A73E4 A0 7D 03 56 */ lhz r3, 0x356(r29) /* 801AA488 001A73E8 B0 7B 03 56 */ sth r3, 0x356(r27) /* 801AA48C 001A73EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA490 001A73F0 B0 61 00 18 */ sth r3, 0x18(r1) /* 801AA494 001A73F4 B0 61 00 1C */ sth r3, 0x1c(r1) /* 801AA498 001A73F8 B0 01 00 14 */ sth r0, 0x14(r1) /* 801AA49C 001A73FC B0 1D 03 56 */ sth r0, 0x356(r29) /* 801AA4A0 001A7400 48 00 00 88 */ b lbl_801AA528 lbl_801AA4A4: /* 801AA4A4 001A7404 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801AA4A8 001A7408 7F C3 F3 78 */ mr r3, r30 /* 801AA4AC 001A740C 38 81 00 10 */ addi r4, r1, 0x10 /* 801AA4B0 001A7410 B0 01 00 10 */ sth r0, 0x10(r1) /* 801AA4B4 001A7414 4B EA 20 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AA4B8 001A7418 7C 64 1B 78 */ mr r4, r3 /* 801AA4BC 001A741C 38 61 00 34 */ addi r3, r1, 0x34 /* 801AA4C0 001A7420 4B F0 18 AD */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" /* 801AA4C4 001A7424 80 63 00 04 */ lwz r3, 4(r3) /* 801AA4C8 001A7428 28 03 00 00 */ cmplwi r3, 0 /* 801AA4CC 001A742C 41 82 00 20 */ beq lbl_801AA4EC /* 801AA4D0 001A7430 88 03 02 E3 */ lbz r0, 0x2e3(r3) /* 801AA4D4 001A7434 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AA4D8 001A7438 41 82 00 14 */ beq lbl_801AA4EC /* 801AA4DC 001A743C A0 03 03 56 */ lhz r0, 0x356(r3) /* 801AA4E0 001A7440 7C 7B 1B 78 */ mr r27, r3 /* 801AA4E4 001A7444 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA4E8 001A7448 48 00 00 14 */ b lbl_801AA4FC lbl_801AA4EC: /* 801AA4EC 001A744C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA4F0 001A7450 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA4F4 001A7454 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AA4F8 001A7458 B0 1D 03 56 */ sth r0, 0x356(r29) lbl_801AA4FC: /* 801AA4FC 001A745C A0 61 00 2C */ lhz r3, 0x2c(r1) /* 801AA500 001A7460 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA504 001A7464 7C 03 00 40 */ cmplw r3, r0 /* 801AA508 001A7468 40 82 FF 60 */ bne lbl_801AA468 /* 801AA50C 001A746C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AA510 001A7470 41 82 00 18 */ beq lbl_801AA528 /* 801AA514 001A7474 A0 7E 0F 6C */ lhz r3, 0xf6c(r30) /* 801AA518 001A7478 A0 01 00 30 */ lhz r0, 0x30(r1) /* 801AA51C 001A747C B0 7D 03 56 */ sth r3, 0x356(r29) /* 801AA520 001A7480 B0 01 00 08 */ sth r0, 8(r1) /* 801AA524 001A7484 B0 1E 0F 6C */ sth r0, 0xf6c(r30) lbl_801AA528: /* 801AA528 001A7488 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 801AA52C 001A748C 80 01 00 64 */ lwz r0, 0x64(r1) /* 801AA530 001A7490 7C 08 03 A6 */ mtlr r0 /* 801AA534 001A7494 38 21 00 60 */ addi r1, r1, 0x60 /* 801AA538 001A7498 4E 80 00 20 */ blr .global SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb: /* 801AA53C 001A749C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA540 001A74A0 7C 08 02 A6 */ mflr r0 /* 801AA544 001A74A4 7C 67 1B 78 */ mr r7, r3 /* 801AA548 001A74A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA54C 001A74AC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801AA550 001A74B0 7C 85 23 78 */ mr r5, r4 /* 801AA554 001A74B4 41 82 00 78 */ beq lbl_801AA5CC /* 801AA558 001A74B8 80 65 08 50 */ lwz r3, 0x850(r5) /* 801AA55C 001A74BC 80 85 08 80 */ lwz r4, 0x880(r5) /* 801AA560 001A74C0 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 801AA564 001A74C4 2C 00 00 02 */ cmpwi r0, 2 /* 801AA568 001A74C8 40 82 00 70 */ bne lbl_801AA5D8 /* 801AA56C 001A74CC 80 C7 00 64 */ lwz r6, 0x64(r7) /* 801AA570 001A74D0 38 60 00 00 */ li r3, 0 /* 801AA574 001A74D4 28 06 00 00 */ cmplwi r6, 0 /* 801AA578 001A74D8 41 82 00 20 */ beq lbl_801AA598 /* 801AA57C 001A74DC 80 06 00 10 */ lwz r0, 0x10(r6) /* 801AA580 001A74E0 28 00 00 00 */ cmplwi r0, 0 /* 801AA584 001A74E4 40 82 00 10 */ bne lbl_801AA594 /* 801AA588 001A74E8 88 06 00 28 */ lbz r0, 0x28(r6) /* 801AA58C 001A74EC 28 00 00 00 */ cmplwi r0, 0 /* 801AA590 001A74F0 41 82 00 08 */ beq lbl_801AA598 lbl_801AA594: /* 801AA594 001A74F4 38 60 00 01 */ li r3, 1 lbl_801AA598: /* 801AA598 001A74F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA59C 001A74FC 41 82 00 3C */ beq lbl_801AA5D8 /* 801AA5A0 001A7500 C0 24 00 30 */ lfs f1, 0x30(r4) /* 801AA5A4 001A7504 C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801AA5A8 001A7508 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801AA5AC 001A750C 41 82 00 2C */ beq lbl_801AA5D8 /* 801AA5B0 001A7510 80 65 08 84 */ lwz r3, 0x884(r5) /* 801AA5B4 001A7514 7C E4 3B 78 */ mr r4, r7 /* 801AA5B8 001A7518 C0 22 A8 40 */ lfs f1, lbl_805AC560@sda21(r2) /* 801AA5BC 001A751C 38 C0 00 FA */ li r6, 0xfa /* 801AA5C0 001A7520 38 E0 00 0A */ li r7, 0xa /* 801AA5C4 001A7524 48 03 A9 4D */ bl AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif /* 801AA5C8 001A7528 48 00 00 10 */ b lbl_801AA5D8 lbl_801AA5CC: /* 801AA5CC 001A752C 80 65 08 84 */ lwz r3, 0x884(r5) /* 801AA5D0 001A7530 7C E4 3B 78 */ mr r4, r7 /* 801AA5D4 001A7534 48 03 A8 6D */ bl RemoveRainSplashGenerator__20CActorModelParticlesFR6CActor lbl_801AA5D8: /* 801AA5D8 001A7538 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA5DC 001A753C 7C 08 03 A6 */ mtlr r0 /* 801AA5E0 001A7540 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA5E4 001A7544 4E 80 00 20 */ blr .global SetActive__18CScriptPlayerActorFb SetActive__18CScriptPlayerActorFb: /* 801AA5E8 001A7548 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA5EC 001A754C 7C 08 02 A6 */ mflr r0 /* 801AA5F0 001A7550 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA5F4 001A7554 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA5F8 001A7558 7C 7F 1B 78 */ mr r31, r3 /* 801AA5FC 001A755C 4B EA 92 51 */ bl SetActive__6CActorFb /* 801AA600 001A7560 88 1F 00 E7 */ lbz r0, 0xe7(r31) /* 801AA604 001A7564 38 60 00 01 */ li r3, 1 /* 801AA608 001A7568 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AA60C 001A756C 98 1F 00 E7 */ stb r0, 0xe7(r31) /* 801AA610 001A7570 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA614 001A7574 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA618 001A7578 7C 08 03 A6 */ mtlr r0 /* 801AA61C 001A757C 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA620 001A7580 4E 80 00 20 */ blr .global PreRender__18CScriptPlayerActorFR13CStateManagerRC14CFrustumPlanes PreRender__18CScriptPlayerActorFR13CStateManagerRC14CFrustumPlanes: /* 801AA624 001A7584 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AA628 001A7588 7C 08 02 A6 */ mflr r0 /* 801AA62C 001A758C 90 01 00 34 */ stw r0, 0x34(r1) /* 801AA630 001A7590 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AA634 001A7594 7C BF 2B 78 */ mr r31, r5 /* 801AA638 001A7598 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AA63C 001A759C 7C 9E 23 78 */ mr r30, r4 /* 801AA640 001A75A0 93 A1 00 24 */ stw r29, 0x24(r1) /* 801AA644 001A75A4 7C 7D 1B 78 */ mr r29, r3 /* 801AA648 001A75A8 93 81 00 20 */ stw r28, 0x20(r1) /* 801AA64C 001A75AC 88 03 03 34 */ lbz r0, 0x334(r3) /* 801AA650 001A75B0 28 00 00 00 */ cmplwi r0, 0 /* 801AA654 001A75B4 41 82 00 E0 */ beq lbl_801AA734 /* 801AA658 001A75B8 80 7D 03 48 */ lwz r3, 0x348(r29) /* 801AA65C 001A75BC 2C 03 00 00 */ cmpwi r3, 0 /* 801AA660 001A75C0 40 82 00 CC */ bne lbl_801AA72C /* 801AA664 001A75C4 3B 9D 03 28 */ addi r28, r29, 0x328 /* 801AA668 001A75C8 38 81 00 08 */ addi r4, r1, 8 /* 801AA66C 001A75CC 38 00 00 00 */ li r0, 0 /* 801AA670 001A75D0 7C 1C 20 40 */ cmplw r28, r4 /* 801AA674 001A75D4 98 01 00 14 */ stb r0, 0x14(r1) /* 801AA678 001A75D8 41 82 00 84 */ beq lbl_801AA6FC /* 801AA67C 001A75DC 28 00 00 00 */ cmplwi r0, 0 /* 801AA680 001A75E0 41 82 00 50 */ beq lbl_801AA6D0 /* 801AA684 001A75E4 88 1D 03 34 */ lbz r0, 0x334(r29) /* 801AA688 001A75E8 28 00 00 00 */ cmplwi r0, 0 /* 801AA68C 001A75EC 40 82 00 30 */ bne lbl_801AA6BC /* 801AA690 001A75F0 37 9D 03 28 */ addic. r28, r29, 0x328 /* 801AA694 001A75F4 41 82 00 1C */ beq lbl_801AA6B0 /* 801AA698 001A75F8 7F 83 E3 78 */ mr r3, r28 /* 801AA69C 001A75FC 48 19 68 0D */ bl __ct__6CTokenFRC6CToken /* 801AA6A0 001A7600 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AA6A4 001A7604 7F 83 E3 78 */ mr r3, r28 /* 801AA6A8 001A7608 90 1C 00 08 */ stw r0, 8(r28) /* 801AA6AC 001A760C 48 19 66 D9 */ bl Lock__6CTokenFv lbl_801AA6B0: /* 801AA6B0 001A7610 38 00 00 01 */ li r0, 1 /* 801AA6B4 001A7614 98 1D 03 34 */ stb r0, 0x334(r29) /* 801AA6B8 001A7618 48 00 00 44 */ b lbl_801AA6FC lbl_801AA6BC: /* 801AA6BC 001A761C 7F 83 E3 78 */ mr r3, r28 /* 801AA6C0 001A7620 48 19 66 05 */ bl __as__6CTokenFRC6CToken /* 801AA6C4 001A7624 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AA6C8 001A7628 90 1C 00 08 */ stw r0, 8(r28) /* 801AA6CC 001A762C 48 00 00 30 */ b lbl_801AA6FC lbl_801AA6D0: /* 801AA6D0 001A7630 88 1D 03 34 */ lbz r0, 0x334(r29) /* 801AA6D4 001A7634 28 00 00 00 */ cmplwi r0, 0 /* 801AA6D8 001A7638 41 82 00 1C */ beq lbl_801AA6F4 /* 801AA6DC 001A763C 34 7D 03 28 */ addic. r3, r29, 0x328 /* 801AA6E0 001A7640 41 82 00 14 */ beq lbl_801AA6F4 /* 801AA6E4 001A7644 28 03 00 00 */ cmplwi r3, 0 /* 801AA6E8 001A7648 41 82 00 0C */ beq lbl_801AA6F4 /* 801AA6EC 001A764C 38 80 00 00 */ li r4, 0 /* 801AA6F0 001A7650 48 19 67 51 */ bl __dt__6CTokenFv lbl_801AA6F4: /* 801AA6F4 001A7654 38 00 00 00 */ li r0, 0 /* 801AA6F8 001A7658 98 1D 03 34 */ stb r0, 0x334(r29) lbl_801AA6FC: /* 801AA6FC 001A765C 88 01 00 14 */ lbz r0, 0x14(r1) /* 801AA700 001A7660 28 00 00 00 */ cmplwi r0, 0 /* 801AA704 001A7664 41 82 00 1C */ beq lbl_801AA720 /* 801AA708 001A7668 34 61 00 08 */ addic. r3, r1, 8 /* 801AA70C 001A766C 41 82 00 14 */ beq lbl_801AA720 /* 801AA710 001A7670 28 03 00 00 */ cmplwi r3, 0 /* 801AA714 001A7674 41 82 00 0C */ beq lbl_801AA720 /* 801AA718 001A7678 38 80 00 00 */ li r4, 0 /* 801AA71C 001A767C 48 19 67 25 */ bl __dt__6CTokenFv lbl_801AA720: /* 801AA720 001A7680 38 00 00 00 */ li r0, 0 /* 801AA724 001A7684 98 01 00 14 */ stb r0, 0x14(r1) /* 801AA728 001A7688 48 00 00 0C */ b lbl_801AA734 lbl_801AA72C: /* 801AA72C 001A768C 38 03 FF FF */ addi r0, r3, -1 /* 801AA730 001A7690 90 1D 03 48 */ stw r0, 0x348(r29) lbl_801AA734: /* 801AA734 001A7694 80 1D 02 EC */ lwz r0, 0x2ec(r29) /* 801AA738 001A7698 2C 00 00 03 */ cmpwi r0, 3 /* 801AA73C 001A769C 40 82 00 0C */ bne lbl_801AA748 /* 801AA740 001A76A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801AA744 001A76A4 48 10 B8 2D */ bl AllocatePhazonSuitMaskTexture__13CCubeRendererFv lbl_801AA748: /* 801AA748 001A76A8 7F A3 EB 78 */ mr r3, r29 /* 801AA74C 001A76AC 7F C4 F3 78 */ mr r4, r30 /* 801AA750 001A76B0 7F E5 FB 78 */ mr r5, r31 /* 801AA754 001A76B4 4B EC A9 69 */ bl PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes /* 801AA758 001A76B8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AA75C 001A76BC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AA760 001A76C0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AA764 001A76C4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801AA768 001A76C8 83 81 00 20 */ lwz r28, 0x20(r1) /* 801AA76C 001A76CC 7C 08 03 A6 */ mtlr r0 /* 801AA770 001A76D0 38 21 00 30 */ addi r1, r1, 0x30 /* 801AA774 001A76D4 4E 80 00 20 */ blr .global GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit: /* 801AA778 001A76D8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA77C 001A76DC 7C 08 02 A6 */ mflr r0 /* 801AA780 001A76E0 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA784 001A76E4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA788 001A76E8 7C BF 2B 78 */ mr r31, r5 /* 801AA78C 001A76EC 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 801AA790 001A76F0 80 63 00 00 */ lwz r3, 0(r3) /* 801AA794 001A76F4 4B EE 6D 31 */ bl GetIsFusionEnabled__12CPlayerStateFv /* 801AA798 001A76F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA79C 001A76FC 41 82 00 48 */ beq lbl_801AA7E4 /* 801AA7A0 001A7700 2C 1F 00 02 */ cmpwi r31, 2 /* 801AA7A4 001A7704 41 82 00 2C */ beq lbl_801AA7D0 /* 801AA7A8 001A7708 40 80 00 14 */ bge lbl_801AA7BC /* 801AA7AC 001A770C 2C 1F 00 00 */ cmpwi r31, 0 /* 801AA7B0 001A7710 41 82 00 18 */ beq lbl_801AA7C8 /* 801AA7B4 001A7714 40 80 00 24 */ bge lbl_801AA7D8 /* 801AA7B8 001A7718 48 00 00 2C */ b lbl_801AA7E4 lbl_801AA7BC: /* 801AA7BC 001A771C 2C 1F 00 04 */ cmpwi r31, 4 /* 801AA7C0 001A7720 40 80 00 24 */ bge lbl_801AA7E4 /* 801AA7C4 001A7724 48 00 00 1C */ b lbl_801AA7E0 lbl_801AA7C8: /* 801AA7C8 001A7728 3B E0 00 04 */ li r31, 4 /* 801AA7CC 001A772C 48 00 00 18 */ b lbl_801AA7E4 lbl_801AA7D0: /* 801AA7D0 001A7730 3B E0 00 07 */ li r31, 7 /* 801AA7D4 001A7734 48 00 00 10 */ b lbl_801AA7E4 lbl_801AA7D8: /* 801AA7D8 001A7738 3B E0 00 06 */ li r31, 6 /* 801AA7DC 001A773C 48 00 00 08 */ b lbl_801AA7E4 lbl_801AA7E0: /* 801AA7E0 001A7740 3B E0 00 08 */ li r31, 8 lbl_801AA7E4: /* 801AA7E4 001A7744 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA7E8 001A7748 7F E3 FB 78 */ mr r3, r31 /* 801AA7EC 001A774C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA7F0 001A7750 7C 08 03 A6 */ mtlr r0 /* 801AA7F4 001A7754 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA7F8 001A7758 4E 80 00 20 */ blr .global GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager: /* 801AA7FC 001A775C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA800 001A7760 7C 08 02 A6 */ mflr r0 /* 801AA804 001A7764 38 A0 00 03 */ li r5, 3 /* 801AA808 001A7768 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA80C 001A776C 80 03 03 50 */ lwz r0, 0x350(r3) /* 801AA810 001A7770 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 801AA814 001A7774 41 82 00 44 */ beq lbl_801AA858 /* 801AA818 001A7778 80 03 03 08 */ lwz r0, 0x308(r3) /* 801AA81C 001A777C 2C 00 00 02 */ cmpwi r0, 2 /* 801AA820 001A7780 41 82 00 30 */ beq lbl_801AA850 /* 801AA824 001A7784 40 80 00 10 */ bge lbl_801AA834 /* 801AA828 001A7788 2C 00 00 01 */ cmpwi r0, 1 /* 801AA82C 001A778C 40 80 00 14 */ bge lbl_801AA840 /* 801AA830 001A7790 48 00 00 20 */ b lbl_801AA850 lbl_801AA834: /* 801AA834 001A7794 2C 00 00 04 */ cmpwi r0, 4 /* 801AA838 001A7798 40 80 00 18 */ bge lbl_801AA850 /* 801AA83C 001A779C 48 00 00 0C */ b lbl_801AA848 lbl_801AA840: /* 801AA840 001A77A0 38 A0 00 02 */ li r5, 2 /* 801AA844 001A77A4 48 00 00 50 */ b lbl_801AA894 lbl_801AA848: /* 801AA848 001A77A8 38 A0 00 01 */ li r5, 1 /* 801AA84C 001A77AC 48 00 00 48 */ b lbl_801AA894 lbl_801AA850: /* 801AA850 001A77B0 38 A0 00 00 */ li r5, 0 /* 801AA854 001A77B4 48 00 00 40 */ b lbl_801AA894 lbl_801AA858: /* 801AA858 001A77B8 80 03 03 08 */ lwz r0, 0x308(r3) /* 801AA85C 001A77BC 2C 00 00 01 */ cmpwi r0, 1 /* 801AA860 001A77C0 41 82 00 30 */ beq lbl_801AA890 /* 801AA864 001A77C4 40 80 00 10 */ bge lbl_801AA874 /* 801AA868 001A77C8 2C 00 00 00 */ cmpwi r0, 0 /* 801AA86C 001A77CC 40 80 00 14 */ bge lbl_801AA880 /* 801AA870 001A77D0 48 00 00 24 */ b lbl_801AA894 lbl_801AA874: /* 801AA874 001A77D4 2C 00 00 03 */ cmpwi r0, 3 /* 801AA878 001A77D8 40 80 00 1C */ bge lbl_801AA894 /* 801AA87C 001A77DC 48 00 00 0C */ b lbl_801AA888 lbl_801AA880: /* 801AA880 001A77E0 38 A0 00 02 */ li r5, 2 /* 801AA884 001A77E4 48 00 00 10 */ b lbl_801AA894 lbl_801AA888: /* 801AA888 001A77E8 38 A0 00 01 */ li r5, 1 /* 801AA88C 001A77EC 48 00 00 08 */ b lbl_801AA894 lbl_801AA890: /* 801AA890 001A77F0 38 A0 00 03 */ li r5, 3 lbl_801AA894: /* 801AA894 001A77F4 4B FF FE E5 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AA898 001A77F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA89C 001A77FC 7C 08 03 A6 */ mtlr r0 /* 801AA8A0 001A7800 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA8A4 001A7804 4E 80 00 20 */ blr .global PumpBeamModel__18CScriptPlayerActorFRC13CStateManager PumpBeamModel__18CScriptPlayerActorFRC13CStateManager: /* 801AA8A8 001A7808 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA8AC 001A780C 7C 08 02 A6 */ mflr r0 /* 801AA8B0 001A7810 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA8B4 001A7814 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA8B8 001A7818 7C 9F 23 78 */ mr r31, r4 /* 801AA8BC 001A781C 93 C1 00 08 */ stw r30, 8(r1) /* 801AA8C0 001A7820 7C 7E 1B 78 */ mr r30, r3 /* 801AA8C4 001A7824 80 83 03 1C */ lwz r4, 0x31c(r3) /* 801AA8C8 001A7828 28 04 00 00 */ cmplwi r4, 0 /* 801AA8CC 001A782C 41 82 00 64 */ beq lbl_801AA930 /* 801AA8D0 001A7830 80 84 00 00 */ lwz r4, 0(r4) /* 801AA8D4 001A7834 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AA8D8 001A7838 28 00 00 00 */ cmplwi r0, 0 /* 801AA8DC 001A783C 41 82 00 54 */ beq lbl_801AA930 /* 801AA8E0 001A7840 48 00 07 F1 */ bl BuildBeamModelData__18CScriptPlayerActorFv /* 801AA8E4 001A7844 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AA8E8 001A7848 7F E4 FB 78 */ mr r4, r31 /* 801AA8EC 001A784C 38 A0 00 00 */ li r5, 0 /* 801AA8F0 001A7850 4B F6 B4 21 */ bl Touch__10CModelDataCFRC13CStateManageri /* 801AA8F4 001A7854 80 7F 08 50 */ lwz r3, 0x850(r31) /* 801AA8F8 001A7858 4B EA B4 69 */ bl CyclePauseState__6CWorldFv /* 801AA8FC 001A785C 83 FE 03 1C */ lwz r31, 0x31c(r30) /* 801AA900 001A7860 28 1F 00 00 */ cmplwi r31, 0 /* 801AA904 001A7864 41 82 00 18 */ beq lbl_801AA91C /* 801AA908 001A7868 7F E3 FB 78 */ mr r3, r31 /* 801AA90C 001A786C 38 80 00 00 */ li r4, 0 /* 801AA910 001A7870 48 19 65 31 */ bl __dt__6CTokenFv /* 801AA914 001A7874 7F E3 FB 78 */ mr r3, r31 /* 801AA918 001A7878 48 16 B0 19 */ bl Free__7CMemoryFPCv lbl_801AA91C: /* 801AA91C 001A787C 38 60 00 00 */ li r3, 0 /* 801AA920 001A7880 90 7E 03 1C */ stw r3, 0x31c(r30) /* 801AA924 001A7884 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AA928 001A7888 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801AA92C 001A788C 98 1E 03 54 */ stb r0, 0x354(r30) lbl_801AA930: /* 801AA930 001A7890 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA934 001A7894 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA938 001A7898 83 C1 00 08 */ lwz r30, 8(r1) /* 801AA93C 001A789C 7C 08 03 A6 */ mtlr r0 /* 801AA940 001A78A0 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA944 001A78A4 4E 80 00 20 */ blr .global PumpSuitModel__18CScriptPlayerActorFRC13CStateManager PumpSuitModel__18CScriptPlayerActorFRC13CStateManager: /* 801AA948 001A78A8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AA94C 001A78AC 7C 08 02 A6 */ mflr r0 /* 801AA950 001A78B0 90 01 00 24 */ stw r0, 0x24(r1) /* 801AA954 001A78B4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AA958 001A78B8 7C 9F 23 78 */ mr r31, r4 /* 801AA95C 001A78BC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AA960 001A78C0 7C 7E 1B 78 */ mr r30, r3 /* 801AA964 001A78C4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AA968 001A78C8 83 A3 03 20 */ lwz r29, 0x320(r3) /* 801AA96C 001A78CC 28 1D 00 00 */ cmplwi r29, 0 /* 801AA970 001A78D0 41 82 01 68 */ beq lbl_801AAAD8 /* 801AA974 001A78D4 80 1D 00 08 */ lwz r0, 8(r29) /* 801AA978 001A78D8 28 00 00 00 */ cmplwi r0, 0 /* 801AA97C 001A78DC 41 82 00 0C */ beq lbl_801AA988 /* 801AA980 001A78E0 38 60 00 01 */ li r3, 1 /* 801AA984 001A78E4 48 00 00 3C */ b lbl_801AA9C0 lbl_801AA988: /* 801AA988 001A78E8 88 1D 00 04 */ lbz r0, 4(r29) /* 801AA98C 001A78EC 28 00 00 00 */ cmplwi r0, 0 /* 801AA990 001A78F0 41 82 00 2C */ beq lbl_801AA9BC /* 801AA994 001A78F4 80 7D 00 00 */ lwz r3, 0(r29) /* 801AA998 001A78F8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA99C 001A78FC 28 00 00 00 */ cmplwi r0, 0 /* 801AA9A0 001A7900 41 82 00 1C */ beq lbl_801AA9BC /* 801AA9A4 001A7904 7F A3 EB 78 */ mr r3, r29 /* 801AA9A8 001A7908 48 19 64 65 */ bl GetObj__6CTokenFv /* 801AA9AC 001A790C 80 03 00 04 */ lwz r0, 4(r3) /* 801AA9B0 001A7910 38 60 00 01 */ li r3, 1 /* 801AA9B4 001A7914 90 1D 00 08 */ stw r0, 8(r29) /* 801AA9B8 001A7918 48 00 00 08 */ b lbl_801AA9C0 lbl_801AA9BC: /* 801AA9BC 001A791C 38 60 00 00 */ li r3, 0 lbl_801AA9C0: /* 801AA9C0 001A7920 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA9C4 001A7924 41 82 01 14 */ beq lbl_801AAAD8 /* 801AA9C8 001A7928 80 7E 03 24 */ lwz r3, 0x324(r30) /* 801AA9CC 001A792C 80 63 00 00 */ lwz r3, 0(r3) /* 801AA9D0 001A7930 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA9D4 001A7934 28 00 00 00 */ cmplwi r0, 0 /* 801AA9D8 001A7938 41 82 01 00 */ beq lbl_801AAAD8 /* 801AA9DC 001A793C 80 BE 03 20 */ lwz r5, 0x320(r30) /* 801AA9E0 001A7940 38 80 00 00 */ li r4, 0 /* 801AA9E4 001A7944 80 05 00 08 */ lwz r0, 8(r5) /* 801AA9E8 001A7948 28 00 00 00 */ cmplwi r0, 0 /* 801AA9EC 001A794C 40 82 00 14 */ bne lbl_801AAA00 /* 801AA9F0 001A7950 80 65 00 00 */ lwz r3, 0(r5) /* 801AA9F4 001A7954 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA9F8 001A7958 28 00 00 00 */ cmplwi r0, 0 /* 801AA9FC 001A795C 41 82 00 08 */ beq lbl_801AAA04 lbl_801AAA00: /* 801AAA00 001A7960 38 80 00 01 */ li r4, 1 lbl_801AAA04: /* 801AAA04 001A7964 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AAA08 001A7968 41 82 00 D0 */ beq lbl_801AAAD8 /* 801AAA0C 001A796C 80 65 00 08 */ lwz r3, 8(r5) /* 801AAA10 001A7970 38 80 00 00 */ li r4, 0 /* 801AAA14 001A7974 48 1A AC 21 */ bl Touch__6CModelCFi /* 801AAA18 001A7978 80 7F 08 50 */ lwz r3, 0x850(r31) /* 801AAA1C 001A797C 4B EA B3 45 */ bl CyclePauseState__6CWorldFv /* 801AAA20 001A7980 88 9E 03 54 */ lbz r4, 0x354(r30) /* 801AAA24 001A7984 3B A0 00 00 */ li r29, 0 /* 801AAA28 001A7988 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 801AAA2C 001A798C 41 82 00 20 */ beq lbl_801AAA4C /* 801AAA30 001A7990 38 00 00 00 */ li r0, 0 /* 801AAA34 001A7994 7F C3 F3 78 */ mr r3, r30 /* 801AAA38 001A7998 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a /* 801AAA3C 001A799C 3B A0 00 01 */ li r29, 1 /* 801AAA40 001A79A0 98 9E 03 54 */ stb r4, 0x354(r30) /* 801AAA44 001A79A4 48 00 03 A1 */ bl SetupOfflineModelData__18CScriptPlayerActorFv /* 801AAA48 001A79A8 48 00 00 24 */ b lbl_801AAA6C lbl_801AAA4C: /* 801AAA4C 001A79AC 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f /* 801AAA50 001A79B0 41 82 00 1C */ beq lbl_801AAA6C /* 801AAA54 001A79B4 38 00 00 00 */ li r0, 0 /* 801AAA58 001A79B8 7F C3 F3 78 */ mr r3, r30 /* 801AAA5C 001A79BC 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 /* 801AAA60 001A79C0 3B A0 00 01 */ li r29, 1 /* 801AAA64 001A79C4 98 9E 03 54 */ stb r4, 0x354(r30) /* 801AAA68 001A79C8 48 00 04 E1 */ bl SetupOnlineModelData__18CScriptPlayerActorFv lbl_801AAA6C: /* 801AAA6C 001A79CC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801AAA70 001A79D0 41 82 00 68 */ beq lbl_801AAAD8 /* 801AAA74 001A79D4 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AAA78 001A79D8 38 60 00 00 */ li r3, 0 /* 801AAA7C 001A79DC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801AAA80 001A79E0 98 1E 03 54 */ stb r0, 0x354(r30) /* 801AAA84 001A79E4 83 FE 03 20 */ lwz r31, 0x320(r30) /* 801AAA88 001A79E8 28 1F 00 00 */ cmplwi r31, 0 /* 801AAA8C 001A79EC 41 82 00 1C */ beq lbl_801AAAA8 /* 801AAA90 001A79F0 41 82 00 10 */ beq lbl_801AAAA0 /* 801AAA94 001A79F4 7F E3 FB 78 */ mr r3, r31 /* 801AAA98 001A79F8 38 80 00 00 */ li r4, 0 /* 801AAA9C 001A79FC 48 19 63 A5 */ bl __dt__6CTokenFv lbl_801AAAA0: /* 801AAAA0 001A7A00 7F E3 FB 78 */ mr r3, r31 /* 801AAAA4 001A7A04 48 16 AE 8D */ bl Free__7CMemoryFPCv lbl_801AAAA8: /* 801AAAA8 001A7A08 38 00 00 00 */ li r0, 0 /* 801AAAAC 001A7A0C 90 1E 03 20 */ stw r0, 0x320(r30) /* 801AAAB0 001A7A10 83 FE 03 24 */ lwz r31, 0x324(r30) /* 801AAAB4 001A7A14 28 1F 00 00 */ cmplwi r31, 0 /* 801AAAB8 001A7A18 41 82 00 18 */ beq lbl_801AAAD0 /* 801AAABC 001A7A1C 7F E3 FB 78 */ mr r3, r31 /* 801AAAC0 001A7A20 38 80 00 00 */ li r4, 0 /* 801AAAC4 001A7A24 48 19 63 7D */ bl __dt__6CTokenFv /* 801AAAC8 001A7A28 7F E3 FB 78 */ mr r3, r31 /* 801AAACC 001A7A2C 48 16 AE 65 */ bl Free__7CMemoryFPCv lbl_801AAAD0: /* 801AAAD0 001A7A30 38 00 00 00 */ li r0, 0 /* 801AAAD4 001A7A34 90 1E 03 24 */ stw r0, 0x324(r30) lbl_801AAAD8: /* 801AAAD8 001A7A38 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AAADC 001A7A3C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AAAE0 001A7A40 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AAAE4 001A7A44 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AAAE8 001A7A48 7C 08 03 A6 */ mtlr r0 /* 801AAAEC 001A7A4C 38 21 00 20 */ addi r1, r1, 0x20 /* 801AAAF0 001A7A50 4E 80 00 20 */ blr .global LoadBeam__18CScriptPlayerActorF7EBeamId LoadBeam__18CScriptPlayerActorF7EBeamId: /* 801AAAF4 001A7A54 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AAAF8 001A7A58 7C 08 02 A6 */ mflr r0 /* 801AAAFC 001A7A5C 90 01 00 34 */ stw r0, 0x34(r1) /* 801AAB00 001A7A60 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801AAB04 001A7A64 7C 9D 23 78 */ mr r29, r4 /* 801AAB08 001A7A68 7C 7C 1B 78 */ mr r28, r3 /* 801AAB0C 001A7A6C 80 03 03 0C */ lwz r0, 0x30c(r3) /* 801AAB10 001A7A70 7C 1D 00 00 */ cmpw r29, r0 /* 801AAB14 001A7A74 41 82 00 C4 */ beq lbl_801AABD8 /* 801AAB18 001A7A78 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 801AAB1C 001A7A7C 48 00 16 F5 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId /* 801AAB20 001A7A80 3C 80 80 3D */ lis r4, lbl_803D14B8@ha /* 801AAB24 001A7A84 7C 7F 1B 78 */ mr r31, r3 /* 801AAB28 001A7A88 38 64 14 B8 */ addi r3, r4, lbl_803D14B8@l /* 801AAB2C 001A7A8C 3B 60 00 00 */ li r27, 0 /* 801AAB30 001A7A90 38 83 00 09 */ addi r4, r3, 9 /* 801AAB34 001A7A94 38 60 00 08 */ li r3, 8 /* 801AAB38 001A7A98 38 A0 00 00 */ li r5, 0 /* 801AAB3C 001A7A9C 48 16 AD 31 */ bl __nw__FUlPCcPCc /* 801AAB40 001A7AA0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AAB44 001A7AA4 41 82 00 40 */ beq lbl_801AAB84 /* 801AAB48 001A7AA8 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 801AAB4C 001A7AAC 93 E1 00 14 */ stw r31, 0x14(r1) /* 801AAB50 001A7AB0 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 801AAB54 001A7AB4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAB58 001A7AB8 90 01 00 10 */ stw r0, 0x10(r1) /* 801AAB5C 001A7ABC 38 61 00 08 */ addi r3, r1, 8 /* 801AAB60 001A7AC0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AAB64 001A7AC4 81 84 00 00 */ lwz r12, 0(r4) /* 801AAB68 001A7AC8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AAB6C 001A7ACC 7D 89 03 A6 */ mtctr r12 /* 801AAB70 001A7AD0 4E 80 04 21 */ bctrl /* 801AAB74 001A7AD4 7F C3 F3 78 */ mr r3, r30 /* 801AAB78 001A7AD8 38 81 00 08 */ addi r4, r1, 8 /* 801AAB7C 001A7ADC 3B 60 00 01 */ li r27, 1 /* 801AAB80 001A7AE0 48 19 63 29 */ bl __ct__6CTokenFRC6CToken lbl_801AAB84: /* 801AAB84 001A7AE4 83 FC 03 1C */ lwz r31, 0x31c(r28) /* 801AAB88 001A7AE8 28 1F 00 00 */ cmplwi r31, 0 /* 801AAB8C 001A7AEC 41 82 00 18 */ beq lbl_801AABA4 /* 801AAB90 001A7AF0 7F E3 FB 78 */ mr r3, r31 /* 801AAB94 001A7AF4 38 80 00 00 */ li r4, 0 /* 801AAB98 001A7AF8 48 19 62 A9 */ bl __dt__6CTokenFv /* 801AAB9C 001A7AFC 7F E3 FB 78 */ mr r3, r31 /* 801AABA0 001A7B00 48 16 AD 91 */ bl Free__7CMemoryFPCv lbl_801AABA4: /* 801AABA4 001A7B04 7F 60 07 75 */ extsb. r0, r27 /* 801AABA8 001A7B08 93 DC 03 1C */ stw r30, 0x31c(r28) /* 801AABAC 001A7B0C 41 82 00 10 */ beq lbl_801AABBC /* 801AABB0 001A7B10 38 61 00 08 */ addi r3, r1, 8 /* 801AABB4 001A7B14 38 80 FF FF */ li r4, -1 /* 801AABB8 001A7B18 48 19 62 89 */ bl __dt__6CTokenFv lbl_801AABBC: /* 801AABBC 001A7B1C 80 7C 03 1C */ lwz r3, 0x31c(r28) /* 801AABC0 001A7B20 48 19 61 C5 */ bl Lock__6CTokenFv /* 801AABC4 001A7B24 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AABC8 001A7B28 38 60 00 01 */ li r3, 1 /* 801AABCC 001A7B2C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801AABD0 001A7B30 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AABD4 001A7B34 93 BC 03 0C */ stw r29, 0x30c(r28) lbl_801AABD8: /* 801AABD8 001A7B38 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801AABDC 001A7B3C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AABE0 001A7B40 7C 08 03 A6 */ mtlr r0 /* 801AABE4 001A7B44 38 21 00 30 */ addi r1, r1, 0x30 /* 801AABE8 001A7B48 4E 80 00 20 */ blr .global LoadSuit__18CScriptPlayerActorFUi LoadSuit__18CScriptPlayerActorFUi: /* 801AABEC 001A7B4C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801AABF0 001A7B50 7C 08 02 A6 */ mflr r0 /* 801AABF4 001A7B54 90 01 00 64 */ stw r0, 0x64(r1) /* 801AABF8 001A7B58 BF 41 00 48 */ stmw r26, 0x48(r1) /* 801AABFC 001A7B5C 7C 9F 23 78 */ mr r31, r4 /* 801AAC00 001A7B60 7C 7E 1B 78 */ mr r30, r3 /* 801AAC04 001A7B64 80 03 03 10 */ lwz r0, 0x310(r3) /* 801AAC08 001A7B68 7C 1F 00 00 */ cmpw r31, r0 /* 801AAC0C 001A7B6C 41 82 01 C4 */ beq lbl_801AADD0 /* 801AAC10 001A7B70 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13) /* 801AAC14 001A7B74 38 61 00 28 */ addi r3, r1, 0x28 /* 801AAC18 001A7B78 38 BE 02 E8 */ addi r5, r30, 0x2e8 /* 801AAC1C 001A7B7C 4B E8 9C 9D */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes /* 801AAC20 001A7B80 3B 61 00 30 */ addi r27, r1, 0x30 /* 801AAC24 001A7B84 38 81 00 28 */ addi r4, r1, 0x28 /* 801AAC28 001A7B88 7F 63 DB 78 */ mr r3, r27 /* 801AAC2C 001A7B8C 48 19 62 7D */ bl __ct__6CTokenFRC6CToken /* 801AAC30 001A7B90 7F 63 DB 78 */ mr r3, r27 /* 801AAC34 001A7B94 48 19 61 D9 */ bl GetObj__6CTokenFv /* 801AAC38 001A7B98 80 03 00 04 */ lwz r0, 4(r3) /* 801AAC3C 001A7B9C 38 61 00 28 */ addi r3, r1, 0x28 /* 801AAC40 001A7BA0 38 80 00 00 */ li r4, 0 /* 801AAC44 001A7BA4 90 01 00 38 */ stw r0, 0x38(r1) /* 801AAC48 001A7BA8 48 19 61 F9 */ bl __dt__6CTokenFv /* 801AAC4C 001A7BAC 80 61 00 38 */ lwz r3, 0x38(r1) /* 801AAC50 001A7BB0 7F E4 FB 78 */ mr r4, r31 /* 801AAC54 001A7BB4 4B E8 76 F1 */ bl sub_80032344 /* 801AAC58 001A7BB8 3C 80 80 3D */ lis r4, lbl_803D14B8@ha /* 801AAC5C 001A7BBC 7C 7D 1B 78 */ mr r29, r3 /* 801AAC60 001A7BC0 38 64 14 B8 */ addi r3, r4, lbl_803D14B8@l /* 801AAC64 001A7BC4 3B 40 00 00 */ li r26, 0 /* 801AAC68 001A7BC8 38 83 00 09 */ addi r4, r3, 9 /* 801AAC6C 001A7BCC 38 60 00 0C */ li r3, 0xc /* 801AAC70 001A7BD0 38 A0 00 00 */ li r5, 0 /* 801AAC74 001A7BD4 48 16 AB F9 */ bl __nw__FUlPCcPCc /* 801AAC78 001A7BD8 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AAC7C 001A7BDC 41 82 00 4C */ beq lbl_801AACC8 /* 801AAC80 001A7BE0 80 DD 00 14 */ lwz r6, 0x14(r29) /* 801AAC84 001A7BE4 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 801AAC88 001A7BE8 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 801AAC8C 001A7BEC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAC90 001A7BF0 90 01 00 20 */ stw r0, 0x20(r1) /* 801AAC94 001A7BF4 38 61 00 18 */ addi r3, r1, 0x18 /* 801AAC98 001A7BF8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801AAC9C 001A7BFC 90 C1 00 24 */ stw r6, 0x24(r1) /* 801AACA0 001A7C00 81 84 00 00 */ lwz r12, 0(r4) /* 801AACA4 001A7C04 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AACA8 001A7C08 7D 89 03 A6 */ mtctr r12 /* 801AACAC 001A7C0C 4E 80 04 21 */ bctrl /* 801AACB0 001A7C10 7F 83 E3 78 */ mr r3, r28 /* 801AACB4 001A7C14 38 81 00 18 */ addi r4, r1, 0x18 /* 801AACB8 001A7C18 3B 40 00 01 */ li r26, 1 /* 801AACBC 001A7C1C 48 19 61 ED */ bl __ct__6CTokenFRC6CToken /* 801AACC0 001A7C20 38 00 00 00 */ li r0, 0 /* 801AACC4 001A7C24 90 1C 00 08 */ stw r0, 8(r28) lbl_801AACC8: /* 801AACC8 001A7C28 83 7E 03 20 */ lwz r27, 0x320(r30) /* 801AACCC 001A7C2C 28 1B 00 00 */ cmplwi r27, 0 /* 801AACD0 001A7C30 41 82 00 1C */ beq lbl_801AACEC /* 801AACD4 001A7C34 41 82 00 10 */ beq lbl_801AACE4 /* 801AACD8 001A7C38 7F 63 DB 78 */ mr r3, r27 /* 801AACDC 001A7C3C 38 80 00 00 */ li r4, 0 /* 801AACE0 001A7C40 48 19 61 61 */ bl __dt__6CTokenFv lbl_801AACE4: /* 801AACE4 001A7C44 7F 63 DB 78 */ mr r3, r27 /* 801AACE8 001A7C48 48 16 AC 49 */ bl Free__7CMemoryFPCv lbl_801AACEC: /* 801AACEC 001A7C4C 7F 40 07 75 */ extsb. r0, r26 /* 801AACF0 001A7C50 93 9E 03 20 */ stw r28, 0x320(r30) /* 801AACF4 001A7C54 41 82 00 10 */ beq lbl_801AAD04 /* 801AACF8 001A7C58 38 61 00 18 */ addi r3, r1, 0x18 /* 801AACFC 001A7C5C 38 80 FF FF */ li r4, -1 /* 801AAD00 001A7C60 48 19 61 41 */ bl __dt__6CTokenFv lbl_801AAD04: /* 801AAD04 001A7C64 80 7E 03 20 */ lwz r3, 0x320(r30) /* 801AAD08 001A7C68 48 19 60 7D */ bl Lock__6CTokenFv /* 801AAD0C 001A7C6C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AAD10 001A7C70 3B 40 00 00 */ li r26, 0 /* 801AAD14 001A7C74 38 83 14 B8 */ addi r4, r3, lbl_803D14B8@l /* 801AAD18 001A7C78 38 60 00 08 */ li r3, 8 /* 801AAD1C 001A7C7C 38 84 00 09 */ addi r4, r4, 9 /* 801AAD20 001A7C80 38 A0 00 00 */ li r5, 0 /* 801AAD24 001A7C84 48 16 AB 49 */ bl __nw__FUlPCcPCc /* 801AAD28 001A7C88 7C 7B 1B 79 */ or. r27, r3, r3 /* 801AAD2C 001A7C8C 41 82 00 44 */ beq lbl_801AAD70 /* 801AAD30 001A7C90 80 DD 00 18 */ lwz r6, 0x18(r29) /* 801AAD34 001A7C94 3C 60 43 53 */ lis r3, 0x43534B52@ha /* 801AAD38 001A7C98 38 03 4B 52 */ addi r0, r3, 0x43534B52@l /* 801AAD3C 001A7C9C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAD40 001A7CA0 90 01 00 10 */ stw r0, 0x10(r1) /* 801AAD44 001A7CA4 38 61 00 08 */ addi r3, r1, 8 /* 801AAD48 001A7CA8 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AAD4C 001A7CAC 90 C1 00 14 */ stw r6, 0x14(r1) /* 801AAD50 001A7CB0 81 84 00 00 */ lwz r12, 0(r4) /* 801AAD54 001A7CB4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AAD58 001A7CB8 7D 89 03 A6 */ mtctr r12 /* 801AAD5C 001A7CBC 4E 80 04 21 */ bctrl /* 801AAD60 001A7CC0 7F 63 DB 78 */ mr r3, r27 /* 801AAD64 001A7CC4 38 81 00 08 */ addi r4, r1, 8 /* 801AAD68 001A7CC8 3B 40 00 01 */ li r26, 1 /* 801AAD6C 001A7CCC 48 19 61 3D */ bl __ct__6CTokenFRC6CToken lbl_801AAD70: /* 801AAD70 001A7CD0 83 9E 03 24 */ lwz r28, 0x324(r30) /* 801AAD74 001A7CD4 28 1C 00 00 */ cmplwi r28, 0 /* 801AAD78 001A7CD8 41 82 00 18 */ beq lbl_801AAD90 /* 801AAD7C 001A7CDC 7F 83 E3 78 */ mr r3, r28 /* 801AAD80 001A7CE0 38 80 00 00 */ li r4, 0 /* 801AAD84 001A7CE4 48 19 60 BD */ bl __dt__6CTokenFv /* 801AAD88 001A7CE8 7F 83 E3 78 */ mr r3, r28 /* 801AAD8C 001A7CEC 48 16 AB A5 */ bl Free__7CMemoryFPCv lbl_801AAD90: /* 801AAD90 001A7CF0 7F 40 07 75 */ extsb. r0, r26 /* 801AAD94 001A7CF4 93 7E 03 24 */ stw r27, 0x324(r30) /* 801AAD98 001A7CF8 41 82 00 10 */ beq lbl_801AADA8 /* 801AAD9C 001A7CFC 38 61 00 08 */ addi r3, r1, 8 /* 801AADA0 001A7D00 38 80 FF FF */ li r4, -1 /* 801AADA4 001A7D04 48 19 60 9D */ bl __dt__6CTokenFv lbl_801AADA8: /* 801AADA8 001A7D08 80 7E 03 24 */ lwz r3, 0x324(r30) /* 801AADAC 001A7D0C 48 19 5F D9 */ bl Lock__6CTokenFv /* 801AADB0 001A7D10 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AADB4 001A7D14 38 60 00 01 */ li r3, 1 /* 801AADB8 001A7D18 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801AADBC 001A7D1C 38 61 00 30 */ addi r3, r1, 0x30 /* 801AADC0 001A7D20 98 1E 03 54 */ stb r0, 0x354(r30) /* 801AADC4 001A7D24 38 80 00 00 */ li r4, 0 /* 801AADC8 001A7D28 93 FE 03 10 */ stw r31, 0x310(r30) /* 801AADCC 001A7D2C 48 19 60 75 */ bl __dt__6CTokenFv lbl_801AADD0: /* 801AADD0 001A7D30 BB 41 00 48 */ lmw r26, 0x48(r1) /* 801AADD4 001A7D34 80 01 00 64 */ lwz r0, 0x64(r1) /* 801AADD8 001A7D38 7C 08 03 A6 */ mtlr r0 /* 801AADDC 001A7D3C 38 21 00 60 */ addi r1, r1, 0x60 /* 801AADE0 001A7D40 4E 80 00 20 */ blr .global SetupOfflineModelData__18CScriptPlayerActorFv SetupOfflineModelData__18CScriptPlayerActorFv: /* 801AADE4 001A7D44 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801AADE8 001A7D48 7C 08 02 A6 */ mflr r0 /* 801AADEC 001A7D4C 38 A0 00 00 */ li r5, 0 /* 801AADF0 001A7D50 90 01 00 44 */ stw r0, 0x44(r1) /* 801AADF4 001A7D54 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801AADF8 001A7D58 7C 7F 1B 78 */ mr r31, r3 /* 801AADFC 001A7D5C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AAE00 001A7D60 93 C1 00 38 */ stw r30, 0x38(r1) /* 801AAE04 001A7D64 38 63 14 B8 */ addi r3, r3, lbl_803D14B8@l /* 801AAE08 001A7D68 38 83 00 09 */ addi r4, r3, 9 /* 801AAE0C 001A7D6C 93 A1 00 34 */ stw r29, 0x34(r1) /* 801AAE10 001A7D70 38 60 00 4C */ li r3, 0x4c /* 801AAE14 001A7D74 89 3F 02 FC */ lbz r9, 0x2fc(r31) /* 801AAE18 001A7D78 81 5F 03 00 */ lwz r10, 0x300(r31) /* 801AAE1C 001A7D7C 81 1F 02 E8 */ lwz r8, 0x2e8(r31) /* 801AAE20 001A7D80 80 FF 03 10 */ lwz r7, 0x310(r31) /* 801AAE24 001A7D84 C0 5F 02 F0 */ lfs f2, 0x2f0(r31) /* 801AAE28 001A7D88 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801AAE2C 001A7D8C C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801AAE30 001A7D90 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801AAE34 001A7D94 91 1F 02 E8 */ stw r8, 0x2e8(r31) /* 801AAE38 001A7D98 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AAE3C 001A7D9C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801AAE40 001A7DA0 90 FF 02 EC */ stw r7, 0x2ec(r31) /* 801AAE44 001A7DA4 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801AAE48 001A7DA8 90 1F 02 F0 */ stw r0, 0x2f0(r31) /* 801AAE4C 001A7DAC D0 01 00 18 */ stfs f0, 0x18(r1) /* 801AAE50 001A7DB0 80 01 00 18 */ lwz r0, 0x18(r1) /* 801AAE54 001A7DB4 90 DF 02 F4 */ stw r6, 0x2f4(r31) /* 801AAE58 001A7DB8 90 1F 02 F8 */ stw r0, 0x2f8(r31) /* 801AAE5C 001A7DBC 99 3F 02 FC */ stb r9, 0x2fc(r31) /* 801AAE60 001A7DC0 91 01 00 08 */ stw r8, 8(r1) /* 801AAE64 001A7DC4 90 E1 00 0C */ stw r7, 0xc(r1) /* 801AAE68 001A7DC8 99 21 00 1C */ stb r9, 0x1c(r1) /* 801AAE6C 001A7DCC 91 41 00 20 */ stw r10, 0x20(r1) /* 801AAE70 001A7DD0 91 5F 03 00 */ stw r10, 0x300(r31) /* 801AAE74 001A7DD4 48 16 A9 F9 */ bl __nw__FUlPCcPCc /* 801AAE78 001A7DD8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AAE7C 001A7DDC 41 82 00 10 */ beq lbl_801AAE8C /* 801AAE80 001A7DE0 38 9F 02 E8 */ addi r4, r31, 0x2e8 /* 801AAE84 001A7DE4 4B F6 BC D1 */ bl __ct__10CModelDataFRC8CAnimRes /* 801AAE88 001A7DE8 7C 7E 1B 78 */ mr r30, r3 lbl_801AAE8C: /* 801AAE8C 001A7DEC 80 7F 03 18 */ lwz r3, 0x318(r31) /* 801AAE90 001A7DF0 38 80 00 01 */ li r4, 1 /* 801AAE94 001A7DF4 4B F6 BB B9 */ bl __dt__10CModelDataFv /* 801AAE98 001A7DF8 93 DF 03 18 */ stw r30, 0x318(r31) /* 801AAE9C 001A7DFC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 801AAEA0 001A7E00 88 03 01 60 */ lbz r0, 0x160(r3) /* 801AAEA4 001A7E04 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801AAEA8 001A7E08 40 82 00 6C */ bne lbl_801AAF14 /* 801AAEAC 001A7E0C 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801AAEB0 001A7E10 88 1F 03 34 */ lbz r0, 0x334(r31) /* 801AAEB4 001A7E14 80 63 00 10 */ lwz r3, 0x10(r3) /* 801AAEB8 001A7E18 28 00 00 00 */ cmplwi r0, 0 /* 801AAEBC 001A7E1C 3B A3 00 D8 */ addi r29, r3, 0xd8 /* 801AAEC0 001A7E20 40 82 00 34 */ bne lbl_801AAEF4 /* 801AAEC4 001A7E24 37 DF 03 28 */ addic. r30, r31, 0x328 /* 801AAEC8 001A7E28 41 82 00 20 */ beq lbl_801AAEE8 /* 801AAECC 001A7E2C 7F C3 F3 78 */ mr r3, r30 /* 801AAED0 001A7E30 7F A4 EB 78 */ mr r4, r29 /* 801AAED4 001A7E34 48 19 5F D5 */ bl __ct__6CTokenFRC6CToken /* 801AAED8 001A7E38 80 1D 00 08 */ lwz r0, 8(r29) /* 801AAEDC 001A7E3C 7F C3 F3 78 */ mr r3, r30 /* 801AAEE0 001A7E40 90 1E 00 08 */ stw r0, 8(r30) /* 801AAEE4 001A7E44 48 19 5E A1 */ bl Lock__6CTokenFv lbl_801AAEE8: /* 801AAEE8 001A7E48 38 00 00 01 */ li r0, 1 /* 801AAEEC 001A7E4C 98 1F 03 34 */ stb r0, 0x334(r31) /* 801AAEF0 001A7E50 48 00 00 1C */ b lbl_801AAF0C lbl_801AAEF4: /* 801AAEF4 001A7E54 3B DF 03 28 */ addi r30, r31, 0x328 /* 801AAEF8 001A7E58 7F A4 EB 78 */ mr r4, r29 /* 801AAEFC 001A7E5C 7F C3 F3 78 */ mr r3, r30 /* 801AAF00 001A7E60 48 19 5D C5 */ bl __as__6CTokenFRC6CToken /* 801AAF04 001A7E64 80 1D 00 08 */ lwz r0, 8(r29) /* 801AAF08 001A7E68 90 1E 00 08 */ stw r0, 8(r30) lbl_801AAF0C: /* 801AAF0C 001A7E6C 38 00 00 02 */ li r0, 2 /* 801AAF10 001A7E70 90 1F 03 48 */ stw r0, 0x348(r31) lbl_801AAF14: /* 801AAF14 001A7E74 80 7F 03 18 */ lwz r3, 0x318(r31) /* 801AAF18 001A7E78 80 BF 00 64 */ lwz r5, 0x64(r31) /* 801AAF1C 001A7E7C 80 83 00 10 */ lwz r4, 0x10(r3) /* 801AAF20 001A7E80 80 65 00 10 */ lwz r3, 0x10(r5) /* 801AAF24 001A7E84 38 84 00 D8 */ addi r4, r4, 0xd8 /* 801AAF28 001A7E88 4B E8 31 75 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" /* 801AAF2C 001A7E8C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801AAF30 001A7E90 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801AAF34 001A7E94 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801AAF38 001A7E98 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801AAF3C 001A7E9C 7C 08 03 A6 */ mtlr r0 /* 801AAF40 001A7EA0 38 21 00 40 */ addi r1, r1, 0x40 /* 801AAF44 001A7EA4 4E 80 00 20 */ blr .global SetupOnlineModelData__18CScriptPlayerActorFv SetupOnlineModelData__18CScriptPlayerActorFv: /* 801AAF48 001A7EA8 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801AAF4C 001A7EAC 7C 08 02 A6 */ mflr r0 /* 801AAF50 001A7EB0 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801AAF54 001A7EB4 93 E1 00 EC */ stw r31, 0xec(r1) /* 801AAF58 001A7EB8 7C 7F 1B 78 */ mr r31, r3 /* 801AAF5C 001A7EBC 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801AAF60 001A7EC0 81 23 03 10 */ lwz r9, 0x310(r3) /* 801AAF64 001A7EC4 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 801AAF68 001A7EC8 7C 09 00 00 */ cmpw r9, r0 /* 801AAF6C 001A7ECC 40 82 00 44 */ bne lbl_801AAFB0 /* 801AAF70 001A7ED0 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801AAF74 001A7ED4 38 60 00 00 */ li r3, 0 /* 801AAF78 001A7ED8 28 04 00 00 */ cmplwi r4, 0 /* 801AAF7C 001A7EDC 41 82 00 20 */ beq lbl_801AAF9C /* 801AAF80 001A7EE0 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AAF84 001A7EE4 28 00 00 00 */ cmplwi r0, 0 /* 801AAF88 001A7EE8 40 82 00 10 */ bne lbl_801AAF98 /* 801AAF8C 001A7EEC 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AAF90 001A7EF0 28 00 00 00 */ cmplwi r0, 0 /* 801AAF94 001A7EF4 41 82 00 08 */ beq lbl_801AAF9C lbl_801AAF98: /* 801AAF98 001A7EF8 38 60 00 01 */ li r3, 1 lbl_801AAF9C: /* 801AAF9C 001A7EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AAFA0 001A7F00 41 82 00 10 */ beq lbl_801AAFB0 /* 801AAFA4 001A7F04 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AAFA8 001A7F08 28 00 00 00 */ cmplwi r0, 0 /* 801AAFAC 001A7F0C 40 82 01 0C */ bne lbl_801AB0B8 lbl_801AAFB0: /* 801AAFB0 001A7F10 88 FF 02 FC */ lbz r7, 0x2fc(r31) /* 801AAFB4 001A7F14 38 61 00 94 */ addi r3, r1, 0x94 /* 801AAFB8 001A7F18 81 1F 03 00 */ lwz r8, 0x300(r31) /* 801AAFBC 001A7F1C 38 9F 02 E8 */ addi r4, r31, 0x2e8 /* 801AAFC0 001A7F20 80 DF 02 E8 */ lwz r6, 0x2e8(r31) /* 801AAFC4 001A7F24 C0 5F 02 F0 */ lfs f2, 0x2f0(r31) /* 801AAFC8 001A7F28 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801AAFCC 001A7F2C C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801AAFD0 001A7F30 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801AAFD4 001A7F34 90 DF 02 E8 */ stw r6, 0x2e8(r31) /* 801AAFD8 001A7F38 80 01 00 28 */ lwz r0, 0x28(r1) /* 801AAFDC 001A7F3C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801AAFE0 001A7F40 91 3F 02 EC */ stw r9, 0x2ec(r31) /* 801AAFE4 001A7F44 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801AAFE8 001A7F48 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801AAFEC 001A7F4C 90 1F 02 F0 */ stw r0, 0x2f0(r31) /* 801AAFF0 001A7F50 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AAFF4 001A7F54 90 BF 02 F4 */ stw r5, 0x2f4(r31) /* 801AAFF8 001A7F58 90 1F 02 F8 */ stw r0, 0x2f8(r31) /* 801AAFFC 001A7F5C 98 FF 02 FC */ stb r7, 0x2fc(r31) /* 801AB000 001A7F60 90 C1 00 20 */ stw r6, 0x20(r1) /* 801AB004 001A7F64 91 21 00 24 */ stw r9, 0x24(r1) /* 801AB008 001A7F68 98 E1 00 34 */ stb r7, 0x34(r1) /* 801AB00C 001A7F6C 91 01 00 38 */ stw r8, 0x38(r1) /* 801AB010 001A7F70 91 1F 03 00 */ stw r8, 0x300(r31) /* 801AB014 001A7F74 4B F6 BB 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 801AB018 001A7F78 7F E3 FB 78 */ mr r3, r31 /* 801AB01C 001A7F7C 38 81 00 94 */ addi r4, r1, 0x94 /* 801AB020 001A7F80 4B EA A0 11 */ bl SetModelData__6CActorFRC10CModelData /* 801AB024 001A7F84 80 9F 03 00 */ lwz r4, 0x300(r31) /* 801AB028 001A7F88 38 00 00 00 */ li r0, 0 /* 801AB02C 001A7F8C C0 02 A8 44 */ lfs f0, lbl_805AC564@sda21(r2) /* 801AB030 001A7F90 38 C0 FF FF */ li r6, -1 /* 801AB034 001A7F94 38 60 00 01 */ li r3, 1 /* 801AB038 001A7F98 90 81 00 6C */ stw r4, 0x6c(r1) /* 801AB03C 001A7F9C 38 81 00 6C */ addi r4, r1, 0x6c /* 801AB040 001A7FA0 38 A0 00 00 */ li r5, 0 /* 801AB044 001A7FA4 90 C1 00 70 */ stw r6, 0x70(r1) /* 801AB048 001A7FA8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801AB04C 001A7FAC 98 61 00 78 */ stb r3, 0x78(r1) /* 801AB050 001A7FB0 90 01 00 7C */ stw r0, 0x7c(r1) /* 801AB054 001A7FB4 90 01 00 80 */ stw r0, 0x80(r1) /* 801AB058 001A7FB8 98 01 00 84 */ stb r0, 0x84(r1) /* 801AB05C 001A7FBC 90 01 00 88 */ stw r0, 0x88(r1) /* 801AB060 001A7FC0 90 01 00 8C */ stw r0, 0x8c(r1) /* 801AB064 001A7FC4 90 01 00 90 */ stw r0, 0x90(r1) /* 801AB068 001A7FC8 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801AB06C 001A7FCC 80 63 00 10 */ lwz r3, 0x10(r3) /* 801AB070 001A7FD0 4B E8 1D 0D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801AB074 001A7FD4 88 1F 03 54 */ lbz r0, 0x354(r31) /* 801AB078 001A7FD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB07C 001A7FDC 41 82 00 30 */ beq lbl_801AB0AC /* 801AB080 001A7FE0 83 DF 00 64 */ lwz r30, 0x64(r31) /* 801AB084 001A7FE4 38 61 00 3C */ addi r3, r1, 0x3c /* 801AB088 001A7FE8 38 9F 00 34 */ addi r4, r31, 0x34 /* 801AB08C 001A7FEC 48 16 7B B5 */ bl GetRotation__12CTransform4fCFv /* 801AB090 001A7FF0 7F C4 F3 78 */ mr r4, r30 /* 801AB094 001A7FF4 38 61 00 08 */ addi r3, r1, 8 /* 801AB098 001A7FF8 38 A1 00 3C */ addi r5, r1, 0x3c /* 801AB09C 001A7FFC 4B F6 A7 19 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 801AB0A0 001A8000 7F E3 FB 78 */ mr r3, r31 /* 801AB0A4 001A8004 38 81 00 08 */ addi r4, r1, 8 /* 801AB0A8 001A8008 4B F6 F5 B1 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox lbl_801AB0AC: /* 801AB0AC 001A800C 38 61 00 94 */ addi r3, r1, 0x94 /* 801AB0B0 001A8010 38 80 FF FF */ li r4, -1 /* 801AB0B4 001A8014 4B F6 B9 99 */ bl __dt__10CModelDataFv lbl_801AB0B8: /* 801AB0B8 001A8018 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801AB0BC 001A801C 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801AB0C0 001A8020 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801AB0C4 001A8024 7C 08 03 A6 */ mtlr r0 /* 801AB0C8 001A8028 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801AB0CC 001A802C 4E 80 00 20 */ blr .global BuildBeamModelData__18CScriptPlayerActorFv BuildBeamModelData__18CScriptPlayerActorFv: /* 801AB0D0 001A8030 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB0D4 001A8034 7C 08 02 A6 */ mflr r0 /* 801AB0D8 001A8038 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB0DC 001A803C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB0E0 001A8040 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB0E4 001A8044 7C 7E 1B 78 */ mr r30, r3 /* 801AB0E8 001A8048 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 801AB0EC 001A804C 80 9E 03 0C */ lwz r4, 0x30c(r30) /* 801AB0F0 001A8050 48 00 11 21 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId /* 801AB0F4 001A8054 90 61 00 08 */ stw r3, 8(r1) /* 801AB0F8 001A8058 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AB0FC 001A805C 38 83 14 B8 */ addi r4, r3, lbl_803D14B8@l /* 801AB100 001A8060 38 60 00 4C */ li r3, 0x4c /* 801AB104 001A8064 C0 1E 02 F0 */ lfs f0, 0x2f0(r30) /* 801AB108 001A8068 38 84 00 09 */ addi r4, r4, 9 /* 801AB10C 001A806C 38 A0 00 00 */ li r5, 0 /* 801AB110 001A8070 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801AB114 001A8074 C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801AB118 001A8078 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801AB11C 001A807C C0 1E 02 F8 */ lfs f0, 0x2f8(r30) /* 801AB120 001A8080 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801AB124 001A8084 48 16 A7 49 */ bl __nw__FUlPCcPCc /* 801AB128 001A8088 7C 7F 1B 79 */ or. r31, r3, r3 /* 801AB12C 001A808C 41 82 00 10 */ beq lbl_801AB13C /* 801AB130 001A8090 38 81 00 08 */ addi r4, r1, 8 /* 801AB134 001A8094 4B F6 BC 29 */ bl __ct__10CModelDataFRC10CStaticRes /* 801AB138 001A8098 7C 7F 1B 78 */ mr r31, r3 lbl_801AB13C: /* 801AB13C 001A809C 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AB140 001A80A0 38 80 00 01 */ li r4, 1 /* 801AB144 001A80A4 4B F6 B9 09 */ bl __dt__10CModelDataFv /* 801AB148 001A80A8 93 FE 03 14 */ stw r31, 0x314(r30) /* 801AB14C 001A80AC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB150 001A80B0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB154 001A80B4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB158 001A80B8 7C 08 03 A6 */ mtlr r0 /* 801AB15C 001A80BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB160 001A80C0 4E 80 00 20 */ blr .global AddToRenderer__18CScriptPlayerActorCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__18CScriptPlayerActorCFRC14CFrustumPlanesRC13CStateManager: /* 801AB164 001A80C4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB168 001A80C8 7C 08 02 A6 */ mflr r0 /* 801AB16C 001A80CC 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB170 001A80D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB174 001A80D4 7C BF 2B 78 */ mr r31, r5 /* 801AB178 001A80D8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB17C 001A80DC 7C 9E 23 78 */ mr r30, r4 /* 801AB180 001A80E0 7F E4 FB 78 */ mr r4, r31 /* 801AB184 001A80E4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AB188 001A80E8 7C 7D 1B 78 */ mr r29, r3 /* 801AB18C 001A80EC 48 00 00 3D */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB190 001A80F0 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801AB194 001A80F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB198 001A80F8 41 82 00 14 */ beq lbl_801AB1AC /* 801AB19C 001A80FC 7F A3 EB 78 */ mr r3, r29 /* 801AB1A0 001A8100 7F C4 F3 78 */ mr r4, r30 /* 801AB1A4 001A8104 7F E5 FB 78 */ mr r5, r31 /* 801AB1A8 001A8108 4B EA 99 91 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager lbl_801AB1AC: /* 801AB1AC 001A810C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB1B0 001A8110 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB1B4 001A8114 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB1B8 001A8118 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AB1BC 001A811C 7C 08 03 A6 */ mtlr r0 /* 801AB1C0 001A8120 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB1C4 001A8124 4E 80 00 20 */ blr .global TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager: /* 801AB1C8 001A8128 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AB1CC 001A812C 7C 08 02 A6 */ mflr r0 /* 801AB1D0 001A8130 90 01 00 14 */ stw r0, 0x14(r1) /* 801AB1D4 001A8134 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AB1D8 001A8138 7C 9F 23 78 */ mr r31, r4 /* 801AB1DC 001A813C 38 80 00 00 */ li r4, 0 /* 801AB1E0 001A8140 93 C1 00 08 */ stw r30, 8(r1) /* 801AB1E4 001A8144 7C 7E 1B 78 */ mr r30, r3 /* 801AB1E8 001A8148 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AB1EC 001A814C 28 03 00 00 */ cmplwi r3, 0 /* 801AB1F0 001A8150 41 82 00 20 */ beq lbl_801AB210 /* 801AB1F4 001A8154 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB1F8 001A8158 28 00 00 00 */ cmplwi r0, 0 /* 801AB1FC 001A815C 40 82 00 10 */ bne lbl_801AB20C /* 801AB200 001A8160 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB204 001A8164 28 00 00 00 */ cmplwi r0, 0 /* 801AB208 001A8168 41 82 00 08 */ beq lbl_801AB210 lbl_801AB20C: /* 801AB20C 001A816C 38 80 00 01 */ li r4, 1 lbl_801AB210: /* 801AB210 001A8170 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB214 001A8174 41 82 00 10 */ beq lbl_801AB224 /* 801AB218 001A8178 7F E4 FB 78 */ mr r4, r31 /* 801AB21C 001A817C 38 A0 00 00 */ li r5, 0 /* 801AB220 001A8180 4B F6 AA F1 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB224: /* 801AB224 001A8184 80 7E 03 18 */ lwz r3, 0x318(r30) /* 801AB228 001A8188 38 80 00 00 */ li r4, 0 /* 801AB22C 001A818C 28 03 00 00 */ cmplwi r3, 0 /* 801AB230 001A8190 41 82 00 20 */ beq lbl_801AB250 /* 801AB234 001A8194 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB238 001A8198 28 00 00 00 */ cmplwi r0, 0 /* 801AB23C 001A819C 40 82 00 10 */ bne lbl_801AB24C /* 801AB240 001A81A0 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB244 001A81A4 28 00 00 00 */ cmplwi r0, 0 /* 801AB248 001A81A8 41 82 00 08 */ beq lbl_801AB250 lbl_801AB24C: /* 801AB24C 001A81AC 38 80 00 01 */ li r4, 1 lbl_801AB250: /* 801AB250 001A81B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB254 001A81B4 41 82 00 10 */ beq lbl_801AB264 /* 801AB258 001A81B8 7F E4 FB 78 */ mr r4, r31 /* 801AB25C 001A81BC 38 A0 00 00 */ li r5, 0 /* 801AB260 001A81C0 4B F6 AA B1 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB264: /* 801AB264 001A81C4 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AB268 001A81C8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801AB26C 001A81CC 40 82 00 44 */ bne lbl_801AB2B0 /* 801AB270 001A81D0 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AB274 001A81D4 38 80 00 00 */ li r4, 0 /* 801AB278 001A81D8 28 03 00 00 */ cmplwi r3, 0 /* 801AB27C 001A81DC 41 82 00 20 */ beq lbl_801AB29C /* 801AB280 001A81E0 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB284 001A81E4 28 00 00 00 */ cmplwi r0, 0 /* 801AB288 001A81E8 40 82 00 10 */ bne lbl_801AB298 /* 801AB28C 001A81EC 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB290 001A81F0 28 00 00 00 */ cmplwi r0, 0 /* 801AB294 001A81F4 41 82 00 08 */ beq lbl_801AB29C lbl_801AB298: /* 801AB298 001A81F8 38 80 00 01 */ li r4, 1 lbl_801AB29C: /* 801AB29C 001A81FC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB2A0 001A8200 41 82 00 10 */ beq lbl_801AB2B0 /* 801AB2A4 001A8204 7F E4 FB 78 */ mr r4, r31 /* 801AB2A8 001A8208 38 A0 00 00 */ li r5, 0 /* 801AB2AC 001A820C 4B F6 AA 65 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB2B0: /* 801AB2B0 001A8210 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AB2B4 001A8214 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AB2B8 001A8218 83 C1 00 08 */ lwz r30, 8(r1) /* 801AB2BC 001A821C 7C 08 03 A6 */ mtlr r0 /* 801AB2C0 001A8220 38 21 00 10 */ addi r1, r1, 0x10 /* 801AB2C4 001A8224 4E 80 00 20 */ blr .global TouchModels__18CScriptPlayerActorFRC13CStateManager TouchModels__18CScriptPlayerActorFRC13CStateManager: /* 801AB2C8 001A8228 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB2CC 001A822C 7C 08 02 A6 */ mflr r0 /* 801AB2D0 001A8230 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB2D4 001A8234 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB2D8 001A8238 7C 7F 1B 78 */ mr r31, r3 /* 801AB2DC 001A823C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB2E0 001A8240 7C 9E 23 78 */ mr r30, r4 /* 801AB2E4 001A8244 4B FF FE E5 */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB2E8 001A8248 A0 1F 03 56 */ lhz r0, 0x356(r31) /* 801AB2EC 001A824C B0 01 00 0C */ sth r0, 0xc(r1) /* 801AB2F0 001A8250 48 00 00 5C */ b lbl_801AB34C lbl_801AB2F4: /* 801AB2F4 001A8254 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801AB2F8 001A8258 7F C3 F3 78 */ mr r3, r30 /* 801AB2FC 001A825C 38 81 00 08 */ addi r4, r1, 8 /* 801AB300 001A8260 B0 01 00 08 */ sth r0, 8(r1) /* 801AB304 001A8264 4B EA 12 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AB308 001A8268 7C 64 1B 78 */ mr r4, r3 /* 801AB30C 001A826C 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB310 001A8270 4B F0 0A 5D */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" /* 801AB314 001A8274 83 E3 00 04 */ lwz r31, 4(r3) /* 801AB318 001A8278 28 1F 00 00 */ cmplwi r31, 0 /* 801AB31C 001A827C 41 82 00 28 */ beq lbl_801AB344 /* 801AB320 001A8280 88 1F 02 E3 */ lbz r0, 0x2e3(r31) /* 801AB324 001A8284 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB328 001A8288 41 82 00 1C */ beq lbl_801AB344 /* 801AB32C 001A828C 7F E3 FB 78 */ mr r3, r31 /* 801AB330 001A8290 7F C4 F3 78 */ mr r4, r30 /* 801AB334 001A8294 4B FF FE 95 */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB338 001A8298 A0 1F 03 56 */ lhz r0, 0x356(r31) /* 801AB33C 001A829C B0 01 00 0C */ sth r0, 0xc(r1) /* 801AB340 001A82A0 48 00 00 0C */ b lbl_801AB34C lbl_801AB344: /* 801AB344 001A82A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AB348 001A82A8 B0 01 00 0C */ sth r0, 0xc(r1) lbl_801AB34C: /* 801AB34C 001A82AC A0 61 00 0C */ lhz r3, 0xc(r1) /* 801AB350 001A82B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AB354 001A82B4 7C 03 00 40 */ cmplw r3, r0 /* 801AB358 001A82B8 40 82 FF 9C */ bne lbl_801AB2F4 /* 801AB35C 001A82BC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB360 001A82C0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB364 001A82C4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB368 001A82C8 7C 08 03 A6 */ mtlr r0 /* 801AB36C 001A82CC 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB370 001A82D0 4E 80 00 20 */ blr .global Render__18CScriptPlayerActorCFRC13CStateManager Render__18CScriptPlayerActorCFRC13CStateManager: /* 801AB374 001A82D4 94 21 FE 80 */ stwu r1, -0x180(r1) /* 801AB378 001A82D8 7C 08 02 A6 */ mflr r0 /* 801AB37C 001A82DC 90 01 01 84 */ stw r0, 0x184(r1) /* 801AB380 001A82E0 DB E1 01 70 */ stfd f31, 0x170(r1) /* 801AB384 001A82E4 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 801AB388 001A82E8 DB C1 01 60 */ stfd f30, 0x160(r1) /* 801AB38C 001A82EC F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 801AB390 001A82F0 DB A1 01 50 */ stfd f29, 0x150(r1) /* 801AB394 001A82F4 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 /* 801AB398 001A82F8 BF 61 01 3C */ stmw r27, 0x13c(r1) /* 801AB39C 001A82FC 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 801AB3A0 001A8300 7C 7D 1B 78 */ mr r29, r3 /* 801AB3A4 001A8304 7C 9E 23 78 */ mr r30, r4 /* 801AB3A8 001A8308 20 00 00 03 */ subfic r0, r0, 3 /* 801AB3AC 001A830C 7C 03 00 34 */ cntlzw r3, r0 /* 801AB3B0 001A8310 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f /* 801AB3B4 001A8314 54 7F D9 7E */ srwi r31, r3, 5 /* 801AB3B8 001A8318 41 82 00 10 */ beq lbl_801AB3C8 /* 801AB3BC 001A831C 38 60 00 01 */ li r3, 1 /* 801AB3C0 001A8320 38 80 00 FF */ li r4, 0xff /* 801AB3C4 001A8324 48 1D 0D 1D */ bl GXSetDstAlpha lbl_801AB3C8: /* 801AB3C8 001A8328 7F A3 EB 78 */ mr r3, r29 /* 801AB3CC 001A832C 7F C4 F3 78 */ mr r4, r30 /* 801AB3D0 001A8330 4B F6 F1 19 */ bl Render__13CPhysicsActorCFRC13CStateManager /* 801AB3D4 001A8334 80 9D 03 14 */ lwz r4, 0x314(r29) /* 801AB3D8 001A8338 38 60 00 00 */ li r3, 0 /* 801AB3DC 001A833C 28 04 00 00 */ cmplwi r4, 0 /* 801AB3E0 001A8340 41 82 00 20 */ beq lbl_801AB400 /* 801AB3E4 001A8344 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AB3E8 001A8348 28 00 00 00 */ cmplwi r0, 0 /* 801AB3EC 001A834C 40 82 00 10 */ bne lbl_801AB3FC /* 801AB3F0 001A8350 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AB3F4 001A8354 28 00 00 00 */ cmplwi r0, 0 /* 801AB3F8 001A8358 41 82 00 08 */ beq lbl_801AB400 lbl_801AB3FC: /* 801AB3FC 001A835C 38 60 00 01 */ li r3, 1 lbl_801AB400: /* 801AB400 001A8360 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB404 001A8364 41 82 01 04 */ beq lbl_801AB508 /* 801AB408 001A8368 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801AB40C 001A836C 38 60 00 00 */ li r3, 0 /* 801AB410 001A8370 28 04 00 00 */ cmplwi r4, 0 /* 801AB414 001A8374 41 82 00 20 */ beq lbl_801AB434 /* 801AB418 001A8378 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AB41C 001A837C 28 00 00 00 */ cmplwi r0, 0 /* 801AB420 001A8380 40 82 00 10 */ bne lbl_801AB430 /* 801AB424 001A8384 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AB428 001A8388 28 00 00 00 */ cmplwi r0, 0 /* 801AB42C 001A838C 41 82 00 08 */ beq lbl_801AB434 lbl_801AB430: /* 801AB430 001A8390 38 60 00 01 */ li r3, 1 lbl_801AB434: /* 801AB434 001A8394 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB438 001A8398 41 82 00 D0 */ beq lbl_801AB508 /* 801AB43C 001A839C 80 82 A8 38 */ lwz r4, lbl_805AC558@sda21(r2) /* 801AB440 001A83A0 38 61 00 44 */ addi r3, r1, 0x44 /* 801AB444 001A83A4 4B E5 98 75 */ bl string_l__4rstlFPCc /* 801AB448 001A83A8 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801AB44C 001A83AC 38 61 00 9C */ addi r3, r1, 0x9c /* 801AB450 001A83B0 38 A1 00 44 */ addi r5, r1, 0x44 /* 801AB454 001A83B4 4B F6 A5 4D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AB458 001A83B8 38 61 00 FC */ addi r3, r1, 0xfc /* 801AB45C 001A83BC 38 81 00 9C */ addi r4, r1, 0x9c /* 801AB460 001A83C0 48 16 77 15 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801AB464 001A83C4 38 61 00 44 */ addi r3, r1, 0x44 /* 801AB468 001A83C8 48 19 26 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AB46C 001A83CC 38 61 00 6C */ addi r3, r1, 0x6c /* 801AB470 001A83D0 38 9D 00 34 */ addi r4, r29, 0x34 /* 801AB474 001A83D4 38 A1 00 FC */ addi r5, r1, 0xfc /* 801AB478 001A83D8 48 16 74 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801AB47C 001A83DC 38 61 00 CC */ addi r3, r1, 0xcc /* 801AB480 001A83E0 38 81 00 6C */ addi r4, r1, 0x6c /* 801AB484 001A83E4 48 16 76 F1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801AB488 001A83E8 83 9D 03 14 */ lwz r28, 0x314(r29) /* 801AB48C 001A83EC 83 7D 00 90 */ lwz r27, 0x90(r29) /* 801AB490 001A83F0 E0 9D A0 BB */ psq_l f4, 187(r29), 1, qr2 /* 801AB494 001A83F4 38 A0 00 05 */ li r5, 5 /* 801AB498 001A83F8 C0 22 A8 44 */ lfs f1, lbl_805AC564@sda21(r2) /* 801AB49C 001A83FC 38 80 00 00 */ li r4, 0 /* 801AB4A0 001A8400 C0 02 A8 48 */ lfs f0, lbl_805AC568@sda21(r2) /* 801AB4A4 001A8404 38 00 00 03 */ li r0, 3 /* 801AB4A8 001A8408 FC 40 08 90 */ fmr f2, f1 /* 801AB4AC 001A840C 98 A1 00 10 */ stb r5, 0x10(r1) /* 801AB4B0 001A8410 FC 60 08 90 */ fmr f3, f1 /* 801AB4B4 001A8414 38 61 00 14 */ addi r3, r1, 0x14 /* 801AB4B8 001A8418 EC 80 01 32 */ fmuls f4, f0, f4 /* 801AB4BC 001A841C 98 81 00 11 */ stb r4, 0x11(r1) /* 801AB4C0 001A8420 B0 01 00 12 */ sth r0, 0x12(r1) /* 801AB4C4 001A8424 48 1B 7F 29 */ bl __ct__6CColorFffff /* 801AB4C8 001A8428 A0 01 00 12 */ lhz r0, 0x12(r1) /* 801AB4CC 001A842C 7F 83 E3 78 */ mr r3, r28 /* 801AB4D0 001A8430 88 A1 00 10 */ lbz r5, 0x10(r1) /* 801AB4D4 001A8434 7F C4 F3 78 */ mr r4, r30 /* 801AB4D8 001A8438 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d /* 801AB4DC 001A843C 88 E1 00 11 */ lbz r7, 0x11(r1) /* 801AB4E0 001A8440 60 08 00 03 */ ori r8, r0, 3 /* 801AB4E4 001A8444 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AB4E8 001A8448 98 A1 00 18 */ stb r5, 0x18(r1) /* 801AB4EC 001A844C 7F 66 DB 78 */ mr r6, r27 /* 801AB4F0 001A8450 38 A1 00 CC */ addi r5, r1, 0xcc /* 801AB4F4 001A8454 98 E1 00 19 */ stb r7, 0x19(r1) /* 801AB4F8 001A8458 38 E1 00 18 */ addi r7, r1, 0x18 /* 801AB4FC 001A845C B1 01 00 1A */ sth r8, 0x1a(r1) /* 801AB500 001A8460 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AB504 001A8464 4B F6 98 B9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_801AB508: /* 801AB508 001A8468 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AB50C 001A846C 41 82 01 1C */ beq lbl_801AB628 /* 801AB510 001A8470 83 6D A0 68 */ lwz r27, gpRender@sda21(r13) /* 801AB514 001A8474 38 80 00 01 */ li r4, 1 /* 801AB518 001A8478 80 CD A8 28 */ lwz r6, lbl_805A93E8@sda21(r13) /* 801AB51C 001A847C 38 A0 00 01 */ li r5, 1 /* 801AB520 001A8480 7F 63 DB 78 */ mr r3, r27 /* 801AB524 001A8484 38 E0 00 04 */ li r7, 4 /* 801AB528 001A8488 39 00 00 00 */ li r8, 0 /* 801AB52C 001A848C 48 10 BE 21 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb /* 801AB530 001A8490 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801AB534 001A8494 7F C4 F3 78 */ mr r4, r30 /* 801AB538 001A8498 4B E6 05 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 801AB53C 001A849C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801AB540 001A84A0 7F A4 EB 78 */ mr r4, r29 /* 801AB544 001A84A4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801AB548 001A84A8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801AB54C 001A84AC 38 61 00 54 */ addi r3, r1, 0x54 /* 801AB550 001A84B0 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801AB554 001A84B4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801AB558 001A84B8 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801AB55C 001A84BC 4B F6 F3 D1 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801AB560 001A84C0 38 61 00 2C */ addi r3, r1, 0x2c /* 801AB564 001A84C4 38 81 00 54 */ addi r4, r1, 0x54 /* 801AB568 001A84C8 48 18 C0 A5 */ bl GetCenterPoint__6CAABoxCFv /* 801AB56C 001A84CC C0 21 00 30 */ lfs f1, 0x30(r1) /* 801AB570 001A84D0 38 61 00 38 */ addi r3, r1, 0x38 /* 801AB574 001A84D4 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801AB578 001A84D8 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801AB57C 001A84DC C0 41 00 28 */ lfs f2, 0x28(r1) /* 801AB580 001A84E0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801AB584 001A84E4 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801AB588 001A84E8 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801AB58C 001A84EC EC 43 10 28 */ fsubs f2, f3, f2 /* 801AB590 001A84F0 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801AB594 001A84F4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801AB598 001A84F8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801AB59C 001A84FC D0 01 00 38 */ stfs f0, 0x38(r1) /* 801AB5A0 001A8500 48 16 93 19 */ bl Magnitude__9CVector3fCFv /* 801AB5A4 001A8504 C0 42 A8 4C */ lfs f2, lbl_805AC56C@sda21(r2) /* 801AB5A8 001A8508 38 81 00 0C */ addi r4, r1, 0xc /* 801AB5AC 001A850C 38 6D 90 78 */ addi r3, r13, lbl_805A7C38@sda21 /* 801AB5B0 001A8510 38 AD 90 7C */ addi r5, r13, lbl_805A7C3C@sda21 /* 801AB5B4 001A8514 EC 02 08 28 */ fsubs f0, f2, f1 /* 801AB5B8 001A8518 EC 00 10 24 */ fdivs f0, f0, f2 /* 801AB5BC 001A851C D0 01 00 0C */ stfs f0, 0xc(r1) /* 801AB5C0 001A8520 4B E6 0C F5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801AB5C4 001A8524 C3 A3 00 00 */ lfs f29, 0(r3) /* 801AB5C8 001A8528 48 19 E9 E5 */ bl White__6CColorFv /* 801AB5CC 001A852C C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801AB5D0 001A8530 7C 7E 1B 78 */ mr r30, r3 /* 801AB5D4 001A8534 48 16 98 1D */ bl FastSinR__5CMathFf /* 801AB5D8 001A8538 C0 02 A8 58 */ lfs f0, lbl_805AC578@sda21(r2) /* 801AB5DC 001A853C EF C0 00 72 */ fmuls f30, f0, f1 /* 801AB5E0 001A8540 C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801AB5E4 001A8544 48 16 98 0D */ bl FastSinR__5CMathFf /* 801AB5E8 001A8548 FF E0 08 90 */ fmr f31, f1 /* 801AB5EC 001A854C C0 22 A8 50 */ lfs f1, lbl_805AC570@sda21(r2) /* 801AB5F0 001A8550 C0 82 A8 44 */ lfs f4, lbl_805AC564@sda21(r2) /* 801AB5F4 001A8554 38 61 00 08 */ addi r3, r1, 8 /* 801AB5F8 001A8558 FC 40 08 90 */ fmr f2, f1 /* 801AB5FC 001A855C FC 60 08 90 */ fmr f3, f1 /* 801AB600 001A8560 48 1B 7D ED */ bl __ct__6CColorFffff /* 801AB604 001A8564 FC 20 E8 90 */ fmr f1, f29 /* 801AB608 001A8568 7C 64 1B 78 */ mr r4, r3 /* 801AB60C 001A856C FC 60 F8 90 */ fmr f3, f31 /* 801AB610 001A8570 C0 42 A8 54 */ lfs f2, lbl_805AC574@sda21(r2) /* 801AB614 001A8574 FC 80 F0 90 */ fmr f4, f30 /* 801AB618 001A8578 7F 63 DB 78 */ mr r3, r27 /* 801AB61C 001A857C 7F C6 F3 78 */ mr r6, r30 /* 801AB620 001A8580 38 BD 03 38 */ addi r5, r29, 0x338 /* 801AB624 001A8584 48 10 A9 FD */ bl "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" lbl_801AB628: /* 801AB628 001A8588 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 801AB62C 001A858C CB E1 01 70 */ lfd f31, 0x170(r1) /* 801AB630 001A8590 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 801AB634 001A8594 CB C1 01 60 */ lfd f30, 0x160(r1) /* 801AB638 001A8598 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 /* 801AB63C 001A859C CB A1 01 50 */ lfd f29, 0x150(r1) /* 801AB640 001A85A0 BB 61 01 3C */ lmw r27, 0x13c(r1) /* 801AB644 001A85A4 80 01 01 84 */ lwz r0, 0x184(r1) /* 801AB648 001A85A8 7C 08 03 A6 */ mtlr r0 /* 801AB64C 001A85AC 38 21 01 80 */ addi r1, r1, 0x180 /* 801AB650 001A85B0 4E 80 00 20 */ blr .global Think__18CScriptPlayerActorFfR13CStateManager Think__18CScriptPlayerActorFfR13CStateManager: /* 801AB654 001A85B4 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801AB658 001A85B8 7C 08 02 A6 */ mflr r0 /* 801AB65C 001A85BC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801AB660 001A85C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801AB664 001A85C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801AB668 001A85C8 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801AB66C 001A85CC 93 C1 00 98 */ stw r30, 0x98(r1) /* 801AB670 001A85D0 93 A1 00 94 */ stw r29, 0x94(r1) /* 801AB674 001A85D4 93 81 00 90 */ stw r28, 0x90(r1) /* 801AB678 001A85D8 88 C3 03 54 */ lbz r6, 0x354(r3) /* 801AB67C 001A85DC FF E0 08 90 */ fmr f31, f1 /* 801AB680 001A85E0 80 A4 08 B8 */ lwz r5, 0x8b8(r4) /* 801AB684 001A85E4 7C 7D 1B 78 */ mr r29, r3 /* 801AB688 001A85E8 54 C0 07 FF */ clrlwi. r0, r6, 0x1f /* 801AB68C 001A85EC 7C 9E 23 78 */ mr r30, r4 /* 801AB690 001A85F0 83 E5 00 00 */ lwz r31, 0(r5) /* 801AB694 001A85F4 41 82 00 3C */ beq lbl_801AB6D0 /* 801AB698 001A85F8 38 00 00 01 */ li r0, 1 /* 801AB69C 001A85FC 38 A0 00 00 */ li r5, 0 /* 801AB6A0 001A8600 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 /* 801AB6A4 001A8604 98 DD 03 54 */ stb r6, 0x354(r29) /* 801AB6A8 001A8608 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB6AC 001A860C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 801AB6B0 001A8610 98 1D 03 54 */ stb r0, 0x354(r29) /* 801AB6B4 001A8614 80 1F 00 20 */ lwz r0, 0x20(r31) /* 801AB6B8 001A8618 90 1D 03 08 */ stw r0, 0x308(r29) /* 801AB6BC 001A861C 80 BD 03 08 */ lwz r5, 0x308(r29) /* 801AB6C0 001A8620 4B FF F0 B9 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AB6C4 001A8624 7C 64 1B 78 */ mr r4, r3 /* 801AB6C8 001A8628 7F A3 EB 78 */ mr r3, r29 /* 801AB6CC 001A862C 4B FF F5 21 */ bl LoadSuit__18CScriptPlayerActorFUi lbl_801AB6D0: /* 801AB6D0 001A8630 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB6D4 001A8634 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801AB6D8 001A8638 41 82 01 F8 */ beq lbl_801AB8D0 /* 801AB6DC 001A863C 80 1D 03 50 */ lwz r0, 0x350(r29) /* 801AB6E0 001A8640 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801AB6E4 001A8644 40 82 00 60 */ bne lbl_801AB744 /* 801AB6E8 001A8648 80 BF 00 20 */ lwz r5, 0x20(r31) /* 801AB6EC 001A864C 7F A3 EB 78 */ mr r3, r29 /* 801AB6F0 001A8650 7F C4 F3 78 */ mr r4, r30 /* 801AB6F4 001A8654 4B FF F0 85 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AB6F8 001A8658 80 1D 03 10 */ lwz r0, 0x310(r29) /* 801AB6FC 001A865C 7C 7C 1B 78 */ mr r28, r3 /* 801AB700 001A8660 7C 1C 00 00 */ cmpw r28, r0 /* 801AB704 001A8664 41 82 00 40 */ beq lbl_801AB744 /* 801AB708 001A8668 38 61 00 34 */ addi r3, r1, 0x34 /* 801AB70C 001A866C 4B E8 F0 99 */ bl CModelDataNull__10CModelDataFv /* 801AB710 001A8670 7F A3 EB 78 */ mr r3, r29 /* 801AB714 001A8674 38 81 00 34 */ addi r4, r1, 0x34 /* 801AB718 001A8678 4B EA 99 19 */ bl SetModelData__6CActorFRC10CModelData /* 801AB71C 001A867C 38 61 00 34 */ addi r3, r1, 0x34 /* 801AB720 001A8680 38 80 FF FF */ li r4, -1 /* 801AB724 001A8684 4B F6 B3 29 */ bl __dt__10CModelDataFv /* 801AB728 001A8688 7F A3 EB 78 */ mr r3, r29 /* 801AB72C 001A868C 7F 84 E3 78 */ mr r4, r28 /* 801AB730 001A8690 4B FF F4 BD */ bl LoadSuit__18CScriptPlayerActorFUi /* 801AB734 001A8694 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB738 001A8698 38 60 00 01 */ li r3, 1 /* 801AB73C 001A869C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801AB740 001A86A0 98 1D 03 54 */ stb r0, 0x354(r29) lbl_801AB744: /* 801AB744 001A86A4 80 9D 03 04 */ lwz r4, 0x304(r29) /* 801AB748 001A86A8 7F A3 EB 78 */ mr r3, r29 /* 801AB74C 001A86AC 2C 04 FF FF */ cmpwi r4, -1 /* 801AB750 001A86B0 41 82 00 08 */ beq lbl_801AB758 /* 801AB754 001A86B4 48 00 00 08 */ b lbl_801AB75C lbl_801AB758: /* 801AB758 001A86B8 80 9F 00 08 */ lwz r4, 8(r31) lbl_801AB75C: /* 801AB75C 001A86BC 4B FF F3 99 */ bl LoadBeam__18CScriptPlayerActorF7EBeamId /* 801AB760 001A86C0 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB764 001A86C4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801AB768 001A86C8 41 82 00 10 */ beq lbl_801AB778 /* 801AB76C 001A86CC 7F A3 EB 78 */ mr r3, r29 /* 801AB770 001A86D0 7F C4 F3 78 */ mr r4, r30 /* 801AB774 001A86D4 4B FF F1 35 */ bl PumpBeamModel__18CScriptPlayerActorFRC13CStateManager lbl_801AB778: /* 801AB778 001A86D8 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB77C 001A86DC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801AB780 001A86E0 41 82 00 10 */ beq lbl_801AB790 /* 801AB784 001A86E4 7F A3 EB 78 */ mr r3, r29 /* 801AB788 001A86E8 7F C4 F3 78 */ mr r4, r30 /* 801AB78C 001A86EC 4B FF F1 BD */ bl PumpSuitModel__18CScriptPlayerActorFRC13CStateManager lbl_801AB790: /* 801AB790 001A86F0 88 7D 03 54 */ lbz r3, 0x354(r29) /* 801AB794 001A86F4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801AB798 001A86F8 40 82 00 68 */ bne lbl_801AB800 /* 801AB79C 001A86FC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801AB7A0 001A8700 40 82 00 50 */ bne lbl_801AB7F0 /* 801AB7A4 001A8704 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801AB7A8 001A8708 40 82 00 48 */ bne lbl_801AB7F0 /* 801AB7AC 001A870C 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801AB7B0 001A8710 38 80 00 00 */ li r4, 0 /* 801AB7B4 001A8714 28 03 00 00 */ cmplwi r3, 0 /* 801AB7B8 001A8718 41 82 00 20 */ beq lbl_801AB7D8 /* 801AB7BC 001A871C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB7C0 001A8720 28 00 00 00 */ cmplwi r0, 0 /* 801AB7C4 001A8724 40 82 00 10 */ bne lbl_801AB7D4 /* 801AB7C8 001A8728 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB7CC 001A872C 28 00 00 00 */ cmplwi r0, 0 /* 801AB7D0 001A8730 41 82 00 08 */ beq lbl_801AB7D8 lbl_801AB7D4: /* 801AB7D4 001A8734 38 80 00 01 */ li r4, 1 lbl_801AB7D8: /* 801AB7D8 001A8738 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB7DC 001A873C 41 82 00 14 */ beq lbl_801AB7F0 /* 801AB7E0 001A8740 38 80 00 00 */ li r4, 0 /* 801AB7E4 001A8744 4B F6 94 A1 */ bl IsLoaded__10CModelDataCFi /* 801AB7E8 001A8748 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB7EC 001A874C 40 82 00 14 */ bne lbl_801AB800 lbl_801AB7F0: /* 801AB7F0 001A8750 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB7F4 001A8754 38 60 00 01 */ li r3, 1 /* 801AB7F8 001A8758 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AB7FC 001A875C 98 1D 03 54 */ stb r0, 0x354(r29) lbl_801AB800: /* 801AB800 001A8760 88 7D 03 54 */ lbz r3, 0x354(r29) /* 801AB804 001A8764 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801AB808 001A8768 41 82 00 C8 */ beq lbl_801AB8D0 /* 801AB80C 001A876C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801AB810 001A8770 40 82 00 C0 */ bne lbl_801AB8D0 /* 801AB814 001A8774 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801AB818 001A8778 40 82 00 B8 */ bne lbl_801AB8D0 /* 801AB81C 001A877C 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801AB820 001A8780 38 80 00 00 */ li r4, 0 /* 801AB824 001A8784 28 03 00 00 */ cmplwi r3, 0 /* 801AB828 001A8788 41 82 00 20 */ beq lbl_801AB848 /* 801AB82C 001A878C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB830 001A8790 28 00 00 00 */ cmplwi r0, 0 /* 801AB834 001A8794 40 82 00 10 */ bne lbl_801AB844 /* 801AB838 001A8798 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB83C 001A879C 28 00 00 00 */ cmplwi r0, 0 /* 801AB840 001A87A0 41 82 00 08 */ beq lbl_801AB848 lbl_801AB844: /* 801AB844 001A87A4 38 80 00 01 */ li r4, 1 lbl_801AB848: /* 801AB848 001A87A8 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB84C 001A87AC 41 82 00 84 */ beq lbl_801AB8D0 /* 801AB850 001A87B0 38 80 00 00 */ li r4, 0 /* 801AB854 001A87B4 4B F6 94 31 */ bl IsLoaded__10CModelDataCFi /* 801AB858 001A87B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB85C 001A87BC 41 82 00 74 */ beq lbl_801AB8D0 /* 801AB860 001A87C0 88 1D 03 55 */ lbz r0, 0x355(r29) /* 801AB864 001A87C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB868 001A87C8 41 82 00 44 */ beq lbl_801AB8AC /* 801AB86C 001A87CC 80 DD 00 04 */ lwz r6, 4(r29) /* 801AB870 001A87D0 38 60 00 00 */ li r3, 0 /* 801AB874 001A87D4 80 BE 08 50 */ lwz r5, 0x850(r30) /* 801AB878 001A87D8 54 C4 18 38 */ slwi r4, r6, 3 /* 801AB87C 001A87DC 90 C1 00 0C */ stw r6, 0xc(r1) /* 801AB880 001A87E0 80 A5 00 20 */ lwz r5, 0x20(r5) /* 801AB884 001A87E4 38 04 00 04 */ addi r0, r4, 4 /* 801AB888 001A87E8 90 C1 00 08 */ stw r6, 8(r1) /* 801AB88C 001A87EC 7C 85 00 2E */ lwzx r4, r5, r0 /* 801AB890 001A87F0 80 A4 01 2C */ lwz r5, 0x12c(r4) /* 801AB894 001A87F4 80 85 11 3C */ lwz r4, 0x113c(r5) /* 801AB898 001A87F8 38 04 FF FF */ addi r0, r4, -1 /* 801AB89C 001A87FC 90 05 11 3C */ stw r0, 0x113c(r5) /* 801AB8A0 001A8800 88 1D 03 55 */ lbz r0, 0x355(r29) /* 801AB8A4 001A8804 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801AB8A8 001A8808 98 1D 03 55 */ stb r0, 0x355(r29) lbl_801AB8AC: /* 801AB8AC 001A880C 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB8B0 001A8810 38 60 00 00 */ li r3, 0 /* 801AB8B4 001A8814 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AB8B8 001A8818 7F A3 EB 78 */ mr r3, r29 /* 801AB8BC 001A881C 98 1D 03 54 */ stb r0, 0x354(r29) /* 801AB8C0 001A8820 7F C5 F3 78 */ mr r5, r30 /* 801AB8C4 001A8824 38 80 00 01 */ li r4, 1 /* 801AB8C8 001A8828 38 C0 FF FF */ li r6, -1 /* 801AB8CC 001A882C 4B EA 57 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801AB8D0: /* 801AB8D0 001A8830 80 1D 02 EC */ lwz r0, 0x2ec(r29) /* 801AB8D4 001A8834 2C 00 00 03 */ cmpwi r0, 3 /* 801AB8D8 001A8838 40 82 00 B8 */ bne lbl_801AB990 /* 801AB8DC 001A883C 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB8E0 001A8840 28 00 00 00 */ cmplwi r0, 0 /* 801AB8E4 001A8844 40 82 01 74 */ bne lbl_801ABA58 /* 801AB8E8 001A8848 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AB8EC 001A884C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AB8F0 001A8850 38 A3 14 B8 */ addi r5, r3, lbl_803D14B8@l /* 801AB8F4 001A8854 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB8F8 001A8858 81 84 00 00 */ lwz r12, 0(r4) /* 801AB8FC 001A885C 38 A5 00 10 */ addi r5, r5, 0x10 /* 801AB900 001A8860 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801AB904 001A8864 7D 89 03 A6 */ mtctr r12 /* 801AB908 001A8868 4E 80 04 21 */ bctrl /* 801AB90C 001A886C 38 61 00 28 */ addi r3, r1, 0x28 /* 801AB910 001A8870 38 81 00 10 */ addi r4, r1, 0x10 /* 801AB914 001A8874 48 19 55 95 */ bl __ct__6CTokenFRC6CToken /* 801AB918 001A8878 38 00 00 00 */ li r0, 0 /* 801AB91C 001A887C 90 01 00 30 */ stw r0, 0x30(r1) /* 801AB920 001A8880 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB924 001A8884 28 00 00 00 */ cmplwi r0, 0 /* 801AB928 001A8888 40 82 00 2C */ bne lbl_801AB954 /* 801AB92C 001A888C 37 FD 03 38 */ addic. r31, r29, 0x338 /* 801AB930 001A8890 41 82 00 18 */ beq lbl_801AB948 /* 801AB934 001A8894 7F E3 FB 78 */ mr r3, r31 /* 801AB938 001A8898 38 81 00 28 */ addi r4, r1, 0x28 /* 801AB93C 001A889C 48 19 55 6D */ bl __ct__6CTokenFRC6CToken /* 801AB940 001A88A0 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AB944 001A88A4 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB948: /* 801AB948 001A88A8 38 00 00 01 */ li r0, 1 /* 801AB94C 001A88AC 98 1D 03 44 */ stb r0, 0x344(r29) /* 801AB950 001A88B0 48 00 00 1C */ b lbl_801AB96C lbl_801AB954: /* 801AB954 001A88B4 3B FD 03 38 */ addi r31, r29, 0x338 /* 801AB958 001A88B8 38 81 00 28 */ addi r4, r1, 0x28 /* 801AB95C 001A88BC 7F E3 FB 78 */ mr r3, r31 /* 801AB960 001A88C0 48 19 53 65 */ bl __as__6CTokenFRC6CToken /* 801AB964 001A88C4 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AB968 001A88C8 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB96C: /* 801AB96C 001A88CC 38 61 00 28 */ addi r3, r1, 0x28 /* 801AB970 001A88D0 38 80 00 00 */ li r4, 0 /* 801AB974 001A88D4 48 19 54 CD */ bl __dt__6CTokenFv /* 801AB978 001A88D8 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB97C 001A88DC 38 80 FF FF */ li r4, -1 /* 801AB980 001A88E0 48 19 54 C1 */ bl __dt__6CTokenFv /* 801AB984 001A88E4 38 7D 03 38 */ addi r3, r29, 0x338 /* 801AB988 001A88E8 48 19 53 FD */ bl Lock__6CTokenFv /* 801AB98C 001A88EC 48 00 00 CC */ b lbl_801ABA58 lbl_801AB990: /* 801AB990 001A88F0 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB994 001A88F4 28 00 00 00 */ cmplwi r0, 0 /* 801AB998 001A88F8 41 82 00 C0 */ beq lbl_801ABA58 /* 801AB99C 001A88FC 3B FD 03 38 */ addi r31, r29, 0x338 /* 801AB9A0 001A8900 38 81 00 18 */ addi r4, r1, 0x18 /* 801AB9A4 001A8904 38 00 00 00 */ li r0, 0 /* 801AB9A8 001A8908 7C 1F 20 40 */ cmplw r31, r4 /* 801AB9AC 001A890C 98 01 00 24 */ stb r0, 0x24(r1) /* 801AB9B0 001A8910 41 82 00 7C */ beq lbl_801ABA2C /* 801AB9B4 001A8914 28 00 00 00 */ cmplwi r0, 0 /* 801AB9B8 001A8918 41 82 00 48 */ beq lbl_801ABA00 /* 801AB9BC 001A891C 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB9C0 001A8920 28 00 00 00 */ cmplwi r0, 0 /* 801AB9C4 001A8924 40 82 00 28 */ bne lbl_801AB9EC /* 801AB9C8 001A8928 37 FD 03 38 */ addic. r31, r29, 0x338 /* 801AB9CC 001A892C 41 82 00 14 */ beq lbl_801AB9E0 /* 801AB9D0 001A8930 7F E3 FB 78 */ mr r3, r31 /* 801AB9D4 001A8934 48 19 54 D5 */ bl __ct__6CTokenFRC6CToken /* 801AB9D8 001A8938 80 01 00 20 */ lwz r0, 0x20(r1) /* 801AB9DC 001A893C 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB9E0: /* 801AB9E0 001A8940 38 00 00 01 */ li r0, 1 /* 801AB9E4 001A8944 98 1D 03 44 */ stb r0, 0x344(r29) /* 801AB9E8 001A8948 48 00 00 44 */ b lbl_801ABA2C lbl_801AB9EC: /* 801AB9EC 001A894C 7F E3 FB 78 */ mr r3, r31 /* 801AB9F0 001A8950 48 19 52 D5 */ bl __as__6CTokenFRC6CToken /* 801AB9F4 001A8954 80 01 00 20 */ lwz r0, 0x20(r1) /* 801AB9F8 001A8958 90 1F 00 08 */ stw r0, 8(r31) /* 801AB9FC 001A895C 48 00 00 30 */ b lbl_801ABA2C lbl_801ABA00: /* 801ABA00 001A8960 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801ABA04 001A8964 28 00 00 00 */ cmplwi r0, 0 /* 801ABA08 001A8968 41 82 00 1C */ beq lbl_801ABA24 /* 801ABA0C 001A896C 34 7D 03 38 */ addic. r3, r29, 0x338 /* 801ABA10 001A8970 41 82 00 14 */ beq lbl_801ABA24 /* 801ABA14 001A8974 28 03 00 00 */ cmplwi r3, 0 /* 801ABA18 001A8978 41 82 00 0C */ beq lbl_801ABA24 /* 801ABA1C 001A897C 38 80 00 00 */ li r4, 0 /* 801ABA20 001A8980 48 19 54 21 */ bl __dt__6CTokenFv lbl_801ABA24: /* 801ABA24 001A8984 38 00 00 00 */ li r0, 0 /* 801ABA28 001A8988 98 1D 03 44 */ stb r0, 0x344(r29) lbl_801ABA2C: /* 801ABA2C 001A898C 88 01 00 24 */ lbz r0, 0x24(r1) /* 801ABA30 001A8990 28 00 00 00 */ cmplwi r0, 0 /* 801ABA34 001A8994 41 82 00 1C */ beq lbl_801ABA50 /* 801ABA38 001A8998 34 61 00 18 */ addic. r3, r1, 0x18 /* 801ABA3C 001A899C 41 82 00 14 */ beq lbl_801ABA50 /* 801ABA40 001A89A0 28 03 00 00 */ cmplwi r3, 0 /* 801ABA44 001A89A4 41 82 00 0C */ beq lbl_801ABA50 /* 801ABA48 001A89A8 38 80 00 00 */ li r4, 0 /* 801ABA4C 001A89AC 48 19 53 F5 */ bl __dt__6CTokenFv lbl_801ABA50: /* 801ABA50 001A89B0 38 00 00 00 */ li r0, 0 /* 801ABA54 001A89B4 98 01 00 24 */ stb r0, 0x24(r1) lbl_801ABA58: /* 801ABA58 001A89B8 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801ABA5C 001A89BC 28 00 00 00 */ cmplwi r0, 0 /* 801ABA60 001A89C0 41 82 00 A0 */ beq lbl_801ABB00 /* 801ABA64 001A89C4 3B FD 03 38 */ addi r31, r29, 0x338 /* 801ABA68 001A89C8 80 1D 03 40 */ lwz r0, 0x340(r29) /* 801ABA6C 001A89CC 28 00 00 00 */ cmplwi r0, 0 /* 801ABA70 001A89D0 40 82 00 30 */ bne lbl_801ABAA0 /* 801ABA74 001A89D4 88 1F 00 04 */ lbz r0, 4(r31) /* 801ABA78 001A89D8 28 00 00 00 */ cmplwi r0, 0 /* 801ABA7C 001A89DC 41 82 00 24 */ beq lbl_801ABAA0 /* 801ABA80 001A89E0 80 7F 00 00 */ lwz r3, 0(r31) /* 801ABA84 001A89E4 80 03 00 10 */ lwz r0, 0x10(r3) /* 801ABA88 001A89E8 28 00 00 00 */ cmplwi r0, 0 /* 801ABA8C 001A89EC 41 82 00 14 */ beq lbl_801ABAA0 /* 801ABA90 001A89F0 7F E3 FB 78 */ mr r3, r31 /* 801ABA94 001A89F4 48 19 53 79 */ bl GetObj__6CTokenFv /* 801ABA98 001A89F8 80 03 00 04 */ lwz r0, 4(r3) /* 801ABA9C 001A89FC 90 1F 00 08 */ stw r0, 8(r31) lbl_801ABAA0: /* 801ABAA0 001A8A00 C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801ABAA4 001A8A04 3C 00 43 30 */ lis r0, 0x4330 /* 801ABAA8 001A8A08 C0 02 A8 5C */ lfs f0, lbl_805AC57C@sda21(r2) /* 801ABAAC 001A8A0C C0 42 A8 60 */ lfs f2, lbl_805AC580@sda21(r2) /* 801ABAB0 001A8A10 EC 01 00 2A */ fadds f0, f1, f0 /* 801ABAB4 001A8A14 90 01 00 88 */ stw r0, 0x88(r1) /* 801ABAB8 001A8A18 C8 62 A8 68 */ lfd f3, lbl_805AC588@sda21(r2) /* 801ABABC 001A8A1C C0 22 A8 64 */ lfs f1, lbl_805AC584@sda21(r2) /* 801ABAC0 001A8A20 D0 1D 03 4C */ stfs f0, 0x34c(r29) /* 801ABAC4 001A8A24 C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801ABAC8 001A8A28 C0 9D 03 4C */ lfs f4, 0x34c(r29) /* 801ABACC 001A8A2C EC 44 00 B2 */ fmuls f2, f4, f2 /* 801ABAD0 001A8A30 FC 40 10 1E */ fctiwz f2, f2 /* 801ABAD4 001A8A34 D8 41 00 80 */ stfd f2, 0x80(r1) /* 801ABAD8 001A8A38 80 01 00 84 */ lwz r0, 0x84(r1) /* 801ABADC 001A8A3C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 801ABAE0 001A8A40 90 01 00 8C */ stw r0, 0x8c(r1) /* 801ABAE4 001A8A44 C8 41 00 88 */ lfd f2, 0x88(r1) /* 801ABAE8 001A8A48 EC 42 18 28 */ fsubs f2, f2, f3 /* 801ABAEC 001A8A4C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 801ABAF0 001A8A50 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801ABAF4 001A8A54 40 80 00 08 */ bge lbl_801ABAFC /* 801ABAF8 001A8A58 EC 42 08 2A */ fadds f2, f2, f1 lbl_801ABAFC: /* 801ABAFC 001A8A5C D0 5D 03 4C */ stfs f2, 0x34c(r29) lbl_801ABB00: /* 801ABB00 001A8A60 FC 20 F8 90 */ fmr f1, f31 /* 801ABB04 001A8A64 7F A3 EB 78 */ mr r3, r29 /* 801ABB08 001A8A68 7F C4 F3 78 */ mr r4, r30 /* 801ABB0C 001A8A6C 4B EC 9A 01 */ bl Think__12CScriptActorFfR13CStateManager /* 801ABB10 001A8A70 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801ABB14 001A8A74 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801ABB18 001A8A78 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801ABB1C 001A8A7C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801ABB20 001A8A80 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801ABB24 001A8A84 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801ABB28 001A8A88 83 81 00 90 */ lwz r28, 0x90(r1) /* 801ABB2C 001A8A8C 7C 08 03 A6 */ mtlr r0 /* 801ABB30 001A8A90 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801ABB34 001A8A94 4E 80 00 20 */ blr .global AcceptScriptMsg__18CScriptPlayerActorF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__18CScriptPlayerActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801ABB38 001A8A98 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801ABB3C 001A8A9C 7C 08 02 A6 */ mflr r0 /* 801ABB40 001A8AA0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801ABB44 001A8AA4 BF 61 00 8C */ stmw r27, 0x8c(r1) /* 801ABB48 001A8AA8 7C 9D 23 78 */ mr r29, r4 /* 801ABB4C 001A8AAC 28 1D 00 23 */ cmplwi r29, 0x23 /* 801ABB50 001A8AB0 7C 7C 1B 78 */ mr r28, r3 /* 801ABB54 001A8AB4 7C BE 2B 78 */ mr r30, r5 /* 801ABB58 001A8AB8 7C DF 33 78 */ mr r31, r6 /* 801ABB5C 001A8ABC 41 81 04 50 */ bgt lbl_801ABFAC /* 801ABB60 001A8AC0 3C 80 80 3E */ lis r4, lbl_803E4C64@ha /* 801ABB64 001A8AC4 57 A0 10 3A */ slwi r0, r29, 2 /* 801ABB68 001A8AC8 38 84 4C 64 */ addi r4, r4, lbl_803E4C64@l /* 801ABB6C 001A8ACC 7C 04 00 2E */ lwzx r0, r4, r0 /* 801ABB70 001A8AD0 7C 09 03 A6 */ mtctr r0 /* 801ABB74 001A8AD4 4E 80 04 20 */ bctr /* 801ABB78 001A8AD8 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABB7C 001A8ADC 38 C0 00 01 */ li r6, 1 /* 801ABB80 001A8AE0 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f /* 801ABB84 001A8AE4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABB88 001A8AE8 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABB8C 001A8AEC 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 801ABB90 001A8AF0 41 82 00 40 */ beq lbl_801ABBD0 /* 801ABB94 001A8AF4 80 BC 00 04 */ lwz r5, 4(r28) /* 801ABB98 001A8AF8 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801ABB9C 001A8AFC 54 A3 18 38 */ slwi r3, r5, 3 /* 801ABBA0 001A8B00 90 A1 00 10 */ stw r5, 0x10(r1) /* 801ABBA4 001A8B04 80 84 00 20 */ lwz r4, 0x20(r4) /* 801ABBA8 001A8B08 38 03 00 04 */ addi r0, r3, 4 /* 801ABBAC 001A8B0C 90 A1 00 0C */ stw r5, 0xc(r1) /* 801ABBB0 001A8B10 7C 64 00 2E */ lwzx r3, r4, r0 /* 801ABBB4 001A8B14 80 83 01 2C */ lwz r4, 0x12c(r3) /* 801ABBB8 001A8B18 80 64 11 3C */ lwz r3, 0x113c(r4) /* 801ABBBC 001A8B1C 38 03 00 01 */ addi r0, r3, 1 /* 801ABBC0 001A8B20 90 04 11 3C */ stw r0, 0x113c(r4) /* 801ABBC4 001A8B24 88 1C 03 55 */ lbz r0, 0x355(r28) /* 801ABBC8 001A8B28 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801ABBCC 001A8B2C 98 1C 03 55 */ stb r0, 0x355(r28) lbl_801ABBD0: /* 801ABBD0 001A8B30 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABBD4 001A8B34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABBD8 001A8B38 41 82 03 D4 */ beq lbl_801ABFAC /* 801ABBDC 001A8B3C 7F 83 E3 78 */ mr r3, r28 /* 801ABBE0 001A8B40 7F E4 FB 78 */ mr r4, r31 /* 801ABBE4 001A8B44 38 A0 00 01 */ li r5, 1 /* 801ABBE8 001A8B48 4B FF E9 55 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb /* 801ABBEC 001A8B4C 7F 83 E3 78 */ mr r3, r28 /* 801ABBF0 001A8B50 7F E4 FB 78 */ mr r4, r31 /* 801ABBF4 001A8B54 38 A0 00 01 */ li r5, 1 /* 801ABBF8 001A8B58 4B FF E8 05 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb /* 801ABBFC 001A8B5C 48 00 03 B0 */ b lbl_801ABFAC /* 801ABC00 001A8B60 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABC04 001A8B64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABC08 001A8B68 40 82 03 A4 */ bne lbl_801ABFAC /* 801ABC0C 001A8B6C 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABC10 001A8B70 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801ABC14 001A8B74 41 82 00 18 */ beq lbl_801ABC2C /* 801ABC18 001A8B78 7F E4 FB 78 */ mr r4, r31 /* 801ABC1C 001A8B7C 4B FF EB E1 */ bl GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager /* 801ABC20 001A8B80 7C 64 1B 78 */ mr r4, r3 /* 801ABC24 001A8B84 7F 83 E3 78 */ mr r3, r28 /* 801ABC28 001A8B88 4B FF EF C5 */ bl LoadSuit__18CScriptPlayerActorFUi lbl_801ABC2C: /* 801ABC2C 001A8B8C 7F 83 E3 78 */ mr r3, r28 /* 801ABC30 001A8B90 7F E4 FB 78 */ mr r4, r31 /* 801ABC34 001A8B94 38 A0 00 01 */ li r5, 1 /* 801ABC38 001A8B98 4B FF E7 C5 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb /* 801ABC3C 001A8B9C 7F 83 E3 78 */ mr r3, r28 /* 801ABC40 001A8BA0 7F E4 FB 78 */ mr r4, r31 /* 801ABC44 001A8BA4 38 A0 00 01 */ li r5, 1 /* 801ABC48 001A8BA8 4B FF E8 F5 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb /* 801ABC4C 001A8BAC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC50 001A8BB0 38 60 00 01 */ li r3, 1 /* 801ABC54 001A8BB4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801ABC58 001A8BB8 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC5C 001A8BBC 48 00 03 50 */ b lbl_801ABFAC /* 801ABC60 001A8BC0 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABC64 001A8BC4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801ABC68 001A8BC8 41 82 03 44 */ beq lbl_801ABFAC /* 801ABC6C 001A8BCC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC70 001A8BD0 38 60 00 00 */ li r3, 0 /* 801ABC74 001A8BD4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801ABC78 001A8BD8 38 60 00 01 */ li r3, 1 /* 801ABC7C 001A8BDC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC80 001A8BE0 7F E4 FB 78 */ mr r4, r31 /* 801ABC84 001A8BE4 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC88 001A8BE8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801ABC8C 001A8BEC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC90 001A8BF0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801ABC94 001A8BF4 4B E6 5E 99 */ bl AsyncLoadSuit__7CPlayerFR13CStateManager /* 801ABC98 001A8BF8 48 00 03 14 */ b lbl_801ABFAC /* 801ABC9C 001A8BFC 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABCA0 001A8C00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABCA4 001A8C04 41 82 00 2C */ beq lbl_801ABCD0 /* 801ABCA8 001A8C08 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABCAC 001A8C0C 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b /* 801ABCB0 001A8C10 40 82 00 10 */ bne lbl_801ABCC0 /* 801ABCB4 001A8C14 7F E4 FB 78 */ mr r4, r31 /* 801ABCB8 001A8C18 38 A0 00 00 */ li r5, 0 /* 801ABCBC 001A8C1C 4B FF E7 41 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb lbl_801ABCC0: /* 801ABCC0 001A8C20 7F 83 E3 78 */ mr r3, r28 /* 801ABCC4 001A8C24 7F E4 FB 78 */ mr r4, r31 /* 801ABCC8 001A8C28 38 A0 00 00 */ li r5, 0 /* 801ABCCC 001A8C2C 4B FF E8 71 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb lbl_801ABCD0: /* 801ABCD0 001A8C30 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABCD4 001A8C34 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d /* 801ABCD8 001A8C38 41 82 02 D4 */ beq lbl_801ABFAC /* 801ABCDC 001A8C3C 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABCE0 001A8C40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABCE4 001A8C44 40 82 00 0C */ bne lbl_801ABCF0 /* 801ABCE8 001A8C48 2C 1D 00 0A */ cmpwi r29, 0xa /* 801ABCEC 001A8C4C 40 82 02 C0 */ bne lbl_801ABFAC lbl_801ABCF0: /* 801ABCF0 001A8C50 38 00 FF FF */ li r0, -1 /* 801ABCF4 001A8C54 38 80 00 01 */ li r4, 1 /* 801ABCF8 001A8C58 90 1C 03 0C */ stw r0, 0x30c(r28) /* 801ABCFC 001A8C5C 90 1C 03 10 */ stw r0, 0x310(r28) /* 801ABD00 001A8C60 80 7C 03 14 */ lwz r3, 0x314(r28) /* 801ABD04 001A8C64 4B F6 AD 49 */ bl __dt__10CModelDataFv /* 801ABD08 001A8C68 38 00 00 00 */ li r0, 0 /* 801ABD0C 001A8C6C 38 80 00 01 */ li r4, 1 /* 801ABD10 001A8C70 90 1C 03 14 */ stw r0, 0x314(r28) /* 801ABD14 001A8C74 80 7C 03 18 */ lwz r3, 0x318(r28) /* 801ABD18 001A8C78 4B F6 AD 35 */ bl __dt__10CModelDataFv /* 801ABD1C 001A8C7C 38 00 00 00 */ li r0, 0 /* 801ABD20 001A8C80 90 1C 03 18 */ stw r0, 0x318(r28) /* 801ABD24 001A8C84 83 7C 03 1C */ lwz r27, 0x31c(r28) /* 801ABD28 001A8C88 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD2C 001A8C8C 41 82 00 18 */ beq lbl_801ABD44 /* 801ABD30 001A8C90 7F 63 DB 78 */ mr r3, r27 /* 801ABD34 001A8C94 38 80 00 00 */ li r4, 0 /* 801ABD38 001A8C98 48 19 51 09 */ bl __dt__6CTokenFv /* 801ABD3C 001A8C9C 7F 63 DB 78 */ mr r3, r27 /* 801ABD40 001A8CA0 48 16 9B F1 */ bl Free__7CMemoryFPCv lbl_801ABD44: /* 801ABD44 001A8CA4 38 00 00 00 */ li r0, 0 /* 801ABD48 001A8CA8 90 1C 03 1C */ stw r0, 0x31c(r28) /* 801ABD4C 001A8CAC 83 7C 03 20 */ lwz r27, 0x320(r28) /* 801ABD50 001A8CB0 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD54 001A8CB4 41 82 00 1C */ beq lbl_801ABD70 /* 801ABD58 001A8CB8 41 82 00 10 */ beq lbl_801ABD68 /* 801ABD5C 001A8CBC 7F 63 DB 78 */ mr r3, r27 /* 801ABD60 001A8CC0 38 80 00 00 */ li r4, 0 /* 801ABD64 001A8CC4 48 19 50 DD */ bl __dt__6CTokenFv lbl_801ABD68: /* 801ABD68 001A8CC8 7F 63 DB 78 */ mr r3, r27 /* 801ABD6C 001A8CCC 48 16 9B C5 */ bl Free__7CMemoryFPCv lbl_801ABD70: /* 801ABD70 001A8CD0 38 00 00 00 */ li r0, 0 /* 801ABD74 001A8CD4 90 1C 03 20 */ stw r0, 0x320(r28) /* 801ABD78 001A8CD8 83 7C 03 24 */ lwz r27, 0x324(r28) /* 801ABD7C 001A8CDC 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD80 001A8CE0 41 82 00 18 */ beq lbl_801ABD98 /* 801ABD84 001A8CE4 7F 63 DB 78 */ mr r3, r27 /* 801ABD88 001A8CE8 38 80 00 00 */ li r4, 0 /* 801ABD8C 001A8CEC 48 19 50 B5 */ bl __dt__6CTokenFv /* 801ABD90 001A8CF0 7F 63 DB 78 */ mr r3, r27 /* 801ABD94 001A8CF4 48 16 9B 9D */ bl Free__7CMemoryFPCv lbl_801ABD98: /* 801ABD98 001A8CF8 38 00 00 00 */ li r0, 0 /* 801ABD9C 001A8CFC 3B 7C 03 28 */ addi r27, r28, 0x328 /* 801ABDA0 001A8D00 90 1C 03 24 */ stw r0, 0x324(r28) /* 801ABDA4 001A8D04 38 81 00 24 */ addi r4, r1, 0x24 /* 801ABDA8 001A8D08 7C 1B 20 40 */ cmplw r27, r4 /* 801ABDAC 001A8D0C 98 01 00 30 */ stb r0, 0x30(r1) /* 801ABDB0 001A8D10 41 82 00 84 */ beq lbl_801ABE34 /* 801ABDB4 001A8D14 28 00 00 00 */ cmplwi r0, 0 /* 801ABDB8 001A8D18 41 82 00 50 */ beq lbl_801ABE08 /* 801ABDBC 001A8D1C 88 1C 03 34 */ lbz r0, 0x334(r28) /* 801ABDC0 001A8D20 28 00 00 00 */ cmplwi r0, 0 /* 801ABDC4 001A8D24 40 82 00 30 */ bne lbl_801ABDF4 /* 801ABDC8 001A8D28 37 7C 03 28 */ addic. r27, r28, 0x328 /* 801ABDCC 001A8D2C 41 82 00 1C */ beq lbl_801ABDE8 /* 801ABDD0 001A8D30 7F 63 DB 78 */ mr r3, r27 /* 801ABDD4 001A8D34 48 19 50 D5 */ bl __ct__6CTokenFRC6CToken /* 801ABDD8 001A8D38 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801ABDDC 001A8D3C 7F 63 DB 78 */ mr r3, r27 /* 801ABDE0 001A8D40 90 1B 00 08 */ stw r0, 8(r27) /* 801ABDE4 001A8D44 48 19 4F A1 */ bl Lock__6CTokenFv lbl_801ABDE8: /* 801ABDE8 001A8D48 38 00 00 01 */ li r0, 1 /* 801ABDEC 001A8D4C 98 1C 03 34 */ stb r0, 0x334(r28) /* 801ABDF0 001A8D50 48 00 00 44 */ b lbl_801ABE34 lbl_801ABDF4: /* 801ABDF4 001A8D54 7F 63 DB 78 */ mr r3, r27 /* 801ABDF8 001A8D58 48 19 4E CD */ bl __as__6CTokenFRC6CToken /* 801ABDFC 001A8D5C 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801ABE00 001A8D60 90 1B 00 08 */ stw r0, 8(r27) /* 801ABE04 001A8D64 48 00 00 30 */ b lbl_801ABE34 lbl_801ABE08: /* 801ABE08 001A8D68 88 1C 03 34 */ lbz r0, 0x334(r28) /* 801ABE0C 001A8D6C 28 00 00 00 */ cmplwi r0, 0 /* 801ABE10 001A8D70 41 82 00 1C */ beq lbl_801ABE2C /* 801ABE14 001A8D74 34 7C 03 28 */ addic. r3, r28, 0x328 /* 801ABE18 001A8D78 41 82 00 14 */ beq lbl_801ABE2C /* 801ABE1C 001A8D7C 28 03 00 00 */ cmplwi r3, 0 /* 801ABE20 001A8D80 41 82 00 0C */ beq lbl_801ABE2C /* 801ABE24 001A8D84 38 80 00 00 */ li r4, 0 /* 801ABE28 001A8D88 48 19 50 19 */ bl __dt__6CTokenFv lbl_801ABE2C: /* 801ABE2C 001A8D8C 38 00 00 00 */ li r0, 0 /* 801ABE30 001A8D90 98 1C 03 34 */ stb r0, 0x334(r28) lbl_801ABE34: /* 801ABE34 001A8D94 88 01 00 30 */ lbz r0, 0x30(r1) /* 801ABE38 001A8D98 28 00 00 00 */ cmplwi r0, 0 /* 801ABE3C 001A8D9C 41 82 00 1C */ beq lbl_801ABE58 /* 801ABE40 001A8DA0 34 61 00 24 */ addic. r3, r1, 0x24 /* 801ABE44 001A8DA4 41 82 00 14 */ beq lbl_801ABE58 /* 801ABE48 001A8DA8 28 03 00 00 */ cmplwi r3, 0 /* 801ABE4C 001A8DAC 41 82 00 0C */ beq lbl_801ABE58 /* 801ABE50 001A8DB0 38 80 00 00 */ li r4, 0 /* 801ABE54 001A8DB4 48 19 4F ED */ bl __dt__6CTokenFv lbl_801ABE58: /* 801ABE58 001A8DB8 3B 7C 03 38 */ addi r27, r28, 0x338 /* 801ABE5C 001A8DBC 38 81 00 14 */ addi r4, r1, 0x14 /* 801ABE60 001A8DC0 38 00 00 00 */ li r0, 0 /* 801ABE64 001A8DC4 7C 1B 20 40 */ cmplw r27, r4 /* 801ABE68 001A8DC8 98 01 00 30 */ stb r0, 0x30(r1) /* 801ABE6C 001A8DCC 98 01 00 20 */ stb r0, 0x20(r1) /* 801ABE70 001A8DD0 41 82 00 7C */ beq lbl_801ABEEC /* 801ABE74 001A8DD4 28 00 00 00 */ cmplwi r0, 0 /* 801ABE78 001A8DD8 41 82 00 48 */ beq lbl_801ABEC0 /* 801ABE7C 001A8DDC 88 1C 03 44 */ lbz r0, 0x344(r28) /* 801ABE80 001A8DE0 28 00 00 00 */ cmplwi r0, 0 /* 801ABE84 001A8DE4 40 82 00 28 */ bne lbl_801ABEAC /* 801ABE88 001A8DE8 37 7C 03 38 */ addic. r27, r28, 0x338 /* 801ABE8C 001A8DEC 41 82 00 14 */ beq lbl_801ABEA0 /* 801ABE90 001A8DF0 7F 63 DB 78 */ mr r3, r27 /* 801ABE94 001A8DF4 48 19 50 15 */ bl __ct__6CTokenFRC6CToken /* 801ABE98 001A8DF8 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ABE9C 001A8DFC 90 1B 00 08 */ stw r0, 8(r27) lbl_801ABEA0: /* 801ABEA0 001A8E00 38 00 00 01 */ li r0, 1 /* 801ABEA4 001A8E04 98 1C 03 44 */ stb r0, 0x344(r28) /* 801ABEA8 001A8E08 48 00 00 44 */ b lbl_801ABEEC lbl_801ABEAC: /* 801ABEAC 001A8E0C 7F 63 DB 78 */ mr r3, r27 /* 801ABEB0 001A8E10 48 19 4E 15 */ bl __as__6CTokenFRC6CToken /* 801ABEB4 001A8E14 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ABEB8 001A8E18 90 1B 00 08 */ stw r0, 8(r27) /* 801ABEBC 001A8E1C 48 00 00 30 */ b lbl_801ABEEC lbl_801ABEC0: /* 801ABEC0 001A8E20 88 1C 03 44 */ lbz r0, 0x344(r28) /* 801ABEC4 001A8E24 28 00 00 00 */ cmplwi r0, 0 /* 801ABEC8 001A8E28 41 82 00 1C */ beq lbl_801ABEE4 /* 801ABECC 001A8E2C 34 7C 03 38 */ addic. r3, r28, 0x338 /* 801ABED0 001A8E30 41 82 00 14 */ beq lbl_801ABEE4 /* 801ABED4 001A8E34 28 03 00 00 */ cmplwi r3, 0 /* 801ABED8 001A8E38 41 82 00 0C */ beq lbl_801ABEE4 /* 801ABEDC 001A8E3C 38 80 00 00 */ li r4, 0 /* 801ABEE0 001A8E40 48 19 4F 61 */ bl __dt__6CTokenFv lbl_801ABEE4: /* 801ABEE4 001A8E44 38 00 00 00 */ li r0, 0 /* 801ABEE8 001A8E48 98 1C 03 44 */ stb r0, 0x344(r28) lbl_801ABEEC: /* 801ABEEC 001A8E4C 88 01 00 20 */ lbz r0, 0x20(r1) /* 801ABEF0 001A8E50 28 00 00 00 */ cmplwi r0, 0 /* 801ABEF4 001A8E54 41 82 00 1C */ beq lbl_801ABF10 /* 801ABEF8 001A8E58 34 61 00 14 */ addic. r3, r1, 0x14 /* 801ABEFC 001A8E5C 41 82 00 14 */ beq lbl_801ABF10 /* 801ABF00 001A8E60 28 03 00 00 */ cmplwi r3, 0 /* 801ABF04 001A8E64 41 82 00 0C */ beq lbl_801ABF10 /* 801ABF08 001A8E68 38 80 00 00 */ li r4, 0 /* 801ABF0C 001A8E6C 48 19 4F 35 */ bl __dt__6CTokenFv lbl_801ABF10: /* 801ABF10 001A8E70 38 80 00 00 */ li r4, 0 /* 801ABF14 001A8E74 38 61 00 34 */ addi r3, r1, 0x34 /* 801ABF18 001A8E78 98 81 00 20 */ stb r4, 0x20(r1) /* 801ABF1C 001A8E7C 90 9C 03 48 */ stw r4, 0x348(r28) /* 801ABF20 001A8E80 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABF24 001A8E84 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e /* 801ABF28 001A8E88 90 1C 03 50 */ stw r0, 0x350(r28) /* 801ABF2C 001A8E8C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF30 001A8E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801ABF34 001A8E94 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF38 001A8E98 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF3C 001A8E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801ABF40 001A8EA0 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF44 001A8EA4 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF48 001A8EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801ABF4C 001A8EAC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF50 001A8EB0 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF54 001A8EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801ABF58 001A8EB8 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF5C 001A8EBC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF60 001A8EC0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801ABF64 001A8EC4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF68 001A8EC8 4B E8 E8 3D */ bl CModelDataNull__10CModelDataFv /* 801ABF6C 001A8ECC 7F 83 E3 78 */ mr r3, r28 /* 801ABF70 001A8ED0 38 81 00 34 */ addi r4, r1, 0x34 /* 801ABF74 001A8ED4 4B EA 90 BD */ bl SetModelData__6CActorFRC10CModelData /* 801ABF78 001A8ED8 38 61 00 34 */ addi r3, r1, 0x34 /* 801ABF7C 001A8EDC 38 80 FF FF */ li r4, -1 /* 801ABF80 001A8EE0 4B F6 AA CD */ bl __dt__10CModelDataFv /* 801ABF84 001A8EE4 7F 83 E3 78 */ mr r3, r28 /* 801ABF88 001A8EE8 38 80 00 00 */ li r4, 0 /* 801ABF8C 001A8EEC 81 9C 00 00 */ lwz r12, 0(r28) /* 801ABF90 001A8EF0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ABF94 001A8EF4 7D 89 03 A6 */ mtctr r12 /* 801ABF98 001A8EF8 4E 80 04 21 */ bctrl /* 801ABF9C 001A8EFC 48 00 00 10 */ b lbl_801ABFAC /* 801ABFA0 001A8F00 7F E4 FB 78 */ mr r4, r31 /* 801ABFA4 001A8F04 38 A0 00 00 */ li r5, 0 /* 801ABFA8 001A8F08 4B FF E4 55 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb lbl_801ABFAC: /* 801ABFAC 001A8F0C A0 1E 00 00 */ lhz r0, 0(r30) /* 801ABFB0 001A8F10 7F 83 E3 78 */ mr r3, r28 /* 801ABFB4 001A8F14 7F A4 EB 78 */ mr r4, r29 /* 801ABFB8 001A8F18 7F E6 FB 78 */ mr r6, r31 /* 801ABFBC 001A8F1C B0 01 00 08 */ sth r0, 8(r1) /* 801ABFC0 001A8F20 38 A1 00 08 */ addi r5, r1, 8 /* 801ABFC4 001A8F24 4B EC 93 3D */ bl AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801ABFC8 001A8F28 BB 61 00 8C */ lmw r27, 0x8c(r1) /* 801ABFCC 001A8F2C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801ABFD0 001A8F30 7C 08 03 A6 */ mtlr r0 /* 801ABFD4 001A8F34 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801ABFD8 001A8F38 4E 80 00 20 */ blr .global "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb" "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb": /* 801ABFDC 001A8F3C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801ABFE0 001A8F40 7C 08 02 A6 */ mflr r0 /* 801ABFE4 001A8F44 C0 62 A8 44 */ lfs f3, lbl_805AC564@sda21(r2) /* 801ABFE8 001A8F48 90 01 00 74 */ stw r0, 0x74(r1) /* 801ABFEC 001A8F4C 38 00 00 00 */ li r0, 0 /* 801ABFF0 001A8F50 81 61 00 80 */ lwz r11, 0x80(r1) /* 801ABFF4 001A8F54 BF 41 00 58 */ stmw r26, 0x58(r1) /* 801ABFF8 001A8F58 7D 1D 43 78 */ mr r29, r8 /* 801ABFFC 001A8F5C 7D 28 4B 78 */ mr r8, r9 /* 801AC000 001A8F60 81 81 00 7C */ lwz r12, 0x7c(r1) /* 801AC004 001A8F64 7D 49 53 78 */ mr r9, r10 /* 801AC008 001A8F68 83 E1 00 88 */ lwz r31, 0x88(r1) /* 801AC00C 001A8F6C 7D 8A 63 78 */ mr r10, r12 /* 801AC010 001A8F70 89 81 00 8F */ lbz r12, 0x8f(r1) /* 801AC014 001A8F74 8B C1 00 7B */ lbz r30, 0x7b(r1) /* 801AC018 001A8F78 7C 7C 1B 78 */ mr r28, r3 /* 801AC01C 001A8F7C 83 41 00 94 */ lwz r26, 0x94(r1) /* 801AC020 001A8F80 83 61 00 98 */ lwz r27, 0x98(r1) /* 801AC024 001A8F84 A0 84 00 00 */ lhz r4, 0(r4) /* 801AC028 001A8F88 B0 81 00 30 */ sth r4, 0x30(r1) /* 801AC02C 001A8F8C 80 81 00 84 */ lwz r4, 0x84(r1) /* 801AC030 001A8F90 91 61 00 08 */ stw r11, 8(r1) /* 801AC034 001A8F94 89 61 00 93 */ lbz r11, 0x93(r1) /* 801AC038 001A8F98 90 81 00 0C */ stw r4, 0xc(r1) /* 801AC03C 001A8F9C 38 81 00 30 */ addi r4, r1, 0x30 /* 801AC040 001A8FA0 93 E1 00 10 */ stw r31, 0x10(r1) /* 801AC044 001A8FA4 91 81 00 14 */ stw r12, 0x14(r1) /* 801AC048 001A8FA8 91 61 00 18 */ stw r11, 0x18(r1) /* 801AC04C 001A8FAC 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AC050 001A8FB0 90 01 00 20 */ stw r0, 0x20(r1) /* 801AC054 001A8FB4 90 01 00 24 */ stw r0, 0x24(r1) /* 801AC058 001A8FB8 90 01 00 28 */ stw r0, 0x28(r1) /* 801AC05C 001A8FBC 90 01 00 2C */ stw r0, 0x2c(r1) /* 801AC060 001A8FC0 4B EC 98 4D */ bl "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" /* 801AC064 001A8FC4 3C 60 80 3E */ lis r3, lbl_803E4BE0@ha /* 801AC068 001A8FC8 38 00 FF FF */ li r0, -1 /* 801AC06C 001A8FCC 38 63 4B E0 */ addi r3, r3, lbl_803E4BE0@l /* 801AC070 001A8FD0 38 A0 00 00 */ li r5, 0 /* 801AC074 001A8FD4 90 7C 00 00 */ stw r3, 0(r28) /* 801AC078 001A8FD8 38 80 00 01 */ li r4, 1 /* 801AC07C 001A8FDC C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801AC080 001A8FE0 7F 83 E3 78 */ mr r3, r28 /* 801AC084 001A8FE4 80 DD 00 00 */ lwz r6, 0(r29) /* 801AC088 001A8FE8 90 DC 02 E8 */ stw r6, 0x2e8(r28) /* 801AC08C 001A8FEC 80 DD 00 04 */ lwz r6, 4(r29) /* 801AC090 001A8FF0 90 DC 02 EC */ stw r6, 0x2ec(r28) /* 801AC094 001A8FF4 C0 3D 00 08 */ lfs f1, 8(r29) /* 801AC098 001A8FF8 D0 3C 02 F0 */ stfs f1, 0x2f0(r28) /* 801AC09C 001A8FFC C0 3D 00 0C */ lfs f1, 0xc(r29) /* 801AC0A0 001A9000 D0 3C 02 F4 */ stfs f1, 0x2f4(r28) /* 801AC0A4 001A9004 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 801AC0A8 001A9008 D0 3C 02 F8 */ stfs f1, 0x2f8(r28) /* 801AC0AC 001A900C 88 DD 00 14 */ lbz r6, 0x14(r29) /* 801AC0B0 001A9010 98 DC 02 FC */ stb r6, 0x2fc(r28) /* 801AC0B4 001A9014 80 DD 00 18 */ lwz r6, 0x18(r29) /* 801AC0B8 001A9018 90 DC 03 00 */ stw r6, 0x300(r28) /* 801AC0BC 001A901C 93 7C 03 04 */ stw r27, 0x304(r28) /* 801AC0C0 001A9020 90 1C 03 08 */ stw r0, 0x308(r28) /* 801AC0C4 001A9024 90 1C 03 0C */ stw r0, 0x30c(r28) /* 801AC0C8 001A9028 90 1C 03 10 */ stw r0, 0x310(r28) /* 801AC0CC 001A902C 90 BC 03 14 */ stw r5, 0x314(r28) /* 801AC0D0 001A9030 90 BC 03 18 */ stw r5, 0x318(r28) /* 801AC0D4 001A9034 90 BC 03 1C */ stw r5, 0x31c(r28) /* 801AC0D8 001A9038 90 BC 03 20 */ stw r5, 0x320(r28) /* 801AC0DC 001A903C 90 BC 03 24 */ stw r5, 0x324(r28) /* 801AC0E0 001A9040 98 BC 03 34 */ stb r5, 0x334(r28) /* 801AC0E4 001A9044 98 BC 03 44 */ stb r5, 0x344(r28) /* 801AC0E8 001A9048 90 BC 03 48 */ stw r5, 0x348(r28) /* 801AC0EC 001A904C D0 1C 03 4C */ stfs f0, 0x34c(r28) /* 801AC0F0 001A9050 93 5C 03 50 */ stw r26, 0x350(r28) /* 801AC0F4 001A9054 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC0F8 001A9058 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 /* 801AC0FC 001A905C 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC100 001A9060 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC104 001A9064 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801AC108 001A9068 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC10C 001A906C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC110 001A9070 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 801AC114 001A9074 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC118 001A9078 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC11C 001A907C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801AC120 001A9080 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC124 001A9084 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC128 001A9088 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801AC12C 001A908C 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC130 001A9090 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC134 001A9094 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801AC138 001A9098 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC13C 001A909C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC140 001A90A0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801AC144 001A90A4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC148 001A90A8 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC14C 001A90AC 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 801AC150 001A90B0 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC154 001A90B4 88 1C 03 55 */ lbz r0, 0x355(r28) /* 801AC158 001A90B8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801AC15C 001A90BC 98 1C 03 55 */ stb r0, 0x355(r28) /* 801AC160 001A90C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AC164 001A90C4 B0 1C 03 56 */ sth r0, 0x356(r28) /* 801AC168 001A90C8 4B EA 77 55 */ bl GetMaterialFilter__6CActorCFv /* 801AC16C 001A90CC 83 A3 00 08 */ lwz r29, 8(r3) /* 801AC170 001A90D0 83 C3 00 0C */ lwz r30, 0xc(r3) /* 801AC174 001A90D4 7F 83 E3 78 */ mr r3, r28 /* 801AC178 001A90D8 4B EA 77 45 */ bl GetMaterialFilter__6CActorCFv /* 801AC17C 001A90DC 80 C3 00 00 */ lwz r6, 0(r3) /* 801AC180 001A90E0 63 A5 00 01 */ ori r5, r29, 1 /* 801AC184 001A90E4 80 E3 00 04 */ lwz r7, 4(r3) /* 801AC188 001A90E8 38 00 00 03 */ li r0, 3 /* 801AC18C 001A90EC 7F 83 E3 78 */ mr r3, r28 /* 801AC190 001A90F0 38 81 00 40 */ addi r4, r1, 0x40 /* 801AC194 001A90F4 90 E1 00 44 */ stw r7, 0x44(r1) /* 801AC198 001A90F8 90 C1 00 40 */ stw r6, 0x40(r1) /* 801AC19C 001A90FC 93 C1 00 4C */ stw r30, 0x4c(r1) /* 801AC1A0 001A9100 90 A1 00 48 */ stw r5, 0x48(r1) /* 801AC1A4 001A9104 90 01 00 50 */ stw r0, 0x50(r1) /* 801AC1A8 001A9108 4B EA 76 F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801AC1AC 001A910C 7F E4 FB 78 */ mr r4, r31 /* 801AC1B0 001A9110 38 61 00 34 */ addi r3, r1, 0x34 /* 801AC1B4 001A9114 4B F5 A2 5D */ bl MakeActorLights__16CLightParametersCFv /* 801AC1B8 001A9118 7F 83 E3 78 */ mr r3, r28 /* 801AC1BC 001A911C 38 81 00 34 */ addi r4, r1, 0x34 /* 801AC1C0 001A9120 4B EA 77 05 */ bl sub_800538c4 /* 801AC1C4 001A9124 88 01 00 34 */ lbz r0, 0x34(r1) /* 801AC1C8 001A9128 28 00 00 00 */ cmplwi r0, 0 /* 801AC1CC 001A912C 41 82 00 10 */ beq lbl_801AC1DC /* 801AC1D0 001A9130 80 61 00 38 */ lwz r3, 0x38(r1) /* 801AC1D4 001A9134 38 80 00 01 */ li r4, 1 /* 801AC1D8 001A9138 4B F5 8E FD */ bl __dt__12CActorLightsFv lbl_801AC1DC: /* 801AC1DC 001A913C 88 1C 00 E7 */ lbz r0, 0xe7(r28) /* 801AC1E0 001A9140 38 80 00 01 */ li r4, 1 /* 801AC1E4 001A9144 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801AC1E8 001A9148 7F 83 E3 78 */ mr r3, r28 /* 801AC1EC 001A914C 98 1C 00 E7 */ stb r0, 0xe7(r28) /* 801AC1F0 001A9150 88 1C 02 E3 */ lbz r0, 0x2e3(r28) /* 801AC1F4 001A9154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801AC1F8 001A9158 98 1C 02 E3 */ stb r0, 0x2e3(r28) /* 801AC1FC 001A915C BB 41 00 58 */ lmw r26, 0x58(r1) /* 801AC200 001A9160 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AC204 001A9164 7C 08 03 A6 */ mtlr r0 /* 801AC208 001A9168 38 21 00 70 */ addi r1, r1, 0x70 /* 801AC20C 001A916C 4E 80 00 20 */ blr