/* * reads : g_13 g_9 g_36 g_43 g_35 g_5 * writes: g_5 g_35 g_36 g_9 g_44 */ static struct S0 func_16(int32_t * p_17, int32_t p_18, int32_t * p_19, uint32_t p_20, int32_t * p_21) { /* block id: 13 */ uint16_t l_25 = 65526UL; int16_t *l_34[1]; int32_t l_37 = 0x90B8A442L; int32_t *l_38 = &g_5; uint16_t l_61[2]; int32_t l_75 = 2L; int32_t l_76 = 0x1A3E7089L; int32_t l_79 = 0xF4C00391L; uint32_t l_80 = 0xF6D4B686L; struct S0 l_83 = {18446744073709551607UL}; int i; for (i = 0; i < 1; i++) l_34[i] = (void*)0; for (i = 0; i < 2; i++) l_61[i] = 65534UL; (*p_19) = ((uint8_t)g_13 + (uint8_t)l_25); if (func_26(func_29(((l_37 = (g_36 ^= (g_35 = g_9))) , l_37), l_25, &g_4, l_38), l_38)) { /* block id: 40 */ int32_t *l_58 = (void*)0; int32_t *l_59 = (void*)0; int32_t *l_60[4][1]; int i, j; for (i = 0; i < 4; i++) { for (j = 0; j < 1; j++) l_60[i][j] = &l_37; } for (g_36 = 0; (g_36 <= (-26)); g_36 -= 4) { /* block id: 43 */ struct S0 l_56[7][8] = {{{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL}},{{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL}},{{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL}},{{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL}},{{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL}},{{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL}},{{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL},{0xA4A91A3DL},{2UL},{2UL}}}; struct S0 *l_57 = &l_56[1][6]; int i, j; (*l_57) = l_56[3][0]; } ++l_61[1]; } else { /* block id: 47 */ int32_t *l_64 = &g_5; int32_t *l_65 = &l_37; int32_t *l_66 = &g_9; int32_t *l_67 = &g_5; int32_t *l_68 = &g_5; int32_t *l_69 = &l_37; int32_t *l_70 = &g_5; int32_t l_71[5]; int32_t *l_72 = &g_5; int32_t *l_73[7]; int8_t l_74 = 0L; int i; for (i = 0; i < 5; i++) l_71[i] = 0xEEA3ADEBL; for (i = 0; i < 7; i++) l_73[i] = (void*)0; ++l_80; } return l_83; }
void func_20() { if (func_17(14)) { if (!ENTITY::IS_ENTITY_DEAD(PLAYER::PLAYER_PED_ID(), 0)) { if (ENTITY::GET_ENTITY_MODEL(PLAYER::PLAYER_PED_ID()) == Global_101154.f_32575[0 /*29*/]) { Global_14413 = 0; } else if (ENTITY::GET_ENTITY_MODEL(PLAYER::PLAYER_PED_ID()) == Global_101154.f_32575[1 /*29*/]) { Global_14413 = 1; } else if (ENTITY::GET_ENTITY_MODEL(PLAYER::PLAYER_PED_ID()) == Global_101154.f_32575[2 /*29*/]) { Global_14413 = 2; } else { Global_14413 = 0; } } } else { Global_14413 = func_26(); if (Global_14413 == 145) { Global_14413 = 3; } if (Global_69489) { Global_14413 = 3; } if (Global_14413 > 3) { Global_14413 = 3; } } }
void main() { int iVar0; 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; iLocal_28 = 1; if (PLAYER::HAS_FORCE_CLEANUP_OCCURRED(18)) { func_38(); } func_37(20); func_36(); func_35(1); func_35(0); func_35(2); func_35(13); func_35(12); Global_2288 = 1; func_34(); if (!func_33(-1615086084)) { func_32(-1615086084, 2, 2, 2, 1, -1, 5); } if (!func_33(-1970925435)) { func_32(-1970925435, 2, 0, 0, 1, -1, 5); } if (!func_33(-1817481777)) { func_32(-1817481777, 2, 12, 3, 1, -1, 5); } iVar0 = false; while (func_31(23) && !func_30(134)) { if (func_26() == 1) { if (ENTITY::DOES_ENTITY_EXIST(PLAYER::PLAYER_PED_ID())) { if (!PED::IS_PED_INJURED(PLAYER::PLAYER_PED_ID())) { if ((!is_ped_falling(PLAYER::PLAYER_PED_ID()) && !is_entity_in_water(PLAYER::PLAYER_PED_ID())) && !is_entity_on_fire(PLAYER::PLAYER_PED_ID())) { if (!iVar0) { if (!((func_25() || is_player_switch_in_progress()) || func_24())) { if (func_13()) { iVar0 = true; } } } else { if (iLocal_28) { set_player_control(player_id(), false, 384); set_ped_max_move_blend_ratio(PLAYER::PLAYER_PED_ID(), 0f); enable_control_action(0, 173, 1); enable_control_action(0, 172, 1); enable_control_action(0, 174, 1); enable_control_action(0, 175, 1); enable_control_action(0, 176, 1); enable_control_action(0, 177, 1); enable_control_action(0, 178, 1); enable_control_action(0, 179, 1); enable_control_action(0, 180, 1); enable_control_action(0, 181, 1); } else { set_player_control(player_id(), true, 0); } switch (func_12()) { case -1615086084: if (!func_33(-1989308064)) { func_8(-1989308064, 0, 1, 0, 1, 6000, 6000, -1, 0, -1, 68); } break; case -1989308064: func_7(12, 0); func_6(134, 1); STATS::STAT_SET_INT(joaat("sp_final_decision"), 2, 1); break; case -1970925435: if (!func_33(-1060930305)) { func_8(-1060930305, 0, 1, 2, 2, 6000, 6000, -1, 0, -1, 68); } break; case -1060930305: func_7(12, 1); func_6(134, 1); STATS::STAT_SET_INT(joaat("sp_final_decision"), true, 1); break; case -1817481777: func_7(12, 2); func_6(134, 1); STATS::STAT_SET_INT(joaat("sp_final_decision"), 3, 1); break; default: if (!func_5(0)) { iVar0 = false; } else if (iLocal_28) { if (func_4()) { iLocal_28 = 0; } } break; } } } } } } wait(0); } func_3(20); Global_91317 = 0; func_1(); func_38(); }
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); } }
bool func_25(int iParam0, int iParam1) { if (func_51(*iParam0)) { if ((has_entity_been_damaged_by_any_ped(*iParam0) || has_entity_been_damaged_by_any_vehicle(*iParam0)) || has_entity_been_damaged_by_any_object(*iParam0)) { return true; } if (is_ped_sitting_in_any_vehicle(PLAYER::PLAYER_PED_ID())) { if (ENTITY::IS_ENTITY_TOUCHING_ENTITY(PLAYER::PLAYER_PED_ID(), *iParam0)) { return true; } if (ENTITY::DOES_ENTITY_EXIST(iLocal_79)) { if (ENTITY::IS_ENTITY_TOUCHING_ENTITY(PLAYER::PLAYER_PED_ID(), iLocal_79)) { return true; } } if (ENTITY::DOES_ENTITY_EXIST(iLocal_80)) { if (ENTITY::IS_ENTITY_TOUCHING_ENTITY(PLAYER::PLAYER_PED_ID(), iLocal_80)) { return true; } } if (ENTITY::DOES_ENTITY_EXIST(iLocal_81)) { if (ENTITY::IS_ENTITY_TOUCHING_ENTITY(PLAYER::PLAYER_PED_ID(), iLocal_81)) { return true; } } } if (has_ped_received_event(*iParam0, 60)) { return true; } if (PED::IS_PED_RAGDOLL(*iParam0)) { if (is_entity_at_entity(*iParam0, PLAYER::PLAYER_PED_ID(), 3f, 3f, 3f, 0, 1, 0)) { return true; } } if (has_ped_received_event(*iParam0, 50)) { return true; } if (func_33(*iParam0, 1126825984)) { return true; } if (func_26(*iParam0, 1, 0, 0, 0)) { return true; } if (is_explosion_in_sphere(-1, ENTITY::GET_ENTITY_COORDS(*iParam0, 1), 15f)) { return true; } if (has_ped_received_event(*iParam0, 72)) { return true; } if (iParam1) { if (is_player_wanted_level_greater(player_id(), 0)) { return true; } } } else { return true; } return false; }
void main() { int iVar0; 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; iLocal_28 = 77; iLocal_29 = 194; iLocal_30 = 52; iLocal_28 = 77; if (_get_number_of_instances_of_streamed_script(joaat("rampage_controller")) > 1) { terminate_this_thread(); } if (PLAYER::HAS_FORCE_CLEANUP_OCCURRED(34)) { func_36(); } if (!func_35(108)) { func_36(); } func_34(23); iVar0 = 0; while (iVar0 < 5) { func_26(iLocal_29 + iVar0, 0, 0); GAMEPLAY::SET_BIT(&(Global_101154.f_17264[iLocal_30 + iVar0 /*6*/]), 3); iVar0++; } func_18(1); while (true) { wait(0); if (!func_17(40)) { switch (func_15("RAMP_NEW_ALL")) { case 2: func_12("RAMP_NEW_ALL", 1, 0, 2000, 10000, 4, 0, 0, 0); break; case 1: func_11(40); break; } } if (func_1()) { func_18(0); while (func_1()) { wait(0); } while (is_auto_save_in_progress()) { wait(0); } func_18(1); } } }
/* * reads : g_5 g_43 g_9 g_47 g_48 g_47.f0.f0 g_53 g_54 g_73 * writes: g_5 g_43 g_9 g_48 g_53 g_54 */ static int32_t func_1(void) { /* block id: 0 */ int8_t l_4 = 0x45L; union U3 l_6[7][7] = {{{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}}},{{{0x15AA9614L}},{{0x4F094650L}},{{0x4F094650L}},{{0x15AA9614L}},{{0x15AA9614L}},{{0x4F094650L}},{{0x4F094650L}}},{{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}}},{{{0x15AA9614L}},{{0x15AA9614L}},{{0x4F094650L}},{{0x4F094650L}},{{0x15AA9614L}},{{0x15AA9614L}},{{0x4F094650L}}},{{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}},{{0UL}},{{0x87E08A11L}}},{{{0x15AA9614L}},{{0x4F094650L}},{{0x4F094650L}},{{0x15AA9614L}},{{0x15AA9614L}},{{0x4F094650L}},{{0x4F094650L}}},{{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}},{{0UL}},{{0x1E66C619L}}}}; int32_t l_12 = 1L; int32_t *l_42 = (void*)0; union U3 l_52[1] = {{{0UL}}}; int32_t l_68 = 6L; int32_t l_69 = 0xA0C022ADL; int i, j; lbl_82: if (((int8_t)(l_4 , g_5) << (int8_t)g_5)) { /* block id: 1 */ int16_t l_18 = 0x7F21L; int32_t l_22 = 0x42B622B6L; uint32_t l_23 = 4294967295UL; int16_t l_65 = (-1L); for (g_5 = 1; (g_5 <= 6); g_5 += 1) { /* block id: 4 */ int32_t *l_7 = (void*)0; int32_t *l_8 = &g_9[0]; int32_t *l_10 = (void*)0; int32_t *l_11 = (void*)0; int32_t *l_13 = (void*)0; int32_t *l_14 = (void*)0; int32_t l_15 = (-1L); int32_t *l_16 = &g_9[0]; int32_t *l_17 = &g_9[0]; int32_t *l_19 = &g_9[0]; int32_t *l_20 = (void*)0; int32_t *l_21[7][7] = {{(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0,&g_9[0],(void*)0}}; int i, j; l_23++; return l_12; } if (func_26(func_31(func_36((((int16_t)(((((int8_t)l_23 - (int8_t)l_23) >= l_12) != 0x3EDEL) ^ 0UL) - (int16_t)0UL) , l_42)), l_42, g_9[0], g_9[0]), l_52[0], g_53, &g_54)) { /* block id: 34 */ int32_t l_64 = 1L; int32_t *l_66 = &g_5; int32_t *l_67[1]; uint8_t l_70 = 255UL; int i; for (i = 0; i < 1; i++) l_67[i] = &g_54; (*l_66) ^= (((((uint8_t)((uint8_t)l_64 + (uint8_t)g_9[0]) * (uint8_t)l_65) < l_18) >= g_47.f0.f0) , (*g_53)); if (l_18) goto lbl_82; --l_70; } else { /* block id: 37 */ int32_t **l_74[7][4] = {{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42},{&l_42,&l_42,&l_42,&l_42}}; int i, j; (*g_73) = g_48; g_53 = &g_5; } } else { /* block id: 41 */ int32_t **l_76 = &l_42; int32_t ***l_75 = &l_76; uint16_t l_77 = 0xC540L; if ((((*l_75) = &g_53) == &g_53)) { /* block id: 43 */ l_77--; } else { /* block id: 45 */ l_68 ^= ((**l_76) = 0x56B38323L); } (***l_75) = ((uint8_t)g_9[0] << (uint8_t)1); } (*g_53) = l_69; return g_54; }
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; } }