text: #region Local Var
  	var uLocal_0 = 0;
  	var uLocal_1 = 0;
  	int iLocal_2 = 0;
  	int iLocal_3 = 0;
  	int iLocal_4 = 0;
  	int iLocal_5 = 0;
  	int iLocal_6 = 0;
  	int iLocal_7 = 0;
  	int iLocal_8 = 0;
  	int iLocal_9 = 0;
  	int iLocal_10 = 0;
  	int iLocal_11 = 0;
  	var uLocal_12 = 0;
  	var uLocal_13 = 0;
  	float fLocal_14 = 0f;
  	var uLocal_15 = 0;
  	var uLocal_16 = 0;
  	int iLocal_17 = 0;
  	char* sLocal_18 = NULL;
  	var uLocal_19 = 0;
  	var uLocal_20 = 0;
  	var uLocal_21 = 0;
  	var uLocal_22 = 0;
  	float fLocal_23 = 0f;
  	float fLocal_24 = 0f;
  	float fLocal_25 = 0f;
  	var uLocal_26 = 0;
  	var uLocal_27 = 0;
  	float fLocal_28 = 0f;
  	var uLocal_29 = 0;
  	var uLocal_30 = 0;
  	var uLocal_31 = 0;
  	float fLocal_32 = 0f;
  	float fLocal_33 = 0f;
  	var uLocal_34 = 0;
  	var uLocal_35 = 0;
  	int iLocal_36 = 0;
  	var uLocal_37 = 0;
  	var uLocal_38 = 0;
  	var uLocal_39 = 0;
  	int iLocal_40 = 0;
  	int iLocal_41 = 0;
  	int iLocal_42 = 0;
  	int iLocal_43 = 0;
  	var uLocal_44 = 0;
  	var uLocal_45 = 0;
  	var uLocal_46 = 0;
  	var uLocal_47 = 0;
  	var uLocal_48 = 0;
  	var uLocal_49 = 0;
  	var uLocal_50 = 0;
  	var uLocal_51 = 0;
  	var uLocal_52 = 0;
  	var uLocal_53 = 0;
  	var uLocal_54 = 0;
  	var uLocal_55 = 0;
  	var uLocal_56 = 0;
  	var uLocal_57 = 0;
  	var uLocal_58 = 0;
  	var uLocal_59 = 0;
  	var uLocal_60 = 0;
  	var uLocal_61 = 0;
  	float fLocal_62 = 0f;
  	var uLocal_63 = 0;
  	var uLocal_64 = 0;
  	var uLocal_65 = 0;
  	var uLocal_66 = 0;
  	var uLocal_67 = 0;
  	var uLocal_68 = 17;
  	var uLocal_69 = 0;
  	var uLocal_70 = 0;
  	var uLocal_71 = 0;
  	var uLocal_72 = 0;
  	var uLocal_73 = 0;
  	var uLocal_74 = 0;
  	var uLocal_75 = 0;
  	var uLocal_76 = 0;
  	var uLocal_77 = 0;
  	var uLocal_78 = 0;
  	var uLocal_79 = 0;
  	var uLocal_80 = 0;
  	var uLocal_81 = 0;
  	var uLocal_82 = 0;
  	var uLocal_83 = 0;
  	var uLocal_84 = 0;
  	var uLocal_85 = 0;
  	var uLocal_86 = 17;
  	var uLocal_87 = 0;
  	var uLocal_88 = 0;
  	var uLocal_89 = 0;
  	var uLocal_90 = 0;
  	var uLocal_91 = 0;
  	var uLocal_92 = 0;
  	var uLocal_93 = 0;
  	var uLocal_94 = 0;
  	var uLocal_95 = 0;
  	var uLocal_96 = 0;
  	var uLocal_97 = 0;
  	var uLocal_98 = 0;
  	var uLocal_99 = 0;
  	var uLocal_100 = 0;
  	var uLocal_101 = 0;
  	var uLocal_102 = 0;
  	var uLocal_103 = 0;
  	var uLocal_104 = 0;
  	var uLocal_105 = 0;
  	var uLocal_106 = 0;
  	var uLocal_107 = 0;
  	var uLocal_108 = 0;
  	var uLocal_109 = 0;
  	var uLocal_110 = 12;
  	var uLocal_111 = 0;
  	var uLocal_112 = 0;
  	var uLocal_113 = 0;
  	var uLocal_114 = 0;
  	var uLocal_115 = 0;
  	var uLocal_116 = 0;
  	var uLocal_117 = 0;
  	var uLocal_118 = 0;
  	var uLocal_119 = 0;
  	var uLocal_120 = 0;
  	var uLocal_121 = 0;
  	var uLocal_122 = 0;
  	var uLocal_123 = 12;
  	var uLocal_124 = 0;
  	var uLocal_125 = 0;
  	var uLocal_126 = 0;
  	var uLocal_127 = 0;
  	var uLocal_128 = 0;
  	var uLocal_129 = 0;
  	var uLocal_130 = 0;
  	var uLocal_131 = 0;
  	var uLocal_132 = 0;
  	var uLocal_133 = 0;
  	var uLocal_134 = 0;
  	var uLocal_135 = 0;
  	var uLocal_136 = 12;
  	var uLocal_137 = 0;
  	var uLocal_138 = 0;
  	var uLocal_139 = 0;
  	var uLocal_140 = 0;
  	var uLocal_141 = 0;
  	var uLocal_142 = 0;
  	var uLocal_143 = 0;
  	var uLocal_144 = 0;
  	var uLocal_145 = 0;
  	var uLocal_146 = 0;
  	var uLocal_147 = 0;
  	var uLocal_148 = 0;
  	var uLocal_149 = 9;
  	var uLocal_150 = 0;
  	var uLocal_151 = 0;
  	var uLocal_152 = 0;
  	var uLocal_153 = 0;
  	var uLocal_154 = 0;
  	var uLocal_155 = 0;
  	var uLocal_156 = 0;
  	var uLocal_157 = 0;
  	var uLocal_158 = 0;
  	var uLocal_159 = 9;
  	var uLocal_160 = 0;
  	var uLocal_161 = 0;
  	var uLocal_162 = 0;
  	var uLocal_163 = 0;
  	var uLocal_164 = 0;
  	var uLocal_165 = 0;
  	var uLocal_166 = 0;
  	var uLocal_167 = 0;
  	var uLocal_168 = 0;
  	var uLocal_169 = 0;
  	var uLocal_170 = 0;
  	var uLocal_171 = 0;
  	var uLocal_172 = 0;
  	var uLocal_173 = 0;
  	var uLocal_174 = 0;
  	var uLocal_175 = 0;
  	var uLocal_176 = 0;
  	int iLocal_177 = 0;
  	int iLocal_178 = 0;
  	var uLocal_179 = 0;
  	var uLocal_180 = 0;
  	int iScriptParam_0 = 0;
  	var uScriptParam_1 = 0;
  	var uScriptParam_2 = 0;
  	var uScriptParam_3 = 0;
  #endregion
  
  void __EntryFunction__()
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	var uVar3;
  	var uVar4;
  	
  	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_18 = "NULL";
  	fLocal_23 = 80f;
  	fLocal_24 = 140f;
  	fLocal_25 = 180f;
  	fLocal_28 = 0f;
  	fLocal_32 = -0.0375f;
  	fLocal_33 = 0.17f;
  	iLocal_36 = 3;
  	iLocal_40 = 1;
  	iLocal_41 = 65;
  	iLocal_42 = 49;
  	iLocal_43 = 64;
  	fLocal_62 = ((0.05f + 0.275f) - 0.01f);
  	if (PLAYER::HAS_FORCE_CLEANUP_OCCURRED(4))
  	{
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(995898030);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(1433313072);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(1096198329);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(696733436);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(831272562);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(-1871331138);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(874957556);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(817402210);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(337714004);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(1655527845);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(-2086579765);
  		HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(-1770673475);
  		HUD::PAUSE_MENU_SET_BUSY_SPINNER(false, -1, 0);
  		Global_1312453 = 0;
  		SCRIPT::TERMINATE_THIS_THREAD();
  	}
  	HUD::_LOG_DEBUG_INFO(1);
  	MISC::NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
  	Global_1312453 = 1;
  	iVar0 = 0;
  	iVar1 = 1;
  	Global_1373272.f_1 = 0;
  	Global_1373272.f_3 = 0;
  	Global_1373272.f_5 = 0;
  	Global_1373272.f_7 = 0;
  	Global_1373272.f_6 = 0;
  	func_141(&Global_1376849);
  	func_140(0, &Global_1376849);
  	func_139(&Global_1376849);
  	func_137(&Global_1375994);
  	func_136(-1, &Global_1375994);
  	func_135(&Global_1375994);
  	func_134(&Global_1375994);
  	func_130();
  	HUD::PAUSE_MENU_ACTIVATE_CONTEXT(874957556);
  	GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(1);
  	switch (iScriptParam_0)
  	{
  		case 3:
  			while (iVar0 == 0)
  			{
  				SYSTEM::WAIT(0);
  				if (iVar1 == 1)
  				{
  					if (iVar2 == 0)
  					{
  						if (HUD::IS_FRONTEND_READY_FOR_CONTROL())
  						{
  							HUD::TAKE_CONTROL_OF_FRONTEND();
  							Global_1373272.f_7 = 0;
  							GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("MENU_SHIFT_DEPTH");
  							GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  							GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  							GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_COLUMN_FOCUS");
  							GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  							GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(true);
  							GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(true);
  							GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  							iVar2 = 1;
  						}
  					}
  				}
  				if (Global_1375994.f_469 == 0 && Global_1375994.f_470 == 0)
  				{
  					if (PAD::IS_CONTROL_JUST_PRESSED(2, 201))
  					{
  						if (iVar1 == 0)
  						{
  							iVar1 = 1;
  							HUD::PAUSE_MENU_ACTIVATE_CONTEXT(874957556);
  							HUD::PAUSE_MENU_ACTIVATE_CONTEXT(-1884422346);
  							HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(817402210);
  							HUD::_0x4895BDEA16E7C080(0);
  							func_140(Global_1373272.f_6, &Global_1376849);
  							func_139(&Global_1376849);
  							GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("MENU_SHIFT_DEPTH");
  							GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  							GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  							func_129();
  						}
  						else
  						{
  							switch (Global_1373272.f_7)
  							{
  								case 0:
  									GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("MENU_SHIFT_DEPTH");
  									GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  									GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  									HUD::PAUSE_MENU_ACTIVATE_CONTEXT(337714004);
  									HUD::PAUSE_MENU_ACTIVATE_CONTEXT(817402210);
  									HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(874957556);
  									HUD::_0x4895BDEA16E7C080(0);
  									Global_1373272.f_7 = 1;
  									func_128(&Global_1375994, &Global_1373272);
  									func_136(func_127(&(Global_1373272.f_1), &(Global_1373272.f_3), Global_1373272.f_5, 188), &Global_1375994);
  									func_135(&Global_1375994);
  									func_134(&Global_1375994);
  									func_125(&Global_1375994, &Global_1373272);
  									break;
  								}
  							}
  						}
  				}
  				if (PAD::IS_CONTROL_JUST_PRESSED(2, 202))
  				{
  					if (iVar1 == 0)
  					{
  						AUDIO::PLAY_SOUND_FRONTEND(-1, "CANCEL", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  						HUD::RELEASE_CONTROL_OF_FRONTEND();
  						iVar0 = 1;
  					}
  					else
  					{
  						switch (Global_1373272.f_7)
  						{
  							case 0:
  								AUDIO::PLAY_SOUND_FRONTEND(-1, "BACK", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  								GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("MENU_SHIFT_DEPTH");
  								GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  								GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  								HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(817402210);
  								HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(874957556);
  								HUD::_0x4895BDEA16E7C080(0);
  								Global_1373272.f_1 = 0;
  								Global_1373272.f_3 = 0;
  								func_140(-1, &Global_1376849);
  								func_139(&Global_1376849);
  								func_129();
  								iVar1 = 0;
  								break;
  							
  							case 1:
  								AUDIO::PLAY_SOUND_FRONTEND(-1, "CANCEL", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  								GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("MENU_SHIFT_DEPTH");
  								GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  								GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  								HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(337714004);
  								HUD::PAUSE_MENU_DEACTIVATE_CONTEXT(817402210);
  								HUD::PAUSE_MENU_ACTIVATE_CONTEXT(874957556);
  								HUD::_0x4895BDEA16E7C080(0);
  								func_136(-1, &Global_1375994);
  								func_135(&Global_1375994);
  								func_134(&Global_1375994);
  								func_129();
  								Global_1373272.f_7 = 0;
  								break;
  							}
  						}
  				}
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards1", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards2", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards3", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards4", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards5", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPAwards6", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPTShirtAwards2", false);
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPTshirtAwardLTS", false);
  				if (!HUD::HAS_ADDITIONAL_TEXT_LOADED(8))
  				{
  					HUD::REQUEST_ADDITIONAL_TEXT("MPAWD", 8);
  				}
  				func_15(&Global_1373272);
  				if (iVar1 == 1)
  				{
  					func_2(&Global_1375994, &Global_1373272, &uLocal_179);
  				}
  			}
  			break;
  		
  		case 0:
  			break;
  		
  		case 1:
  			break;
  		
  		case 2:
  			break;
  	}
  	GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(4);
  	func_1();
  	GRAPHICS::SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&uVar3);
  	GRAPHICS::SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&uVar4);
  	HUD::RELEASE_CONTROL_OF_FRONTEND();
  	Global_1312453 = 0;
  	HUD::PAUSE_MENU_SET_BUSY_SPINNER(false, -1, 0);
  	while (true)
  	{
  		SYSTEM::WAIT(0);
  	}
  }
  
  void func_1()
  {
  	GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_DATA_SLOT_EMPTY");
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  	GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  }
  
  void func_2(var uParam0, var uParam1, var uParam2)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	var uVar3;
  	int iVar4;
  	int iVar5;
  	var uVar6;
  	var uVar7;
  	var uVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	
  	if (!func_14(uParam2) || (func_14(uParam2) && func_13(uParam2, 250, 0)))
  	{
  		iVar0 = 1;
  	}
  	if ((PAD::IS_CONTROL_PRESSED(2, 187) || func_12(187, &(Global_1377236.f_1060), 1)) && iVar0)
  	{
  		func_11(uParam2);
  		func_10(uParam2, 0, 0);
  		MISC::SET_BIT(&(uParam0->f_464), 0);
  	}
  	if ((PAD::IS_CONTROL_PRESSED(2, 188) || func_12(188, &(Global_1377236.f_1060), 1)) && iVar0)
  	{
  		func_11(uParam2);
  		func_10(uParam2, 0, 0);
  		MISC::SET_BIT(&(uParam0->f_464), 1);
  	}
  	if (((PAD::IS_CONTROL_PRESSED(2, 189) || PAD::IS_CONTROL_PRESSED(2, 241)) || func_12(189, &(Global_1377236.f_1060), 1)) && iVar0)
  	{
  		func_11(uParam2);
  		func_10(uParam2, 0, 0);
  		MISC::SET_BIT(&(uParam0->f_464), 2);
  	}
  	if (((PAD::IS_CONTROL_PRESSED(2, 190) || PAD::IS_CONTROL_PRESSED(2, 242)) || func_12(190, &(Global_1377236.f_1060), 1)) && iVar0)
  	{
  		func_11(uParam2);
  		func_10(uParam2, 0, 0);
  		MISC::SET_BIT(&(uParam0->f_464), 3);
  	}
  	if (MISC::IS_BIT_SET(uParam0->f_464, 1))
  	{
  		MISC::CLEAR_BIT(&(uParam0->f_464), 1);
  		switch (uParam1->f_7)
  		{
  			case 0:
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_UP_DOWN", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				uParam1->f_6 = (uParam1->f_6 - 1);
  				uParam1->f_5 = 0;
  				uParam1->f_1 = 0;
  				uParam1->f_3 = 0;
  				if (func_9() == 0 || func_8() == 0)
  				{
  				}
  				else if (uParam1->f_6 > 14)
  				{
  					uParam1->f_6 = 0;
  				}
  				switch (func_6(*uParam1, 0))
  				{
  					case 9:
  						if (uParam1->f_6 < 0)
  						{
  							uParam1->f_6 = 14;
  						}
  						break;
  				}
  				func_140(uParam1->f_6, &Global_1376849);
  				func_139(&Global_1376849);
  				uParam0->f_469 = 1;
  				func_5(&(uParam0->f_465), 0, 0);
  				break;
  			
  			case 1:
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_LEFT_RIGHT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				uParam1->f_3 = (uParam1->f_3 - 1);
  				switch (func_6(*uParam1, 0))
  				{
  					case 9:
  						if (uParam1->f_3 < 0)
  						{
  							uParam1->f_3 = 2;
  						}
  						break;
  				}
  				func_136(func_127(&(uParam1->f_1), &(uParam1->f_3), uParam1->f_5, 188), uParam0);
  				func_135(uParam0);
  				func_134(uParam0);
  				func_125(uParam0, uParam1);
  				break;
  			}
  	}
  	if (MISC::IS_BIT_SET(uParam0->f_464, 0))
  	{
  		MISC::CLEAR_BIT(&(uParam0->f_464), 0);
  		switch (uParam1->f_7)
  		{
  			case 0:
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_UP_DOWN", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				uParam1->f_6++;
  				uParam1->f_5 = 0;
  				uParam1->f_1 = 0;
  				uParam1->f_3 = 0;
  				switch (func_6(*uParam1, 0))
  				{
  					case 9:
  						if (uParam1->f_6 > 14)
  						{
  							uParam1->f_6 = 0;
  						}
  						break;
  				}
  				func_140(uParam1->f_6, &Global_1376849);
  				func_139(&Global_1376849);
  				uParam0->f_469 = 1;
  				func_5(&(uParam0->f_465), 0, 0);
  				break;
  			
  			case 1:
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_LEFT_RIGHT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				uParam1->f_3++;
  				if (uParam1->f_3 > 2)
  				{
  					uParam1->f_3 = 0;
  				}
  				func_136(func_127(&(uParam1->f_1), &(uParam1->f_3), uParam1->f_5, 187), uParam0);
  				func_135(uParam0);
  				func_134(uParam0);
  				func_125(uParam0, uParam1);
  				break;
  			}
  	}
  	if (MISC::IS_BIT_SET(uParam0->f_464, 2))
  	{
  		MISC::CLEAR_BIT(&(uParam0->f_464), 2);
  		switch (uParam1->f_7)
  		{
  			case 1:
  				uParam1->f_1 = (uParam1->f_1 - 1);
  				if (uParam1->f_1 < 0)
  				{
  					if (iLocal_177 >= 1)
  					{
  						func_137(uParam0);
  						func_1();
  					}
  					if (uParam1->f_5 > 0)
  					{
  						uParam1->f_5 = (uParam1->f_5 - 1);
  						uParam1->f_1 = 3;
  					}
  					else
  					{
  						uParam1->f_5 = iLocal_177;
  						uParam1->f_1 = 3;
  						iVar1 = (uParam1->f_1 + uParam1->f_3 * 4);
  						if (iVar1 >= iLocal_178)
  						{
  							uParam1->f_1 = ((iLocal_178 - 1) % 4);
  							uParam1->f_3 = ((iLocal_178 - 1) / 4);
  						}
  					}
  				}
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_LEFT_RIGHT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				func_136(func_127(&(uParam1->f_1), &(uParam1->f_3), uParam1->f_5, 189), uParam0);
  				func_135(uParam0);
  				func_134(uParam0);
  				func_125(uParam0, uParam1);
  				break;
  			}
  	}
  	if (MISC::IS_BIT_SET(uParam0->f_464, 3))
  	{
  		MISC::CLEAR_BIT(&(uParam0->f_464), 3);
  		switch (uParam1->f_7)
  		{
  			case 1:
  				uParam1->f_1++;
  				iVar2 = (uParam1->f_1 + uParam1->f_3 * 4);
  				if (uParam1->f_1 >= 4 || (uParam1->f_5 == iLocal_177 && iVar2 >= iLocal_178))
  				{
  					if (iLocal_177 >= 1)
  					{
  						func_137(uParam0);
  						func_1();
  					}
  					uParam1->f_1 = 0;
  					uParam1->f_5++;
  					if (uParam1->f_5 > iLocal_177)
  					{
  						uParam1->f_5 = 0;
  					}
  				}
  				AUDIO::PLAY_SOUND_FRONTEND(-1, "NAV_LEFT_RIGHT", "HUD_FRONTEND_DEFAULT_SOUNDSET", true);
  				func_136(func_127(&(uParam1->f_1), &(uParam1->f_3), uParam1->f_5, 190), uParam0);
  				func_135(uParam0);
  				func_134(uParam0);
  				func_125(uParam0, uParam1);
  				break;
  			}
  	}
  	if (HUD::_0xF284AC67940C6812())
  	{
  		HUD::_GET_PAUSE_MENU_SELECTION(&uVar3, &iVar4);
  		switch (uParam1->f_7)
  		{
  			case 0:
  				if (iVar4 == 0 || iVar4 == 1)
  				{
  					uParam1->f_7 = 1;
  					if (HUD::_0xC8E1071177A23BE5(&iVar5, &uVar6, &uVar7))
  					{
  						Global_1373272.f_1 = (iVar5 % 4);
  						Global_1373272.f_3 = (iVar5 / 4);
  					}
  				}
  				break;
  			}
  	}
  	if (HUD::_0x2E22FEFA0100275E())
  	{
  		HUD::_GET_PAUSE_MENU_SELECTION_DATA(&uVar8, &iVar9, &iVar10);
  		iVar11 = iVar9 + 1000;
  		if (iVar11 >= 0)
  		{
  			if (iVar10 == 0)
  			{
  				uParam1->f_7 = 0;
  				if (uParam1->f_6 != iVar11)
  				{
  					uParam1->f_6 = iVar11;
  					uParam1->f_5 = 0;
  					uParam1->f_1 = 0;
  					uParam1->f_3 = 0;
  					uParam0->f_469 = 1;
  				}
  			}
  			else if (iVar10 == 1)
  			{
  				uParam1->f_7 = 1;
  				uParam1->f_1 = (iVar11 % 4);
  				uParam1->f_3 = (iVar11 / 4);
  			}
  			else if (iVar10 == -1 && uParam1->f_7 == 1)
  			{
  				uParam1->f_7 = 0;
  			}
  		}
  	}
  	if (uParam0->f_469 == 1)
  	{
  		if (func_4(&(uParam0->f_465), 500, 0))
  		{
  			switch (uParam1->f_7)
  			{
  				case 0:
  					uParam0->f_469 = 0;
  					func_137(uParam0);
  					func_128(uParam0, uParam1);
  					func_136(-1, uParam0);
  					func_135(uParam0);
  					func_134(uParam0);
  					func_3(0);
  					uParam0->f_470 = 0;
  					break;
  			}
  		}
  		else
  		{
  			switch (uParam1->f_7)
  			{
  				case 0:
  					if (uParam0->f_470 == 0)
  					{
  						func_1();
  						func_3(1);
  						func_129();
  						uParam0->f_470 = 1;
  					}
  					break;
  				}
  			}
  	}
  }
  
  void func_3(bool bParam0)
  {
  	HUD::PAUSE_MENU_SET_BUSY_SPINNER(bParam0, 6, 0);
  }
  
  int func_4(var uParam0, int iParam1, bool bParam2)
  {
  	if (iParam1 == -1)
  	{
  		return 1;
  	}
  	func_10(uParam0, bParam2, 0);
  	if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS() && !bParam2)
  	{
  		if (MISC::ABSI(NETWORK::GET_TIME_DIFFERENCE(NETWORK::GET_NETWORK_TIME(), *uParam0)) >= iParam1)
  		{
  			func_11(uParam0);
  			return 1;
  		}
  	}
  	else if (MISC::ABSI(NETWORK::GET_TIME_DIFFERENCE(MISC::GET_GAME_TIMER(), *uParam0)) >= iParam1)
  	{
  		func_11(uParam0);
  		return 1;
  	}
  	return 0;
  }
  
  void func_5(var uParam0, bool bParam1, bool bParam2)
  {
  	if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS() && !bParam1)
  	{
  		if (!bParam2)
  		{
  			*uParam0 = NETWORK::GET_NETWORK_TIME();
  		}
  		else
  		{
  			*uParam0 = NETWORK::GET_NETWORK_TIME_ACCURATE();
  		}
  	}
  	else
  	{
  		*uParam0 = MISC::GET_GAME_TIMER();
  	}
  	uParam0->f_1 = 1;
  }
  
  int func_6(var uParam0, bool bParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar1 = uParam0;
  	if (iVar1 == -1)
  	{
  		iVar1 = func_7();
  	}
  	if (Global_1312876[iVar1] == 1)
  	{
  		if (bParam1)
  		{
  		}
  		iVar0 = 8;
  	}
  	else
  	{
  		iVar0 = Global_1312757[iVar1];
  		if (bParam1)
  		{
  		}
  	}
  	return iVar0;
  }
  
  int func_7()
  {
  	return Global_1312763;
  }
  
  int func_8()
  {
  	return Global_30969;
  }
  
  int func_9()
  {
  	return Global_30968;
  }
  
  void func_10(var uParam0, bool bParam1, bool bParam2)
  {
  	if (uParam0->f_1 == 0)
  	{
  		if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS() && !bParam1)
  		{
  			if (!bParam2)
  			{
  				*uParam0 = NETWORK::GET_NETWORK_TIME();
  			}
  			else
  			{
  				*uParam0 = NETWORK::GET_NETWORK_TIME_ACCURATE();
  			}
  		}
  		else
  		{
  			*uParam0 = MISC::GET_GAME_TIMER();
  		}
  		uParam0->f_1 = 1;
  	}
  }
  
  void func_11(var uParam0)
  {
  	uParam0->f_1 = 0;
  }
  
  int func_12(int iParam0, var uParam1, int iParam2)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	
  	iVar0 = (PAD::GET_CONTROL_VALUE(2, 195) - 127);
  	iVar1 = (PAD::GET_CONTROL_VALUE(2, 196) - 127);
  	iVar2 = (PAD::GET_CONTROL_VALUE(2, 197) - 127);
  	switch (iParam0)
  	{
  		case 189:
  			if (iVar0 < -30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  		
  		case 190:
  			if (iVar0 > 30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  		
  		case 188:
  			if (iVar1 < -30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  		
  		case 187:
  			if (iVar1 > 30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  		
  		case 194:
  			if (iVar2 > 30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  		
  		case 193:
  			if (iVar2 < -30)
  			{
  				if (*uParam1 < MISC::GET_GAME_TIMER() || iParam2 == 0)
  				{
  					*uParam1 = MISC::GET_GAME_TIMER() + 250;
  					return 1;
  				}
  			}
  			break;
  	}
  	return 0;
  }
  
  int func_13(var uParam0, int iParam1, bool bParam2)
  {
  	if (iParam1 == -1)
  	{
  		return 1;
  	}
  	func_10(uParam0, bParam2, 0);
  	if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS() && !bParam2)
  	{
  		if (MISC::ABSI(NETWORK::GET_TIME_DIFFERENCE(NETWORK::GET_NETWORK_TIME(), *uParam0)) >= iParam1)
  		{
  			return 1;
  		}
  	}
  	else if (MISC::ABSI(NETWORK::GET_TIME_DIFFERENCE(MISC::GET_GAME_TIMER(), *uParam0)) >= iParam1)
  	{
  		return 1;
  	}
  	return 0;
  }
  
  bool func_14(var uParam0)
  {
  	return uParam0->f_1;
  }
  
  void func_15(var uParam0)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	
  	iVar3 = 0;
  	if (GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPTShirtAwards2"))
  	{
  		iVar0 = 1;
  	}
  	if (GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPTshirtAwardLTS"))
  	{
  		iVar1 = 1;
  	}
  	if (iVar2 == 1)
  	{
  	}
  	if (HUD::HAS_ADDITIONAL_TEXT_LOADED(8))
  	{
  		if (((((((GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards1") && GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards2")) && GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards3")) && GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards4")) && GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards5")) && GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPAwards6")) && iVar0) && iVar1)
  		{
  			iVar4 = 9;
  			switch (uParam0->f_6)
  			{
  				case 0:
  					if (!Global_262145.f_8572)
  					{
  						iLocal_177 = 21;
  						iLocal_178 = 9;
  					}
  					else
  					{
  						iLocal_177 = 21;
  						iLocal_178 = 12;
  					}
  					iVar3 = 0;
  					if (!Global_262145.f_29008)
  					{
  						iVar3++;
  					}
  					if (Global_262145.f_24208)
  					{
  						iVar3++;
  					}
  					if (Global_262145.f_24209)
  					{
  						iVar3++;
  					}
  					if (Global_262145.f_24207)
  					{
  						iVar3++;
  					}
  					iLocal_178 = (iLocal_178 - iVar3);
  					if (iLocal_178 < 1)
  					{
  						iLocal_177 = (iLocal_177 - 1);
  						iLocal_178 += 12;
  					}
  					break;
  				
  				case 1:
  					iLocal_177 = 2;
  					iLocal_178 = 7;
  					iLocal_177 = 2;
  					iLocal_178 = 9;
  					break;
  				
  				case 2:
  					iLocal_177 = 2;
  					iLocal_178 = 4;
  					break;
  				
  				case 3:
  					iLocal_177 = 0;
  					iLocal_178 = 8;
  					break;
  				
  				case 4:
  					iLocal_177 = 0;
  					iLocal_178 = 12;
  					break;
  				
  				case 5:
  					iLocal_177 = 1;
  					iLocal_178 = 11;
  					iLocal_177 = 2;
  					iLocal_178 = 2;
  					break;
  				
  				case 6:
  					if ((MISC::IS_DURANGO_VERSION() || MISC::IS_ORBIS_VERSION()) || MISC::IS_PC_VERSION())
  					{
  						iLocal_177 = 1;
  						iLocal_178 = 8;
  					}
  					else
  					{
  						iLocal_177 = 1;
  						iLocal_178 = 7;
  					}
  					break;
  				
  				case 8:
  					iLocal_177 = 0;
  					iLocal_178 = 8;
  					if (Global_262145.f_23736 == 0)
  					{
  						iLocal_178 = (iLocal_178 - 1);
  					}
  					if (Global_262145.f_23737 == 0)
  					{
  						iLocal_178 = (iLocal_178 - 1);
  					}
  					if (Global_262145.f_23738 == 0)
  					{
  						iLocal_178 = (iLocal_178 - 1);
  					}
  					if (Global_262145.f_23739 == 0)
  					{
  						iLocal_178 = (iLocal_178 - 1);
  					}
  					if (((Global_262145.f_23736 == 0 || Global_262145.f_23738 == 0) || Global_262145.f_23737 == 0) || Global_262145.f_23739 == 0)
  					{
  						iLocal_178 = (iLocal_178 - 1);
  					}
  					break;
  				
  				case 7:
  					iLocal_177 = 0;
  					iLocal_178 = 11;
  					break;
  				
  				case 9:
  					iLocal_177 = 3;
  					iLocal_178 = 4;
  					break;
  				
  				case 10:
  					iLocal_177 = 0;
  					iLocal_178 = 11;
  					break;
  				
  				case 11:
  					iLocal_177 = 2;
  					iLocal_178 = 12;
  					break;
  				
  				case 12:
  					iLocal_177 = 0;
  					iLocal_178 = 6;
  					break;
  				
  				case 13:
  					iLocal_177 = 2;
  					iLocal_178 = 2;
  					iVar3 = 0;
  					if (!Global_262145.f_29008)
  					{
  						iVar3++;
  					}
  					if (Global_262145.f_24208)
  					{
  						iVar3++;
  						iVar3++;
  					}
  					if (Global_262145.f_24209)
  					{
  						iVar3++;
  						iVar3++;
  					}
  					if (Global_262145.f_24207)
  					{
  						iVar3++;
  					}
  					iLocal_178 = (iLocal_178 - iVar3);
  					if (iLocal_178 < 1)
  					{
  						iLocal_177 = (iLocal_177 - 1);
  						iLocal_178 += 12;
  					}
  					break;
  				
  				case 14:
  					iLocal_177 = 4;
  					iLocal_178 = 1;
  					break;
  			}
  			switch (uParam0->f_5)
  			{
  				case 0:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_118(9, 8, iVar4, &Global_1375994);
  							func_118(1, 8, iVar4, &Global_1375994);
  							func_118(4, 8, iVar4, &Global_1375994);
  							func_118(5, 8, iVar4, &Global_1375994);
  							func_118(2, 8, iVar4, &Global_1375994);
  							func_118(8, 8, iVar4, &Global_1375994);
  							func_118(7, 8, iVar4, &Global_1375994);
  							func_118(3, 8, iVar4, &Global_1375994);
  							func_118(6, 8, iVar4, &Global_1375994);
  							func_118(10, 8, iVar4, &Global_1375994);
  							func_118(19, 8, iVar4, &Global_1375994);
  							func_118(24, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 1:
  							func_118(40, 8, iVar4, &Global_1375994);
  							func_118(41, 8, iVar4, &Global_1375994);
  							func_118(42, 8, iVar4, &Global_1375994);
  							func_118(21, 8, iVar4, &Global_1375994);
  							func_118(58, 8, iVar4, &Global_1375994);
  							func_118(57, 8, iVar4, &Global_1375994);
  							func_118(37, 8, iVar4, &Global_1375994);
  							func_105(20, 8, iVar4, &Global_1375994);
  							func_118(51, 8, iVar4, &Global_1375994);
  							func_118(52, 8, iVar4, &Global_1375994);
  							func_118(54, 8, iVar4, &Global_1375994);
  							func_105(14, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 2:
  							func_105(15, 8, iVar4, &Global_1375994);
  							func_105(16, 8, iVar4, &Global_1375994);
  							func_118(29, 8, iVar4, &Global_1375994);
  							func_118(28, 8, iVar4, &Global_1375994);
  							func_118(47, 8, iVar4, &Global_1375994);
  							func_105(6, 8, iVar4, &Global_1375994);
  							func_105(7, 8, iVar4, &Global_1375994);
  							func_118(30, 8, iVar4, &Global_1375994);
  							func_105(2, 8, iVar4, &Global_1375994);
  							func_118(36, 8, iVar4, &Global_1375994);
  							func_118(49, 8, iVar4, &Global_1375994);
  							func_118(15, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 3:
  							func_118(60, 8, iVar4, &Global_1375994);
  							func_118(19, 8, iVar4, &Global_1375994);
  							func_118(53, 8, iVar4, &Global_1375994);
  							func_118(12, 8, iVar4, &Global_1375994);
  							func_118(11, 8, iVar4, &Global_1375994);
  							func_118(14, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 4:
  							func_118(10, 8, iVar4, &Global_1375994);
  							func_118(17, 8, iVar4, &Global_1375994);
  							func_118(61, 8, iVar4, &Global_1375994);
  							func_118(0, 8, iVar4, &Global_1375994);
  							func_118(16, 8, iVar4, &Global_1375994);
  							func_105(13, 8, iVar4, &Global_1375994);
  							func_118(20, 8, iVar4, &Global_1375994);
  							func_118(62, 8, iVar4, &Global_1375994);
  							func_118(63, 8, iVar4, &Global_1375994);
  							func_105(23, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 5:
  							func_118(9, 8, iVar4, &Global_1375994);
  							func_118(56, 8, iVar4, &Global_1375994);
  							func_118(55, 8, iVar4, &Global_1375994);
  							func_118(45, 8, iVar4, &Global_1375994);
  							func_118(43, 8, iVar4, &Global_1375994);
  							func_118(46, 8, iVar4, &Global_1375994);
  							func_118(44, 8, iVar4, &Global_1375994);
  							func_105(22, 8, iVar4, &Global_1375994);
  							func_105(17, 8, iVar4, &Global_1375994);
  							func_105(18, 8, iVar4, &Global_1375994);
  							func_118(59, 8, iVar4, &Global_1375994);
  							func_118(1, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 6:
  							func_118(107, 8, iVar4, &Global_1375994);
  							func_89(12, 8, iVar4, &Global_1375994);
  							func_89(13, 8, iVar4, &Global_1375994);
  							func_89(14, 8, iVar4, &Global_1375994);
  							func_89(15, 8, iVar4, &Global_1375994);
  							func_89(16, 8, iVar4, &Global_1375994);
  							func_118(108, 8, iVar4, &Global_1375994);
  							func_89(17, 8, iVar4, &Global_1375994);
  							func_89(18, 8, iVar4, &Global_1375994);
  							func_89(19, 8, iVar4, &Global_1375994);
  							func_118(112, 8, iVar4, &Global_1375994);
  							func_105(114, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 7:
  							if (!Global_1375994.f_1[0])
  							{
  								func_89(1, 8, iVar4, &Global_1375994);
  								func_89(2, 8, iVar4, &Global_1375994);
  								func_89(6, 8, iVar4, &Global_1375994);
  								func_89(3, 8, iVar4, &Global_1375994);
  								func_89(7, 8, iVar4, &Global_1375994);
  								func_89(8, 8, iVar4, &Global_1375994);
  								func_89(4, 8, iVar4, &Global_1375994);
  								func_89(9, 8, iVar4, &Global_1375994);
  								func_89(10, 8, iVar4, &Global_1375994);
  								func_89(5, 8, iVar4, &Global_1375994);
  								func_89(11, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 8:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(130, 8, iVar4, &Global_1375994);
  								func_105(119, 8, iVar4, &Global_1375994);
  								func_105(120, 8, iVar4, &Global_1375994);
  								if (Global_262145.f_23736 == 1)
  								{
  									func_118(126, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23738 == 1)
  								{
  									func_118(127, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23737 == 1)
  								{
  									func_118(128, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23739 == 1)
  								{
  									func_118(129, 8, iVar4, &Global_1375994);
  								}
  								if (((Global_262145.f_23736 == 1 && Global_262145.f_23738 == 1) && Global_262145.f_23737 == 1) && Global_262145.f_23739 == 1)
  								{
  									func_105(121, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  						
  						case 9:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(86, 8, iVar4, &Global_1375994);
  								func_118(85, 8, iVar4, &Global_1375994);
  								func_118(84, 8, iVar4, &Global_1375994);
  								func_118(83, 8, iVar4, &Global_1375994);
  								func_118(82, 8, iVar4, &Global_1375994);
  								func_118(81, 8, iVar4, &Global_1375994);
  								func_118(80, 8, iVar4, &Global_1375994);
  								func_118(79, 8, iVar4, &Global_1375994);
  								func_118(78, 8, iVar4, &Global_1375994);
  								func_118(77, 8, iVar4, &Global_1375994);
  								func_118(76, 8, iVar4, &Global_1375994);
  								func_118(75, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 10:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(53, 8, iVar4, &Global_1375994);
  								func_105(54, 8, iVar4, &Global_1375994);
  								func_105(55, 8, iVar4, &Global_1375994);
  								func_105(56, 8, iVar4, &Global_1375994);
  								func_105(57, 8, iVar4, &Global_1375994);
  								func_105(58, 8, iVar4, &Global_1375994);
  								func_105(59, 8, iVar4, &Global_1375994);
  								func_105(62, 8, iVar4, &Global_1375994);
  								func_105(60, 8, iVar4, &Global_1375994);
  								func_105(61, 8, iVar4, &Global_1375994);
  								func_118(87, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 11:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(63, 8, iVar4, &Global_1375994);
  								func_118(88, 8, iVar4, &Global_1375994);
  								func_105(64, 8, iVar4, &Global_1375994);
  								func_105(65, 8, iVar4, &Global_1375994);
  								func_105(66, 8, iVar4, &Global_1375994);
  								func_105(67, 8, iVar4, &Global_1375994);
  								func_105(68, 8, iVar4, &Global_1375994);
  								func_105(69, 8, iVar4, &Global_1375994);
  								func_105(70, 8, iVar4, &Global_1375994);
  								func_105(71, 8, iVar4, &Global_1375994);
  								func_105(72, 8, iVar4, &Global_1375994);
  								func_105(73, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 12:
  							if (!Global_1375994.f_1[0])
  							{
  								if (Global_262145.f_28547)
  								{
  									func_105(89, 8, iVar4, &Global_1375994);
  									func_105(90, 8, iVar4, &Global_1375994);
  									func_105(92, 8, iVar4, &Global_1375994);
  									func_105(91, 8, iVar4, &Global_1375994);
  									func_105(94, 8, iVar4, &Global_1375994);
  									func_105(93, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  						
  						case 13:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(95, 8, iVar4, &Global_1375994);
  								func_105(96, 8, iVar4, &Global_1375994);
  								func_118(106, 8, iVar4, &Global_1375994);
  								func_105(97, 8, iVar4, &Global_1375994);
  								func_105(98, 8, iVar4, &Global_1375994);
  								func_105(99, 8, iVar4, &Global_1375994);
  								func_105(100, 8, iVar4, &Global_1375994);
  								func_105(101, 8, iVar4, &Global_1375994);
  								func_105(102, 8, iVar4, &Global_1375994);
  								func_105(103, 8, iVar4, &Global_1375994);
  								func_105(104, 8, iVar4, &Global_1375994);
  								func_105(105, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 14:
  							func_83(4, 8, iVar4, &Global_1375994);
  							func_83(2, 8, iVar4, &Global_1375994);
  							func_83(7, 8, iVar4, &Global_1375994);
  							func_83(0, 8, iVar4, &Global_1375994);
  							func_83(6, 8, iVar4, &Global_1375994);
  							func_83(8, 8, iVar4, &Global_1375994);
  							func_83(5, 8, iVar4, &Global_1375994);
  							func_83(1, 8, iVar4, &Global_1375994);
  							func_83(54, 8, iVar4, &Global_1375994);
  							func_83(57, 8, iVar4, &Global_1375994);
  							func_83(58, 8, iVar4, &Global_1375994);
  							func_83(59, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 1:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_118(17, 8, iVar4, &Global_1375994);
  							func_118(12, 8, iVar4, &Global_1375994);
  							func_118(40, 8, iVar4, &Global_1375994);
  							func_118(31, 8, iVar4, &Global_1375994);
  							func_118(37, 8, iVar4, &Global_1375994);
  							func_118(34, 8, iVar4, &Global_1375994);
  							func_118(33, 8, iVar4, &Global_1375994);
  							func_118(32, 8, iVar4, &Global_1375994);
  							func_118(41, 8, iVar4, &Global_1375994);
  							func_118(35, 8, iVar4, &Global_1375994);
  							func_118(63, 8, iVar4, &Global_1375994);
  							func_71(1, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 1:
  							func_118(39, 8, iVar4, &Global_1375994);
  							func_105(11, 8, iVar4, &Global_1375994);
  							func_118(38, 8, iVar4, &Global_1375994);
  							func_105(10, 8, iVar4, &Global_1375994);
  							func_118(48, 8, iVar4, &Global_1375994);
  							func_118(22, 8, iVar4, &Global_1375994);
  							func_118(23, 8, iVar4, &Global_1375994);
  							func_118(31, 8, iVar4, &Global_1375994);
  							func_118(35, 8, iVar4, &Global_1375994);
  							func_105(4, 8, iVar4, &Global_1375994);
  							func_105(5, 8, iVar4, &Global_1375994);
  							func_118(32, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 2:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(12, 8, iVar4, &Global_1375994);
  								func_118(27, 8, iVar4, &Global_1375994);
  								func_105(0, 8, iVar4, &Global_1375994);
  								func_105(21, 8, iVar4, &Global_1375994);
  								func_71(1, 8, iVar4, &Global_1375994);
  								func_71(0, 8, iVar4, &Global_1375994);
  								func_71(3, 8, iVar4, &Global_1375994);
  								func_71(2, 8, iVar4, &Global_1375994);
  								func_118(114, 8, iVar4, &Global_1375994);
  								func_118(115, 8, iVar4, &Global_1375994);
  								func_118(121, 8, iVar4, &Global_1375994);
  								func_105(118, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 5:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(5, 8, iVar4, &Global_1375994);
  								func_118(4, 8, iVar4, &Global_1375994);
  								func_118(25, 8, iVar4, &Global_1375994);
  								func_118(2, 8, iVar4, &Global_1375994);
  								func_118(26, 8, iVar4, &Global_1375994);
  								func_118(7, 8, iVar4, &Global_1375994);
  								func_118(3, 8, iVar4, &Global_1375994);
  								func_118(6, 8, iVar4, &Global_1375994);
  								func_118(8, 8, iVar4, &Global_1375994);
  								func_118(24, 8, iVar4, &Global_1375994);
  								func_118(116, 8, iVar4, &Global_1375994);
  								func_118(118, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 6:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(110, 8, iVar4, &Global_1375994);
  								func_118(109, 8, iVar4, &Global_1375994);
  								func_105(116, 8, iVar4, &Global_1375994);
  								func_105(113, 8, iVar4, &Global_1375994);
  								func_105(117, 8, iVar4, &Global_1375994);
  								func_118(119, 8, iVar4, &Global_1375994);
  								func_89(21, 8, iVar4, &Global_1375994);
  								if ((MISC::IS_DURANGO_VERSION() || MISC::IS_ORBIS_VERSION()) || MISC::IS_PC_VERSION())
  								{
  									func_89(20, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  						
  						case 9:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(74, 8, iVar4, &Global_1375994);
  								func_118(73, 8, iVar4, &Global_1375994);
  								func_118(72, 8, iVar4, &Global_1375994);
  								func_105(52, 8, iVar4, &Global_1375994);
  								func_105(51, 8, iVar4, &Global_1375994);
  								func_118(71, 8, iVar4, &Global_1375994);
  								func_118(70, 8, iVar4, &Global_1375994);
  								func_105(50, 8, iVar4, &Global_1375994);
  								func_105(30, 8, iVar4, &Global_1375994);
  								func_105(31, 8, iVar4, &Global_1375994);
  								func_105(32, 8, iVar4, &Global_1375994);
  								func_105(33, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 11:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(74, 8, iVar4, &Global_1375994);
  								func_105(75, 8, iVar4, &Global_1375994);
  								func_118(89, 8, iVar4, &Global_1375994);
  								func_118(90, 8, iVar4, &Global_1375994);
  								func_118(91, 8, iVar4, &Global_1375994);
  								func_105(76, 8, iVar4, &Global_1375994);
  								func_105(77, 8, iVar4, &Global_1375994);
  								func_105(78, 8, iVar4, &Global_1375994);
  								func_118(92, 8, iVar4, &Global_1375994);
  								func_118(93, 8, iVar4, &Global_1375994);
  								func_105(79, 8, iVar4, &Global_1375994);
  								func_105(80, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 13:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(105, 8, iVar4, &Global_1375994);
  								func_105(106, 8, iVar4, &Global_1375994);
  								func_105(107, 8, iVar4, &Global_1375994);
  								func_105(108, 8, iVar4, &Global_1375994);
  								func_118(101, 8, iVar4, &Global_1375994);
  								func_105(111, 8, iVar4, &Global_1375994);
  								func_118(99, 8, iVar4, &Global_1375994);
  								func_105(112, 8, iVar4, &Global_1375994);
  								if (!Global_262145.f_24207)
  								{
  									func_118(104, 8, iVar4, &Global_1375994);
  								}
  								if (!Global_262145.f_24209)
  								{
  									func_118(103, 8, iVar4, &Global_1375994);
  									func_105(109, 8, iVar4, &Global_1375994);
  								}
  								if (!Global_262145.f_24208)
  								{
  									func_118(102, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  						
  						case 14:
  							func_83(60, 8, iVar4, &Global_1375994);
  							func_83(12, 8, iVar4, &Global_1375994);
  							func_83(56, 8, iVar4, &Global_1375994);
  							func_83(55, 8, iVar4, &Global_1375994);
  							func_83(25, 8, iVar4, &Global_1375994);
  							func_83(34, 8, iVar4, &Global_1375994);
  							func_83(45, 8, iVar4, &Global_1375994);
  							func_83(48, 8, iVar4, &Global_1375994);
  							func_83(49, 8, iVar4, &Global_1375994);
  							func_83(65, 8, iVar4, &Global_1375994);
  							func_83(46, 8, iVar4, &Global_1375994);
  							func_83(9, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 2:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_118(48, 8, iVar4, &Global_1375994);
  							func_118(14, 8, iVar4, &Global_1375994);
  							func_118(25, 8, iVar4, &Global_1375994);
  							func_118(26, 8, iVar4, &Global_1375994);
  							func_118(15, 8, iVar4, &Global_1375994);
  							func_118(22, 8, iVar4, &Global_1375994);
  							func_118(27, 8, iVar4, &Global_1375994);
  							func_118(21, 8, iVar4, &Global_1375994);
  							func_118(11, 8, iVar4, &Global_1375994);
  							func_118(62, 8, iVar4, &Global_1375994);
  							func_118(23, 8, iVar4, &Global_1375994);
  							func_118(0, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 1:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(34, 8, iVar4, &Global_1375994);
  								func_105(3, 8, iVar4, &Global_1375994);
  								func_118(33, 8, iVar4, &Global_1375994);
  								func_105(8, 8, iVar4, &Global_1375994);
  								func_118(122, 8, iVar4, &Global_1375994);
  								func_118(123, 8, iVar4, &Global_1375994);
  								func_118(124, 8, iVar4, &Global_1375994);
  								func_118(113, 8, iVar4, &Global_1375994);
  								func_118(117, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 2:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(125, 8, iVar4, &Global_1375994);
  								func_118(67, 8, iVar4, &Global_1375994);
  								func_105(25, 8, iVar4, &Global_1375994);
  								func_105(26, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 5:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(120, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 9:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(34, 8, iVar4, &Global_1375994);
  								func_105(35, 8, iVar4, &Global_1375994);
  								func_105(36, 8, iVar4, &Global_1375994);
  								func_105(37, 8, iVar4, &Global_1375994);
  								func_105(38, 8, iVar4, &Global_1375994);
  								func_105(39, 8, iVar4, &Global_1375994);
  								func_105(40, 8, iVar4, &Global_1375994);
  								func_105(41, 8, iVar4, &Global_1375994);
  								func_105(42, 8, iVar4, &Global_1375994);
  								func_105(43, 8, iVar4, &Global_1375994);
  								func_105(44, 8, iVar4, &Global_1375994);
  								func_105(45, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 11:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(81, 8, iVar4, &Global_1375994);
  								func_118(94, 8, iVar4, &Global_1375994);
  								func_118(95, 8, iVar4, &Global_1375994);
  								func_105(82, 8, iVar4, &Global_1375994);
  								func_105(83, 8, iVar4, &Global_1375994);
  								func_118(96, 8, iVar4, &Global_1375994);
  								func_105(84, 8, iVar4, &Global_1375994);
  								func_105(85, 8, iVar4, &Global_1375994);
  								func_118(97, 8, iVar4, &Global_1375994);
  								func_105(86, 8, iVar4, &Global_1375994);
  								func_105(87, 8, iVar4, &Global_1375994);
  								func_105(88, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 13:
  							if (!Global_1375994.f_1[0])
  							{
  								if (!Global_262145.f_24208)
  								{
  									func_105(110, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_29008)
  								{
  									func_118(100, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  						
  						case 14:
  							if (!Global_1375994.f_1[0])
  							{
  								func_83(10, 8, iVar4, &Global_1375994);
  								func_83(11, 8, iVar4, &Global_1375994);
  								func_83(87, 8, iVar4, &Global_1375994);
  								func_83(89, 8, iVar4, &Global_1375994);
  								iVar2 = 0;
  								if (func_68(3608, -1, -1))
  								{
  									iVar2 = 1;
  								}
  								func_64("CLO_LTS_T_0", "CLO_LTS_TD_0", "Elitas_Tshirt", "MPTshirtAwardLTS", 1, iVar2, -1, 1, &Global_1375994);
  								func_61(0);
  								func_61(1);
  								func_61(2);
  								iVar2 = 0;
  								if (func_50(4))
  								{
  									iVar2 = 1;
  								}
  								func_64("CLO_HST_A_4", "CLO_HST_AD_5", "CantTouchThis", "MPTShirtAwards2", 1, iVar2, -1, 1, &Global_1375994);
  								func_61(5);
  								func_61(7);
  								func_61(6);
  							}
  							break;
  					}
  					break;
  				
  				case 3:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_118(16, 8, iVar4, &Global_1375994);
  							func_118(45, 8, iVar4, &Global_1375994);
  							func_118(43, 8, iVar4, &Global_1375994);
  							func_118(46, 8, iVar4, &Global_1375994);
  							func_118(44, 8, iVar4, &Global_1375994);
  							func_118(30, 8, iVar4, &Global_1375994);
  							func_105(2, 8, iVar4, &Global_1375994);
  							func_118(39, 8, iVar4, &Global_1375994);
  							func_118(38, 8, iVar4, &Global_1375994);
  							func_105(3, 8, iVar4, &Global_1375994);
  							func_118(42, 8, iVar4, &Global_1375994);
  							func_118(36, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 1:
  							if (!Global_1375994.f_1[0])
  							{
  							}
  							break;
  						
  						case 9:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(46, 8, iVar4, &Global_1375994);
  								func_105(47, 8, iVar4, &Global_1375994);
  								func_105(48, 8, iVar4, &Global_1375994);
  								func_105(49, 8, iVar4, &Global_1375994);
  							}
  							break;
  						
  						case 14:
  							func_61(8);
  							iVar2 = 0;
  							if (func_50(9))
  							{
  								iVar2 = 1;
  							}
  							func_64("CLO_HST_A_9", "CLO_HST_AD_9", "Showroom", "MPTShirtAwards2", 1, iVar2, -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_0", "CHR_HST_AD_0", "SportMod", "MPAwardMods", func_49(113, 5, 0), func_48(113, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_1", "CHR_HST_AD_1", "LowriderMod", "MPAwardMods", func_49(114, 5, 0), func_48(114, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_2", "CHR_HST_AD_2", "OffroadMod", "MPAwardMods", func_49(116, 5, 0), func_48(116, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_3", "CHR_HST_AD_3", "HighendMod", "MPAwardMods", func_49(107, 5, 0), func_48(107, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_4", "CHR_HST_AD_4", "TunerMod", "MPAwardMods", func_49(108, 5, 0), func_48(108, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_5", "CHR_HST_AD_5", "BikeMod", "MPAwardMods", func_49(118, 5, 0), func_48(118, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_6", "CHR_HST_AD_6", "SUVMod", "MPAwardMods", func_49(122, 5, 0), func_48(122, -1), -1, 1, &Global_1375994);
  							func_64("CHR_HST_A_7", "CHR_HST_AD_7", "MuscleMod", "MPAwardMods", func_49(123, 5, 0), func_48(123, -1), -1, 1, &Global_1375994);
  							func_61(34);
  							func_64("CLO_S1M_DEC_25", "CLO_S1M_D_24_25", "BennyTshirt01", "MPTShirtAwards4", 8, iVar2, -1, 1, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 4:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_105(15, 8, iVar4, &Global_1375994);
  							func_105(4, 8, iVar4, &Global_1375994);
  							func_105(5, 8, iVar4, &Global_1375994);
  							func_105(7, 8, iVar4, &Global_1375994);
  							func_105(6, 8, iVar4, &Global_1375994);
  							func_118(29, 8, iVar4, &Global_1375994);
  							func_118(28, 8, iVar4, &Global_1375994);
  							func_118(20, 8, iVar4, &Global_1375994);
  							func_105(0, 8, iVar4, &Global_1375994);
  							func_105(8, 8, iVar4, &Global_1375994);
  							func_118(61, 8, iVar4, &Global_1375994);
  							func_71(3, 8, iVar4, &Global_1375994);
  							break;
  						
  						case 14:
  							if (!Global_1375994.f_1[0])
  							{
  								if (func_47(2932, -1, 0) == 1)
  								{
  									iVar2 = 8;
  								}
  								else
  								{
  									iVar2 = func_42(0);
  									if (iVar2 > 0)
  									{
  										iVar2 = (iVar2 - 1);
  									}
  								}
  								func_64("CLO_S1M_DEC_24", "CLO_S1M_D_24_25", "BennyTshirt02", "MPTShirtAwards4", 8, iVar2, -1, 1, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 5:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_105(22, 8, iVar4, &Global_1375994);
  							func_105(17, 8, iVar4, &Global_1375994);
  							func_105(18, 8, iVar4, &Global_1375994);
  							func_71(2, 8, iVar4, &Global_1375994);
  							func_71(0, 8, iVar4, &Global_1375994);
  							func_105(16, 8, iVar4, &Global_1375994);
  							func_105(12, 8, iVar4, &Global_1375994);
  							func_105(13, 8, iVar4, &Global_1375994);
  							func_118(55, 8, iVar4, &Global_1375994);
  							func_118(56, 8, iVar4, &Global_1375994);
  							func_118(53, 8, iVar4, &Global_1375994);
  							func_105(20, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 6:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_105(10, 8, iVar4, &Global_1375994);
  							func_105(21, 8, iVar4, &Global_1375994);
  							func_118(60, 8, iVar4, &Global_1375994);
  							func_105(11, 8, iVar4, &Global_1375994);
  							func_118(51, 8, iVar4, &Global_1375994);
  							func_118(52, 8, iVar4, &Global_1375994);
  							func_118(59, 8, iVar4, &Global_1375994);
  							func_118(58, 8, iVar4, &Global_1375994);
  							func_105(14, 8, iVar4, &Global_1375994);
  							func_118(54, 8, iVar4, &Global_1375994);
  							func_118(57, 8, iVar4, &Global_1375994);
  							func_118(47, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 7:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(23, 8, iVar4, &Global_1375994);
  								func_118(49, 8, iVar4, &Global_1375994);
  								func_118(113, 8, iVar4, &Global_1375994);
  								func_118(114, 8, iVar4, &Global_1375994);
  								func_118(115, 8, iVar4, &Global_1375994);
  								func_118(116, 8, iVar4, &Global_1375994);
  								func_118(117, 8, iVar4, &Global_1375994);
  								func_118(107, 8, iVar4, &Global_1375994);
  								func_118(108, 8, iVar4, &Global_1375994);
  								func_118(109, 8, iVar4, &Global_1375994);
  								func_118(110, 8, iVar4, &Global_1375994);
  								func_105(114, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 8:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(112, 8, iVar4, &Global_1375994);
  								func_105(113, 8, iVar4, &Global_1375994);
  								func_118(118, 8, iVar4, &Global_1375994);
  								func_105(117, 8, iVar4, &Global_1375994);
  								func_118(119, 8, iVar4, &Global_1375994);
  								func_118(120, 8, iVar4, &Global_1375994);
  								func_118(121, 8, iVar4, &Global_1375994);
  								func_118(122, 8, iVar4, &Global_1375994);
  								func_118(123, 8, iVar4, &Global_1375994);
  								func_118(124, 8, iVar4, &Global_1375994);
  								func_105(118, 8, iVar4, &Global_1375994);
  								func_118(125, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 9:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(116, 8, iVar4, &Global_1375994);
  								func_89(12, 8, iVar4, &Global_1375994);
  								func_89(13, 8, iVar4, &Global_1375994);
  								func_89(14, 8, iVar4, &Global_1375994);
  								func_89(15, 8, iVar4, &Global_1375994);
  								func_89(16, 8, iVar4, &Global_1375994);
  								func_89(17, 8, iVar4, &Global_1375994);
  								func_89(18, 8, iVar4, &Global_1375994);
  								func_89(19, 8, iVar4, &Global_1375994);
  								if (!Global_262145.f_8572)
  								{
  									func_118(67, 8, iVar4, &Global_1375994);
  									func_105(25, 8, iVar4, &Global_1375994);
  									func_105(26, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  					}
  					break;
  				
  				case 10:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_89(21, 8, iVar4, &Global_1375994);
  								if ((MISC::IS_DURANGO_VERSION() || MISC::IS_ORBIS_VERSION()) || MISC::IS_PC_VERSION())
  								{
  									func_89(20, 8, iVar4, &Global_1375994);
  								}
  								func_89(1, 8, iVar4, &Global_1375994);
  								func_89(2, 8, iVar4, &Global_1375994);
  								func_89(6, 8, iVar4, &Global_1375994);
  								func_89(3, 8, iVar4, &Global_1375994);
  								func_89(7, 8, iVar4, &Global_1375994);
  								func_89(8, 8, iVar4, &Global_1375994);
  								func_89(4, 8, iVar4, &Global_1375994);
  								func_89(9, 8, iVar4, &Global_1375994);
  								func_89(10, 8, iVar4, &Global_1375994);
  								func_89(5, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 11:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_89(11, 8, iVar4, &Global_1375994);
  								func_118(130, 8, iVar4, &Global_1375994);
  								func_105(119, 8, iVar4, &Global_1375994);
  								func_105(120, 8, iVar4, &Global_1375994);
  								if (Global_262145.f_23736 == 1)
  								{
  									func_118(126, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23738 == 1)
  								{
  									func_118(127, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23737 == 1)
  								{
  									func_118(128, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_23739 == 1)
  								{
  									func_118(129, 8, iVar4, &Global_1375994);
  								}
  								if (((Global_262145.f_23736 == 1 && Global_262145.f_23738 == 1) && Global_262145.f_23737 == 1) && Global_262145.f_23739 == 1)
  								{
  									func_105(121, 8, iVar4, &Global_1375994);
  								}
  								func_118(86, 8, iVar4, &Global_1375994);
  								func_118(85, 8, iVar4, &Global_1375994);
  								func_118(84, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 12:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(83, 8, iVar4, &Global_1375994);
  								func_118(82, 8, iVar4, &Global_1375994);
  								func_118(81, 8, iVar4, &Global_1375994);
  								func_118(80, 8, iVar4, &Global_1375994);
  								func_118(79, 8, iVar4, &Global_1375994);
  								func_118(78, 8, iVar4, &Global_1375994);
  								func_118(77, 8, iVar4, &Global_1375994);
  								func_118(76, 8, iVar4, &Global_1375994);
  								func_118(75, 8, iVar4, &Global_1375994);
  								func_118(74, 8, iVar4, &Global_1375994);
  								func_118(73, 8, iVar4, &Global_1375994);
  								func_118(72, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 13:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(52, 8, iVar4, &Global_1375994);
  								func_105(51, 8, iVar4, &Global_1375994);
  								func_118(71, 8, iVar4, &Global_1375994);
  								func_118(70, 8, iVar4, &Global_1375994);
  								func_105(50, 8, iVar4, &Global_1375994);
  								func_105(30, 8, iVar4, &Global_1375994);
  								func_105(31, 8, iVar4, &Global_1375994);
  								func_105(32, 8, iVar4, &Global_1375994);
  								func_105(33, 8, iVar4, &Global_1375994);
  								func_105(34, 8, iVar4, &Global_1375994);
  								func_105(35, 8, iVar4, &Global_1375994);
  								func_105(36, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 14:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(37, 8, iVar4, &Global_1375994);
  								func_105(38, 8, iVar4, &Global_1375994);
  								func_105(39, 8, iVar4, &Global_1375994);
  								func_105(40, 8, iVar4, &Global_1375994);
  								func_105(41, 8, iVar4, &Global_1375994);
  								func_105(42, 8, iVar4, &Global_1375994);
  								func_105(43, 8, iVar4, &Global_1375994);
  								func_105(44, 8, iVar4, &Global_1375994);
  								func_105(45, 8, iVar4, &Global_1375994);
  								func_105(46, 8, iVar4, &Global_1375994);
  								func_105(47, 8, iVar4, &Global_1375994);
  								func_105(48, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 15:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(49, 8, iVar4, &Global_1375994);
  							}
  							func_105(53, 8, iVar4, &Global_1375994);
  							func_105(54, 8, iVar4, &Global_1375994);
  							func_105(55, 8, iVar4, &Global_1375994);
  							func_105(56, 8, iVar4, &Global_1375994);
  							func_105(57, 8, iVar4, &Global_1375994);
  							func_105(58, 8, iVar4, &Global_1375994);
  							func_105(59, 8, iVar4, &Global_1375994);
  							func_105(62, 8, iVar4, &Global_1375994);
  							func_105(60, 8, iVar4, &Global_1375994);
  							func_105(61, 8, iVar4, &Global_1375994);
  							func_118(87, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 16:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_118(88, 8, iVar4, &Global_1375994);
  							func_118(89, 8, iVar4, &Global_1375994);
  							func_118(90, 8, iVar4, &Global_1375994);
  							func_118(91, 8, iVar4, &Global_1375994);
  							func_118(92, 8, iVar4, &Global_1375994);
  							func_118(93, 8, iVar4, &Global_1375994);
  							func_118(94, 8, iVar4, &Global_1375994);
  							func_118(95, 8, iVar4, &Global_1375994);
  							func_118(96, 8, iVar4, &Global_1375994);
  							func_118(97, 8, iVar4, &Global_1375994);
  							func_105(63, 8, iVar4, &Global_1375994);
  							func_105(64, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 17:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_105(65, 8, iVar4, &Global_1375994);
  							func_105(66, 8, iVar4, &Global_1375994);
  							func_105(67, 8, iVar4, &Global_1375994);
  							func_105(68, 8, iVar4, &Global_1375994);
  							func_105(69, 8, iVar4, &Global_1375994);
  							func_105(70, 8, iVar4, &Global_1375994);
  							func_105(71, 8, iVar4, &Global_1375994);
  							func_105(72, 8, iVar4, &Global_1375994);
  							func_105(73, 8, iVar4, &Global_1375994);
  							func_105(74, 8, iVar4, &Global_1375994);
  							func_105(75, 8, iVar4, &Global_1375994);
  							func_105(76, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 18:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							func_105(77, 8, iVar4, &Global_1375994);
  							func_105(78, 8, iVar4, &Global_1375994);
  							func_105(79, 8, iVar4, &Global_1375994);
  							func_105(80, 8, iVar4, &Global_1375994);
  							func_105(81, 8, iVar4, &Global_1375994);
  							func_105(82, 8, iVar4, &Global_1375994);
  							func_105(83, 8, iVar4, &Global_1375994);
  							func_105(84, 8, iVar4, &Global_1375994);
  							func_105(85, 8, iVar4, &Global_1375994);
  							func_105(86, 8, iVar4, &Global_1375994);
  							func_105(87, 8, iVar4, &Global_1375994);
  							func_105(88, 8, iVar4, &Global_1375994);
  							break;
  					}
  					break;
  				
  				case 19:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								if (Global_262145.f_28547)
  								{
  									func_105(89, 8, iVar4, &Global_1375994);
  									func_105(90, 8, iVar4, &Global_1375994);
  									func_105(92, 8, iVar4, &Global_1375994);
  									func_105(91, 8, iVar4, &Global_1375994);
  									func_105(94, 8, iVar4, &Global_1375994);
  									func_105(93, 8, iVar4, &Global_1375994);
  								}
  								func_105(95, 8, iVar4, &Global_1375994);
  								func_105(96, 8, iVar4, &Global_1375994);
  								func_118(106, 8, iVar4, &Global_1375994);
  								func_105(97, 8, iVar4, &Global_1375994);
  								func_105(98, 8, iVar4, &Global_1375994);
  								func_105(99, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 20:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_105(100, 8, iVar4, &Global_1375994);
  								func_105(101, 8, iVar4, &Global_1375994);
  								func_105(102, 8, iVar4, &Global_1375994);
  								func_105(103, 8, iVar4, &Global_1375994);
  								func_105(104, 8, iVar4, &Global_1375994);
  								func_105(105, 8, iVar4, &Global_1375994);
  								func_118(105, 8, iVar4, &Global_1375994);
  								func_105(106, 8, iVar4, &Global_1375994);
  								func_105(107, 8, iVar4, &Global_1375994);
  								func_105(108, 8, iVar4, &Global_1375994);
  								func_118(101, 8, iVar4, &Global_1375994);
  								func_105(111, 8, iVar4, &Global_1375994);
  							}
  							break;
  					}
  					break;
  				
  				case 21:
  					switch (uParam0->f_6)
  					{
  						case 0:
  							if (!Global_1375994.f_1[0])
  							{
  								func_118(99, 8, iVar4, &Global_1375994);
  								func_105(112, 8, iVar4, &Global_1375994);
  								if (!Global_262145.f_24207)
  								{
  									func_118(104, 8, iVar4, &Global_1375994);
  								}
  								if (!Global_262145.f_24209)
  								{
  									func_105(109, 8, iVar4, &Global_1375994);
  									func_118(103, 8, iVar4, &Global_1375994);
  								}
  								if (!Global_262145.f_24208)
  								{
  									func_105(110, 8, iVar4, &Global_1375994);
  									func_118(102, 8, iVar4, &Global_1375994);
  								}
  								if (Global_262145.f_29008)
  								{
  									func_118(100, 8, iVar4, &Global_1375994);
  								}
  							}
  							break;
  					}
  					break;
  			}
  			func_29(&Global_1375994, func_41(&Global_1375994));
  			func_28(1, &Global_1376849);
  			func_27(1, &Global_1376849);
  			func_26(1, &Global_1376849);
  			func_25(0, "HUD_AWDLIST1", &Global_1376849);
  			func_25(1, "HUD_AWDLIST12", &Global_1376849);
  			func_25(2, "HUD_AWDLIST3b", &Global_1376849);
  			func_25(3, "HUD_AWDLIST6", &Global_1376849);
  			func_25(4, "HUD_AWDLIST9", &Global_1376849);
  			func_25(5, "HUD_AWDLIST10", &Global_1376849);
  			func_25(6, "HUD_AWDLIST13", &Global_1376849);
  			func_25(7, "HUD_AWD_GANGOP", &Global_1376849);
  			func_25(8, "HUD_AWD_NIGHTCLUB", &Global_1376849);
  			func_25(9, "PM_ARENA", &Global_1376849);
  			func_25(10, "AWDGBC_VC", &Global_1376849);
  			func_25(11, "FMMC_CH_DN", &Global_1376849);
  			if (Global_262145.f_28547)
  			{
  				func_25(12, "SUM20AWARDPAGE", &Global_1376849);
  			}
  			func_25(13, "HEISTISLAWDPAGE", &Global_1376849);
  			func_25(14, "HUD_AWDLIST6b", &Global_1376849);
  			func_16(&Global_1376849, func_24(&Global_1376849));
  		}
  	}
  }
  
  void func_16(var uParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (iParam1 == 1)
  	{
  		*uParam0 = 0;
  		func_23(uParam0);
  	}
  	if (*uParam0 == 0)
  	{
  		iVar1 = uParam0->f_275[iVar0];
  		iVar0 = 0;
  		while (iVar0 <= 15)
  		{
  			if (uParam0->f_1[iVar0] == 1)
  			{
  				GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_DATA_SLOT");
  				if (uParam0->f_379 == 1)
  				{
  					if (uParam0->f_380 == iVar0)
  					{
  						iVar1 = 0;
  					}
  					else
  					{
  						iVar1 = 4;
  					}
  				}
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar0);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar0);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_309[iVar0]);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  				if (uParam0->f_378)
  				{
  					func_22(&(uParam0->f_18[iVar0 /*16*/]));
  				}
  				else
  				{
  					func_21(&(uParam0->f_18[iVar0 /*16*/]));
  				}
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar1);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_292[iVar0]);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_343[iVar0]);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_360[iVar0]);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  				GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_326[iVar0]);
  				GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  			}
  			*uParam0 = 1;
  			iVar0++;
  		}
  		func_20(0);
  	}
  	func_17(uParam0, func_19(uParam0));
  }
  
  void func_17(var uParam0, int iParam1)
  {
  	if (iParam1 == 1)
  	{
  		uParam0->f_381 = 0;
  		func_18(uParam0);
  	}
  	if (uParam0->f_381 == 0)
  	{
  		if (uParam0->f_380 != -1)
  		{
  			GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_COLUMN_HIGHLIGHT");
  			GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  			GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_380);
  			GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  			uParam0->f_380 = -1;
  			uParam0->f_381 = 1;
  		}
  	}
  }
  
  void func_18(var uParam0)
  {
  	uParam0->f_383 = 0;
  }
  
  int func_19(var uParam0)
  {
  	return uParam0->f_383;
  }
  
  void func_20(int iParam0)
  {
  	if (GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("DISPLAY_DATA_SLOT"))
  	{
  		GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam0);
  		GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  	}
  }
  
  void func_21(char* sParam0)
  {
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_PLAYER_NAME_STRING(sParam0);
  }
  
  void func_22(char* sParam0)
  {
  	GRAPHICS::BEGIN_TEXT_COMMAND_SCALEFORM_STRING(sParam0);
  	GRAPHICS::END_TEXT_COMMAND_SCALEFORM_STRING();
  }
  
  void func_23(var uParam0)
  {
  	uParam0->f_382 = 0;
  }
  
  int func_24(var uParam0)
  {
  	return uParam0->f_382;
  }
  
  void func_25(int iParam0, char* sParam1, var uParam2)
  {
  	StringCopy(&(uParam2->f_18[iParam0 /*16*/]), sParam1, 64);
  	uParam2->f_1[iParam0] = 1;
  }
  
  void func_26(int iParam0, var uParam1)
  {
  	uParam1->f_379 = iParam0;
  }
  
  void func_27(int iParam0, var uParam1)
  {
  	uParam1->f_377 = iParam0;
  }
  
  void func_28(int iParam0, var uParam1)
  {
  	uParam1->f_378 = iParam0;
  }
  
  void func_29(var uParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	struct<4> Var3;
  	
  	if (iParam1 == 1)
  	{
  		*uParam0 = 0;
  		func_1();
  		func_40(uParam0);
  	}
  	if (*uParam0 == 0)
  	{
  		if (func_39(uParam0))
  		{
  			iVar0 = 0;
  			while (iVar0 <= 11)
  			{
  				iVar1 = -1;
  				iVar1 = SYSTEM::FLOOR(((SYSTEM::TO_FLOAT(uParam0->f_221[iVar0]) / SYSTEM::TO_FLOAT(uParam0->f_208[iVar0])) * 100f));
  				iVar1 = uParam0->f_441[iVar0];
  				iVar2 = -1;
  				switch (uParam0->f_428[iVar0])
  				{
  					case 107:
  						iVar2 = 100;
  						break;
  					
  					case 108:
  						iVar2 = 200;
  						break;
  					
  					case 109:
  						iVar2 = 400;
  						break;
  					
  					case 110:
  						iVar2 = 800;
  						break;
  				}
  				StringCopy(&Var3, func_38(uParam0->f_428[iVar0]), 32);
  				if (uParam0->f_1[iVar0] == 1)
  				{
  					GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_DATA_SLOT");
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar0);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar0);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(0);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  					func_22(&(uParam0->f_14[iVar0 /*8*/]));
  					func_22(&(uParam0->f_111[iVar0 /*8*/]));
  					func_21(&(uParam0->f_331[iVar0 /*8*/]));
  					func_21(&(uParam0->f_234[iVar0 /*8*/]));
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_428[iVar0]);
  					GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar1);
  					if (func_37(&Var3))
  					{
  						func_22("HUD_AWDPROG_S");
  					}
  					else
  					{
  						GRAPHICS::BEGIN_TEXT_COMMAND_SCALEFORM_STRING("HUD_AWDPROG");
  						HUD::ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL(&Var3);
  						GRAPHICS::END_TEXT_COMMAND_SCALEFORM_STRING();
  					}
  					if (uParam0->f_221[iVar0] >= uParam0->f_208[iVar0])
  					{
  						func_22("TR_COMPLETE");
  					}
  					else
  					{
  						GRAPHICS::BEGIN_TEXT_COMMAND_SCALEFORM_STRING("TIMER_DASHES");
  						HUD::ADD_TEXT_COMPONENT_INTEGER(uParam0->f_221[iVar0]);
  						HUD::ADD_TEXT_COMPONENT_INTEGER(uParam0->f_208[iVar0]);
  						GRAPHICS::END_TEXT_COMMAND_SCALEFORM_STRING();
  					}
  					if (iVar2 >= 0)
  					{
  						func_22("HUD_AWDAWARD");
  						GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iVar2);
  					}
  					GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  				}
  				iVar0++;
  			}
  			func_20(1);
  			*uParam0 = 1;
  		}
  	}
  	func_33(uParam0, func_36(uParam0));
  	func_30(uParam0, func_32(uParam0));
  }
  
  void func_30(var uParam0, int iParam1)
  {
  	if (iParam1 == 1)
  	{
  		uParam0->f_458 = 0;
  		func_31(uParam0);
  	}
  	if (uParam0->f_458 == 0)
  	{
  		GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_COLUMN_HIGHLIGHT");
  		GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(1);
  		GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(uParam0->f_455);
  		GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  		uParam0->f_455 = -1;
  		uParam0->f_458 = 1;
  	}
  }
  
  void func_31(var uParam0)
  {
  	uParam0->f_462 = 0;
  }
  
  int func_32(var uParam0)
  {
  	return uParam0->f_462;
  }
  
  void func_33(var uParam0, int iParam1)
  {
  	if (iParam1 == 1)
  	{
  		uParam0->f_459 = 0;
  		func_35(uParam0);
  	}
  	if (uParam0->f_459 == 0)
  	{
  		GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_DESCRIPTION");
  		if (uParam0->f_456 < 0)
  		{
  			func_22("");
  			func_22("");
  		}
  		else if (uParam0->f_456 < 12)
  		{
  			func_22(&(uParam0->f_14[uParam0->f_456 /*8*/]));
  			if (uParam0->f_208[uParam0->f_456] > -1)
  			{
  				func_34(&(uParam0->f_111[uParam0->f_456 /*8*/]), uParam0->f_208[uParam0->f_456]);
  			}
  			else
  			{
  				func_22(&(uParam0->f_111[uParam0->f_456 /*8*/]));
  			}
  		}
  		GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  		uParam0->f_456 = -1;
  		uParam0->f_459 = 1;
  	}
  }
  
  void func_34(char* sParam0, int iParam1)
  {
  	GRAPHICS::BEGIN_TEXT_COMMAND_SCALEFORM_STRING(sParam0);
  	HUD::ADD_TEXT_COMPONENT_INTEGER(iParam1);
  	GRAPHICS::END_TEXT_COMMAND_SCALEFORM_STRING();
  }
  
  void func_35(var uParam0)
  {
  	uParam0->f_463 = 0;
  }
  
  int func_36(var uParam0)
  {
  	return uParam0->f_463;
  }
  
  int func_37(char* sParam0)
  {
  	if (MISC::IS_STRING_NULL(sParam0))
  	{
  		return 1;
  	}
  	else if (MISC::ARE_STRINGS_EQUAL(sParam0, "") || MISC::ARE_STRINGS_EQUAL(sParam0, "0"))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  char* func_38(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 107:
  			return "HUD_MED_BRON";
  			break;
  		
  		case 108:
  			return "HUD_MED_SILV";
  			break;
  		
  		case 109:
  			return "HUD_MED_GOLD";
  			break;
  		
  		case 110:
  			return "HUD_MED_PLAT";
  			break;
  	}
  	return "";
  }
  
  int func_39(var uParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 <= 11)
  	{
  		if (uParam0->f_1[iVar0] == 1)
  		{
  			if (!MISC::IS_STRING_NULL_OR_EMPTY(&(uParam0->f_331[iVar0 /*8*/])))
  			{
  				GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT(&(uParam0->f_331[iVar0 /*8*/]), false);
  				if (!GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED(&(uParam0->f_331[iVar0 /*8*/])))
  				{
  					return 0;
  				}
  			}
  		}
  		iVar0++;
  	}
  	return 1;
  }
  
  void func_40(var uParam0)
  {
  	uParam0->f_460 = 0;
  }
  
  int func_41(var uParam0)
  {
  	return uParam0->f_460;
  }
  
  int func_42(int iParam0)
  {
  	int iVar0;
  	
  	if (Global_1673516[iParam0 /*8*/] == -1)
  	{
  		iVar0 = func_47(func_46(iParam0), -1, 0);
  		if (iVar0 == -1)
  		{
  			func_43(iParam0, 0);
  			iVar0 = 0;
  		}
  		Global_1673516[iParam0 /*8*/] = iVar0;
  	}
  	return Global_1673516[iParam0 /*8*/];
  }
  
  void func_43(int iParam0, int iParam1)
  {
  	Global_1673516[iParam0 /*8*/] = iParam1;
  	func_44(func_46(iParam0), iParam1, -1, 1, 0);
  }
  
  void func_44(int iParam0, int iParam1, int iParam2, bool bParam3, bool bParam4)
  {
  	int iVar0;
  	
  	if (bParam4)
  	{
  	}
  	iVar0 = Global_2552060[iParam0 /*3*/][func_45(iParam2)];
  	if (iVar0 != 0)
  	{
  		STATS::STAT_SET_INT(iVar0, iParam1, bParam3);
  	}
  }
  
  int func_45(var uParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = uParam0;
  	if (iVar0 == -1)
  	{
  		iVar1 = func_7();
  		if (iVar1 > -1)
  		{
  			Global_2551772 = 0;
  			iVar0 = iVar1;
  		}
  		else
  		{
  			iVar0 = 0;
  			Global_2551772 = 1;
  		}
  	}
  	return iVar0;
  }
  
  int func_46(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 10100;
  		
  		default:
  	}
  	return 10100;
  }
  
  int func_47(int iParam0, int iParam1, int iParam2)
  {
  	int iVar0;
  	var uVar1;
  	
  	if (iParam0 != 11771)
  	{
  		if (iParam2 == 0)
  		{
  		}
  		iVar0 = Global_2552060[iParam0 /*3*/][func_45(iParam1)];
  		if (STATS::STAT_GET_INT(iVar0, &uVar1, -1))
  		{
  			return uVar1;
  		}
  	}
  	return 0;
  }
  
  int func_48(int iParam0, int iParam1)
  {
  	int iVar0;
  	var uVar1;
  	
  	iVar0 = Global_2589761[iParam0 /*3*/][func_45(iParam1)];
  	if (STATS::STAT_GET_INT(iVar0, &uVar1, -1))
  	{
  		return uVar1;
  	}
  	return 0;
  }
  
  int func_49(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam2 == 0)
  	{
  	}
  	switch (iParam0)
  	{
  		case 53:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 39:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 51:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 52:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 60:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 30;
  				
  				case 4:
  					return 60;
  				
  				case 5:
  					return 120;
  				
  				default:
  			}
  			break;
  		
  		case 61:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 20;
  				
  				case 5:
  					return 30;
  				
  				default:
  			}
  			break;
  		
  		case 62:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 2;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 4;
  				
  				case 5:
  					return 5;
  				
  				default:
  			}
  			break;
  		
  		case 63:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 2;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 4;
  				
  				case 5:
  					return 5;
  				
  				default:
  			}
  			break;
  		
  		case 16:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 2;
  				
  				case 4:
  					return 3;
  				
  				case 5:
  					return 4;
  				
  				default:
  			}
  			break;
  		
  		case 0:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 2;
  				
  				case 4:
  					return 3;
  				
  				case 5:
  					return 4;
  				
  				default:
  			}
  			break;
  		
  		case 12:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 11:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 19:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 15:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 17:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 21:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 14:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 20;
  				
  				default:
  			}
  			break;
  		
  		case 1:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 2:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 3:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 4:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 5:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 6:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 7:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 8:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 9:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 10:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 20:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 22:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 23:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 24:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 25:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 26:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 27:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 28:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 29:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 30:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 31:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 32:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 33:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 34:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 35:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 36:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 37:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 38:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 40:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 41:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 42:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 43:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 44:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 100;
  				
  				case 4:
  					return 200;
  				
  				case 5:
  					return 500;
  				
  				default:
  			}
  			break;
  		
  		case 45:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 47:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 49:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1000;
  				
  				case 3:
  					return 10000;
  				
  				case 4:
  					return 25000;
  				
  				case 5:
  					return 50000;
  				
  				default:
  			}
  			break;
  		
  		case 48:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 3;
  				
  				case 3:
  					return 5;
  				
  				case 4:
  					return 7;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 54:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 55:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 56:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 250;
  				
  				case 4:
  					return 500;
  				
  				case 5:
  					return 1000;
  				
  				default:
  			}
  			break;
  		
  		case 57:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 58:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 59:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 46:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 113:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 114:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 115:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 116:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 117:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 107:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 108:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 109:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 110:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 111:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 112:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 118:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 119:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 120:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 121:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 122:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 123:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 124:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 125:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 67:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 126:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_24778;
  				
  				case 3:
  					return Global_262145.f_24779;
  				
  				case 4:
  					return Global_262145.f_24780;
  				
  				case 5:
  					return Global_262145.f_24781;
  				
  				default:
  			}
  			break;
  		
  		case 127:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_24778;
  				
  				case 3:
  					return Global_262145.f_24779;
  				
  				case 4:
  					return Global_262145.f_24780;
  				
  				case 5:
  					return Global_262145.f_24781;
  				
  				default:
  			}
  			break;
  		
  		case 128:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_24778;
  				
  				case 3:
  					return Global_262145.f_24779;
  				
  				case 4:
  					return Global_262145.f_24780;
  				
  				case 5:
  					return Global_262145.f_24781;
  				
  				default:
  			}
  			break;
  		
  		case 129:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_24778;
  				
  				case 3:
  					return Global_262145.f_24779;
  				
  				case 4:
  					return Global_262145.f_24780;
  				
  				case 5:
  					return Global_262145.f_24781;
  				
  				default:
  			}
  			break;
  		
  		case 130:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 70:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 5;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 71:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 5;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 72:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 73:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 74:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 75:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 5;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 76:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 5;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 77:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1;
  				
  				case 3:
  					return 3;
  				
  				case 4:
  					return 5;
  				
  				case 5:
  					return 10;
  				
  				default:
  			}
  			break;
  		
  		case 78:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case joaat("mpsv_lp0_31"):
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 80:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 81:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 82:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 20;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 83:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 100000;
  				
  				case 3:
  					return 250000;
  				
  				case 4:
  					return 500000;
  				
  				case 5:
  					return 1000000;
  				
  				default:
  			}
  			break;
  		
  		case 84:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 85:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1000;
  				
  				case 3:
  					return 3000;
  				
  				case 4:
  					return 15000;
  				
  				case 5:
  					return 55000;
  				
  				default:
  			}
  			break;
  		
  		case 86:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 87:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 25;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 88:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 20;
  				
  				case 5:
  					return 40;
  				
  				default:
  			}
  			break;
  		
  		case 89:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 20;
  				
  				default:
  			}
  			break;
  		
  		case 90:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 25000;
  				
  				case 3:
  					return 50000;
  				
  				case 4:
  					return 75000;
  				
  				case 5:
  					return 100000;
  				
  				default:
  			}
  			break;
  		
  		case 91:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 20;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 40;
  				
  				default:
  			}
  			break;
  		
  		case 92:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_27967;
  				
  				case 3:
  					return Global_262145.f_27968;
  				
  				case 4:
  					return Global_262145.f_27969;
  				
  				case 5:
  					return Global_262145.f_27970;
  				
  				default:
  			}
  			break;
  		
  		case 93:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_28134;
  				
  				case 3:
  					return Global_262145.f_28135;
  				
  				case 4:
  					return Global_262145.f_28136;
  				
  				case 5:
  					return Global_262145.f_28137;
  				
  				default:
  			}
  			break;
  		
  		case 94:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_28168;
  				
  				case 3:
  					return Global_262145.f_28169;
  				
  				case 4:
  					return Global_262145.f_28170;
  				
  				case 5:
  					return Global_262145.f_28171;
  				
  				default:
  			}
  			break;
  		
  		case 95:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_28172;
  				
  				case 3:
  					return Global_262145.f_28173;
  				
  				case 4:
  					return Global_262145.f_28174;
  				
  				case 5:
  					return Global_262145.f_28175;
  				
  				default:
  			}
  			break;
  		
  		case 96:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_27863;
  				
  				case 3:
  					return Global_262145.f_27864;
  				
  				case 4:
  					return Global_262145.f_27865;
  				
  				case 5:
  					return Global_262145.f_27866;
  				
  				default:
  			}
  			break;
  		
  		case 97:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return Global_262145.f_28138;
  				
  				case 3:
  					return Global_262145.f_28139;
  				
  				case 4:
  					return Global_262145.f_28140;
  				
  				case 5:
  					return Global_262145.f_28141;
  				
  				default:
  			}
  			break;
  		
  		case 99:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 15;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 60;
  				
  				default:
  			}
  			break;
  		
  		case 100:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 20;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  		
  		case 101:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 50000;
  				
  				case 3:
  					return 250000;
  				
  				case 4:
  					return 750000;
  				
  				case 5:
  					return 1000000;
  				
  				default:
  			}
  			break;
  		
  		case 102:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 15;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 60;
  				
  				default:
  			}
  			break;
  		
  		case 103:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 15;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 60;
  				
  				default:
  			}
  			break;
  		
  		case 104:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 15;
  				
  				case 4:
  					return 30;
  				
  				case 5:
  					return 60;
  				
  				default:
  			}
  			break;
  		
  		case 105:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 1000000;
  				
  				case 3:
  					return 5000000;
  				
  				case 4:
  					return 10000000;
  				
  				case 5:
  					return 200000000;
  				
  				default:
  			}
  			break;
  		
  		case 106:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 20;
  				
  				case 5:
  					return 50;
  				
  				default:
  			}
  			break;
  	}
  	return 999;
  }
  
  int func_50(int iParam0)
  {
  	bool bVar0;
  	
  	bVar0 = func_58(386, -1, -1) == false;
  	if (bVar0)
  	{
  		if (func_51(func_56(func_57(iParam0, bVar0), 3), -1))
  		{
  			return 1;
  		}
  		else
  		{
  			return 0;
  		}
  	}
  	if (func_51(func_56(func_57(iParam0, bVar0), 4), -1))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  bool func_51(int iParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (func_54(iParam0) == 11771)
  	{
  		return 0;
  	}
  	iVar0 = func_53(iParam0, iParam1);
  	iVar1 = iParam0;
  	return MISC::IS_BIT_SET(iVar0, func_52(iVar1));
  }
  
  int func_52(int iParam0)
  {
  	return (iParam0 % 32);
  }
  
  int func_53(var uParam0, int iParam1)
  {
  	int iVar0;
  	
  	iVar0 = func_47(func_54(uParam0), iParam1, 0);
  	return iVar0;
  }
  
  int func_54(var uParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = uParam0;
  	iVar1 = func_55(iVar0);
  	if ((func_9() == 0 || func_8() == 0) || (func_9() == 999 && func_8() == 999))
  	{
  		switch (iVar1)
  		{
  			case 0:
  				return 1038;
  				break;
  			
  			case 1:
  				return 1039;
  				break;
  			
  			case 2:
  				return 1040;
  				break;
  			
  			case 3:
  				return 1041;
  				break;
  			
  			case 4:
  				return 1042;
  				break;
  			
  			case 5:
  				return 1502;
  				break;
  			
  			case 6:
  				return 1757;
  				break;
  			
  			case 7:
  				return 1951;
  				break;
  			
  			case 8:
  				return 1952;
  				break;
  			
  			case 9:
  				return 1953;
  				break;
  			
  			case 10:
  				return 1954;
  				break;
  			
  			case 11:
  				return 1955;
  				break;
  			
  			case 12:
  				return 1956;
  				break;
  			
  			case 13:
  				return 2423;
  				break;
  			
  			case 14:
  				return 2443;
  				break;
  			
  			case 15:
  				return 2446;
  				break;
  			
  			case 16:
  				return 2449;
  				break;
  			
  			case 17:
  				return 2612;
  				break;
  			
  			case 18:
  				return 2615;
  				break;
  			
  			case 19:
  				return 2618;
  				break;
  			
  			case 20:
  				return 3784;
  				break;
  			
  			case 21:
  				return 3787;
  				break;
  			
  			case 22:
  				return 3862;
  				break;
  			
  			case 23:
  				return 3865;
  				break;
  			
  			case 24:
  				return 3868;
  				break;
  			
  			case 25:
  				return 3871;
  				break;
  			
  			case 26:
  				return 5362;
  				break;
  			
  			case 27:
  				return 5365;
  				break;
  			
  			case 28:
  				return 5467;
  				break;
  			
  			case 29:
  				return 5470;
  				break;
  			
  			case 30:
  				return 6429;
  				break;
  			
  			case 31:
  				return 6432;
  				break;
  			
  			case 32:
  				return 7253;
  				break;
  			
  			case 33:
  				return 7256;
  				break;
  			
  			case 34:
  				return 7259;
  				break;
  			
  			case 35:
  				return 7968;
  				break;
  			
  			case 36:
  				return 7971;
  				break;
  			
  			case 37:
  				return 7974;
  				break;
  			
  			case 38:
  				return 7977;
  				break;
  			
  			case 39:
  				return 8499;
  				break;
  			
  			case 40:
  				return 8502;
  				break;
  			
  			case 41:
  				return 8505;
  				break;
  			
  			case 42:
  				return 8508;
  				break;
  			
  			case 43:
  				return 8902;
  				break;
  			
  			case 44:
  				return 8905;
  				break;
  			
  			case 45:
  				return 8908;
  				break;
  		}
  	}
  	return 11771;
  }
  
  int func_55(int iParam0)
  {
  	return (iParam0 / 32);
  }
  
  int func_56(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	iVar0 = FILES::_0x10144267DD22866C(iParam1, -1, iParam0);
  	if (iVar0 != -1)
  	{
  		return (129 + iVar0);
  	}
  	return -1;
  }
  
  int func_57(int iParam0, bool bParam1)
  {
  	switch (iParam0)
  	{
  		case 0:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_004");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_004");
  			}
  			break;
  		
  		case 1:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_005");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_005");
  			}
  			break;
  		
  		case 2:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_006");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_006");
  			}
  			break;
  		
  		case 3:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_007");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_007");
  			}
  			break;
  		
  		case 4:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_008");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_008");
  			}
  			break;
  		
  		case 5:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_009");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_009");
  			}
  			break;
  		
  		case 6:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_010");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_010");
  			}
  			break;
  		
  		case 7:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_011");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_011");
  			}
  			break;
  		
  		case 8:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_012");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_012");
  			}
  			break;
  		
  		case 9:
  			if (bParam1)
  			{
  				return joaat("MP_Award_M_Tshirt_013");
  			}
  			else
  			{
  				return joaat("MP_Award_F_Tshirt_013");
  			}
  			break;
  		
  		case 10:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_000");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_000");
  			}
  			break;
  		
  		case 11:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_001");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_001");
  			}
  			break;
  		
  		case 12:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_002");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_002");
  			}
  			break;
  		
  		case 13:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_003");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_003");
  			}
  			break;
  		
  		case 14:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_004");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_004");
  			}
  			break;
  		
  		case 15:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_005");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_005");
  			}
  			break;
  		
  		case 16:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_006");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_006");
  			}
  			break;
  		
  		case 17:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_007");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_007");
  			}
  			break;
  		
  		case 18:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_008");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_008");
  			}
  			break;
  		
  		case 19:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_009");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_009");
  			}
  			break;
  		
  		case 20:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_010");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_010");
  			}
  			break;
  		
  		case 21:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_011");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_011");
  			}
  			break;
  		
  		case 22:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_012");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_012");
  			}
  			break;
  		
  		case 23:
  			if (bParam1)
  			{
  				return joaat("FM_Hip_M_Retro_013");
  			}
  			else
  			{
  				return joaat("FM_Hip_F_Retro_013");
  			}
  			break;
  		
  		case 24:
  			if (bParam1)
  			{
  				return joaat("FM_Rstar_M_Tshirt_000");
  			}
  			else
  			{
  				return joaat("FM_Rstar_F_Tshirt_000");
  			}
  			break;
  		
  		case 25:
  			if (bParam1)
  			{
  				return joaat("FM_Rstar_M_Tshirt_001");
  			}
  			else
  			{
  				return joaat("FM_Rstar_F_Tshirt_001");
  			}
  			break;
  		
  		case 26:
  			if (bParam1)
  			{
  				return joaat("FM_Rstar_M_Tshirt_002");
  			}
  			else
  			{
  				return joaat("FM_Rstar_F_Tshirt_002");
  			}
  			break;
  		
  		case 27:
  			if (bParam1)
  			{
  				return joaat("FM_Ind_M_Award_000");
  			}
  			else
  			{
  				return joaat("FM_Ind_F_Award_000");
  			}
  			break;
  		
  		case 28:
  			if (bParam1)
  			{
  				return joaat("MP_Fli_M_Tshirt_000");
  			}
  			else
  			{
  				return joaat("MP_Fli_F_Tshirt_000");
  			}
  			break;
  		
  		case 29:
  			if (bParam1)
  			{
  				return joaat("FM_LTS_M_Tshirt_000");
  			}
  			else
  			{
  				return joaat("FM_LTS_F_Tshirt_000");
  			}
  			break;
  		
  		case 30:
  			if (bParam1)
  			{
  				return joaat("MP_FM_OGA_000_m");
  			}
  			else
  			{
  				return joaat("MP_FM_OGA_000_f");
  			}
  			break;
  		
  		case 31:
  			if (bParam1)
  			{
  				return joaat("MP_FM_OGA_001_m");
  			}
  			else
  			{
  				return joaat("MP_FM_OGA_001_f");
  			}
  			break;
  		
  		case 32:
  			if (bParam1)
  			{
  				return joaat("MP_FM_OGA_002_m");
  			}
  			else
  			{
  				return joaat("MP_FM_OGA_002_f");
  			}
  			break;
  		
  		case 33:
  			if (bParam1)
  			{
  				return joaat("MP_FM_OGA_003_m");
  			}
  			else
  			{
  				return joaat("MP_FM_OGA_003_f");
  			}
  			break;
  		
  		case 34:
  			if (bParam1)
  			{
  				return joaat("MP_Elite_M_Tshirt");
  			}
  			else
  			{
  				return joaat("MP_Elite_F_Tshirt");
  			}
  			break;
  		
  		case 35:
  			if (bParam1)
  			{
  				return joaat("MP_Elite_M_Tshirt_1");
  			}
  			else
  			{
  				return joaat("MP_Elite_F_Tshirt_1");
  			}
  			break;
  	}
  	return 0;
  }
  
  int func_58(int iParam0, int iParam1, int iParam2)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	
  	if (iParam1 == -1)
  	{
  		iParam1 = func_7();
  	}
  	iVar0 = 0;
  	iVar1 = func_60(iParam0, iParam1);
  	iVar2 = func_59(iParam0);
  	if (0 != iVar1)
  	{
  		if (!STATS::STAT_GET_MASKED_INT(iVar1, &iVar0, iVar2, 8, iParam2))
  		{
  			iVar0 = 0;
  		}
  	}
  	return iVar0;
  }
  
  int func_59(int iParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	if (iParam0 >= 384 && iParam0 < 457)
  	{
  		iVar0 = ((iParam0 - 384) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 384)) * 8) * 8;
  	}
  	else if (iParam0 >= 457 && iParam0 < 513)
  	{
  		iVar0 = ((iParam0 - 457) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 457)) * 8) * 8;
  	}
  	else if (iParam0 >= 1281 && iParam0 < 1305)
  	{
  		iVar0 = ((iParam0 - 1281) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 1281)) * 8) * 8;
  	}
  	else if (iParam0 >= 1305 && iParam0 < 1361)
  	{
  		iVar0 = ((iParam0 - 1305) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 1305)) * 8) * 8;
  	}
  	else if (iParam0 >= 1361 && iParam0 < 1393)
  	{
  		iVar0 = ((iParam0 - 1361) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 1361)) * 8) * 8;
  	}
  	else if (iParam0 >= 1393 && iParam0 < 2919)
  	{
  		iVar0 = ((iParam0 - 1393) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 1393)) * 8) * 8;
  	}
  	else if (iParam0 >= 4143 && iParam0 < 4207)
  	{
  		iVar0 = ((iParam0 - 4143) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 4143)) * 8) * 8;
  	}
  	else if (iParam0 >= 3879 && iParam0 < 4143)
  	{
  		iVar0 = ((iParam0 - 3879) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 3879)) * 8) * 8;
  	}
  	else if (iParam0 >= 4399 && iParam0 < 6028)
  	{
  		iVar0 = ((iParam0 - 4399) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 4399)) * 8) * 8;
  	}
  	else if (iParam0 >= 6413 && iParam0 < 7262)
  	{
  		iVar0 = ((iParam0 - 6413) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 6413)) * 8) * 8;
  	}
  	else if (iParam0 >= 7262 && iParam0 < 7313)
  	{
  		iVar0 = ((iParam0 - 7262) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 7262)) * 8) * 8;
  	}
  	else if (iParam0 >= 7681 && iParam0 < 9361)
  	{
  		iVar0 = ((iParam0 - 7681) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 7681)) * 8) * 8;
  	}
  	else if (iParam0 >= 9553 && iParam0 < 15265)
  	{
  		iVar0 = ((iParam0 - 9553) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 9553)) * 8) * 8;
  	}
  	else if (iParam0 >= 15265 && iParam0 < 15369)
  	{
  		iVar0 = ((iParam0 - 15265) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 15265)) * 8) * 8;
  	}
  	else if (iParam0 >= 7313 && iParam0 < 7321)
  	{
  		iVar0 = ((iParam0 - 7313) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 7313)) * 8) * 8;
  	}
  	else if (iParam0 >= 7641 && iParam0 < 7681)
  	{
  		iVar0 = ((iParam0 - 7641) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 7641)) * 8) * 8;
  	}
  	else if (iParam0 >= 16010 && iParam0 < 18098)
  	{
  		iVar0 = ((iParam0 - 16010) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 16010)) * 8) * 8;
  	}
  	else if (iParam0 >= 18162 && iParam0 < 19018)
  	{
  		iVar0 = ((iParam0 - 18162) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 18162)) * 8) * 8;
  	}
  	else if (iParam0 >= 19018 && iParam0 < 22066)
  	{
  		iVar0 = ((iParam0 - 19018) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 19018)) * 8) * 8;
  	}
  	else if (iParam0 >= 22194 && iParam0 < 24962)
  	{
  		iVar0 = ((iParam0 - 22194) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 22194)) * 8) * 8;
  	}
  	else if (iParam0 >= 25538 && iParam0 < 26810)
  	{
  		iVar0 = ((iParam0 - 25538) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 25538)) * 8) * 8;
  	}
  	else if (iParam0 >= 27258 && iParam0 < 28098)
  	{
  		iVar0 = ((iParam0 - 27258) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 27258)) * 8) * 8;
  	}
  	else if (iParam0 >= 28483 && iParam0 < 30227)
  	{
  		iVar0 = ((iParam0 - 28483) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 28483)) * 8) * 8;
  	}
  	else if (iParam0 >= 30483 && iParam0 < 30515)
  	{
  		iVar0 = ((iParam0 - 30483) - STATS::_STAT_GET_PACKED_INT_MASK((iParam0 - 30483)) * 8) * 8;
  	}
  	return iVar0;
  }
  
  int func_60(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (iParam1 == -1)
  	{
  		iParam1 = func_7();
  	}
  	iVar0 = 0;
  	if (iParam0 >= 384 && iParam0 < 457)
  	{
  		iVar0 = STATS::GET_PACKED_INT_STAT_KEY((iParam0 - 384), false, true, iParam1);
  	}
  	else if (iParam0 >= 457 && iParam0 < 513)
  	{
  		iVar0 = STATS::GET_PACKED_INT_STAT_KEY((iParam0 - 457), true, true, iParam1);
  	}
  	else if (iParam0 >= 1281 && iParam0 < 1305)
  	{
  		iVar0 = STATS::GET_PACKED_INT_STAT_KEY((iParam0 - 1281), false, false, 0);
  	}
  	else if (iParam0 >= 1305 && iParam0 < 1361)
  	{
  		iVar0 = STATS::GET_PACKED_INT_STAT_KEY((iParam0 - 1305), true, false, 0);
  	}
  	else if (iParam0 >= 1361 && iParam0 < 1393)
  	{
  		iVar0 = STATS::GET_PACKED_TU_INT_STAT_KEY((iParam0 - 1361), false, false, 0);
  	}
  	else if (iParam0 >= 1393 && iParam0 < 2919)
  	{
  		iVar0 = STATS::GET_PACKED_TU_INT_STAT_KEY((iParam0 - 1393), false, true, iParam1);
  	}
  	else if (iParam0 >= 4143 && iParam0 < 4207)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 4143), false, false, 0, "_NGPSTAT_INT");
  	}
  	else if (iParam0 >= 3879 && iParam0 < 4143)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 3879), false, true, iParam1, "_NGPSTAT_INT");
  	}
  	else if (iParam0 >= 4399 && iParam0 < 6028)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 4399), false, true, iParam1, "_LRPSTAT_INT");
  	}
  	else if (iParam0 >= 6413 && iParam0 < 7262)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 6413), false, true, iParam1, "_APAPSTAT_INT");
  	}
  	else if (iParam0 >= 7262 && iParam0 < 7313)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 7262), false, true, iParam1, "_LR2PSTAT_INT");
  	}
  	else if (iParam0 >= 7681 && iParam0 < 9361)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 7681), false, true, iParam1, "_BIKEPSTAT_INT");
  	}
  	else if (iParam0 >= 9553 && iParam0 < 15265)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 9553), false, true, iParam1, "_IMPEXPPSTAT_INT");
  	}
  	else if (iParam0 >= 15265 && iParam0 < 15369)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 15265), false, true, iParam1, "_GUNRPSTAT_INT");
  	}
  	else if (iParam0 >= 7313 && iParam0 < 7321)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 7313), false, false, 0, "_NGDLCPSTAT_INT");
  	}
  	else if (iParam0 >= 7641 && iParam0 < 7681)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 7641), false, true, iParam1, "_NGDLCPSTAT_INT");
  	}
  	else if (iParam0 >= 16010 && iParam0 < 18098)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 16010), false, true, iParam1, "_DLCSMUGCHARPSTAT_INT");
  	}
  	else if (iParam0 >= 18162 && iParam0 < 19018)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 18162), false, true, iParam1, "_GANGOPSPSTAT_INT");
  	}
  	else if (iParam0 >= 19018 && iParam0 < 22066)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 19018), false, true, iParam1, "_BUSINESSBATPSTAT_INT");
  	}
  	else if (iParam0 >= 22194 && iParam0 < 24962)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 22194), false, true, iParam1, "_ARENAWARSPSTAT_INT");
  	}
  	else if (iParam0 >= 25538 && iParam0 < 26810)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 25538), false, true, iParam1, "_CASINOPSTAT_INT");
  	}
  	else if (iParam0 >= 27258 && iParam0 < 28098)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 27258), false, true, iParam1, "_CASINOHSTPSTAT_INT");
  	}
  	else if (iParam0 >= 28483 && iParam0 < 30227)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 28483), false, true, iParam1, "_SU20PSTAT_INT");
  	}
  	else if (iParam0 >= 30483 && iParam0 < 30515)
  	{
  		iVar0 = STATS::_GET_NGSTAT_INT_HASH((iParam0 - 30483), false, true, iParam1, "_HISLANDPSTAT_INT");
  	}
  	return iVar0;
  }
  
  void func_61(int iParam0)
  {
  	char* sVar0;
  	char* sVar1;
  	char* sVar2;
  	char* sVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	
  	switch (iParam0)
  	{
  		case 0:
  			sVar0 = "CLO_HST_A_0";
  			sVar1 = "CLO_HST_AD_0";
  			sVar2 = "DeathDefying";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 117;
  			break;
  		
  		case 1:
  			sVar0 = "CLO_HST_A_1";
  			sVar1 = "CLO_HST_AD_1";
  			sVar2 = "ForHire";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 109;
  			break;
  		
  		case 2:
  			sVar0 = "CLO_HST_A_2";
  			sVar1 = "CLO_HST_AD_3";
  			sVar2 = "LiveALittle";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 115;
  			break;
  		
  		case 5:
  			sVar0 = "CLO_HST_A_5";
  			sVar1 = "CLO_HST_AD_6";
  			sVar2 = "Decorated";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 112;
  			break;
  		
  		case 7:
  			sVar0 = "CLO_HST_A_7";
  			sVar1 = "CLO_HST_AD_8";
  			sVar2 = "OneManArmy";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 124;
  			break;
  		
  		case 6:
  			sVar0 = "CLO_HST_A_6";
  			sVar1 = "CLO_HST_AD_7";
  			sVar2 = "PsychoKiller";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 120;
  			break;
  		
  		case 8:
  			sVar0 = "CLO_HST_A_8";
  			sVar1 = "CLO_HST_AD_2";
  			sVar2 = "ShotCaller";
  			sVar3 = "MPTShirtAwards2";
  			iVar4 = 110;
  			break;
  		
  		case 34:
  			sVar0 = "CLO_HSTM_U_3_0";
  			sVar1 = "CLO_HST_AD_10";
  			sVar2 = "EliteTshirt1";
  			sVar3 = "MPTShirtAwards2";
  			break;
  	}
  	iVar6 = 5;
  	if (func_63(iVar4, 9) != 1)
  	{
  		iVar5 = 1;
  	}
  	if (iParam0 != 34)
  	{
  		iVar7 = func_49(iVar4, iVar6, 9);
  		iVar8 = func_48(iVar4, -1);
  	}
  	else
  	{
  		iVar7 = 5;
  		iVar8 = func_62();
  	}
  	func_64(sVar0, sVar1, sVar2, sVar3, iVar7, iVar8, -1, iVar5, &Global_1375994);
  }
  
  int func_62()
  {
  	int iVar0;
  	
  	if (func_68(3765, -1, -1))
  	{
  		iVar0++;
  	}
  	if (func_68(3766, -1, -1))
  	{
  		iVar0++;
  	}
  	if (func_68(3767, -1, -1))
  	{
  		iVar0++;
  	}
  	if (func_68(3768, -1, -1))
  	{
  		iVar0++;
  	}
  	if (func_68(3769, -1, -1))
  	{
  		iVar0++;
  	}
  	return iVar0;
  }
  
  int func_63(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 53:
  			return 1;
  		
  		case 39:
  			return 1;
  		
  		case 51:
  			return 1;
  		
  		case 52:
  			return 1;
  		
  		case 60:
  			return 1;
  		
  		case 61:
  			return 1;
  		
  		case 62:
  			return 1;
  		
  		case 63:
  			return 1;
  		
  		case 16:
  			return 1;
  		
  		case 0:
  			return 1;
  		
  		case 12:
  			return 1;
  		
  		case 11:
  			return 1;
  		
  		case 19:
  			return 1;
  		
  		case 20:
  			return 1;
  		
  		case 15:
  			return 1;
  		
  		case 17:
  			return 1;
  		
  		case 21:
  			return 1;
  		
  		case 14:
  			return 1;
  		
  		case 22:
  			return 1;
  		
  		case 1:
  			return 1;
  		
  		case 2:
  			return 1;
  		
  		case 3:
  			return 1;
  		
  		case 4:
  			return 1;
  		
  		case 5:
  			return 1;
  		
  		case 6:
  			return 1;
  		
  		case 7:
  			return 1;
  		
  		case 8:
  			return 1;
  		
  		case 9:
  			return 1;
  		
  		case 10:
  			return 1;
  		
  		case 23:
  			return 1;
  		
  		case 24:
  			return 1;
  		
  		case 25:
  			return 1;
  		
  		case 26:
  			return 1;
  		
  		case 27:
  			return 1;
  		
  		case 28:
  			return 1;
  		
  		case 29:
  			return 1;
  		
  		case 30:
  			return 1;
  		
  		case 31:
  			return 1;
  		
  		case 32:
  			return 1;
  		
  		case 33:
  			return 1;
  		
  		case 34:
  			return 1;
  		
  		case 35:
  			return 1;
  		
  		case 36:
  			return 1;
  		
  		case 37:
  			return 1;
  		
  		case 38:
  			return 1;
  		
  		case 40:
  			return 1;
  		
  		case 41:
  			return 1;
  		
  		case 42:
  			return 1;
  		
  		case 43:
  			return 1;
  		
  		case 44:
  			return 1;
  		
  		case 45:
  			return 1;
  		
  		case 46:
  			return 1;
  		
  		case 47:
  			return 1;
  		
  		case 48:
  			return 1;
  		
  		case 49:
  			return 1;
  		
  		case 54:
  			return 1;
  		
  		case 55:
  			return 1;
  		
  		case 56:
  			return 1;
  		
  		case 57:
  			return 1;
  		
  		case 58:
  			return 1;
  		
  		case 59:
  			return 1;
  		
  		case 113:
  			return 1;
  		
  		case 114:
  			return 1;
  		
  		case 115:
  			return 1;
  		
  		case 116:
  			return 1;
  		
  		case 117:
  			return 1;
  		
  		case 67:
  			return 1;
  		
  		case 107:
  			return 1;
  		
  		case 108:
  			return 1;
  		
  		case 109:
  			return 1;
  		
  		case 110:
  			return 1;
  		
  		case 111:
  			return 1;
  		
  		case 112:
  			return 1;
  		
  		case 118:
  			return 1;
  		
  		case 119:
  			return 1;
  		
  		case 120:
  			return 1;
  		
  		case 121:
  			return 1;
  		
  		case 122:
  			return 1;
  		
  		case 123:
  			return 1;
  		
  		case 124:
  			return 1;
  		
  		case 125:
  			return 1;
  		
  		case 126:
  			return 1;
  		
  		case 127:
  			return 1;
  		
  		case 128:
  			return 1;
  		
  		case 129:
  			return 1;
  		
  		case 130:
  			return 1;
  		
  		case 70:
  			return 1;
  		
  		case 71:
  			return 1;
  		
  		case 72:
  			return 1;
  		
  		case 73:
  			return 1;
  		
  		case 74:
  			return 1;
  		
  		case 75:
  			return 1;
  		
  		case 76:
  			return 1;
  		
  		case 77:
  			return 1;
  		
  		case 78:
  			return 1;
  		
  		case joaat("mpsv_lp0_31"):
  			return 1;
  		
  		case 80:
  			return 1;
  		
  		case 81:
  			return 1;
  		
  		case 82:
  			return 1;
  		
  		case 83:
  			return 1;
  		
  		case 84:
  			return 1;
  		
  		case 85:
  			return 1;
  		
  		case 86:
  			return 1;
  		
  		case 87:
  			return 1;
  		
  		case 88:
  		case 89:
  		case 90:
  		case 91:
  		case 92:
  		case 93:
  		case 94:
  		case 95:
  		case 96:
  		case 97:
  		case 99:
  		case 100:
  		case 101:
  		case 102:
  		case 103:
  		case 104:
  		case 105:
  		case 106:
  			return 1;
  			break;
  	}
  	return 0;
  }
  
  void func_64(char* sParam0, char* sParam1, char* sParam2, char* sParam3, int iParam4, int iParam5, int iParam6, int iParam7, var uParam8)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 <= 11)
  	{
  		if (uParam8->f_1[iVar0] == 0)
  		{
  			func_66(iVar0, sParam2, sParam3, iParam6, iParam7, uParam8);
  			func_65(iVar0, sParam0, sParam1, iParam4, iParam5, uParam8);
  			uParam8->f_1[iVar0] = 1;
  			iVar0 = 12;
  		}
  		iVar0++;
  	}
  }
  
  void func_65(int iParam0, char* sParam1, char* sParam2, var uParam3, var uParam4, var uParam5)
  {
  	StringCopy(&(uParam5->f_14[iParam0 /*8*/]), sParam1, 32);
  	StringCopy(&(uParam5->f_111[iParam0 /*8*/]), sParam2, 32);
  	uParam5->f_208[iParam0] = uParam3;
  	uParam5->f_221[iParam0] = uParam4;
  }
  
  void func_66(int iParam0, char* sParam1, char* sParam2, var uParam3, int iParam4, var uParam5)
  {
  	StringCopy(&(uParam5->f_234[iParam0 /*8*/]), sParam1, 32);
  	StringCopy(&(uParam5->f_331[iParam0 /*8*/]), sParam2, 32);
  	uParam5->f_428[iParam0] = func_67(iParam4);
  	uParam5->f_441[iParam0] = uParam3;
  }
  
  int func_67(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 2:
  			return 107;
  			break;
  		
  		case 3:
  			return 108;
  			break;
  		
  		case 4:
  			return 109;
  			break;
  		
  		case 5:
  			return 110;
  			break;
  		
  		default:
  			return 0;
  			break;
  	}
  	return 0;
  }
  
  bool func_68(int iParam0, int iParam1, int iParam2)
  {
  	bool bVar0;
  	int iVar1;
  	int iVar2;
  	
  	bVar0 = false;
  	if (iParam1 == -1)
  	{
  		iParam1 = func_7();
  	}
  	iVar1 = func_70(iParam0, iParam1);
  	iVar2 = func_69(iParam0);
  	if (0 != iVar1)
  	{
  		bVar0 = STATS::STAT_GET_BOOL_MASKED(iVar1, iVar2, iParam2);
  	}
  	return bVar0;
  }
  
  int func_69(int iParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	if (iParam0 >= 0 && iParam0 < 192)
  	{
  		iVar0 = ((iParam0 - 0) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 0)) * 64);
  	}
  	else if (iParam0 >= 192 && iParam0 < 384)
  	{
  		iVar0 = ((iParam0 - 192) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 192)) * 64);
  	}
  	else if (iParam0 >= 513 && iParam0 < 705)
  	{
  		iVar0 = ((iParam0 - 513) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 513)) * 64);
  	}
  	else if (iParam0 >= 705 && iParam0 < 1281)
  	{
  		iVar0 = ((iParam0 - 705) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 705)) * 64);
  	}
  	else if (iParam0 >= 2919 && iParam0 < 3111)
  	{
  		iVar0 = ((iParam0 - 2919) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 2919)) * 64);
  	}
  	else if (iParam0 >= 3111 && iParam0 < 3879)
  	{
  		iVar0 = ((iParam0 - 3111) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 3111)) * 64);
  	}
  	else if (iParam0 >= 4335 && iParam0 < 4399)
  	{
  		iVar0 = ((iParam0 - 4335) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 4335)) * 64);
  	}
  	else if (iParam0 >= 4207 && iParam0 < 4335)
  	{
  		iVar0 = ((iParam0 - 4207) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 4207)) * 64);
  	}
  	else if (iParam0 >= 6029 && iParam0 < 6413)
  	{
  		iVar0 = ((iParam0 - 6029) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 6029)) * 64);
  	}
  	else if (iParam0 >= 7385 && iParam0 < 7641)
  	{
  		iVar0 = ((iParam0 - 7385) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 7385)) * 64);
  	}
  	else if (iParam0 >= 7321 && iParam0 < 7385)
  	{
  		iVar0 = ((iParam0 - 7321) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 7321)) * 64);
  	}
  	else if (iParam0 >= 9361 && iParam0 < 9553)
  	{
  		iVar0 = ((iParam0 - 9361) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 9361)) * 64);
  	}
  	else if (iParam0 >= 15369 && iParam0 < 15561)
  	{
  		iVar0 = ((iParam0 - 15369) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 15369)) * 64);
  	}
  	else if (iParam0 >= 15562 && iParam0 < 15946)
  	{
  		iVar0 = ((iParam0 - 15562) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 15562)) * 64);
  	}
  	else if (iParam0 >= 15946 && iParam0 < 16010)
  	{
  		iVar0 = ((iParam0 - 15946) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 15946)) * 64);
  	}
  	else if (iParam0 >= 18098 && iParam0 < 18162)
  	{
  		iVar0 = ((iParam0 - 18098) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 18098)) * 64);
  	}
  	else if (iParam0 >= 22066 && iParam0 < 22194)
  	{
  		iVar0 = ((iParam0 - 22066) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 22066)) * 64);
  	}
  	else if (iParam0 >= 24962 && iParam0 < 25538)
  	{
  		iVar0 = ((iParam0 - 24962) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 24962)) * 64);
  	}
  	else if (iParam0 >= 26810 && iParam0 < 27258)
  	{
  		iVar0 = ((iParam0 - 26810) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 26810)) * 64);
  	}
  	else if (iParam0 >= 28098 && iParam0 < 28354)
  	{
  		iVar0 = ((iParam0 - 28098) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 28098)) * 64);
  	}
  	else if (iParam0 >= 28355 && iParam0 < 28483)
  	{
  		iVar0 = ((iParam0 - 28355) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 28355)) * 64);
  	}
  	else if (iParam0 >= 30227 && iParam0 < 30355)
  	{
  		iVar0 = ((iParam0 - 30227) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 30227)) * 64);
  	}
  	else if (iParam0 >= 30355 && iParam0 < 30483)
  	{
  		iVar0 = ((iParam0 - 30355) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 30355)) * 64);
  	}
  	else if (iParam0 >= 30515 && iParam0 < 30707)
  	{
  		iVar0 = ((iParam0 - 30515) - STATS::_STAT_GET_PACKED_BOOL_MASK((iParam0 - 30515)) * 64);
  	}
  	return iVar0;
  }
  
  int func_70(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (iParam1 == -1)
  	{
  		iParam1 = func_7();
  	}
  	iVar0 = 0;
  	if (iParam0 >= 0 && iParam0 < 192)
  	{
  		iVar0 = STATS::GET_PACKED_BOOL_STAT_KEY((iParam0 - 0), false, true, iParam1);
  	}
  	else if (iParam0 >= 192 && iParam0 < 384)
  	{
  		iVar0 = STATS::GET_PACKED_BOOL_STAT_KEY((iParam0 - 192), true, true, iParam1);
  	}
  	else if (iParam0 >= 513 && iParam0 < 705)
  	{
  		iVar0 = STATS::GET_PACKED_BOOL_STAT_KEY((iParam0 - 513), false, false, 0);
  	}
  	else if (iParam0 >= 705 && iParam0 < 1281)
  	{
  		iVar0 = STATS::GET_PACKED_BOOL_STAT_KEY((iParam0 - 705), true, false, 0);
  	}
  	else if (iParam0 >= 2919 && iParam0 < 3111)
  	{
  		iVar0 = STATS::GET_PACKED_TU_BOOL_STAT_KEY((iParam0 - 2919), false, false, 0);
  	}
  	else if (iParam0 >= 3111 && iParam0 < 3879)
  	{
  		iVar0 = STATS::GET_PACKED_TU_BOOL_STAT_KEY((iParam0 - 3111), false, true, iParam1);
  	}
  	else if (iParam0 >= 4335 && iParam0 < 4399)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 4335), false, false, 0, "_NGPSTAT_BOOL");
  	}
  	else if (iParam0 >= 4207 && iParam0 < 4335)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 4207), false, true, iParam1, "_NGPSTAT_BOOL");
  	}
  	else if (iParam0 >= 6029 && iParam0 < 6413)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 6029), false, true, iParam1, "_NGTATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 7321 && iParam0 < 7385)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 7321), false, false, 0, "_NGDLCPSTAT_BOOL");
  	}
  	else if (iParam0 >= 7385 && iParam0 < 7641)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 7385), false, true, iParam1, "_NGDLCPSTAT_BOOL");
  	}
  	else if (iParam0 >= 9361 && iParam0 < 9553)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 9361), false, true, iParam1, "_DLCBIKEPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15369 && iParam0 < 15561)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 15369), false, true, iParam1, "_DLCGUNPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15562 && iParam0 < 15946)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 15562), false, true, iParam1, "_GUNTATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15946 && iParam0 < 16010)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 15946), false, true, iParam1, "_DLCSMUGCHARPSTAT_BOOL");
  	}
  	else if (iParam0 >= 18098 && iParam0 < 18162)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 18098), false, true, iParam1, "_GANGOPSPSTAT_BOOL");
  	}
  	else if (iParam0 >= 22066 && iParam0 < 22194)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 22066), false, true, iParam1, "_BUSINESSBATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 24962 && iParam0 < 25538)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 24962), false, true, iParam1, "_ARENAWARSPSTAT_BOOL");
  	}
  	else if (iParam0 >= 26810 && iParam0 < 27258)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 26810), false, true, iParam1, "_CASINOPSTAT_BOOL");
  	}
  	else if (iParam0 >= 28098 && iParam0 < 28354)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 28098), false, true, iParam1, "_CASINOHSTPSTAT_BOOL");
  	}
  	else if (iParam0 >= 28355 && iParam0 < 28483)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 28355), false, true, iParam1, "_HEIST3TATTOOSTAT_BOOL");
  	}
  	else if (iParam0 >= 30227 && iParam0 < 30355)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 30227), false, true, iParam1, "_SU20PSTAT_BOOL");
  	}
  	else if (iParam0 >= 30355 && iParam0 < 30483)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 30355), false, true, iParam1, "_SU20TATTOOSTAT_BOOL");
  	}
  	else if (iParam0 >= 30515 && iParam0 < 30707)
  	{
  		iVar0 = STATS::_GET_NGSTAT_BOOL_HASH((iParam0 - 30515), false, true, iParam1, "_HISLANDPSTAT_BOOL");
  	}
  	return iVar0;
  }
  
  void func_71(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	char* sVar1;
  	char* sVar2;
  	char* sVar3;
  	char* sVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	
  	switch (iParam1)
  	{
  		case 0:
  			iParam1 = 0;
  			break;
  		
  		case 1:
  			iParam1 = 1;
  			break;
  		
  		case 2:
  			iParam1 = 2;
  			break;
  		
  		case 3:
  			iParam1 = 3;
  			break;
  		
  		case 4:
  			iParam1 = 4;
  			break;
  		
  		case 5:
  			iParam1 = 5;
  			break;
  		
  		case 6:
  			iParam1 = func_82(iParam0, iParam2);
  			break;
  		
  		case 7:
  		case 8:
  			iParam1 = func_80(iParam0, iParam2);
  			break;
  	}
  	iVar0 = func_80(iParam0, iParam2);
  	if (iParam1 != 0)
  	{
  		if (iParam1 != 1)
  		{
  			if (func_79(iParam0, iParam2) != 1)
  			{
  				iParam1 = 1;
  			}
  		}
  	}
  	sVar1 = func_78(iParam0, iParam2, 0);
  	sVar2 = func_77(iParam0, iParam1, iParam2, 0);
  	sVar3 = func_76(iParam0, iParam2);
  	sVar4 = func_75(iParam0, iParam2);
  	iVar5 = func_74(iParam0, iVar0, iParam2);
  	iVar6 = func_73(iParam0);
  	iVar7 = func_72(iParam1);
  	iVar8 = func_74(iParam0, iVar7, iParam2);
  	iVar9 = (iVar5 - iVar8);
  	iVar10 = (iVar6 - iVar8);
  	iVar11 = SYSTEM::FLOOR(((SYSTEM::TO_FLOAT(iVar10) / SYSTEM::TO_FLOAT(iVar9)) * 100f));
  	func_64(sVar1, sVar2, sVar3, sVar4, iVar5, iVar6, iVar11, iParam1, uParam3);
  }
  
  int func_72(int iParam0)
  {
  	int iVar0;
  	
  	switch (iParam0)
  	{
  		case 0:
  			iVar0 = 0;
  			break;
  		
  		case 1:
  			iVar0 = 0;
  			break;
  		
  		case 2:
  			iVar0 = 1;
  			break;
  		
  		case 3:
  			iVar0 = 2;
  			break;
  		
  		case 4:
  			iVar0 = 3;
  			break;
  		
  		case 5:
  			iVar0 = 4;
  			break;
  	}
  	return iVar0;
  }
  
  int func_73(int iParam0)
  {
  	var uVar0;
  	int iVar1;
  	var uVar2;
  	
  	uVar0 = Global_1388013[iParam0];
  	iVar1 = uVar0;
  	if (STATS::STAT_GET_INT(iVar1, &uVar2, -1))
  	{
  		return uVar2;
  	}
  	return 0;
  }
  
  int func_74(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam2 == 0)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 1:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 5;
  				
  				case 3:
  					return 10;
  				
  				case 4:
  					return 15;
  				
  				case 5:
  					return 25;
  				
  				default:
  			}
  			break;
  		
  		case 2:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  		
  		case 3:
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  				
  				case 1:
  					return 0;
  				
  				case 2:
  					return 10;
  				
  				case 3:
  					return 25;
  				
  				case 4:
  					return 50;
  				
  				case 5:
  					return 100;
  				
  				default:
  			}
  			break;
  	}
  	return 999;
  }
  
  char* func_75(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "MPAWARDS5";
  		
  		case 1:
  			return "MPAWARDS5";
  		
  		case 2:
  			return "MPAWARDS5";
  		
  		case 3:
  			return "MPAWARDS6";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_76(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "RaceCreator";
  		
  		case 1:
  			return "DeathmatchCreator";
  		
  		case 2:
  			return "PlayedCreation";
  		
  		case 3:
  			return "CreatorsScore";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_77(int iParam0, int iParam1, int iParam2, bool bParam3)
  {
  	if (iParam2 == 9)
  	{
  	}
  	if (bParam3)
  	{
  	}
  	if (func_74(iParam0, iParam1, iParam2) == 1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "AWS_686";
  		
  		case 1:
  			return "AWS_688";
  		
  		case 2:
  			return "AWS_689";
  		
  		case 3:
  			return "AWS_690";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_78(int iParam0, int iParam1, bool bParam2)
  {
  	if (bParam2)
  	{
  	}
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "AWT_686";
  		
  		case 1:
  			return "AWT_688";
  		
  		case 2:
  			return "AWT_689";
  		
  		case 3:
  			return "AWT_690";
  		
  		default:
  	}
  	return "";
  }
  
  int func_79(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return 1;
  		
  		case 1:
  			return 1;
  		
  		case 2:
  			return 1;
  		
  		case 3:
  			return 1;
  		
  		default:
  	}
  	return 0;
  }
  
  int func_80(int iParam0, int iParam1)
  {
  	if (func_81(func_73(iParam0), func_74(iParam0, 5, iParam1)))
  	{
  		return 5;
  	}
  	if (func_81(func_73(iParam0), func_74(iParam0, 4, iParam1)))
  	{
  		return 5;
  	}
  	if (func_81(func_73(iParam0), func_74(iParam0, 3, iParam1)))
  	{
  		return 4;
  	}
  	if (func_81(func_73(iParam0), func_74(iParam0, 2, iParam1)))
  	{
  		return 3;
  	}
  	return 2;
  }
  
  int func_81(int iParam0, int iParam1)
  {
  	if (iParam1 <= iParam0)
  	{
  		return 1;
  	}
  	return 0;
  }
  
  int func_82(int iParam0, int iParam1)
  {
  	if (!func_81(func_73(iParam0), func_74(iParam0, 5, iParam1)))
  	{
  		return 0;
  	}
  	if (!func_81(func_73(iParam0), func_74(iParam0, 4, iParam1)))
  	{
  		return 2;
  	}
  	if (!func_81(func_73(iParam0), func_74(iParam0, 3, iParam1)))
  	{
  		return 3;
  	}
  	if (!func_81(func_73(iParam0), func_74(iParam0, 2, iParam1)))
  	{
  		return 4;
  	}
  	return 5;
  }
  
  void func_83(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	int iVar1;
  	char* sVar2;
  	char* sVar3;
  	char* sVar4;
  	char* sVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	
  	switch (iParam1)
  	{
  		case 6:
  		case 8:
  			if (func_51(iParam0, -1))
  			{
  				iParam1 = 0;
  			}
  			break;
  		
  		case 7:
  			if (func_51(iParam0, -1) == 0)
  			{
  				iParam1 = 5;
  			}
  			break;
  	}
  	iVar1 = func_88(iParam0);
  	switch (iParam2)
  	{
  		case 9:
  			iVar0 = 3;
  			break;
  	}
  	if (iParam0 == 57)
  	{
  		iParam1 = 2;
  	}
  	else if (iParam0 == 58 || iParam0 == 9)
  	{
  		iParam1 = 3;
  	}
  	else if (iParam0 == 59 || iParam0 == 10)
  	{
  		iParam1 = 4;
  	}
  	else
  	{
  		iParam1 = 5;
  	}
  	sVar2 = func_87(iParam0, iVar0);
  	sVar3 = func_86(iParam0, iVar0);
  	sVar4 = func_85(iParam0, iVar0);
  	sVar5 = func_84(iParam0, iVar0);
  	iVar6 = func_49(iVar1, iParam1, 0);
  	iVar7 = func_48(iVar1, -1);
  	if (iVar1 == 64)
  	{
  		iVar6 = 1;
  		iVar7 = 0;
  	}
  	iVar8 = -1;
  	if (func_51(iParam0, -1))
  	{
  		iVar7 = func_49(func_88(iParam0), iParam1, 0);
  		if (iVar1 == 64)
  		{
  			iVar7 = 1;
  		}
  	}
  	iParam1 = 1;
  	func_64(sVar2, sVar3, sVar4, sVar5, iVar6, iVar7, iVar8, iParam1, uParam3);
  }
  
  char* func_84(int iParam0, int iParam1)
  {
  	char* sVar0;
  	
  	sVar0 = "MPTATTOOS";
  	if (iParam0 == iParam0)
  	{
  	}
  	if (iParam1 == iParam1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 56:
  			return "MPTattoos3";
  			break;
  		
  		case 89:
  			return "MPTSHIRTAWARDS";
  			break;
  		
  		case 88:
  			return "MPTSHIRTAWARDS";
  			break;
  		
  		case 87:
  			return "MPTSHIRTAWARDS";
  			break;
  		
  		case 57:
  			return "MPTattoos2";
  			break;
  		
  		case 58:
  			return "MPTattoos2";
  			break;
  		
  		case 59:
  			return "MPTattoos2";
  			break;
  		
  		case 60:
  			return "MPTattoos2";
  			break;
  		
  		case 12:
  		case 55:
  		case 49:
  		case 48:
  		case 46:
  		case 45:
  		case 34:
  		case 65:
  		case 25:
  			return "MPTattoos3";
  			break;
  	}
  	return sVar0;
  }
  
  char* func_85(int iParam0, int iParam1)
  {
  	char* sVar0;
  	
  	sVar0 = "";
  	if (iParam0 == iParam0)
  	{
  	}
  	if (iParam1 == iParam1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 56:
  			return "TATTOO_WIN_PARLEY";
  			break;
  		
  		case 57:
  			return "TATTOO_HOLD_UP_SHOPS_10";
  			break;
  		
  		case 58:
  			return "TATTOO_HOLD_UP_SHOPS_25";
  			break;
  		
  		case 59:
  			return "TATTOO_HOLD_UP_SHOPS_50";
  			break;
  		
  		case 60:
  			return "TATTOO_HOLD_UP_SHOPS_100";
  			break;
  		
  		case 0:
  			return "HeadBanger";
  			break;
  		
  		case 1:
  			return "theslayer";
  			break;
  		
  		case 2:
  			return "clearout";
  			break;
  		
  		case 4:
  			return "thehustler";
  			break;
  		
  		case 3:
  			return "armoredvantakedowns";
  			break;
  		
  		case 54:
  			return "wineverymodeonce";
  			break;
  		
  		case 5:
  			return "killplayerbountyhead";
  			break;
  		
  		case 6:
  			return "holdworldrecord";
  			break;
  		
  		case 55:
  			return "MP_FM_Tat_Award_008";
  			break;
  		
  		case 7:
  			return "getrevengekills";
  			break;
  		
  		case 8:
  			return "kill3otherracers";
  			break;
  		
  		case 9:
  			return "reachrank1";
  			break;
  		
  		case 10:
  			return "reachrank2";
  			break;
  		
  		case 11:
  			return "reachrank3";
  			break;
  		
  		case 13:
  			return "HeadBanger";
  			break;
  		
  		case 14:
  			return "HeadBanger";
  			break;
  		
  		case 15:
  			return "HeadBanger";
  			break;
  		
  		case 16:
  			return "HeadBanger";
  			break;
  		
  		case 89:
  			return "RockstarVerifiied";
  			break;
  		
  		case 87:
  			return "ReachHordeModeWave";
  			break;
  		
  		case 12:
  			return "TATTOO_RACES_WON";
  			break;
  	}
  	switch (iParam0)
  	{
  		case 17:
  			return "Headbanger";
  			break;
  		
  		case 18:
  			return "Headbanger";
  			break;
  		
  		case 19:
  			return "Headbanger";
  			break;
  		
  		case 20:
  			return "Headbanger";
  			break;
  		
  		case 21:
  			return "Headbanger";
  			break;
  		
  		case 22:
  			return "Headbanger";
  			break;
  		
  		case 23:
  			return "Headbanger";
  			break;
  		
  		case 24:
  			return "Headbanger";
  			break;
  		
  		case 25:
  			return "MP_FM_Tat_002";
  			break;
  		
  		case 26:
  			return "Headbanger";
  			break;
  		
  		case 27:
  			return "Headbanger";
  			break;
  		
  		case 28:
  			return "Headbanger";
  			break;
  		
  		case 61:
  			return "Headbanger";
  			break;
  		
  		case 62:
  			return "Headbanger";
  			break;
  		
  		case 63:
  			return "Headbanger";
  			break;
  		
  		case 64:
  			return "Headbanger";
  			break;
  		
  		case 65:
  			return "MP_FM_Tat_019";
  			break;
  		
  		case 29:
  			return "Headbanger";
  			break;
  		
  		case 30:
  			return "Headbanger";
  			break;
  		
  		case 31:
  			return "Headbanger";
  			break;
  		
  		case 66:
  			return "Headbanger";
  			break;
  		
  		case 32:
  			return "Headbanger";
  			break;
  		
  		case 33:
  			return "Headbanger";
  			break;
  		
  		case 34:
  			return "MP_FM_Tat_023";
  			break;
  		
  		case 35:
  			return "Headbanger";
  			break;
  		
  		case 36:
  			return "Headbanger";
  			break;
  		
  		case 37:
  			return "Headbanger";
  			break;
  		
  		case 38:
  			return "Headbanger";
  			break;
  		
  		case 39:
  			return "Headbanger";
  			break;
  		
  		case 40:
  			return "Headbanger";
  			break;
  		
  		case 67:
  			return "Headbanger";
  			break;
  		
  		case 41:
  			return "Headbanger";
  			break;
  		
  		case 68:
  			return "Headbanger";
  			break;
  		
  		case 42:
  			return "Headbanger";
  			break;
  		
  		case 43:
  			return "Headbanger";
  			break;
  		
  		case 44:
  			return "Headbanger";
  			break;
  		
  		case 45:
  			return "MP_FM_Tat_036";
  			break;
  		
  		case 46:
  			return "MP_FM_Tat_037";
  			break;
  		
  		case 47:
  			return "Headbanger";
  			break;
  		
  		case 48:
  			return "MP_FM_Tat_039";
  			break;
  		
  		case 49:
  			return "MP_FM_Tat_040";
  			break;
  		
  		case 50:
  			return "Headbanger";
  			break;
  		
  		case 51:
  			return "Headbanger";
  			break;
  		
  		case 52:
  			return "Headbanger";
  			break;
  		
  		case 53:
  			return "Headbanger";
  			break;
  		
  		case 69:
  			return "Headbanger";
  			break;
  	}
  	return sVar0;
  }
  
  char* func_86(int iParam0, int iParam1)
  {
  	char* sVar0;
  	
  	sVar0 = "";
  	if (iParam0 == iParam0)
  	{
  	}
  	if (iParam1 == iParam1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 7:
  			return "TAT_FM_REVENKIL_D";
  			break;
  		
  		case 6:
  			return "TAT_FM_RECHOLD_d";
  			break;
  		
  		case 8:
  			return "TAT_FM_KIL3RACE_D";
  			break;
  		
  		case 5:
  			return "TAT_FM_KILb_D";
  			break;
  		
  		case 0:
  			return "TAT_FM_HEADBANG_D";
  			break;
  		
  		case 12:
  			return "TAT_RACE50_D";
  			break;
  		
  		case 2:
  			return "TAT_CLEAROUT_D";
  			break;
  		
  		case 9:
  			return "TAT_FM_RANK1_D";
  			break;
  		
  		case 10:
  			return "TAT_FM_RANK2_D";
  			break;
  		
  		case 11:
  			return "TAT_FM_RANK3_D";
  			break;
  		
  		case 4:
  			return "TAT_FM_HUST_D";
  			break;
  		
  		case 1:
  			return "TAT_FM_SLAY_D";
  			break;
  		
  		case 54:
  			return "TAT_FM_EVERMODE1_D";
  			break;
  		
  		case 3:
  			return "TAT_FM_ARVANTAKE_D";
  			break;
  		
  		case 56:
  			return "TAT_CHEATER_D";
  			break;
  		
  		case 13:
  			return "TAT_CRANKA_D";
  			break;
  		
  		case 14:
  			return "TAT_CRANKB_D";
  			break;
  		
  		case 15:
  			return "TAT_CRANKC_D";
  			break;
  		
  		case 16:
  			return "TAT_CRANKD_D";
  			break;
  		
  		case 89:
  			return "TAT_FM_ROCKSTAR_D";
  			break;
  		
  		case 87:
  			return "TAT_FM_REDSKULL_D";
  			break;
  		
  		case 55:
  			return "TAT_FM_MODDED_D";
  			break;
  	}
  	switch (iParam0)
  	{
  		case 17:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 18:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 19:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 20:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 21:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 22:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 23:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 24:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 25:
  			return "TAT_FM_TAT9D";
  			break;
  		
  		case 26:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 27:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 28:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 61:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 62:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 63:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 64:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 65:
  			return "TAT_FM_TAT17D";
  			break;
  		
  		case 29:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 30:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 31:
  			return "TAT_RANK10_D";
  			break;
  		
  		case 66:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 32:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 33:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 34:
  			return "TAT_FM_TAT24D";
  			break;
  		
  		case 35:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 36:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 37:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 38:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 39:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 40:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 67:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 41:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 68:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 42:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 43:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 44:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 45:
  			return "TAT_FM_TAT37D";
  			break;
  		
  		case 46:
  			return "TAT_FM_TAT38D";
  			break;
  		
  		case 47:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 48:
  			return "TAT_FM_TAT40D";
  			break;
  		
  		case 49:
  			return "TAT_FM_TAT41D";
  			break;
  		
  		case 50:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 51:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 52:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 53:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 69:
  			return "TAT_RANK20_D";
  			break;
  		
  		case 57:
  			return "TAT_HOLDUP1V_D";
  			break;
  		
  		case 58:
  			return "TAT_HOLDUP5V_D";
  			break;
  		
  		case 59:
  			return "TAT_HOLDUP10V_D";
  			break;
  		
  		case 60:
  			return "TAT_HOLDUP20V_D";
  			break;
  	}
  	return sVar0;
  }
  
  char* func_87(int iParam0, int iParam1)
  {
  	char* sVar0;
  	
  	sVar0 = "";
  	if (iParam0 == iParam0)
  	{
  	}
  	if (iParam1 == iParam1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "TAT_FM_HEADBANG";
  			break;
  		
  		case 2:
  			return "TAT_CLEAROUT";
  			break;
  		
  		case 9:
  			return "TAT_FM_RANK1";
  			break;
  		
  		case 10:
  			return "TAT_FM_RANK2";
  			break;
  		
  		case 11:
  			return "TAT_FM_RANK3";
  			break;
  		
  		case 4:
  			return "TAT_FM_HUST";
  			break;
  		
  		case 1:
  			return "TAT_FM_SLAY";
  			break;
  		
  		case 54:
  			return "TAT_FM_EVERMODE1";
  			break;
  		
  		case 3:
  			return "TAT_FM_ARVANTAKE";
  			break;
  		
  		case 7:
  			return "TAT_FM_REVENKIL";
  			break;
  		
  		case 5:
  			return "TAT_FM_KILb";
  			break;
  		
  		case 8:
  			return "TAT_FM_KIL3RACE";
  			break;
  		
  		case 6:
  			return "TAT_FM_RECHOLD";
  			break;
  		
  		case 12:
  			return "TAT_RACE50";
  			break;
  		
  		case 13:
  			return "TAT_CRANKA";
  			break;
  		
  		case 14:
  			return "TAT_CRANKB";
  			break;
  		
  		case 15:
  			return "TAT_CRANKC";
  			break;
  		
  		case 16:
  			return "TAT_CRANKD";
  			break;
  		
  		case 87:
  			return "TAT_FM_REDSKULL";
  			break;
  		
  		case 88:
  			return "TAT_FM_BELLE";
  			break;
  		
  		case 89:
  			return "TAT_FM_ROCKSTAR";
  			break;
  		
  		case 55:
  			return "TAT_FM_MODDED";
  			break;
  		
  		case 17:
  			return "TAT_FM_TAT1";
  			break;
  		
  		case 18:
  			return "TAT_FM_TAT2";
  			break;
  		
  		case 19:
  			return "TAT_FM_TAT3";
  			break;
  		
  		case 20:
  			return "TAT_FM_TAT4";
  			break;
  		
  		case 21:
  			return "TAT_FM_TAT5";
  			break;
  		
  		case 22:
  			return "TAT_FM_TAT6";
  			break;
  		
  		case 56:
  			return "TAT_CHEATER";
  			break;
  	}
  	switch (iParam0)
  	{
  		case 23:
  			return "TAT_FM_TAT7";
  			break;
  		
  		case 24:
  			return "TAT_FM_TAT8";
  			break;
  		
  		case 25:
  			return "TAT_FM_TAT9";
  			break;
  		
  		case 26:
  			return "TAT_FM_TAT10";
  			break;
  		
  		case 27:
  			return "TAT_FM_TAT11";
  			break;
  		
  		case 28:
  			return "TAT_FM_TAT12";
  			break;
  		
  		case 61:
  			return "TAT_FM_TAT13";
  			break;
  		
  		case 62:
  			return "TAT_FM_TAT14";
  			break;
  		
  		case 63:
  			return "TAT_FM_TAT15";
  			break;
  		
  		case 64:
  			return "TAT_FM_TAT16";
  			break;
  		
  		case 65:
  			return "TAT_FM_TAT38";
  			break;
  		
  		case 29:
  			return "TAT_FM_TAT18";
  			break;
  		
  		case 30:
  			return "TAT_FM_TAT19";
  			break;
  		
  		case 31:
  			return "TAT_FM_TAT20";
  			break;
  		
  		case 66:
  			return "TAT_FM_TAT21";
  			break;
  		
  		case 32:
  			return "TAT_FM_TAT22";
  			break;
  		
  		case 33:
  			return "TAT_FM_TAT23";
  			break;
  		
  		case 34:
  			return "TAT_FM_TAT24";
  			break;
  		
  		case 35:
  			return "TAT_FM_TAT25";
  			break;
  		
  		case 36:
  			return "TAT_FM_TAT26";
  			break;
  		
  		case 37:
  			return "TAT_FM_TAT27";
  			break;
  		
  		case 38:
  			return "TAT_FM_TAT28";
  			break;
  		
  		case 39:
  			return "TAT_FM_TAT29";
  			break;
  		
  		case 40:
  			return "TAT_FM_TAT30";
  			break;
  		
  		case 67:
  			return "TAT_FM_TAT31";
  			break;
  		
  		case 41:
  			return "TAT_FM_TAT32";
  			break;
  		
  		case 68:
  			return "TAT_FM_TAT33";
  			break;
  		
  		case 42:
  			return "TAT_FM_TAT34";
  			break;
  		
  		case 43:
  			return "TAT_FM_TAT35";
  			break;
  		
  		case 44:
  			return "TAT_FM_TAT36";
  			break;
  		
  		case 45:
  			return "TAT_FM_TAT37";
  			break;
  		
  		case 46:
  			return "TAT_FM_TAT41";
  			break;
  		
  		case 47:
  			return "TAT_FM_TAT39";
  			break;
  		
  		case 48:
  			return "TAT_FM_TAT40";
  			break;
  		
  		case 49:
  			return "TAT_FM_TAT17";
  			break;
  		
  		case 50:
  			return "TAT_FM_TAT42";
  			break;
  		
  		case 51:
  			return "TAT_FM_TAT43";
  			break;
  		
  		case 52:
  			return "TAT_FM_TAT44";
  			break;
  		
  		case 53:
  			return "TAT_FM_TAT45";
  			break;
  		
  		case 69:
  			return "TAT_FM_TAT46";
  			break;
  		
  		case 57:
  			return "TAT_HOLDUP1V";
  			break;
  		
  		case 58:
  			return "TAT_HOLDUP5V";
  			break;
  		
  		case 59:
  			return "TAT_HOLDUP10V";
  			break;
  		
  		case 60:
  			return "TAT_HOLDUP20V";
  			break;
  	}
  	return sVar0;
  }
  
  int func_88(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 4:
  			return 49;
  		
  		case 7:
  			return 59;
  		
  		case 0:
  			return 9;
  		
  		case 5:
  			return 55;
  		
  		case 1:
  			return 40;
  		
  		case 57:
  			return 14;
  		
  		case 58:
  			return 14;
  		
  		case 59:
  			return 14;
  		
  		case 60:
  			return 14;
  		
  		case 12:
  			return 21;
  		
  		case 56:
  			return 24;
  		
  		case 25:
  			return 44;
  		
  		case 34:
  			return 15;
  		
  		case 45:
  			return 1;
  		
  		case 48:
  			return 2;
  		
  		case 46:
  			return 42;
  		
  		case 9:
  			return 56;
  		
  		case 10:
  			return 56;
  		
  		case 11:
  			return 56;
  		
  		case 87:
  			return 48;
  		
  		default:
  	}
  	return 64;
  }
  
  void func_89(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	int iVar1;
  	char* sVar2;
  	char* sVar3;
  	char* sVar4;
  	char* sVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	int iVar12;
  	int iVar13;
  	
  	switch (iParam1)
  	{
  		case 0:
  			iParam1 = 0;
  			break;
  		
  		case 1:
  			iParam1 = 1;
  			break;
  		
  		case 2:
  			iParam1 = 2;
  			break;
  		
  		case 3:
  			iParam1 = 3;
  			break;
  		
  		case 4:
  			iParam1 = 4;
  			break;
  		
  		case 5:
  			iParam1 = 5;
  			break;
  		
  		case 6:
  			iParam1 = func_104(iParam0);
  			break;
  		
  		case 7:
  		case 8:
  			iParam1 = func_103();
  			break;
  	}
  	if (iParam1 != 0)
  	{
  		if (iParam1 != 1)
  		{
  			if (func_102(iParam0, iParam2) != 1)
  			{
  				iParam1 = 1;
  			}
  		}
  	}
  	iVar1 = func_103();
  	sVar2 = func_100(iParam0, iParam2, 0);
  	sVar3 = func_99(iParam0, iParam1, iParam2, 0);
  	sVar4 = func_98(iParam0, iParam2);
  	sVar5 = func_97(iParam0, iParam2);
  	iVar6 = func_95(iParam0, iVar1, iParam2);
  	iVar7 = func_92(iParam0, iVar1, iParam2);
  	iVar8 = func_72(iParam1);
  	iVar9 = func_95(iParam0, iVar8, iParam2);
  	iVar10 = (iVar6 - iVar9);
  	iVar11 = (iVar7 - iVar9);
  	if (func_91(iParam0))
  	{
  		iVar12 = 100;
  		switch (iParam0)
  		{
  			case 17:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  			
  			case 18:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  			
  			case 19:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  			
  			case 20:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  			
  			case 21:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  			
  			case 1:
  			case 2:
  			case 3:
  			case 4:
  			case 5:
  			case 6:
  			case 7:
  			case 8:
  			case 9:
  			case 10:
  			case 11:
  				iVar7 = 26;
  				iVar6 = 26;
  				break;
  		}
  	}
  	else
  	{
  		switch (iParam0)
  		{
  			case 17:
  				iVar11 = 0;
  				iVar13 = func_90(joaat("mpply_heistfloworderprogress"));
  				iVar0 = 0;
  				while (iVar0 < 28)
  				{
  					if (MISC::IS_BIT_SET(iVar13, iVar0))
  					{
  						iVar11++;
  					}
  					iVar0++;
  				}
  				if (MISC::IS_BIT_SET(iVar13, 9))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (MISC::IS_BIT_SET(iVar13, 26))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (iVar11 < 0)
  				{
  					iVar11 = 0;
  				}
  				iVar7 = iVar11;
  				iVar6 = 26;
  				iVar10 = 26;
  				break;
  			
  			case 18:
  				iVar11 = 0;
  				iVar13 = func_90(joaat("mpply_heistteamprogressbitset"));
  				iVar0 = 0;
  				while (iVar0 < 28)
  				{
  					if (MISC::IS_BIT_SET(iVar13, iVar0))
  					{
  						iVar11++;
  					}
  					iVar0++;
  				}
  				if (MISC::IS_BIT_SET(iVar13, 9))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (MISC::IS_BIT_SET(iVar13, 26))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (iVar11 < 0)
  				{
  					iVar11 = 0;
  				}
  				iVar7 = iVar11;
  				iVar6 = 26;
  				iVar10 = 26;
  				break;
  			
  			case 19:
  				iVar11 = 0;
  				iVar13 = func_90(joaat("mpply_heistnodeathprogreitset"));
  				iVar0 = 0;
  				while (iVar0 < 28)
  				{
  					if (MISC::IS_BIT_SET(iVar13, iVar0))
  					{
  						iVar11++;
  					}
  					iVar0++;
  				}
  				if (MISC::IS_BIT_SET(iVar13, 9))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (MISC::IS_BIT_SET(iVar13, 26))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (iVar11 < 0)
  				{
  					iVar11 = 0;
  				}
  				iVar7 = iVar11;
  				iVar6 = 26;
  				iVar10 = 26;
  				break;
  			
  			case 20:
  				iVar11 = 0;
  				iVar13 = func_90(joaat("mpply_heist_1stperson_prog"));
  				iVar0 = 0;
  				while (iVar0 < 28)
  				{
  					if (MISC::IS_BIT_SET(iVar13, iVar0))
  					{
  						iVar11++;
  					}
  					iVar0++;
  				}
  				if (MISC::IS_BIT_SET(iVar13, 9))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (MISC::IS_BIT_SET(iVar13, 26))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (iVar11 < 0)
  				{
  					iVar11 = 0;
  				}
  				iVar7 = iVar11;
  				iVar6 = 26;
  				iVar10 = 26;
  				break;
  			
  			case 21:
  				iVar11 = 0;
  				iVar13 = func_90(joaat("mpply_heistmemberprogressbitset"));
  				iVar0 = 0;
  				while (iVar0 < 28)
  				{
  					if (MISC::IS_BIT_SET(iVar13, iVar0))
  					{
  						iVar11++;
  					}
  					iVar0++;
  				}
  				if (MISC::IS_BIT_SET(iVar13, 9))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (MISC::IS_BIT_SET(iVar13, 26))
  				{
  					iVar11 = (iVar11 - 1);
  				}
  				if (iVar11 < 0)
  				{
  					iVar11 = 0;
  				}
  				iVar7 = iVar11;
  				iVar6 = 26;
  				iVar10 = 26;
  				break;
  			
  			case 3:
  			case 4:
  			case 5:
  			case 7:
  			case 8:
  			case 9:
  			case 10:
  			case 11:
  				iVar10 = func_95(iParam0, iVar8, iParam2);
  				iVar11 = func_92(iParam0, iVar1, iParam2);
  				break;
  		}
  		iVar12 = SYSTEM::FLOOR(((SYSTEM::TO_FLOAT(iVar11) / SYSTEM::TO_FLOAT(iVar10)) * 100f));
  	}
  	func_64(sVar2, sVar3, sVar4, sVar5, iVar6, iVar7, iVar12, iParam1, uParam3);
  }
  
  int func_90(int iParam0)
  {
  	int iVar0;
  	var uVar1;
  	
  	iVar0 = iParam0;
  	if (STATS::STAT_GET_INT(iVar0, &uVar1, -1))
  	{
  		return uVar1;
  	}
  	return 0;
  }
  
  int func_91(int iParam0)
  {
  	var uVar0;
  	int iVar1;
  	var uVar2;
  	
  	uVar0 = Global_1388021[iParam0];
  	iVar1 = uVar0;
  	if (STATS::STAT_GET_BOOL(iVar1, &uVar2, -1))
  	{
  		return uVar2;
  	}
  	return 0;
  }
  
  int func_92(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam1 == 5)
  	{
  	}
  	if (iParam2 == 0)
  	{
  	}
  	if (func_91(iParam0))
  	{
  	}
  	switch (iParam0)
  	{
  		case 3:
  			return func_93(iParam0);
  		
  		case 4:
  			return func_93(iParam0);
  		
  		case 5:
  			return func_93(iParam0);
  		
  		case 7:
  			return func_93(iParam0);
  		
  		case 8:
  			return func_93(iParam0);
  		
  		case 9:
  			return func_93(iParam0);
  		
  		case 10:
  			return func_93(iParam0);
  		
  		case 11:
  			return func_93(iParam0);
  		
  		default:
  	}
  	if (func_91(iParam0) == 1)
  	{
  		return 1;
  	}
  	return 0;
  }
  
  int func_93(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	
  	iVar1 = func_90(func_94(iParam0));
  	iVar2 = 0;
  	while (iVar2 < 29)
  	{
  		if (MISC::IS_BIT_SET(iVar1, iVar2))
  		{
  			iVar0++;
  		}
  		iVar2++;
  	}
  	return iVar0;
  }
  
  int func_94(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 3:
  			return joaat("mpply_gangops_allinorder");
  		
  		case 4:
  			return joaat("mpply_gangops_loyalty");
  		
  		case 7:
  			return joaat("mpply_gangops_loyalty2");
  		
  		case 8:
  			return joaat("mpply_gangops_loyalty3");
  		
  		case 5:
  			return joaat("mpply_gangops_crimmasmd");
  		
  		case 9:
  			return joaat("mpply_gangops_crimmasmd2");
  		
  		case 10:
  			return joaat("mpply_gangops_crimmasmd3");
  		
  		case 11:
  			return joaat("mpply_gangops_support");
  		
  		default:
  	}
  	return joaat("mpply_gangops_allinorder");
  }
  
  int func_95(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam1 == 5)
  	{
  	}
  	if (iParam2 == 0)
  	{
  	}
  	if (func_91(iParam0))
  	{
  	}
  	switch (iParam0)
  	{
  		case 3:
  			return func_96();
  		
  		case 4:
  			return func_96();
  		
  		case 5:
  			return func_96();
  		
  		case 7:
  			return func_96();
  		
  		case 8:
  			return func_96();
  		
  		case 9:
  			return func_96();
  		
  		case 10:
  			return func_96();
  		
  		case 11:
  			return func_96();
  		
  		default:
  	}
  	return 1;
  }
  
  int func_96()
  {
  	return 29;
  }
  
  char* func_97(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 12:
  			return "MpAwardHeists";
  		
  		case 13:
  			return "MpAwardHeists";
  		
  		case 14:
  			return "MpAwardHeists";
  		
  		case 15:
  			return "MpAwardHeists";
  		
  		case 16:
  			return "MpAwardHeists";
  		
  		case 17:
  			return "MpAwardHeists";
  		
  		case 18:
  			return "MpAwardHeists";
  		
  		case 19:
  			return "MpAwardHeists";
  		
  		case 20:
  			return "MPAwardHeists";
  		
  		case 21:
  			return "MPAwardHeists";
  		
  		case 1:
  			return "MPAwardHeists2";
  		
  		case 2:
  			return "MPAwardHeists2";
  		
  		case 6:
  			return "MPAwardHeists2";
  		
  		case 3:
  			return "MPAwardHeists2";
  		
  		case 4:
  			return "MPAwardHeists2";
  		
  		case 5:
  			return "MPAwardHeists2";
  		
  		case 7:
  			return "MPAwardHeists2";
  		
  		case 8:
  			return "MPAwardHeists2";
  		
  		case 9:
  			return "MPAwardHeists2";
  		
  		case 10:
  			return "MPAwardHeists2";
  		
  		case 11:
  			return "MPAwardHeists2";
  		
  		default:
  	}
  	return "MPAwardHeists";
  }
  
  char* func_98(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 12:
  			return "HeadForHeists";
  		
  		case 13:
  			return "GoToJail";
  		
  		case 14:
  			return "LabReport";
  		
  		case 15:
  			return "ProductPlacement";
  		
  		case 16:
  			return "SmoothSailing";
  		
  		case 17:
  			return "AllInOrder";
  		
  		case 18:
  			return "Loyalty";
  		
  		case 19:
  			return "CriminalMastermind";
  		
  		case 20:
  			return "AnotherPerspective";
  		
  		case 21:
  			return "SupportingRole";
  		
  		case 1:
  			return "IAAFinale";
  		
  		case 2:
  			return "SubmarineFinale";
  		
  		case 6:
  			return "MissleSiloFinale";
  		
  		case 3:
  			return "AllInOrderII";
  		
  		case 4:
  			return "LoyaltyIV";
  		
  		case 5:
  			return "CriminalMastermindIV";
  		
  		case 7:
  			return "LoyaltyII";
  		
  		case 8:
  			return "LoyaltyIII";
  		
  		case 9:
  			return "CriminalMastermindII";
  		
  		case 10:
  			return "CriminalMastermindIII";
  		
  		case 11:
  			return "SupportingRoleII";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_99(int iParam0, int iParam1, int iParam2, bool bParam3)
  {
  	if (iParam2 == 9)
  	{
  	}
  	if (bParam3)
  	{
  	}
  	if (func_95(iParam0, iParam1, iParam2) == 1)
  	{
  	}
  	switch (iParam0)
  	{
  		case 12:
  			return "AWS_775";
  		
  		case 13:
  			return "AWS_767";
  		
  		case 14:
  			return "AWS_768";
  		
  		case 15:
  			return "AWS_776";
  		
  		case 16:
  			return "AWS_780";
  		
  		case 17:
  			return "AWS_777";
  		
  		case 18:
  			return "AWS_778";
  		
  		case 19:
  			return "AWS_779";
  		
  		case 20:
  			return "AWS_785";
  		
  		case 21:
  			return "AWS_786";
  		
  		case 1:
  			return "AWD_GANGOP0d";
  		
  		case 2:
  			return "AWD_GANGOP1d";
  		
  		case 6:
  			return "AWD_GANGOP2d";
  		
  		case 3:
  			return "AWD_GANGOP3d";
  		
  		case 4:
  			return "AWD_GANGOP7d";
  		
  		case 5:
  			return "AWD_GANGOP9d";
  		
  		case 7:
  			return "AWD_GANGOP4d";
  		
  		case 8:
  			return "AWD_GANGOP6d";
  		
  		case 9:
  			return "AWD_GANGOP5d";
  		
  		case 10:
  			return "AWD_GANGOP8d";
  		
  		case 11:
  			return "AWD_GANGO10d";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_100(int iParam0, int iParam1, bool bParam2)
  {
  	if (bParam2)
  	{
  	}
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 12:
  			return "AWT_775";
  		
  		case 13:
  			return "AWT_767";
  		
  		case 14:
  			return "AWT_768";
  		
  		case 15:
  			return "AWT_776";
  		
  		case 16:
  			return "AWT_780";
  		
  		case 17:
  			return "AWT_777";
  		
  		case 18:
  			return "AWT_778";
  		
  		case 19:
  			return "AWT_779";
  		
  		case 20:
  			return "AWT_785";
  		
  		case 21:
  			return "AWT_786";
  		
  		case 1:
  		case 2:
  		case 6:
  		case 3:
  		case 4:
  		case 5:
  		case 7:
  		case 8:
  		case 9:
  		case 10:
  		case 11:
  			return func_101(iParam0);
  		
  		default:
  	}
  	return "";
  }
  
  char* func_101(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 1:
  			return "AWD_GANGOPF0";
  		
  		case 2:
  			return "AWD_GANGOPF1";
  		
  		case 6:
  			return "AWD_GANGOPF2";
  		
  		case 3:
  			return "AWD_GANGOPA";
  		
  		case 4:
  			return "AWD_GANGOPL4";
  		
  		case 7:
  			return "AWD_GANGOPL2";
  		
  		case 8:
  			return "AWD_GANGOPL3";
  		
  		case 5:
  			return "AWD_GANGOPM4";
  		
  		case 9:
  			return "AWD_GANGOPM2";
  		
  		case 10:
  			return "AWD_GANGOPM3";
  		
  		case 11:
  			return "AWD_GANGOPSR";
  		
  		default:
  	}
  	return "";
  }
  
  int func_102(int iParam0, int iParam1)
  {
  	if (iParam1 == 0)
  	{
  	}
  	switch (iParam0)
  	{
  		case 12:
  			return 1;
  		
  		case 13:
  			return 1;
  		
  		case 14:
  			return 1;
  		
  		case 15:
  			return 1;
  		
  		case 16:
  			return 1;
  		
  		case 17:
  			return 1;
  		
  		case 18:
  			return 1;
  		
  		case 19:
  			return 1;
  		
  		case 20:
  			return 1;
  		
  		case 21:
  			return 1;
  		
  		case 1:
  			return 1;
  		
  		case 2:
  			return 1;
  		
  		case 6:
  			return 1;
  		
  		case 3:
  			return 1;
  		
  		case 4:
  			return 1;
  		
  		case 5:
  			return 1;
  		
  		case 7:
  			return 1;
  		
  		case 8:
  			return 1;
  		
  		case 9:
  			return 1;
  		
  		case 10:
  			return 1;
  		
  		case 11:
  			return 1;
  		
  		default:
  	}
  	return 0;
  }
  
  int func_103()
  {
  	return 5;
  }
  
  int func_104(int iParam0)
  {
  	if (func_91(iParam0))
  	{
  		return 5;
  	}
  	return 0;
  }
  
  void func_105(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	char* sVar1;
  	char* sVar2;
  	char* sVar3;
  	char* sVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	int iVar12;
  	
  	switch (iParam1)
  	{
  		case 0:
  			iParam1 = 0;
  			break;
  		
  		case 1:
  			iParam1 = 1;
  			break;
  		
  		case 2:
  			iParam1 = 2;
  			break;
  		
  		case 3:
  			iParam1 = 3;
  			break;
  		
  		case 4:
  			iParam1 = 4;
  			break;
  		
  		case 5:
  			iParam1 = 5;
  			break;
  		
  		case 6:
  			iParam1 = func_117(iParam0);
  			break;
  		
  		case 7:
  		case 8:
  			iParam1 = func_116();
  			break;
  	}
  	if (iParam1 != 0)
  	{
  		if (iParam1 != 1)
  		{
  			if (func_115(iParam0, iParam2) != 1)
  			{
  				iParam1 = 1;
  			}
  		}
  	}
  	iVar0 = func_116();
  	sVar1 = func_114(iParam0, iParam2, 0);
  	sVar2 = func_113(iParam0, iParam1, iParam2, 0);
  	sVar3 = func_112(iParam0, iParam2);
  	sVar4 = func_111(iParam0, iParam2);
  	iVar5 = func_110(iParam0, iVar0, iParam2);
  	if (func_109(iParam0, -1) == 1)
  	{
  		iVar6 = 1;
  	}
  	else
  	{
  		iVar6 = 0;
  	}
  	iVar8 = func_72(iParam1);
  	iVar9 = func_110(iParam0, iVar8, iParam2);
  	iVar10 = (iVar5 - iVar9);
  	iVar11 = (iVar6 - iVar9);
  	switch (iParam0)
  	{
  		case 15:
  			iVar6 = func_47(1152, -1, 0);
  			if (iVar6 > 25)
  			{
  				iVar6 = 25;
  			}
  			iVar10 = 25;
  			iVar11 = iVar6;
  			break;
  		
  		case 16:
  			iVar6 = func_47(1151, -1, 0);
  			if (iVar6 > 25)
  			{
  				iVar6 = 25;
  			}
  			iVar10 = 25;
  			iVar11 = iVar6;
  			break;
  		
  		case 12:
  			iVar6 = func_47(1087, -1, 0);
  			if (iVar6 > 25)
  			{
  				iVar6 = 25;
  			}
  			iVar10 = 25;
  			iVar11 = iVar6;
  			break;
  		
  		case 25:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = func_47(2116, -1, 0) * 7;
  				iVar7 = func_47(2115, -1, 0);
  				iVar6 = 7;
  				iVar10 = 7;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_47(2116, -1, 0) * 7;
  				iVar7 = func_47(2115, -1, 0);
  				iVar6 = (iVar6 + iVar7);
  				if (iVar6 > 7)
  				{
  					iVar6 = 7;
  				}
  				iVar10 = 7;
  				iVar11 = iVar6;
  			}
  			break;
  		
  		case 26:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = func_47(2116, -1, 0) * 7;
  				iVar7 = func_47(2115, -1, 0);
  				iVar6 = 28;
  				iVar10 = 28;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_47(2116, -1, 0) * 7;
  				iVar7 = func_47(2115, -1, 0);
  				iVar6 = (iVar6 + iVar7);
  				if (iVar6 > 28)
  				{
  					iVar6 = 28;
  				}
  				iVar10 = 28;
  				iVar11 = iVar6;
  			}
  			break;
  		
  		case 116:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = 43;
  				iVar10 = 43;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_107();
  				iVar10 = 43;
  				iVar11 = iVar6;
  			}
  			break;
  		
  		case 121:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = 4;
  				iVar10 = 4;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_47(7252, -1, 0);
  				iVar10 = 4;
  				iVar11 = iVar6;
  			}
  			break;
  		
  		case 120:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = 100;
  				iVar10 = 100;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_47(7236, -1, 0);
  				iVar10 = 100;
  				iVar11 = iVar6;
  			}
  			break;
  		
  		case 59:
  			if (func_109(iParam0, -1))
  			{
  				iVar6 = 6;
  				iVar10 = 6;
  				iVar11 = iVar6;
  			}
  			else
  			{
  				iVar6 = func_106();
  				iVar10 = 6;
  				iVar11 = iVar6;
  			}
  			break;
  	}
  	if (func_109(iParam0, -1))
  	{
  		iVar12 = 100;
  	}
  	else
  	{
  		iVar12 = SYSTEM::FLOOR(((SYSTEM::TO_FLOAT(iVar11) / SYSTEM::TO_FLOAT(iVar10)) * 100f));
  	}
  	func_64(sVar1, sVar2, sVar3, sVar4, iVar5, iVar6, iVar12, iParam1, uParam3);
  }
  
  int func_106()
  {
  	int iVar0;
  	
  	iVar0 = func_47(8281, -1, 0);
  	if (MISC::IS_BIT_SET(iVar0, 19))
  	{
  		return 6;
  	}
  	else if (MISC::IS_BIT_SET(iVar0, 4))
  	{
  		return 5;
  	}
  	else if (MISC::IS_BIT_SET(iVar0, 3))
  	{
  		return 4;
  	}
  	else if (MISC::IS_BIT_SET(iVar0, 2))
  	{
  		return 3;
  	}
  	else if (MISC::IS_BIT_SET(iVar0, 1))
  	{
  		return 2;
  	}
  	else if (MISC::IS_BIT_SET(iVar0, 0))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  int func_107()
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	while (iVar0 <= 49)
  	{
  		if (func_108(iVar0) != 0)
  		{
  			iVar1++;
  		}
  		iVar0++;
  	}
  	return iVar1;
  }
  
  int func_108(int iParam0)
  {
  	switch (iParam0)
  	{
  		case default:
  			break;
  		
  		case 0:
  			return func_47(9761, -1, 0);
  		
  		case 1:
  			return func_47(9762, -1, 0);
  		
  		case 2:
  			return func_47(9763, -1, 0);
  		
  		case 3:
  			return func_47(9764, -1, 0);
  		
  		case 4:
  			return func_47(9765, -1, 0);
  		
  		case 5:
  			return func_47(9766, -1, 0);
  		
  		case 6:
  			return func_47(9767, -1, 0);
  		
  		case 7:
  			return func_47(9768, -1, 0);
  		
  		case 8:
  			return func_47(9769, -1, 0);
  		
  		case 9:
  			return func_47(9770, -1, 0);
  		
  		case 10:
  			return func_47(9771, -1, 0);
  		
  		case 11:
  			return func_47(9772, -1, 0);
  		
  		case 12:
  			return func_47(9773, -1, 0);
  		
  		case 13:
  			return func_47(9774, -1, 0);
  		
  		case 14:
  			return func_47(9775, -1, 0);
  		
  		case 15:
  			return func_47(9776, -1, 0);
  		
  		case 16:
  			return func_47(9777, -1, 0);
  		
  		case 17:
  			return func_47(9778, -1, 0);
  		
  		case 18:
  			return func_47(9779, -1, 0);
  		
  		case 19:
  			return func_47(9780, -1, 0);
  		
  		case 20:
  			return func_47(9781, -1, 0);
  		
  		case 21:
  			return func_47(9782, -1, 0);
  		
  		case 22:
  			return func_47(9783, -1, 0);
  		
  		case 23:
  			return func_47(9784, -1, 0);
  		
  		case 24:
  			return func_47(9785, -1, 0);
  		
  		case 25:
  			return func_47(9786, -1, 0);
  		
  		case 26:
  			return func_47(9787, -1, 0);
  		
  		case 27:
  			return func_47(9788, -1, 0);
  		
  		case 28:
  			return func_47(9789, -1, 0);
  		
  		case 29:
  			return func_47(9790, -1, 0);
  		
  		case 30:
  			return func_47(9791, -1, 0);
  		
  		case 31:
  			return func_47(9792, -1, 0);
  		
  		case 32:
  			return func_47(9793, -1, 0);
  		
  		case 33:
  			return func_47(9794, -1, 0);
  		
  		case 34:
  			return func_47(9795, -1, 0);
  		
  		case 35:
  			return func_47(9796, -1, 0);
  		
  		case 36:
  			return func_47(9797, -1, 0);
  		
  		case 37:
  			return func_47(9798, -1, 0);
  		
  		case 38:
  			return func_47(9799, -1, 0);
  		
  		case 39:
  			return func_47(9800, -1, 0);
  		
  		case 40:
  			return func_47(9801, -1, 0);
  		
  		case 41:
  			return func_47(9802, -1, 0);
  		
  		case 42:
  			return func_47(9803, -1, 0);
  		
  		case 43:
  			return func_47(9804, -1, 0);
  		
  		case 44:
  			return func_47(9805, -1, 0);
  		
  		case 45:
  			return func_47(9806, -1, 0);
  		
  		case 46:
  			return func_47(9807, -1, 0);
  		
  		case 47:
  			return func_47(9808, -1, 0);
  		
  		case 48:
  			return func_47(9809, -1, 0);
  		
  		case 49:
  			return func_47(9810, -1, 0);
  	}
  	return 0;
  }
  
  int func_109(int iParam0, int iParam1)
  {
  	int iVar0;
  	var uVar1;
  	
  	iVar0 = Global_2590155[iParam0 /*3*/][func_45(iParam1)];
  	if (STATS::STAT_GET_BOOL(iVar0, &uVar1, -1))
  	{
  		return uVar1;
  	}
  	return 0;
  }
  
  int func_110(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam1 == 5)
  	{
  	}
  	if (iParam2 == 0)
  	{
  	}
  	switch (iParam0)
  	{
  		case 15:
  			return 25;
  			break;
  		
  		case 16:
  			return 25;
  			break;
  		
  		case 12:
  			return 25;
  			break;
  		
  		case 25:
  			return 7;
  			break;
  		
  		case 26:
  			return 28;
  			break;
  		
  		case 116:
  			return 43;
  			break;
  		
  		case 121:
  			return 4;
  			break;
  		
  		case 120:
  			return 100;
  			break;
  		
  		case 59:
  			return 6;
  			break;
  	}
  	return 1;
  }
  
  char* func_111(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "MPAwards2";
  		
  		case 2:
  			return "MPAwards5";
  		
  		case 3:
  			return "MPAwards5";
  		
  		case 4:
  			return "MPAwards5";
  		
  		case 5:
  			return "MPAwards5";
  		
  		case 6:
  			return "MPAwards5";
  		
  		case 7:
  			return "MPAwards5";
  		
  		case 8:
  			return "MPAwards5";
  		
  		case 10:
  			return "MPAwards5";
  		
  		case 11:
  			return "MPAwards5";
  		
  		case 12:
  			return "MPAwards5";
  		
  		case 13:
  			return "MPAwards5";
  		
  		case 14:
  			return "MPAwards5";
  		
  		case 15:
  			return "MPAwards5";
  		
  		case 16:
  			return "MPAwards5";
  		
  		case 17:
  			return "MPAwards5";
  		
  		case 18:
  			return "MPAwards5";
  		
  		case 20:
  			return "MPAwards5";
  		
  		case 21:
  			return "MPAwards5";
  		
  		case 22:
  			return "MPAWARDS5";
  		
  		case 23:
  			return "MPAwards4";
  		
  		case 25:
  			return "MPAwardHeists";
  		
  		case 26:
  			return "MPAwardHeists";
  		
  		case 27:
  			return "MPAWARDS6";
  		
  		case 114:
  			return "MPAwardHeists";
  		
  		case 113:
  			return "MPAwardHeists";
  		
  		case 116:
  			return "MPAwardHeists";
  		
  		case 117:
  			return "MPAwardHeists";
  		
  		case 118:
  			return "MPAwardHeists";
  		
  		case 119:
  			return "MPAwardNightclub";
  		
  		case 120:
  			return "MPAwardNightclub";
  		
  		case 121:
  			return "MPAwardNightclub";
  		
  		case 30:
  			return "MPAwardsArena";
  		
  		case 31:
  			return "MPAwardsArena";
  		
  		case 32:
  			return "MPAwardsArena";
  		
  		case 33:
  			return "MPAwardsArena";
  		
  		case 34:
  			return "MPAwardsArena";
  		
  		case 35:
  			return "MPAwardsArena";
  		
  		case 36:
  			return "MPAwardsArena";
  		
  		case 37:
  			return "MPAwardsArena";
  		
  		case 38:
  			return "MPAwardsArena";
  		
  		case 39:
  			return "MPAwardsArena";
  		
  		case 40:
  			return "MPAwardsArena";
  		
  		case 41:
  			return "MPAwardsArena";
  		
  		case 42:
  			return "MPAwardsArena";
  		
  		case 43:
  			return "MPAwardsArena";
  		
  		case 44:
  			return "MPAwardsArena";
  		
  		case 45:
  			return "MPAwardsArena";
  		
  		case 46:
  			return "MPAwardsArena";
  		
  		case 47:
  			return "MPAwardsArena";
  		
  		case 48:
  			return "MPAwardsArena";
  		
  		case 49:
  			return "MPAwardsArena";
  		
  		case 50:
  			return "MPAwardsArena";
  		
  		case 51:
  			return "MPAwardsArena";
  		
  		case 52:
  			return "MPAwardsArena";
  		
  		case 53:
  			return "MPAwardCasino";
  		
  		case 54:
  			return "MPAwardCasino";
  		
  		case 55:
  			return "MPAwardCasino";
  		
  		case 56:
  			return "MPAwardCasino";
  		
  		case 57:
  			return "MPAwardCasino";
  		
  		case 58:
  			return "MPAwardCasino";
  		
  		case 59:
  			return "MPAwardCasino";
  		
  		case 62:
  			return "MPAwardCasino";
  		
  		case 60:
  			return "MPAwardCasino";
  		
  		case 61:
  			return "MPAwardCasino";
  		
  		case 63:
  			return "MPAwardCasinoHeist";
  		
  		case 64:
  			return "MPAwardCasinoHeist";
  		
  		case 65:
  			return "MPAwardCasinoHeist";
  		
  		case 66:
  			return "MPAwardCasinoHeist";
  		
  		case 67:
  			return "MPAwardCasinoHeist";
  		
  		case 68:
  			return "MPAwardCasinoHeist";
  		
  		case 69:
  			return "MPAwardCasinoHeist";
  		
  		case 70:
  			return "MPAwardCasinoHeist";
  		
  		case 71:
  			return "MPAwardCasinoHeist";
  		
  		case 72:
  			return "MPAwardCasinoHeist";
  		
  		case 73:
  			return "MPAwardCasinoHeist";
  		
  		case 74:
  			return "MPAwardCasinoHeist";
  		
  		case 75:
  			return "MPAwardCasinoHeist";
  		
  		case 76:
  			return "MPAwardCasinoHeist";
  		
  		case 77:
  			return "MPAwardCasinoHeist";
  		
  		case 78:
  			return "MPAwardCasinoHeist";
  		
  		case joaat("mpsv_lp0_31"):
  			return "MPAwardCasinoHeist";
  		
  		case 80:
  			return "MPAwardCasinoHeist";
  		
  		case 81:
  			return "MPAwardCasinoHeist";
  		
  		case 82:
  			return "MPAwardCasinoHeist";
  		
  		case 83:
  			return "MPAwardCasinoHeist";
  		
  		case 84:
  			return "MPAwardCasinoHeist";
  		
  		case 85:
  			return "MPAwardCasinoHeist";
  		
  		case 86:
  			return "MPAwardCasinoHeist";
  		
  		case 87:
  			return "MPAwardCasinoHeist";
  		
  		case 88:
  			return "MPAwardCasinoHeist";
  		
  		case 89:
  			return "MPAwardSummer2020";
  		
  		case 90:
  			return "MPAwardSummer2020";
  		
  		case 93:
  			return "MPAwardSummer2020";
  		
  		case 92:
  			return "MPAwardSummer2020";
  		
  		case 91:
  			return "MPAwardSummer2020";
  		
  		case 94:
  			return "MPAwardSummer2020";
  		
  		case 95:
  			return "MPAwardIslandHeist";
  		
  		case 96:
  			return "MPAwardIslandHeist";
  		
  		case 97:
  			return "MPAwardIslandHeist";
  		
  		case 98:
  			return "MPAwardIslandHeist";
  		
  		case 99:
  			return "MPAwardIslandHeist";
  		
  		case 100:
  			return "MPAwardIslandHeist";
  		
  		case 101:
  			return "MPAwardIslandHeist";
  		
  		case 102:
  			return "MPAwardIslandHeist";
  		
  		case 103:
  			return "MPAwardIslandHeist";
  		
  		case 104:
  			return "MPAwardIslandHeist";
  		
  		case 105:
  			return "MPAwardIslandHeist";
  		
  		case 106:
  			return "MPAwardIslandHeist";
  		
  		case 107:
  			return "MPAwardIslandHeist";
  		
  		case 108:
  			return "MPAwardIslandHeist";
  		
  		case 109:
  			return "MPAwardIslandHeist";
  		
  		case 110:
  			return "MPAwardIslandHeist";
  		
  		case 111:
  			return "MPAwardIslandHeist";
  		
  		case 112:
  			return "MPAwardIslandHeist";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_112(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  		iParam1 = 9;
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "Buyeverygun";
  		
  		case 2:
  			return "HoleInOne";
  		
  		case 3:
  			return "TargetGridGranny";
  		
  		case 4:
  			return "TennisFiveSets";
  		
  		case 5:
  			return "TennisStraightSets";
  		
  		case 6:
  			return "ClearAllGangHideouts";
  		
  		case 7:
  			return "SixDartCheckout";
  		
  		case 8:
  			return "WinEveryGameModeOnce";
  		
  		case 10:
  			return "WinEveryTypeOfRace";
  		
  		case 11:
  			return "HoldaRaceWorldRecord";
  		
  		case 12:
  			return "Wear25DifferentItemsOfClothing";
  		
  		case 13:
  			return "FullyModACar";
  		
  		case 14:
  			return "WinACustomClassRace";
  		
  		case 15:
  			return "Play25DifferentDeathmatches";
  		
  		case 16:
  			return "Play25DifferentRaces";
  		
  		case 17:
  			return "MostKillsInGangAttack";
  		
  		case 18:
  			return "MostKillsInSurvival";
  		
  		case 20:
  			return "Kill3InARaceAndWin";
  		
  		case 21:
  			return "GetATattooOnEachBodyPart";
  		
  		case 22:
  			return "10KillStreakDeathmatch";
  		
  		case 23:
  			return "Unirider";
  		
  		case 25:
  			return "goaloriented";
  		
  		case 26:
  			return "overachiever";
  		
  		case 27:
  			return "joyrider";
  		
  		case 114:
  			return "CantTouchThis";
  		
  		case 113:
  			return "FairPlay";
  		
  		case 116:
  			return "JackOfAllTrades";
  		
  		case 117:
  			return "ItTakesTwo";
  		
  		case 118:
  			return "Showroom";
  		
  		case 119:
  			return "Coordinated";
  		
  		case 120:
  			return "HotSpot";
  		
  		case 121:
  			return "Clubber";
  		
  		case 30:
  			return "BEGINNER";
  		
  		case 31:
  			return "FIELDFILLER";
  		
  		case 32:
  			return "ArmchairRracer";
  		
  		case 33:
  			return "LEARNER";
  		
  		case 34:
  			return "SUNDAYDRIVER";
  		
  		case 35:
  			return "THEROOKIE";
  		
  		case 36:
  			return "BUMPANDRUN";
  		
  		case 37:
  			return "GEARHEAD";
  		
  		case 38:
  			return "DOORSLAMMER";
  		
  		case 39:
  			return "HOTLAP";
  		
  		case 40:
  			return "ARENAAMATEUR";
  		
  		case 41:
  			return "PAINTTRADER";
  		
  		case 42:
  			return "SHUNTER";
  		
  		case 43:
  			return "JOCK";
  		
  		case 44:
  			return "WARRIOR";
  		
  		case 45:
  			return "TBONE";
  		
  		case 46:
  			return "MAYHEM";
  		
  		case 47:
  			return "WRECKER";
  		
  		case 48:
  			return "CRASHCOURSE";
  		
  		case 49:
  			return "ARENALEGEND";
  		
  		case 50:
  			return "PEGASUS";
  		
  		case 51:
  			return "contactsport";
  		
  		case 52:
  			return "UNSTOPPABLE";
  		
  		case 53:
  			return "LooseCheng";
  		
  		case 54:
  			return "HouseKeeping";
  		
  		case 55:
  			return "StrongArmTactics";
  		
  		case 56:
  			return "PlayToWin";
  		
  		case 57:
  			return "BadBeat";
  		
  		case 58:
  			return "CashingOut";
  		
  		case 59:
  			return "StraightFlush";
  		
  		case 62:
  			return "LuckyLucky";
  		
  		case 60:
  			return "TopPair";
  		
  		case 61:
  			return "FullHouse";
  		
  		case 63:
  			return "SCOPEOUT";
  		
  		case 64:
  			return "ALLCREWEDUP";
  		
  		case 65:
  			return "MOVINGON";
  		
  		case 66:
  			return "AfterParty";
  		
  		case 67:
  			return "GUNMAN";
  		
  		case 68:
  			return "SmashAndGrab";
  		
  		case 69:
  			return "HiddenInPlainSight";
  		
  		case 70:
  			return "Undetected";
  		
  		case 71:
  			return "AllRounder";
  		
  		case 72:
  			return "EliteThief";
  		
  		case 73:
  			return "Professional";
  		
  		case 74:
  			return "SupportAct";
  		
  		case 75:
  			return "Shafted";
  		
  		case 76:
  			return "Collector";
  		
  		case 77:
  			return "Deadeye";
  		
  		case 78:
  			return "PistolAtDawn";
  		
  		case joaat("mpsv_lp0_31"):
  			return "BeatTheTraffic";
  		
  		case 80:
  			return "AllWheels";
  		
  		case 81:
  			return "FEELINGROGGY";
  		
  		case 82:
  			return "ApeEscape";
  		
  		case 83:
  			return "MonkeyMind";
  		
  		case 84:
  			return "AquaticApe";
  		
  		case 85:
  			return "KeepingTheFaith";
  		
  		case 86:
  			return "TrueLove";
  		
  		case 87:
  			return "Nemesis";
  		
  		case 88:
  			return "Friendzoned";
  		
  		case 89:
  			return "KingOfQub3d";
  		
  		case 90:
  			return "Qubism";
  		
  		case 93:
  			return "CrankItTo11";
  		
  		case 92:
  			return "GodofQub3d";
  		
  		case 91:
  			return "Qubits";
  		
  		case 94:
  			return "1111";
  		
  		case 95:
  			return "Inandout";
  		
  		case 96:
  			return "EasyAccess";
  		
  		case 97:
  			return "ItsaSteal";
  		
  		case 98:
  			return "MaximumDistruption";
  		
  		case 99:
  			return "TheIslandHeist";
  		
  		case 100:
  			return "GoingAlone";
  		
  		case 101:
  			return "Teamwork";
  		
  		case 102:
  			return "TravelPlans";
  		
  		case 103:
  			return "ProfessionalThief";
  		
  		case 104:
  			return "CatBurglar";
  		
  		case 105:
  			return "OneOfThem";
  		
  		case 106:
  			return "GoforGold";
  		
  		case 107:
  			return "Elitist";
  		
  		case 108:
  			return "Blowhard";
  		
  		case 109:
  			return "HelpingOut";
  		
  		case 110:
  			return "Courier";
  		
  		case 111:
  			return "PartyVibes";
  		
  		case 112:
  			return "HelpingHand";
  		
  		default:
  	}
  	return "";
  }
  
  char* func_113(int iParam0, int iParam1, int iParam2, bool bParam3)
  {
  	if (iParam2 == 9)
  	{
  	}
  	if (bParam3)
  	{
  	}
  	if (iParam1 == 5)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "AWS_521";
  		
  		case 2:
  			return "AWS_660";
  		
  		case 3:
  			return "AWS_667";
  		
  		case 4:
  			return "AWS_670";
  		
  		case 5:
  			return "AWS_671";
  		
  		case 6:
  			return "AWS_691";
  		
  		case 7:
  			return "AWS_697";
  		
  		case 8:
  			return "AWS_701";
  		
  		case 10:
  			return "AWS_705";
  		
  		case 11:
  			return "AWS_706";
  		
  		case 12:
  			return "AWS_709";
  		
  		case 13:
  			return "AWS_711";
  		
  		case 14:
  			return "AWS_712";
  		
  		case 15:
  			return "AWS_714";
  		
  		case 16:
  			return "AWS_715";
  		
  		case 17:
  			return "AWS_718";
  		
  		case 18:
  			return "AWS_719";
  		
  		case 20:
  			return "AWS_725";
  		
  		case 21:
  			return "AWS_727";
  		
  		case 22:
  			return "AWS_717";
  		
  		case 23:
  			if (MISC::SHOULD_USE_METRIC_MEASUREMENTS())
  			{
  				return "AWS_729_M";
  			}
  			else
  			{
  				return "AWS_729";
  			}
  			break;
  		
  		case 25:
  			return "AWS_783";
  		
  		case 26:
  			return "AWS_784";
  		
  		case 27:
  			return "AWS_771";
  		
  		case 114:
  			return "AWS_751";
  		
  		case 118:
  			return "AWS_763";
  		
  		case 113:
  			return "AWS_754";
  		
  		case 116:
  			return "AWS_765";
  		
  		case 117:
  			return "AWS_756";
  		
  		case 119:
  			return "AWS_793";
  		
  		case 120:
  			return "AWS_794";
  		
  		case 121:
  			return "AWS_795";
  		
  		case 30:
  			return "AWS_796";
  		
  		case 31:
  			return "AWS_797";
  		
  		case 32:
  			return "AWS_798";
  		
  		case 33:
  			return "AWS_799";
  		
  		case 34:
  			return "AWS_800";
  		
  		case 35:
  			return "AWS_801";
  		
  		case 36:
  			return "AWS_802";
  		
  		case 37:
  			return "AWS_803";
  		
  		case 38:
  			return "AWS_804";
  		
  		case 39:
  			return "AWS_805";
  		
  		case 40:
  			return "AWS_806";
  		
  		case 41:
  			return "AWS_807";
  		
  		case 42:
  			return "AWS_808";
  		
  		case 43:
  			return "AWS_809";
  		
  		case 44:
  			return "AWS_810";
  		
  		case 45:
  			return "AWS_811";
  		
  		case 46:
  			return "AWS_812";
  		
  		case 47:
  			return "AWS_813";
  		
  		case 48:
  			return "AWS_814";
  		
  		case 49:
  			return "AWS_815";
  		
  		case 50:
  			return "AWS_816";
  		
  		case 51:
  			return "AWS_819";
  		
  		case 52:
  			return "AWS_820";
  		
  		case 53:
  			return "AWS_836";
  		
  		case 54:
  			return "AWS_837";
  		
  		case 55:
  			return "AWS_838";
  		
  		case 56:
  			return "AWS_839";
  		
  		case 57:
  			return "AWS_840";
  		
  		case 58:
  			return "AWS_841";
  		
  		case 59:
  			return "AWS_842";
  		
  		case 62:
  			return "AWS_846";
  		
  		case 60:
  			return "AWS_843";
  		
  		case 61:
  			return "AWS_844";
  		
  		case 63:
  			return "AWS_857";
  		
  		case 64:
  			return "AWS_858";
  		
  		case 65:
  			return "AWS_859";
  		
  		case 66:
  			return "AWS_860";
  		
  		case 67:
  			return "AWS_861";
  		
  		case 68:
  			return "AWS_862";
  		
  		case 69:
  			return "AWS_863";
  		
  		case 70:
  			return "AWS_864";
  		
  		case 71:
  			return "AWS_865";
  		
  		case 72:
  			return "AWS_866";
  		
  		case 73:
  			return "AWS_867";
  		
  		case 74:
  			return "AWS_868";
  		
  		case 75:
  			return "AWS_869";
  		
  		case 76:
  			return "AWS_870";
  		
  		case 77:
  			return "AWS_871";
  		
  		case 78:
  			return "AWS_872";
  		
  		case joaat("mpsv_lp0_31"):
  			return "AWS_873";
  		
  		case 80:
  			return "AWS_874";
  		
  		case 81:
  			return "AWS_875";
  		
  		case 82:
  			return "AWS_876";
  		
  		case 83:
  			return "AWS_877";
  		
  		case 84:
  			return "AWS_878";
  		
  		case 85:
  			return "AWS_879";
  		
  		case 86:
  			return "AWS_880";
  		
  		case 87:
  			return "AWS_881";
  		
  		case 88:
  			return "AWS_882";
  		
  		case 89:
  			return "AWS_886";
  		
  		case 90:
  			return "AWS_887";
  		
  		case 93:
  			return "AWS_888";
  		
  		case 92:
  			return "AWS_889";
  		
  		case 91:
  			return "AWS_890";
  		
  		case 94:
  			return "AWS_891";
  		
  		case 95:
  			return "AWS_917";
  		
  		case 96:
  			return "AWS_918";
  		
  		case 97:
  			return "AWS_919";
  		
  		case 98:
  			return "AWS_920";
  		
  		case 99:
  			return "AWS_921";
  		
  		case 100:
  			return "AWS_922";
  		
  		case 101:
  			return "AWS_923";
  		
  		case 102:
  			return "AWS_924";
  		
  		case 103:
  			return "AWS_925";
  		
  		case 104:
  			return "AWS_926";
  		
  		case 105:
  			return "AWS_927";
  		
  		case 106:
  			return "AWS_928";
  		
  		case 107:
  			return "AWS_929";
  		
  		case 108:
  			return "AWS_930";
  		
  		case 109:
  			return "AWS_931";
  		
  		case 110:
  			return "AWS_932";
  		
  		case 111:
  			return "AWS_933";
  		
  		case 112:
  			return "AWS_934";
  	}
  	return "";
  }
  
  char* func_114(int iParam0, int iParam1, bool bParam2)
  {
  	if (bParam2)
  	{
  	}
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return "AWT_521";
  		
  		case 2:
  			return "AWT_660";
  		
  		case 3:
  			return "AWT_667";
  		
  		case 4:
  			return "AWT_670";
  		
  		case 5:
  			return "AWT_671";
  		
  		case 6:
  			return "AWT_691";
  		
  		case 7:
  			return "AWT_697";
  		
  		case 8:
  			return "AWT_701";
  		
  		case 10:
  			return "AWT_705";
  		
  		case 11:
  			return "AWT_706";
  		
  		case 12:
  			return "AWT_709";
  		
  		case 13:
  			return "AWT_711";
  		
  		case 14:
  			return "AWT_712";
  		
  		case 15:
  			return "AWT_714";
  		
  		case 16:
  			return "AWT_715";
  		
  		case 17:
  			return "AWT_718";
  		
  		case 18:
  			return "AWT_719";
  		
  		case 20:
  			return "AWT_725";
  		
  		case 21:
  			return "AWT_727";
  		
  		case 22:
  			return "AWT_717";
  		
  		case 23:
  			return "AWT_729";
  		
  		case 25:
  			return "AWT_783";
  		
  		case 26:
  			return "AWT_784";
  		
  		case 114:
  			return "AWT_751";
  		
  		case 113:
  			return "AWT_754";
  		
  		case 116:
  			return "AWT_765";
  		
  		case 118:
  			return "AWT_763";
  		
  		case 117:
  			return "AWT_756";
  			break;
  		
  		case 119:
  			return "AWT_793";
  		
  		case 120:
  			return "AWT_794";
  		
  		case 121:
  			return "AWT_795";
  		
  		case 30:
  			return "AWT_796";
  		
  		case 31:
  			return "AWT_797";
  		
  		case 32:
  			return "AWT_798";
  		
  		case 33:
  			return "AWT_799";
  		
  		case 34:
  			return "AWT_800";
  		
  		case 35:
  			return "AWT_801";
  		
  		case 36:
  			return "AWT_802";
  		
  		case 37:
  			return "AWT_803";
  		
  		case 38:
  			return "AWT_804";
  		
  		case 39:
  			return "AWT_805";
  		
  		case 40:
  			return "AWT_806";
  		
  		case 41:
  			return "AWT_807";
  		
  		case 42:
  			return "AWT_808";
  		
  		case 43:
  			return "AWT_809";
  		
  		case 44:
  			return "AWT_810";
  		
  		case 45:
  			return "AWT_811";
  		
  		case 46:
  			return "AWT_812";
  		
  		case 47:
  			return "AWT_813";
  		
  		case 48:
  			return "AWT_814";
  		
  		case 49:
  			return "AWT_815";
  		
  		case 50:
  			return "AWT_816";
  		
  		case 51:
  			return "AWT_819";
  		
  		case 52:
  			return "AWT_820";
  		
  		case 53:
  			return "AWT_836";
  		
  		case 54:
  			return "AWT_837";
  		
  		case 55:
  			return "AWT_838";
  		
  		case 56:
  			return "AWT_839";
  		
  		case 57:
  			return "AWT_840";
  		
  		case 58:
  			return "AWT_841";
  		
  		case 59:
  			return "AWT_842";
  		
  		case 62:
  			return "AWT_846";
  		
  		case 60:
  			return "AWT_843";
  		
  		case 61:
  			return "AWT_844";
  		
  		case 63:
  			return "AWT_857";
  		
  		case 64:
  			return "AWT_858";
  		
  		case 65:
  			return "AWT_859";
  		
  		case 66:
  			return "AWT_860";
  		
  		case 67:
  			return "AWT_861";
  		
  		case 68:
  			return "AWT_862";
  		
  		case 69:
  			return "AWT_863";
  		
  		case 70:
  			return "AWT_864";
  		
  		case 71:
  			return "AWT_865";
  		
  		case 72:
  			return "AWT_866";
  		
  		case 73:
  			return "AWT_867";
  		
  		case 74:
  			return "AWT_868";
  		
  		case 75:
  			return "AWT_869";
  		
  		case 76:
  			return "AWT_870";
  		
  		case 77:
  			return "AWT_871";
  		
  		case 78:
  			return "AWT_872";
  		
  		case joaat("mpsv_lp0_31"):
  			return "AWT_873";
  		
  		case 80:
  			return "AWT_874";
  		
  		case 81:
  			return "AWT_875";
  		
  		case 82:
  			return "AWT_876";
  		
  		case 83:
  			return "AWT_877";
  		
  		case 84:
  			return "AWT_878";
  		
  		case 85:
  			return "AWT_879";
  		
  		case 86:
  			return "AWT_880";
  		
  		case 87:
  			return "AWT_881";
  		
  		case 88:
  			return "AWT_882";
  		
  		case 89:
  			return "AWT_886";
  		
  		case 90:
  			return "AWT_887";
  		
  		case 93:
  			return "AWT_888";
  		
  		case 92:
  			return "AWT_889";
  		
  		case 91:
  			return "AWT_890";
  		
  		case 94:
  			return "AWT_891";
  		
  		case 95:
  			return "AWT_917";
  		
  		case 96:
  			return "AWT_918";
  		
  		case 97:
  			return "AWT_919";
  		
  		case 98:
  			return "AWT_920";
  		
  		case 99:
  			return "AWT_921";
  		
  		case 100:
  			return "AWT_922";
  		
  		case 101:
  			return "AWT_923";
  		
  		case 102:
  			return "AWT_924";
  		
  		case 103:
  			return "AWT_925";
  		
  		case 104:
  			return "AWT_926";
  		
  		case 105:
  			return "AWT_927";
  		
  		case 106:
  			return "AWT_928";
  		
  		case 107:
  			return "AWT_929";
  		
  		case 108:
  			return "AWT_930";
  		
  		case 109:
  			return "AWT_931";
  		
  		case 110:
  			return "AWT_932";
  		
  		case 111:
  			return "AWT_933";
  		
  		case 112:
  			return "AWT_934";
  	}
  	return "";
  }
  
  int func_115(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 0:
  			return 1;
  		
  		case 2:
  			return 1;
  		
  		case 3:
  			return 1;
  		
  		case 4:
  			return 1;
  		
  		case 5:
  			return 1;
  		
  		case 6:
  			return 1;
  		
  		case 7:
  			return 1;
  		
  		case 8:
  			return 1;
  		
  		case 10:
  			return 1;
  		
  		case 11:
  			return 1;
  		
  		case 12:
  			return 1;
  		
  		case 13:
  			return 1;
  		
  		case 14:
  			return 1;
  		
  		case 15:
  			return 1;
  		
  		case 16:
  			return 1;
  		
  		case 17:
  			return 1;
  		
  		case 18:
  			return 1;
  		
  		case 20:
  			return 1;
  		
  		case 21:
  			return 1;
  		
  		case 22:
  			return 1;
  		
  		case 23:
  			return 1;
  		
  		case 25:
  			return 1;
  		
  		case 26:
  			return 1;
  		
  		case 27:
  			return 1;
  		
  		case 114:
  			return 1;
  		
  		case 113:
  			return 1;
  		
  		case 116:
  			return 1;
  		
  		case 118:
  			return 1;
  		
  		case 117:
  			return 1;
  		
  		case 119:
  			return 1;
  		
  		case 120:
  			return 1;
  		
  		case 121:
  			return 1;
  		
  		case 30:
  			return 1;
  		
  		case 31:
  			return 1;
  		
  		case 32:
  			return 1;
  		
  		case 33:
  			return 1;
  		
  		case 34:
  			return 1;
  		
  		case 35:
  			return 1;
  		
  		case 36:
  			return 1;
  		
  		case 37:
  			return 1;
  		
  		case 38:
  			return 1;
  		
  		case 39:
  			return 1;
  		
  		case 40:
  			return 1;
  		
  		case 41:
  			return 1;
  		
  		case 42:
  			return 1;
  		
  		case 43:
  			return 1;
  		
  		case 44:
  			return 1;
  		
  		case 45:
  			return 1;
  		
  		case 46:
  			return 1;
  		
  		case 47:
  			return 1;
  		
  		case 48:
  			return 1;
  		
  		case 49:
  			return 1;
  		
  		case 50:
  			return 1;
  		
  		case 51:
  			return 1;
  		
  		case 52:
  			return 1;
  		
  		case 53:
  			return 1;
  		
  		case 54:
  			return 1;
  		
  		case 55:
  			return 1;
  		
  		case 56:
  			return 1;
  		
  		case 57:
  			return 1;
  		
  		case 58:
  			return 1;
  		
  		case 59:
  			return 1;
  		
  		case 62:
  			return 1;
  		
  		case 60:
  			return 1;
  		
  		case 61:
  			return 1;
  		
  		case 63:
  			return 1;
  		
  		case 64:
  			return 1;
  		
  		case 65:
  			return 1;
  		
  		case 66:
  			return 1;
  		
  		case 67:
  			return 1;
  		
  		case 68:
  			return 1;
  		
  		case 69:
  			return 1;
  		
  		case 70:
  			return 1;
  		
  		case 71:
  			return 1;
  		
  		case 72:
  			return 1;
  		
  		case 73:
  			return 1;
  		
  		case 74:
  			return 1;
  		
  		case 75:
  			return 1;
  		
  		case 76:
  			return 1;
  		
  		case 77:
  			return 1;
  		
  		case 78:
  			return 1;
  		
  		case joaat("mpsv_lp0_31"):
  			return 1;
  		
  		case 80:
  			return 1;
  		
  		case 81:
  			return 1;
  		
  		case 82:
  			return 1;
  		
  		case 83:
  			return 1;
  		
  		case 84:
  			return 1;
  		
  		case 85:
  			return 1;
  		
  		case 86:
  			return 1;
  		
  		case 87:
  			return 1;
  		
  		case 88:
  			return 1;
  		
  		case 89:
  			return 1;
  		
  		case 90:
  			return 1;
  		
  		case 93:
  			return 1;
  		
  		case 92:
  			return 1;
  		
  		case 91:
  			return 1;
  		
  		case 94:
  			return 1;
  		
  		case 95:
  			return 1;
  		
  		case 96:
  			return 1;
  		
  		case 97:
  			return 1;
  		
  		case 98:
  			return 1;
  		
  		case 99:
  			return 1;
  		
  		case 100:
  			return 1;
  		
  		case 101:
  			return 1;
  		
  		case 102:
  			return 1;
  		
  		case 103:
  			return 1;
  		
  		case 104:
  			return 1;
  		
  		case 105:
  			return 1;
  		
  		case 106:
  			return 1;
  		
  		case 107:
  			return 1;
  		
  		case 108:
  			return 1;
  		
  		case 109:
  			return 1;
  		
  		case 110:
  			return 1;
  		
  		case 111:
  			return 1;
  		
  		case 112:
  			return 1;
  		
  		default:
  	}
  	return 0;
  }
  
  int func_116()
  {
  	return 5;
  }
  
  int func_117(int iParam0)
  {
  	if (func_109(iParam0, -1))
  	{
  		return 5;
  	}
  	return 0;
  }
  
  void func_118(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	char* sVar1;
  	char* sVar2;
  	char* sVar3;
  	char* sVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	
  	switch (iParam1)
  	{
  		case 0:
  			iParam1 = 0;
  			break;
  		
  		case 1:
  			iParam1 = 1;
  			break;
  		
  		case 2:
  			iParam1 = 2;
  			break;
  		
  		case 3:
  			iParam1 = 3;
  			break;
  		
  		case 4:
  			iParam1 = 4;
  			break;
  		
  		case 5:
  			iParam1 = 5;
  			break;
  		
  		case 6:
  			iParam1 = func_124(iParam0, iParam2);
  			break;
  		
  		case 7:
  		case 8:
  			iParam1 = func_123(iParam0, iParam2);
  			break;
  	}
  	iVar0 = func_123(iParam0, iParam2);
  	if (iParam1 != 0)
  	{
  		if (iParam1 != 1)
  		{
  			if (func_63(iParam0, iParam2) != 1)
  			{
  				iParam1 = 1;
  			}
  		}
  	}
  	sVar1 = func_122(iParam0, iParam2);
  	sVar2 = func_121(iParam0, iParam1, iParam2);
  	sVar3 = func_120(iParam0, iParam1, iParam2);
  	sVar4 = func_119(iParam0, iParam1, iParam2);
  	iVar5 = func_49(iParam0, iVar0, iParam2);
  	iVar6 = func_48(iParam0, -1);
  	iVar7 = func_72(iParam1);
  	iVar8 = func_49(iParam0, iVar7, iParam2);
  	iVar9 = (iVar5 - iVar8);
  	iVar10 = (iVar6 - iVar8);
  	iVar11 = SYSTEM::FLOOR(((SYSTEM::TO_FLOAT(iVar10) / SYSTEM::TO_FLOAT(iVar9)) * 100f));
  	func_64(sVar1, sVar2, sVar3, sVar4, iVar5, iVar6, iVar11, iParam1, uParam3);
  }
  
  char* func_119(int iParam0, int iParam1, int iParam2)
  {
  	switch (iParam0)
  	{
  		case 53:
  			return "MPAwards5";
  		
  		case 39:
  			return "MPAwards5";
  		
  		case 51:
  			return "MPAwards5";
  		
  		case 52:
  			return "MPAwards5";
  		
  		case 16:
  			return "MPAwards2";
  		
  		case 60:
  			return "MPAwards4";
  		
  		case 61:
  			return "MPAwards4";
  		
  		case 62:
  			return "MPAwards4";
  		
  		case 63:
  			return "MPAwards4";
  		
  		case 0:
  			switch (iParam2)
  			{
  				case 9:
  					switch (iParam1)
  					{
  						case 0:
  							return "MPAwards1";
  						
  						case 1:
  							return "MPAwards1";
  						
  						case 2:
  							return "MPAwards1";
  						
  						case 3:
  							return "MPAwards1";
  						
  						case 4:
  							return "MPAwards1";
  						
  						case 5:
  							return "MPAwards1";
  						
  						default:
  					}
  					break;
  			}
  			break;
  		
  		case 12:
  			return "MPAwards3";
  		
  		case 11:
  			return "MPAwards4";
  		
  		case 20:
  			return "MPAwards5";
  		
  		case 19:
  			return "MPAwards2";
  		
  		case 15:
  			return "MPAwards4";
  		
  		case 17:
  			return "MPAwards2";
  		
  		case 21:
  			return "MPAwards2";
  		
  		case 14:
  			return "MPAwards4";
  		
  		case 22:
  			return "MPAwards1";
  		
  		case 1:
  			return "MPAwards5";
  		
  		case 2:
  			return "MPAwards5";
  		
  		case 3:
  			return "MPAwards5";
  		
  		case 4:
  			return "MPAwards5";
  		
  		case 5:
  			return "MPAwards4";
  		
  		case 6:
  			return "MPAwards5";
  		
  		case 7:
  			return "MPAwards4";
  		
  		case 8:
  			return "MPAwards5";
  		
  		case 9:
  			return "MPAwards4";
  		
  		case 10:
  			return "MPAwards2";
  		
  		case 23:
  			return "MPAwards1";
  		
  		case 24:
  			return "MPAwards1";
  		
  		case 25:
  			return "MPAwards1";
  		
  		case 26:
  			return "MPAwards1";
  		
  		case 27:
  			return "MPAwards1";
  		
  		case 28:
  			return "MPAwards1";
  		
  		case 29:
  			return "MPAwards5";
  		
  		case 30:
  			return "MPAWARDS5";
  		
  		case 31:
  			return "MPAWARDS5";
  		
  		case 32:
  			return "MPAWARDS5";
  		
  		case 33:
  			return "MPAWARDS5";
  		
  		case 34:
  			return "MPAWARDS5";
  		
  		case 35:
  			return "MPAWARDS5";
  		
  		case 36:
  			return "MPAWARDS5";
  		
  		case 37:
  			return "MPAWARDS5";
  		
  		case 38:
  			return "MPAWARDS5";
  		
  		case 40:
  			return "MPAWARDS5";
  		
  		case 41:
  			return "MPAWARDS5";
  		
  		case 42:
  			return "MPAWARDS5";
  		
  		case 43:
  			return "MPAWARDS5";
  		
  		case 44:
  			return "MPAWARDS5";
  		
  		case 45:
  			return "MPAWARDS5";
  		
  		case 46:
  			return "MPAWARDS5";
  		
  		case 47:
  			return "MPAWARDS5";
  		
  		case 48:
  			return "MPAWARDS5";
  		
  		case 49:
  			return "MPAWARDS5";
  		
  		case 54:
  			return "MPAWARDS5";
  		
  		case 55:
  			return "MPAWARDS5";
  		
  		case 56:
  			return "MPAWARDS5";
  		
  		case 57:
  			return "MPAWARDS5";
  		
  		case 58:
  			return "MPAWARDS5";
  		
  		case 59:
  			return "MPAWARDS5";
  		
  		case 113:
  			return "MPAwardHeists";
  		
  		case 114:
  			return "MPAwardHeists";
  		
  		case 115:
  			return "MPAwardHeists";
  		
  		case 116:
  			return "MPAwardHeists";
  		
  		case 117:
  			return "MPAwardHeists";
  		
  		case 67:
  			return "MPAwardHeists";
  		
  		case 107:
  			return "MPAwardHeists";
  		
  		case 108:
  			return "MPAwardHeists";
  		
  		case 109:
  			return "MPAwardHeists";
  		
  		case 110:
  			return "MPAwardHeists";
  		
  		case 111:
  			return "MPAwardHeists";
  		
  		case 112:
  			return "MPAwardHeists";
  		
  		case 118:
  			return "MPAwardHeists";
  		
  		case 119:
  			return "MPAwardHeists";
  		
  		case 120:
  			return "MPAwardHeists";
  		
  		case 121:
  			return "MPAwardHeists";
  		
  		case 122:
  			return "MPAwardHeists";
  		
  		case 123:
  			return "MPAwardHeists";
  		
  		case 124:
  			return "MPAwardHeists";
  		
  		case 125:
  			return "MPAwardHeists";
  		
  		case 126:
  			return "MPAwardNightclub";
  		
  		case 127:
  			return "MPAwardNightclub";
  		
  		case 128:
  			return "MPAwardNightclub";
  		
  		case 129:
  			return "MPAwardNightclub";
  		
  		case 130:
  			return "MPAwardNightclub";
  		
  		case 70:
  			return "MPAwardsArena";
  		
  		case 71:
  			return "MPAwardsArena";
  		
  		case 72:
  			return "MPAwardsArena";
  		
  		case 73:
  			return "MPAwardsArena";
  		
  		case 74:
  			return "MPAwardsArena";
  		
  		case 75:
  			return "MPAwardsArena";
  		
  		case 76:
  			return "MPAwardsArena";
  		
  		case 77:
  			return "MPAwardsArena";
  		
  		case 78:
  			return "MPAwardsArena";
  		
  		case joaat("mpsv_lp0_31"):
  			return "MPAwardsArena";
  		
  		case 80:
  			return "MPAwardsArena";
  		
  		case 81:
  			return "MPAwardsArena";
  		
  		case 82:
  			return "MPAwardsArena";
  		
  		case 83:
  			return "MPAwardsArena";
  		
  		case 84:
  			return "MPAwardsArena";
  		
  		case 85:
  			return "MPAwardsArena";
  		
  		case 86:
  			return "MPAwardsArena";
  		
  		case 87:
  			return "MPAwardCasino";
  		
  		case 88:
  		case 89:
  		case 90:
  		case 91:
  		case 92:
  		case 93:
  		case 94:
  		case 95:
  		case 96:
  		case 97:
  			return "MPAwardCasinoHeist";
  			break;
  		
  		case 99:
  		case 100:
  		case 101:
  		case 102:
  		case 103:
  		case 104:
  		case 105:
  		case 106:
  			return "MPAwardIslandHeist";
  			break;
  	}
  	return "";
  }
  
  char* func_120(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam2 == 9)
  	{
  	}
  	if (iParam1 == 5)
  	{
  	}
  	switch (iParam0)
  	{
  		case 53:
  			return "ShootDownPoliceHeli";
  		
  		case 39:
  			return "ComeFromBehind";
  		
  		case 60:
  			return "TheFugitive";
  		
  		case 61:
  			return "NoClaimsBonus";
  		
  		case 62:
  			return "swallow";
  		
  		case 63:
  			return "Spinderella";
  		
  		case 16:
  			return "Timeinheli";
  		
  		case 0:
  			return "HangingOutInCars";
  		
  		case 51:
  			return "WinRallyAsDriver";
  		
  		case 52:
  			return "WinRallyAsNavigator";
  		
  		case 12:
  			return "Killenemiesindriveby";
  		
  		case 11:
  			return "JackVehicles";
  		
  		case 20:
  			return "Jump40m";
  		
  		case 19:
  			return "Timesavoiding5stars";
  		
  		case 15:
  			return "GetLapDances";
  		
  		case 17:
  			return "Delivercars";
  		
  		case 21:
  			return "racesWon_generic";
  		
  		case 14:
  			return "HoldUpShops";
  		
  		case 22:
  			return "ArmWrestlingVictories";
  		
  		case 1:
  			return "KillPistol";
  		
  		case 2:
  			return "KillSniperrifle";
  		
  		case 3:
  			return "KillGrenades";
  		
  		case 4:
  			return "KillShotgun";
  		
  		case 5:
  			return "KillSMG";
  		
  		case 6:
  			return "KillRocketLauncher";
  		
  		case 7:
  			return "KillStickyBombs";
  		
  		case 8:
  			return "KillMeleeWeapons";
  		
  		case 9:
  			return "Headshots";
  		
  		case 10:
  			return "BlowupVehicles";
  		
  		case 23:
  			return "Winatdarts";
  		
  		case 24:
  			return "Blowupenemiesusingcarbombs";
  		
  		case 25:
  			return "KilledpeoplewithanAssaultRifle";
  		
  		case 26:
  			return "KilledpeoplewithaMachineGun";
  		
  		case 27:
  			return "Gethaircuts";
  		
  		case 28:
  			return "Parachute1min";
  		
  		case 29:
  			return "ParachuteJumps20m";
  		
  		case 30:
  			return "Birdie";
  		
  		case 31:
  			return "GolfWin";
  		
  		case 32:
  			return "TargetGridWin";
  		
  		case 33:
  			return "RandomTargetsWin";
  		
  		case 34:
  			return "CoveredTargetsWin";
  		
  		case 35:
  			return "TennisMatchesWon";
  		
  		case 36:
  			return "TennisServiceAce";
  		
  		case 37:
  			return "GTARacesWon";
  		
  		case 38:
  			return "FastestLap";
  		
  		case 40:
  			return "DeathmatchWin";
  		
  		case 41:
  			return "TeamDeathmatchWin";
  		
  		case 42:
  			return "TeamDeathmatchMVP";
  		
  		case 43:
  			return "KillStreak";
  		
  		case 44:
  			return "TotalKills";
  		
  		case 45:
  			return "HatTrickKiller";
  		
  		case 46:
  			return "StolenKill";
  		
  		case 47:
  			return "Land2mFromTarget";
  		
  		case 48:
  			return "ReachHordeModeWave";
  		
  		case 49:
  			return "EarnCashFromBetting";
  		
  		case 54:
  			return "RaceToPointWinner";
  		
  		case 55:
  			return "BountyHunter";
  		
  		case 56:
  			return "OverallKills";
  		
  		case 57:
  			return "WinASeaRace";
  		
  		case 58:
  			return "WinAPlaneRace";
  		
  		case 59:
  			return "GetRevengeKillDeathmatch";
  		
  		case 113:
  			return "Captured";
  		
  		case 114:
  			return "ThePostman";
  		
  		case 115:
  			return "GimmeThat";
  		
  		case 116:
  			return "NoYouDont";
  		
  		case 117:
  			return "DeathDefying";
  		
  		case 67:
  			return "dailyduty";
  		
  		case 107:
  			return "TheBigTime";
  		
  		case 108:
  			return "BePrepared";
  		
  		case 109:
  			return "ForHire";
  		
  		case 110:
  			return "ShotCaller";
  		
  		case 111:
  			return "LiveALittle";
  		
  		case 112:
  			return "Decorated";
  		
  		case 118:
  			return "LightsOut";
  		
  		case 119:
  			return "InControl";
  		
  		case 120:
  			return "PsychoKiller";
  		
  		case 121:
  			return "CalmDown";
  		
  		case 122:
  			return "StillStanding";
  		
  		case 123:
  			return "OneAndOnly";
  		
  		case 124:
  			return "OneManArmy";
  		
  		case 125:
  			return "MovingDay";
  		
  		case 126:
  			return "Solomun";
  		
  		case 127:
  			return "TaleOfUs";
  		
  		case 128:
  			return "Dixon";
  		
  		case 129:
  			return "TheBlackMadonna";
  		
  		case 130:
  			return "ClubDrunk";
  		
  		case 70:
  			return "watchyourstep";
  		
  		case 71:
  			return "TOWEROFFENSE";
  		
  		case 72:
  			return "READYFORWAR";
  		
  		case 73:
  			return "THROUGHTHELENS";
  		
  		case 74:
  			return "SPINNER";
  		
  		case 75:
  			return "YOUMEANBOOBYTRAP";
  		
  		case 76:
  			return "MASTERBANDITO";
  		
  		case 77:
  			return "SITTINGDUCK";
  		
  		case 78:
  			return "CROWDPARTICIPATION";
  		
  		case joaat("mpsv_lp0_31"):
  			return "KILLORBEKILLED";
  		
  		case 80:
  			return "MASSIVESHUNT";
  		
  		case 81:
  			return "YOUREOUTTAHERE";
  		
  		case 82:
  			return "WEVEGOTONE";
  		
  		case 83:
  			return "ARENAWAGEWORKER";
  		
  		case 84:
  			return "TIMESERVED";
  		
  		case 85:
  			return "TOPSCORE";
  		
  		case 86:
  			return "CAREERWINNER";
  		
  		case 87:
  			return "HighRoller";
  		
  		case 88:
  			return "Preparation";
  		
  		case 89:
  			return "AsleepOnTheJob";
  		
  		case 90:
  			return "DailyCashGrab";
  		
  		case 91:
  			return "Bigbrother";
  		
  		case 92:
  			return "Sharpshooter";
  		
  		case 93:
  			return "RaceChampion";
  		
  		case 94:
  			return "PlatinumSword";
  		
  		case 95:
  			return "CoinPurse";
  		
  		case 96:
  			return "Astrochimp";
  		
  		case 97:
  			return "Masterful";
  		
  		case 99:
  			return "sunset";
  		
  		case 100:
  			return "TreasureHunter";
  		
  		case 101:
  			return "WreckDiving";
  		
  		case 102:
  			return "Keinmusik";
  		
  		case 103:
  			return "PalmsTrax";
  		
  		case 104:
  			return "Moodymann";
  		
  		case 105:
  			return "FillYourBags";
  		
  		case 106:
  			return "Prepped";
  			break;
  	}
  	return "";
  }
  
  char* func_121(int iParam0, int iParam1, int iParam2)
  {
  	if (iParam1 == 5)
  	{
  	}
  	if (iParam2 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 53:
  			return "AWS_721";
  		
  		case 60:
  			return "AWS_728";
  		
  		case 61:
  			return "AWS_730";
  		
  		case 62:
  			return "AWS_731";
  		
  		case 63:
  			return "AWS_732";
  		
  		case 16:
  			return "AWS_550";
  		
  		case 0:
  			return "AWS_282";
  		
  		case 51:
  			return "AWS_707";
  		
  		case 52:
  			return "AWS_708";
  		
  		case 12:
  			return "AWS_581";
  		
  		case 11:
  			return "AWS_582";
  		
  		case 19:
  			return "AWS_534";
  		
  		case 20:
  			if (MISC::SHOULD_USE_METRIC_MEASUREMENTS())
  			{
  				return "AWS_509_M";
  			}
  			else
  			{
  				return "AWS_509";
  			}
  			break;
  		
  		case 39:
  			return "AWS_678";
  		
  		case 15:
  			return "AWS_559";
  		
  		case 17:
  			return "AWS_535";
  		
  		case 21:
  			return "AWS_586";
  		
  		case 14:
  			return "AWS_566";
  		
  		case 22:
  			return "AWS_589";
  		
  		case 1:
  			return "AWS_506";
  		
  		case 2:
  			return "AWS_585";
  		
  		case 3:
  			return "AWS_541";
  		
  		case 4:
  			return "AWS_584";
  		
  		case 5:
  			return "AWS_540";
  		
  		case 6:
  			return "AWS_539";
  		
  		case 7:
  			return "AWS_538";
  		
  		case 8:
  			return "AWS_537";
  		
  		case 9:
  			return "AWS_536";
  		
  		case 10:
  			return "AWS_583";
  		
  		case 23:
  			return "AWS_610";
  		
  		case 24:
  			return "AWS_611";
  		
  		case 25:
  			return "AWS_631";
  		
  		case 26:
  			return "AWS_632";
  		
  		case 27:
  			return "AWS_639";
  		
  		case 28:
  			return "AWS_640";
  		
  		case 29:
  			if (MISC::SHOULD_USE_METRIC_MEASUREMENTS())
  			{
  				return "AWS_699_m";
  			}
  			else
  			{
  				return "AWS_699";
  			}
  			break;
  		
  		case 30:
  			return "AWS_661";
  		
  		case 31:
  			return "AWS_662";
  		
  		case 32:
  			return "AWS_663";
  		
  		case 33:
  			return "AWS_665";
  		
  		case 34:
  			return "AWS_666";
  		
  		case 35:
  			return "AWS_668";
  		
  		case 36:
  			return "AWS_669";
  		
  		case 37:
  			return "AWS_675";
  		
  		case 38:
  			return "AWS_676";
  		
  		case 40:
  			return "AWS_679";
  		
  		case 41:
  			return "AWS_681";
  		
  		case 42:
  			return "AWS_682";
  		
  		case 43:
  			return "AWS_677";
  		
  		case 44:
  			return "AWS_683";
  		
  		case 45:
  			return "AWS_684";
  		
  		case 46:
  			return "AWS_685";
  		
  		case 47:
  			return "AWS_692";
  		
  		case 48:
  			return "AWS_696";
  		
  		case 49:
  			return "AWS_693";
  		
  		case 54:
  			return "AWS_710";
  		
  		case 55:
  			return "AWS_703";
  		
  		case 56:
  			return "AWS_704";
  		
  		case 57:
  			return "AWS_722";
  		
  		case 58:
  			return "AWS_723";
  		
  		case 59:
  			return "AWS_716";
  		
  		case 113:
  			return "AWS_740";
  		
  		case 114:
  			return "AWS_741";
  		
  		case 115:
  			return "AWS_742";
  		
  		case 116:
  			return "AWS_743";
  		
  		case 117:
  			return "AWS_744";
  		
  		case 67:
  			return "AWS_782";
  		
  		case 107:
  			return "AWS_745";
  		
  		case 108:
  			return "AWS_746";
  		
  		case 109:
  			return "AWS_747";
  		
  		case 110:
  			return "AWS_748";
  		
  		case 111:
  			return "AWS_749";
  		
  		case 112:
  			return "AWS_752";
  		
  		case 118:
  			return "AWS_755";
  		
  		case 119:
  			return "AWS_757";
  		
  		case 120:
  			return "AWS_758";
  		
  		case 121:
  			return "AWS_759";
  		
  		case 122:
  			return "AWS_760";
  		
  		case 123:
  			return "AWS_761";
  		
  		case 124:
  			return "AWS_762";
  		
  		case 125:
  			return "AWS_764";
  		
  		case 126:
  			if (iParam1 == 5)
  			{
  				return "AWS_788_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_788_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_788_2";
  			}
  			else
  			{
  				return "AWS_788_1";
  			}
  			break;
  		
  		case 127:
  			if (iParam1 == 5)
  			{
  				return "AWS_789_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_789_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_789_2";
  			}
  			else
  			{
  				return "AWS_789_1";
  			}
  			break;
  		
  		case 128:
  			if (iParam1 == 5)
  			{
  				return "AWS_790_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_790_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_790_2";
  			}
  			else
  			{
  				return "AWS_790_1";
  			}
  			break;
  		
  		case 129:
  			if (iParam1 == 5)
  			{
  				return "AWS_791_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_791_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_791_2";
  			}
  			else
  			{
  				return "AWS_791_1";
  			}
  			break;
  		
  		case 130:
  			return "AWS_792";
  		
  		case 70:
  			return "AWS_817";
  		
  		case 71:
  			return "AWS_818";
  		
  		case 72:
  			return "AWS_821";
  		
  		case 73:
  			return "AWS_822";
  		
  		case 74:
  			return "AWS_823";
  		
  		case 75:
  			return "AWS_824";
  		
  		case 76:
  			return "AWS_825";
  		
  		case 77:
  			return "AWS_826";
  		
  		case 78:
  			return "AWS_827";
  		
  		case joaat("mpsv_lp0_31"):
  			return "AWS_828";
  		
  		case 80:
  			return "AWS_829";
  		
  		case 81:
  			return "AWS_830";
  		
  		case 82:
  			return "AWS_831";
  		
  		case 83:
  			return "AWS_832";
  		
  		case 84:
  			return "AWS_833";
  		
  		case 85:
  			return "AWS_834";
  		
  		case 86:
  			return "AWS_835";
  		
  		case 87:
  			if (iParam1 == 5)
  			{
  				return "AWS_845_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_845_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_845_2";
  			}
  			else
  			{
  				return "AWS_845_1";
  			}
  			break;
  		
  		case 88:
  			if (iParam1 == 5)
  			{
  				return "AWS_847_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_847_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_847_2";
  			}
  			else
  			{
  				return "AWS_847_1";
  			}
  			break;
  		
  		case 89:
  			if (iParam1 == 5)
  			{
  				return "AWS_848_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_848_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_848_2";
  			}
  			else
  			{
  				return "AWS_848_1";
  			}
  			break;
  		
  		case 90:
  			if (iParam1 == 5)
  			{
  				return "AWS_849_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_849_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_849_2";
  			}
  			else
  			{
  				return "AWS_849_1";
  			}
  			break;
  		
  		case 91:
  			if (iParam1 == 5)
  			{
  				return "AWS_850_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_850_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_850_2";
  			}
  			else
  			{
  				return "AWS_850_1";
  			}
  			break;
  		
  		case 92:
  			if (iParam1 == 5)
  			{
  				return "AWS_851_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_851_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_851_2";
  			}
  			else
  			{
  				return "AWS_851_1";
  			}
  			break;
  		
  		case 93:
  			if (iParam1 == 5)
  			{
  				return "AWS_852_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_852_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_852_2";
  			}
  			else
  			{
  				return "AWS_852_1";
  			}
  			break;
  		
  		case 94:
  			if (iParam1 == 5)
  			{
  				return "AWS_853_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_853_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_853_2";
  			}
  			else
  			{
  				return "AWS_853_1";
  			}
  			break;
  		
  		case 95:
  			if (iParam1 == 5)
  			{
  				return "AWS_854_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_854_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_854_2";
  			}
  			else
  			{
  				return "AWS_854_1";
  			}
  			break;
  		
  		case 96:
  			if (iParam1 == 5)
  			{
  				return "AWS_855_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_855_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_855_2";
  			}
  			else
  			{
  				return "AWS_855_1";
  			}
  			break;
  		
  		case 97:
  			if (iParam1 == 5)
  			{
  				return "AWS_856_4";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_856_3";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_856_2";
  			}
  			else
  			{
  				return "AWS_856_1";
  			}
  			break;
  		
  		case 99:
  			if (iParam1 == 5)
  			{
  				return "AWS_936d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_936c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_936b";
  			}
  			else
  			{
  				return "AWS_936a";
  			}
  			break;
  		
  		case 100:
  			if (iParam1 == 5)
  			{
  				return "AWS_937d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_937c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_937b";
  			}
  			else
  			{
  				return "AWS_937a";
  			}
  			break;
  		
  		case 101:
  			if (iParam1 == 5)
  			{
  				return "AWS_938d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_938c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_938b";
  			}
  			else
  			{
  				return "AWS_938a";
  			}
  			break;
  		
  		case 102:
  			if (iParam1 == 5)
  			{
  				return "AWS_939d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_939c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_939b";
  			}
  			else
  			{
  				return "AWS_939a";
  			}
  			break;
  		
  		case 103:
  			if (iParam1 == 5)
  			{
  				return "AWS_940d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_940c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_940b";
  			}
  			else
  			{
  				return "AWS_940a";
  			}
  			break;
  		
  		case 104:
  			if (iParam1 == 5)
  			{
  				return "AWS_941d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_941c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_941b";
  			}
  			else
  			{
  				return "AWS_941a";
  			}
  			break;
  		
  		case 105:
  			if (iParam1 == 5)
  			{
  				return "AWS_942d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_942c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_942b";
  			}
  			else
  			{
  				return "AWS_942a";
  			}
  			break;
  		
  		case 106:
  			if (iParam1 == 5)
  			{
  				return "AWS_943d";
  			}
  			else if (iParam1 == 4)
  			{
  				return "AWS_943c";
  			}
  			else if (iParam1 == 3)
  			{
  				return "AWS_943b";
  			}
  			else
  			{
  				return "AWS_943a";
  			}
  			break;
  	}
  	return "";
  }
  
  char* func_122(int iParam0, int iParam1)
  {
  	if (iParam1 == 9)
  	{
  	}
  	switch (iParam0)
  	{
  		case 53:
  			return "AWT_721";
  		
  		case 39:
  			return "AWT_678";
  		
  		case 51:
  			return "AWT_707";
  		
  		case 52:
  			return "AWT_708";
  		
  		case 60:
  			return "AWT_728";
  		
  		case 61:
  			return "AWT_730";
  		
  		case 62:
  			return "AWT_731";
  		
  		case 63:
  			return "AWT_732";
  		
  		case 16:
  			return "AWT_550";
  		
  		case 0:
  			return "AWT_282";
  		
  		case 12:
  			return "AWT_581";
  		
  		case 11:
  			return "AWT_582";
  		
  		case 19:
  			return "AWT_534";
  		
  		case 20:
  			if (MISC::SHOULD_USE_METRIC_MEASUREMENTS())
  			{
  				return "AWT_509";
  			}
  			else
  			{
  				return "AWT_509";
  			}
  			break;
  		
  		case 15:
  			return "AWT_559";
  		
  		case 17:
  			return "AWT_535";
  		
  		case 21:
  			return "AWT_586";
  		
  		case 14:
  			return "AWT_566";
  		
  		case 22:
  			return "AWT_589";
  		
  		case 1:
  			return "AWT_506";
  		
  		case 2:
  			return "AWT_585";
  		
  		case 3:
  			return "AWT_541";
  		
  		case 4:
  			return "AWT_584";
  		
  		case 5:
  			return "AWT_540";
  		
  		case 6:
  			return "AWT_539";
  		
  		case 7:
  			return "AWT_538";
  		
  		case 8:
  			return "AWT_537";
  		
  		case 9:
  			return "AWT_536";
  		
  		case 10:
  			return "AWT_583";
  		
  		case 23:
  			return "AWT_610";
  		
  		case 24:
  			return "AWT_611";
  		
  		case 25:
  			return "AWT_631";
  		
  		case 26:
  			return "AWT_632";
  		
  		case 27:
  			return "AWT_639";
  		
  		case 28:
  			return "AWT_640";
  		
  		case 29:
  			return "AWT_699";
  		
  		case 30:
  			return "AWT_661";
  		
  		case 31:
  			return "AWT_662";
  		
  		case 32:
  			return "AWT_663";
  		
  		case 33:
  			return "AWT_665";
  		
  		case 34:
  			return "AWT_666";
  		
  		case 35:
  			return "AWT_668";
  		
  		case 36:
  			return "AWT_669";
  		
  		case 37:
  			return "AWT_675";
  		
  		case 38:
  			return "AWT_676";
  		
  		case 40:
  			return "AWT_679";
  		
  		case 41:
  			return "AWT_681";
  		
  		case 42:
  			return "AWT_682";
  		
  		case 43:
  			return "AWT_677";
  		
  		case 44:
  			return "AWT_683";
  		
  		case 45:
  			return "AWT_684";
  		
  		case 46:
  			return "AWT_685";
  		
  		case 47:
  			return "AWT_692";
  		
  		case 48:
  			return "AWT_696";
  		
  		case 49:
  			return "AWT_693";
  		
  		case 54:
  			return "AWT_710";
  		
  		case 55:
  			return "AWT_703";
  		
  		case 56:
  			return "AWT_704";
  		
  		case 57:
  			return "AWT_722";
  		
  		case 58:
  			return "AWT_723";
  		
  		case 59:
  			return "AWT_716";
  		
  		case 113:
  			return "AWT_740";
  		
  		case 114:
  			return "AWT_741";
  		
  		case 115:
  			return "AWT_742";
  		
  		case 116:
  			return "AWT_743";
  		
  		case 117:
  			return "AWT_744";
  		
  		case 67:
  			return "AWT_782";
  		
  		case 107:
  			return "AWT_745";
  		
  		case 108:
  			return "AWT_746";
  		
  		case 109:
  			return "AWT_747";
  		
  		case 110:
  			return "AWT_748";
  		
  		case 111:
  			return "AWT_749";
  		
  		case 112:
  			return "AWT_752";
  		
  		case 118:
  			return "AWT_755";
  		
  		case 119:
  			return "AWT_757";
  		
  		case 120:
  			return "AWT_758";
  		
  		case 121:
  			return "AWT_759";
  		
  		case 122:
  			return "AWT_760";
  		
  		case 123:
  			return "AWT_761";
  		
  		case 124:
  			return "AWT_762";
  		
  		case 125:
  			return "AWT_764";
  		
  		case 126:
  			return "AWT_788";
  		
  		case 127:
  			return "AWT_789";
  		
  		case 128:
  			return "AWT_790";
  		
  		case 129:
  			return "AWT_791";
  		
  		case 130:
  			return "AWT_792";
  		
  		case 70:
  			return "AWT_817";
  		
  		case 71:
  			return "AWT_818";
  		
  		case 72:
  			return "AWT_821";
  		
  		case 73:
  			return "AWT_822";
  		
  		case 74:
  			return "AWT_823";
  		
  		case 75:
  			return "AWT_824";
  		
  		case 76:
  			return "AWT_825";
  		
  		case 77:
  			return "AWT_826";
  		
  		case 78:
  			return "AWT_827";
  		
  		case joaat("mpsv_lp0_31"):
  			return "AWT_828";
  		
  		case 80:
  			return "AWT_829";
  		
  		case 81:
  			return "AWT_830";
  		
  		case 82:
  			return "AWT_831";
  		
  		case 83:
  			return "AWT_832";
  		
  		case 84:
  			return "AWT_833";
  		
  		case 85:
  			return "AWT_834";
  		
  		case 86:
  			return "AWT_835";
  		
  		case 87:
  			return "AWT_845";
  		
  		case 88:
  			return "AWT_847";
  		
  		case 89:
  			return "AWT_848";
  		
  		case 90:
  			return "AWT_849";
  		
  		case 91:
  			return "AWT_850";
  		
  		case 92:
  			return "AWT_851";
  		
  		case 93:
  			return "AWT_852";
  		
  		case 94:
  			return "AWT_853";
  		
  		case 95:
  			return "AWT_854";
  		
  		case 96:
  			return "AWT_855";
  		
  		case 97:
  			return "AWT_856";
  		
  		case 99:
  			return "AWT_936";
  		
  		case 100:
  			return "AWT_937";
  		
  		case 101:
  			return "AWT_938";
  		
  		case 102:
  			return "AWT_939";
  		
  		case 103:
  			return "AWT_940";
  		
  		case 104:
  			return "AWT_941";
  		
  		case 105:
  			return "AWT_942";
  		
  		case 106:
  			return "AWT_943";
  	}
  	return "";
  }
  
  int func_123(int iParam0, int iParam1)
  {
  	if (func_81(func_48(iParam0, -1), func_49(iParam0, 5, iParam1)))
  	{
  		return 5;
  	}
  	if (func_81(func_48(iParam0, -1), func_49(iParam0, 4, iParam1)))
  	{
  		return 5;
  	}
  	if (func_81(func_48(iParam0, -1), func_49(iParam0, 3, iParam1)))
  	{
  		return 4;
  	}
  	if (func_81(func_48(iParam0, -1), func_49(iParam0, 2, iParam1)))
  	{
  		return 3;
  	}
  	return 2;
  }
  
  int func_124(int iParam0, int iParam1)
  {
  	if (!func_81(func_48(iParam0, -1), func_49(iParam0, 2, iParam1)))
  	{
  		return 0;
  	}
  	if (!func_81(func_48(iParam0, -1), func_49(iParam0, 3, iParam1)))
  	{
  		return 2;
  	}
  	if (!func_81(func_48(iParam0, -1), func_49(iParam0, 4, iParam1)))
  	{
  		return 3;
  	}
  	if (!func_81(func_48(iParam0, -1), func_49(iParam0, 5, iParam1)))
  	{
  		return 4;
  	}
  	return 5;
  }
  
  void func_125(var uParam0, var uParam1)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	
  	iVar0 = 12;
  	iVar1 = uParam0->f_455;
  	switch (uParam1->f_5)
  	{
  		case 0:
  			iVar1 = iVar1;
  			break;
  		
  		default:
  			if (uParam1->f_5 < iLocal_177)
  			{
  				iVar1 = (iVar1 + (iVar0 * uParam1->f_5));
  			}
  			else
  			{
  				iVar1 = (iVar1 + (iVar0 * uParam1->f_5));
  			}
  			break;
  	}
  	iVar2 = uParam1->f_5 + 1;
  	iVar3 = iLocal_177 + 1;
  	func_126(0, iVar2, iVar3, "HUD_PAGE", 0);
  }
  
  void func_126(int iParam0, int iParam1, int iParam2, char* sParam3, bool bParam4)
  {
  	GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("SET_COLUMN_SCROLL");
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam0);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam1);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam2);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(-1);
  	if (!MISC::IS_STRING_NULL_OR_EMPTY(sParam3))
  	{
  		GRAPHICS::BEGIN_TEXT_COMMAND_SCALEFORM_STRING(sParam3);
  		HUD::ADD_TEXT_COMPONENT_INTEGER(iParam1);
  		HUD::ADD_TEXT_COMPONENT_INTEGER(iParam2);
  		GRAPHICS::END_TEXT_COMMAND_SCALEFORM_STRING();
  	}
  	else
  	{
  		func_22("");
  	}
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(bParam4);
  	GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  }
  
  int func_127(var uParam0, var uParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = (*uParam0 + *uParam1 * 4);
  	switch (iParam3)
  	{
  		case 188:
  			if (iParam2 == iLocal_177)
  			{
  				if (iVar0 < 0 || iVar0 > (iLocal_178 - 1))
  				{
  					iVar1 = 0;
  					while (iVar1 <= 3)
  					{
  						if (iVar0 < 0 || iVar0 > (iLocal_178 - 1))
  						{
  							*uParam1 = (3 - iVar1);
  							iVar0 = (*uParam0 + *uParam1 * 4);
  						}
  						else
  						{
  							iVar1 = 3;
  						}
  						iVar1++;
  					}
  				}
  			}
  			break;
  		
  		case 187:
  			if (iParam2 == iLocal_177)
  			{
  				if (iVar0 < 0 || iVar0 > (iLocal_178 - 1))
  				{
  					iVar1 = 0;
  					while (iVar1 <= 3)
  					{
  						if (iVar0 < 0 || iVar0 > (iLocal_178 - 1))
  						{
  							*uParam1 = iVar1;
  							iVar0 = (*uParam0 + *uParam1 * 4);
  						}
  						else
  						{
  							iVar1 = 3;
  						}
  						iVar1++;
  					}
  				}
  			}
  			break;
  		
  		case 189:
  			break;
  		
  		case 190:
  			if (iParam2 == iLocal_177)
  			{
  				if (*uParam0 == 0)
  				{
  					iVar0 = (*uParam0 + *uParam1 * 4);
  					iVar1 = 0;
  					while (iVar1 <= 3)
  					{
  						if (iVar0 > (iLocal_178 - 1))
  						{
  							*uParam1 = (*uParam1 - 1);
  							iVar0 = (*uParam0 + *uParam1 * 4);
  						}
  						else
  						{
  							iVar1 = 3;
  						}
  						iVar1++;
  					}
  				}
  				else if (iVar0 > (iLocal_178 - 1))
  				{
  					if (*uParam0 > 0)
  					{
  						*uParam0 = (*uParam0 - 1);
  					}
  					else
  					{
  						*uParam0 = 0;
  					}
  					iVar0 = (*uParam0 + *uParam1 * 4);
  				}
  			}
  			break;
  	}
  	return iVar0;
  }
  
  void func_128(var uParam0, var uParam1)
  {
  	if (uParam1->f_5 > iLocal_177)
  	{
  		func_137(uParam0);
  		uParam1->f_5 = 0;
  		uParam1->f_1 = 0;
  	}
  }
  
  void func_129()
  {
  	func_126(0, -1, -1, 0, 0);
  }
  
  void func_130()
  {
  	func_131();
  	func_126(0, -1, -1, 0, 0);
  }
  
  void func_131()
  {
  	func_132(0);
  }
  
  void func_132(bool bParam0)
  {
  	if (bParam0)
  	{
  		func_133(0, 3, 0, 2, 0, 0);
  	}
  	else
  	{
  		func_133(0, 2, 0, 2, 1, 0);
  	}
  }
  
  void func_133(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4, bool bParam5)
  {
  	GRAPHICS::BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND("INIT_COLUMN_SCROLL");
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam0);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(false);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam1);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam2);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam3);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(true);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT(iParam4);
  	GRAPHICS::SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL(bParam5);
  	GRAPHICS::END_SCALEFORM_MOVIE_METHOD();
  }
  
  void func_134(var uParam0)
  {
  	uParam0->f_463 = 1;
  }
  
  void func_135(var uParam0)
  {
  	uParam0->f_462 = 1;
  }
  
  void func_136(int iParam0, var uParam1)
  {
  	uParam1->f_455 = iParam0;
  	uParam1->f_456 = iParam0;
  }
  
  void func_137(var uParam0)
  {
  	func_138(uParam0);
  	uParam0->f_460 = 1;
  }
  
  void func_138(var uParam0)
  {
  	struct<471> Var0;
  	
  	Var0.f_1 = 12;
  	Var0.f_14 = 12;
  	Var0.f_111 = 12;
  	Var0.f_208 = 12;
  	Var0.f_221 = 12;
  	Var0.f_234 = 12;
  	Var0.f_331 = 12;
  	Var0.f_428 = 12;
  	Var0.f_441 = 12;
  	*uParam0 = { Var0 };
  }
  
  void func_139(var uParam0)
  {
  	uParam0->f_383 = 1;
  }
  
  void func_140(int iParam0, var uParam1)
  {
  	uParam1->f_380 = iParam0;
  }
  
  void func_141(var uParam0)
  {
  	func_142(uParam0);
  	uParam0->f_382 = 1;
  }
  
  void func_142(var uParam0)
  {
  	struct<384> Var0;
  	
  	Var0.f_1 = 16;
  	Var0.f_18 = 16;
  	Var0.f_275 = 16;
  	Var0.f_292 = 16;
  	Var0.f_309 = 16;
  	Var0.f_326 = 16;
  	Var0.f_343 = 16;
  	Var0.f_360 = 16;
  	*uParam0 = { Var0 };
  }
  
  