Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_12(var uParam0, int iParam1)
- {
- struct<4> Var0;
- Var0 = -2083407963;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- Var0.f_2 = uParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_12922(iParam1));
- }
- void func_51(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 978576476;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_54(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 647335760;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_61(int iParam0, int iParam1)
- {
- struct<4> Var0;
- Var0 = 1662227603;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = MISC::GET_RANDOM_INT_IN_RANGE(0, 9999);
- if (!iParam1 == 0)
- {
- if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS())
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam1);
- }
- }
- }
- void func_103(int iParam0, var uParam1, var uParam2, var uParam3, var uParam4)
- {
- struct<6> Var0;
- Var0 = 904291471;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = uParam1;
- Var0.f_5 = uParam4;
- Var0.f_4 = uParam3;
- Var0.f_2 = uParam2;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iParam0);
- }
- }
- void func_164(int iParam0, int iParam1, int iParam2)
- {
- struct<4> Var0;
- Var0 = -332158592;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- Var0.f_2 = iParam2;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iParam0);
- }
- }
- void func_272(int iParam0, int iParam1, bool bParam2, bool bParam3)
- {
- struct<25> Var0;
- Var0.f_2.f_1 = -1;
- Var0.f_2.f_2 = -1;
- Var0.f_2.f_9 = -1;
- Var0.f_2.f_16 = -1;
- Var0.f_2.f_19 = -1;
- Var0.f_2.f_20 = -1;
- Var0 = -1389818017;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_24 = func_273(iParam0);
- Var0.f_2 = { Global_2420357[iParam1 /*41*/].f_3 };
- Var0.f_23 = 0;
- if (bParam2)
- {
- MISC::SET_BIT(&(Var0.f_23), 0);
- }
- if (bParam3)
- {
- MISC::SET_BIT(&(Var0.f_23), 1);
- }
- if (MISC::IS_BIT_SET(Global_2420357[iParam1 /*41*/].f_40, 1))
- {
- MISC::SET_BIT(&(Var0.f_23), 2);
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 25, func_12922(iParam0));
- }
- void func_274(int iParam0, int iParam1)
- {
- struct<24> Var0;
- Var0.f_2.f_1 = -1;
- Var0.f_2.f_2 = -1;
- Var0.f_2.f_9 = -1;
- Var0.f_2.f_16 = -1;
- Var0.f_2.f_19 = -1;
- Var0.f_2.f_20 = -1;
- Var0 = -2079182345;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { Global_2420357[iParam1 /*41*/].f_3 };
- Var0.f_23 = 0;
- if (MISC::IS_BIT_SET(Global_2420357[iParam1 /*41*/].f_40, 1))
- {
- MISC::SET_BIT(&(Var0.f_23), 2);
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 24, func_12922(iParam0));
- }
- void func_315(int iParam0, int iParam1, int iParam2)
- {
- vector3 vVar0;
- vVar0.x = 1712405526;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = Global_2420357[iParam1 /*41*/].f_3.f_17;
- if (iParam2 != 0)
- {
- vVar0.z = iParam2;
- }
- if (vVar0.z == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam0));
- }
- void func_386(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 1546761037;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- if (vVar0.z == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_388(bool bParam0, int iParam1, int iParam2, int iParam3, int iParam4)
- {
- struct<4> Var0;
- if (bParam0)
- {
- return;
- }
- if (!func_389(iParam2, iParam3))
- {
- return;
- }
- Var0 = 859295172;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam3;
- Var0.f_3 = iParam4;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_12922(iParam1));
- }
- void func_397(int iParam0)
- {
- struct<5> Var0;
- Var0 = 2109129064;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = Global_2420357[iParam0 /*41*/].f_3.f_17;
- Var0.f_3 = Global_2420357[iParam0 /*41*/].f_29;
- Var0.f_4 = Global_2420357[iParam0 /*41*/].f_30;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_403(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 267988140;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = Global_2420357[iParam0 /*41*/].f_3.f_17;
- if (vVar0.z == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_522(int iParam0, int iParam1)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2 = 50;
- vVar0.x = -937958596;
- vVar0.y = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < *iParam1)
- {
- vVar0.f_2[iVar1] = (*iParam1)[iVar1];
- iVar1++;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 53, func_12922(iParam0));
- }
- void func_886(vector3 vParam0)
- {
- vector3 vVar0;
- vVar0.x = 1293153302;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = vParam0.x;
- vVar0.f_2.f_1 = vParam0.y;
- vVar0.f_2.f_2 = vParam0.z;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 5, func_52(1, 1));
- }
- void func_966(int iParam0)
- {
- vector3 vVar0;
- vVar0.f_2 = -1;
- vVar0.x = -1137130817;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_996(vector3 vParam0, var uParam1, int iParam2, var uParam3)
- {
- struct<8> Var0;
- *uParam3 = func_997(&vParam0, &uParam1, &iParam2);
- Var0 = -1086361429;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = uParam1;
- Var0.f_6 = iParam2;
- Var0.f_7 = *uParam3;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, func_52(1, 1));
- }
- void func_1152(struct<23> Param0, var uParam1, var uParam2, var uParam3, var uParam4, var uParam5, var uParam6, var uParam7, bool bParam8, int iParam9)
- {
- struct<34> Var0;
- int iVar1;
- *uParam6 = func_1153(&Param0, &uParam7, &bParam8, &iParam9);
- Var0.f_2 = 5;
- Var0.f_2.f_16 = 5;
- Var0.f_2.f_22 = 5;
- Var0 = 1095223932;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < 5)
- {
- Var0.f_2[iVar1 /*3*/] = { Param0[iVar1 /*3*/] };
- Var0.f_2.f_22[iVar1] = Param0.f_22[iVar1];
- Var0.f_2.f_16[iVar1] = Param0.f_16[iVar1];
- iVar1++;
- }
- Var0.f_30 = *uParam6;
- Var0.f_31 = uParam7;
- Var0.f_32 = bParam8;
- Var0.f_33 = iParam9;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 34, func_52(1, 1));
- }
- void func_1342(vector3 vParam0)
- {
- vector3 vVar0;
- vVar0.x = -1935251191;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { vParam0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 5, func_52(1, 1));
- }
- void func_1351(vector3 vParam0, struct<22> Param1)
- {
- struct<6> Var0;
- Var0 = 1119007904;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = { Param1 };
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 27, func_52(1, 1));
- }
- void func_1485(vector3 vParam0, vector3 vParam1, var uParam2, var uParam3)
- {
- struct<10> Var0;
- Var0 = -913429276;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = { vParam1 };
- Var0.f_8 = uParam2;
- Var0.f_9 = uParam3;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 10, func_52(0, 1));
- }
- void func_1501(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4)
- {
- struct<6> Var0;
- Var0 = 2009021048;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_4 = iParam3;
- Var0.f_3 = iParam2;
- Var0.f_5 = iParam4;
- if (iParam0 == 0 && iParam4 > -1)
- {
- if (func_52(0, 1) > 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, func_52(0, 1));
- }
- }
- else if (func_1502(iParam0, 0, 0, 0) > 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, func_1502(iParam0, 0, 0, 0));
- }
- }
- void func_1525(int iParam0, int iParam1, float fParam2, int iParam3, int iParam4, int iParam5, int iParam6)
- {
- struct<9> Var0;
- Var0 = -1526880801;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_7 = iParam6;
- Var0.f_4 = iParam1;
- Var0.f_5 = iParam4;
- Var0.f_2 = fParam2;
- Var0.f_3 = iParam3;
- Var0.f_6 = iParam5;
- Var0.f_8 = MISC::GET_FRAME_COUNT();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 9, iParam0);
- }
- }
- void func_1526(int iParam0, int iParam1)
- {
- struct<4> Var0;
- Var0 = -208152671;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- void func_1705()
- {
- struct<2> Var0;
- Var0 = -934776860;
- Var0.f_1 = PLAYER::PLAYER_ID();
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, func_52(1, 1));
- }
- void func_1709(int iParam0)
- {
- struct<2> Var0;
- Var0 = 592903912;
- Var0.f_1 = PLAYER::PLAYER_ID();
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, func_12922(iParam0));
- }
- void func_1769(vector3 vParam0, int iParam1, char* sParam2, char* sParam3)
- {
- struct<9> Var0;
- int iVar1;
- Global_1574855 = 0;
- Var0 = -2144749992;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_6 = iParam1;
- Var0.f_8 = func_1772();
- Var0.f_7 = func_1771();
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- func_1754();
- func_1758(vParam0.z);
- Global_2436181.f_3604 = { vParam0 };
- StringCopy(&(Global_2436181.f_3491.f_79), sParam2, 64);
- StringCopy(&(Global_2436181.f_3491.f_95), sParam3, 64);
- Var0.f_5 = func_1770(PLAYER::PLAYER_ID());
- if (Var0.f_5 <= 0)
- {
- Var0.f_5 = MISC::GET_RANDOM_INT_IN_RANGE(5, 100);
- }
- func_1757(1);
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 9, iVar1);
- }
- }
- void func_1773()
- {
- vector3 vVar0;
- struct<2> Var1;
- int iVar2;
- if (!func_169(func_1743(), vVar0))
- {
- Var1 = -2129982052;
- Var1.f_1 = PLAYER::PLAYER_ID();
- iVar2 = func_52(1, 1);
- if (!iVar2 == 0)
- {
- func_1754();
- func_1757(0);
- SCRIPT::_0xA40CC53DF8E50837(1, &Var1, 2, iVar2);
- }
- }
- }
- void func_1968(struct<2> Param0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2.f_1 = -1;
- vVar0.x = 936246558;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 4, iVar1);
- }
- }
- void func_1980(struct<2> Param0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2.f_1 = -1;
- vVar0.x = 251733635;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 4, iVar1);
- }
- }
- void func_2057(struct<2> Param0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2.f_1 = -1;
- vVar0.x = -1922434815;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 4, iVar1);
- }
- }
- void func_2063(struct<2> Param0, int iParam1, int iParam2, int iParam3, bool bParam4)
- {
- struct<10> Var0;
- int iVar1;
- Var0.f_2.f_1 = -1;
- Var0.f_8 = -1;
- Var0.f_9 = -1;
- Var0 = -338175983;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { Param0 };
- Var0.f_6 = iParam1;
- Var0.f_4 = iParam2;
- Var0.f_5 = iParam3;
- Var0.f_7 = bParam4;
- if (bParam4)
- {
- Var0.f_8 = Global_2512808.f_5833.f_4;
- Var0.f_9 = Global_2512808.f_5833.f_5;
- }
- iVar1 = 0;
- if (iVar1 == 0)
- {
- if (func_35(PLAYER::PLAYER_ID(), Var0.f_2))
- {
- iVar1 = func_2064(1);
- }
- else
- {
- if (bParam4 && (iParam3 == 14 || iParam3 == 13))
- {
- if (func_559() != func_13107())
- {
- iVar1 = func_2064(0);
- }
- if (func_11210(Var0.f_2, 0, 1))
- {
- MISC::SET_BIT(&iVar1, Var0.f_2);
- }
- }
- else
- {
- if (func_11210(Var0.f_2, 0, 1))
- {
- iVar1 = func_12922(Var0.f_2);
- }
- if (func_559() != func_13107())
- {
- MISC::SET_BIT(&iVar1, func_559());
- }
- }
- MISC::SET_BIT(&iVar1, PLAYER::PLAYER_ID());
- }
- }
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 10, iVar1);
- }
- }
- void func_2067(var uParam0, int iParam1, int iParam2, var uParam3)
- {
- struct<15> Var0;
- int iVar1;
- int iVar2;
- Var0.f_2 = 3;
- Var0.f_2.f_1.f_1 = -1;
- Var0.f_2.f_1.f_2.f_1 = -1;
- Var0.f_2.f_1.f_2.f_2.f_1 = -1;
- Var0.f_10 = 3;
- Var0.f_14 = 3;
- Var0 = 2132994679;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < 3)
- {
- Var0.f_2[iVar1 /*2*/] = { *(uParam0[iVar1 /*2*/]) };
- Var0.f_14[iVar1] = (*iParam1)[iVar1];
- Var0.f_10[iVar1] = (*uParam3)[iVar1];
- iVar1++;
- }
- Var0.f_9 = iParam2;
- iVar2 = func_2064(1);
- if (!func_1335(1))
- {
- iVar2 = 0;
- MISC::SET_BIT(&iVar2, PLAYER::PLAYER_ID());
- }
- if (!iVar2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 18, iVar2);
- }
- }
- void func_2125()
- {
- struct<2> Var0;
- int iVar1;
- Var0 = -1913804580;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = func_52(1, 0);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iVar1);
- }
- }
- void func_2130(int iParam0, var uParam1, var uParam2, int iParam3)
- {
- struct<6> Var0;
- int iVar1;
- if (iParam0 == func_13107() || !func_11210(iParam0, 0, 1))
- {
- return;
- }
- Var0 = -908807526;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = uParam2;
- Var0.f_5 = iParam3;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iVar1);
- }
- }
- void func_2130(int iParam0, var uParam1, var uParam2, int iParam3)
- {
- struct<6> Var0;
- int iVar1;
- if (iParam0 == func_13107() || !func_11210(iParam0, 0, 1))
- {
- return;
- }
- Var0 = -908807526;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = uParam2;
- Var0.f_5 = iParam3;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iVar1);
- }
- }
- void func_2287(int iParam0, int iParam1, vector3 vParam2, int iParam3, bool bParam4, bool bParam5, bool bParam6, int iParam7)
- {
- struct<11> Var0;
- int iVar1;
- Var0.f_5 = 1;
- Var0 = 1971156951;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam0;
- Var0.f_2 = iParam1;
- Var0.f_5 = 1;
- Var0.f_6 = { vParam2 };
- Var0.f_9 = bParam6;
- Var0.f_10 = iParam7;
- iVar1 = func_52(1, 1);
- Var0.f_4 = iParam3;
- if (bParam4)
- {
- if (!ENTITY::IS_ENTITY_DEAD(PLAYER::PLAYER_PED_ID(), 0))
- {
- if (PED::IS_PED_IN_ANY_VEHICLE(PLAYER::PLAYER_PED_ID(), 0))
- {
- iVar1 = func_1502(PED::GET_VEHICLE_PED_IS_IN(PLAYER::PLAYER_PED_ID(), 0), 1, 0, 0);
- }
- }
- }
- else if (bParam5)
- {
- if (func_154(Var0.f_2) == 5 || func_154(Var0.f_2) == 8)
- {
- iVar1 = func_2288(1, 1);
- }
- else
- {
- iVar1 = func_2288(1, 0);
- }
- }
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 11, iVar1);
- }
- }
- void func_2669(int iParam0, bool bParam1)
- {
- struct<5> Var0;
- Var0 = -708907255;
- Var0.f_2 = bParam1;
- Var0.f_1 = PLAYER::PLAYER_ID();
- func_2670(&(Var0.f_3), &(Var0.f_4));
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iParam0);
- }
- }
- void func_3533(int iParam0, var uParam1, var uParam2)
- {
- struct<4> Var0;
- Var0 = 1494947375;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam1;
- Var0.f_3 = uParam2;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam0);
- }
- }
- void func_3586(int iParam0, var uParam1, var uParam2)
- {
- struct<5> Var0;
- int iVar1;
- Var0 = 701241421;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = uParam2;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iVar1);
- }
- }
- void func_3605(int iParam0, var uParam1)
- {
- struct<4> Var0;
- int iVar1;
- Var0 = -1261669520;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = uParam1;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iVar1);
- }
- }
- void func_3645(var uParam0, var uParam1, int iParam2)
- {
- struct<5> Var0;
- int iVar1;
- int iVar2;
- Var0 = -815647753;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = uParam0;
- Var0.f_4 = uParam1;
- if (iParam2 != func_13107())
- {
- Var0.f_2 = iParam2;
- }
- else
- {
- Var0.f_2 = func_13107();
- }
- iVar1 = NETWORK::NETWORK_GET_HOST_OF_SCRIPT("freemode", -1, 0);
- if (iVar1 != func_13107())
- {
- MISC::SET_BIT(&iVar2, iVar1);
- }
- if (!iVar2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iVar2);
- }
- }
- void func_3646()
- {
- vector3 vVar0;
- int iVar1;
- vVar0.x = -1295027194;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = PLAYER::PLAYER_ID();
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iVar1);
- }
- }
- void func_3895(struct<2> Param0, var uParam1, var uParam2, var uParam3, var uParam4, var uParam5, var uParam6, var uParam7, var uParam8, var uParam9, var uParam10, var uParam11, var uParam12, int iParam13)
- {
- Param0 = -1942454564;
- Param0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam13 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Param0, 14, iParam13);
- }
- }
- void func_4246(int iParam0, var uParam1)
- {
- vector3 vVar0;
- vVar0.x = -1815592455;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = uParam1;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam0);
- }
- }
- void func_4362(bool bParam0, var uParam1, int iParam2, struct<24> Param3)
- {
- struct<5> Var0;
- Var0.f_4.f_3 = 18;
- Var0 = 2007171053;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = { Param3 };
- if (!iParam2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 28, iParam2);
- }
- }
- void func_4703(int iParam0)
- {
- struct<2> Var0;
- Var0 = 275135072;
- Var0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iParam0);
- }
- }
- void func_4727(int iParam0)
- {
- struct<2> Var0;
- Var0 = -579670392;
- Var0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iParam0);
- }
- }
- void func_4767(var uParam0, int iParam1, int iParam2, var uParam3, var uParam4, vector3 vParam5)
- {
- struct<11> Var0;
- int iVar1;
- Var0 = 2002016063;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam2;
- Var0.f_3 = uParam3;
- Var0.f_5 = uParam0;
- Var0.f_4 = iParam1;
- Var0.f_10 = uParam4;
- if (func_11210(PLAYER::PLAYER_ID(), 0, 1) && func_4769())
- {
- Var0.f_6 = { vParam5 };
- iVar1 = func_4768(0);
- if (iVar1 != 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 11, iVar1);
- }
- }
- }
- void func_4958(int iParam0, bool bParam1)
- {
- vector3 vVar0;
- vVar0.x = 1619191243;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = bParam1;
- if (bParam1)
- {
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam0);
- }
- void func_4975(int iParam0, var uParam1, var uParam2, bool bParam3)
- {
- struct<5> Var0;
- int iVar1;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0 = 607285517;
- Var0.f_2 = uParam1;
- Var0.f_3 = uParam2;
- Var0.f_4 = bParam3;
- MISC::SET_BIT(&iVar1, iParam0);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iVar1);
- }
- }
- void func_4990(int iParam0, var uParam1, var uParam2, var uParam3)
- {
- struct<8> Var0;
- Var0 = 698358792;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam1;
- Var0.f_4 = uParam2;
- Var0.f_3 = uParam3;
- Var0.f_5 = func_273(iParam0);
- func_2670(&(Var0.f_6), &(Var0.f_7));
- if (iParam0 != func_13107())
- {
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(iParam0))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, func_12922(iParam0));
- }
- }
- }
- void func_4996(int iParam0)
- {
- struct<2> Var0;
- Var0 = 1836604412;
- Var0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iParam0);
- }
- }
- void func_5010(var uParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = 330091995;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = uParam0;
- if (!iParam1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam1);
- }
- }
- void func_5016(int iParam0, bool bParam1)
- {
- struct<7> Var0;
- int iVar1;
- Var0 = 1902413791;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { Global_2512808.f_4526 };
- Var0.f_6 = func_273(iParam0);
- if (bParam1)
- {
- Var0.f_5 = bParam1;
- Var0.f_4 = NETWORK::GET_NETWORK_TIME();
- }
- iVar1 = func_12922(iParam0);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, iVar1);
- }
- }
- void func_5017(int iParam0, int iParam1, int iParam2)
- {
- struct<7> Var0;
- int iVar1;
- Var0 = 243958467;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = Global_2436181.f_70;
- Var0.f_5 = iParam2;
- Var0.f_6 = func_273(iParam0);
- if (Var0.f_5)
- {
- Var0.f_3 = NETWORK::GET_NETWORK_TIME();
- }
- iVar1 = func_12922(iParam0);
- Var0.f_4 = iParam1;
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, iVar1);
- }
- }
- void func_5053()
- {
- int iVar0;
- struct<2> Var1;
- Var1 = -305370829;
- Var1.f_1 = PLAYER::PLAYER_ID();
- iVar0 = 0;
- while (iVar0 < 7)
- {
- if (Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_11.f_11[iVar0] != func_13107())
- {
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_11.f_11[iVar0]))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var1, 2, func_12922(Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_11.f_11[iVar0]));
- }
- }
- iVar0++;
- }
- }
- void func_5061(int iParam0)
- {
- struct<2> Var0;
- Var0 = 1002229892;
- Var0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iParam0);
- }
- }
- void func_5063(var uParam0, int iParam1, var uParam2, var uParam3, var uParam4, var uParam5)
- {
- struct<7> Var0;
- Var0 = 193462843;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam2;
- Var0.f_4 = uParam3;
- Var0.f_5 = uParam4;
- Var0.f_6 = uParam5;
- if (!iParam1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, iParam1);
- }
- }
- void func_5068(int iParam0, int iParam1, int iParam2)
- {
- struct<8> Var0;
- Var0 = 708476799;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- Var0.f_5 = func_508(2045, -1, 0);
- Var0.f_7 = iParam2;
- func_5069(iParam0);
- if (func_11210(iParam0, 0, 1))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 10, func_12922(iParam0));
- MISC::SET_BIT(&Global_1573842, 11);
- MISC::CLEAR_BIT(&Global_1573842, 12);
- Global_1573842.f_17 = Var0.f_7;
- if (!Global_1573864)
- {
- Global_1573864 = 1;
- }
- func_12684(27, 1, -1, 1);
- }
- }
- void func_5819(int iParam0, int iParam1)
- {
- vector3 vVar0;
- if (!iParam0 == 0)
- {
- vVar0.x = -2139586903;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam0);
- }
- }
- void func_5823(int iParam0, int iParam1, int iParam2)
- {
- struct<4> Var0;
- if (!iParam0 == 0)
- {
- Var0 = 1784936500;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_3 = iParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam0);
- }
- }
- void func_5871(int iParam0, int iParam1)
- {
- vector3 vVar0;
- if (!iParam0 == 0)
- {
- vVar0.x = 424838916;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam0);
- }
- }
- void func_5902(bool bParam0, bool bParam1, bool bParam2)
- {
- struct<5> Var0;
- Var0 = 1013531873;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = bParam1;
- Var0.f_4 = bParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_5909(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = -916105971;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_5919(bool bParam0, bool bParam1, bool bParam2)
- {
- struct<5> Var0;
- Var0 = 669821754;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = bParam1;
- Var0.f_4 = bParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_5920(bool bParam0, bool bParam1, bool bParam2)
- {
- struct<5> Var0;
- Var0 = -1566877982;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = bParam1;
- Var0.f_4 = bParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_5924(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = -762507457;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_5965(bool bParam0, bool bParam1, bool bParam2)
- {
- struct<5> Var0;
- Var0 = 4280331;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = bParam1;
- Var0.f_4 = bParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_6318(int iParam0, bool bParam1, int iParam2, bool bParam3, int iParam4)
- {
- struct<10> Var0;
- Var0 = -611358091;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam1;
- Var0.f_3 = bParam3;
- Var0.f_4 = iParam2;
- Var0.f_9 = iParam4;
- func_5069(iParam0);
- if (iParam0 != func_13107() && func_11210(iParam0, 0, 1))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 10, func_12922(iParam0));
- MISC::CLEAR_BIT(&Global_1573842, 12);
- if (bParam1)
- {
- if (Global_1573842.f_17 == 0)
- {
- func_6319(1);
- }
- }
- }
- }
- void func_6371(int iParam0, bool bParam1, int iParam2, bool bParam3, var uParam4)
- {
- struct<7> Var0;
- Var0 = 1339027786;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam1;
- Var0.f_3 = bParam3;
- Var0.f_4 = iParam2;
- Var0.f_6 = uParam4;
- func_5069(iParam0);
- if (iParam0 != func_13107() && func_11210(iParam0, 0, 1))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, func_12922(iParam0));
- MISC::CLEAR_BIT(&Global_1573842, 7);
- if (bParam1)
- {
- func_6319(1);
- func_6372(iParam0);
- }
- }
- }
- void func_6400(var uParam0, int iParam1, int iParam2)
- {
- struct<4> Var0;
- Var0 = 600201771;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = iParam1;
- if (!iParam2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam2);
- }
- }
- void func_6401(var uParam0, int iParam1, int iParam2)
- {
- struct<4> Var0;
- Var0 = -1546148621;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = iParam1;
- if (!iParam2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam2);
- }
- }
- void func_6413(int iParam0, int iParam1, int iParam2)
- {
- struct<4> Var0;
- Var0 = 92543853;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = iParam1;
- if (!iParam2 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam2);
- }
- }
- int func_7321(int iParam0, struct<10> Param1, var uParam2, var uParam3, var uParam4, var uParam5, var uParam6, var uParam7, var uParam8, var uParam9, var uParam10, var uParam11, var uParam12, var uParam13, bool bParam14, int iParam15, int iParam16, int iParam17, int iParam18)
- {
- int iVar0;
- int iVar1;
- int iVar2;
- struct<20> Var3;
- if (func_11199(PLAYER::PLAYER_ID(), 0))
- {
- return 0;
- }
- if (Param1 == 0)
- {
- return 0;
- }
- iVar0 = PLAYER::GET_PLAYER_TEAM(PLAYER::PLAYER_ID());
- if (!iParam15 == -1)
- {
- if (!iVar0 == iParam15)
- {
- return 0;
- }
- }
- iVar1 = func_13107();
- if (iParam17 != -1)
- {
- iVar1 = PLAYER::INT_TO_PLAYERINDEX(iParam17);
- }
- iVar2 = func_7328();
- Var3.f_4.f_1 = -1;
- Var3.f_4.f_2 = -1;
- Var3.f_4.f_9 = -1;
- Var3 = 719958043;
- Var3.f_1 = PLAYER::PLAYER_ID();
- Var3.f_2 = iVar0;
- Var3.f_3 = iParam0;
- Var3.f_4 = { Param1 };
- Var3.f_14 = uParam13;
- Var3.f_15 = bParam14;
- Var3.f_16 = iParam16;
- Var3.f_17 = iVar1;
- Var3.f_18 = iParam18;
- Var3.f_19 = iVar2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var3, 20, func_7327());
- func_7322(719958043, iVar2, Param1, Param1.f_1);
- return iVar2;
- }
- void func_7339(int iParam0)
- {
- vector3 vVar0;
- if (iParam0 == 0)
- {
- return;
- }
- vVar0.x = 2083656286;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_7327());
- func_7322(2083656286, iParam0, 0, -1);
- }
- void func_7358(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = 782927799;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_52(1, 1));
- func_7322(782927799, Param0.f_17, 0, -1);
- }
- void func_7634(int iParam0, int iParam1, int iParam2)
- {
- struct<8> Var0;
- if (func_11210(iParam0, 0, 1))
- {
- Var0 = 887219908;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_4 = iParam2;
- Var0.f_5 = func_273(iParam0);
- func_2670(&(Var0.f_6), &(Var0.f_7));
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, func_12922(iParam0));
- }
- }
- void func_7643(int iParam0, int iParam1, struct<13> Param2, var uParam3, int iParam4, int iParam5, bool bParam6)
- {
- struct<22> Var0;
- struct<20> Var1;
- if (!bParam6)
- {
- Var0 = 407182359;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = uParam3;
- Var0.f_2 = iParam1;
- Var0.f_5 = iParam4;
- Var0.f_4 = iParam5;
- Var0.f_7 = { Param2 };
- func_2670(&(Var0.f_20), &(Var0.f_21));
- if (func_95(Param2))
- {
- if (!NETWORK::NETWORK_IS_GAMER_IN_MY_SESSION(&Param2))
- {
- StringCopy(&Var1, PLAYER::GET_PLAYER_NAME(PLAYER::PLAYER_ID()), 32);
- if (func_11210(iParam1, 0, 1))
- {
- StringCopy(&(Var1.f_8), PLAYER::GET_PLAYER_NAME(iParam1), 32);
- }
- Var1.f_16 = uParam3;
- Var1.f_17 = iParam5;
- Var1.f_18 = Global_1595693[PLAYER::PLAYER_ID() /*680*/].f_211.f_6;
- Var1.f_19 = iParam4;
- SOCIALCLUB::_0xDA024BDBD600F44A(&Param2);
- SOCIALCLUB::_0x6AFD2CD753FEEF83(&Var1);
- }
- }
- Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_530 = iParam5;
- if (MISC::IS_BIT_SET(Var0.f_3, 2))
- {
- Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_531 = PLAYER::PLAYER_ID();
- }
- else
- {
- Global_1627537[PLAYER::PLAYER_ID() /*532*/].f_531 = Var0.f_2;
- }
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 22, iParam0);
- }
- Global_2512808.f_1759.f_57 = 0;
- }
- else
- {
- MISC::SET_BIT(&(Global_2512808.f_2193.f_18), 0);
- Global_2512808.f_2193 = iParam0;
- Global_2512808.f_2193.f_1 = iParam1;
- Global_2512808.f_2193.f_2 = { Param2 };
- Global_2512808.f_2193.f_15 = uParam3;
- Global_2512808.f_2193.f_16 = iParam4;
- Global_2512808.f_2193.f_17 = iParam5;
- Global_2097152[func_580() /*12130*/].f_11712.f_13 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_14 = 0;
- Global_2097152[func_580() /*12130*/].f_11712 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_1 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_2 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_3 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_4 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_5 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_6 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_7 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_8 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_9 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_10 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_11 = 0;
- Global_2097152[func_580() /*12130*/].f_11712.f_12 = 0;
- func_958(15, 0);
- }
- }
- void func_7676(int iParam0, int iParam1, int iParam2, int iParam3, bool bParam4)
- {
- struct<22> Var0;
- Var0 = -1728591878;
- Var0.f_4 = iParam2;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_6 = iParam3;
- func_2670(&(Var0.f_20), &(Var0.f_21));
- if (bParam4)
- {
- MISC::SET_BIT(&(Var0.f_3), 0);
- }
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 22, iParam0);
- }
- }
- void func_7755(int iParam0)
- {
- struct<4> Var0;
- Var0 = -223285030;
- Var0.f_1 = PLAYER::PLAYER_ID();
- func_2670(&(Var0.f_2), &(Var0.f_3));
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam0);
- }
- }
- void func_7765()
- {
- struct<2> Var0;
- int iVar1;
- Var0 = 190558916;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 3, iVar1);
- }
- }
- void func_7769(int iParam0)
- {
- struct<4> Var0;
- Var0 = 1385795868;
- Var0.f_1 = PLAYER::PLAYER_ID();
- func_2670(&(Var0.f_2), &(Var0.f_3));
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam0);
- }
- }
- void func_7823()
- {
- struct<2> Var0;
- int iVar1;
- Var0 = 1716320026;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iVar1);
- }
- }
- void func_8411(int iParam0, bool bParam1, bool bParam2, bool bParam3)
- {
- vector3 vVar0;
- struct<13> Var1;
- int iVar2;
- int iVar3;
- int iVar4;
- if (!func_11210(iParam0, 0, 1))
- {
- return;
- }
- vVar0.x = 159765390;
- vVar0.y = PLAYER::PLAYER_ID();
- NETWORK::NETWORK_GET_LOCAL_HANDLE(&Var1, 13);
- vVar0.f_2 = { Var1 };
- if (bParam1)
- {
- iVar2 = 0;
- MISC::SET_BIT(&iVar2, 6);
- vVar0.f_2.f_13 = iVar2;
- vVar0.f_2.f_19 = 0;
- vVar0.f_2.f_20 = 0;
- }
- if (bParam2)
- {
- iVar3 = 0;
- MISC::SET_BIT(&iVar3, 0);
- vVar0.f_2.f_13 = iVar3;
- vVar0.f_2.f_19 = 1;
- vVar0.f_2.f_20 = 0;
- }
- if (bParam3)
- {
- iVar4 = 0;
- MISC::SET_BIT(&iVar4, 0);
- vVar0.f_2.f_13 = iVar4;
- vVar0.f_2.f_19 = 1;
- vVar0.f_2.f_20 = 1;
- }
- vVar0.f_2.f_14 = func_4068(PLAYER::PLAYER_ID());
- StringCopy(&(vVar0.f_2.f_15), "", 16);
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_12922(iParam0));
- }
- void func_8677(int iParam0, int iParam1, int iParam2, int iParam3)
- {
- struct<6> Var0;
- Var0 = -468275026;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- Var0.f_5 = iParam3;
- Var0.f_2 = iParam2;
- if (!iParam0 == 0)
- {
- if (iParam3 == 0)
- {
- Global_2447954.f_4261[Var0.f_3] = 0;
- func_961(&(Global_2447954.f_4261.f_53[iParam1 /*2*/]), 1, 0);
- Global_2447954.f_4261.f_316 = NETWORK::NETWORK_GET_HOST_OF_SCRIPT("Freemode", -1, 0);
- }
- else
- {
- Global_2512808.f_4435.f_1 = 0;
- func_961(&(Global_2512808.f_4435.f_2), 0, 0);
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iParam0);
- }
- }
- void func_8679(int iParam0, int iParam1, var uParam2, int iParam3)
- {
- struct<4> Var0;
- Var0 = 2004779757;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- Var0.f_2 = uParam2;
- Global_2447954.f_4261.f_319[iParam1 /*4*/] = 1;
- func_961(&(Global_2447954.f_4261.f_319[iParam1 /*4*/].f_1), 1, 0);
- if (!iParam0 == 0)
- {
- if (iParam3 == 0)
- {
- func_12628(&(Global_2447954.f_4261.f_53[iParam1 /*2*/]));
- }
- else
- {
- func_12628(&(Global_2512808.f_4435.f_2));
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, iParam0);
- }
- }
- void func_8714(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 430009387;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Global_2512808.f_4526 };
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 4, iParam0);
- }
- }
- void func_8851(bool bParam0, int iParam1)
- {
- struct<4> Var0;
- Var0 = -152149316;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = bParam0;
- Var0.f_3 = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- void func_8853(bool bParam0)
- {
- vector3 vVar0;
- vVar0.x = 2118004536;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = bParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_8855(bool bParam0, var uParam1, int iParam2)
- {
- struct<5> Var0;
- Var0 = -2106353019;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = uParam1;
- Var0.f_2 = bParam0;
- Var0.f_4 = iParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_52(1, 1));
- }
- void func_8857(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = 412657216;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_52(1, 1));
- }
- void func_8861(int iParam0, int iParam1, int iParam2, int iParam3)
- {
- struct<8> Var0;
- Var0 = -274657028;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = NETWORK::_0x815F18AD865F057F(iParam0);
- Var0.f_2 = iParam1;
- Var0.f_4 = iParam3;
- Var0.f_5 = 2;
- Var0.f_7 = iParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, func_52(1, 1));
- }
- void func_8862(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4)
- {
- struct<8> Var0;
- Var0 = -274657028;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = NETWORK::_0x815F18AD865F057F(iParam0);
- Var0.f_2 = iParam1;
- Var0.f_4 = iParam4;
- Var0.f_5 = 1;
- Var0.f_6 = iParam2;
- Var0.f_7 = iParam3;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, func_52(1, 1));
- }
- void func_9590(bool bParam0, int iParam1)
- {
- struct<4> Var0;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = iParam1;
- if (bParam0)
- {
- Var0 = -1694708591;
- }
- else
- {
- Var0 = 1602604019;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- void func_9592(int iParam0, bool bParam1, int iParam2, int iParam3)
- {
- struct<4> Var0;
- if (bParam1)
- {
- switch (iParam0)
- {
- case 0:
- Var0 = 317741264;
- break;
- case 1:
- Var0 = 604650656;
- break;
- case 3:
- Var0 = -1173748142;
- break;
- case 5:
- Var0 = -120561173;
- break;
- case 4:
- Var0 = -2017284210;
- break;
- case 6:
- Var0 = -1806670831;
- break;
- case 7:
- Var0 = -227457319;
- break;
- case 8:
- Var0 = 1198607085;
- break;
- case 9:
- Var0 = -2135041841;
- break;
- case 10:
- Var0 = -1954376645;
- break;
- case 12:
- Var0 = -1666309975;
- break;
- case 11:
- Var0 = 634497055;
- break;
- case 13:
- Var0 = -1136468803;
- break;
- case 15:
- Var0 = 1370262376;
- break;
- case 16:
- Var0 = -602483774;
- break;
- }
- }
- else
- {
- switch (iParam0)
- {
- case 0:
- Var0 = -19392864;
- break;
- case 1:
- Var0 = 1476210683;
- break;
- case 3:
- Var0 = -917612235;
- break;
- case 5:
- Var0 = 58699642;
- break;
- case 4:
- Var0 = 1531570031;
- break;
- case 6:
- Var0 = -1910243367;
- break;
- case 7:
- Var0 = -1966357838;
- break;
- case 8:
- Var0 = -1016325191;
- break;
- case 9:
- Var0 = 87510151;
- break;
- case 10:
- Var0 = 454158915;
- break;
- case 12:
- Var0 = -546303216;
- break;
- case 11:
- Var0 = 1719338424;
- break;
- case 13:
- Var0 = -118000240;
- break;
- case 15:
- Var0 = 1409375995;
- break;
- case 16:
- Var0 = 323252374;
- break;
- }
- }
- if (iParam2 == 0)
- {
- Var0.f_1 = PLAYER::PLAYER_ID();
- }
- else
- {
- Var0.f_1 = iParam2;
- }
- if (iParam3 != 0)
- {
- Var0.f_2 = iParam3;
- }
- Var0.f_3 = MISC::GET_RANDOM_INT_IN_RANGE(0, 9999);
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- void func_9907(int iParam0, var uParam1)
- {
- struct<4> Var0;
- if (ENTITY::DOES_ENTITY_EXIST(iParam0) && !ENTITY::IS_ENTITY_DEAD(iParam0, 0))
- {
- if (DECORATOR::DECOR_EXIST_ON(iParam0, "RespawnVeh"))
- {
- Var0 = -1875577010;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = DECORATOR::DECOR_GET_INT(iParam0, "RespawnVeh");
- Var0.f_3 = uParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- }
- }
- void func_10077(int iParam0, bool bParam1, var uParam2)
- {
- struct<7> Var0;
- Var0 = -1429477530;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = bParam1;
- Var0.f_5 = func_508(2045, -1, 0);
- Var0.f_6 = uParam2;
- func_5069(iParam0);
- if (func_11210(iParam0, 0, 1))
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, func_12922(iParam0));
- MISC::SET_BIT(&Global_1573842, 3);
- MISC::CLEAR_BIT(&Global_1573842, 7);
- if (!Global_1573864)
- {
- Global_1573864 = 1;
- }
- func_12684(27, 1, -1, 1);
- func_6372(iParam0);
- }
- }
- void func_10483(var uParam0, struct<6> Param1, int iParam2)
- {
- struct<10> Var0;
- Var0 = 1103701512;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = { Param1 };
- Var0.f_9 = iParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 10, func_52(1, 1));
- }
- void func_10500(var uParam0, int iParam1, vector3 vParam2, bool bParam3, var uParam4, int iParam5, bool bParam6)
- {
- struct<20> Var0;
- Var0.f_2.f_1 = -1;
- Var0.f_2.f_2 = -1;
- Var0.f_2.f_9 = -1;
- Var0 = 1205115056;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { *uParam0 };
- Var0.f_12 = iParam1;
- Var0.f_13 = { vParam2 };
- Var0.f_16 = bParam3;
- Var0.f_17 = uParam4;
- Var0.f_18 = iParam5;
- Var0.f_19 = bParam6;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 20, func_52(1, 1));
- }
- int func_10525(bool bParam0, int iParam1, struct<17> Param2, var uParam3, var uParam4, var uParam5, var uParam6, int iParam7)
- {
- int iVar0;
- int iVar1;
- struct<17> Var2;
- if (Param2 == 0)
- {
- return 0;
- }
- iVar0 = PLAYER::GET_PLAYER_TEAM(PLAYER::PLAYER_ID());
- if (!bParam0)
- {
- if (!iParam7 == -1)
- {
- if (!iVar0 == iParam7)
- {
- return 0;
- }
- }
- }
- else
- {
- iVar0 = iParam7;
- }
- iVar1 = func_7328();
- Var2.f_5.f_1 = -1;
- Var2.f_5.f_2 = -1;
- Var2.f_5.f_9 = -1;
- Var2 = 1757661991;
- Var2.f_1 = PLAYER::PLAYER_ID();
- Var2.f_2 = bParam0;
- Var2.f_3 = iVar0;
- Var2.f_4 = iParam1;
- Var2.f_5 = { Param2 };
- Var2.f_15 = iVar1;
- Var2.f_16 = Param2.f_16;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var2, 17, func_7327());
- func_7322(1757661991, iVar1, Param2, Param2.f_1);
- return iVar1;
- }
- int func_10548(int iParam0, int iParam1)
- {
- int iVar0;
- int iVar1;
- struct<4> Var2;
- if (iParam0 == 0)
- {
- return 0;
- }
- if (iParam1 == 0)
- {
- return 0;
- }
- iVar0 = PLAYER::PLAYER_ID();
- iVar1 = iVar0;
- if (!MISC::IS_BIT_SET(iParam1, iVar1))
- {
- return 0;
- }
- Var2 = 1935625888;
- Var2.f_1 = PLAYER::PLAYER_ID();
- Var2.f_2 = iParam1;
- Var2.f_3 = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var2, 4, func_7327());
- func_7322(1935625888, iParam0, 0, -1);
- return 1;
- }
- void func_10790(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = 317220882;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_52(1, 1));
- func_7322(317220882, Param0.f_17, 0, -1);
- }
- void func_10792(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = -582253348;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_52(1, 1));
- func_7322(-582253348, Param0.f_17, 0, -1);
- }
- void func_10795(int iParam0, var uParam1, int iParam2)
- {
- struct<14> Var0;
- if (iParam0 == 0)
- {
- return;
- }
- if (*uParam1 == 0)
- {
- return;
- }
- Var0.f_3.f_1 = -1;
- Var0.f_3.f_2 = -1;
- Var0.f_3.f_9 = -1;
- Var0 = 1991657389;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = { *uParam1 };
- Var0.f_13 = iParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 14, func_7327());
- func_7322(1991657389, iParam0, *uParam1, uParam1->f_1);
- }
- void func_10797(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = 1546761037;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- if (vVar0.z == 0)
- {
- return;
- }
- if (!NETWORK::NETWORK_IS_PLAYER_ACTIVE(iParam1))
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam1));
- }
- void func_10799(int iParam0)
- {
- vector3 vVar0;
- if (iParam0 == 0)
- {
- return;
- }
- vVar0.x = -1363027916;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_7327());
- func_7322(-1363027916, iParam0, 0, -1);
- }
- void func_10810(int iParam0)
- {
- vector3 vVar0;
- vVar0.x = -2048660369;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_7327());
- }
- void func_10812(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = 923406704;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_7327());
- }
- void func_10815(var uParam0)
- {
- vector3 vVar0;
- vVar0.x = 433632531;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = uParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(PLAYER::PLAYER_ID()));
- }
- void func_10816(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = 370161715;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_7327());
- }
- void func_10937(var uParam0, char* sParam1, var uParam2)
- {
- struct<20> Var0;
- int iVar1;
- int iVar2;
- if (!NETWORK::NETWORK_IS_GAME_IN_PROGRESS())
- {
- return;
- }
- if (func_11210(PLAYER::PLAYER_ID(), 1, 1))
- {
- if (PED::IS_PED_IN_ANY_VEHICLE(PLAYER::PLAYER_PED_ID(), 1))
- {
- iVar2 = PED::GET_VEHICLE_PED_IS_IN(PLAYER::PLAYER_PED_ID(), 1);
- if (VEHICLE::IS_VEHICLE_DRIVEABLE(iVar2, 0))
- {
- iVar1 = func_1502(iVar2, 0, 0, 0);
- Var0 = -844226642;
- Var0.f_1 = PLAYER::PLAYER_ID();
- StringCopy(&(Var0.f_2), sParam1, 64);
- Var0.f_18 = uParam0;
- Var0.f_19 = uParam2;
- if (iVar1 != 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 20, iVar1);
- }
- return;
- }
- }
- }
- }
- void func_10956(struct<21> Param0)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = 363967618;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Param0 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_7327());
- }
- void func_10961(vector3 vParam0, vector3 vParam1, float fParam2, int iParam3, int iParam4, int iParam5, var uParam6)
- {
- struct<13> Var0;
- int iVar1;
- Var0 = 539020759;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = { vParam1 };
- Var0.f_8 = fParam2;
- Var0.f_9 = iParam3;
- Var0.f_10 = iParam4;
- Var0.f_11 = iParam5;
- Var0.f_12 = uParam6;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 14, iVar1);
- }
- }
- void func_11007(struct<21> Param0, int iParam1)
- {
- struct<24> Var0;
- Var0.f_2.f_1 = -1;
- Var0.f_2.f_2 = -1;
- Var0.f_2.f_9 = -1;
- Var0.f_2.f_16 = -1;
- Var0.f_2.f_19 = -1;
- Var0.f_2.f_20 = -1;
- Var0 = 2464509;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { Param0 };
- Var0.f_23 = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 24, func_7327());
- }
- void func_11196()
- {
- struct<2> Var0;
- int iVar1;
- Var0 = 1928029288;
- Var0.f_1 = PLAYER::PLAYER_ID();
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iVar1);
- }
- }
- void func_11291(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = 537813547;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam1;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam0);
- }
- }
- void func_11333(var uParam0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.x = 491109628;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = uParam0;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iVar1);
- }
- }
- void func_11335(int iParam0, int iParam1)
- {
- struct<4> Var0;
- int iVar1;
- Var0 = 1062036170;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam0;
- Var0.f_3 = iParam1;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iVar1);
- }
- }
- void func_11391(int iParam0, int iParam1)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2 = 11;
- vVar0.x = 2037336155;
- vVar0.y = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < *iParam1)
- {
- vVar0.f_2[iVar1] = (*iParam1)[iVar1];
- iVar1++;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 14, func_12922(iParam0));
- }
- void func_11392(int iParam0, int iParam1)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2 = 50;
- vVar0.x = 1212474887;
- vVar0.y = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < *iParam1)
- {
- vVar0.f_2[iVar1] = (*iParam1)[iVar1];
- iVar1++;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 53, func_12922(iParam0));
- }
- void func_11393(int iParam0, int iParam1)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.f_2 = 50;
- vVar0.x = 377422460;
- vVar0.y = PLAYER::PLAYER_ID();
- iVar1 = 0;
- while (iVar1 < *iParam1)
- {
- vVar0.f_2[iVar1] = (*iParam1)[iVar1];
- iVar1++;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 53, func_12922(iParam0));
- }
- void func_11511(int iParam0, var uParam1, var uParam2)
- {
- struct<4> Var0;
- Var0 = -217104200;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam1;
- Var0.f_3 = uParam2;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iParam0);
- }
- }
- void func_11523(var uParam0, var uParam1)
- {
- struct<4> Var0;
- int iVar1;
- Var0 = 1179056767;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam1;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iVar1);
- }
- }
- void func_11526(var uParam0, var uParam1)
- {
- struct<4> Var0;
- int iVar1;
- Var0 = -1546727378;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam1;
- iVar1 = func_52(1, 1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iVar1);
- }
- }
- void func_11631(int iParam0)
- {
- var uVar0;
- var uVar1;
- var uVar2;
- var uVar3;
- var uVar4;
- var uVar5;
- struct<2> Var6;
- if (!MISC::IS_BIT_SET(Global_1626416[PLAYER::PLAYER_ID() /*35*/].f_28, 3) && iParam0)
- {
- CLOCK::GET_POSIX_TIME(&uVar0, &uVar1, &uVar2, &uVar3, &uVar4, &uVar5);
- Var6 = -448687371;
- Var6.f_1 = PLAYER::PLAYER_ID();
- SCRIPT::_0xA40CC53DF8E50837(1, &Var6, 2, func_52(1, 1));
- }
- MISC::SET_BIT(&(Global_1626416[PLAYER::PLAYER_ID() /*35*/].f_28), 3);
- }
- void func_11657(int iParam0, int iParam1, int iParam2)
- {
- struct<38> Var0;
- int iVar1;
- var uVar2;
- if (func_500() || func_10274())
- {
- Var0.f_2.f_14 = 10;
- Var0 = 1726220106;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { func_37(PLAYER::PLAYER_ID()) };
- Var0.f_2.f_13 = 1;
- Var0.f_2.f_14[0 /*2*/] = iParam0;
- Var0.f_2.f_14[0 /*2*/].f_1 = iParam1;
- Var0.f_37 = MISC::GET_FRAME_COUNT();
- if (iParam2 == 0)
- {
- iVar1 = func_52(1, 1);
- }
- else
- {
- MISC::SET_BIT(&iVar1, iParam2);
- }
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 38, iVar1);
- }
- }
- else
- {
- if ((iParam0 == 45 && MISC::IS_BIT_SET(iParam1, 10)) && MISC::IS_BIT_SET(iParam1, 5))
- {
- MISC::CLEAR_BIT(&iParam1, 10);
- }
- NETWORK::NETWORK_APPLY_TRANSITION_PARAMETER(iParam0, iParam1);
- }
- if (func_11658() != -1)
- {
- func_11662(func_11658(), iParam0, iParam1, &uVar2);
- }
- }
- void func_11771(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = 637738358;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam0));
- }
- void func_11792(var uParam0)
- {
- struct<19> Var0;
- if (func_11793(uParam0->f_9))
- {
- return;
- }
- Var0 = 1459583329;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = func_7087(uParam0->f_2, uParam0->f_1);
- Var0.f_3 = func_6570(uParam0);
- Var0.f_4 = func_354(uParam0);
- Var0.f_5 = func_332(uParam0);
- Var0.f_6 = func_6596(uParam0);
- Var0.f_7 = { func_10517(uParam0) };
- Var0.f_10 = { func_10516(uParam0) };
- Var0.f_13 = func_10515(uParam0);
- Var0.f_14 = func_10514(uParam0);
- Var0.f_15 = func_7399(uParam0);
- Var0.f_16 = func_7415(uParam0);
- Var0.f_17 = func_10153(uParam0, 0);
- Var0.f_18 = uParam0->f_9;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 19, func_52(1, 1));
- }
- void func_11794(var uParam0)
- {
- struct<25> Var0;
- if (func_11795(uParam0->f_9))
- {
- return;
- }
- Var0 = 1027461818;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { func_7222(uParam0, 0) };
- MemCopy(&(Var0.f_18), {func_7442(uParam0)}, 6);
- Var0.f_24 = uParam0->f_9;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 25, func_52(1, 1));
- }
- void func_11796(var uParam0)
- {
- struct<19> Var0;
- if (func_11797(uParam0->f_9))
- {
- return;
- }
- Var0 = 1562287992;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { func_10518(uParam0) };
- Var0.f_18 = uParam0->f_9;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 19, func_52(1, 1));
- }
- void func_11807(var uParam0, var uParam1, bool bParam2, int iParam3)
- {
- struct<13> Var0;
- int iVar1;
- Var0.f_2.f_1 = -1;
- Var0.f_2.f_2 = -1;
- Var0.f_2.f_9 = -1;
- Var0 = 1208631981;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { *uParam0 };
- Var0.f_12 = uParam1;
- iVar1 = 0;
- if (!bParam2)
- {
- if (func_11210(iParam3, 0, 1))
- {
- MISC::SET_BIT(&iVar1, iParam3);
- }
- else
- {
- bParam2 = true;
- }
- }
- if (bParam2)
- {
- iVar1 = func_52(1, 1);
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 13, iVar1);
- }
- void func_11840(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = 267988140;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = Global_2420357[iParam0 /*41*/].f_3.f_17;
- if (vVar0.z == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam1));
- }
- void func_11854(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.f_2.f_1 = -1;
- vVar0.f_2.f_2 = -1;
- vVar0.f_2.f_9 = -1;
- vVar0.f_2.f_16 = -1;
- vVar0.f_2.f_19 = -1;
- vVar0.f_2.f_20 = -1;
- vVar0.x = -1722592136;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { Global_2420357[iParam1 /*41*/].f_3 };
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 23, func_12922(iParam0));
- }
- void func_11869(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = -993047555;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = Global_2420357[iParam0 /*41*/].f_3.f_17;
- if (vVar0.z == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam1));
- }
- void func_11911(int iParam0, var uParam1, int iParam2, var uParam3)
- {
- struct<6> Var0;
- int iVar1;
- int iVar2;
- if (iParam2 == 0)
- {
- return;
- }
- Var0 = 1727415525;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam3;
- iVar1 = 0;
- iVar2 = 0;
- iVar2 = 0;
- while (iVar2 < 32)
- {
- if (MISC::IS_BIT_SET(Var0.f_2, iVar2))
- {
- iVar1++;
- }
- iVar2++;
- }
- Var0.f_3 = iVar1;
- Var0.f_4 = iParam2;
- Var0.f_5 = uParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 6, func_12922(iParam0));
- }
- void func_11935(int iParam0, var uParam1, var uParam2)
- {
- struct<4> Var0;
- Var0 = 522332093;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam1;
- Var0.f_3 = uParam2;
- if (Var0.f_2 == 0)
- {
- return;
- }
- if (Var0.f_3 == 0)
- {
- return;
- }
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_12922(iParam0));
- }
- void func_12000(struct<4> Param0)
- {
- struct<4> Var0;
- int iVar1;
- Var0 = -350677893;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = Param0.f_2;
- Var0.f_3 = Param0.f_3;
- iVar1 = func_12922(Param0.f_1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, iVar1);
- }
- }
- void func_12024(var uParam0, var uParam1, bool bParam2, int iParam3)
- {
- struct<5> Var0;
- Var0 = 1669800410;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = bParam2;
- if (!iParam3 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iParam3);
- }
- }
- void func_12026(var uParam0, var uParam1, float fParam2, int iParam3)
- {
- struct<5> Var0;
- Var0 = 428996178;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = fParam2;
- if (!iParam3 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iParam3);
- }
- }
- void func_12028(var uParam0, var uParam1, int iParam2, int iParam3)
- {
- struct<5> Var0;
- Var0 = -312732880;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- Var0.f_3 = uParam1;
- Var0.f_4 = iParam2;
- if (!iParam3 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, iParam3);
- }
- }
- void func_12063(int iParam0, int iParam1, var uParam2)
- {
- struct<4> Var0;
- if (func_11210(iParam0, 0, 0))
- {
- Var0 = -2117328718;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_3 = uParam2;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_12922(iParam0));
- }
- }
- void func_12066(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = -175906326;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam1;
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, func_12922(iParam0));
- }
- void func_12069(int iParam0, int iParam1, int iParam2, var uParam3)
- {
- struct<5> Var0;
- Var0 = 1155676918;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = iParam1;
- Var0.f_3 = iParam2;
- Var0.f_4 = uParam3;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 5, func_12922(iParam0));
- }
- void func_12223(var uParam0)
- {
- struct<4> Var0;
- Var0 = 625681723;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_3 = PLAYER::PLAYER_ID();
- Var0.f_2 = uParam0;
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 4, func_52(1, 1));
- }
- void func_12225(int iParam0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.x = 546004144;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- iVar1 = func_5820(1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iVar1);
- }
- }
- void func_12226(vector3 vParam0, int iParam1, int iParam2)
- {
- struct<7> Var0;
- int iVar1;
- Var0 = -1596308299;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = iParam1;
- Var0.f_6 = iParam2;
- if (iParam1 == 8)
- {
- iVar1 = func_12922(PLAYER::PLAYER_ID());
- }
- else
- {
- iVar1 = func_5820(1);
- }
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 7, iVar1);
- }
- }
- void func_12232(vector3 vParam0, int iParam1, int iParam2, var uParam3)
- {
- struct<8> Var0;
- int iVar1;
- Var0 = 289161681;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { vParam0 };
- Var0.f_5 = iParam1;
- Var0.f_6 = iParam2;
- Var0.f_7 = uParam3;
- iVar1 = func_5820(1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 8, iVar1);
- }
- }
- void func_12252(vector3 vParam0)
- {
- vector3 vVar0;
- int iVar1;
- vVar0.x = 442250450;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.f_2 = { vParam0 };
- iVar1 = func_5820(1);
- if (!iVar1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 5, iVar1);
- }
- }
- void func_12321()
- {
- int iVar0;
- int iVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- int iVar5;
- vector3 vVar6;
- int iVar7;
- iVar3 = func_12323(3, 1, 0, -1);
- iVar4 = func_12323(3, 6, 0, -1);
- iVar5 = func_12323(3, 2, 0, -1);
- iVar0 = func_12322(iVar3, iVar4, iVar5);
- iVar3 = func_12323(3, 7, 0, -1);
- iVar4 = func_12323(3, 5, 0, -1);
- iVar5 = func_12323(3, 4, 0, -1);
- iVar1 = func_12322(iVar3, iVar4, iVar5);
- iVar3 = SYSTEM::FLOOR(func_717(133, -1));
- iVar4 = func_8758();
- iVar5 = 0;
- iVar2 = func_12322(iVar3, iVar4, iVar5);
- if (func_500() || func_10274())
- {
- vVar6.f_2.f_14 = 10;
- vVar6.x = 1726220106;
- vVar6.y = PLAYER::PLAYER_ID();
- vVar6.f_2 = { func_37(PLAYER::PLAYER_ID()) };
- vVar6.f_2.f_13 = 3;
- vVar6.f_2.f_14[0 /*2*/] = 49;
- vVar6.f_2.f_14[0 /*2*/].f_1 = iVar0;
- vVar6.f_2.f_14[1 /*2*/] = 50;
- vVar6.f_2.f_14[1 /*2*/].f_1 = iVar1;
- vVar6.f_2.f_14[2 /*2*/] = 51;
- vVar6.f_2.f_14[2 /*2*/].f_1 = iVar2;
- iVar7 = func_52(1, 1);
- if (!iVar7 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar6, 38, iVar7);
- }
- }
- else
- {
- func_11657(49, iVar0, 0);
- func_11657(50, iVar1, 0);
- func_11657(51, iVar2, 0);
- }
- }
- void func_12347(int iParam0, var uParam1, var uParam2)
- {
- struct<16> Var0;
- Var0 = -281184698;
- Var0.f_1 = PLAYER::PLAYER_ID();
- Var0.f_2 = { *uParam1 };
- Var0.f_15 = uParam2;
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 16, iParam0);
- }
- }
- void func_12921(int iParam0)
- {
- struct<2> Var0;
- Var0 = -1849400720;
- Var0.f_1 = PLAYER::PLAYER_ID();
- if (!iParam0 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &Var0, 2, iParam0);
- }
- }
- void func_13025(int iParam0, int iParam1)
- {
- vector3 vVar0;
- vVar0.x = -1177054917;
- vVar0.y = PLAYER::PLAYER_ID();
- vVar0.z = iParam0;
- if (!iParam1 == 0)
- {
- SCRIPT::_0xA40CC53DF8E50837(1, &vVar0, 3, iParam1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement