Advertisement
MiaMyLove

SunShineSilver.mdA

Apr 12th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. void func_5974(int iParam0)
  2. {
  3. bool bVar0;
  4. bool bVar1;
  5.  
  6. bVar0 = true;
  7. bVar1 = false;
  8. switch (Global_2436181.f_574)
  9. {
  10. case 0:
  11. if (func_5981())
  12. {
  13. if (func_579() >= 0)
  14. {
  15. if (!func_1093(29))
  16. {
  17. 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))
  18. {
  19. if (Global_2436181.f_573 == -1)
  20. {
  21. func_5980(&(Global_2436181.f_573), 3, "", 1, 0, 0, 0);
  22. }
  23. if (func_5979(Global_2436181.f_573, 1))
  24. {
  25. if (func_954())
  26. {
  27. Global_2436181.f_574++;
  28. }
  29. else
  30. {
  31. func_5978(iParam0);
  32. }
  33. }
  34. else if (func_5977(Global_2436181.f_573))
  35. {
  36. bVar1 = true;
  37. }
  38. bVar0 = false;
  39. }
  40. else if (!MISC::IS_BIT_SET(Global_2436181.f_572, 0))
  41. {
  42. if (func_6016())
  43. {
  44. func_1780("MP_IMPOUND_CASHB", Global_262145.f_7158, -1);
  45. MISC::SET_BIT(&(Global_2436181.f_572), 0);
  46. }
  47. }
  48. }
  49. }
  50. }
  51. else
  52. {
  53. MISC::CLEAR_BIT(&(Global_2436181.f_572), 0);
  54. }
  55. break;
  56.  
  57. case 1:
  58. if (func_1746(&(Global_2436181.f_575), -1135378931, 537254313, 1474183246, 291576838, Global_262145.f_7158, 4, 3))
  59. {
  60. Global_2436181.f_574++;
  61. }
  62. else
  63. {
  64. func_1677(Global_2436181.f_575);
  65. Global_2436181.f_574 = 0;
  66. }
  67. bVar0 = false;
  68. break;
  69.  
  70. case 2:
  71. if (func_1688(Global_2436181.f_575))
  72. {
  73. if (func_1687(Global_2436181.f_575) == 2)
  74. {
  75. NETSHOP::_NETWORK_SHOP_SET_TELEMETRY_NONCE_SEED(func_1685(Global_2436181.f_575));
  76. func_5978(iParam0);
  77. func_1677(Global_2436181.f_575);
  78. Global_2436181.f_574 = 0;
  79. }
  80. else
  81. {
  82. func_1677(Global_2436181.f_575);
  83. Global_2436181.f_574 = 0;
  84. }
  85. }
  86. bVar0 = false;
  87. break;
  88. }
  89. if (bVar0)
  90. {
  91. if (!Global_2436181.f_573 == -1)
  92. {
  93. func_2665(&(Global_2436181.f_573));
  94. }
  95. }
  96. func_5975(bVar1);
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement