Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_5974(int iParam0)
- {
- bool bVar0;
- bool bVar1;
- bVar0 = true;
- bVar1 = false;
- switch (Global_2436181.f_574)
- {
- case 0:
- if (func_5981())
- {
- if (func_579() >= 0)
- {
- if (!func_1093(29))
- {
- if ((NETCASH::NETWORK_GET_VC_BANK_BALANCE() + NETCASH::NETWORK_GET_VC_WALLET_BALANCE(-1)) > Global_262145.f_7158 || NETCASH::NETWORK_CAN_SPEND_MONEY(Global_262145.f_7158, false, true, 0, -1))
- {
- if (Global_2436181.f_573 == -1)
- {
- func_5980(&(Global_2436181.f_573), 3, "", 1, 0, 0, 0);
- }
- if (func_5979(Global_2436181.f_573, 1))
- {
- if (func_954())
- {
- Global_2436181.f_574++;
- }
- else
- {
- func_5978(iParam0);
- }
- }
- else if (func_5977(Global_2436181.f_573))
- {
- bVar1 = true;
- }
- bVar0 = false;
- }
- else if (!MISC::IS_BIT_SET(Global_2436181.f_572, 0))
- {
- if (func_6016())
- {
- func_1780("MP_IMPOUND_CASHB", Global_262145.f_7158, -1);
- MISC::SET_BIT(&(Global_2436181.f_572), 0);
- }
- }
- }
- }
- }
- else
- {
- MISC::CLEAR_BIT(&(Global_2436181.f_572), 0);
- }
- break;
- case 1:
- if (func_1746(&(Global_2436181.f_575), -1135378931, 537254313, 1474183246, 291576838, Global_262145.f_7158, 4, 3))
- {
- Global_2436181.f_574++;
- }
- else
- {
- func_1677(Global_2436181.f_575);
- Global_2436181.f_574 = 0;
- }
- bVar0 = false;
- break;
- case 2:
- if (func_1688(Global_2436181.f_575))
- {
- if (func_1687(Global_2436181.f_575) == 2)
- {
- NETSHOP::_NETWORK_SHOP_SET_TELEMETRY_NONCE_SEED(func_1685(Global_2436181.f_575));
- func_5978(iParam0);
- func_1677(Global_2436181.f_575);
- Global_2436181.f_574 = 0;
- }
- else
- {
- func_1677(Global_2436181.f_575);
- Global_2436181.f_574 = 0;
- }
- }
- bVar0 = false;
- break;
- }
- if (bVar0)
- {
- if (!Global_2436181.f_573 == -1)
- {
- func_2665(&(Global_2436181.f_573));
- }
- }
- func_5975(bVar1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement