Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_6426(var uParam0, int iParam1)
- {
- float fVar0;
- float fVar1;
- int iVar2;
- struct<7> Var3;
- int iVar4;
- if (func_6459(-1))
- {
- if (func_6458() == 0)
- {
- if (*uParam0 == 0)
- {
- fVar0 = func_6457(joaat("mpply_overall_badsport"));
- func_6455();
- func_6454();
- if (func_6070(joaat("mpply_was_i_bad_sport")) == 1 && NETWORK::NETWORK_PLAYER_IS_BADSPORT() == 0)
- {
- fVar1 = func_6457(joaat("mpply_overall_badsport"));
- iVar2 = func_1760(joaat("mpply_became_badsport_num"));
- if (iVar2 == 0)
- {
- fVar1 = (fVar1 + 0f);
- }
- else if (iVar2 == 1)
- {
- fVar1 = (fVar1 + 5f);
- }
- else if (iVar2 == 2)
- {
- fVar1 = (fVar1 + 10f);
- }
- else if (iVar2 == 3)
- {
- fVar1 = (fVar1 + 15f);
- }
- else if (iVar2 == 4)
- {
- fVar1 = (fVar1 + 20f);
- }
- else
- {
- fVar1 = (fVar1 + 25f);
- }
- func_6453(joaat("mpply_overall_badsport"), fVar1);
- }
- if (NETWORK::NETWORK_PLAYER_IS_BADSPORT())
- {
- if (func_6070(joaat("mpply_was_i_bad_sport")) == 0)
- {
- func_6451(joaat("mpply_became_badsport_dt"), func_6452());
- }
- }
- else if (func_6070(joaat("mpply_was_i_bad_sport")))
- {
- func_1777(joaat("mpply_was_i_bad_sport"), 0);
- func_6451(joaat("mpply_became_badsport_dt"), Var3);
- }
- iVar4 = func_6450();
- if (iParam1 == 0)
- {
- func_6449(iVar4);
- func_6448(iVar4);
- func_6447(iVar4);
- func_6446(iVar4);
- func_6445(iVar4);
- func_6444(iVar4);
- func_6443(iVar4);
- func_6442(iVar4);
- func_6441(iVar4);
- func_6436(iVar4);
- func_6434();
- func_6431();
- func_6430();
- }
- if (fVar0 != func_6457(joaat("mpply_overall_badsport")) && !func_6428(func_6429(joaat("mpply_became_badsport_dt"))))
- {
- func_6427(SYSTEM::FLOOR(fVar0));
- }
- fVar0 = func_6457(joaat("mpply_overall_badsport"));
- *uParam0 = 1;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement