/* * reads : g_2 g_4 g_20 g_21 g_31 g_61 g_23 g_62 g_75 * writes: g_4 g_20 g_62 g_75 */ static uint32_t func_1(void) { /* block id: 0 */ int32_t *l_3 = &g_4; struct S1 l_32[7][3] = {{{0xAAA4L},{0xAAA4L},{0L}},{{2L},{0L},{2L}},{{0xAAA4L},{0L},{0L}},{{0x2964L},{0L},{0x2964L}},{{0xAAA4L},{0xAAA4L},{0L}},{{2L},{0L},{2L}},{{0xAAA4L},{0L},{0L}}}; int32_t l_78 = (-2L); int i, j; (*l_3) |= ((-1L) & g_2); for (g_4 = 28; (g_4 >= 24); g_4 -= 1) { /* block id: 4 */ int32_t l_19 = (-1L); int16_t l_33 = 0xC337L; int32_t *l_68 = &l_19; int32_t l_77 = 0xE762944AL; if (((*l_68) = func_7(((l_32[2][2] = func_13((func_16(l_19, g_2) , (*g_21)), &g_4)) , &g_4), l_33, (*l_3), g_4, &g_23[5]))) { /* block id: 26 */ (*l_68) ^= (((((int8_t)((uint8_t)1UL - (uint8_t)g_31.f0) << (int8_t)3) <= (-5L)) ^ g_20.f0) > (*g_62)); if ((*l_3)) break; } else { /* block id: 29 */ struct S1 l_73 = {0x6006L}; uint32_t *l_74[2]; int32_t *l_76[8][6] = {{&g_54,&g_54,&g_23[5],&g_54,&g_23[5],&g_23[1]},{&g_23[5],&g_23[5],(void*)0,&g_23[1],(void*)0,&g_23[5]},{&g_54,&g_23[5],(void*)0,&g_4,&g_54,&g_23[1]},{(void*)0,&g_23[5],&g_54,&g_54,&g_23[5],&g_54},{&g_54,&g_23[5],&g_54,&g_23[5],&g_23[1],(void*)0},{(void*)0,&g_54,&g_4,&g_54,(void*)0,&g_23[5]},{(void*)0,&g_54,&g_54,&g_23[5],(void*)0,(void*)0},{&g_54,&g_23[1],&g_23[1],&g_54,&g_4,(void*)0}}; int i, j; for (i = 0; i < 2; i++) l_74[i] = &g_75; l_77 = ((((g_75 |= ((*l_68) = ((((0x0FL < (*l_3)) , l_73) , 0x02C24788L) , (*l_68)))) < 7L) < 0UL) != (**g_61)); } } return l_78; }
/* * reads : g_4 g_5 g_6 g_13 g_9 g_36 g_43 g_35 g_86 g_96 * writes: g_4 g_5 g_3 g_13 g_35 g_36 g_9 g_44 g_85 g_93 */ static int32_t func_1(void) { /* block id: 0 */ uint8_t l_2[4][3] = {{0UL,0UL,0UL},{0UL,0UL,0UL},{0x76L,0x76L,0UL},{0x76L,0x76L,0UL}}; uint32_t *l_91 = (void*)0; uint32_t *l_92 = &g_93; int i, j; for (g_4 = 0; (g_4 <= 2); g_4 += 1) { /* block id: 3 */ int32_t l_12 = 1L; for (g_5 = 2; (g_5 >= 0); g_5 -= 1) { /* block id: 6 */ volatile int32_t *l_7 = &g_3; int32_t *l_8 = &g_9; int32_t *l_10 = (void*)0; int32_t *l_11[3][5]; int i, j; for (i = 0; i < 3; i++) { for (j = 0; j < 5; j++) l_11[i][j] = (void*)0; } (*l_7) = (l_2[(g_4 + 1)][g_5] , g_6); g_13++; } for (g_13 = 0; (g_13 <= 2); g_13 += 1) { /* block id: 12 */ int32_t *l_22 = &g_4; int i, j; (*g_86) = func_16(&g_4, l_2[g_4][g_13], &g_5, l_2[g_4][g_13], l_22); } } (*g_96) = ((uint32_t)((*l_92) = ((l_2[1][2] & 0L) , l_2[3][2])) % (uint32_t)l_2[3][2]); return (*g_96); }
int func_15(char* sParam0) { if (GAMEPLAY::ARE_STRINGS_EQUAL(sParam0, &Global_99799)) { return 1; } if (func_16(sParam0)) { return 0; } return 2; }
void func_15() { if (Global_69489 == 0) { Global_2290[14 /*15*/].f_4 = -99; Global_2290[4 /*15*/].f_4 = -99; if (Global_2443081) { if (func_17(14)) { func_16(2, "CELL_2", 2, "appInternet", 6, 1, 1, 0, 0); func_16(14, "CELL_29", 7, "appMPJobListNEW", 12, 1, 1, 0, 0); } else { func_16(14, "CELL_29", 2, "appMPJobListNEW", 12, 1, 1, 0, 0); } } else { func_16(4, "CELL_23", 2, "appChecklist", 39, 1, 1, 0, 0); } } }
/* * reads : g_10 * writes: g_10 g_2 */ int32_t * func_11( const uint32_t p_12, uint64_t p_13, uint16_t p_14, int32_t * p_15) { /* block id: 7 */ int32_t l_53[10][10][1][1]; int32_t l_54 = 0L; int i, j, k, l; for (i = 0; i < 10; i++) { for (j = 0; j < 10; j++) { for (k = 0; k < 1; k++) { for (l = 0; l < 1; l++) l_53[i][j][k][l] = -6L; } } } (*p_15) ^= ((*p_15) > func_16(p_12, &g_10)); l_54 &= l_53[3][0][0][0]; return &g_32; }
long long func_1(void) { func_16(0, 0); return 0; }
bool func_3(char* sParam0, int iParam1, int iParam2) { Global_15713 = 0; if (Global_15712 == 0 || Global_15714 == 2) { if (Global_15712 != 0) { if (iParam1 > Global_15714) { if (Global_15719 == 0) { stop_scripted_conversation(false); Global_14413.f_1 = 3; Global_15712 = 0; Global_15713 = 1; Global_15765 = 0; Global_15708 = 0; Global_15709 = 0; Global_15723 = 0; Global_15722 = 0; Global_14412 = 0; } else { func_17(); return false; } } else { return false; } } if (is_scripted_conversation_ongoing()) { return false; } if (func_16(8, -1)) { return false; } Global_15788 = {Global_15782}; func_15(); Global_15001 = {Global_15166}; Global_15718 = Global_15719; Global_15725 = Global_15726; Global_2621442 = Global_2621441; Global_15727 = {Global_15743}; Global_15720 = Global_15721; Global_16702 = Global_16703; Global_16710 = {Global_16716}; Global_16704 = Global_16705; Global_16706 = Global_16707; Global_16708 = Global_16709; Global_15331.f_370 = Global_16701; Global_15331.f_368 = Global_16699; Global_15331.f_369 = Global_16700; Global_15708 = Global_15709; if (Global_15718) { GAMEPLAY::CLEAR_BIT(&Global_2283, 20); GAMEPLAY::CLEAR_BIT(&Global_2284, 17); GAMEPLAY::CLEAR_BIT(&Global_2285, false); if (iParam2) { func_8(); if (Global_3088[Global_14413 /*2811*/][0 /*281*/].f_259 == 2) { if (iParam1 == 13) { } else { return false; } } if (Global_14413.f_1 > 3) { return false; } } if (Global_14379 == 1) { return false; } if (is_player_playing(player_id())) { if (is_ped_in_melee_combat(PLAYER::PLAYER_PED_ID())) { return false; } if (func_7()) { return false; } if (is_ped_sprinting(PLAYER::PLAYER_PED_ID())) { return false; } if (PED::IS_PED_RAGDOLL(PLAYER::PLAYER_PED_ID())) { return false; } if (is_ped_in_parachute_free_fall(PLAYER::PLAYER_PED_ID())) { return false; } if (get_is_ped_gadget_equipped(PLAYER::PLAYER_PED_ID(), joaat("gadget_parachute"))) { return false; } if (!Global_69489) { if (is_entity_in_water(PLAYER::PLAYER_PED_ID())) { return false; } if (is_player_climbing(player_id())) { return false; } if (is_ped_planting_bomb(PLAYER::PLAYER_PED_ID())) { return false; } if (is_special_ability_active(player_id())) { return false; } } } if (func_6()) { return false; } else { switch (Global_14413.f_1) { case 7: return false; break; case 8: return false; break; case 9: break; case 10: break; default: break; } if (GAMEPLAY::IS_BIT_SET(Global_2283, 9)) { return false; } } func_5(); Global_15722 = iParam2; } Global_15714 = iParam1; StringCopy(&Global_15331, sParam0, 24); Global_14578 = 0; func_4(); return true; } if (Global_15712 == 5) { return false; } if (iParam1 < Global_15714 || iParam1 == Global_15714) { return false; } if (iParam1 == 2) { } else { func_17(); } return false; }
void func_18() { int iVar0; int iVar1; int iVar2; iVar0 = 0; while (iVar0 < 34) { Global_2290[iVar0 /*15*/].f_4 = -99; iVar0++; } if (Global_69489 == 0) { iVar1 = 0; while (iVar2 < 147) { if (Global_101154.f_32575[iVar2 /*29*/].f_19[Global_14413] == 1) { iVar1 = 1; } iVar2++; } func_16(7, "CELL_5", 0, "appEmail", 4, 1, 1, 0, 0); func_16(1, "CELL_1", 1, "appTextMessage", 2, 1, 1, 0, 0); func_16(4, "CELL_23", 2, "appChecklist", 39, 1, 1, 0, 0); if ((Global_35711 == 15 && func_2(0) == 0) && Global_2288 == 0) { func_16(20, "CELL_32", 3, "appSettings", 43, 1, 1, 0, 0); Global_14574 = 0; Global_2289 = 255; } else { func_16(20, "CELL_32", 3, "appSettings", 43, 1, 1, 0, 0); Global_14574 = 1; Global_2289 = 42; } if (iVar1 == 1) { func_16(0, "CELL_0", 4, "appContacts", 27, 1, 1, 0, 0); } else { func_16(0, "CELL_0", 4, "appContacts", 5, 1, 1, 0, 0); } func_16(10, "CELL_16", 5, "appSettings", 24, 1, 1, 0, 0); func_16(3, "CELL_7", 6, "appCamera", 1, 1, 1, 0, 0); func_16(2, "CELL_2", 7, "appInternet", 6, 1, 1, 0, 0); if (Global_101154.f_12741.f_89 == 1) { func_16(17, "CELL_28", 8, "appTrackify", 42, 1, 1, 0, 0); } if (Global_101154.f_12741.f_88 == 1) { func_16(16, "CELL_25", 0, "appContacts", 40, 2, 1, 0, 0); } func_16(25, "CELL_14", -99, "appContacts", 17, 2, 1, 0, 0); func_16(9, "CELL_13", -99, "appContacts", 13, 2, 1, 0, 0); func_16(11, "CELL_14", -99, "appContacts", 8, 2, 1, 0, 0); func_16(27, "CELL_15", -99, "appContacts", 17, 2, 1, 0, 0); func_16(28, "CELL_15", -99, "appContacts", 17, 2, 1, 0, 0); func_16(29, "CELL_15", -99, "appSettings", 17, 2, 1, 0, 0); func_16(30, "CELL_15", -99, "appContacts", 17, 2, 1, 0, 0); func_16(31, "CELL_15", -99, "appContacts", 17, 2, 1, 0, 0); func_16(32, "CELL_15", -99, "appSettings", 17, 2, 1, 0, 0); } else { func_16(7, "CELL_5", 0, "appMPEmail", 4, 1, 1, 0, 0); func_16(10, "CELL_16", 5, "appSettings", 24, 1, 1, 0, 0); func_16(1, "CELL_1", 1, "appTextMessage", 2, 1, 1, 0, 0); func_16(3, "CELL_7", 6, "appCamera", 1, 1, 1, 0, 0); func_16(2, "CELL_2", 7, "appInternet", 6, 1, 1, 0, 0); func_16(14, "CELL_29", 4, "appMPJobListNEW", 12, 1, 1, 0, 0); func_16(0, "CELL_0", 2, "appContacts", 5, 1, 1, 0, 0); func_16(21, "JIPMP_QJ", 3, "AppJIPMP", 14, 1, 1, 0, 0); if (GAMEPLAY::IS_BIT_SET(Global_2563397, 4) == 1) { func_16(17, "CELL_28", 8, "appTrackify", 42, 1, 1, 0, 0); } func_16(13, "CELL_35", -99, "appMPCopBackup", 39, 1, 1, 0, 0); func_16(13, "CELL_20", -99, "appMPCopBackup", 16, 1, 1, 0, 0); func_16(15, "CELL_18", -99, "appContacts", 8, 1, 1, 0, 0); func_16(9, "CELL_13", -99, "appContacts", 13, 2, 1, 0, 0); func_16(5, "CELL_4", -99, "appContacts", 12, 2, 1, 0, 0); func_16(23, "CELL_15", 0, "appContacts", 17, 2, 1, 0, 0); func_16(24, "CELL_15", 1, "appContacts", 17, 2, 1, 0, 0); func_16(25, "CELL_15", 2, "appContacts", 17, 2, 1, 0, 0); func_16(26, "CELL_15", 3, "appContacts", 17, 2, 1, 0, 0); func_16(27, "CELL_15", 4, "appContacts", 17, 2, 1, 0, 0); func_16(28, "CELL_15", 5, "appContacts", 17, 2, 1, 0, 0); func_16(29, "CELL_15", 6, "appContacts", 17, 2, 1, 0, 0); func_16(30, "CELL_15", 7, "appContacts", 17, 2, 1, 0, 0); func_16(31, "CELL_15", 8, "appContacts", 17, 2, 1, 0, 0); func_16(32, "CELL_15", 9, "appContacts", 17, 2, 1, 0, 0); func_16(33, "CELL_15", 10, "appContacts", 17, 2, 1, 0, 0); if (!GAMEPLAY::IS_BIT_SET(Global_2563397, 4) == 1) { if (Global_1573431) { func_16(23, "CELL_CIRCBREAK", 8, "AppVLSI", 54, 1, 1, 0, 0); } else if (GAMEPLAY::IS_BIT_SET(Global_2563397, 20) == 1) { func_16(23, "CELL_SIGHTS", 8, "AppSettings", 59, 1, 1, 0, 0); } else if (GAMEPLAY::IS_BIT_SET(Global_2563397, 22) == 1) { func_16(23, "CELL_EXTRACT", 8, "AppExtraction", 58, 1, 1, 0, 0); } } if (((GAMEPLAY::IS_BIT_SET(Global_2563397, 4) == 0 && Global_1573431 == 0) && GAMEPLAY::IS_BIT_SET(Global_2563397, 20) == 0) && GAMEPLAY::IS_BIT_SET(Global_2563397, 22) == 0) { func_16(23, "CELL_BOSSAGE", 8, "appMPBossAgency", 57, 1, 1, 0, 0); } } }
void main() { Vector3 vVar0; Vector3 vVar3; iLocal_2 = 1; iLocal_3 = 134; iLocal_4 = 134; iLocal_5 = 1; iLocal_6 = 1; iLocal_7 = 1; iLocal_8 = 134; iLocal_9 = 1; iLocal_10 = 12; iLocal_11 = 12; fLocal_14 = 0.001f; iLocal_17 = -1; sLocal_20 = "NULL"; fLocal_21 = 0f; fLocal_25 = -0.0375f; fLocal_26 = 0.17f; fLocal_30 = 80f; fLocal_31 = 140f; fLocal_32 = 180f; iLocal_35 = 3; func_29(29); if (PLAYER::HAS_FORCE_CLEANUP_OCCURRED(210)) { func_28(); } iLocal_37 = 0; func_27(&uLocal_38); func_26(&uLocal_38, 1701.78f, 3225.148f, 40.0202f); func_26(&uLocal_38, 1678.909f, 3287.602f, 39.9648f); func_26(&uLocal_38, 1710.438f, 3326.499f, 40.1797f); func_26(&uLocal_38, 1738.879f, 3335.25f, 40.1493f); func_26(&uLocal_38, 1768.387f, 3312.101f, 40.2875f); func_26(&uLocal_38, 1819.241f, 3225.449f, 42.9019f); func_25(&uLocal_38); while (true) { switch (iLocal_37) { case 0: if (func_18()) { if (!PED::IS_PED_INJURED(PLAYER::PLAYER_PED_ID())) { vVar0 = {ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), 1)}; vVar3 = {1749.71f, 3267.83f, 40.24f}; if (func_17(vVar0, vVar3, 75f)) { if (func_16(&uLocal_38, vVar0)) { if (vVar0.z > 39f && vVar0.z < 43f) { iLocal_37 = 1; } else { wait(100); } } else { wait(100); } } else { wait(1500); } } } else { wait(1500); } break; case 1: func_2(); break; case 2: func_1(29); func_28(); break; } wait(0); } }
void main() { Vector3 vVar0; Vector3 vVar3; iLocal_2 = 1; iLocal_3 = 134; iLocal_4 = 134; iLocal_5 = 1; iLocal_6 = 1; iLocal_7 = 1; iLocal_8 = 134; iLocal_9 = 1; iLocal_10 = 12; iLocal_11 = 12; fLocal_14 = 0.001f; iLocal_17 = -1; sLocal_18 = "NULL"; fLocal_21 = 0f; fLocal_25 = -0.0375f; fLocal_26 = 0.17f; fLocal_30 = 80f; fLocal_31 = 140f; fLocal_32 = 180f; iLocal_35 = 3; iLocal_85 = -1; iLocal_86 = -1; if (PLAYER::HAS_FORCE_CLEANUP_OCCURRED(19)) { func_55(); } if (!func_52()) { func_55(); } if (!func_51(iLocal_82)) { func_55(); } else { func_50(); iLocal_83 = GAMEPLAY::GET_GAME_TIMER(); iLocal_85 = func_49(); iLocal_84 = 0; func_48(1, &uLocal_88); } while (true) { if (!PED::IS_PED_INJURED(PLAYER::PLAYER_PED_ID())) { if (!func_51(iLocal_82)) { func_55(); } vVar0 = {ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), 1)}; vVar3 = {ENTITY::GET_ENTITY_COORDS(iLocal_82, 1)}; if (vdist2(vVar0, vVar3) >= 100f * 100f) { func_55(); } switch (iLocal_87) { case 0: func_43(vVar3, vVar0, 18000, 1101004800); if (func_25(&iLocal_82, 0)) { func_24(); func_16(0); func_12(vVar3, vVar0); request_anim_dict(func_11()); iLocal_87 = 1; } break; case 1: if (func_5(&iLocal_82, &iLocal_79, &iLocal_86)) { iLocal_87 = 2; } break; case 2: if (!func_4(iLocal_82, 1805844857) && !is_ped_fleeing(iLocal_82)) { if (!is_entity_playing_anim(iLocal_82, func_11(), func_3(), 3)) { func_1(); } } else { func_55(); } break; } } wait(0); } }
void func_1() { Vector3 vVar0; Vector3 vVar3; vVar0 = {1.5f, 1.5f, 1.5f}; switch (iLocal_322) { case 0: if (Global_1572920 == 8) { Global_1572920 = -1; } if (func_63() == 5) { iLocal_326 = network_create_synchronised_scene(vLocal_343, vLocal_346, 2, false, true, 1f, 0f, 1f); network_add_ped_to_synchronised_scene(PLAYER::PLAYER_PED_ID(), iLocal_326, sLocal_329, sLocal_331, 8f, -2f, 261, 0, 1000f, 0); network_start_synchronised_scene(iLocal_326); iLocal_322 = 7; } else if (func_48(8)) { if ((((func_44(vLocal_339, vVar0) && get_interior_from_entity(PLAYER::PLAYER_PED_ID()) == get_interior_at_coords(vLocal_339)) && is_entity_in_angled_area(PLAYER::PLAYER_PED_ID(), vLocal_333, vLocal_336, 2f, 0, true, 0)) && func_43()) && !func_40(player_id())) { if (iLocal_328 == -1) { func_39(&iLocal_328, 3, "SA_BED_IN", 0, 0, 0, 0); } iLocal_322 = 1; } } break; case 1: if (func_38(1, 0, 1)) { if (((((func_44(vLocal_339, vVar0) && func_48(8)) && get_interior_from_entity(PLAYER::PLAYER_PED_ID()) == get_interior_at_coords(vLocal_339)) && is_entity_in_angled_area(PLAYER::PLAYER_PED_ID(), vLocal_333, vLocal_336, 2f, 0, true, 0)) && func_43()) && !func_40(player_id())) { if (func_36(iLocal_328, 1)) { func_34(&iLocal_328); func_33(); Global_1572920 = 8; if (func_32("SA_BED_IN")) { clear_help(1); } clear_area_of_projectiles(vLocal_339, 3f, 0); func_27(player_id(), 0, 256); iLocal_36 = 1; func_26(); WEAPON::SET_CURRENT_PED_WEAPON(PLAYER::PLAYER_PED_ID(), joaat("weapon_unarmed"), true); func_16(1, 1, 1, 0); vLocal_339 = {get_anim_initial_offset_position(sLocal_329, sLocal_330, vLocal_343, vLocal_346, 0, 2)}; vVar3 = {get_anim_initial_offset_rotation(sLocal_329, sLocal_330, vLocal_343, vLocal_346, 0, 2)}; fLocal_342 = vVar3.z; task_go_straight_to_coord(PLAYER::PLAYER_PED_ID(), vLocal_339, 1f, 5000, fLocal_342, 0.05f); if (get_follow_ped_cam_view_mode() == 4) { set_ped_desired_heading(PLAYER::PLAYER_PED_ID(), func_15(ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), 1), ENTITY::GET_ENTITY_COORDS(iLocal_41, 1))); force_ped_motion_state(PLAYER::PLAYER_PED_ID(), 1063765679, false, 0, 0); set_ped_reset_flag(PLAYER::PLAYER_PED_ID(), 69, true); } iLocal_322 = 2; } } else { func_34(&iLocal_328); if (func_32("SA_BED_IN")) { clear_help(1); } iLocal_322 = 0; } } break; case 2: func_14(); func_11(); hide_hud_and_radar_this_frame(); if (get_follow_ped_cam_view_mode() == 4) { set_ped_desired_heading(PLAYER::PLAYER_PED_ID(), func_15(ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), 1), ENTITY::GET_ENTITY_COORDS(iLocal_41, 1))); set_ped_reset_flag(PLAYER::PLAYER_PED_ID(), 69, true); } if (AI::GET_SCRIPT_TASK_STATUS(PLAYER::PLAYER_PED_ID(), 2106541073) != 1) { iLocal_326 = network_create_synchronised_scene(vLocal_343, vLocal_346, 2, false, false, 1f, 0f, 1f); network_add_ped_to_synchronised_scene(PLAYER::PLAYER_PED_ID(), iLocal_326, sLocal_329, sLocal_330, 4f, -2f, 261, 0, 1000f, 0); network_start_synchronised_scene(iLocal_326); iLocal_322 = 3; } break; case 3: func_14(); func_11(); hide_hud_and_radar_this_frame(); iLocal_327 = _0x02C40BF885C567B6(iLocal_326); if (is_synchronized_scene_running(iLocal_327)) { iLocal_322 = 4; } break; case 4: func_14(); func_11(); hide_hud_and_radar_this_frame(); if (get_synchronized_scene_phase(iLocal_327) > 0.9f) { iLocal_326 = network_create_synchronised_scene(vLocal_343, vLocal_346, 2, false, true, 1f, 0f, 1f); network_add_ped_to_synchronised_scene(PLAYER::PLAYER_PED_ID(), iLocal_326, sLocal_329, sLocal_331, 8f, -2f, 261, 0, 1000f, 0); network_start_synchronised_scene(iLocal_326); iLocal_322 = 5; } break; case 5: func_14(); func_11(); hide_hud_and_radar_this_frame(); iLocal_327 = _0x02C40BF885C567B6(iLocal_326); if (is_synchronized_scene_running(iLocal_327)) { set_synchronized_scene_looped(iLocal_327, true); if (!func_32("SA_BED_OUT")) { func_10("SA_BED_OUT"); } iLocal_322 = 6; } break; case 6: func_14(); func_11(); hide_hud_and_radar_this_frame(); if (!func_9(1)) { if (!func_32("SA_BED_OUT")) { func_10("SA_BED_OUT"); } } else if (func_32("SA_BED_OUT")) { clear_help(1); } if (!func_40(player_id()) && is_control_just_pressed(2, 222)) { if (func_32("SA_BED_OUT")) { clear_help(1); } func_8(); iLocal_326 = network_create_synchronised_scene(vLocal_343, vLocal_346, 2, false, false, 1f, 0f, 1f); network_add_ped_to_synchronised_scene(PLAYER::PLAYER_PED_ID(), iLocal_326, sLocal_329, sLocal_332, 2f, -2f, 261, 0, 1000f, 0); network_start_synchronised_scene(iLocal_326); iLocal_322 = 8; } break; case 7: if (((is_interior_ready(get_interior_at_coords(vLocal_339)) && !func_7()) && !func_5()) && Global_1312466.f_8 == 0) { iLocal_324 = true; iLocal_326 = network_create_synchronised_scene(vLocal_343, vLocal_346, 2, false, false, 1f, 0f, 1f); network_add_ped_to_synchronised_scene(PLAYER::PLAYER_PED_ID(), iLocal_326, sLocal_329, sLocal_332, 1000f, -2f, 261, 0, 1000f, 0); network_start_synchronised_scene(iLocal_326); iLocal_322 = 8; } break; case 8: if (!iLocal_324) { func_14(); func_11(); hide_hud_and_radar_this_frame(); } iLocal_327 = _0x02C40BF885C567B6(iLocal_326); if (is_synchronized_scene_running(iLocal_327)) { func_4(5); iLocal_322 = 9; } break; case 9: func_14(); hide_hud_and_radar_this_frame(); func_3(0); if (!is_synchronized_scene_running(iLocal_327)) { func_2(); if (iLocal_36) { func_27(player_id(), 1, 0); iLocal_36 = 0; } func_16(0, 1, 1, 0); iLocal_322 = 0; Global_1572920 = -1; } break; } }