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;
  	var uLocal_18 = 0;
  	var uLocal_19 = 0;
  	var uLocal_20 = 0;
  	var uLocal_21 = 0;
  	var uLocal_22 = 0;
  	char* sLocal_23 = NULL;
  	float fLocal_24 = 0f;
  	var uLocal_25 = 0;
  	var uLocal_26 = 0;
  	var uLocal_27 = 0;
  	float fLocal_28 = 0f;
  	float fLocal_29 = 0f;
  	var uLocal_30 = 0;
  	int iLocal_31 = 0;
  	var uLocal_32 = 0;
  	var uLocal_33 = 0;
  	float fLocal_34 = 0f;
  	float fLocal_35 = 0f;
  	float fLocal_36 = 0f;
  	var uLocal_37 = 0;
  	var uLocal_38 = 0;
  	var uLocal_39 = 0;
  	var uLocal_40 = 0;
  	var uLocal_41 = 0;
  	int iLocal_42 = 0;
  	int iLocal_43 = 0;
  	int iLocal_44 = 0;
  	int iLocal_45 = 0;
  	var uLocal_46 = 0;
  	var uLocal_47 = 0;
  	var uLocal_48 = 6;
  	var uLocal_49 = 0;
  	var uLocal_50 = 0;
  	var uLocal_51 = 0;
  	var uLocal_52 = 0;
  	var uLocal_53 = 0;
  	var uLocal_54 = 0;
  	int iLocal_55 = 0;
  	int iLocal_56 = 0;
  	int iLocal_57 = 0;
  	int iLocal_58 = 0;
  	int iLocal_59 = 0;
  	int iLocal_60 = 0;
  	struct<21> Local_61 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } ;
  	int iLocal_62 = 0;
  	var uLocal_63 = 16;
  	var uLocal_64 = 0;
  	var uLocal_65 = 0;
  	var uLocal_66 = 0;
  	var uLocal_67 = 0;
  	var uLocal_68 = 0;
  	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 = 0;
  	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 = 0;
  	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 = 0;
  	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 = 0;
  	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 = 0;
  	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 = 0;
  	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;
  	var uLocal_177 = 0;
  	var uLocal_178 = 0;
  	var uLocal_179 = 0;
  	var uLocal_180 = 0;
  	var uLocal_181 = 0;
  	var uLocal_182 = 0;
  	var uLocal_183 = 0;
  	var uLocal_184 = 0;
  	var uLocal_185 = 0;
  	var uLocal_186 = 0;
  	var uLocal_187 = 0;
  	var uLocal_188 = 0;
  	var uLocal_189 = 0;
  	var uLocal_190 = 0;
  	var uLocal_191 = 0;
  	var uLocal_192 = 0;
  	var uLocal_193 = 0;
  	var uLocal_194 = 0;
  	var uLocal_195 = 0;
  	var uLocal_196 = 0;
  	var uLocal_197 = 0;
  	var uLocal_198 = 0;
  	var uLocal_199 = 0;
  	var uLocal_200 = 0;
  	var uLocal_201 = 0;
  	var uLocal_202 = 0;
  	var uLocal_203 = 0;
  	var uLocal_204 = 0;
  	var uLocal_205 = 0;
  	var uLocal_206 = 0;
  	var uLocal_207 = 0;
  	var uLocal_208 = 0;
  	var uLocal_209 = 0;
  	var uLocal_210 = 0;
  	var uLocal_211 = 0;
  	var uLocal_212 = 0;
  	var uLocal_213 = 0;
  	var uLocal_214 = 0;
  	var uLocal_215 = 0;
  	var uLocal_216 = 0;
  	var uLocal_217 = 0;
  	var uLocal_218 = 0;
  	var uLocal_219 = 0;
  	var uLocal_220 = 0;
  	var uLocal_221 = 0;
  	var uLocal_222 = 0;
  	var uLocal_223 = 0;
  	var uLocal_224 = 0;
  	var uLocal_225 = 0;
  	var uLocal_226 = 0;
  	var uLocal_227 = 0;
  	var uLocal_228 = 0;
  	var uLocal_229 = 0;
  	var uLocal_230 = 0;
  	var uLocal_231 = 0;
  	var uLocal_232 = 0;
  	var uLocal_233 = 0;
  	var uLocal_234 = 0;
  	var uLocal_235 = 0;
  	var uLocal_236 = 0;
  	var uLocal_237 = 0;
  	var uLocal_238 = 0;
  	var uLocal_239 = 0;
  	var uLocal_240 = 0;
  	var uLocal_241 = 0;
  	var uLocal_242 = 0;
  	var uLocal_243 = 0;
  	var uLocal_244 = 0;
  	var uLocal_245 = 0;
  	var uLocal_246 = 0;
  	var uLocal_247 = 0;
  	var uLocal_248 = 0;
  	var uLocal_249 = 0;
  	var uLocal_250 = 0;
  	var uLocal_251 = 0;
  	var uLocal_252 = 0;
  	var uLocal_253 = 0;
  	var uLocal_254 = 0;
  	var uLocal_255 = 0;
  	var uLocal_256 = 0;
  	var uLocal_257 = 8;
  	var uLocal_258 = 0;
  	var uLocal_259 = 0;
  	var uLocal_260 = 0;
  	var uLocal_261 = 4;
  	var uLocal_262 = 0;
  	var uLocal_263 = 0;
  	var uLocal_264 = 0;
  	var uLocal_265 = 0;
  	var uLocal_266 = 0;
  	var uLocal_267 = 0;
  	var uLocal_268 = 0;
  	var uLocal_269 = 0;
  	var uLocal_270 = 0;
  	var uLocal_271 = 0;
  	var uLocal_272 = 0;
  	var uLocal_273 = 0;
  	var uLocal_274 = 0;
  	var uLocal_275 = 0;
  	var uLocal_276 = 4;
  	var uLocal_277 = 0;
  	var uLocal_278 = 0;
  	var uLocal_279 = 0;
  	var uLocal_280 = 0;
  	var uLocal_281 = 0;
  	var uLocal_282 = 0;
  	var uLocal_283 = 0;
  	var uLocal_284 = 0;
  	var uLocal_285 = 0;
  	var uLocal_286 = 0;
  	var uLocal_287 = 0;
  	var uLocal_288 = 0;
  	var uLocal_289 = 0;
  	var uLocal_290 = 0;
  	var uLocal_291 = 4;
  	var uLocal_292 = 0;
  	var uLocal_293 = 0;
  	var uLocal_294 = 0;
  	var uLocal_295 = 0;
  	var uLocal_296 = 0;
  	var uLocal_297 = 0;
  	var uLocal_298 = 0;
  	var uLocal_299 = 0;
  	var uLocal_300 = 0;
  	var uLocal_301 = 0;
  	var uLocal_302 = 0;
  	var uLocal_303 = 0;
  	var uLocal_304 = 0;
  	var uLocal_305 = 0;
  	var uLocal_306 = 4;
  	var uLocal_307 = 0;
  	var uLocal_308 = 0;
  	var uLocal_309 = 0;
  	var uLocal_310 = 0;
  	var uLocal_311 = 0;
  	var uLocal_312 = 0;
  	var uLocal_313 = 0;
  	var uLocal_314 = 0;
  	var uLocal_315 = 0;
  	var uLocal_316 = 0;
  	var uLocal_317 = 0;
  	var uLocal_318 = 0;
  	var uLocal_319 = 0;
  	var uLocal_320 = 0;
  	var uLocal_321 = 4;
  	var uLocal_322 = 0;
  	var uLocal_323 = 0;
  	var uLocal_324 = 0;
  	var uLocal_325 = 0;
  	var uLocal_326 = 0;
  	var uLocal_327 = 0;
  	var uLocal_328 = 0;
  	var uLocal_329 = 0;
  	var uLocal_330 = 0;
  	var uLocal_331 = 0;
  	var uLocal_332 = 0;
  	var uLocal_333 = 0;
  	var uLocal_334 = 0;
  	var uLocal_335 = 0;
  	var uLocal_336 = 4;
  	var uLocal_337 = 0;
  	var uLocal_338 = 0;
  	var uLocal_339 = 0;
  	var uLocal_340 = 0;
  	var uLocal_341 = 0;
  	var uLocal_342 = 0;
  	var uLocal_343 = 0;
  	var uLocal_344 = 0;
  	var uLocal_345 = 0;
  	var uLocal_346 = 0;
  	var uLocal_347 = 0;
  	var uLocal_348 = 0;
  	var uLocal_349 = 0;
  	var uLocal_350 = 0;
  	var uLocal_351 = 4;
  	var uLocal_352 = 0;
  	var uLocal_353 = 0;
  	var uLocal_354 = 0;
  	var uLocal_355 = 0;
  	var uLocal_356 = 0;
  	var uLocal_357 = 0;
  	var uLocal_358 = 0;
  	var uLocal_359 = 0;
  	var uLocal_360 = 0;
  	var uLocal_361 = 0;
  	var uLocal_362 = 0;
  	var uLocal_363 = 0;
  	var uLocal_364 = 0;
  	var uLocal_365 = 0;
  	var uLocal_366 = 4;
  	var uLocal_367 = 0;
  	var uLocal_368 = 0;
  	var uLocal_369 = 0;
  	var uLocal_370 = 0;
  	var uLocal_371 = 0;
  	var uLocal_372 = 0;
  	var uLocal_373 = 0;
  	var uLocal_374 = 0;
  	var uLocal_375 = 0;
  	var uLocal_376 = 0;
  	var uLocal_377 = 0;
  	var uLocal_378 = 0;
  	int iLocal_379 = 0;
  	int iLocal_380 = 0;
  	int iLocal_381 = 0;
  	int iLocal_382 = 0;
  	var uLocal_383 = 0;
  	var uLocal_384 = 0;
  	var uLocal_385 = 0;
  	var uLocal_386 = 0;
  	char cLocal_387[24] = "";
  	var uLocal_388 = 0;
  	var uLocal_389 = 0;
  	var uLocal_390 = 0;
  	char cLocal_391[24] = "";
  	var uLocal_392 = 0;
  	var uLocal_393 = 0;
  	var uLocal_394 = 0;
  	struct<3> Local_395 = { 0, 0, 0 } ;
  	struct<3> Local_396 = { 0, 0, 0 } ;
  	float fLocal_397 = 0f;
  	float fLocal_398 = 0f;
  	float fLocal_399 = 0f;
  	var uLocal_400 = 0;
  	int iLocal_401 = 0;
  	var uLocal_402 = 0;
  	int iLocal_403 = 0;
  	int iLocal_404 = 0;
  	var uLocal_405 = 0;
  	var uLocal_406 = 0;
  	bool bLocal_407 = 0;
  	int iLocal_408 = 0;
  	int iLocal_409 = 0;
  	int iLocal_410 = 0;
  	int iLocal_411 = 0;
  	var uLocal_412 = 0;
  #endregion
  
  void __EntryFunction__()
  {
  	int iVar0;
  	bool bVar1;
  	bool bVar2;
  	bool bVar3;
  	bool bVar4;
  	bool bVar5;
  	var uVar6;
  	var uVar7;
  	var uVar8;
  	var uVar9;
  	char cVar10[16];
  	char cVar11[16];
  	float fVar12;
  	bool bVar13;
  	bool bVar14;
  	bool bVar15;
  	struct<3> Var16;
  	struct<3> Var17;
  	
  	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_23 = "NULL";
  	fLocal_24 = 0f;
  	fLocal_28 = -0.0375f;
  	fLocal_29 = 0.17f;
  	iLocal_31 = 3;
  	fLocal_34 = 80f;
  	fLocal_35 = 140f;
  	fLocal_36 = 180f;
  	iLocal_42 = 1;
  	iLocal_43 = 65;
  	iLocal_44 = 49;
  	iLocal_45 = 64;
  	iLocal_55 = joaat("cs_drfriedlander");
  	iLocal_56 = joaat("ig_drfriedlander");
  	iLocal_57 = joaat("comet2");
  	iLocal_58 = joaat("exemplar");
  	iLocal_59 = joaat("v_ilev_p_easychair");
  	StringCopy(&cLocal_387, "Michael", 24);
  	StringCopy(&cLocal_391, "Therapist", 24);
  	Local_395 = { -1907.785f, -574.8f, 18.616f };
  	Local_396 = { -1895.534f, -564.2134f, 11.3497f };
  	fLocal_397 = 179f;
  	fLocal_398 = 314.381f;
  	fLocal_399 = 54.08f;
  	unk_0x227BB9ED71ECB6E8(1);
  	StringCopy(&cVar10, "DrfAud", 16);
  	iLocal_404 = func_273(func_274(), 0, 1);
  	uLocal_405 = func_273(func_274(), 0, 1);
  	uLocal_406 = func_273(func_274(), 0, 1);
  	if (unk_0xED06FD5709A59F02(67))
  	{
  		func_272();
  		if (bVar13)
  		{
  			if (unk_0xAE06B9E39EBDE049(iLocal_380) && unk_0x5AEB5DDFFAD43CA5(iLocal_380))
  			{
  				func_271(80, 1);
  				unk_0xBD9D9E72ABB288E4(joaat("SP_KILLED_DR_FRIEDLANDER"), 1, 1);
  			}
  			func_269(0, 0);
  		}
  		else
  		{
  			func_259();
  		}
  		func_254(&iLocal_379, &iLocal_382, uLocal_384, iLocal_60);
  	}
  	iLocal_62 = func_253();
  	func_252(&Local_61, iLocal_62);
  	unk_0xCFF81C0C8D63E62E(-1899.756f, -561.3688f, 10.78784f, 100f);
  	unk_0xBE20AB8238688965(&(Global_111858.f_10012.f_25), 6);
  	switch (func_253())
  	{
  		case 0:
  			fVar12 = 3.6f;
  			break;
  		
  		case 1:
  			fVar12 = 3.6f;
  			break;
  		
  		case 4:
  			fVar12 = 2.5f;
  			break;
  	}
  	if (!unk_0x252C34B7867FDDFA(unk_0x460153A63B9477BC()) && !unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()))
  	{
  		unk_0x601B713E8CE5673A(unk_0x460153A63B9477BC());
  	}
  	while (true)
  	{
  		SYSTEM::WAIT(0);
  		if (iLocal_60 != 15 && iLocal_60 != 17)
  		{
  			unk_0x601B713E8CE5673A(unk_0x460153A63B9477BC());
  		}
  		switch (iLocal_60)
  		{
  			case 0:
  				if (func_251())
  				{
  					unk_0x92BD213E6A0E666B(unk_0x9B0761B4C3EB8BC7(), joaat("weapon_unarmed"), -1, 0, 1);
  				}
  				unk_0x9EB88E485EDFD7EB(unk_0x9B0761B4C3EB8BC7(), 1);
  				func_246(&uLocal_48, iLocal_55, iLocal_56, iLocal_57, iLocal_58, iLocal_59, func_253());
  				unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 0, 0);
  				unk_0x644F1D0C5427A242(0);
  				unk_0x8CFF639CEFF5CF16(0);
  				func_245();
  				while (unk_0x47DBF174A0CB9D55(unk_0x9B0761B4C3EB8BC7(), 1))
  				{
  					SYSTEM::WAIT(0);
  				}
  				unk_0x3C1B180EE30D36EF(unk_0x9B0761B4C3EB8BC7(), -1918.944f, -577.8114f, 10.8764f, 1f, -1, 1048576000, 0, 1193033728);
  				uVar8 = unk_0xB5B018137EBE06D3(26379945, -1896.529f, -545.7853f, 18.7228f, 3.1482f, 0.0036f, 170.2056f, 44.9736f, 0, 2);
  				uVar9 = unk_0xB5B018137EBE06D3(26379945, -1896.866f, -547.7337f, 18.8316f, 4.9529f, 0.0036f, 170.2056f, 44.9736f, 0, 2);
  				unk_0xF674D9B2033F5F86(uVar9, uVar8, 5000, 1, 1);
  				unk_0x3ED9330214992278(1, 0, 3000, 1, 0, 0);
  				func_244(&uVar6);
  				iLocal_60 = 1;
  				break;
  			
  			case 1:
  				if (!bVar4)
  				{
  					if (func_242(&uLocal_48))
  					{
  						func_234(&iLocal_379, iLocal_55, Local_395, fLocal_397, iLocal_404, uLocal_405, uLocal_406);
  						func_224(&Local_61, func_253());
  						func_244(&uLocal_228);
  						bVar4 = true;
  					}
  				}
  				if (bVar4)
  				{
  					if (!bVar5)
  					{
  						if (unk_0x06BC339A53519E4E())
  						{
  							if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  							{
  								func_139(&cLocal_387, unk_0x9B0761B4C3EB8BC7(), 0, 2);
  							}
  							if (!unk_0xA59F96B50B97E63C(iLocal_379, 0))
  							{
  								func_139(&cLocal_391, iLocal_379, 0, 2);
  							}
  							bVar5 = true;
  						}
  					}
  				}
  				if (func_137(&uVar6) > 6f && func_136())
  				{
  					if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0) && !unk_0xA59F96B50B97E63C(iLocal_379, 0))
  					{
  						unk_0xFA3AB7AE2A01375E(unk_0x9B0761B4C3EB8BC7(), &cLocal_387, 0, 0, 0);
  						unk_0xFA3AB7AE2A01375E(iLocal_379, &cLocal_391, 0, 0, 0);
  					}
  					unk_0x6EEEEDB625F825CC(0);
  					unk_0x85359168A2D8A513();
  					unk_0xF990EDED7D25FB88();
  					unk_0x73287EF8736B0258(-1906.842f, -572.3835f, 19.1046f, -1.5254f, 0.0003f, 171.4657f, 12f, 0);
  					func_135(&uLocal_228);
  					func_135(&uVar6);
  					iLocal_60 = 2;
  				}
  				break;
  			
  			case 2:
  				if (unk_0x40397A9A17EEC1C5(uVar8))
  				{
  					unk_0xB8B0F7C8C1548C5B(uVar8, 0);
  				}
  				if (unk_0x40397A9A17EEC1C5(uVar9))
  				{
  					unk_0xB8B0F7C8C1548C5B(uVar9, 0);
  				}
  				if (unk_0x10447A1CD8175FC0(&cLocal_387, 0))
  				{
  					func_134(iLocal_379, 1, 0);
  				}
  				if (unk_0x10447A1CD8175FC0(&cLocal_391, 0))
  				{
  					func_134(iLocal_379, 0, 1);
  				}
  				if (unk_0x59B0C38F9A3B22DB(0))
  				{
  					func_133(iLocal_379, &iLocal_381, &iLocal_382, &uLocal_384, &uLocal_63, Local_396, fLocal_399, iLocal_57);
  					func_131(func_253());
  					func_244(&uLocal_231);
  					func_130(&uLocal_255, 0, 0, 0, 1);
  					func_129(&uLocal_255, "SHRINK_ACCEPT", 2, 201, 1, 1, 0);
  					func_129(&uLocal_255, "SHRINK_REJECT", 2, 202, 1, 1, 0);
  					bVar5 = false;
  					unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 0, 0);
  					iLocal_60 = 3;
  					if (unk_0x03DB5C6AABF8DA46())
  					{
  						bVar14 = true;
  					}
  				}
  				break;
  			
  			case 3:
  				func_122();
  				if (unk_0x03DB5C6AABF8DA46() || bVar14)
  				{
  					if (bVar14)
  					{
  						unk_0x1D40553EDD51A1B8(0);
  					}
  					func_121(&uLocal_231);
  					while (func_137(&uLocal_231) < 0.4f)
  					{
  						SYSTEM::WAIT(0);
  						func_122();
  					}
  					while (unk_0xE9159DB182CF0841() && !unk_0x0C7F95EB5CFEFB8B())
  					{
  						SYSTEM::WAIT(0);
  						func_122();
  					}
  					func_121(&uLocal_231);
  					bVar14 = false;
  					unk_0xFD45D90342D2A0CD(400);
  				}
  				if (!bVar2)
  				{
  					if (!bLocal_407 && !unk_0xFFDFD8490027DBA5())
  					{
  						Local_61.f_20 = 0;
  						func_109(&(Local_61.f_12), &Local_61, func_253());
  						bLocal_407 = true;
  					}
  					if (func_99(&uLocal_231, &uLocal_255, &bVar1))
  					{
  						if (bVar1)
  						{
  							Local_61.f_20 = 0;
  						}
  						else
  						{
  							Local_61.f_20 = 1;
  							if (bLocal_407)
  							{
  								unk_0xA389D93286499741();
  							}
  							func_109(&(Local_61.f_12), &Local_61, func_253());
  							bVar5 = false;
  							func_121(&uLocal_231);
  						}
  						unk_0xD289B55B6AADBA10(1);
  						bVar2 = true;
  					}
  					else if (func_137(&uLocal_231) >= 14f)
  					{
  						Local_61.f_20 = 2;
  						bVar2 = true;
  						unk_0xD289B55B6AADBA10(1);
  					}
  					else if (!bVar3 && func_137(&uLocal_231) >= 7f)
  					{
  						StringCopy(&cVar11, "DRF_PROMPT", 16);
  						func_98(&uLocal_63, &cVar10, &cVar11, 9, 0, 0, 0);
  						bVar3 = true;
  					}
  				}
  				else if ((func_137(&uLocal_231) > 5f && func_136()) || (unk_0x9893D61ACB9FB52A() && ((Local_61.f_20 != 1 || func_137(&uLocal_231) > fVar12) || func_95(iLocal_62, iLocal_379, &uLocal_384))))
  				{
  					func_92();
  					if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  					{
  						unk_0xFA3AB7AE2A01375E(unk_0x9B0761B4C3EB8BC7(), &cLocal_387, 0, 0, 0);
  					}
  					if (!unk_0xA59F96B50B97E63C(iLocal_379, 0))
  					{
  						unk_0xFA3AB7AE2A01375E(iLocal_379, &cLocal_391, 0, 0, 0);
  					}
  					unk_0x0310C14371244B31(0, 0, 0, 0);
  					unk_0x6EEEEDB625F825CC(0);
  					unk_0x74528AC0906CBABE(iLocal_59);
  					iLocal_60 = 14;
  				}
  				if (!bVar5 && bLocal_407)
  				{
  					if (unk_0x06BC339A53519E4E())
  					{
  						if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  						{
  							func_139(&cLocal_387, unk_0x9B0761B4C3EB8BC7(), 0, 2);
  						}
  						if (!unk_0xA59F96B50B97E63C(iLocal_379, 0))
  						{
  							func_139(&cLocal_391, iLocal_379, 0, 2);
  						}
  						bVar5 = true;
  					}
  				}
  				break;
  			
  			case 14:
  				if (unk_0x40397A9A17EEC1C5(uLocal_384))
  				{
  					unk_0x3ED9330214992278(0, 0, 3000, 1, 0, 0);
  					unk_0xB8B0F7C8C1548C5B(uLocal_384, 0);
  				}
  				if (((func_91() && unk_0x3EBB66F936A3436E()) && !unk_0x5DA78AD6801A0523()) && !unk_0x03DB5C6AABF8DA46())
  				{
  					unk_0xF43E5395F54BAF56(0);
  				}
  				if (unk_0x59B0C38F9A3B22DB(0))
  				{
  					if (iLocal_62 == 4)
  					{
  						unk_0xAF628A2D7A8449B4();
  						if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  						{
  							if (unk_0xB77B1396EAA80D8F(unk_0x9B0761B4C3EB8BC7()))
  							{
  								unk_0x1F8106DB8796859F(unk_0x9B0761B4C3EB8BC7(), 1, 1);
  							}
  							unk_0x58ADF88C51AAFDC5(unk_0x9B0761B4C3EB8BC7(), 1, 0);
  							unk_0x6A8F948698B360B4(unk_0x9B0761B4C3EB8BC7(), 0);
  						}
  						func_90();
  						func_244(&uLocal_243);
  						func_244(&uLocal_246);
  						func_244(&uLocal_240);
  						iLocal_60 = 15;
  					}
  					else
  					{
  						unk_0xAF628A2D7A8449B4();
  						if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  						{
  							if (unk_0xB77B1396EAA80D8F(unk_0x9B0761B4C3EB8BC7()))
  							{
  								unk_0x1F8106DB8796859F(unk_0x9B0761B4C3EB8BC7(), 1, 1);
  							}
  							unk_0x697DA7132EE43ABC(unk_0x9B0761B4C3EB8BC7(), unk_0x2A82FAC1E55962C6(unk_0x9B0761B4C3EB8BC7()), 0);
  							unk_0x58ADF88C51AAFDC5(unk_0x9B0761B4C3EB8BC7(), 1, 0);
  							unk_0x6A8F948698B360B4(unk_0x9B0761B4C3EB8BC7(), 0);
  							func_88(unk_0x9B0761B4C3EB8BC7(), -1902.609f, -559.9267f, 10.7916f);
  							unk_0xE922BAA80E8F9324(unk_0x9B0761B4C3EB8BC7(), fLocal_398);
  							unk_0x4C4FC7841A5FB983(0f);
  							unk_0x7965943E39128B42(0f, 1065353216);
  							func_80(0, 1, 1, 0, 0, 0, 0);
  							iLocal_382 = unk_0xA5D3CD332CD10EE9();
  							if (unk_0xAE06B9E39EBDE049(iLocal_382))
  							{
  								if (!unk_0xA59F96B50B97E63C(iLocal_382, 0))
  								{
  									unk_0x03D382CB0B44E2FC(iLocal_382, func_79(iLocal_382), 1, 0, 0, 1);
  									unk_0xE922BAA80E8F9324(iLocal_382, 231f);
  								}
  							}
  							if (unk_0x03DB5C6AABF8DA46())
  							{
  								if (!iLocal_408)
  								{
  									unk_0x73287EF8736B0258(-1903.87f, -562.9188f, 12.8354f, func_78(Vector(12.8015f, -560.0015f, -1901.331f) - Vector(12.8354f, -562.9188f, -1903.87f)), 100f, 0);
  									iLocal_408 = 1;
  									SYSTEM::WAIT(0);
  								}
  								if (!iLocal_409)
  								{
  									iLocal_409 = 1;
  								}
  								while (!unk_0x0C7F95EB5CFEFB8B())
  								{
  									SYSTEM::WAIT(0);
  								}
  							}
  							unk_0x854FB153F2EA838B(unk_0x9B0761B4C3EB8BC7(), -668482597, 0, 0, 0);
  							unk_0xF0C2AEEDB4BDCF16(unk_0x460153A63B9477BC(), 1f, 2000, 0, 1, 0);
  							unk_0x1322CA891C5DF18A(unk_0x9B0761B4C3EB8BC7(), 1, 0);
  						}
  						iLocal_60 = 16;
  					}
  				}
  				else
  				{
  					if (!iLocal_408)
  					{
  						if (unk_0x9BEEC39E5B3F1C3C() > 60000)
  						{
  							if (iLocal_62 == 4)
  							{
  								unk_0x73287EF8736B0258(-1905.5f, -557.8768f, 12.4125f, func_78(Vector(11.9712f, -560.4745f, -1903.855f) - Vector(12.4125f, -557.8768f, -1905.5f)), 100f, 0);
  							}
  							else
  							{
  								unk_0x73287EF8736B0258(-1903.87f, -562.9188f, 12.8354f, func_78(Vector(12.8015f, -560.0015f, -1901.331f) - Vector(12.8354f, -562.9188f, -1903.87f)), 100f, 0);
  							}
  							iLocal_408 = 1;
  						}
  					}
  					if (!iLocal_409)
  					{
  						if (unk_0x4FDE972A36C902F0() >= 16)
  						{
  							if (!func_77(&uVar7))
  							{
  								func_244(&uVar7);
  							}
  							else if (func_137(&uVar7) > func_76(func_253()))
  							{
  								if (func_253() == 4)
  								{
  									iLocal_380 = unk_0xB3116B49FE00E2F1(26, iLocal_56, -1899.7f, -562.2f, 10.7945f, 217.9453f, 1, 1);
  									unk_0x45F588C0DD767737(iLocal_380, 3, iLocal_404, uLocal_405, 0);
  									unk_0x45F588C0DD767737(iLocal_380, 4, 0, uLocal_406, 0);
  									unk_0x055A73D4AFD214F1(iLocal_380, (2000 + unk_0x344C570D6F8700DF(5, 301)));
  									unk_0xA5EAD2ACE2C8BBB2(iLocal_380, 1, 1);
  									func_75(&uLocal_63, 1, iLocal_380, "FRIEDLANDER", 0, 1);
  								}
  								iLocal_409 = 1;
  							}
  						}
  					}
  				}
  				break;
  			
  			case 15:
  				if (unk_0x03DB5C6AABF8DA46() && !unk_0x5B772EFCB84373BE())
  				{
  					unk_0xFD45D90342D2A0CD(500);
  				}
  				if (unk_0xA59F96B50B97E63C(iLocal_380, 0))
  				{
  					func_271(80, 1);
  					unk_0xBD9D9E72ABB288E4(joaat("SP_KILLED_DR_FRIEDLANDER"), 1, 1);
  					func_98(&uLocal_63, "DrfAud", "DRF_KILL", 9, 0, 0, 0);
  					if (unk_0x8F678487EEBD8CE4(uLocal_383))
  					{
  						unk_0xECC9A00CF1181EC2(uLocal_383, 1);
  					}
  					iLocal_60 = 17;
  				}
  				else if (!unk_0xAE06B9E39EBDE049(iLocal_380) || func_74(iLocal_380, unk_0x9B0761B4C3EB8BC7(), 1) > 300f)
  				{
  					func_98(&uLocal_63, "DrfAud", "DRF_AWAY", 9, 0, 0, 0);
  					if (unk_0x8F678487EEBD8CE4(uLocal_383))
  					{
  						unk_0xECC9A00CF1181EC2(uLocal_383, 3);
  					}
  					if (unk_0xAE06B9E39EBDE049(iLocal_380))
  					{
  						unk_0x801B883D25479F23(unk_0x3E4D3CCC220BDFB1(iLocal_380, 1), 10f, 0);
  					}
  					iLocal_60 = 17;
  				}
  				else
  				{
  					func_57();
  					unk_0x694113444F21E39F(iLocal_380, 26, 1);
  					if (func_77(&uLocal_246))
  					{
  						if (func_137(&uLocal_246) > 2.5f)
  						{
  							unk_0xF0C2AEEDB4BDCF16(unk_0x460153A63B9477BC(), 2f, 1000, 0, 1, 0);
  							unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 0, 0);
  							func_135(&uLocal_246);
  						}
  					}
  					if (!iLocal_411)
  					{
  						unk_0x4C4FC7841A5FB983(0f);
  						unk_0x7965943E39128B42(0f, 1065353216);
  						if (func_137(&uLocal_243) > 2f)
  						{
  							switch (unk_0xA860C15A1C027CBB())
  							{
  								case 0:
  									Var16 = { -1905.289f, -560.9047f, 12.5379f };
  									Var17 = { -8.9999f, 0f, -99.8165f };
  									break;
  								
  								case 1:
  									Var16 = { -1908.006f, -560.4351f, 12.6592f };
  									Var17 = { -3f, 0f, -99.8148f };
  									break;
  								
  								case 2:
  									Var16 = { -1908.759f, -558.642f, 13.4942f };
  									Var17 = { -12.0007f, 0f, -115.8697f };
  									break;
  								
  								case 4:
  									Var16 = { -1904.658f, -560.0228f, 12.4975f };
  									Var17 = { -10.0948f, 0.0099f, -128.3421f };
  									break;
  								
  								default:
  									Var16 = { -1908.006f, -560.4351f, 12.6592f };
  									Var17 = { -3f, 0f, -99.8148f };
  									break;
  							}
  							uLocal_384 = unk_0xB5B018137EBE06D3(26379945, Var16, Var17, 50f, 0, 2);
  							unk_0xF674D9B2033F5F86(uLocal_384, uLocal_385, 2660, 1, 1);
  							if (unk_0xAE06B9E39EBDE049(iLocal_382) && !unk_0xA59F96B50B97E63C(iLocal_382, 0))
  							{
  								unk_0xDF6CAD2F6A598A57(iLocal_382);
  								unk_0x0312E5501F93E5AB(iLocal_382, 0);
  								unk_0xD05ED2138B378AF6(iLocal_382, 1);
  							}
  							func_121(&uLocal_243);
  							iLocal_411 = 1;
  						}
  					}
  					else if (!bVar13)
  					{
  						unk_0x4C4FC7841A5FB983(0f);
  						unk_0x7965943E39128B42(0f, 1065353216);
  						if (func_137(&uLocal_243) > 2f)
  						{
  							unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 1, 0);
  							unk_0x8CFF639CEFF5CF16(1);
  							unk_0x644F1D0C5427A242(1);
  							func_80(0, 1, 1, 0, 0, 0, 0);
  							if (!unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()))
  							{
  								unk_0x9B94F6169B0DAEFD(unk_0x9B0761B4C3EB8BC7());
  							}
  							bVar13 = true;
  						}
  						else
  						{
  							unk_0x4C4FC7841A5FB983(0f);
  						}
  					}
  					else if (unk_0x40397A9A17EEC1C5(uLocal_385))
  					{
  						if (func_137(&uLocal_243) >= 2.66f)
  						{
  							unk_0x4C4FC7841A5FB983(func_56(unk_0xA860C15A1C027CBB() == 2, -16f, 0f));
  							unk_0x3ED9330214992278(0, 1, 340, 0, 0, 0);
  							unk_0xB8B0F7C8C1548C5B(uLocal_385, 0);
  						}
  						else
  						{
  							unk_0x4C4FC7841A5FB983(0f);
  						}
  					}
  					if (iLocal_410 && unk_0x4DC4117F94CD5B84(unk_0x460153A63B9477BC()))
  					{
  						if (func_54(&uLocal_237, 0.5f))
  						{
  							if (unk_0xE9159DB182CF0841())
  							{
  								unk_0xF990EDED7D25FB88();
  							}
  							if (!unk_0x8F678487EEBD8CE4(uLocal_383))
  							{
  								if (!unk_0xA59F96B50B97E63C(iLocal_380, 0))
  								{
  									uLocal_383 = unk_0x2BE000892D65EA2A(iLocal_380);
  									unk_0xECC9A00CF1181EC2(uLocal_383, 1);
  									func_121(&uLocal_237);
  								}
  							}
  							else if (unk_0xB5E6347DF3BDF00E(uLocal_383) != 3)
  							{
  								unk_0xECC9A00CF1181EC2(uLocal_383, 3);
  								if (func_77(&uLocal_240))
  								{
  									if (func_137(&uLocal_240) < (7500f / 1000f))
  									{
  										func_53("SHRINK_KILL_B", 7500, 1);
  									}
  									else
  									{
  										unk_0x7AE6510630033F17();
  										func_135(&uLocal_240);
  									}
  								}
  							}
  							else
  							{
  								unk_0xECC9A00CF1181EC2(uLocal_383, 1);
  								if (func_77(&uLocal_240))
  								{
  									if (func_137(&uLocal_240) < (7500f / 1000f))
  									{
  										func_53("SHRINK_KILL_R", 7500, 1);
  									}
  									else
  									{
  										unk_0x7AE6510630033F17();
  										func_135(&uLocal_240);
  									}
  								}
  							}
  							func_121(&uLocal_237);
  						}
  					}
  					else
  					{
  						func_51(&uLocal_237, 0.3f);
  					}
  					if (!unk_0x5AEB5DDFFAD43CA5(iLocal_380))
  					{
  						if (unk_0xAE06B9E39EBDE049(iLocal_381))
  						{
  							if (unk_0x47DBF174A0CB9D55(iLocal_380, 0))
  							{
  								iVar0 = 1;
  							}
  							if (!unk_0xA26A1295C5145A11(iLocal_380))
  							{
  								if ((((((((!unk_0x80FF6C016CDB0FAF(iLocal_381, 0) || unk_0xE0B3BC41DDA88DF0(unk_0x9B0761B4C3EB8BC7(), iLocal_381, 1)) || unk_0xBCB2BD5C2E502335(iLocal_381, 0, 2000)) || unk_0xBCB2BD5C2E502335(iLocal_381, 1, 2000)) || unk_0xBCB2BD5C2E502335(iLocal_381, 2, 2000)) || unk_0xBCB2BD5C2E502335(iLocal_381, 3, 2000)) || (iVar0 && !unk_0x47DBF174A0CB9D55(iLocal_380, 0))) || func_50(iLocal_381)) || func_46(iLocal_381))
  								{
  									unk_0x8B18A80E8EB15510(iLocal_380, unk_0x9B0761B4C3EB8BC7(), 3000f, -1, 0, 0);
  								}
  							}
  						}
  						else if (!unk_0xA26A1295C5145A11(iLocal_380))
  						{
  							unk_0x8B18A80E8EB15510(iLocal_380, unk_0x9B0761B4C3EB8BC7(), 3000f, -1, 0, 0);
  						}
  						if (!bVar15 && !unk_0x1037B9D45CE6B788(iLocal_380, -1892.139f, -567.194f, 10.5f, -1904.935f, -556.4423f, 13.5f, 4.73f, 0, 1, 0))
  						{
  							unk_0x4E65320BC9AD521C(iLocal_380, 0);
  							bVar15 = true;
  						}
  					}
  				}
  				break;
  			
  			case 16:
  				if (!func_77(&uLocal_234))
  				{
  					unk_0xF990EDED7D25FB88();
  					func_244(&uLocal_234);
  				}
  				else if (func_137(&uLocal_234) > 2f)
  				{
  					func_2(func_40(), 24, func_39(iLocal_62));
  					func_272();
  					func_269(0, 0);
  					func_254(&iLocal_379, &iLocal_382, uLocal_384, iLocal_60);
  				}
  				if (unk_0x03DB5C6AABF8DA46())
  				{
  					unk_0xFD45D90342D2A0CD(500);
  				}
  				break;
  			
  			case 17:
  				if (!func_77(&uLocal_234))
  				{
  					func_244(&uLocal_234);
  				}
  				if (func_137(&uLocal_234) > 4f || unk_0x03DB5C6AABF8DA46())
  				{
  					unk_0x93370FA10F15BE44(&uLocal_383);
  					if (unk_0x40397A9A17EEC1C5(uLocal_384))
  					{
  						unk_0xB8B0F7C8C1548C5B(uLocal_384, 0);
  					}
  					func_272();
  					func_269(0, 0);
  					if (!func_1(80))
  					{
  						if (unk_0xAE06B9E39EBDE049(iLocal_380))
  						{
  							if (unk_0xAE06B9E39EBDE049(iLocal_381) && unk_0xE0B3BC41DDA88DF0(iLocal_380, iLocal_381, 0))
  							{
  								unk_0x03A2522C845CFAC6(&iLocal_381);
  							}
  						}
  						unk_0x586DDC617E714637(&iLocal_380);
  					}
  					unk_0xD39E529EBE5DB04F();
  				}
  				break;
  		}
  	}
  }
  
  int func_1(int iParam0)
  {
  	if (iParam0 == 146 || iParam0 == -1)
  	{
  		return 0;
  	}
  	return Global_111858.f_9081.f_99.f_58[iParam0];
  }
  
  int func_2(int iParam0, int iParam1, int iParam2)
  {
  	if (func_38(iParam0) == 3)
  	{
  		return 0;
  	}
  	if (func_38(iParam0) == 4)
  	{
  		return 0;
  	}
  	return func_3(func_38(iParam0), 0, iParam1, iParam2, 0);
  }
  
  int func_3(int iParam0, int iParam1, int iParam2, int iParam3, bool bParam4)
  {
  	float fVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	
  	func_37();
  	if (iParam3 < 1)
  	{
  		return 0;
  	}
  	fVar0 = 1f;
  	switch (iParam1)
  	{
  		case 0:
  			switch (iParam0)
  			{
  				case 0:
  					func_36(99, 1);
  					func_35(joaat("SP0_MONEY_TOTAL_SPENT"), iParam3);
  					break;
  				
  				case 1:
  					func_35(joaat("SP1_MONEY_TOTAL_SPENT"), iParam3);
  					break;
  				
  				case 2:
  					func_35(joaat("SP2_MONEY_TOTAL_SPENT"), iParam3);
  					break;
  			}
  			func_19(0);
  			switch (iParam2)
  			{
  				case 127:
  				case 129:
  				case 125:
  				case 126:
  				case 128:
  					if (func_14(5))
  					{
  						fVar0 = 0.9f;
  						iVar1 = 5;
  					}
  					break;
  				
  				case 63:
  				case 64:
  				case 65:
  				case 66:
  				case 67:
  				case 68:
  					switch (iParam0)
  					{
  						case 0:
  							func_35(joaat("SP0_MONEY_SPENT_ON_TATTOOS"), iParam3);
  							break;
  						
  						case 1:
  							func_35(joaat("SP1_MONEY_SPENT_ON_TATTOOS"), iParam3);
  							break;
  						
  						case 2:
  							func_35(joaat("SP2_MONEY_SPENT_ON_TATTOOS"), iParam3);
  							break;
  					}
  					if (func_14(1))
  					{
  						fVar0 = 0f;
  						iVar1 = 1;
  					}
  					break;
  				
  				case 21:
  					switch (iParam0)
  					{
  						case 0:
  							func_35(joaat("SP0_MONEY_SPENT_ON_TAXIS"), iParam3);
  							break;
  						
  						case 1:
  							func_35(joaat("SP1_MONEY_SPENT_ON_TAXIS"), iParam3);
  							break;
  						
  						case 2:
  							func_35(joaat("SP2_MONEY_SPENT_ON_TAXIS"), iParam3);
  							break;
  					}
  					break;
  				
  				case 25:
  					switch (iParam0)
  					{
  						case 0:
  							func_35(joaat("SP0_MONEY_SPENT_IN_STRIP_CLUBS"), iParam3);
  							break;
  						
  						case 1:
  							func_35(joaat("SP1_MONEY_SPENT_IN_STRIP_CLUBS"), iParam3);
  							break;
  						
  						case 2:
  							func_35(joaat("SP2_MONEY_SPENT_IN_STRIP_CLUBS"), iParam3);
  							break;
  					}
  					break;
  				
  				case 99:
  				case 100:
  				case 101:
  				case 102:
  				case 104:
  				case 105:
  				case 106:
  				case 107:
  				case 108:
  				case 109:
  				case 110:
  				case 111:
  				case 112:
  				case 113:
  					switch (iParam0)
  					{
  						case 0:
  							func_35(joaat("SP0_MONEY_SPENT_PROPERTY"), iParam3);
  							break;
  						
  						case 1:
  							func_35(joaat("SP1_MONEY_SPENT_PROPERTY"), iParam3);
  							break;
  						
  						case 2:
  							func_35(joaat("SP2_MONEY_SPENT_PROPERTY"), iParam3);
  							break;
  					}
  					break;
  				
  				default:
  					switch (unk_0x02406178CDC27728())
  					{
  						case joaat("clothes_shop_sp"):
  							switch (iParam0)
  							{
  								case 0:
  									func_35(joaat("SP0_MONEY_SPENT_IN_CLOTHES"), iParam3);
  									break;
  								
  								case 1:
  									func_35(joaat("SP1_MONEY_SPENT_IN_CLOTHES"), iParam3);
  									break;
  								
  								case 2:
  									func_35(joaat("SP2_MONEY_SPENT_IN_CLOTHES"), iParam3);
  									break;
  							}
  							break;
  						
  						case joaat("hairdo_shop_sp"):
  							switch (iParam0)
  							{
  								case 0:
  									func_35(joaat("SP0_MONEY_SPENT_ON_HAIRDOS"), iParam3);
  									break;
  								
  								case 1:
  									func_35(joaat("SP1_MONEY_SPENT_ON_HAIRDOS"), iParam3);
  									break;
  								
  								case 2:
  									func_35(joaat("SP2_MONEY_SPENT_ON_HAIRDOS"), iParam3);
  									break;
  							}
  							if (func_14(0))
  							{
  								fVar0 = 0f;
  								iVar1 = 0;
  							}
  							break;
  						
  						case joaat("gunclub_shop"):
  							switch (iParam0)
  							{
  								case 0:
  									func_35(joaat("SP0_MONEY_SPENT_IN_BUYING_GUNS"), iParam3);
  									break;
  								
  								case 1:
  									func_35(joaat("SP1_MONEY_SPENT_IN_BUYING_GUNS"), iParam3);
  									break;
  								
  								case 2:
  									func_35(joaat("SP2_MONEY_SPENT_IN_BUYING_GUNS"), iParam3);
  									break;
  							}
  							break;
  						
  						case joaat("carmod_shop"):
  							switch (iParam0)
  							{
  								case 0:
  									func_35(joaat("SP0_MONEY_SPENT_CAR_MODS"), iParam3);
  									break;
  								
  								case 1:
  									func_35(joaat("SP1_MONEY_SPENT_CAR_MODS"), iParam3);
  									break;
  								
  								case 2:
  									func_35(joaat("SP2_MONEY_SPENT_CAR_MODS"), iParam3);
  									break;
  							}
  							func_13(iParam3);
  							break;
  					}
  					break;
  			}
  			break;
  		
  		case 1:
  			switch (iParam0)
  			{
  				case 0:
  					func_36(95, iParam3);
  					break;
  				
  				case 1:
  					func_36(97, iParam3);
  					break;
  				
  				case 2:
  					func_36(96, iParam3);
  					break;
  			}
  			func_36(98, iParam3);
  			break;
  	}
  	iVar2 = iParam0;
  	iParam3 = SYSTEM::FLOOR((fVar0 * SYSTEM::TO_FLOAT(iParam3)));
  	iVar3 = 0;
  	iVar4 = iParam3;
  	if (fVar0 == 0f)
  	{
  		func_6(iVar1);
  		return 1;
  	}
  	else if (fVar0 != 1f)
  	{
  		func_6(iVar1);
  	}
  	iVar5 = (Global_58891[iVar2] + iParam3);
  	switch (iParam1)
  	{
  		case 1:
  			if (Global_58891[iVar2] >= 0 && iParam3 > 0)
  			{
  				if (iVar5 <= 0)
  				{
  					Global_58891[iVar2] = 2147483647;
  				}
  				else
  				{
  					Global_58891[iVar2] = (Global_58891[iVar2] + iParam3);
  				}
  			}
  			switch (iParam0)
  			{
  				case 0:
  					func_35(joaat("SP0_TOTAL_CASH_EARNED"), iParam3);
  					break;
  				
  				case 1:
  					func_35(joaat("SP1_TOTAL_CASH_EARNED"), iParam3);
  					break;
  				
  				case 2:
  					func_35(joaat("SP2_TOTAL_CASH_EARNED"), iParam3);
  					break;
  			}
  			break;
  		
  		case 0:
  			if (!bParam4)
  			{
  				if ((Global_58891[iVar2] - iParam3) < 0)
  				{
  					return 0;
  				}
  			}
  			iVar3 = Global_58891[iVar2];
  			Global_58891[iVar2] = (Global_58891[iVar2] - iParam3);
  			if (bParam4)
  			{
  				iVar4 = iVar3;
  			}
  			break;
  	}
  	if (iParam2 == 1)
  	{
  		if (iVar4 > 20)
  		{
  		}
  	}
  	else
  	{
  		Global_111858.f_20560.f_233[iVar2 /*69*/].f_2[Global_111858.f_20560.f_233[iVar2 /*69*/].f_1 /*6*/] = iParam1;
  		Global_111858.f_20560.f_233[iVar2 /*69*/].f_2[Global_111858.f_20560.f_233[iVar2 /*69*/].f_1 /*6*/].f_1 = iParam2;
  		Global_111858.f_20560.f_233[iVar2 /*69*/].f_2[Global_111858.f_20560.f_233[iVar2 /*69*/].f_1 /*6*/].f_2 = iParam3;
  		Global_111858.f_20560.f_233[iVar2 /*69*/]++;
  		Global_111858.f_20560.f_233[iVar2 /*69*/].f_1++;
  		if (Global_111858.f_20560.f_233[iVar2 /*69*/].f_1 > 10)
  		{
  			Global_111858.f_20560.f_233[iVar2 /*69*/].f_1 = 0;
  		}
  	}
  	func_5(iParam0);
  	if (Global_41631 == 15)
  	{
  		func_4(0);
  	}
  	return 1;
  }
  
  void func_4(bool bParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	iVar1 = 0;
  	iVar0 = 0;
  	while (iVar0 < 3)
  	{
  		iVar1 = 0;
  		while (iVar1 < 11)
  		{
  			Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/].f_3 = Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/];
  			Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/].f_4 = Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/].f_1;
  			Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/].f_5 = Global_111858.f_20560.f_233[iVar0 /*69*/].f_2[iVar1 /*6*/].f_2;
  			iVar1++;
  		}
  		iVar0++;
  	}
  	iVar0 = 0;
  	while (iVar0 < 10)
  	{
  		Global_58899[iVar0 /*3*/][0] = Global_111858.f_20560[iVar0];
  		Global_58899.f_31[iVar0 /*3*/][0] = Global_111858.f_20560.f_11[iVar0];
  		Global_58899.f_62[iVar0 /*3*/][0] = Global_111858.f_20560.f_22[iVar0];
  		Global_58899.f_93[iVar0 /*3*/][0] = Global_111858.f_20560.f_33[iVar0];
  		Global_58899.f_124[iVar0 /*3*/][0] = Global_111858.f_20560.f_44[iVar0];
  		Global_58899.f_155[iVar0 /*3*/][0] = Global_111858.f_20560.f_55[iVar0];
  		Global_58899.f_186[iVar0 /*3*/][0] = Global_111858.f_20560.f_66[iVar0];
  		Global_58899.f_217[iVar0 /*3*/][0] = Global_111858.f_20560.f_77[iVar0];
  		Global_58899.f_248[iVar0 /*3*/][0] = Global_111858.f_20560.f_88[iVar0];
  		if (!bParam0)
  		{
  			Global_58899[iVar0 /*3*/][1] = Global_111858.f_20560[iVar0];
  			Global_58899.f_31[iVar0 /*3*/][1] = Global_111858.f_20560.f_11[iVar0];
  			Global_58899.f_62[iVar0 /*3*/][1] = Global_111858.f_20560.f_22[iVar0];
  			Global_58899.f_93[iVar0 /*3*/][1] = Global_111858.f_20560.f_33[iVar0];
  			Global_58899.f_124[iVar0 /*3*/][1] = Global_111858.f_20560.f_44[iVar0];
  			Global_58899.f_155[iVar0 /*3*/][1] = Global_111858.f_20560.f_55[iVar0];
  			Global_58899.f_186[iVar0 /*3*/][1] = Global_111858.f_20560.f_66[iVar0];
  			Global_58899.f_217[iVar0 /*3*/][1] = Global_111858.f_20560.f_77[iVar0];
  			Global_58899.f_248[iVar0 /*3*/][1] = Global_111858.f_20560.f_88[iVar0];
  		}
  		iVar0++;
  	}
  }
  
  void func_5(int iParam0)
  {
  	int iVar0;
  	
  	iVar0 = Global_58891[iParam0];
  	switch (iParam0)
  	{
  		case 0:
  			unk_0x6000E4684CB4330B(joaat("SP0_TOTAL_CASH"), iVar0, 1);
  			break;
  		
  		case 1:
  			unk_0x6000E4684CB4330B(joaat("SP1_TOTAL_CASH"), iVar0, 1);
  			break;
  		
  		case 2:
  			unk_0x6000E4684CB4330B(joaat("SP2_TOTAL_CASH"), iVar0, 1);
  			break;
  	}
  }
  
  void func_6(int iParam0)
  {
  	bool bVar0;
  	char cVar1[64];
  	
  	if (iParam0 == 8)
  	{
  		func_12(129, 0, -1, 1);
  		return;
  	}
  	if (iParam0 == 9)
  	{
  		func_12(135, 0, -1, 1);
  		return;
  	}
  	if (iParam0 == 10)
  	{
  		func_12(136, 0, -1, 1);
  		return;
  	}
  	if (iParam0 == 11)
  	{
  		func_12(137, 0, -1, 1);
  		return;
  	}
  	if (iParam0 == 12)
  	{
  		func_9(8270, 0, -1, 1, 0);
  		return;
  	}
  	if (iParam0 == 13)
  	{
  		func_9(8271, 0, -1, 1, 0);
  		return;
  	}
  	if (iParam0 == 14)
  	{
  		func_9(8272, 0, -1, 1, 0);
  		return;
  	}
  	if (iParam0 == 15)
  	{
  		func_9(8273, 0, -1, 1, 0);
  		return;
  	}
  	if (iParam0 == 16)
  	{
  		func_9(8274, 0, -1, 1, 0);
  		return;
  	}
  	if (iParam0 == 17)
  	{
  		func_9(8275, 0, -1, 1, 0);
  		return;
  	}
  	bVar0 = false;
  	if (!unk_0x25DDB354A40FFCDB())
  	{
  		if (unk_0xCE990E643CD9D0E5(Global_111858.f_20560.f_471, iParam0))
  		{
  			bVar0 = true;
  			unk_0xD2459066EA58CE43(&(Global_111858.f_20560.f_471), iParam0);
  		}
  	}
  	else if (unk_0xCE990E643CD9D0E5(Global_111858.f_20560.f_471, iParam0) || unk_0xCE990E643CD9D0E5(Global_2097152[func_8() /*10931*/].f_6175.f_10, iParam0))
  	{
  		bVar0 = true;
  		unk_0xD2459066EA58CE43(&(Global_111858.f_20560.f_471), iParam0);
  		unk_0xD2459066EA58CE43(&(Global_2097152[func_8() /*10931*/].f_6175.f_10), iParam0);
  	}
  	if (bVar0)
  	{
  		StringCopy(&cVar1, "CHAR_LIFEINVADER", 64);
  		unk_0x5B8DD855EAFD33B5("COUP_RED");
  		unk_0x6A826E35A3096ED0(func_7(iParam0));
  		unk_0x39E1440587355CC1(&cVar1, &cVar1, 1, 0, "", 0);
  	}
  }
  
  char* func_7(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return "COUP_HAIRC";
  		
  		case 1:
  			return "COUP_TATTOO";
  		
  		case 2:
  			return "COUP_WARSTOCK";
  		
  		case 3:
  			return "COUP_MOSPORT";
  		
  		case 4:
  			return "COUP_ELITAS";
  		
  		case 5:
  			return "COUP_MEDSPENS";
  		
  		case 6:
  			return "COUP_SPRUNK";
  		
  		case 7:
  			return "COUP_RESPRAY";
  		
  		case 8:
  			return "COUP_XMAS2017";
  		
  		case 9:
  			return "COUP_CAR_XMAS2018";
  		
  		case 10:
  			return "COUP_HELI_XMAS2018";
  		
  		case 11:
  			return "COUP_CAR2_XMAS2018";
  		
  		case 12:
  			return "COUP_CAS_ELITAS";
  		
  		case 13:
  			return "COUP_CAS_DOCKTEASE";
  		
  		case 14:
  			return "COUP_CAS_MOSPORT";
  		
  		case 15:
  			return "COUP_CAS_SSASA";
  		
  		case 16:
  			return "COUP_CAS_WARSTOCK";
  		
  		case 17:
  			return "COUP_CAS_PANDM";
  		
  		default:
  	}
  	return "";
  }
  
  int func_8()
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	return iVar0;
  }
  
  void func_9(int iParam0, int iParam1, int iParam2, int iParam3, bool bParam4)
  {
  	int iVar0;
  	
  	if (bParam4)
  	{
  	}
  	iVar0 = Global_2551832[iParam0 /*3*/][func_10(iParam2)];
  	if (iVar0 != 0)
  	{
  		unk_0x6000E4684CB4330B(iVar0, iParam1, iParam3);
  	}
  }
  
  int func_10(var uParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = uParam0;
  	if (iVar0 == -1)
  	{
  		iVar1 = func_11();
  		if (iVar1 > -1)
  		{
  			Global_2551544 = 0;
  			iVar0 = iVar1;
  		}
  		else
  		{
  			iVar0 = 0;
  			Global_2551544 = 1;
  		}
  	}
  	return iVar0;
  }
  
  int func_11()
  {
  	return Global_1312763;
  }
  
  int func_12(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	int iVar12;
  	int iVar13;
  	int iVar14;
  	int iVar15;
  	int iVar16;
  	int iVar17;
  	int iVar18;
  	int iVar19;
  	int iVar20;
  	int iVar21;
  	int iVar22;
  	int iVar23;
  	int iVar24;
  	int iVar25;
  	
  	if (iParam2 == -1)
  	{
  		iParam2 = func_11();
  	}
  	iVar0 = 0;
  	if (iParam0 >= 0 && iParam0 < 192)
  	{
  		iVar2 = unk_0x43BE40E27DB6DC2E((iParam0 - 0), 0, 1, iParam2);
  		iVar1 = ((iParam0 - 0) - unk_0x12730A13C85FC896((iParam0 - 0)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar2, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 192 && iParam0 < 384)
  	{
  		iVar3 = unk_0x43BE40E27DB6DC2E((iParam0 - 192), 1, 1, iParam2);
  		iVar1 = ((iParam0 - 192) - unk_0x12730A13C85FC896((iParam0 - 192)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar3, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 513 && iParam0 < 705)
  	{
  		iVar4 = unk_0x43BE40E27DB6DC2E((iParam0 - 513), 0, 0, 0);
  		iVar1 = ((iParam0 - 513) - unk_0x12730A13C85FC896((iParam0 - 513)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar4, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 705 && iParam0 < 1281)
  	{
  		iVar5 = unk_0x43BE40E27DB6DC2E((iParam0 - 705), 1, 0, 0);
  		iVar1 = ((iParam0 - 705) - unk_0x12730A13C85FC896((iParam0 - 705)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar5, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 3111 && iParam0 < 3879)
  	{
  		iVar6 = unk_0x840F9A9E6D216561((iParam0 - 3111), 0, 1, iParam2);
  		iVar1 = ((iParam0 - 3111) - unk_0x12730A13C85FC896((iParam0 - 3111)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar6, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 2919 && iParam0 < 3111)
  	{
  		iVar7 = unk_0x840F9A9E6D216561((iParam0 - 2919), 0, 0, 0);
  		iVar1 = ((iParam0 - 2919) - unk_0x12730A13C85FC896((iParam0 - 2919)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar7, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 4207 && iParam0 < 4335)
  	{
  		iVar8 = unk_0x4B2E4855CB2B4FAA((iParam0 - 4207), 0, 1, iParam2, "_NGPSTAT_BOOL");
  		iVar1 = ((iParam0 - 4207) - unk_0x12730A13C85FC896((iParam0 - 4207)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar8, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 4335 && iParam0 < 4399)
  	{
  		iVar9 = unk_0x4B2E4855CB2B4FAA((iParam0 - 4335), 0, 0, 0, "_NGPSTAT_BOOL");
  		iVar1 = ((iParam0 - 4335) - unk_0x12730A13C85FC896((iParam0 - 4335)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar9, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 6029 && iParam0 < 6413)
  	{
  		iVar10 = unk_0x4B2E4855CB2B4FAA((iParam0 - 6029), 0, 1, iParam2, "_NGTATPSTAT_BOOL");
  		iVar1 = ((iParam0 - 6029) - unk_0x12730A13C85FC896((iParam0 - 6029)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar10, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 7385 && iParam0 < 7641)
  	{
  		iVar11 = unk_0x4B2E4855CB2B4FAA((iParam0 - 7385), 0, 1, iParam2, "_NGDLCPSTAT_BOOL");
  		iVar1 = ((iParam0 - 7385) - unk_0x12730A13C85FC896((iParam0 - 7385)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar11, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 7321 && iParam0 < 7385)
  	{
  		iVar12 = unk_0x4B2E4855CB2B4FAA((iParam0 - 7321), 0, 0, 0, "_NGDLCPSTAT_BOOL");
  		iVar1 = ((iParam0 - 7321) - unk_0x12730A13C85FC896((iParam0 - 7321)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar12, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 9361 && iParam0 < 9553)
  	{
  		iVar13 = unk_0x4B2E4855CB2B4FAA((iParam0 - 9361), 0, 1, iParam2, "_DLCBIKEPSTAT_BOOL");
  		iVar1 = ((iParam0 - 9361) - unk_0x12730A13C85FC896((iParam0 - 9361)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar13, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 15369 && iParam0 < 15561)
  	{
  		iVar14 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15369), 0, 1, iParam2, "_DLCGUNPSTAT_BOOL");
  		iVar1 = ((iParam0 - 15369) - unk_0x12730A13C85FC896((iParam0 - 15369)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar14, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 15562 && iParam0 < 15946)
  	{
  		iVar15 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15562), 0, 1, iParam2, "_GUNTATPSTAT_BOOL");
  		iVar1 = ((iParam0 - 15562) - unk_0x12730A13C85FC896((iParam0 - 15562)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar15, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 15946 && iParam0 < 16010)
  	{
  		iVar16 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15946), 0, 1, iParam2, "_DLCSMUGCHARPSTAT_BOOL");
  		iVar1 = ((iParam0 - 15946) - unk_0x12730A13C85FC896((iParam0 - 15946)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar16, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 18098 && iParam0 < 18162)
  	{
  		iVar17 = unk_0x4B2E4855CB2B4FAA((iParam0 - 18098), 0, 1, iParam2, "_GANGOPSPSTAT_BOOL");
  		iVar1 = ((iParam0 - 18098) - unk_0x12730A13C85FC896((iParam0 - 18098)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar17, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 22066 && iParam0 < 22194)
  	{
  		iVar18 = unk_0x4B2E4855CB2B4FAA((iParam0 - 22066), 0, 1, iParam2, "_BUSINESSBATPSTAT_BOOL");
  		iVar1 = ((iParam0 - 22066) - unk_0x12730A13C85FC896((iParam0 - 22066)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar18, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 24962 && iParam0 < 25538)
  	{
  		iVar19 = unk_0x4B2E4855CB2B4FAA((iParam0 - 24962), 0, 1, iParam2, "_ARENAWARSPSTAT_BOOL");
  		iVar1 = ((iParam0 - 24962) - unk_0x12730A13C85FC896((iParam0 - 24962)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar19, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 26810 && iParam0 < 27258)
  	{
  		iVar20 = unk_0x4B2E4855CB2B4FAA((iParam0 - 26810), 0, 1, iParam2, "_CASINOPSTAT_BOOL");
  		iVar1 = ((iParam0 - 26810) - unk_0x12730A13C85FC896((iParam0 - 26810)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar20, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 28098 && iParam0 < 28354)
  	{
  		iVar21 = unk_0x4B2E4855CB2B4FAA((iParam0 - 28098), 0, 1, iParam2, "_CASINOHSTPSTAT_BOOL");
  		iVar1 = ((iParam0 - 28098) - unk_0x12730A13C85FC896((iParam0 - 28098)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar21, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 28355 && iParam0 < 28483)
  	{
  		iVar22 = unk_0x4B2E4855CB2B4FAA((iParam0 - 28355), 0, 1, iParam2, "_HEIST3TATTOOSTAT_BOOL");
  		iVar1 = ((iParam0 - 28355) - unk_0x12730A13C85FC896((iParam0 - 28355)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar22, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 30227 && iParam0 < 30355)
  	{
  		iVar23 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30227), 0, 1, iParam2, "_SU20PSTAT_BOOL");
  		iVar1 = ((iParam0 - 30227) - unk_0x12730A13C85FC896((iParam0 - 30227)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar23, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 30355 && iParam0 < 30483)
  	{
  		iVar24 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30355), 0, 1, iParam2, "_SU20TATTOOSTAT_BOOL");
  		iVar1 = ((iParam0 - 30355) - unk_0x12730A13C85FC896((iParam0 - 30355)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar24, iParam1, iVar1, iParam3);
  	}
  	else if (iParam0 >= 30515 && iParam0 < 30707)
  	{
  		iVar25 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30515), 0, 1, iParam2, "_HISLANDPSTAT_BOOL");
  		iVar1 = ((iParam0 - 30515) - unk_0x12730A13C85FC896((iParam0 - 30515)) * 64);
  		iVar0 = unk_0xC06DB57B81E2C02B(iVar25, iParam1, iVar1, iParam3);
  	}
  	return iVar0;
  }
  
  void func_13(int iParam0)
  {
  	func_36(93, iParam0);
  	func_36(29, iParam0);
  	func_36(30, iParam0);
  }
  
  bool func_14(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	int iVar10;
  	int iVar11;
  	
  	if (iParam0 == 8)
  	{
  		return func_16(129, -1, -1);
  	}
  	if (iParam0 == 9)
  	{
  		return func_16(135, -1, -1);
  	}
  	if (iParam0 == 10)
  	{
  		return func_16(136, -1, -1);
  	}
  	if (iParam0 == 11)
  	{
  		return func_16(137, -1, -1);
  	}
  	if (iParam0 == 12)
  	{
  		iVar0 = unk_0x5A002C4821A13338();
  		iVar1 = func_15(8270, -1, 0);
  		if (iVar1 == 0 || iVar0 >= iVar1)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (iParam0 == 13)
  	{
  		iVar2 = unk_0x5A002C4821A13338();
  		iVar3 = func_15(8271, -1, 0);
  		if (iVar3 == 0 || iVar2 >= iVar3)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (iParam0 == 14)
  	{
  		iVar4 = unk_0x5A002C4821A13338();
  		iVar5 = func_15(8272, -1, 0);
  		if (iVar5 == 0 || iVar4 >= iVar5)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (iParam0 == 15)
  	{
  		iVar6 = unk_0x5A002C4821A13338();
  		iVar7 = func_15(8273, -1, 0);
  		if (iVar7 == 0 || iVar6 >= iVar7)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (iParam0 == 16)
  	{
  		iVar8 = unk_0x5A002C4821A13338();
  		iVar9 = func_15(8274, -1, 0);
  		if (iVar9 == 0 || iVar8 >= iVar9)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (iParam0 == 17)
  	{
  		iVar10 = unk_0x5A002C4821A13338();
  		iVar11 = func_15(8275, -1, 0);
  		if (iVar11 == 0 || iVar10 >= iVar11)
  		{
  			return 0;
  		}
  		return 1;
  	}
  	if (!unk_0x25DDB354A40FFCDB())
  	{
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_20560.f_471, iParam0);
  	}
  	return unk_0xCE990E643CD9D0E5(Global_2097152[func_8() /*10931*/].f_6175.f_10, iParam0);
  }
  
  int func_15(int iParam0, int iParam1, int iParam2)
  {
  	var uVar0;
  	var uVar1;
  	
  	if (iParam0 != 11771)
  	{
  		if (iParam2 == 0)
  		{
  		}
  		uVar0 = Global_2551832[iParam0 /*3*/][func_10(iParam1)];
  		if (unk_0xD2F202166691EDB2(uVar0, &uVar1, -1))
  		{
  			return uVar1;
  		}
  	}
  	return 0;
  }
  
  int func_16(int iParam0, int iParam1, int iParam2)
  {
  	int iVar0;
  	int iVar1;
  	var uVar2;
  	
  	iVar0 = 0;
  	if (iParam1 == -1)
  	{
  		iParam1 = func_11();
  	}
  	iVar1 = func_18(iParam0, iParam1);
  	uVar2 = func_17(iParam0);
  	if (0 != iVar1)
  	{
  		iVar0 = unk_0x9FD0AD883E4A7C1E(iVar1, uVar2, iParam2);
  	}
  	return iVar0;
  }
  
  int func_17(int iParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	if (iParam0 >= 0 && iParam0 < 192)
  	{
  		iVar0 = ((iParam0 - 0) - unk_0x12730A13C85FC896((iParam0 - 0)) * 64);
  	}
  	else if (iParam0 >= 192 && iParam0 < 384)
  	{
  		iVar0 = ((iParam0 - 192) - unk_0x12730A13C85FC896((iParam0 - 192)) * 64);
  	}
  	else if (iParam0 >= 513 && iParam0 < 705)
  	{
  		iVar0 = ((iParam0 - 513) - unk_0x12730A13C85FC896((iParam0 - 513)) * 64);
  	}
  	else if (iParam0 >= 705 && iParam0 < 1281)
  	{
  		iVar0 = ((iParam0 - 705) - unk_0x12730A13C85FC896((iParam0 - 705)) * 64);
  	}
  	else if (iParam0 >= 2919 && iParam0 < 3111)
  	{
  		iVar0 = ((iParam0 - 2919) - unk_0x12730A13C85FC896((iParam0 - 2919)) * 64);
  	}
  	else if (iParam0 >= 3111 && iParam0 < 3879)
  	{
  		iVar0 = ((iParam0 - 3111) - unk_0x12730A13C85FC896((iParam0 - 3111)) * 64);
  	}
  	else if (iParam0 >= 4335 && iParam0 < 4399)
  	{
  		iVar0 = ((iParam0 - 4335) - unk_0x12730A13C85FC896((iParam0 - 4335)) * 64);
  	}
  	else if (iParam0 >= 4207 && iParam0 < 4335)
  	{
  		iVar0 = ((iParam0 - 4207) - unk_0x12730A13C85FC896((iParam0 - 4207)) * 64);
  	}
  	else if (iParam0 >= 6029 && iParam0 < 6413)
  	{
  		iVar0 = ((iParam0 - 6029) - unk_0x12730A13C85FC896((iParam0 - 6029)) * 64);
  	}
  	else if (iParam0 >= 7385 && iParam0 < 7641)
  	{
  		iVar0 = ((iParam0 - 7385) - unk_0x12730A13C85FC896((iParam0 - 7385)) * 64);
  	}
  	else if (iParam0 >= 7321 && iParam0 < 7385)
  	{
  		iVar0 = ((iParam0 - 7321) - unk_0x12730A13C85FC896((iParam0 - 7321)) * 64);
  	}
  	else if (iParam0 >= 9361 && iParam0 < 9553)
  	{
  		iVar0 = ((iParam0 - 9361) - unk_0x12730A13C85FC896((iParam0 - 9361)) * 64);
  	}
  	else if (iParam0 >= 15369 && iParam0 < 15561)
  	{
  		iVar0 = ((iParam0 - 15369) - unk_0x12730A13C85FC896((iParam0 - 15369)) * 64);
  	}
  	else if (iParam0 >= 15562 && iParam0 < 15946)
  	{
  		iVar0 = ((iParam0 - 15562) - unk_0x12730A13C85FC896((iParam0 - 15562)) * 64);
  	}
  	else if (iParam0 >= 15946 && iParam0 < 16010)
  	{
  		iVar0 = ((iParam0 - 15946) - unk_0x12730A13C85FC896((iParam0 - 15946)) * 64);
  	}
  	else if (iParam0 >= 18098 && iParam0 < 18162)
  	{
  		iVar0 = ((iParam0 - 18098) - unk_0x12730A13C85FC896((iParam0 - 18098)) * 64);
  	}
  	else if (iParam0 >= 22066 && iParam0 < 22194)
  	{
  		iVar0 = ((iParam0 - 22066) - unk_0x12730A13C85FC896((iParam0 - 22066)) * 64);
  	}
  	else if (iParam0 >= 24962 && iParam0 < 25538)
  	{
  		iVar0 = ((iParam0 - 24962) - unk_0x12730A13C85FC896((iParam0 - 24962)) * 64);
  	}
  	else if (iParam0 >= 26810 && iParam0 < 27258)
  	{
  		iVar0 = ((iParam0 - 26810) - unk_0x12730A13C85FC896((iParam0 - 26810)) * 64);
  	}
  	else if (iParam0 >= 28098 && iParam0 < 28354)
  	{
  		iVar0 = ((iParam0 - 28098) - unk_0x12730A13C85FC896((iParam0 - 28098)) * 64);
  	}
  	else if (iParam0 >= 28355 && iParam0 < 28483)
  	{
  		iVar0 = ((iParam0 - 28355) - unk_0x12730A13C85FC896((iParam0 - 28355)) * 64);
  	}
  	else if (iParam0 >= 30227 && iParam0 < 30355)
  	{
  		iVar0 = ((iParam0 - 30227) - unk_0x12730A13C85FC896((iParam0 - 30227)) * 64);
  	}
  	else if (iParam0 >= 30355 && iParam0 < 30483)
  	{
  		iVar0 = ((iParam0 - 30355) - unk_0x12730A13C85FC896((iParam0 - 30355)) * 64);
  	}
  	else if (iParam0 >= 30515 && iParam0 < 30707)
  	{
  		iVar0 = ((iParam0 - 30515) - unk_0x12730A13C85FC896((iParam0 - 30515)) * 64);
  	}
  	return iVar0;
  }
  
  int func_18(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (iParam1 == -1)
  	{
  		iParam1 = func_11();
  	}
  	iVar0 = 0;
  	if (iParam0 >= 0 && iParam0 < 192)
  	{
  		iVar0 = unk_0x43BE40E27DB6DC2E((iParam0 - 0), 0, 1, iParam1);
  	}
  	else if (iParam0 >= 192 && iParam0 < 384)
  	{
  		iVar0 = unk_0x43BE40E27DB6DC2E((iParam0 - 192), 1, 1, iParam1);
  	}
  	else if (iParam0 >= 513 && iParam0 < 705)
  	{
  		iVar0 = unk_0x43BE40E27DB6DC2E((iParam0 - 513), 0, 0, 0);
  	}
  	else if (iParam0 >= 705 && iParam0 < 1281)
  	{
  		iVar0 = unk_0x43BE40E27DB6DC2E((iParam0 - 705), 1, 0, 0);
  	}
  	else if (iParam0 >= 2919 && iParam0 < 3111)
  	{
  		iVar0 = unk_0x840F9A9E6D216561((iParam0 - 2919), 0, 0, 0);
  	}
  	else if (iParam0 >= 3111 && iParam0 < 3879)
  	{
  		iVar0 = unk_0x840F9A9E6D216561((iParam0 - 3111), 0, 1, iParam1);
  	}
  	else if (iParam0 >= 4335 && iParam0 < 4399)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 4335), 0, 0, 0, "_NGPSTAT_BOOL");
  	}
  	else if (iParam0 >= 4207 && iParam0 < 4335)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 4207), 0, 1, iParam1, "_NGPSTAT_BOOL");
  	}
  	else if (iParam0 >= 6029 && iParam0 < 6413)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 6029), 0, 1, iParam1, "_NGTATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 7321 && iParam0 < 7385)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 7321), 0, 0, 0, "_NGDLCPSTAT_BOOL");
  	}
  	else if (iParam0 >= 7385 && iParam0 < 7641)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 7385), 0, 1, iParam1, "_NGDLCPSTAT_BOOL");
  	}
  	else if (iParam0 >= 9361 && iParam0 < 9553)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 9361), 0, 1, iParam1, "_DLCBIKEPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15369 && iParam0 < 15561)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15369), 0, 1, iParam1, "_DLCGUNPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15562 && iParam0 < 15946)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15562), 0, 1, iParam1, "_GUNTATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 15946 && iParam0 < 16010)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 15946), 0, 1, iParam1, "_DLCSMUGCHARPSTAT_BOOL");
  	}
  	else if (iParam0 >= 18098 && iParam0 < 18162)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 18098), 0, 1, iParam1, "_GANGOPSPSTAT_BOOL");
  	}
  	else if (iParam0 >= 22066 && iParam0 < 22194)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 22066), 0, 1, iParam1, "_BUSINESSBATPSTAT_BOOL");
  	}
  	else if (iParam0 >= 24962 && iParam0 < 25538)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 24962), 0, 1, iParam1, "_ARENAWARSPSTAT_BOOL");
  	}
  	else if (iParam0 >= 26810 && iParam0 < 27258)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 26810), 0, 1, iParam1, "_CASINOPSTAT_BOOL");
  	}
  	else if (iParam0 >= 28098 && iParam0 < 28354)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 28098), 0, 1, iParam1, "_CASINOHSTPSTAT_BOOL");
  	}
  	else if (iParam0 >= 28355 && iParam0 < 28483)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 28355), 0, 1, iParam1, "_HEIST3TATTOOSTAT_BOOL");
  	}
  	else if (iParam0 >= 30227 && iParam0 < 30355)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30227), 0, 1, iParam1, "_SU20PSTAT_BOOL");
  	}
  	else if (iParam0 >= 30355 && iParam0 < 30483)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30355), 0, 1, iParam1, "_SU20TATTOOSTAT_BOOL");
  	}
  	else if (iParam0 >= 30515 && iParam0 < 30707)
  	{
  		iVar0 = unk_0x4B2E4855CB2B4FAA((iParam0 - 30515), 0, 1, iParam1, "_HISLANDPSTAT_BOOL");
  	}
  	return iVar0;
  }
  
  int func_19(bool bParam0)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	
  	iVar1 = 0;
  	if (unk_0x027BA2E902FAC118(27))
  	{
  		return 0;
  	}
  	if (unk_0xD2F202166691EDB2(joaat("SP0_MONEY_TOTAL_SPENT"), &iVar0, -1))
  	{
  		iVar1 = (iVar1 + iVar0);
  	}
  	if (unk_0xD2F202166691EDB2(joaat("SP1_MONEY_TOTAL_SPENT"), &iVar0, -1))
  	{
  		iVar1 = (iVar1 + iVar0);
  	}
  	if (unk_0xD2F202166691EDB2(joaat("SP2_MONEY_TOTAL_SPENT"), &iVar0, -1))
  	{
  		iVar1 = (iVar1 + iVar0);
  	}
  	if (bParam0)
  	{
  	}
  	iVar2 = 0;
  	unk_0xD2F202166691EDB2(joaat("NUM_CASH_SPENT"), &iVar2, -1);
  	if (iVar1 > 0 && (iVar2 / 2000000) != (iVar1 / 2000000))
  	{
  		unk_0x6000E4684CB4330B(joaat("NUM_CASH_SPENT"), iVar1, 1);
  		func_34(27, iVar1);
  	}
  	if (iVar1 < 200000000)
  	{
  		return 0;
  	}
  	func_20(27, 1);
  	return 1;
  }
  
  int func_20(int iParam0, int iParam1)
  {
  	if (iParam0 >= 78)
  	{
  		return 0;
  	}
  	return func_21(iParam0, iParam1);
  }
  
  int func_21(int iParam0, int iParam1)
  {
  	if (func_33(14) && !func_32(iParam0))
  	{
  		return 0;
  	}
  	if (unk_0x027BA2E902FAC118(iParam0) && iParam1 == 1)
  	{
  		return 0;
  	}
  	if (Global_31217 != 0 && !Global_76833)
  	{
  		return 0;
  	}
  	if (func_31(&Global_4271324))
  	{
  		if (func_29(&Global_4271324, iParam0))
  		{
  			return 0;
  		}
  		if (func_22(&Global_4271324, iParam0))
  		{
  			return 1;
  		}
  	}
  	else
  	{
  		if (!unk_0x1C382E0E92F57545(iParam0))
  		{
  			return 0;
  		}
  		if (unk_0x027BA2E902FAC118(iParam0))
  		{
  			return 1;
  		}
  		return 0;
  	}
  	return 0;
  }
  
  int func_22(var uParam0, int iParam1)
  {
  	int iVar0;
  	var uVar1[78];
  	
  	if (unk_0x027BA2E902FAC118(iParam1))
  	{
  		return 0;
  	}
  	if (func_33(14) && !func_32(iParam1))
  	{
  		return 0;
  	}
  	if (func_29(uParam0, iParam1))
  	{
  		return 0;
  	}
  	if (func_28(uParam0) < 0f)
  	{
  		func_27(uParam0, 0);
  	}
  	func_25(&uVar1);
  	iVar0 = 0;
  	iVar0 = 0;
  	while (iVar0 < (*uParam0 - 1))
  	{
  		uVar1[iVar0 + 1] = (*uParam0)[iVar0];
  		iVar0++;
  	}
  	func_23(&uVar1, iParam1);
  	iVar0 = 0;
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		(*uParam0)[iVar0] = uVar1[iVar0];
  		iVar0++;
  	}
  	return 1;
  }
  
  int func_23(var uParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (unk_0x027BA2E902FAC118(iParam1))
  	{
  		return 0;
  	}
  	if (func_33(14) && !func_32(iParam1))
  	{
  		return 0;
  	}
  	if (func_29(uParam0, iParam1))
  	{
  		return 0;
  	}
  	if (func_28(uParam0) < 0f)
  	{
  		func_27(uParam0, 0);
  	}
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if (func_24(uParam0, iVar0))
  		{
  			(*uParam0)[iVar0] = iParam1;
  			return 1;
  		}
  		iVar0++;
  	}
  	return 0;
  }
  
  bool func_24(var uParam0, int iParam1)
  {
  	return (*uParam0)[iParam1] == 78;
  }
  
  void func_25(var uParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		func_26(uParam0, iVar0);
  		iVar0++;
  	}
  	func_27(uParam0, (Global_4271323 - 0.5f));
  }
  
  void func_26(var uParam0, int iParam1)
  {
  	(*uParam0)[iParam1] = 78;
  }
  
  void func_27(var uParam0, float fParam1)
  {
  	if (fParam1 == 0f)
  	{
  		uParam0->f_80 = 0f;
  	}
  	else
  	{
  		uParam0->f_80 = fParam1;
  	}
  }
  
  float func_28(var uParam0)
  {
  	return uParam0->f_80;
  }
  
  bool func_29(var uParam0, int iParam1)
  {
  	return func_30(uParam0, iParam1) != -1;
  }
  
  int func_30(var uParam0, int iParam1)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if ((*uParam0)[iVar0] == iParam1)
  		{
  			return iVar0;
  		}
  		iVar0++;
  	}
  	return -1;
  }
  
  bool func_31(var uParam0)
  {
  	return uParam0->f_79 == 1;
  }
  
  int func_32(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 60:
  		case 61:
  		case 62:
  		case 63:
  		case 64:
  		case 65:
  		case 66:
  		case 67:
  		case 68:
  		case 69:
  			return 1;
  		
  		default:
  	}
  	return 0;
  }
  
  bool func_33(int iParam0)
  {
  	return Global_41631 == iParam0;
  }
  
  int func_34(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (iParam0 < 0)
  	{
  		return 0;
  	}
  	if (iParam0 > 78)
  	{
  		return 0;
  	}
  	if (iParam1 <= 0 || iParam1 > 100)
  	{
  		return 0;
  	}
  	iVar0 = unk_0x76B47D2BF8F31200(iParam0);
  	if (iParam1 > iVar0)
  	{
  		return unk_0xD4563E24351CCDF9(iParam0, iParam1);
  	}
  	return 0;
  }
  
  void func_35(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	unk_0xD2F202166691EDB2(iParam0, &iVar0, -1);
  	iVar0 = (iVar0 + iParam1);
  	unk_0x6000E4684CB4330B(iParam0, iVar0, 1);
  }
  
  void func_36(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	if (iParam1 < 1)
  	{
  		return;
  	}
  	if (Global_57459[iParam0 /*7*/].f_2)
  	{
  		return;
  	}
  	if (unk_0x25DDB354A40FFCDB())
  	{
  		return;
  	}
  	if (Global_57459[iParam0 /*7*/])
  	{
  		unk_0xD2F202166691EDB2(Global_57459[iParam0 /*7*/].f_1, &iVar0, -1);
  		iVar0 = (iVar0 + iParam1);
  		unk_0x6000E4684CB4330B(Global_57459[iParam0 /*7*/].f_1, iVar0, 1);
  	}
  }
  
  void func_37()
  {
  	int iVar0;
  	
  	if (unk_0x011A67D2B195B6EB())
  	{
  		unk_0xD2F202166691EDB2(joaat("SP0_TOTAL_CASH"), &iVar0, -1);
  		if (!Global_58891[0] == iVar0)
  		{
  			Global_58891[0] = iVar0;
  		}
  		unk_0xD2F202166691EDB2(joaat("SP1_TOTAL_CASH"), &iVar0, -1);
  		if (!Global_58891[1] == iVar0)
  		{
  			Global_58891[1] = iVar0;
  		}
  		unk_0xD2F202166691EDB2(joaat("SP2_TOTAL_CASH"), &iVar0, -1);
  		if (!Global_58891[2] == iVar0)
  		{
  			Global_58891[2] = iVar0;
  		}
  	}
  }
  
  int func_38(int iParam0)
  {
  	return Global_1848[iParam0 /*29*/].f_17;
  }
  
  int func_39(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 500;
  			break;
  		
  		case 1:
  			return 1000;
  			break;
  		
  		case 2:
  			return 1500;
  			break;
  		
  		case 3:
  			return 1500;
  			break;
  		
  		case 4:
  			return 2000;
  			break;
  	}
  	return 0;
  }
  
  int func_40()
  {
  	func_41();
  	return Global_111858.f_2359.f_539.f_4321;
  }
  
  void func_41()
  {
  	int iVar0;
  	
  	if (unk_0xAE06B9E39EBDE049(unk_0x9B0761B4C3EB8BC7()))
  	{
  		if (func_44(Global_111858.f_2359.f_539.f_4321) != unk_0x36FE6D3220816ADA(unk_0x9B0761B4C3EB8BC7()))
  		{
  			iVar0 = func_43(unk_0x9B0761B4C3EB8BC7());
  			if (func_42(iVar0) && (!func_33(14) || Global_110809))
  			{
  				if (Global_111858.f_2359.f_539.f_4321 != iVar0 && func_42(Global_111858.f_2359.f_539.f_4321))
  				{
  					Global_111858.f_2359.f_539.f_4322 = Global_111858.f_2359.f_539.f_4321;
  				}
  				Global_111858.f_2359.f_539.f_4323 = iVar0;
  				Global_111858.f_2359.f_539.f_4321 = iVar0;
  				return;
  			}
  		}
  		else
  		{
  			if (Global_111858.f_2359.f_539.f_4321 != 145)
  			{
  				Global_111858.f_2359.f_539.f_4323 = Global_111858.f_2359.f_539.f_4321;
  			}
  			return;
  		}
  	}
  	Global_111858.f_2359.f_539.f_4321 = 145;
  }
  
  bool func_42(int iParam0)
  {
  	return iParam0 < 3;
  }
  
  int func_43(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (unk_0xAE06B9E39EBDE049(uParam0))
  	{
  		iVar1 = unk_0x36FE6D3220816ADA(iParam0);
  		iVar0 = 0;
  		while (iVar0 <= 2)
  		{
  			if (func_44(iVar0) == iVar1)
  			{
  				return iVar0;
  			}
  			iVar0++;
  		}
  	}
  	return 145;
  }
  
  int func_44(int iParam0)
  {
  	if (func_42(iParam0))
  	{
  		return func_45(iParam0);
  	}
  	else if (iParam0 != 145)
  	{
  	}
  	return 0;
  }
  
  var func_45(int iParam0)
  {
  	return Global_1848[iParam0 /*29*/];
  }
  
  int func_46(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	if ((func_49(unk_0x9B0761B4C3EB8BC7()) && unk_0x47DBF174A0CB9D55(unk_0x9B0761B4C3EB8BC7(), 0)) && func_47(iParam0))
  	{
  		iVar0 = unk_0xA5D3CD332CD10EE9();
  		if (func_47(iVar0))
  		{
  			iVar1 = unk_0x36FE6D3220816ADA(iVar0);
  			if ((iVar1 == joaat("cargobob") || iVar1 == joaat("cargobob2")) || iVar1 == joaat("cargobob3"))
  			{
  				if (unk_0xA2748482F49AA068(iVar0))
  				{
  					if (unk_0x50EE517FDC91D03C(iVar0, iParam0))
  					{
  						return 1;
  					}
  				}
  			}
  		}
  	}
  	return 0;
  }
  
  int func_47(int iParam0)
  {
  	if (func_48(iParam0))
  	{
  		if (unk_0x80FF6C016CDB0FAF(iParam0, 0))
  		{
  			if (!unk_0x0922C2E075A5F18C(iParam0))
  			{
  				return 1;
  			}
  		}
  	}
  	return 0;
  }
  
  int func_48(int iParam0)
  {
  	if (unk_0xAE06B9E39EBDE049(iParam0))
  	{
  		if (!unk_0xA59F96B50B97E63C(iParam0, 0))
  		{
  			return 1;
  		}
  	}
  	return 0;
  }
  
  int func_49(int iParam0)
  {
  	if (func_48(iParam0))
  	{
  		if (!unk_0x5AEB5DDFFAD43CA5(iParam0))
  		{
  			return 1;
  		}
  	}
  	return 0;
  }
  
  int func_50(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	if ((func_49(unk_0x9B0761B4C3EB8BC7()) && unk_0x47DBF174A0CB9D55(unk_0x9B0761B4C3EB8BC7(), 0)) && func_47(iParam0))
  	{
  		iVar0 = unk_0xA5D3CD332CD10EE9();
  		if (func_47(iVar0))
  		{
  			iVar1 = unk_0x36FE6D3220816ADA(iVar0);
  			if (iVar1 == joaat("towtruck") || iVar1 == joaat("towtruck2"))
  			{
  				if (unk_0xBA9474B1995C6AAD(iVar0, iParam0))
  				{
  					return 1;
  				}
  			}
  		}
  	}
  	return 0;
  }
  
  void func_51(var uParam0, float fParam1)
  {
  	uParam0->f_1 = (func_52(unk_0xCE990E643CD9D0E5(*uParam0, 4)) - fParam1);
  	unk_0xBE20AB8238688965(uParam0, 1);
  	unk_0xD2459066EA58CE43(uParam0, 2);
  	uParam0->f_2 = 0f;
  }
  
  float func_52(bool bParam0)
  {
  	float fVar0;
  	float fVar1;
  	int iVar2;
  	float fVar3;
  	float fVar4;
  	
  	if (bParam0)
  	{
  		fVar0 = SYSTEM::TO_FLOAT(unk_0x578C4EF320340AF7());
  		fVar1 = (fVar0 / 1000f);
  		return fVar1;
  	}
  	if (unk_0x25DDB354A40FFCDB())
  	{
  		iVar2 = unk_0x6CAAB7E78B5D978A();
  		fVar3 = SYSTEM::TO_FLOAT(iVar2);
  		fVar4 = (fVar3 / 1000f);
  		return fVar4;
  	}
  	return (SYSTEM::TO_FLOAT(unk_0x578C4EF320340AF7()) / 1000f);
  }
  
  void func_53(char* sParam0, int iParam1, int iParam2)
  {
  	iParam2 = iParam2;
  	unk_0xAEFB51FB8888AE0F(sParam0);
  	unk_0x823A1D66E6A4D141(iParam1, 1);
  }
  
  int func_54(var uParam0, float fParam1)
  {
  	if (func_55(uParam0, fParam1))
  	{
  		func_135(uParam0);
  		return 1;
  	}
  	return 0;
  }
  
  int func_55(var uParam0, float fParam1)
  {
  	if (func_77(uParam0))
  	{
  		if (func_137(uParam0) > fParam1)
  		{
  			return 1;
  		}
  	}
  	return 0;
  }
  
  float func_56(bool bParam0, float fParam1, float fParam2)
  {
  	if (bParam0)
  	{
  		return fParam1;
  	}
  	return fParam2;
  }
  
  void func_57()
  {
  	struct<2> Var0;
  	int iVar1;
  	int iVar2;
  	float fVar3;
  	
  	if ((!unk_0xAE06B9E39EBDE049(iLocal_380) || unk_0xA59F96B50B97E63C(iLocal_380, 0)) || unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  	{
  		return;
  	}
  	if (!func_77(&uLocal_249))
  	{
  		func_244(&uLocal_249);
  	}
  	if (!func_77(&uLocal_252))
  	{
  		func_244(&uLocal_252);
  	}
  	fVar3 = SYSTEM::VDIST2(unk_0x3E4D3CCC220BDFB1(unk_0x9B0761B4C3EB8BC7(), 1), unk_0x3E4D3CCC220BDFB1(iLocal_380, 1));
  	if (iLocal_401 < 7)
  	{
  		if (iLocal_401 <= 0)
  		{
  			if (func_137(&uLocal_249) > 0.2f)
  			{
  				iVar1 = unk_0x344C570D6F8700DF(0, 7);
  				unk_0xBE20AB8238688965(&uLocal_400, iVar1);
  				StringCopy(&Var0, "DRF_RUNOFF_", 16);
  				StringIntConCat(&Var0, iVar1 + 1, 16);
  				func_58(&uLocal_63, "DrfAud", "DRF_RUNOFF", &Var0, 8, 0, 0);
  				iLocal_401 = 1;
  				func_121(&uLocal_249);
  			}
  		}
  		else if (func_137(&uLocal_249) > 12f)
  		{
  			if (fVar3 <= 144f && !unk_0x52E882C2C2A2EA7B(unk_0x9B0761B4C3EB8BC7()))
  			{
  				iVar1 = unk_0x344C570D6F8700DF(0, (7 - iLocal_401));
  				while (iVar2 >= 0 && iVar2 < 7)
  				{
  					if (!unk_0xCE990E643CD9D0E5(uLocal_400, iVar2))
  					{
  						if (iVar1 == 0)
  						{
  							unk_0xBE20AB8238688965(&uLocal_400, iVar2);
  							iVar1 = iVar2;
  							iVar2 = -2;
  						}
  						else
  						{
  							iVar1 = (iVar1 - 1);
  						}
  					}
  					iVar2++;
  				}
  				StringCopy(&Var0, "DRF_RUNOFF_", 16);
  				StringIntConCat(&Var0, iVar1 + 1, 16);
  				func_58(&uLocal_63, "DrfAud", "DRF_RUNOFF", &Var0, 8, 0, 0);
  				iLocal_401++;
  				func_121(&uLocal_249);
  			}
  			else
  			{
  				func_51(&uLocal_249, 6f);
  			}
  		}
  	}
  	if (iLocal_403 < 8)
  	{
  		if (iLocal_403 <= 0)
  		{
  			if (func_137(&uLocal_252) > 1f && !unk_0x52E882C2C2A2EA7B(iLocal_380))
  			{
  				iVar1 = unk_0x344C570D6F8700DF(0, 8);
  				unk_0xBE20AB8238688965(&uLocal_402, iVar1);
  				StringCopy(&Var0, "DRF_CHASE_", 16);
  				StringIntConCat(&Var0, iVar1 + 1, 16);
  				func_58(&uLocal_63, "DrfAud", "DRF_CHASE", &Var0, 8, 0, 0);
  				iLocal_403 = 1;
  				func_121(&uLocal_252);
  			}
  		}
  		else if (func_137(&uLocal_252) > 10.3f)
  		{
  			if (fVar3 <= 2500f && !unk_0x52E882C2C2A2EA7B(iLocal_380))
  			{
  				iVar1 = unk_0x344C570D6F8700DF(0, (8 - iLocal_403));
  				iVar2 = 0;
  				while (iVar2 >= 0)
  				{
  					if (!unk_0xCE990E643CD9D0E5(uLocal_402, iVar2))
  					{
  						if (iVar1 == 0)
  						{
  							unk_0xBE20AB8238688965(&uLocal_402, iVar2);
  							iVar1 = iVar2;
  							iVar2 = -2;
  						}
  						else
  						{
  							iVar1 = (iVar1 - 1);
  						}
  					}
  					iVar2++;
  				}
  				StringCopy(&Var0, "DRF_CHASE_", 16);
  				StringIntConCat(&Var0, iVar1 + 1, 16);
  				func_58(&uLocal_63, "DrfAud", "DRF_CHASE", &Var0, 8, 0, 0);
  				iLocal_403++;
  				func_121(&uLocal_252);
  			}
  			else
  			{
  				func_51(&uLocal_252, 5f);
  			}
  		}
  	}
  	if (((!iLocal_410 && iLocal_401 >= 1) && iLocal_403 >= 1) && !unk_0x2F80DB5A41D045E6())
  	{
  		iLocal_410 = 1;
  	}
  }
  
  int func_58(var uParam0, char* sParam1, char* sParam2, char* sParam3, int iParam4, int iParam5, int iParam6)
  {
  	func_73(uParam0, 145, sParam1, iParam5, iParam6, 0);
  	if (iParam4 > 7)
  	{
  		if (iParam4 < 12)
  		{
  			iParam4 = 7;
  		}
  	}
  	Global_21012 = 0;
  	Global_21019 = 0;
  	Global_21014 = 0;
  	Global_21996 = 1;
  	Global_21998 = 0;
  	Global_22002 = 0;
  	StringCopy(&Global_22009, sParam3, 24);
  	Global_2621441 = 0;
  	return func_59(sParam2, iParam4, 0);
  }
  
  int func_59(char* sParam0, int iParam1, bool bParam2)
  {
  	Global_21006 = 0;
  	if (Global_21005 == 0 || Global_21007 == 2)
  	{
  		if (Global_21005 != 0)
  		{
  			if (iParam1 > Global_21007)
  			{
  				if (Global_21012 == 0)
  				{
  					unk_0xBE4122AC23440E7D(0);
  					Global_19681.f_1 = 3;
  					Global_21005 = 0;
  					Global_21006 = 1;
  					Global_21058 = 0;
  					Global_21001 = 0;
  					Global_21002 = 0;
  					Global_21016 = 0;
  					Global_21015 = 0;
  					Global_19680 = 0;
  				}
  				else
  				{
  					func_72();
  					return 0;
  				}
  			}
  			else
  			{
  				return 0;
  			}
  		}
  		if (unk_0x6A5CC4A2C9D9ED8D())
  		{
  			return 0;
  		}
  		if (func_71(8, -1))
  		{
  			return 0;
  		}
  		Global_21081 = { Global_21075 };
  		func_70();
  		Global_20294 = { Global_20459 };
  		Global_21011 = Global_21012;
  		Global_21018 = Global_21019;
  		Global_2621442 = Global_2621441;
  		Global_21020 = { Global_21036 };
  		Global_21013 = Global_21014;
  		Global_21995 = Global_21996;
  		Global_22003 = { Global_22009 };
  		Global_21997 = Global_21998;
  		Global_21999 = Global_22000;
  		Global_22001 = Global_22002;
  		Global_20624.f_370 = Global_21994;
  		Global_20624.f_368 = Global_21992;
  		Global_20624.f_369 = Global_21993;
  		Global_21001 = Global_21002;
  		if (Global_21011)
  		{
  			unk_0xD2459066EA58CE43(&Global_7551, 20);
  			unk_0xD2459066EA58CE43(&Global_7552, 17);
  			unk_0xD2459066EA58CE43(&Global_7553, 0);
  			if (bParam2)
  			{
  				func_69();
  				if (Global_8356[Global_19681 /*2811*/][0 /*281*/].f_259 == 2)
  				{
  					if (iParam1 == 13)
  					{
  					}
  					else
  					{
  						return 0;
  					}
  				}
  				if (Global_19681.f_1 > 3)
  				{
  					return 0;
  				}
  			}
  			if (Global_19647 == 1)
  			{
  				return 0;
  			}
  			if (unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  			{
  				if (unk_0x42A04E707DE50816(unk_0x9B0761B4C3EB8BC7()))
  				{
  					return 0;
  				}
  				if (func_68())
  				{
  					return 0;
  				}
  				if (unk_0x7587087519CF4F83(unk_0x9B0761B4C3EB8BC7()))
  				{
  					return 0;
  				}
  				if (unk_0xCED6B5226244381C(unk_0x9B0761B4C3EB8BC7()))
  				{
  					return 0;
  				}
  				if (unk_0xAACBFCE60AF94F2D(unk_0x9B0761B4C3EB8BC7()))
  				{
  					return 0;
  				}
  				if (unk_0x02D1369035663875(unk_0x9B0761B4C3EB8BC7(), joaat("gadget_parachute")))
  				{
  					return 0;
  				}
  				if (!Global_76833)
  				{
  					if (unk_0xE72C9284B5143451(unk_0x9B0761B4C3EB8BC7()))
  					{
  						return 0;
  					}
  					if (unk_0x5197F8CD4A72E68F(unk_0x460153A63B9477BC()))
  					{
  						return 0;
  					}
  					if (unk_0x887D491E579FA61E(unk_0x9B0761B4C3EB8BC7()))
  					{
  						return 0;
  					}
  					if (unk_0x4C9EC9A10C274889(unk_0x460153A63B9477BC(), 0))
  					{
  						return 0;
  					}
  				}
  			}
  			if (func_67())
  			{
  				return 0;
  			}
  			else
  			{
  				switch (Global_19681.f_1)
  				{
  					case 7:
  						return 0;
  						break;
  					
  					case 8:
  						return 0;
  						break;
  					
  					case 9:
  						break;
  					
  					case 10:
  						break;
  					
  					default:
  						break;
  				}
  				if (unk_0xCE990E643CD9D0E5(Global_7551, 9))
  				{
  					return 0;
  				}
  			}
  			func_66();
  			Global_21015 = bParam2;
  		}
  		Global_21007 = iParam1;
  		StringCopy(&Global_20624, sParam0, 24);
  		Global_19871 = 0;
  		func_65();
  		func_60();
  		return 1;
  	}
  	if (Global_21005 == 5)
  	{
  		return 0;
  	}
  	if (iParam1 < Global_21007 || iParam1 == Global_21007)
  	{
  		return 0;
  	}
  	if (iParam1 == 2)
  	{
  	}
  	else
  	{
  		func_72();
  	}
  	return 0;
  }
  
  void func_60()
  {
  	if (!func_61())
  	{
  		return;
  	}
  	if (Global_21011)
  	{
  		MemCopy(&(Global_1703978.f_1), {Global_20624}, 4);
  		Global_1703978 = Global_6866;
  		Global_1703978.f_6 = Global_21015;
  	}
  }
  
  int func_61()
  {
  	if (!Global_262145.f_28160)
  	{
  		return 0;
  	}
  	if (!Global_76833)
  	{
  		return 0;
  	}
  	if (unk_0x460153A63B9477BC() == func_64())
  	{
  		return 0;
  	}
  	if (func_62(unk_0x460153A63B9477BC()))
  	{
  		return 0;
  	}
  	if (unk_0xCE990E643CD9D0E5(Global_1630317[unk_0x460153A63B9477BC() /*595*/].f_1, 7))
  	{
  		return 0;
  	}
  	if (unk_0xFC559366953F62B3())
  	{
  		return 0;
  	}
  	return 1;
  }
  
  bool func_62(int iParam0)
  {
  	return func_63(iParam0, 20);
  }
  
  bool func_63(int iParam0, int iParam1)
  {
  	return unk_0xCE990E643CD9D0E5(Global_1630317[iParam0 /*595*/].f_11.f_4, iParam1);
  }
  
  int func_64()
  {
  	return -1;
  }
  
  void func_65()
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 <= 69)
  	{
  		StringCopy(&(Global_19873[iVar0 /*6*/]), "", 24);
  		iVar0++;
  	}
  	unk_0xBE4122AC23440E7D(0);
  	Global_21005 = 1;
  }
  
  void func_66()
  {
  	Global_21058 = Global_21057;
  	Global_21052 = Global_21053;
  	Global_21099 = { Global_21087 };
  	Global_21105 = { Global_21093 };
  	Global_21060 = Global_21059;
  	Global_21129 = { Global_21111 };
  	Global_21135 = { Global_21117 };
  	Global_21141 = { Global_21123 };
  	Global_21147 = { Global_21153 };
  	Global_6866 = Global_6867;
  	Global_6868 = Global_6869;
  	Global_21016 = Global_21017;
  	Global_21018 = Global_21019;
  	Global_21020 = { Global_21036 };
  	Global_21009 = Global_21010;
  	Global_22021 = 0;
  	Global_21054 = 0;
  	Global_21055 = 0;
  	unk_0xD2459066EA58CE43(&Global_7552, 16);
  }
  
  int func_67()
  {
  	if (Global_19681.f_1 == 1 || Global_19681.f_1 == 0)
  	{
  		return 1;
  	}
  	return 0;
  }
  
  int func_68()
  {
  	int iVar0;
  	int iVar1;
  	
  	if (Global_76833)
  	{
  		iVar0 = 0;
  		unk_0x1386E5E658CE3032(unk_0x9B0761B4C3EB8BC7(), &iVar1, 1);
  		if (unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  		{
  			if ((iVar1 == joaat("weapon_sniperrifle") || iVar1 == joaat("weapon_heavysniper")) || iVar1 == joaat("weapon_remotesniper"))
  			{
  				iVar0 = 1;
  			}
  		}
  		if (unk_0x5BFE1F305D18843B() && iVar0 == 1)
  		{
  			return 1;
  		}
  		else
  		{
  			return 0;
  		}
  	}
  	if (unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  	{
  		if (unk_0xD15202C6B03220B8(unk_0x9B0761B4C3EB8BC7(), 78, 1))
  		{
  			return 1;
  		}
  		else
  		{
  			return 0;
  		}
  	}
  	return 1;
  }
  
  void func_69()
  {
  	if (func_33(14))
  	{
  		if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  		{
  			if (unk_0x36FE6D3220816ADA(unk_0x9B0761B4C3EB8BC7()) == Global_111858.f_28046[0 /*29*/])
  			{
  				Global_19681 = 0;
  			}
  			else if (unk_0x36FE6D3220816ADA(unk_0x9B0761B4C3EB8BC7()) == Global_111858.f_28046[1 /*29*/])
  			{
  				Global_19681 = 1;
  			}
  			else if (unk_0x36FE6D3220816ADA(unk_0x9B0761B4C3EB8BC7()) == Global_111858.f_28046[2 /*29*/])
  			{
  				Global_19681 = 2;
  			}
  			else
  			{
  				Global_19681 = 0;
  			}
  		}
  	}
  	else
  	{
  		Global_19681 = func_40();
  		if (Global_19681 == 145)
  		{
  			Global_19681 = 3;
  		}
  		if (Global_76833)
  		{
  			Global_19681 = 3;
  		}
  		if (Global_19681 > 3)
  		{
  			Global_19681 = 3;
  		}
  	}
  }
  
  void func_70()
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 <= 15)
  	{
  		Global_20294[iVar0 /*10*/] = 0;
  		StringCopy(&(Global_20294[iVar0 /*10*/].f_1), "", 24);
  		Global_20294[iVar0 /*10*/].f_7 = 0;
  		Global_20294[iVar0 /*10*/].f_8 = 0;
  		iVar0++;
  	}
  	Global_20294.f_161 = -99;
  	Global_20294.f_162 = { 0f, 0f, 0f };
  }
  
  bool func_71(int iParam0, int iParam1)
  {
  	switch (iParam0)
  	{
  		case 5:
  			if (iParam1 > -1)
  			{
  				return Global_1377236.f_203[iParam1];
  			}
  			break;
  	}
  	return unk_0xCE990E643CD9D0E5(Global_1377236.f_1048, iParam0);
  }
  
  void func_72()
  {
  	unk_0x62B2C9892E3E142D();
  	Global_22016 = 0;
  	if ((unk_0x6B12213471F330A3() || Global_19681.f_1 == 9) || Global_19680 == 1)
  	{
  		unk_0xBE4122AC23440E7D(0);
  		Global_21005 = 6;
  		Global_19681.f_1 = 3;
  		return;
  	}
  	if (unk_0x6A5CC4A2C9D9ED8D())
  	{
  		unk_0xBE4122AC23440E7D(1);
  		Global_21005 = 6;
  		return;
  	}
  }
  
  void func_73(var uParam0, int iParam1, char* sParam2, int iParam3, int iParam4, int iParam5)
  {
  	Global_20459 = { *uParam0 };
  	Global_6867 = iParam1;
  	StringCopy(&Global_21075, sParam2, 24);
  	Global_21994 = iParam5;
  	if (iParam3 == 0)
  	{
  		Global_21992 = 1;
  		Global_21990 = 0;
  	}
  	else
  	{
  		Global_21992 = 0;
  		Global_21990 = 1;
  	}
  	if (iParam4 == 0)
  	{
  		Global_21993 = 1;
  		Global_21991 = 0;
  	}
  	else
  	{
  		Global_21993 = 0;
  		Global_21991 = 1;
  	}
  }
  
  float func_74(int iParam0, int iParam1, int iParam2)
  {
  	struct<3> Var0;
  	struct<3> Var1;
  	
  	if (!unk_0xA59F96B50B97E63C(iParam0, 0))
  	{
  		Var0 = { unk_0x3E4D3CCC220BDFB1(iParam0, 1) };
  	}
  	else
  	{
  		Var0 = { unk_0x3E4D3CCC220BDFB1(iParam0, 0) };
  	}
  	if (!unk_0xA59F96B50B97E63C(iParam1, 0))
  	{
  		Var1 = { unk_0x3E4D3CCC220BDFB1(iParam1, 1) };
  	}
  	else
  	{
  		Var1 = { unk_0x3E4D3CCC220BDFB1(iParam1, 0) };
  	}
  	return unk_0x272784C60C397DB6(Var0, Var1, iParam2);
  }
  
  void func_75(var uParam0, int iParam1, int iParam2, char* sParam3, int iParam4, int iParam5)
  {
  	if ((uParam0[iParam1 /*10*/])->f_7 == 1)
  	{
  	}
  	(*uParam0)[iParam1 /*10*/] = iParam2;
  	StringCopy(&((uParam0[iParam1 /*10*/])->f_1), sParam3, 24);
  	(uParam0[iParam1 /*10*/])->f_7 = 1;
  	(uParam0[iParam1 /*10*/])->f_8 = iParam4;
  	(uParam0[iParam1 /*10*/])->f_9 = iParam5;
  	if (!Global_76833)
  	{
  		if (!unk_0x5AEB5DDFFAD43CA5(iParam2))
  		{
  			if ((uParam0[iParam1 /*10*/])->f_8 == 0)
  			{
  				unk_0x83BBFE5E96C64FBA(iParam2, 0);
  			}
  			else
  			{
  				unk_0x83BBFE5E96C64FBA(iParam2, 1);
  			}
  		}
  		if (!unk_0x5AEB5DDFFAD43CA5(iParam2))
  		{
  			if ((uParam0[iParam1 /*10*/])->f_9 == 0)
  			{
  				unk_0xE61672E3FEF081AC(iParam2, 0);
  			}
  			else
  			{
  				unk_0xE61672E3FEF081AC(iParam2, 1);
  			}
  		}
  	}
  }
  
  float func_76(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 103.3f;
  		
  		case 1:
  			return 55.7f;
  		
  		case 4:
  			return 62.2f;
  		
  		default:
  	}
  	return 0f;
  }
  
  bool func_77(var uParam0)
  {
  	return unk_0xCE990E643CD9D0E5(*uParam0, 1);
  }
  
  Vector3 func_78(struct<3> Param0)
  {
  	float fVar0;
  	float fVar1;
  	
  	fVar0 = SYSTEM::VMAG(Param0);
  	if (fVar0 != 0f)
  	{
  		fVar1 = (1f / fVar0);
  		Param0 = { Param0 * Vector(fVar1, fVar1, fVar1) };
  	}
  	else
  	{
  		Param0.x = 0f;
  		Param0.f_1 = 0f;
  		Param0.f_2 = 0f;
  	}
  	return Param0;
  }
  
  Vector3 func_79(int iParam0)
  {
  	var uVar0;
  	var uVar1;
  	var uVar2;
  	var uVar3;
  	var uVar4;
  	struct<2> Var5;
  	
  	if (unk_0xA59F96B50B97E63C(iParam0, 0))
  	{
  		return 0f, 0f, 0f;
  	}
  	unk_0x606733C4854DD904(iParam0, &uVar0, &uVar1, &uVar2, &uVar3);
  	unk_0x140662B520844E45(unk_0x36FE6D3220816ADA(iParam0), &uVar4, &Var5);
  	return Vector(10.7548f, -555.7014f, -1900.292f) - Vector(Var5, Var5, Var5) * Vector(0f, -0.7771f, -0.6293f) - Vector(Var5.f_1, Var5.f_1, Var5.f_1) * Vector(0f, -0.6293f, 0.7771f);
  }
  
  void func_80(bool bParam0, bool bParam1, int iParam2, int iParam3, bool bParam4, bool bParam5, bool bParam6)
  {
  	if (bParam0)
  	{
  		unk_0x967251943AD606D5(unk_0x460153A63B9477BC(), 0);
  		unk_0xAF3D0236D181BE08(unk_0x460153A63B9477BC(), 1);
  		unk_0x23F7D177F71818C3(unk_0x460153A63B9477BC(), 1);
  		func_87(1);
  		unk_0x86529CF5C6F9D6AE();
  		unk_0x6D3823E5CADC313B();
  		if (Global_19681.f_1 > 3 && !bParam6)
  		{
  			if (unk_0x6B12213471F330A3())
  			{
  				unk_0xBE4122AC23440E7D(0);
  			}
  			if (!func_67())
  			{
  				Global_19681.f_1 = 3;
  			}
  			Global_21005 = 5;
  		}
  		func_86(1, iParam3, iParam2, 0);
  		Global_61723 = 1;
  		Global_74033 = 1;
  		Global_76831 = 1;
  	}
  	else
  	{
  		func_87(0);
  		unk_0x51C14866CB8A57BF();
  		Global_61723 = 0;
  		if (bParam1)
  		{
  			unk_0x86A985A804621EB7();
  		}
  		unk_0xAF3D0236D181BE08(unk_0x460153A63B9477BC(), 0);
  		unk_0x23F7D177F71818C3(unk_0x460153A63B9477BC(), 0);
  		func_86(0, iParam3, iParam2, 0);
  		if (unk_0x25DDB354A40FFCDB())
  		{
  			if (((((!unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()) && !func_84(unk_0x460153A63B9477BC())) && !func_82(unk_0x460153A63B9477BC(), 0)) && !func_81()) && !bParam4) && !bParam5)
  			{
  				unk_0x0312E5501F93E5AB(unk_0x9B0761B4C3EB8BC7(), 0);
  			}
  		}
  		else if (((!unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()) && !func_84(unk_0x460153A63B9477BC())) && !bParam4) && !bParam5)
  		{
  			unk_0x0312E5501F93E5AB(unk_0x9B0761B4C3EB8BC7(), 0);
  		}
  		Global_76831 = 0;
  	}
  }
  
  bool func_81()
  {
  	return unk_0xCE990E643CD9D0E5(Global_1590682[unk_0x460153A63B9477BC() /*883*/].f_39.f_18, 14);
  }
  
  bool func_82(int iParam0, int iParam1)
  {
  	bool bVar0;
  	
  	if (iParam0 == unk_0x460153A63B9477BC())
  	{
  		bVar0 = func_83(-1, 0) == 8;
  	}
  	else
  	{
  		bVar0 = Global_1590682[iParam0 /*883*/].f_211 == 8;
  	}
  	if (iParam1 == 1)
  	{
  		if (unk_0x166E920FB00B2DBB(iParam0))
  		{
  			bVar0 = unk_0x6CC163E30ECE0790(iParam0) == 8;
  		}
  	}
  	return bVar0;
  }
  
  int func_83(int iParam0, bool bParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar1 = iParam0;
  	if (iVar1 == -1)
  	{
  		iVar1 = func_11();
  	}
  	if (Global_1312876[iVar1] == 1)
  	{
  		if (bParam1)
  		{
  		}
  		iVar0 = 8;
  	}
  	else
  	{
  		iVar0 = Global_1312757[iVar1];
  		if (bParam1)
  		{
  		}
  	}
  	return iVar0;
  }
  
  int func_84(int iParam0)
  {
  	if (func_82(iParam0, 0))
  	{
  		return 1;
  	}
  	if (func_85())
  	{
  		if (iParam0 == unk_0x460153A63B9477BC())
  		{
  			return 1;
  		}
  	}
  	if (unk_0xCE990E643CD9D0E5(Global_2425869[iParam0 /*443*/].f_199, 2))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  bool func_85()
  {
  	return unk_0xCE990E643CD9D0E5(Global_2359302, 3);
  }
  
  int func_86(int iParam0, var uParam1, var uParam2, int iParam3)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	if (unk_0xF8EDFF98A9C94C74())
  	{
  		if (unk_0x93914DE00496FC78() != iParam0 && uParam2)
  		{
  			unk_0x6D883C27212BF370(iParam0, uParam1, 1, iParam3);
  			iVar0 = 1;
  		}
  	}
  	return iVar0;
  }
  
  void func_87(int iParam0)
  {
  	if (iParam0 == 1)
  	{
  		unk_0xBE20AB8238688965(&Global_7551, 13);
  	}
  	else
  	{
  		unk_0xD2459066EA58CE43(&Global_7551, 13);
  	}
  }
  
  Vector3 func_88(int iParam0, struct<3> Param1)
  {
  	var uVar0;
  	
  	Param1.f_2 = (Param1.f_2 + 0.15f);
  	if (unk_0xE5CC8E2D904E42CE(Param1, &uVar0, 0, 0))
  	{
  		Param1.f_2 = uVar0;
  	}
  	if (func_89(iParam0))
  	{
  		unk_0x03D382CB0B44E2FC(iParam0, Param1, 1, 0, 0, 1);
  	}
  	return Param1;
  }
  
  bool func_89(int iParam0)
  {
  	if (!unk_0xAE06B9E39EBDE049(iParam0))
  	{
  		return 0;
  	}
  	return !unk_0xA59F96B50B97E63C(iParam0, 0);
  }
  
  void func_90()
  {
  	float fVar0;
  	
  	if (!unk_0x80FF6C016CDB0FAF(iLocal_381, 0))
  	{
  		unk_0x03A2522C845CFAC6(&iLocal_381);
  		iLocal_381 = unk_0xCE4780E24AFDFBF9(iLocal_57, Local_396, fLocal_399, 1, 1, 0);
  		unk_0x29897D845D2C290B(iLocal_381, 6);
  	}
  	if (unk_0xAE06B9E39EBDE049(iLocal_379))
  	{
  		unk_0x586DDC617E714637(&iLocal_379);
  	}
  	if ((!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0) && !unk_0xA59F96B50B97E63C(iLocal_381, 0)) && unk_0x80FF6C016CDB0FAF(iLocal_381, 0))
  	{
  		unk_0x03D382CB0B44E2FC(unk_0x9B0761B4C3EB8BC7(), -1907.827f, -560.0641f, 10.8064f, 1, 0, 0, 1);
  		unk_0xE922BAA80E8F9324(unk_0x9B0761B4C3EB8BC7(), 260.195f);
  		unk_0x03D382CB0B44E2FC(iLocal_381, Local_396, 1, 0, 0, 1);
  		unk_0xE922BAA80E8F9324(iLocal_381, fLocal_399);
  		if (unk_0xAE06B9E39EBDE049(iLocal_382))
  		{
  			if (!unk_0xA59F96B50B97E63C(iLocal_382, 0))
  			{
  				unk_0xDF6CAD2F6A598A57(iLocal_382);
  				unk_0x0312E5501F93E5AB(iLocal_382, 1);
  				unk_0xD05ED2138B378AF6(iLocal_382, 0);
  				unk_0x03D382CB0B44E2FC(iLocal_382, func_79(iLocal_382), 1, 0, 0, 1);
  				unk_0xE922BAA80E8F9324(iLocal_382, 231f);
  			}
  		}
  		unk_0x2BB0EF9DE445EA13(unk_0x9B0761B4C3EB8BC7());
  		unk_0xC1C7DE768F7675E5(unk_0x9B0761B4C3EB8BC7(), -1);
  		if ((!iLocal_409 || !unk_0xAE06B9E39EBDE049(iLocal_380)) || unk_0xA59F96B50B97E63C(iLocal_380, 0))
  		{
  			iLocal_380 = unk_0xB3116B49FE00E2F1(26, iLocal_56, -1899.7f, -562.2f, 10.7945f, 217.9453f, 1, 1);
  			unk_0x45F588C0DD767737(iLocal_380, 3, iLocal_404, uLocal_405, 0);
  			unk_0x45F588C0DD767737(iLocal_380, 4, 0, uLocal_406, 0);
  			unk_0x055A73D4AFD214F1(iLocal_380, (2000 + unk_0x344C570D6F8700DF(5, 301)));
  			unk_0xA5EAD2ACE2C8BBB2(iLocal_380, 1, 1);
  			unk_0x4E65320BC9AD521C(iLocal_380, 1);
  			func_75(&uLocal_63, 1, iLocal_380, "FRIEDLANDER", 0, 1);
  			iLocal_409 = 1;
  		}
  		else
  		{
  			unk_0x03D382CB0B44E2FC(iLocal_380, -1899.7f, -562.2f, 10.7945f, 1, 0, 0, 1);
  			unk_0xE922BAA80E8F9324(iLocal_380, 217.9453f);
  			unk_0x2BB0EF9DE445EA13(iLocal_380);
  			unk_0xC1C7DE768F7675E5(iLocal_380, -1);
  		}
  		if (unk_0x03DB5C6AABF8DA46())
  		{
  			if (!iLocal_408)
  			{
  				unk_0x73287EF8736B0258(-1905.5f, -557.8768f, 12.4125f, func_78(Vector(12.4748f, -560.2881f, -1904.709f) - Vector(12.4125f, -557.8768f, -1905.5f)), 100f, 0);
  				iLocal_408 = 1;
  				SYSTEM::WAIT(0);
  			}
  			while (!unk_0x0C7F95EB5CFEFB8B() || (!unk_0x5AEB5DDFFAD43CA5(iLocal_380) && !unk_0x51E339346E2220A4(iLocal_380)))
  			{
  				SYSTEM::WAIT(0);
  			}
  			if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  			{
  				unk_0x9B94F6169B0DAEFD(unk_0x9B0761B4C3EB8BC7());
  			}
  			unk_0xFD45D90342D2A0CD(500);
  		}
  		fVar0 = 2f;
  		if (!unk_0x5AEB5DDFFAD43CA5(iLocal_380) && !unk_0xA59F96B50B97E63C(iLocal_381, 0))
  		{
  			unk_0x9DC06E2A59C5AEBB(&uLocal_386);
  			unk_0xC584E49FC3559A86(0, iLocal_381, -1, -1, fVar0, 1, 0);
  			unk_0xDEFE57D3575A1A8A(0, iLocal_381, -1783.73f, -629.1945f, 9.89f, 20f, 0, unk_0x36FE6D3220816ADA(iLocal_381), 786484, 10f, 12f);
  			unk_0xD8C1C38EE8BC2AC6(0, iLocal_381, 19f, 786484);
  			unk_0x19F29730874AD6F1(uLocal_386);
  			unk_0x9B6EC2CECE1010EF(iLocal_380, uLocal_386);
  			unk_0x854FB153F2EA838B(iLocal_380, -530524, 1, 1, 1);
  		}
  		uLocal_383 = unk_0x2BE000892D65EA2A(iLocal_380);
  		unk_0xECC9A00CF1181EC2(uLocal_383, 1);
  		func_121(&uLocal_237);
  		unk_0x4C4FC7841A5FB983(0f);
  		unk_0x7965943E39128B42(0f, 1065353216);
  		uLocal_385 = unk_0xB5B018137EBE06D3(26379945, -1904.615f, -558.892f, 12.8339f, -9.0794f, 0f, -127.4455f, 50f, 1, 2);
  		unk_0x3ED9330214992278(1, 0, 3000, 1, 0, 0);
  		unk_0x8CFF639CEFF5CF16(0);
  		unk_0x644F1D0C5427A242(0);
  	}
  	unk_0x555EE41D7C7078E6(-1886.884f, -571.1942f, 11.3828f, 2.5f, 1, 1, 0, 0);
  	unk_0xCE4780E24AFDFBF9(iLocal_58, -1886.884f, -571.1942f, 11.3828f, -40.83f, 1, 1, 0);
  }
  
  int func_91()
  {
  	if (unk_0xF0C12886E5C1B20E())
  	{
  		return 0;
  	}
  	if (unk_0x1BD7199394D7F19A(0, 18) || unk_0x1BD7199394D7F19A(2, 18))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  void func_92()
  {
  	func_93();
  }
  
  void func_93()
  {
  	Global_19871 = 0;
  	func_94();
  }
  
  void func_94()
  {
  	unk_0x62B2C9892E3E142D();
  	Global_22016 = 0;
  	if (unk_0x6A5CC4A2C9D9ED8D())
  	{
  		unk_0xBE4122AC23440E7D(0);
  		Global_21005 = 6;
  	}
  }
  
  int func_95(int iParam0, int iParam1, var uParam2)
  {
  	int iVar0;
  	char cVar1[32];
  	char cVar2[16];
  	struct<8> Var3;
  	char cVar4[16];
  	char cVar5[24];
  	char cVar6[24];
  	
  	iVar0 = 522;
  	StringCopy(&cVar1, "missdrfriedlanderdrf_idles", 32);
  	StringCopy(&cVar2, "facials@drf", 16);
  	Var3 = { func_97(iParam0) };
  	StringCopy(&cVar4, "drf_idle_drf", 16);
  	StringCopy(&cVar5, "michael_concerned_01", 24);
  	StringCopy(&cVar6, "drfriedlander_idle_01", 24);
  	if (func_96())
  	{
  		if (!unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()) && !unk_0x5AEB5DDFFAD43CA5(iParam1))
  		{
  			if (!unk_0x9934470AA0A08B57(unk_0x9B0761B4C3EB8BC7(), &cVar1, &Var3, 3))
  			{
  				unk_0x756D74A3EF0AB788(unk_0x9B0761B4C3EB8BC7(), &cVar1, &Var3, 2f, -1000f, -1, iVar0, 0, 0, 0, 0);
  				unk_0x756D74A3EF0AB788(iParam1, &cVar1, &cVar4, 2f, -1000f, -1, iVar0, 0, 0, 0, 0);
  				unk_0x756D74A3EF0AB788(unk_0x9B0761B4C3EB8BC7(), &cVar2, &cVar5, 2f, -1000f, -1, 32 | iVar0, 0, 0, 4, 0);
  				unk_0x756D74A3EF0AB788(iParam1, &cVar2, &cVar6, 2f, -1000f, -1, 32 | iVar0, 0, 0, 0, 0);
  				unk_0x1322CA891C5DF18A(unk_0x9B0761B4C3EB8BC7(), 0, 0);
  				unk_0x1322CA891C5DF18A(iParam1, 0, 0);
  				if (unk_0x40397A9A17EEC1C5(*uParam2))
  				{
  					unk_0xB8B0F7C8C1548C5B(*uParam2, 0);
  				}
  				if (!unk_0x40397A9A17EEC1C5(*uParam2))
  				{
  					*uParam2 = unk_0x7CD2F129A4A837A8(26379945, 0);
  				}
  				unk_0x8A3898631CCEC253(*uParam2, -1906.842f, -572.3835f, 19.1046f);
  				unk_0xBF92D2A60C7C686E(*uParam2, -1.5254f, 0.0003f, 171.4657f, 2);
  				unk_0xD64C2E5B5BA2D347(*uParam2, 17f);
  				unk_0x856549C07003344B(*uParam2, 1);
  				unk_0x3ED9330214992278(1, 0, 3000, 1, 0, 0);
  			}
  			else if (unk_0x4C06B15B376AA145(unk_0x9B0761B4C3EB8BC7(), &cVar1, &Var3) >= 0.99f)
  			{
  				return 1;
  			}
  		}
  	}
  	return 0;
  }
  
  bool func_96()
  {
  	return (unk_0xC614DDE265D18415("missdrfriedlanderdrf_idles") && unk_0xC614DDE265D18415("facials@drf"));
  }
  
  struct<8> func_97(int iParam0)
  {
  	struct<8> Var0;
  	
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var0, "hand2chin_michael", 32);
  			break;
  		
  		case 1:
  			StringCopy(&Var0, "hand2chin_michael", 32);
  			break;
  		
  		case 4:
  			StringCopy(&Var0, "leanback_michael", 32);
  			break;
  		
  		default:
  			StringCopy(&Var0, "uneasy_michael", 32);
  			break;
  	}
  	return Var0;
  }
  
  int func_98(var uParam0, char* sParam1, char* sParam2, int iParam3, int iParam4, int iParam5, int iParam6)
  {
  	func_73(uParam0, 145, sParam1, iParam4, iParam5, iParam6);
  	if (iParam3 > 7)
  	{
  		if (iParam3 < 12)
  		{
  			iParam3 = 7;
  		}
  	}
  	Global_21012 = 0;
  	Global_21014 = 0;
  	Global_21019 = 0;
  	Global_21996 = 0;
  	Global_21998 = 0;
  	Global_22002 = 0;
  	Global_2621441 = 0;
  	return func_59(sParam2, iParam3, 0);
  }
  
  int func_99(var uParam0, var uParam1, var uParam2)
  {
  	bool bVar0;
  	var uVar1;
  	
  	if (func_77(uParam0) && func_137(uParam0) > 1.3f)
  	{
  		bVar0 = unk_0x1BD7199394D7F19A(2, 201);
  		uVar1 = unk_0x1BD7199394D7F19A(2, 202);
  		if (bVar0 || uVar1)
  		{
  			if (bVar0)
  			{
  				*uParam2 = 1;
  			}
  			else
  			{
  				*uParam2 = 0;
  			}
  			if (func_108("SHRINK_ACCEPT"))
  			{
  				unk_0xD289B55B6AADBA10(1);
  			}
  			func_107(uParam1);
  			return 1;
  		}
  	}
  	func_100(uParam1, 1128792064, 1, 0, 1, 1065353216);
  	return 0;
  }
  
  void func_100(var uParam0, int iParam1, int iParam2, bool bParam3, bool bParam4, int iParam5)
  {
  	var uVar0;
  	var uVar1;
  	bool bVar2;
  	var uVar3;
  	bool bVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	float fVar8;
  	
  	if (((unk_0x5DA78AD6801A0523() || unk_0x5B772EFCB84373BE()) || unk_0x03DB5C6AABF8DA46()) || unk_0x463040FA7A1E5224())
  	{
  		if (!bParam3)
  		{
  			return;
  		}
  	}
  	if (!func_106(uParam0))
  	{
  		return;
  	}
  	unk_0xEF408E7129CB009B();
  	unk_0x9D15035C6653D1B1(iParam2);
  	if (!func_105(uParam0->f_1, 256) || (func_105(uParam0->f_1, 8192) && unk_0x628AF533B14EF310(2)))
  	{
  		unk_0x830F007E19C63E14(*uParam0, "SET_CLEAR_SPACE");
  		unk_0x49B9B8101B158AEE(iParam1);
  		unk_0xE1FDD153F5858534();
  		unk_0x830F007E19C63E14(*uParam0, "SET_MAX_WIDTH");
  		unk_0x49B9B8101B158AEE(iParam5);
  		unk_0xE1FDD153F5858534();
  		unk_0x830F007E19C63E14(*uParam0, "SET_DATA_SLOT_EMPTY");
  		unk_0xE1FDD153F5858534();
  		if (unk_0xF8EDFF98A9C94C74())
  		{
  			unk_0x830F007E19C63E14(*uParam0, "TOGGLE_MOUSE_BUTTONS");
  			unk_0xF1B28F753235CE2A(func_105(uParam0->f_1, 4096));
  			unk_0xE1FDD153F5858534();
  		}
  		iVar5 = 0;
  		iVar6 = 0;
  		while (iVar6 < uParam0->f_123)
  		{
  			switch (uParam0->f_2[iVar6 /*15*/].f_2)
  			{
  				case 0:
  					bVar4 = true;
  					break;
  				
  				case 1:
  					bVar4 = unk_0xC1F43F8D0D5EB664(2);
  					break;
  				
  				case 2:
  					bVar4 = !unk_0xC1F43F8D0D5EB664(2);
  					break;
  				
  				default:
  					bVar4 = false;
  					break;
  			}
  			if (bVar4)
  			{
  				if (unk_0x830F007E19C63E14(*uParam0, "SET_DATA_SLOT"))
  				{
  					unk_0xAD291B8F75D737AD(iVar5);
  					iVar5++;
  					iVar7 = 0;
  					while (iVar7 < uParam0->f_2[iVar6 /*15*/].f_14)
  					{
  						uVar0 = uParam0->f_2[iVar6 /*15*/].f_3[iVar7 /*2*/];
  						uVar1 = uParam0->f_2[iVar6 /*15*/].f_3[iVar7 /*2*/].f_1;
  						bVar2 = unk_0xCE990E643CD9D0E5(uParam0->f_2[iVar6 /*15*/].f_13, iVar7);
  						if (!unk_0xCE990E643CD9D0E5(uParam0->f_2[iVar6 /*15*/].f_12, iVar7))
  						{
  							uVar3 = unk_0xED026A379B794F61(uVar0, uVar1, bVar2);
  						}
  						else
  						{
  							uVar3 = unk_0x32F8D6499042A233(uVar0, uVar1, bVar2);
  						}
  						if (!unk_0x7BCC91F3C1CF24E8(uVar3))
  						{
  							func_104(uVar3);
  						}
  						iVar7++;
  					}
  					if (!unk_0x7BCC91F3C1CF24E8(uParam0->f_2[iVar6 /*15*/]))
  					{
  						func_103(uParam0->f_2[iVar6 /*15*/]);
  					}
  					if (unk_0xF8EDFF98A9C94C74())
  					{
  						if (func_105(uParam0->f_1, 4096))
  						{
  							if (uParam0->f_2[iVar6 /*15*/].f_1)
  							{
  								unk_0xF1B28F753235CE2A(true);
  								unk_0xAD291B8F75D737AD(uParam0->f_2[iVar6 /*15*/].f_3[0 /*2*/].f_1);
  							}
  							else
  							{
  								unk_0xF1B28F753235CE2A(false);
  								unk_0xAD291B8F75D737AD(-1);
  							}
  						}
  					}
  					unk_0xE1FDD153F5858534();
  				}
  			}
  			iVar6++;
  		}
  		fVar8 = func_56(bParam4, func_56(func_105(uParam0->f_1, 32), 1f, 0f), -1f);
  		unk_0x830F007E19C63E14(*uParam0, "DRAW_INSTRUCTIONAL_BUTTONS");
  		unk_0x49B9B8101B158AEE(fVar8);
  		unk_0xE1FDD153F5858534();
  		unk_0x830F007E19C63E14(*uParam0, "SET_BACKGROUND_COLOUR");
  		unk_0x49B9B8101B158AEE(0f);
  		unk_0x49B9B8101B158AEE(0f);
  		unk_0x49B9B8101B158AEE(0f);
  		unk_0x49B9B8101B158AEE(80f);
  		unk_0xE1FDD153F5858534();
  		func_102(&(uParam0->f_1), 256);
  		func_101(&(uParam0->f_1), 128);
  	}
  	unk_0x37FC7E88C7659D33(*uParam0, 255, 255, 255, 0, 0);
  }
  
  void func_101(var uParam0, int iParam1)
  {
  	*uParam0 = (*uParam0 - (*uParam0 && iParam1));
  }
  
  void func_102(var uParam0, int iParam1)
  {
  	*uParam0 = (*uParam0 || iParam1);
  }
  
  void func_103(var uParam0)
  {
  	unk_0xB23270F3D5E62FDE(uParam0);
  	unk_0x2042E9CA4306F725();
  }
  
  void func_104(var uParam0)
  {
  	unk_0x54AED56A452DCB4F(uParam0);
  }
  
  bool func_105(var uParam0, int iParam1)
  {
  	return (uParam0 && iParam1) != 0;
  }
  
  int func_106(var uParam0)
  {
  	if (*uParam0 != 0)
  	{
  		if (unk_0x95EF219D38B20CFF(*uParam0))
  		{
  			func_102(&(uParam0->f_1), 1);
  			return 1;
  		}
  	}
  	return 0;
  }
  
  void func_107(var uParam0)
  {
  	if (*uParam0 != 0)
  	{
  		unk_0x2E352DDBBF674246(uParam0);
  		*uParam0 = 0;
  	}
  	uParam0->f_1 = 0;
  	uParam0->f_123 = 0;
  }
  
  bool func_108(char* sParam0)
  {
  	unk_0x69476B1CA6A9FF80(sParam0);
  	return unk_0x1A3A9FFE5CA6F64B(0);
  }
  
  void func_109(var uParam0, var uParam1, int iParam2)
  {
  	int iVar0;
  	
  	iVar0 = func_120(uParam1->f_20);
  	iVar0 |= 4;
  	iVar0 = (iVar0 || func_110(uParam1, iParam2));
  	iVar0 |= 98304;
  	unk_0xDDBEE500B2E6E7FA(uParam0, iVar0, 8);
  }
  
  int func_110(var uParam0, int iParam1)
  {
  	var uVar0;
  	struct<4> Var1;
  	
  	Var1 = { func_111(uParam0, &uVar0, iParam1, 1) };
  	if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX01"))
  	{
  		return 8;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX02"))
  	{
  		return 16;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX03"))
  	{
  		return 32;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX04"))
  	{
  		return 64;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX05"))
  	{
  		return 128;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX06"))
  	{
  		return 256;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX07"))
  	{
  		return 512;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX08"))
  	{
  		return 1024;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX09"))
  	{
  		return 2048;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX10"))
  	{
  		return 4096;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX11"))
  	{
  		return 8192;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTSX12"))
  	{
  		return 16384;
  	}
  	return 8;
  }
  
  struct<4> func_111(var uParam0, var uParam1, int iParam2, bool bParam3)
  {
  	struct<4> Var0;
  	int iVar1;
  	
  	if (func_119() <= 0)
  	{
  		if (!func_118())
  		{
  			iVar1 = func_115(1, 2, 3, 4, 12);
  		}
  		else if (func_114() >= 1)
  		{
  			iVar1 = func_115(5, 6, 7, 0, 0);
  		}
  		else
  		{
  			iVar1 = func_115(5, 7, 0, 0, 0);
  		}
  	}
  	else if (func_119() >= 2)
  	{
  		iVar1 = func_115(10, 11, 0, 0, 0);
  	}
  	else if (!func_118())
  	{
  		if (iParam2 != 4)
  		{
  			iVar1 = func_115(8, 9, 0, 0, 0);
  		}
  		else
  		{
  			iVar1 = 9;
  		}
  	}
  	else if (iParam2 != 4)
  	{
  		iVar1 = func_115(8, 9, 10, 0, 0);
  	}
  	else
  	{
  		iVar1 = func_115(9, 10, 0, 0, 0);
  	}
  	func_113(uParam0, iVar1);
  	if (bParam3)
  	{
  		func_112(&(Global_111858.f_19957), iVar1, 1);
  	}
  	StringCopy(&Var0, "OBTSX", 16);
  	if (iVar1 < 10)
  	{
  		StringConCat(&Var0, "0", 16);
  	}
  	StringIntConCat(&Var0, iVar1, 16);
  	return Var0;
  }
  
  void func_112(var uParam0, int iParam1, bool bParam2)
  {
  	if (iParam1 < 0 || iParam1 > 12)
  	{
  		return;
  	}
  	iParam1 += 11;
  	if (bParam2)
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_1), iParam1);
  	}
  	else
  	{
  		unk_0xD2459066EA58CE43(&(uParam0->f_1), iParam1);
  	}
  }
  
  void func_113(var uParam0, int iParam1)
  {
  	uParam0->f_19 = iParam1;
  }
  
  int func_114()
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	while (iVar0 < 1)
  	{
  		if (Global_95420[iVar0] > 0)
  		{
  			iVar1++;
  		}
  		iVar0++;
  	}
  	return iVar1;
  }
  
  int func_115(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2[13];
  	
  	iVar0 = 0;
  	while (iVar0 < 13)
  	{
  		iVar2[iVar0] = iVar0;
  		iVar0++;
  	}
  	if ((iParam0 > 0 && iParam0 < 13) && !func_117(&(Global_111858.f_19957), iParam0))
  	{
  		iVar2[iParam0] = 0;
  	}
  	else if ((iParam1 > 0 && iParam1 < 13) && !func_117(&(Global_111858.f_19957), iParam1))
  	{
  		iVar2[iParam1] = 0;
  	}
  	else if ((iParam2 > 0 && iParam2 < 13) && !func_117(&(Global_111858.f_19957), iParam2))
  	{
  		iVar2[iParam2] = 0;
  	}
  	else if ((iParam3 > 0 && iParam3 < 13) && !func_117(&(Global_111858.f_19957), iParam3))
  	{
  		iVar2[iParam3] = 0;
  	}
  	else if ((iParam4 > 0 && iParam4 < 13) && !func_117(&(Global_111858.f_19957), iParam4))
  	{
  		iVar2[iParam4] = 0;
  	}
  	iVar1 = func_116(&iVar2, 13, 1, 13);
  	if (iVar1 > 0)
  	{
  		return iVar1;
  	}
  	if (iParam2 <= 0 || iParam2 >= 13)
  	{
  		iVar1 = unk_0x344C570D6F8700DF(1, 3);
  	}
  	else if (iParam3 <= 0 || iParam3 >= 13)
  	{
  		iVar1 = unk_0x344C570D6F8700DF(1, 4);
  	}
  	else if (iParam4 <= 0 || iParam4 >= 13)
  	{
  		iVar1 = unk_0x344C570D6F8700DF(1, 5);
  	}
  	else
  	{
  		iVar1 = unk_0x344C570D6F8700DF(1, 6);
  	}
  	switch (iVar1)
  	{
  		case 1:
  			return iParam0;
  		
  		case 2:
  			return iParam1;
  		
  		case 3:
  			return iParam2;
  		
  		case 4:
  			return iParam3;
  		
  		case 5:
  			return iParam4;
  		
  		default:
  	}
  	return 0;
  }
  
  int func_116(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	
  	iVar0 = 1;
  	iVar2 = 0;
  	while (iVar0 && iVar2 < 50)
  	{
  		iVar0 = 0;
  		iVar3 = ((unk_0x344C570D6F8700DF(0, 50000) % (iParam3 - iParam2)) + iParam2);
  		iVar1 = 0;
  		while (iVar1 <= (iParam1 - 1))
  		{
  			if ((*iParam0)[iVar1] == iVar3)
  			{
  				iVar0 = 1;
  				iVar1 = 999999;
  			}
  			iVar1++;
  		}
  		iVar2++;
  	}
  	if (iVar2 == 50)
  	{
  		return -1;
  	}
  	return iVar3;
  }
  
  bool func_117(var uParam0, int iParam1)
  {
  	if (iParam1 < 0 || iParam1 > 12)
  	{
  		return 0;
  	}
  	iParam1 += 11;
  	return unk_0xCE990E643CD9D0E5(uParam0->f_1, iParam1);
  }
  
  bool func_118()
  {
  	return Global_95422 > 0;
  }
  
  int func_119()
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	while (iVar0 < 2)
  	{
  		if (Global_95417[iVar0] > 0)
  		{
  			iVar1++;
  		}
  		iVar0++;
  	}
  	return iVar1;
  }
  
  int func_120(int iParam0)
  {
  	if (iParam0 == 0)
  	{
  		return 1;
  	}
  	else if (iParam0 == 1)
  	{
  		return 2;
  	}
  	else if (iParam0 == 2)
  	{
  		return 4;
  	}
  	return 4;
  }
  
  void func_121(var uParam0)
  {
  	func_51(uParam0, 0f);
  }
  
  void func_122()
  {
  	unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 0, 0);
  	func_123(0);
  	unk_0x4CB4237D8858ADA6(19);
  	if (unk_0xC1F43F8D0D5EB664(2))
  	{
  		unk_0x779660A9E5364C4D(2, 200, 0);
  	}
  }
  
  void func_123(int iParam0)
  {
  	if (func_128())
  	{
  		return;
  	}
  	if (!Global_19681.f_1 == 1)
  	{
  		if (func_127(0))
  		{
  			func_124(iParam0);
  		}
  		unk_0xBE20AB8238688965(&Global_7552, 2);
  	}
  }
  
  void func_124(int iParam0)
  {
  	if (func_128())
  	{
  		return;
  	}
  	if (Global_19864)
  	{
  		if (func_126())
  		{
  			func_125(1, 1);
  		}
  		else
  		{
  			func_125(0, 0);
  		}
  	}
  	if (Global_19681.f_1 == 10 || Global_19681.f_1 == 9)
  	{
  		unk_0xBE20AB8238688965(&Global_7552, 16);
  	}
  	if (unk_0x6B12213471F330A3())
  	{
  		unk_0xBE4122AC23440E7D(0);
  	}
  	Global_21005 = 5;
  	if (iParam0 == 1)
  	{
  		unk_0xBE20AB8238688965(&Global_7551, 30);
  	}
  	else
  	{
  		unk_0xD2459066EA58CE43(&Global_7551, 30);
  	}
  	if (!func_67())
  	{
  		Global_19681.f_1 = 3;
  	}
  }
  
  void func_125(bool bParam0, bool bParam1)
  {
  	if (bParam0)
  	{
  		if (func_127(0))
  		{
  			Global_19864 = 1;
  			if (bParam1)
  			{
  				unk_0x1F1B1269BB6217F7(&Global_19618);
  			}
  			Global_19609 = { Global_19627[Global_19626 /*3*/] };
  			unk_0x241AFEE3D5B4FF70(Global_19609);
  		}
  	}
  	else if (Global_19864 == 1)
  	{
  		Global_19864 = 0;
  		Global_19609 = { Global_19634[Global_19626 /*3*/] };
  		if (bParam1)
  		{
  			unk_0x241AFEE3D5B4FF70(Global_19618);
  		}
  		else
  		{
  			unk_0x241AFEE3D5B4FF70(Global_19609);
  		}
  	}
  }
  
  bool func_126()
  {
  	return unk_0xCE990E643CD9D0E5(Global_1689730, 5);
  }
  
  int func_127(int iParam0)
  {
  	if (iParam0 == 1)
  	{
  		if (Global_19681.f_1 > 3)
  		{
  			if (unk_0xCE990E643CD9D0E5(Global_7551, 14))
  			{
  				return 1;
  			}
  			else
  			{
  				return 0;
  			}
  		}
  		else
  		{
  			return 0;
  		}
  	}
  	if (unk_0x7B70881748D166CD(joaat("cellphone_flashhand")) > 0)
  	{
  		return 1;
  	}
  	if (Global_19681.f_1 > 3)
  	{
  		return 1;
  	}
  	return 0;
  }
  
  bool func_128()
  {
  	return unk_0xCE990E643CD9D0E5(Global_1689730, 19);
  }
  
  int func_129(var uParam0, char* sParam1, int iParam2, int iParam3, int iParam4, int iParam5, int iParam6)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (*uParam0 == 0)
  	{
  		return 0;
  	}
  	iVar0 = 0;
  	if (iParam5 == 1)
  	{
  		iVar0 = 1;
  	}
  	iVar1 = uParam0->f_123;
  	if (iVar1 < 8)
  	{
  		uParam0->f_2[iVar1 /*15*/] = sParam1;
  		uParam0->f_2[iVar1 /*15*/].f_1 = iVar0;
  		uParam0->f_2[iVar1 /*15*/].f_2 = iParam6;
  		uParam0->f_2[iVar1 /*15*/].f_12 = 0;
  		uParam0->f_2[iVar1 /*15*/].f_13 = 0;
  		uParam0->f_2[iVar1 /*15*/].f_14 = 0;
  		uParam0->f_2[iVar1 /*15*/].f_3[0 /*2*/] = iParam2;
  		uParam0->f_2[iVar1 /*15*/].f_3[0 /*2*/].f_1 = iParam3;
  		if (iParam4 == 1)
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_2[iVar1 /*15*/].f_13), 0);
  		}
  		uParam0->f_2[iVar1 /*15*/].f_14++;
  		uParam0->f_123++;
  		return 1;
  	}
  	return 0;
  }
  
  void func_130(var uParam0, bool bParam1, bool bParam2, bool bParam3, bool bParam4)
  {
  	if (*uParam0 == 0)
  	{
  		*uParam0 = unk_0x940C9218621394EA("instructional_buttons");
  	}
  	uParam0->f_1 = 0;
  	uParam0->f_123 = 0;
  	if (bParam1)
  	{
  		func_102(&(uParam0->f_1), 32);
  	}
  	if (unk_0x95EF219D38B20CFF(*uParam0))
  	{
  		func_102(&(uParam0->f_1), 1);
  		if (bParam2)
  		{
  			unk_0x331FC4694C14FA44(*uParam0, 1);
  		}
  	}
  	if (unk_0xF8EDFF98A9C94C74())
  	{
  		if (bParam3)
  		{
  			func_102(&(uParam0->f_1), 4096);
  		}
  	}
  	if (bParam4)
  	{
  		func_102(&(uParam0->f_1), 8192);
  	}
  }
  
  void func_131(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			func_132(54);
  			break;
  		
  		case 1:
  			func_132(55);
  			break;
  		
  		case 2:
  			func_132(56);
  			break;
  		
  		case 3:
  			func_132(57);
  			break;
  		
  		case 4:
  			func_132(58);
  			break;
  	}
  }
  
  void func_132(int iParam0)
  {
  	if (Global_95877 != -1)
  	{
  		if (iParam0 == Global_95877)
  		{
  			Global_95881 = 1;
  			return;
  		}
  	}
  }
  
  void func_133(int iParam0, var uParam1, var uParam2, var uParam3, var uParam4, struct<3> Param5, float fParam6, int iParam7)
  {
  	int iVar0;
  	int iVar1;
  	
  	*uParam2 = unk_0xA5D3CD332CD10EE9();
  	if (unk_0xAE06B9E39EBDE049(*uParam2))
  	{
  		if (!unk_0x80FF6C016CDB0FAF(*uParam2, 0))
  		{
  			*uParam2 = 0;
  		}
  		else
  		{
  			iVar0 = unk_0x36FE6D3220816ADA(*uParam2);
  			if (unk_0x5874D60325749F00(iVar0) || unk_0xCA6AF782C906AC86(iVar0))
  			{
  				*uParam2 = 0;
  			}
  			else
  			{
  				iVar1 = unk_0x10D3F7E169A49C44(*uParam2, -1, 0);
  				if (iVar1 != 0 && iVar1 != unk_0x9B0761B4C3EB8BC7())
  				{
  					*uParam2 = 0;
  				}
  			}
  		}
  	}
  	if (unk_0xAE06B9E39EBDE049(Global_95452[0]))
  	{
  		*uParam1 = Global_95452[0];
  		unk_0x4F3C4F457D44BB0F(*uParam1, 1, 1);
  	}
  	if (unk_0xAE06B9E39EBDE049(*uParam1))
  	{
  		if (*uParam1 == *uParam2)
  		{
  			*uParam1 = 0;
  		}
  		else
  		{
  			unk_0xDF6CAD2F6A598A57(*uParam1);
  			unk_0x6A8F948698B360B4(*uParam1, 0);
  		}
  	}
  	if (!unk_0xAE06B9E39EBDE049(*uParam1))
  	{
  		*uParam1 = unk_0xCE4780E24AFDFBF9(iParam7, Param5, fParam6, 1, 1, 0);
  		unk_0x29897D845D2C290B(*uParam1, 6);
  	}
  	if (unk_0xAE06B9E39EBDE049(*uParam2))
  	{
  		if (!unk_0x1758275D343D5BA3(*uParam2))
  		{
  			unk_0x4F3C4F457D44BB0F(*uParam2, 1, 0);
  		}
  	}
  	func_75(uParam4, 0, unk_0x9B0761B4C3EB8BC7(), "MICHAEL", 0, 1);
  	func_75(uParam4, 1, iParam0, "FRIEDLANDER", 0, 1);
  	if (unk_0x40397A9A17EEC1C5(*uParam3))
  	{
  		unk_0xB8B0F7C8C1548C5B(*uParam3, 0);
  	}
  	if (!unk_0x40397A9A17EEC1C5(*uParam3))
  	{
  		*uParam3 = unk_0x7CD2F129A4A837A8(26379945, 0);
  	}
  	unk_0x8A3898631CCEC253(*uParam3, -1906.842f, -572.3835f, 19.1046f);
  	unk_0xBF92D2A60C7C686E(*uParam3, -1.5254f, 0.0003f, 171.4657f, 2);
  	unk_0xD64C2E5B5BA2D347(*uParam3, 17f);
  	unk_0x856549C07003344B(*uParam3, 1);
  	unk_0x3ED9330214992278(1, 0, 3000, 1, 0, 0);
  	unk_0xF990EDED7D25FB88();
  }
  
  void func_134(int iParam0, int iParam1, int iParam2)
  {
  	int iVar0;
  	char cVar1[32];
  	char cVar2[16];
  	char cVar3[16];
  	char cVar4[16];
  	char cVar5[16];
  	char cVar6[24];
  	
  	iVar0 = 521;
  	StringCopy(&cVar1, "missdrfriedlanderdrf_idles", 32);
  	StringCopy(&cVar2, "facials@drf", 16);
  	StringCopy(&cVar3, "idle_michael", 16);
  	StringCopy(&cVar4, "drf_idle_drf", 16);
  	StringCopy(&cVar5, "michael_idle_01", 16);
  	StringCopy(&cVar6, "drfriedlander_idle_01", 24);
  	if (iParam1 && !unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()))
  	{
  		unk_0x03D382CB0B44E2FC(unk_0x9B0761B4C3EB8BC7(), -1907.39f, -577.33f, 17.64f, 1, 0, 0, 1);
  		unk_0xE922BAA80E8F9324(unk_0x9B0761B4C3EB8BC7(), 318.6574f);
  		unk_0x756D74A3EF0AB788(unk_0x9B0761B4C3EB8BC7(), &cVar1, &cVar3, 1000f, -2f, -1, iVar0, 0, 0, 0, 0);
  		unk_0x756D74A3EF0AB788(unk_0x9B0761B4C3EB8BC7(), &cVar2, &cVar5, 1000f, -2f, -1, 32 | iVar0, 0, 0, 4, 0);
  		unk_0x1322CA891C5DF18A(unk_0x9B0761B4C3EB8BC7(), 0, 0);
  	}
  	if (iParam2 && !unk_0x5AEB5DDFFAD43CA5(iParam0))
  	{
  		unk_0x03D382CB0B44E2FC(iParam0, -1907.69f, -574.77f, 17.67f, 1, 0, 0, 1);
  		unk_0xE922BAA80E8F9324(iParam0, 177f);
  		unk_0x756D74A3EF0AB788(iParam0, &cVar1, &cVar4, 1000f, -2f, -1, iVar0, 0, 0, 0, 0);
  		unk_0x756D74A3EF0AB788(iParam0, &cVar2, &cVar6, 1000f, -2f, -1, 32 | iVar0, 0, 0, 0, 0);
  		unk_0x1322CA891C5DF18A(iParam0, 0, 0);
  	}
  }
  
  void func_135(var uParam0)
  {
  	uParam0->f_1 = 0f;
  	uParam0->f_2 = 0f;
  	*uParam0 = 0;
  }
  
  bool func_136()
  {
  	bool bVar0;
  	
  	bVar0 = unk_0x9893D61ACB9FB52A();
  	if (!Global_76832)
  	{
  		if (!bVar0)
  		{
  			Global_76832 = 1;
  		}
  	}
  	return bVar0;
  }
  
  float func_137(var uParam0)
  {
  	if (func_77(uParam0))
  	{
  		if (func_138(uParam0))
  		{
  			return uParam0->f_2;
  		}
  		else
  		{
  			return (func_52(unk_0xCE990E643CD9D0E5(*uParam0, 4)) - uParam0->f_1);
  		}
  	}
  	return uParam0->f_1;
  }
  
  bool func_138(var uParam0)
  {
  	return unk_0xCE990E643CD9D0E5(*uParam0, 2);
  }
  
  void func_139(char[4] cParam0, int iParam1, int iParam2, int iParam3)
  {
  	struct<50> Var0;
  	int iVar1;
  	
  	Var0 = 12;
  	Var0.f_13 = 12;
  	Var0.f_26 = 12;
  	Var0.f_39 = 9;
  	Var0.f_49 = 9;
  	func_140(iParam1, &Var0, iParam3);
  	iVar1 = 0;
  	while (iVar1 < 12)
  	{
  		unk_0x931CABC5DE105C79(cParam0, iVar1, Var0.f_13[iVar1], Var0[iVar1], iParam2);
  		iVar1++;
  	}
  	iVar1 = 0;
  	while (iVar1 < 9)
  	{
  		if (Var0.f_39[iVar1] == -1 || Var0.f_39[iVar1] == 255)
  		{
  			unk_0x8289CFFF7D89F1C7(cParam0, iVar1, -1, 0, iParam2);
  		}
  		else
  		{
  			unk_0x8289CFFF7D89F1C7(cParam0, iVar1, Var0.f_39[iVar1], Var0.f_49[iVar1], iParam2);
  		}
  		iVar1++;
  	}
  }
  
  void func_140(int iParam0, var uParam1, int iParam2)
  {
  	int iVar0;
  	var uVar1;
  	struct<50> Var2;
  	struct<14> Var3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	int iVar9;
  	
  	Var2 = 12;
  	Var2.f_13 = 12;
  	Var2.f_26 = 12;
  	Var2.f_39 = 9;
  	Var2.f_49 = 9;
  	iVar4 = unk_0x36FE6D3220816ADA(iParam0);
  	func_220(iParam0, &Var2, 0, -1);
  	func_220(iParam0, uParam1, iParam2, -1);
  	iVar5 = 0;
  	iVar6 = 0;
  	iVar0 = 0;
  	while (iVar0 < 12)
  	{
  		if (uParam1->f_13[iVar0] != Var2.f_13[iVar0] || (*uParam1)[iVar0] != Var2[iVar0])
  		{
  			if (func_217(iVar4, func_219(iVar0), func_218(iParam0, Var2.f_13[iVar0], Var2[iVar0], func_219(iVar0)), &uVar1))
  			{
  				Var3 = { func_151(iVar4, 2, uParam1->f_59, -1) };
  				uParam1->f_13[2] = Var3.f_3;
  				(*uParam1)[2] = Var3.f_4;
  				iVar5 = 1;
  			}
  			if (func_149(iVar4, func_219(iVar0), func_218(iParam0, Var2.f_13[iVar0], Var2[iVar0], func_219(iVar0)), &uVar1))
  			{
  				Var3 = { func_151(iVar4, 1, uParam1->f_62, -1) };
  				uParam1->f_13[1] = Var3.f_3;
  				(*uParam1)[1] = Var3.f_4;
  				iVar6 = 1;
  			}
  		}
  		iVar0++;
  	}
  	iVar0 = 0;
  	while (iVar0 < 9)
  	{
  		if (uParam1->f_39[iVar0] != Var2.f_39[iVar0] || uParam1->f_49[iVar0] != Var2.f_49[iVar0])
  		{
  			if (func_217(iVar4, 14, func_142(iParam0, Var2.f_39[iVar0], Var2.f_49[iVar0], iVar0), &uVar1))
  			{
  				Var3 = { func_151(iVar4, 2, uParam1->f_59, -1) };
  				uParam1->f_13[2] = Var3.f_3;
  				(*uParam1)[2] = Var3.f_4;
  				iVar5 = 1;
  			}
  			if (func_149(iVar4, 14, func_142(iParam0, Var2.f_39[iVar0], Var2.f_49[iVar0], iVar0), &uVar1))
  			{
  				Var3 = { func_151(iVar4, 1, uParam1->f_62, -1) };
  				uParam1->f_13[1] = Var3.f_3;
  				(*uParam1)[1] = Var3.f_4;
  				iVar6 = 1;
  			}
  		}
  		iVar0++;
  	}
  	if (iVar6 || iVar5)
  	{
  		iVar7 = func_218(iParam0, uParam1->f_13[1], (*uParam1)[1], 1);
  		iVar8 = func_218(iParam0, uParam1->f_13[2], (*uParam1)[2], 2);
  		iVar9 = func_141(iVar4, iVar8, iVar7);
  		if (iVar9 != -99)
  		{
  			Var3 = { func_151(iVar4, 0, iVar9, -1) };
  			uParam1->f_13[0] = Var3.f_3;
  			(*uParam1)[0] = Var3.f_4;
  		}
  	}
  }
  
  int func_141(int iParam0, int iParam1, int iParam2)
  {
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			if (iParam1 == 1)
  			{
  				if (iParam2 == 0)
  				{
  					return 1;
  				}
  				else if (iParam2 == 4)
  				{
  					return 5;
  				}
  				else
  				{
  					return 3;
  				}
  			}
  			else if (iParam2 == 0)
  			{
  				return 0;
  			}
  			else if (iParam2 == 4)
  			{
  				return 4;
  			}
  			else
  			{
  				return 2;
  			}
  			break;
  		
  		case joaat("player_one"):
  			if (iParam1 >= 0 && iParam1 <= 15)
  			{
  				if (iParam2 == 0)
  				{
  					return 0;
  				}
  				else
  				{
  					return 3;
  				}
  			}
  			else if (iParam1 >= 16 && iParam1 <= 17)
  			{
  				if (iParam2 == 0)
  				{
  					return 2;
  				}
  				else
  				{
  					return 5;
  				}
  			}
  			else if (iParam1 == 18)
  			{
  				if (iParam2 == 0)
  				{
  					return 6;
  				}
  				else
  				{
  					return 7;
  				}
  			}
  			else if (iParam1 == 19)
  			{
  				if (iParam2 == 0)
  				{
  					return 1;
  				}
  				else
  				{
  					return 4;
  				}
  			}
  			else if (iParam2 == 0)
  			{
  				return 1;
  			}
  			else
  			{
  				return 4;
  			}
  			break;
  		
  		case joaat("player_two"):
  			if (iParam1 == 2)
  			{
  				if (iParam2 == 0)
  				{
  					return 2;
  				}
  				else
  				{
  					return 3;
  				}
  			}
  			else if (iParam1 == 3)
  			{
  				if (iParam2 == 0)
  				{
  					return 4;
  				}
  				else
  				{
  					return 6;
  				}
  			}
  			else if (iParam1 == 8)
  			{
  				return 5;
  			}
  			else if (iParam2 == 0)
  			{
  				return 0;
  			}
  			else
  			{
  				return 1;
  			}
  			break;
  	}
  	return -99;
  }
  
  int func_142(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	
  	if (iParam1 == -1)
  	{
  		return func_148(iParam3);
  	}
  	iVar0 = unk_0x36FE6D3220816ADA(iParam0);
  	iVar1 = unk_0xEAF476EEF924D2C9(iParam0, iParam3, iParam1, iParam2);
  	if (iVar1 != -1 && iVar1 != 0)
  	{
  		if (iVar0 == joaat("mp_m_freemode_01"))
  		{
  			return func_144(unk_0x36FE6D3220816ADA(iParam0), iVar1, 14, 3);
  		}
  		else if (iVar0 == joaat("mp_f_freemode_01"))
  		{
  			return func_144(unk_0x36FE6D3220816ADA(iParam0), iVar1, 14, 4);
  		}
  	}
  	iVar2 = unk_0x99134D420E2DAA74(iParam0, iParam3);
  	iVar4 = 0;
  	while (iVar4 <= (iVar2 - 1))
  	{
  		iVar6 = unk_0x2CB217E5FD6878E9(iParam0, iParam3, iVar4);
  		if (iVar4 != iParam1)
  		{
  			iVar3 = (iVar3 + iVar6);
  		}
  		else
  		{
  			iVar5 = 0;
  			while (iVar5 <= (iVar6 - 1))
  			{
  				if (iVar4 == iParam1 && iVar5 == iParam2)
  				{
  					iVar3 = (iVar3 + func_143(iParam0, iParam3));
  					return iVar3;
  				}
  				else
  				{
  					iVar3++;
  				}
  				iVar5++;
  			}
  		}
  		iVar4++;
  	}
  	return func_148(iParam3);
  }
  
  int func_143(int iParam0, int iParam1)
  {
  	int iVar0;
  	
  	iVar0 = unk_0x36FE6D3220816ADA(iParam0);
  	switch (iVar0)
  	{
  		case joaat("player_zero"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 58;
  					break;
  				
  				case 2:
  					return 112;
  					break;
  			}
  			break;
  		
  		case joaat("player_one"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 82;
  					break;
  				
  				case 2:
  					return 158;
  					break;
  			}
  			break;
  		
  		case joaat("player_two"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 88;
  					break;
  				
  				case 2:
  					return 154;
  					break;
  			}
  			break;
  		
  		case joaat("mp_m_freemode_01"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 155;
  					break;
  				
  				case 6:
  					return 319;
  					break;
  			}
  			break;
  		
  		case joaat("mp_f_freemode_01"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 155;
  					break;
  				
  				case 6:
  					return 319;
  					break;
  			}
  			break;
  	}
  	return -99;
  }
  
  int func_144(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (iParam2 == 12)
  	{
  	}
  	else if (iParam2 == 13)
  	{
  	}
  	else if (iParam2 == 14)
  	{
  		unk_0x21A524CB091C80DE(iParam3, 7, -1, 1, -1, -1);
  		iVar0 = unk_0x6CEBE002E58DEE97(iParam1);
  		if (iVar0 != -1)
  		{
  			return (func_147(iParam0) + iVar0);
  		}
  	}
  	else
  	{
  		unk_0x21A524CB091C80DE(iParam3, 7, -1, 0, -1, func_146(iParam2));
  		iVar1 = unk_0x96E2929292A4DB77(iParam1);
  		if (iVar1 != -1)
  		{
  			return (func_145(iParam0, func_146(iParam2)) + iVar1);
  		}
  	}
  	return -99;
  }
  
  int func_145(int iParam0, int iParam1)
  {
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			switch (iParam1)
  			{
  				case 0:
  					return 7;
  					break;
  				
  				case 1:
  					return 5;
  					break;
  				
  				case 2:
  					return 6;
  					break;
  				
  				case 3:
  					return 181;
  					break;
  				
  				case 4:
  					return 113;
  					break;
  				
  				case 5:
  					return 14;
  					break;
  				
  				case 6:
  					return 99;
  					break;
  				
  				case 7:
  					return 1;
  					break;
  				
  				case 8:
  					return 24;
  					break;
  				
  				case 9:
  					return 20;
  					break;
  				
  				case 10:
  					return 48;
  					break;
  				
  				case 11:
  					return 45;
  					break;
  			}
  			break;
  		
  		case joaat("player_one"):
  			switch (iParam1)
  			{
  				case 0:
  					return 10;
  					break;
  				
  				case 1:
  					return 5;
  					break;
  				
  				case 2:
  					return 21;
  					break;
  				
  				case 3:
  					return 318;
  					break;
  				
  				case 4:
  					return 117;
  					break;
  				
  				case 5:
  					return 7;
  					break;
  				
  				case 6:
  					return 134;
  					break;
  				
  				case 7:
  					return 1;
  					break;
  				
  				case 8:
  					return 77;
  					break;
  				
  				case 9:
  					return 12;
  					break;
  				
  				case 10:
  					return 53;
  					break;
  				
  				case 11:
  					return 63;
  					break;
  			}
  			break;
  		
  		case joaat("player_two"):
  			switch (iParam1)
  			{
  				case 0:
  					return 7;
  					break;
  				
  				case 1:
  					return 6;
  					break;
  				
  				case 2:
  					return 9;
  					break;
  				
  				case 3:
  					return 242;
  					break;
  				
  				case 4:
  					return 104;
  					break;
  				
  				case 5:
  					return 7;
  					break;
  				
  				case 6:
  					return 84;
  					break;
  				
  				case 7:
  					return 1;
  					break;
  				
  				case 8:
  					return 18;
  					break;
  				
  				case 9:
  					return 17;
  					break;
  				
  				case 10:
  					return 33;
  					break;
  				
  				case 11:
  					return 1;
  					break;
  			}
  			break;
  	}
  	switch (iParam0)
  	{
  		case joaat("mp_m_freemode_01"):
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  					break;
  				
  				case 1:
  					return 26;
  					break;
  				
  				case 2:
  					return 91;
  					break;
  				
  				case 3:
  					return 16;
  					break;
  				
  				case 4:
  					return 256;
  					break;
  				
  				case 5:
  					return 9;
  					break;
  				
  				case 6:
  					return 256;
  					break;
  				
  				case 7:
  					return 92;
  					break;
  				
  				case 8:
  					return 241;
  					break;
  				
  				case 9:
  					return 46;
  					break;
  				
  				case 10:
  					return 7;
  					break;
  				
  				case 11:
  					return 237;
  					break;
  			}
  			break;
  		
  		case joaat("mp_f_freemode_01"):
  			switch (iParam1)
  			{
  				case 0:
  					return 0;
  					break;
  				
  				case 1:
  					return 26;
  					break;
  				
  				case 2:
  					return 92;
  					break;
  				
  				case 3:
  					return 16;
  					break;
  				
  				case 4:
  					return 256;
  					break;
  				
  				case 5:
  					return 9;
  					break;
  				
  				case 6:
  					return 256;
  					break;
  				
  				case 7:
  					return 55;
  					break;
  				
  				case 8:
  					return 136;
  					break;
  				
  				case 9:
  					return 36;
  					break;
  				
  				case 10:
  					return 6;
  					break;
  				
  				case 11:
  					return 256;
  					break;
  			}
  			break;
  	}
  	return -99;
  }
  
  int func_146(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 0;
  			break;
  		
  		case 2:
  			return 2;
  			break;
  		
  		case 3:
  			return 3;
  			break;
  		
  		case 4:
  			return 4;
  			break;
  		
  		case 6:
  			return 6;
  			break;
  		
  		case 5:
  			return 5;
  			break;
  		
  		case 8:
  			return 8;
  			break;
  		
  		case 9:
  			return 9;
  			break;
  		
  		case 10:
  			return 10;
  			break;
  		
  		case 1:
  			return 1;
  			break;
  		
  		case 7:
  			return 7;
  			break;
  		
  		case 11:
  			return 11;
  			break;
  	}
  	return 0;
  }
  
  int func_147(int iParam0)
  {
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			return 113;
  			break;
  		
  		case joaat("player_one"):
  			return 175;
  			break;
  		
  		case joaat("player_two"):
  			return 155;
  			break;
  	}
  	switch (iParam0)
  	{
  		case joaat("mp_m_freemode_01"):
  			return 327;
  			break;
  		
  		case joaat("mp_f_freemode_01"):
  			return 327;
  			break;
  	}
  	return -99;
  }
  
  int func_148(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 0;
  			break;
  		
  		case 1:
  			return 1;
  			break;
  		
  		case 2:
  			return 2;
  			break;
  		
  		case 3:
  			return 3;
  			break;
  		
  		case 4:
  			return 4;
  			break;
  		
  		case 5:
  			return 5;
  			break;
  		
  		case 6:
  			return 6;
  			break;
  		
  		case 7:
  			return 7;
  			break;
  		
  		case 8:
  			return 8;
  			break;
  	}
  	return 0;
  }
  
  int func_149(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	
  	*uParam3 = -99;
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			switch (iParam1)
  			{
  				case 10:
  					if (iParam2 >= 44 && iParam2 <= 47)
  					{
  						*uParam3 = 0;
  					}
  					break;
  				
  				case 14:
  					if (((((((iParam2 >= 31 && iParam2 <= 32) || (iParam2 >= 33 && iParam2 <= 34)) || (iParam2 >= 35 && iParam2 <= 36)) || iParam2 == 37) || (iParam2 >= 38 && iParam2 <= 39)) || (iParam2 >= 40 && iParam2 <= 41)) || (iParam2 >= 42 && iParam2 <= 44))
  					{
  						*uParam3 = 0;
  					}
  					break;
  			}
  			break;
  		
  		case joaat("player_one"):
  			switch (iParam1)
  			{
  				case 10:
  					if (iParam2 >= 47 && iParam2 <= 50)
  					{
  						*uParam3 = 0;
  					}
  					break;
  				
  				case 14:
  					if (((((iParam2 >= 26 && iParam2 <= 27) || (iParam2 >= 28 && iParam2 <= 29)) || (iParam2 >= 30 && iParam2 <= 31)) || iParam2 == 32) || (iParam2 >= 35 && iParam2 <= 36))
  					{
  						*uParam3 = 0;
  					}
  					break;
  			}
  			break;
  		
  		case joaat("player_two"):
  			switch (iParam1)
  			{
  				case 9:
  					if (iParam2 >= 15 && iParam2 <= 16)
  					{
  						*uParam3 = 0;
  					}
  					break;
  				
  				case 10:
  					if (iParam2 >= 29 && iParam2 <= 32)
  					{
  						*uParam3 = 0;
  					}
  					break;
  				
  				case 14:
  					if (((((((iParam2 >= 47 && iParam2 <= 48) || (iParam2 >= 49 && iParam2 <= 50)) || (iParam2 >= 51 && iParam2 <= 52)) || iParam2 == 53) || (iParam2 >= 54 && iParam2 <= 55)) || (iParam2 >= 56 && iParam2 <= 57)) || (iParam2 >= 58 && iParam2 <= 60))
  					{
  						*uParam3 = 0;
  					}
  					break;
  			}
  			break;
  	}
  	if (*uParam3 != -99)
  	{
  		iVar0 = func_150(iParam0);
  		Global_111858.f_2359.f_539[iVar0 /*65*/].f_63 = iParam2;
  		Global_111858.f_2359.f_539[iVar0 /*65*/].f_64 = iParam1;
  		return 1;
  	}
  	return 0;
  }
  
  int func_150(int iParam0)
  {
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			return 0;
  			break;
  		
  		case joaat("player_one"):
  			return 1;
  			break;
  		
  		case joaat("player_two"):
  			return 2;
  			break;
  		
  		default:
  			break;
  	}
  	return 145;
  }
  
  struct<14> func_151(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	func_216();
  	if (iParam0 == joaat("player_zero"))
  	{
  		func_198(iParam1, iParam2);
  	}
  	else if (iParam0 == joaat("player_one"))
  	{
  		func_179(iParam1, iParam2);
  	}
  	else if (iParam0 == joaat("player_two"))
  	{
  		func_152(iParam1, iParam2);
  	}
  	return Global_76647[0 /*14*/];
  }
  
  void func_152(int iParam0, int iParam1)
  {
  	switch (iParam0)
  	{
  		case 0:
  			func_178(iParam1);
  			break;
  		
  		case 2:
  			func_177(iParam1);
  			break;
  		
  		case 3:
  			func_174(iParam1);
  			break;
  		
  		case 4:
  			func_173(iParam1);
  			break;
  		
  		case 6:
  			func_172(iParam1);
  			break;
  		
  		case 5:
  			func_171(iParam1);
  			break;
  		
  		case 8:
  			func_170(iParam1);
  			break;
  		
  		case 9:
  			func_169(iParam1);
  			break;
  		
  		case 10:
  			func_168(iParam1);
  			break;
  		
  		case 1:
  			func_167(iParam1);
  			break;
  		
  		case 7:
  			func_166(iParam1);
  			break;
  		
  		case 11:
  			func_165(iParam1);
  			break;
  		
  		case 12:
  			func_164(iParam1);
  			break;
  		
  		case 13:
  			func_163(iParam1);
  			break;
  		
  		case 14:
  			func_153(iParam1);
  			break;
  	}
  }
  
  void func_153(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 14;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 8;
  			break;
  		
  		case 154:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 2;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 10;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "PROPS_P2_E1", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			iVar1 = 45;
  			iVar5 = 10;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "PROPS_P2_E2", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "PROPS_P2_E2_1", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 10;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "PROPS_P2_E2_2", 16);
  			iVar3 = 2;
  			iVar4 = 2;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "PROPS_P2_E2_3", 16);
  			iVar3 = 2;
  			iVar4 = 3;
  			iVar1 = 52;
  			iVar5 = 10;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "PROPS_P2_E2_4", 16);
  			iVar3 = 2;
  			iVar4 = 4;
  			iVar1 = 54;
  			iVar5 = 10;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "PROPS_P2_E2_5", 16);
  			iVar3 = 2;
  			iVar4 = 5;
  			iVar1 = 54;
  			iVar5 = 10;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "PROPS_P2_E2_6", 16);
  			iVar3 = 2;
  			iVar4 = 6;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "PROPS_P2_E2_7", 16);
  			iVar3 = 2;
  			iVar4 = 7;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "PROPS_P2_E2_8", 16);
  			iVar3 = 2;
  			iVar4 = 8;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "PROPS_P2_E2_9", 16);
  			iVar3 = 2;
  			iVar4 = 9;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "PROPS_P2_E3", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "PROPS_P2_E3_1", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "PROPS_P2_E3_2", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "PROPS_P2_E3_3", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "PROPS_P2_E3_4", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "PROPS_P2_E3_5", 16);
  			iVar3 = 3;
  			iVar4 = 5;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "PROPS_P2_E3_6", 16);
  			iVar3 = 3;
  			iVar4 = 6;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "PROPS_P2_E3_7", 16);
  			iVar3 = 3;
  			iVar4 = 7;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "PROPS_P2_E3_8", 16);
  			iVar3 = 3;
  			iVar4 = 8;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "PROPS_P2_E3_9", 16);
  			iVar3 = 3;
  			iVar4 = 9;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "PROPS_P2_E7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 60;
  			iVar5 = 10;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "PROPS_P2_E7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 10;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "PROPS_P2_E7_2", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			iVar1 = 50;
  			iVar5 = 10;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "PROPS_P2_E7_3", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			iVar1 = 59;
  			iVar5 = 10;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "PROPS_P2_E7_4", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "PROPS_P2_E7_5", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "PROPS_P2_E7_6", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "PROPS_P2_E7_7", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			iVar1 = 59;
  			iVar5 = 10;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "PROPS_P2_E7_8", 16);
  			iVar3 = 7;
  			iVar4 = 8;
  			iVar1 = 79;
  			iVar5 = 10;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "PROPS_P2_E7_9", 16);
  			iVar3 = 7;
  			iVar4 = 9;
  			iVar1 = 79;
  			iVar5 = 10;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "PROPS_P2_E8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 150;
  			iVar5 = 10;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "PROPS_P2_E8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 150;
  			iVar5 = 10;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "PROPS_P2_E8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 170;
  			iVar5 = 10;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "PROPS_P2_E8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "PROPS_P2_E8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 180;
  			iVar5 = 10;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "PROPS_P2_E8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 185;
  			iVar5 = 10;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "PROPS_P2_E8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 189;
  			iVar5 = 10;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "PROPS_P2_E8_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 195;
  			iVar5 = 10;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "PROPS_P2_E8_8", 16);
  			iVar3 = 8;
  			iVar4 = 8;
  			iVar1 = 210;
  			iVar5 = 10;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "PROPS_P2_E8_9", 16);
  			iVar3 = 8;
  			iVar4 = 9;
  			iVar1 = 215;
  			iVar5 = 10;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "PROPS_P2_E9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			iVar1 = 165;
  			iVar5 = 10;
  			break;
  		
  		case 134:
  			StringCopy(&Var2, "PROPS_P2_E9_1", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar1 = 165;
  			iVar5 = 10;
  			break;
  		
  		case 135:
  			StringCopy(&Var2, "PROPS_P2_E9_2", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			iVar1 = 169;
  			iVar5 = 10;
  			break;
  		
  		case 136:
  			StringCopy(&Var2, "PROPS_P2_E9_3", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			iVar1 = 169;
  			iVar5 = 10;
  			break;
  		
  		case 137:
  			StringCopy(&Var2, "PROPS_P2_E9_4", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 138:
  			StringCopy(&Var2, "PROPS_P2_E9_5", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 139:
  			StringCopy(&Var2, "PROPS_P2_E9_6", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 140:
  			StringCopy(&Var2, "PROPS_P2_E9_7", 16);
  			iVar3 = 9;
  			iVar4 = 7;
  			iVar1 = 189;
  			iVar5 = 10;
  			break;
  		
  		case 141:
  			StringCopy(&Var2, "PROPS_P2_E9_8", 16);
  			iVar3 = 9;
  			iVar4 = 8;
  			iVar1 = 195;
  			iVar5 = 10;
  			break;
  		
  		case 142:
  			StringCopy(&Var2, "PROPS_P2_E9_9", 16);
  			iVar3 = 9;
  			iVar4 = 9;
  			iVar1 = 195;
  			iVar5 = 10;
  			break;
  		
  		case 143:
  			StringCopy(&Var2, "PROPS_P2_E10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			iVar1 = 49;
  			iVar5 = 10;
  			break;
  		
  		case 144:
  			StringCopy(&Var2, "PROPS_P2_E10_1", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 10;
  			break;
  		
  		case 145:
  			StringCopy(&Var2, "PROPS_P2_E10_2", 16);
  			iVar3 = 10;
  			iVar4 = 2;
  			iVar1 = 52;
  			iVar5 = 10;
  			break;
  		
  		case 146:
  			StringCopy(&Var2, "PROPS_P2_E10_3", 16);
  			iVar3 = 10;
  			iVar4 = 3;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 147:
  			StringCopy(&Var2, "PROPS_P2_E10_4", 16);
  			iVar3 = 10;
  			iVar4 = 4;
  			iVar1 = 60;
  			iVar5 = 10;
  			break;
  		
  		case 148:
  			StringCopy(&Var2, "PROPS_P2_E10_5", 16);
  			iVar3 = 10;
  			iVar4 = 5;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 149:
  			StringCopy(&Var2, "PROPS_P2_E10_6", 16);
  			iVar3 = 10;
  			iVar4 = 6;
  			iVar1 = 60;
  			iVar5 = 10;
  			break;
  		
  		case 150:
  			StringCopy(&Var2, "PROPS_P2_E10_7", 16);
  			iVar3 = 10;
  			iVar4 = 7;
  			iVar1 = 63;
  			iVar5 = 10;
  			break;
  		
  		case 151:
  			StringCopy(&Var2, "PROPS_P2_E10_8", 16);
  			iVar3 = 10;
  			iVar4 = 8;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 152:
  			StringCopy(&Var2, "PROPS_P2_E10_9", 16);
  			iVar3 = 10;
  			iVar4 = 9;
  			iVar1 = 68;
  			iVar5 = 10;
  			break;
  		
  		case 153:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar1 = 100;
  			iVar5 = 10;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "PROPS_P2_H2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar1 = 320;
  			iVar5 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "PROPS_P2_H7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "PROPS_P2_H7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			iVar5 = 0;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 7;
  			iVar5 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 8;
  			iVar5 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 9;
  			iVar5 = 0;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 10;
  			iVar5 = 0;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 11;
  			iVar5 = 0;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 12;
  			iVar5 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 13;
  			iVar5 = 0;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 14;
  			iVar5 = 0;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 15;
  			iVar5 = 0;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar5 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar5 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "PROPS_P1_H8_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "PROPS_P1_H8_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "PROPS_P1_H9_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "PROPS_P1_H9_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "PROPS_P1_H10_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "PROPS_P1_H10_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "PROPS_P1_H11_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar1 = 450;
  			iVar5 = 0;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "PROPS_P1_H12_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "PROPS_P1_H12_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "PROPS_P1_H13_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "PROPS_P1_H13_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "PROPS_P1_H14_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "PROPS_P1_H14_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "PROPS_P1_H14_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "PROPS_P1_H26_0", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			iVar1 = 20;
  			iVar5 = 0;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "PROPS_P1_H26_1", 16);
  			iVar3 = 26;
  			iVar4 = 1;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "PROPS_P1_H26_2", 16);
  			iVar3 = 26;
  			iVar4 = 2;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "PROPS_P1_H26_3", 16);
  			iVar3 = 26;
  			iVar4 = 3;
  			iVar1 = 22;
  			iVar5 = 0;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "PROPS_P1_H26_4", 16);
  			iVar3 = 26;
  			iVar4 = 4;
  			iVar1 = 20;
  			iVar5 = 0;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "PROPS_P1_H26_5", 16);
  			iVar3 = 26;
  			iVar4 = 5;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "PROPS_P1_H26_6", 16);
  			iVar3 = 26;
  			iVar4 = 6;
  			iVar1 = 28;
  			iVar5 = 0;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "PROPS_P1_H26_7", 16);
  			iVar3 = 26;
  			iVar4 = 7;
  			iVar1 = 24;
  			iVar5 = 0;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "PROPS_P1_H26_8", 16);
  			iVar3 = 26;
  			iVar4 = 8;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "PROPS_P1_H26_9", 16);
  			iVar3 = 26;
  			iVar4 = 9;
  			iVar1 = 22;
  			iVar5 = 0;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "PROPS_P1_H26_10", 16);
  			iVar3 = 26;
  			iVar4 = 10;
  			iVar1 = 18;
  			iVar5 = 0;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "PROPS_P1_H26_11", 16);
  			iVar3 = 26;
  			iVar4 = 11;
  			iVar1 = 20;
  			iVar5 = 0;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "PROPS_P1_H26_12", 16);
  			iVar3 = 26;
  			iVar4 = 12;
  			iVar1 = 24;
  			iVar5 = 0;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "PROPS_P1_H26_13", 16);
  			iVar3 = 26;
  			iVar4 = 13;
  			iVar1 = 22;
  			iVar5 = 0;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "PROPS_P1_H26_14", 16);
  			iVar3 = 26;
  			iVar4 = 14;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "PROPS_P1_H26_15", 16);
  			iVar3 = 26;
  			iVar4 = 15;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 155, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_154(var uParam0, int iParam1, int iParam2, char* sParam3, int iParam4, int iParam5, int iParam6, bool bParam7, int iParam8, int iParam9, bool bParam10)
  {
  	var uVar0;
  	int iVar1;
  	
  	uParam0->f_6 = 0;
  	*uParam0 = iParam9;
  	uParam0->f_1 = (iParam2 % 32);
  	uParam0->f_2 = (iParam2 / 32);
  	uParam0->f_3 = iParam4;
  	uParam0->f_4 = iParam5;
  	uParam0->f_7 = iParam6;
  	StringCopy(&(uParam0->f_8), sParam3, 16);
  	uParam0->f_13 = iParam8;
  	uParam0->f_12 = func_161(iParam8);
  	if ((uParam0->f_2 >= 10 && uParam0->f_5 >= 0) && uParam0->f_5 < 3)
  	{
  		if (!bParam10)
  		{
  		}
  		uParam0->f_2 = 0;
  	}
  	if (unk_0x856D5567211886A2(sParam3) != unk_0x856D5567211886A2("NO_LABEL"))
  	{
  	}
  	if (bParam7)
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 3);
  	}
  	if (bParam10)
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 0);
  		if (uParam0->f_5 >= 0 && uParam0->f_5 < 3)
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 5);
  		}
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 1);
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 2);
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 6);
  		if (func_33(14))
  		{
  			return;
  		}
  		if (iParam1 == 1)
  		{
  			if (unk_0x4D0432E34C5996D9(Global_2621444, joaat("REBREATHER"), 0))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 7);
  			}
  		}
  		if (iParam1 == 12)
  		{
  			if (!func_159(Global_2621444, 1, 1, 1, -1))
  			{
  				unk_0xD2459066EA58CE43(&(uParam0->f_6), 2);
  			}
  			if (!func_159(Global_2621444, 2, 1, 1, -1))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 4);
  			}
  		}
  		else if (iParam1 == 13)
  		{
  		}
  		else if (iParam1 == 14)
  		{
  			if (!func_159(Global_2621444, 1, 1, 1, -1))
  			{
  				unk_0xD2459066EA58CE43(&(uParam0->f_6), 2);
  			}
  			if (!func_159(Global_2621444, 2, 1, 1, -1))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 4);
  			}
  		}
  		else
  		{
  			if (!func_159(Global_2621444, 1, 1, 1, -1))
  			{
  				unk_0xD2459066EA58CE43(&(uParam0->f_6), 2);
  			}
  			if (!func_159(Global_2621444, 2, 1, 1, -1))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 4);
  			}
  		}
  	}
  	else if (uParam0->f_5 >= 0 && uParam0->f_5 < 3)
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 0);
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 5);
  		if (func_158(iParam1, uParam0->f_5, uParam0->f_2, 0, uParam0->f_1, 0, 0))
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 1);
  		}
  		if (func_158(iParam1, uParam0->f_5, uParam0->f_2, 1, uParam0->f_1, 0, 0))
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 2);
  		}
  		if (!func_158(iParam1, uParam0->f_5, uParam0->f_2, 2, uParam0->f_1, 0, 0))
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 4);
  		}
  	}
  	else
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_6), 0);
  		if ((((((((((iParam1 == 11 || iParam1 == 4) || iParam1 == 6) || iParam1 == 1) || iParam1 == 14) || iParam1 == 2) || iParam1 == 8) || iParam1 == 9) || iParam1 == 10) || iParam1 == 7) || iParam1 == 12)
  		{
  			if (func_33(14))
  			{
  				return;
  			}
  			uVar0 = func_15(func_157(iParam1, uParam0->f_2), Global_76644, 0);
  			if (unk_0xCE990E643CD9D0E5(uVar0, uParam0->f_1))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 1);
  			}
  			uVar0 = func_15(func_156(iParam1, uParam0->f_2), Global_76644, 0);
  			if (unk_0xCE990E643CD9D0E5(uVar0, uParam0->f_1))
  			{
  				unk_0xBE20AB8238688965(&(uParam0->f_6), 2);
  			}
  			if (func_155(iParam1, uParam0->f_2, &iVar1))
  			{
  				uVar0 = func_15(iVar1, Global_76644, 0);
  				if (!unk_0xCE990E643CD9D0E5(uVar0, uParam0->f_1))
  				{
  					unk_0xBE20AB8238688965(&(uParam0->f_6), 4);
  				}
  			}
  		}
  		else
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 1);
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 2);
  		}
  	}
  	if (iParam1 == 14)
  	{
  		if (iParam4 == -1)
  		{
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 1);
  			unk_0xBE20AB8238688965(&(uParam0->f_6), 2);
  		}
  	}
  }
  
  bool func_155(int iParam0, int iParam1, var uParam2)
  {
  	*uParam2 = 978;
  	switch (iParam1)
  	{
  		case 0:
  			switch (iParam0)
  			{
  				case 2:
  					*uParam2 = 979;
  					break;
  				
  				case 3:
  					*uParam2 = 1429;
  					break;
  				
  				case 4:
  					*uParam2 = 995;
  					break;
  				
  				case 6:
  					*uParam2 = 1003;
  					break;
  				
  				case 8:
  					*uParam2 = 1430;
  					break;
  				
  				case 9:
  					*uParam2 = 1438;
  					break;
  				
  				case 10:
  					*uParam2 = 1440;
  					break;
  				
  				case 1:
  					*uParam2 = 1011;
  					break;
  				
  				case 7:
  					*uParam2 = 1441;
  					break;
  				
  				case 11:
  					*uParam2 = 987;
  					break;
  				
  				case 14:
  					*uParam2 = 1019;
  					break;
  				
  				case 12:
  					*uParam2 = 1030;
  					break;
  			}
  			break;
  		
  		case 1:
  			switch (iParam0)
  			{
  				case 2:
  					*uParam2 = 980;
  					break;
  				
  				case 4:
  					*uParam2 = 996;
  					break;
  				
  				case 6:
  					*uParam2 = 1004;
  					break;
  				
  				case 8:
  					*uParam2 = 1431;
  					break;
  				
  				case 9:
  					*uParam2 = 1439;
  					break;
  				
  				case 7:
  					*uParam2 = 1442;
  					break;
  				
  				case 11:
  					*uParam2 = 988;
  					break;
  				
  				case 14:
  					*uParam2 = 1020;
  					break;
  			}
  			break;
  		
  		case 2:
  			switch (iParam0)
  			{
  				case 2:
  					*uParam2 = 981;
  					break;
  				
  				case 4:
  					*uParam2 = 997;
  					break;
  				
  				case 6:
  					*uParam2 = 1005;
  					break;
  				
  				case 8:
  					*uParam2 = 1432;
  					break;
  				
  				case 7:
  					*uParam2 = 1443;
  					break;
  				
  				case 11:
  					*uParam2 = 989;
  					break;
  				
  				case 14:
  					*uParam2 = 1021;
  					break;
  			}
  			break;
  		
  		case 3:
  			switch (iParam0)
  			{
  				case 4:
  					*uParam2 = 998;
  					break;
  				
  				case 6:
  					*uParam2 = 1006;
  					break;
  				
  				case 8:
  					*uParam2 = 1433;
  					break;
  				
  				case 11:
  					*uParam2 = 990;
  					break;
  				
  				case 14:
  					*uParam2 = 1022;
  					break;
  			}
  			break;
  		
  		case 4:
  			switch (iParam0)
  			{
  				case 4:
  					*uParam2 = 999;
  					break;
  				
  				case 6:
  					*uParam2 = 1007;
  					break;
  				
  				case 8:
  					*uParam2 = 1434;
  					break;
  				
  				case 11:
  					*uParam2 = 991;
  					break;
  				
  				case 14:
  					*uParam2 = 1023;
  					break;
  			}
  			break;
  		
  		case 5:
  			switch (iParam0)
  			{
  				case 4:
  					*uParam2 = 1000;
  					break;
  				
  				case 6:
  					*uParam2 = 1008;
  					break;
  				
  				case 8:
  					*uParam2 = 1435;
  					break;
  				
  				case 11:
  					*uParam2 = 992;
  					break;
  				
  				case 14:
  					*uParam2 = 1024;
  					break;
  			}
  			break;
  		
  		case 6:
  			switch (iParam0)
  			{
  				case 4:
  					*uParam2 = 1001;
  					break;
  				
  				case 6:
  					*uParam2 = 1009;
  					break;
  				
  				case 8:
  					*uParam2 = 1436;
  					break;
  				
  				case 11:
  					*uParam2 = 993;
  					break;
  				
  				case 14:
  					*uParam2 = 1025;
  					break;
  			}
  			break;
  		
  		case 7:
  			switch (iParam0)
  			{
  				case 4:
  					*uParam2 = 1002;
  					break;
  				
  				case 6:
  					*uParam2 = 1010;
  					break;
  				
  				case 8:
  					*uParam2 = 1437;
  					break;
  				
  				case 11:
  					*uParam2 = 994;
  					break;
  				
  				case 14:
  					*uParam2 = 1026;
  					break;
  			}
  			break;
  		
  		case 8:
  			switch (iParam0)
  			{
  				case 14:
  					*uParam2 = 1027;
  					break;
  			}
  			break;
  		
  		case 9:
  			switch (iParam0)
  			{
  				case 14:
  					*uParam2 = 1028;
  					break;
  			}
  			break;
  		
  		case 10:
  			switch (iParam0)
  			{
  				case 14:
  					*uParam2 = 1029;
  					break;
  			}
  			break;
  	}
  	return *uParam2 != 978;
  }
  
  int func_156(int iParam0, int iParam1)
  {
  	switch (iParam1)
  	{
  		case 0:
  			switch (iParam0)
  			{
  				case 2:
  					return 927;
  					break;
  				
  				case 3:
  					return 1414;
  					break;
  				
  				case 4:
  					return 943;
  					break;
  				
  				case 6:
  					return 951;
  					break;
  				
  				case 8:
  					return 1415;
  					break;
  				
  				case 9:
  					return 1423;
  					break;
  				
  				case 10:
  					return 1425;
  					break;
  				
  				case 1:
  					return 959;
  					break;
  				
  				case 7:
  					return 1426;
  					break;
  				
  				case 11:
  					return 935;
  					break;
  				
  				case 14:
  					return 967;
  					break;
  				
  				case 12:
  					return 978;
  					break;
  			}
  			break;
  		
  		case 1:
  			switch (iParam0)
  			{
  				case 2:
  					return 928;
  					break;
  				
  				case 4:
  					return 944;
  					break;
  				
  				case 6:
  					return 952;
  					break;
  				
  				case 8:
  					return 1416;
  					break;
  				
  				case 9:
  					return 1424;
  					break;
  				
  				case 7:
  					return 1427;
  					break;
  				
  				case 11:
  					return 936;
  					break;
  				
  				case 14:
  					return 968;
  					break;
  			}
  			break;
  		
  		case 2:
  			switch (iParam0)
  			{
  				case 2:
  					return 929;
  					break;
  				
  				case 4:
  					return 945;
  					break;
  				
  				case 6:
  					return 953;
  					break;
  				
  				case 8:
  					return 1417;
  					break;
  				
  				case 7:
  					return 1428;
  					break;
  				
  				case 11:
  					return 937;
  					break;
  				
  				case 14:
  					return 969;
  					break;
  			}
  			break;
  		
  		case 3:
  			switch (iParam0)
  			{
  				case 4:
  					return 946;
  					break;
  				
  				case 6:
  					return 954;
  					break;
  				
  				case 8:
  					return 1418;
  					break;
  				
  				case 11:
  					return 938;
  					break;
  				
  				case 14:
  					return 970;
  					break;
  			}
  			break;
  		
  		case 4:
  			switch (iParam0)
  			{
  				case 4:
  					return 947;
  					break;
  				
  				case 6:
  					return 955;
  					break;
  				
  				case 8:
  					return 1419;
  					break;
  				
  				case 11:
  					return 939;
  					break;
  				
  				case 14:
  					return 971;
  					break;
  			}
  			break;
  		
  		case 5:
  			switch (iParam0)
  			{
  				case 4:
  					return 948;
  					break;
  				
  				case 6:
  					return 956;
  					break;
  				
  				case 8:
  					return 1420;
  					break;
  				
  				case 11:
  					return 940;
  					break;
  				
  				case 14:
  					return 972;
  					break;
  			}
  			break;
  		
  		case 6:
  			switch (iParam0)
  			{
  				case 4:
  					return 949;
  					break;
  				
  				case 6:
  					return 957;
  					break;
  				
  				case 8:
  					return 1421;
  					break;
  				
  				case 11:
  					return 941;
  					break;
  				
  				case 14:
  					return 973;
  					break;
  			}
  			break;
  		
  		case 7:
  			switch (iParam0)
  			{
  				case 4:
  					return 950;
  					break;
  				
  				case 6:
  					return 958;
  					break;
  				
  				case 8:
  					return 1422;
  					break;
  				
  				case 11:
  					return 942;
  					break;
  				
  				case 14:
  					return 974;
  					break;
  			}
  			break;
  		
  		case 8:
  			switch (iParam0)
  			{
  				case 14:
  					return 975;
  					break;
  			}
  			break;
  		
  		case 9:
  			switch (iParam0)
  			{
  				case 14:
  					return 976;
  					break;
  			}
  			break;
  		
  		case 10:
  			switch (iParam0)
  			{
  				case 14:
  					return 977;
  					break;
  			}
  			break;
  	}
  	return 935;
  }
  
  int func_157(int iParam0, int iParam1)
  {
  	switch (iParam1)
  	{
  		case 0:
  			switch (iParam0)
  			{
  				case 2:
  					return 875;
  					break;
  				
  				case 3:
  					return 1399;
  					break;
  				
  				case 4:
  					return 891;
  					break;
  				
  				case 6:
  					return 899;
  					break;
  				
  				case 8:
  					return 1400;
  					break;
  				
  				case 9:
  					return 1408;
  					break;
  				
  				case 10:
  					return 1410;
  					break;
  				
  				case 1:
  					return 907;
  					break;
  				
  				case 7:
  					return 1411;
  					break;
  				
  				case 11:
  					return 883;
  					break;
  				
  				case 14:
  					return 915;
  					break;
  				
  				case 12:
  					return 926;
  					break;
  			}
  			break;
  		
  		case 1:
  			switch (iParam0)
  			{
  				case 2:
  					return 876;
  					break;
  				
  				case 4:
  					return 892;
  					break;
  				
  				case 6:
  					return 900;
  					break;
  				
  				case 8:
  					return 1401;
  					break;
  				
  				case 9:
  					return 1409;
  					break;
  				
  				case 7:
  					return 1412;
  					break;
  				
  				case 11:
  					return 884;
  					break;
  				
  				case 14:
  					return 916;
  					break;
  			}
  			break;
  		
  		case 2:
  			switch (iParam0)
  			{
  				case 2:
  					return 877;
  					break;
  				
  				case 4:
  					return 893;
  					break;
  				
  				case 6:
  					return 901;
  					break;
  				
  				case 8:
  					return 1402;
  					break;
  				
  				case 7:
  					return 1413;
  					break;
  				
  				case 11:
  					return 885;
  					break;
  				
  				case 14:
  					return 917;
  					break;
  			}
  			break;
  		
  		case 3:
  			switch (iParam0)
  			{
  				case 4:
  					return 894;
  					break;
  				
  				case 6:
  					return 902;
  					break;
  				
  				case 8:
  					return 1403;
  					break;
  				
  				case 11:
  					return 886;
  					break;
  				
  				case 14:
  					return 918;
  					break;
  			}
  			break;
  		
  		case 4:
  			switch (iParam0)
  			{
  				case 4:
  					return 895;
  					break;
  				
  				case 6:
  					return 903;
  					break;
  				
  				case 8:
  					return 1404;
  					break;
  				
  				case 11:
  					return 887;
  					break;
  				
  				case 14:
  					return 919;
  					break;
  			}
  			break;
  		
  		case 5:
  			switch (iParam0)
  			{
  				case 4:
  					return 896;
  					break;
  				
  				case 6:
  					return 904;
  					break;
  				
  				case 8:
  					return 1405;
  					break;
  				
  				case 11:
  					return 888;
  					break;
  				
  				case 14:
  					return 920;
  					break;
  			}
  			break;
  		
  		case 6:
  			switch (iParam0)
  			{
  				case 4:
  					return 897;
  					break;
  				
  				case 6:
  					return 905;
  					break;
  				
  				case 8:
  					return 1406;
  					break;
  				
  				case 11:
  					return 889;
  					break;
  				
  				case 14:
  					return 921;
  					break;
  			}
  			break;
  		
  		case 7:
  			switch (iParam0)
  			{
  				case 4:
  					return 898;
  					break;
  				
  				case 6:
  					return 906;
  					break;
  				
  				case 8:
  					return 1407;
  					break;
  				
  				case 11:
  					return 890;
  					break;
  				
  				case 14:
  					return 922;
  					break;
  			}
  			break;
  		
  		case 8:
  			switch (iParam0)
  			{
  				case 14:
  					return 923;
  					break;
  			}
  			break;
  		
  		case 9:
  			switch (iParam0)
  			{
  				case 14:
  					return 924;
  					break;
  			}
  			break;
  		
  		case 10:
  			switch (iParam0)
  			{
  				case 14:
  					return 925;
  					break;
  			}
  			break;
  	}
  	return 883;
  }
  
  int func_158(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4, int iParam5, int iParam6)
  {
  	if (iParam0 == 0)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/][iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/][iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/][iParam3], iParam4);
  	}
  	else if (iParam0 == 1)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_4[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_4[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_4[iParam3], iParam4);
  	}
  	else if (iParam0 == 2)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_8[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_8[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_8[iParam3], iParam4);
  	}
  	else if (iParam0 == 3)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_12[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_12[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_12[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_16[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_16[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_16[iParam3], iParam4);
  		}
  		else if (iParam2 == 2)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_20[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_20[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_20[iParam3], iParam4);
  		}
  		else if (iParam2 == 3)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_24[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_24[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_24[iParam3], iParam4);
  		}
  		else if (iParam2 == 4)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_28[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_28[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_28[iParam3], iParam4);
  		}
  		else if (iParam2 == 5)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_32[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_32[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_32[iParam3], iParam4);
  		}
  		else if (iParam2 == 6)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_36[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_36[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_36[iParam3], iParam4);
  		}
  		else if (iParam2 == 7)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_40[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_40[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_40[iParam3], iParam4);
  		}
  		else if (iParam2 == 8)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_44[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_44[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_44[iParam3], iParam4);
  		}
  		else if (iParam2 == 9)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_48[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_48[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_48[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 4)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_52[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_52[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_52[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_56[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_56[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_56[iParam3], iParam4);
  		}
  		else if (iParam2 == 2)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_60[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_60[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_60[iParam3], iParam4);
  		}
  		else if (iParam2 == 3)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_64[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_64[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_64[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 5)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_68[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_68[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_68[iParam3], iParam4);
  	}
  	else if (iParam0 == 6)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_72[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_72[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_72[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_76[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_76[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_76[iParam3], iParam4);
  		}
  		else if (iParam2 == 2)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_80[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_80[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_80[iParam3], iParam4);
  		}
  		else if (iParam2 == 3)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_84[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_84[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_84[iParam3], iParam4);
  		}
  		else if (iParam2 == 4)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_88[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_88[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_88[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 7)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_92[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_92[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_92[iParam3], iParam4);
  	}
  	else if (iParam0 == 8)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_96[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_96[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_96[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_100[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_100[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_100[iParam3], iParam4);
  		}
  		else if (iParam2 == 2)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_104[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_104[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_104[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 9)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_108[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_108[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_108[iParam3], iParam4);
  	}
  	else if (iParam0 == 10)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_112[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_112[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_112[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_116[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_116[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_116[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 11)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_120[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_120[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_120[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_124[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_124[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_124[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 12)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_128[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_128[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_128[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_132[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_132[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_132[iParam3], iParam4);
  		}
  	}
  	else if (iParam0 == 13)
  	{
  		if (iParam5 == 1)
  		{
  			unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_136[iParam3]), iParam4);
  		}
  		if (iParam6 == 1)
  		{
  			unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_136[iParam3]), iParam4);
  		}
  		return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_136[iParam3], iParam4);
  	}
  	else if (iParam0 == 14)
  	{
  		if (iParam2 == 0)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_140[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_140[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_140[iParam3], iParam4);
  		}
  		else if (iParam2 == 1)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_144[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_144[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_144[iParam3], iParam4);
  		}
  		else if (iParam2 == 2)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_148[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_148[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_148[iParam3], iParam4);
  		}
  		else if (iParam2 == 3)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_152[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_152[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_152[iParam3], iParam4);
  		}
  		else if (iParam2 == 4)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_156[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_156[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_156[iParam3], iParam4);
  		}
  		else if (iParam2 == 5)
  		{
  			if (iParam5 == 1)
  			{
  				unk_0xBE20AB8238688965(&(Global_111858.f_2359[iParam1 /*164*/].f_160[iParam3]), iParam4);
  			}
  			if (iParam6 == 1)
  			{
  				unk_0xD2459066EA58CE43(&(Global_111858.f_2359[iParam1 /*164*/].f_160[iParam3]), iParam4);
  			}
  			return unk_0xCE990E643CD9D0E5(Global_111858.f_2359[iParam1 /*164*/].f_160[iParam3], iParam4);
  		}
  	}
  	return 0;
  }
  
  int func_159(int iParam0, int iParam1, bool bParam2, bool bParam3, int iParam4)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	var uVar3;
  	
  	iVar0 = Global_76644;
  	if (iParam4 != -1)
  	{
  		iVar0 = iParam4;
  	}
  	if (func_160(iParam0, iParam1, &iVar2, &iVar1, bParam2, bParam3))
  	{
  		uVar3 = func_15(iVar2, iVar0, 0);
  		return unk_0xCE990E643CD9D0E5(uVar3, iVar1);
  	}
  	return 0;
  }
  
  bool func_160(int iParam0, int iParam1, var uParam2, var uParam3, bool bParam4, bool bParam5)
  {
  	int iVar0;
  	
  	*uParam2 = 11771;
  	if ((bParam4 && Global_4268238) || (!bParam4 && bParam5))
  	{
  		switch (iParam1)
  		{
  			case 1:
  				switch (iParam0)
  				{
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_0"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_0"):
  						*uParam2 = 971;
  						*uParam3 = 19;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_1"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_1"):
  						*uParam2 = 971;
  						*uParam3 = 20;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_2"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_2"):
  						*uParam2 = 971;
  						*uParam3 = 21;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_3"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_3"):
  						*uParam2 = 971;
  						*uParam3 = 22;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_4"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_4"):
  						*uParam2 = 971;
  						*uParam3 = 23;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_5"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_5"):
  						*uParam2 = 971;
  						*uParam3 = 24;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_6"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_6"):
  						*uParam2 = 971;
  						*uParam3 = 25;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_7"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_7"):
  						*uParam2 = 971;
  						*uParam3 = 26;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_0"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_0"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_0"):
  						*uParam2 = 935;
  						*uParam3 = 0;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_1"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_1"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_1"):
  						*uParam2 = 935;
  						*uParam3 = 1;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_2"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_2"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_2"):
  						*uParam2 = 935;
  						*uParam3 = 2;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_3"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_3"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_3"):
  						*uParam2 = 935;
  						*uParam3 = 3;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_4"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_4"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_4"):
  						*uParam2 = 935;
  						*uParam3 = 4;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_5"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_5"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_5"):
  						*uParam2 = 935;
  						*uParam3 = 5;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_7"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_7"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_7"):
  						*uParam2 = 935;
  						*uParam3 = 7;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_8"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_8"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_8"):
  						*uParam2 = 935;
  						*uParam3 = 8;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_BIKER_M_SPECIAL_0_11"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_2_11"):
  					case joaat("DLC_MP_BIKER_M_SPECIAL_4_11"):
  						*uParam2 = 935;
  						*uParam3 = 11;
  						return 1;
  						break;
  				}
  				break;
  			
  			case 2:
  				switch (iParam0)
  				{
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_0"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_0"):
  						*uParam2 = 1023;
  						*uParam3 = 19;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_1"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_1"):
  						*uParam2 = 1023;
  						*uParam3 = 20;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_2"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_2"):
  						*uParam2 = 1023;
  						*uParam3 = 21;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_3"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_3"):
  						*uParam2 = 1023;
  						*uParam3 = 22;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_4"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_4"):
  						*uParam2 = 1023;
  						*uParam3 = 23;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_5"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_5"):
  						*uParam2 = 1023;
  						*uParam3 = 24;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_6"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_6"):
  						*uParam2 = 1023;
  						*uParam3 = 25;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_M_PHEAD_15_7"):
  					case joaat("DLC_MP_STUNT_M_PHEAD_0_7"):
  						*uParam2 = 1023;
  						*uParam3 = 26;
  						return 1;
  						break;
  				}
  				break;
  		}
  	}
  	else
  	{
  		switch (iParam1)
  		{
  			case 1:
  				switch (iParam0)
  				{
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_0"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_0"):
  						*uParam2 = 971;
  						*uParam3 = 19;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_1"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_1"):
  						*uParam2 = 971;
  						*uParam3 = 20;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_2"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_2"):
  						*uParam2 = 971;
  						*uParam3 = 21;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_3"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_3"):
  						*uParam2 = 971;
  						*uParam3 = 22;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_4"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_4"):
  						*uParam2 = 971;
  						*uParam3 = 23;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_5"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_5"):
  						*uParam2 = 971;
  						*uParam3 = 24;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_6"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_6"):
  						*uParam2 = 971;
  						*uParam3 = 25;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_7"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_7"):
  						*uParam2 = 971;
  						*uParam3 = 26;
  						return 1;
  						break;
  				}
  				break;
  			
  			case 2:
  				switch (iParam0)
  				{
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_0"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_0"):
  						*uParam2 = 1023;
  						*uParam3 = 19;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_1"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_1"):
  						*uParam2 = 1023;
  						*uParam3 = 20;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_2"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_2"):
  						*uParam2 = 1023;
  						*uParam3 = 21;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_3"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_3"):
  						*uParam2 = 1023;
  						*uParam3 = 22;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_4"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_4"):
  						*uParam2 = 1023;
  						*uParam3 = 23;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_5"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_5"):
  						*uParam2 = 1023;
  						*uParam3 = 24;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_6"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_6"):
  						*uParam2 = 1023;
  						*uParam3 = 25;
  						return 1;
  						break;
  					
  					case joaat("DLC_MP_STUNT_F_PHEAD_15_7"):
  					case joaat("DLC_MP_STUNT_F_PHEAD_0_7"):
  						*uParam2 = 1023;
  						*uParam3 = 26;
  						return 1;
  						break;
  				}
  				break;
  			}
  	}
  	iVar0 = -1;
  	if (bParam4)
  	{
  		if (Global_4268238)
  		{
  			iVar0 = unk_0x52E48CCEEE1A6F7C(iParam0);
  		}
  		else
  		{
  			iVar0 = unk_0x9C343CBA5B2E3744(iParam0);
  		}
  	}
  	else if (bParam5)
  	{
  		iVar0 = unk_0x52E48CCEEE1A6F7C(iParam0);
  	}
  	else
  	{
  		iVar0 = unk_0x9C343CBA5B2E3744(iParam0);
  	}
  	if (iVar0 == -1)
  	{
  		return 0;
  	}
  	switch (iParam1)
  	{
  		case 1:
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 0:
  					*uParam2 = 1760;
  					break;
  				
  				case 1:
  					*uParam2 = 1761;
  					break;
  				
  				case 2:
  					*uParam2 = 1762;
  					break;
  				
  				case 3:
  					*uParam2 = 1763;
  					break;
  				
  				case 4:
  					*uParam2 = 1764;
  					break;
  				
  				case 5:
  					*uParam2 = 1765;
  					break;
  				
  				case 6:
  					*uParam2 = 1772;
  					break;
  				
  				case 7:
  					*uParam2 = 1773;
  					break;
  				
  				case 8:
  					*uParam2 = 1774;
  					break;
  				
  				case 9:
  					*uParam2 = 1775;
  					break;
  				
  				case 10:
  					*uParam2 = 1776;
  					break;
  				
  				case 11:
  					*uParam2 = 1777;
  					break;
  				
  				case 12:
  					*uParam2 = 1778;
  					break;
  				
  				case 13:
  					*uParam2 = 1786;
  					break;
  				
  				case 14:
  					*uParam2 = 1787;
  					break;
  				
  				case 15:
  					*uParam2 = 1888;
  					break;
  				
  				case 16:
  					*uParam2 = 1889;
  					break;
  				
  				case 17:
  					*uParam2 = 1920;
  					break;
  				
  				case 18:
  					*uParam2 = 1934;
  					break;
  				
  				case 19:
  					*uParam2 = 1935;
  					break;
  				
  				case 20:
  					*uParam2 = 1936;
  					break;
  				
  				case 21:
  					*uParam2 = 1937;
  					break;
  				
  				case 22:
  					*uParam2 = 1938;
  					break;
  				
  				case 23:
  					*uParam2 = 2042;
  					break;
  				
  				case 24:
  					*uParam2 = 2043;
  					break;
  				
  				case 25:
  					*uParam2 = 2069;
  					break;
  				
  				case 26:
  					*uParam2 = 2070;
  					break;
  				
  				case 27:
  					*uParam2 = 2071;
  					break;
  				
  				case 28:
  					*uParam2 = 2072;
  					break;
  				
  				case 29:
  					*uParam2 = 2073;
  					break;
  				
  				case 30:
  					*uParam2 = 2074;
  					break;
  				
  				case 31:
  					*uParam2 = 2075;
  					break;
  				
  				case 32:
  					*uParam2 = 2076;
  					break;
  				
  				case 33:
  					*uParam2 = 2077;
  					break;
  				
  				case 34:
  					*uParam2 = 2078;
  					break;
  				
  				case 35:
  					*uParam2 = 2325;
  					break;
  				
  				case 36:
  					*uParam2 = 2326;
  					break;
  				
  				case 37:
  					*uParam2 = 2390;
  					break;
  				
  				case 38:
  					*uParam2 = 2391;
  					break;
  				
  				case 39:
  					*uParam2 = 2392;
  					break;
  				
  				case 40:
  					*uParam2 = 2393;
  					break;
  				
  				case 41:
  					*uParam2 = 2452;
  					break;
  				
  				case 42:
  					*uParam2 = 2453;
  					break;
  				
  				case 43:
  					*uParam2 = 2454;
  					break;
  				
  				case 44:
  					*uParam2 = 2455;
  					break;
  				
  				case 45:
  					*uParam2 = 2456;
  					break;
  				
  				case 46:
  					*uParam2 = 2457;
  					break;
  				
  				case 47:
  					*uParam2 = 2458;
  					break;
  				
  				case 48:
  					*uParam2 = 2459;
  					break;
  				
  				case 49:
  					*uParam2 = 2460;
  					break;
  				
  				case 50:
  					*uParam2 = 2461;
  					break;
  				
  				case 51:
  					*uParam2 = 2590;
  					break;
  				
  				case 52:
  					*uParam2 = 2591;
  					break;
  				
  				case 53:
  					*uParam2 = 2592;
  					break;
  				
  				case 54:
  					*uParam2 = 2593;
  					break;
  				
  				case 55:
  					*uParam2 = 2594;
  					break;
  				
  				case 56:
  					*uParam2 = 2595;
  					break;
  				
  				case 57:
  					*uParam2 = 2596;
  					break;
  				
  				case 58:
  					*uParam2 = 2597;
  					break;
  				
  				case 59:
  					*uParam2 = 2598;
  					break;
  				
  				case 60:
  					*uParam2 = 2599;
  					break;
  				
  				case 61:
  					*uParam2 = 2600;
  					break;
  				
  				case 62:
  					*uParam2 = 3197;
  					break;
  				
  				case 63:
  					*uParam2 = 3198;
  					break;
  				
  				case 64:
  					*uParam2 = 3199;
  					break;
  				
  				case 65:
  					*uParam2 = 3200;
  					break;
  				
  				case 66:
  					*uParam2 = 3201;
  					break;
  				
  				case 67:
  					*uParam2 = 3202;
  					break;
  				
  				case 68:
  					*uParam2 = 3670;
  					break;
  				
  				case 69:
  					*uParam2 = 3671;
  					break;
  				
  				case 70:
  					*uParam2 = 3672;
  					break;
  				
  				case 71:
  					*uParam2 = 3673;
  					break;
  				
  				case 72:
  					*uParam2 = 3674;
  					break;
  				
  				case 73:
  					*uParam2 = 3675;
  					break;
  				
  				case 74:
  					*uParam2 = 3676;
  					break;
  				
  				case 75:
  					*uParam2 = 3677;
  					break;
  				
  				case 76:
  					*uParam2 = 3678;
  					break;
  				
  				case 77:
  					*uParam2 = 3679;
  					break;
  				
  				case 78:
  					*uParam2 = 3793;
  					break;
  				
  				case joaat("MPSV_LP0_31"):
  					*uParam2 = 3794;
  					break;
  				
  				case 80:
  					*uParam2 = 3795;
  					break;
  				
  				case 81:
  					*uParam2 = 3796;
  					break;
  				
  				case 82:
  					*uParam2 = 3797;
  					break;
  				
  				case 83:
  					*uParam2 = 3798;
  					break;
  				
  				case 84:
  					*uParam2 = 3799;
  					break;
  				
  				case 85:
  					*uParam2 = 3800;
  					break;
  				
  				case 86:
  					*uParam2 = 3903;
  					break;
  				
  				case 87:
  					*uParam2 = 3904;
  					break;
  				
  				case 88:
  					*uParam2 = 3905;
  					break;
  				
  				case 89:
  					*uParam2 = 5338;
  					break;
  				
  				case 90:
  					*uParam2 = 5339;
  					break;
  				
  				case 91:
  					*uParam2 = 5340;
  					break;
  				
  				case 92:
  					*uParam2 = 5341;
  					break;
  				
  				case 93:
  					*uParam2 = 5342;
  					break;
  				
  				case 94:
  					*uParam2 = 5343;
  					break;
  				
  				case 95:
  					*uParam2 = 5344;
  					break;
  				
  				case 96:
  					*uParam2 = 5345;
  					break;
  				
  				case 97:
  					*uParam2 = 5346;
  					break;
  				
  				case 98:
  					*uParam2 = 5347;
  					break;
  				
  				case 99:
  					*uParam2 = 5348;
  					break;
  			}
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 100:
  					*uParam2 = 5349;
  					break;
  				
  				case 101:
  					*uParam2 = 5395;
  					break;
  				
  				case 102:
  					*uParam2 = 5396;
  					break;
  				
  				case 103:
  					*uParam2 = 5397;
  					break;
  				
  				case 104:
  					*uParam2 = 5398;
  					break;
  				
  				case 105:
  					*uParam2 = 5399;
  					break;
  				
  				case 106:
  					*uParam2 = 5400;
  					break;
  				
  				case 107:
  					*uParam2 = 5401;
  					break;
  				
  				case 108:
  					*uParam2 = 5402;
  					break;
  				
  				case 109:
  					*uParam2 = 5403;
  					break;
  				
  				case 110:
  					*uParam2 = 5404;
  					break;
  				
  				case 111:
  					*uParam2 = 5405;
  					break;
  				
  				case 112:
  					*uParam2 = 5406;
  					break;
  				
  				case 113:
  					*uParam2 = 5407;
  					break;
  				
  				case 114:
  					*uParam2 = 5408;
  					break;
  				
  				case 115:
  					*uParam2 = 5409;
  					break;
  				
  				case 116:
  					*uParam2 = 5410;
  					break;
  				
  				case 117:
  					*uParam2 = 5411;
  					break;
  				
  				case 118:
  					*uParam2 = 5412;
  					break;
  				
  				case 119:
  					*uParam2 = 5413;
  					break;
  				
  				case 120:
  					*uParam2 = 5414;
  					break;
  				
  				case 121:
  					*uParam2 = 5415;
  					break;
  				
  				case 122:
  					*uParam2 = 5416;
  					break;
  				
  				case 123:
  					*uParam2 = 5417;
  					break;
  				
  				case 124:
  					*uParam2 = 6123;
  					break;
  				
  				case 125:
  					*uParam2 = 6124;
  					break;
  				
  				case 126:
  					*uParam2 = 6125;
  					break;
  				
  				case 127:
  					*uParam2 = 6126;
  					break;
  				
  				case 128:
  					*uParam2 = 6127;
  					break;
  				
  				case 129:
  					*uParam2 = 6128;
  					break;
  				
  				case 130:
  					*uParam2 = 6129;
  					break;
  				
  				case 131:
  					*uParam2 = 6130;
  					break;
  				
  				case 132:
  					*uParam2 = 6131;
  					break;
  				
  				case 133:
  					*uParam2 = 6132;
  					break;
  				
  				case 134:
  					*uParam2 = 6133;
  					break;
  				
  				case 135:
  					*uParam2 = 6134;
  					break;
  				
  				case 136:
  					*uParam2 = 6135;
  					break;
  				
  				case 137:
  					*uParam2 = 6136;
  					break;
  				
  				case 138:
  					*uParam2 = 6137;
  					break;
  				
  				case 139:
  					*uParam2 = 6436;
  					break;
  				
  				case 140:
  					*uParam2 = 6437;
  					break;
  				
  				case 141:
  					*uParam2 = 6438;
  					break;
  				
  				case 142:
  					*uParam2 = 6439;
  					break;
  				
  				case 143:
  					*uParam2 = 6440;
  					break;
  				
  				case 144:
  					*uParam2 = 6441;
  					break;
  				
  				case 145:
  					*uParam2 = 6442;
  					break;
  				
  				case 146:
  					*uParam2 = 6443;
  					break;
  				
  				case 147:
  					*uParam2 = 6444;
  					break;
  				
  				case 148:
  					*uParam2 = 6445;
  					break;
  				
  				case 149:
  					*uParam2 = 6446;
  					break;
  				
  				case 150:
  					*uParam2 = 6447;
  					break;
  				
  				case 151:
  					*uParam2 = 6448;
  					break;
  				
  				case 152:
  					*uParam2 = 6449;
  					break;
  				
  				case 153:
  					*uParam2 = 6450;
  					break;
  				
  				case 154:
  					*uParam2 = 7267;
  					break;
  				
  				case 155:
  					*uParam2 = 7268;
  					break;
  				
  				case 156:
  					*uParam2 = 7269;
  					break;
  				
  				case 157:
  					*uParam2 = 7270;
  					break;
  				
  				case 158:
  					*uParam2 = 7271;
  					break;
  				
  				case 159:
  					*uParam2 = 7272;
  					break;
  				
  				case 160:
  					*uParam2 = 7273;
  					break;
  				
  				case 161:
  					*uParam2 = 7880;
  					break;
  				
  				case 162:
  					*uParam2 = 7881;
  					break;
  				
  				case 163:
  					*uParam2 = 7882;
  					break;
  				
  				case 164:
  					*uParam2 = 7883;
  					break;
  				
  				case 165:
  					*uParam2 = 7884;
  					break;
  				
  				case 166:
  					*uParam2 = 7885;
  					break;
  				
  				case 167:
  					*uParam2 = 7886;
  					break;
  				
  				case 168:
  					*uParam2 = 7887;
  					break;
  				
  				case 169:
  					*uParam2 = 7888;
  					break;
  				
  				case 170:
  					*uParam2 = 7889;
  					break;
  				
  				case 171:
  					*uParam2 = 7890;
  					break;
  				
  				case 172:
  					*uParam2 = 7891;
  					break;
  				
  				case 173:
  					*uParam2 = 7892;
  					break;
  				
  				case 174:
  					*uParam2 = 7893;
  					break;
  				
  				case 175:
  					*uParam2 = 7894;
  					break;
  				
  				case 176:
  					*uParam2 = 8300;
  					break;
  				
  				case 177:
  					*uParam2 = 8301;
  					break;
  				
  				case 178:
  					*uParam2 = 8302;
  					break;
  				
  				case 179:
  					*uParam2 = 8303;
  					break;
  				
  				case 180:
  					*uParam2 = 8304;
  					break;
  				
  				case 181:
  					*uParam2 = 8305;
  					break;
  				
  				case 182:
  					*uParam2 = 8306;
  					break;
  				
  				case 183:
  					*uParam2 = 8307;
  					break;
  				
  				case 184:
  					*uParam2 = 8308;
  					break;
  				
  				case 185:
  					*uParam2 = 8309;
  					break;
  				
  				case 186:
  					*uParam2 = 8310;
  					break;
  				
  				case 187:
  					*uParam2 = 8311;
  					break;
  				
  				case 188:
  					*uParam2 = 8312;
  					break;
  				
  				case 189:
  					*uParam2 = 8313;
  					break;
  				
  				case 190:
  					*uParam2 = 8314;
  					break;
  				
  				case 191:
  					*uParam2 = 8315;
  					break;
  				
  				case 192:
  					*uParam2 = 8316;
  					break;
  				
  				case 193:
  					*uParam2 = 8317;
  					break;
  				
  				case 194:
  					*uParam2 = 8318;
  					break;
  				
  				case 195:
  					*uParam2 = 8319;
  					break;
  				
  				case 196:
  					*uParam2 = 8320;
  					break;
  				
  				case 197:
  					*uParam2 = 8321;
  					break;
  				
  				case 198:
  					*uParam2 = 8322;
  					break;
  				
  				case 199:
  					*uParam2 = 8323;
  					break;
  			}
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 200:
  					*uParam2 = 8324;
  					break;
  				
  				case 201:
  					*uParam2 = 8937;
  					break;
  				
  				case 202:
  					*uParam2 = 8938;
  					break;
  				
  				case 203:
  					*uParam2 = 8939;
  					break;
  				
  				case 204:
  					*uParam2 = 8940;
  					break;
  				
  				case 205:
  					*uParam2 = 8941;
  					break;
  				
  				case 206:
  					*uParam2 = 9420;
  					break;
  				
  				case 207:
  					*uParam2 = 9421;
  					break;
  				
  				case 208:
  					*uParam2 = 9422;
  					break;
  				
  				case 209:
  					*uParam2 = 9423;
  					break;
  				
  				case 210:
  					*uParam2 = 9424;
  					break;
  				
  				case 211:
  					*uParam2 = 9425;
  					break;
  				
  				case 212:
  					*uParam2 = 9426;
  					break;
  				
  				case 213:
  					*uParam2 = 9427;
  					break;
  				
  				case 214:
  					*uParam2 = 9428;
  					break;
  				
  				case 215:
  					*uParam2 = 9429;
  					break;
  				
  				case 216:
  					*uParam2 = 9430;
  					break;
  				
  				case 217:
  					*uParam2 = 9431;
  					break;
  				
  				case 218:
  					*uParam2 = 9432;
  					break;
  				
  				case 219:
  					*uParam2 = 9433;
  					break;
  				
  				case 220:
  					*uParam2 = 9434;
  					break;
  				
  				case 221:
  					*uParam2 = 9435;
  					break;
  				
  				case 222:
  					*uParam2 = 9436;
  					break;
  				
  				case 223:
  					*uParam2 = 9437;
  					break;
  				
  				case 224:
  					*uParam2 = 9438;
  					break;
  				
  				case 225:
  					*uParam2 = 9439;
  					break;
  				
  				case 226:
  					*uParam2 = 9440;
  					break;
  				
  				case 227:
  					*uParam2 = 9441;
  					break;
  				
  				case 228:
  					*uParam2 = 9442;
  					break;
  				
  				case 229:
  					*uParam2 = 9443;
  					break;
  				
  				case 230:
  					*uParam2 = 9444;
  					break;
  			}
  			break;
  		
  		case 2:
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 0:
  					*uParam2 = 1766;
  					break;
  				
  				case 1:
  					*uParam2 = 1767;
  					break;
  				
  				case 2:
  					*uParam2 = 1768;
  					break;
  				
  				case 3:
  					*uParam2 = 1769;
  					break;
  				
  				case 4:
  					*uParam2 = 1770;
  					break;
  				
  				case 5:
  					*uParam2 = 1771;
  					break;
  				
  				case 6:
  					*uParam2 = 1779;
  					break;
  				
  				case 7:
  					*uParam2 = 1780;
  					break;
  				
  				case 8:
  					*uParam2 = 1781;
  					break;
  				
  				case 9:
  					*uParam2 = 1782;
  					break;
  				
  				case 10:
  					*uParam2 = 1783;
  					break;
  				
  				case 11:
  					*uParam2 = 1784;
  					break;
  				
  				case 12:
  					*uParam2 = 1785;
  					break;
  				
  				case 13:
  					*uParam2 = 1788;
  					break;
  				
  				case 14:
  					*uParam2 = 1789;
  					break;
  				
  				case 15:
  					*uParam2 = 1890;
  					break;
  				
  				case 16:
  					*uParam2 = 1891;
  					break;
  				
  				case 17:
  					*uParam2 = 1921;
  					break;
  				
  				case 18:
  					*uParam2 = 1939;
  					break;
  				
  				case 19:
  					*uParam2 = 1940;
  					break;
  				
  				case 20:
  					*uParam2 = 1941;
  					break;
  				
  				case 21:
  					*uParam2 = 1942;
  					break;
  				
  				case 22:
  					*uParam2 = 1943;
  					break;
  				
  				case 23:
  					*uParam2 = 2044;
  					break;
  				
  				case 24:
  					*uParam2 = 2045;
  					break;
  				
  				case 25:
  					*uParam2 = 2079;
  					break;
  				
  				case 26:
  					*uParam2 = 2080;
  					break;
  				
  				case 27:
  					*uParam2 = 2081;
  					break;
  				
  				case 28:
  					*uParam2 = 2082;
  					break;
  				
  				case 29:
  					*uParam2 = 2083;
  					break;
  				
  				case 30:
  					*uParam2 = 2084;
  					break;
  				
  				case 31:
  					*uParam2 = 2085;
  					break;
  				
  				case 32:
  					*uParam2 = 2086;
  					break;
  				
  				case 33:
  					*uParam2 = 2087;
  					break;
  				
  				case 34:
  					*uParam2 = 2088;
  					break;
  				
  				case 35:
  					*uParam2 = 2327;
  					break;
  				
  				case 36:
  					*uParam2 = 2328;
  					break;
  				
  				case 37:
  					*uParam2 = 2394;
  					break;
  				
  				case 38:
  					*uParam2 = 2395;
  					break;
  				
  				case 39:
  					*uParam2 = 2396;
  					break;
  				
  				case 40:
  					*uParam2 = 2397;
  					break;
  				
  				case 41:
  					*uParam2 = 2462;
  					break;
  				
  				case 42:
  					*uParam2 = 2463;
  					break;
  				
  				case 43:
  					*uParam2 = 2464;
  					break;
  				
  				case 44:
  					*uParam2 = 2465;
  					break;
  				
  				case 45:
  					*uParam2 = 2466;
  					break;
  				
  				case 46:
  					*uParam2 = 2467;
  					break;
  				
  				case 47:
  					*uParam2 = 2468;
  					break;
  				
  				case 48:
  					*uParam2 = 2469;
  					break;
  				
  				case 49:
  					*uParam2 = 2470;
  					break;
  				
  				case 50:
  					*uParam2 = 2471;
  					break;
  				
  				case 51:
  					*uParam2 = 2601;
  					break;
  				
  				case 52:
  					*uParam2 = 2602;
  					break;
  				
  				case 53:
  					*uParam2 = 2603;
  					break;
  				
  				case 54:
  					*uParam2 = 2604;
  					break;
  				
  				case 55:
  					*uParam2 = 2605;
  					break;
  				
  				case 56:
  					*uParam2 = 2606;
  					break;
  				
  				case 57:
  					*uParam2 = 2607;
  					break;
  				
  				case 58:
  					*uParam2 = 2608;
  					break;
  				
  				case 59:
  					*uParam2 = 2609;
  					break;
  				
  				case 60:
  					*uParam2 = 2610;
  					break;
  				
  				case 61:
  					*uParam2 = 2611;
  					break;
  				
  				case 62:
  					*uParam2 = 3203;
  					break;
  				
  				case 63:
  					*uParam2 = 3204;
  					break;
  				
  				case 64:
  					*uParam2 = 3205;
  					break;
  				
  				case 65:
  					*uParam2 = 3206;
  					break;
  				
  				case 66:
  					*uParam2 = 3207;
  					break;
  				
  				case 67:
  					*uParam2 = 3208;
  					break;
  				
  				case 68:
  					*uParam2 = 3680;
  					break;
  				
  				case 69:
  					*uParam2 = 3681;
  					break;
  				
  				case 70:
  					*uParam2 = 3682;
  					break;
  				
  				case 71:
  					*uParam2 = 3683;
  					break;
  				
  				case 72:
  					*uParam2 = 3684;
  					break;
  				
  				case 73:
  					*uParam2 = 3685;
  					break;
  				
  				case 74:
  					*uParam2 = 3686;
  					break;
  				
  				case 75:
  					*uParam2 = 3687;
  					break;
  				
  				case 76:
  					*uParam2 = 3688;
  					break;
  				
  				case 77:
  					*uParam2 = 3689;
  					break;
  				
  				case 78:
  					*uParam2 = 3801;
  					break;
  				
  				case joaat("MPSV_LP0_31"):
  					*uParam2 = 3802;
  					break;
  				
  				case 80:
  					*uParam2 = 3803;
  					break;
  				
  				case 81:
  					*uParam2 = 3804;
  					break;
  				
  				case 82:
  					*uParam2 = 3805;
  					break;
  				
  				case 83:
  					*uParam2 = 3806;
  					break;
  				
  				case 84:
  					*uParam2 = 3807;
  					break;
  				
  				case 85:
  					*uParam2 = 3808;
  					break;
  				
  				case 86:
  					*uParam2 = 3906;
  					break;
  				
  				case 87:
  					*uParam2 = 3907;
  					break;
  				
  				case 88:
  					*uParam2 = 3908;
  					break;
  				
  				case 89:
  					*uParam2 = 5350;
  					break;
  				
  				case 90:
  					*uParam2 = 5351;
  					break;
  				
  				case 91:
  					*uParam2 = 5352;
  					break;
  				
  				case 92:
  					*uParam2 = 5353;
  					break;
  				
  				case 93:
  					*uParam2 = 5354;
  					break;
  				
  				case 94:
  					*uParam2 = 5355;
  					break;
  				
  				case 95:
  					*uParam2 = 5356;
  					break;
  				
  				case 96:
  					*uParam2 = 5357;
  					break;
  				
  				case 97:
  					*uParam2 = 5358;
  					break;
  				
  				case 98:
  					*uParam2 = 5359;
  					break;
  				
  				case 99:
  					*uParam2 = 5360;
  					break;
  			}
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 100:
  					*uParam2 = 5361;
  					break;
  				
  				case 101:
  					*uParam2 = 5418;
  					break;
  				
  				case 102:
  					*uParam2 = 5419;
  					break;
  				
  				case 103:
  					*uParam2 = 5420;
  					break;
  				
  				case 104:
  					*uParam2 = 5421;
  					break;
  				
  				case 105:
  					*uParam2 = 5422;
  					break;
  				
  				case 106:
  					*uParam2 = 5423;
  					break;
  				
  				case 107:
  					*uParam2 = 5424;
  					break;
  				
  				case 108:
  					*uParam2 = 5425;
  					break;
  				
  				case 109:
  					*uParam2 = 5426;
  					break;
  				
  				case 110:
  					*uParam2 = 5427;
  					break;
  				
  				case 111:
  					*uParam2 = 5428;
  					break;
  				
  				case 112:
  					*uParam2 = 5429;
  					break;
  				
  				case 113:
  					*uParam2 = 5430;
  					break;
  				
  				case 114:
  					*uParam2 = 5431;
  					break;
  				
  				case 115:
  					*uParam2 = 5432;
  					break;
  				
  				case 116:
  					*uParam2 = 5433;
  					break;
  				
  				case 117:
  					*uParam2 = 5434;
  					break;
  				
  				case 118:
  					*uParam2 = 5435;
  					break;
  				
  				case 119:
  					*uParam2 = 5436;
  					break;
  				
  				case 120:
  					*uParam2 = 5437;
  					break;
  				
  				case 121:
  					*uParam2 = 5438;
  					break;
  				
  				case 122:
  					*uParam2 = 5439;
  					break;
  				
  				case 123:
  					*uParam2 = 5440;
  					break;
  				
  				case 124:
  					*uParam2 = 6138;
  					break;
  				
  				case 125:
  					*uParam2 = 6139;
  					break;
  				
  				case 126:
  					*uParam2 = 6140;
  					break;
  				
  				case 127:
  					*uParam2 = 6141;
  					break;
  				
  				case 128:
  					*uParam2 = 6142;
  					break;
  				
  				case 129:
  					*uParam2 = 6143;
  					break;
  				
  				case 130:
  					*uParam2 = 6144;
  					break;
  				
  				case 131:
  					*uParam2 = 6145;
  					break;
  				
  				case 132:
  					*uParam2 = 6146;
  					break;
  				
  				case 133:
  					*uParam2 = 6147;
  					break;
  				
  				case 134:
  					*uParam2 = 6148;
  					break;
  				
  				case 135:
  					*uParam2 = 6149;
  					break;
  				
  				case 136:
  					*uParam2 = 6150;
  					break;
  				
  				case 137:
  					*uParam2 = 6151;
  					break;
  				
  				case 138:
  					*uParam2 = 6152;
  					break;
  				
  				case 139:
  					*uParam2 = 6451;
  					break;
  				
  				case 140:
  					*uParam2 = 6452;
  					break;
  				
  				case 141:
  					*uParam2 = 6453;
  					break;
  				
  				case 142:
  					*uParam2 = 6454;
  					break;
  				
  				case 143:
  					*uParam2 = 6455;
  					break;
  				
  				case 144:
  					*uParam2 = 6456;
  					break;
  				
  				case 145:
  					*uParam2 = 6457;
  					break;
  				
  				case 146:
  					*uParam2 = 6458;
  					break;
  				
  				case 147:
  					*uParam2 = 6459;
  					break;
  				
  				case 148:
  					*uParam2 = 6460;
  					break;
  				
  				case 149:
  					*uParam2 = 6461;
  					break;
  				
  				case 150:
  					*uParam2 = 6462;
  					break;
  				
  				case 151:
  					*uParam2 = 6463;
  					break;
  				
  				case 152:
  					*uParam2 = 6464;
  					break;
  				
  				case 153:
  					*uParam2 = 6465;
  					break;
  				
  				case 154:
  					*uParam2 = 7274;
  					break;
  				
  				case 155:
  					*uParam2 = 7275;
  					break;
  				
  				case 156:
  					*uParam2 = 7276;
  					break;
  				
  				case 157:
  					*uParam2 = 7277;
  					break;
  				
  				case 158:
  					*uParam2 = 7278;
  					break;
  				
  				case 159:
  					*uParam2 = 7279;
  					break;
  				
  				case 160:
  					*uParam2 = 7280;
  					break;
  				
  				case 161:
  					*uParam2 = 7895;
  					break;
  				
  				case 162:
  					*uParam2 = 7896;
  					break;
  				
  				case 163:
  					*uParam2 = 7897;
  					break;
  				
  				case 164:
  					*uParam2 = 7898;
  					break;
  				
  				case 165:
  					*uParam2 = 7899;
  					break;
  				
  				case 166:
  					*uParam2 = 7900;
  					break;
  				
  				case 167:
  					*uParam2 = 7901;
  					break;
  				
  				case 168:
  					*uParam2 = 7902;
  					break;
  				
  				case 169:
  					*uParam2 = 7903;
  					break;
  				
  				case 170:
  					*uParam2 = 7904;
  					break;
  				
  				case 171:
  					*uParam2 = 7905;
  					break;
  				
  				case 172:
  					*uParam2 = 7906;
  					break;
  				
  				case 173:
  					*uParam2 = 7907;
  					break;
  				
  				case 174:
  					*uParam2 = 7908;
  					break;
  				
  				case 175:
  					*uParam2 = 7909;
  					break;
  				
  				case 176:
  					*uParam2 = 8325;
  					break;
  				
  				case 177:
  					*uParam2 = 8326;
  					break;
  				
  				case 178:
  					*uParam2 = 8327;
  					break;
  				
  				case 179:
  					*uParam2 = 8328;
  					break;
  				
  				case 180:
  					*uParam2 = 8329;
  					break;
  				
  				case 181:
  					*uParam2 = 8330;
  					break;
  				
  				case 182:
  					*uParam2 = 8331;
  					break;
  				
  				case 183:
  					*uParam2 = 8332;
  					break;
  				
  				case 184:
  					*uParam2 = 8333;
  					break;
  				
  				case 185:
  					*uParam2 = 8334;
  					break;
  				
  				case 186:
  					*uParam2 = 8335;
  					break;
  				
  				case 187:
  					*uParam2 = 8336;
  					break;
  				
  				case 188:
  					*uParam2 = 8337;
  					break;
  				
  				case 189:
  					*uParam2 = 8338;
  					break;
  				
  				case 190:
  					*uParam2 = 8339;
  					break;
  				
  				case 191:
  					*uParam2 = 8340;
  					break;
  				
  				case 192:
  					*uParam2 = 8341;
  					break;
  				
  				case 193:
  					*uParam2 = 8342;
  					break;
  				
  				case 194:
  					*uParam2 = 8343;
  					break;
  				
  				case 195:
  					*uParam2 = 8344;
  					break;
  				
  				case 196:
  					*uParam2 = 8345;
  					break;
  				
  				case 197:
  					*uParam2 = 8346;
  					break;
  				
  				case 198:
  					*uParam2 = 8347;
  					break;
  				
  				case 199:
  					*uParam2 = 8348;
  					break;
  			}
  			switch (SYSTEM::FLOOR((SYSTEM::TO_FLOAT(iVar0) / 32f)))
  			{
  				case 200:
  					*uParam2 = 8349;
  					break;
  				
  				case 201:
  					*uParam2 = 8942;
  					break;
  				
  				case 202:
  					*uParam2 = 8943;
  					break;
  				
  				case 203:
  					*uParam2 = 8944;
  					break;
  				
  				case 204:
  					*uParam2 = 8945;
  					break;
  				
  				case 205:
  					*uParam2 = 8946;
  					break;
  				
  				case 206:
  					*uParam2 = 9445;
  					break;
  				
  				case 207:
  					*uParam2 = 9446;
  					break;
  				
  				case 208:
  					*uParam2 = 9447;
  					break;
  				
  				case 209:
  					*uParam2 = 9448;
  					break;
  				
  				case 210:
  					*uParam2 = 9449;
  					break;
  				
  				case 211:
  					*uParam2 = 9450;
  					break;
  				
  				case 212:
  					*uParam2 = 9451;
  					break;
  				
  				case 213:
  					*uParam2 = 9452;
  					break;
  				
  				case 214:
  					*uParam2 = 9453;
  					break;
  				
  				case 215:
  					*uParam2 = 9454;
  					break;
  				
  				case 216:
  					*uParam2 = 9455;
  					break;
  				
  				case 217:
  					*uParam2 = 9456;
  					break;
  				
  				case 218:
  					*uParam2 = 9457;
  					break;
  				
  				case 219:
  					*uParam2 = 9458;
  					break;
  				
  				case 220:
  					*uParam2 = 9459;
  					break;
  				
  				case 221:
  					*uParam2 = 9460;
  					break;
  				
  				case 222:
  					*uParam2 = 9461;
  					break;
  				
  				case 223:
  					*uParam2 = 9462;
  					break;
  				
  				case 224:
  					*uParam2 = 9463;
  					break;
  				
  				case 225:
  					*uParam2 = 9464;
  					break;
  				
  				case 226:
  					*uParam2 = 9465;
  					break;
  				
  				case 227:
  					*uParam2 = 9466;
  					break;
  				
  				case 228:
  					*uParam2 = 9467;
  					break;
  				
  				case 229:
  					*uParam2 = 9468;
  					break;
  				
  				case 230:
  					*uParam2 = 9469;
  					break;
  			}
  			break;
  	}
  	*uParam3 = (iVar0 % 32);
  	return *uParam2 != 11771;
  }
  
  int func_161(int iParam0)
  {
  	switch (iParam0)
  	{
  		case -1:
  			return 0;
  			break;
  		
  		case 0:
  			return 0;
  			break;
  		
  		case 1:
  			return 1;
  			break;
  		
  		case 2:
  			return 2;
  			break;
  		
  		case 3:
  			return 3;
  			break;
  		
  		case 4:
  			return 4;
  			break;
  		
  		case 5:
  			return 5;
  			break;
  		
  		case 6:
  			return 6;
  			break;
  		
  		case 7:
  			return 7;
  			break;
  		
  		case 8:
  			return 8;
  			break;
  		
  		case 9:
  			return 0;
  			break;
  		
  		case 10:
  			return 1;
  			break;
  		
  		case 11:
  			return 0;
  			break;
  		
  		case 12:
  			return 0;
  			break;
  		
  		case 13:
  			return 0;
  			break;
  	}
  	return 0;
  }
  
  void func_162(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	var uVar1;
  	struct<8> Var2;
  	int iVar3;
  	int iVar4;
  	struct<10> Var5;
  	int iVar6;
  	int iVar7;
  	int iVar8;
  	struct<10> Var9;
  	int iVar10;
  	int iVar11;
  	
  	iVar0 = (iParam1 - iParam2);
  	iVar0 = iVar0;
  	if (iVar0 < 0)
  	{
  		return;
  	}
  	uVar1 = Global_76647[0 /*14*/].f_5;
  	if (iParam0 == 12)
  	{
  		iVar3 = (iParam1 - iParam2);
  		if (iVar3 >= 0)
  		{
  			iVar4 = unk_0x04222560EC9A383D(uVar1, 0);
  			if (iVar4 > iVar3)
  			{
  				unk_0xB11622B138AA8874(iVar3, &Var2);
  				Global_2621444 = Var2.f_1;
  				Global_2621445 = Var2;
  				func_154(&(Global_76647[0 /*14*/]), iParam0, iParam1, &(Var2.f_7), 0, 0, Var2.f_2, 0, -1, 2, 1);
  				return;
  			}
  		}
  	}
  	else if (iParam0 == 13)
  	{
  		func_154(&(Global_76647[0 /*14*/]), iParam0, iParam1, "NO_LABEL", 0, 0, 0, 1, -1, 2, 1);
  	}
  	else if (iParam0 == 14)
  	{
  		unk_0x8BC52CDFCD2A4534(&Var5);
  		iVar7 = (iParam1 - iParam2);
  		if (iVar7 >= 0)
  		{
  			iVar8 = unk_0x21A524CB091C80DE(uVar1, 7, -1, 1, -1, -1);
  			if (iVar8 > iVar7)
  			{
  				unk_0xD2FB5DC35CA67C53(iVar7, &Var5);
  				if (Var5.f_6 == 0)
  				{
  					iVar6 = 9;
  				}
  				else if (Var5.f_6 == 1)
  				{
  					iVar6 = 10;
  				}
  				else if (Var5.f_6 == 2)
  				{
  					iVar6 = 2;
  				}
  				else if (Var5.f_6 == 3)
  				{
  					iVar6 = 3;
  				}
  				else if (Var5.f_6 == 4)
  				{
  					iVar6 = 4;
  				}
  				else if (Var5.f_6 == 5)
  				{
  					iVar6 = 5;
  				}
  				else if (Var5.f_6 == 6)
  				{
  					iVar6 = 6;
  				}
  				else if (Var5.f_6 == 7)
  				{
  					iVar6 = 7;
  				}
  				else if (Var5.f_6 == 8)
  				{
  					iVar6 = 8;
  				}
  				else
  				{
  					iVar6 = -1;
  				}
  				Global_2621444 = Var5.f_1;
  				Global_2621445 = Var5;
  				func_154(&(Global_76647[0 /*14*/]), iParam0, iParam1, &(Var5.f_9), Var5.f_3, Var5.f_4, Var5.f_5, unk_0x4D0432E34C5996D9(Var5.f_1, joaat("OUTFIT_ONLY"), 0), iVar6, 2, Var5.f_1 != 0);
  				return;
  			}
  		}
  	}
  	else
  	{
  		unk_0x1C2EE47D7054A42C(&Var9);
  		if (iParam3 != -1 && Global_76814)
  		{
  			unk_0x2209D2FE26AA9212(iParam3, &Var9);
  			Global_2621444 = Var9.f_1;
  			Global_2621445 = Var9;
  			func_154(&(Global_76647[0 /*14*/]), iParam0, iParam1, &(Var9.f_9), Var9.f_3, Var9.f_4, Var9.f_5, unk_0x4D0432E34C5996D9(Var9.f_1, joaat("OUTFIT_ONLY"), 0), -1, 2, Var9.f_1 != 0);
  			return;
  		}
  		iVar10 = (iParam1 - iParam2);
  		if (iVar10 >= 0)
  		{
  			iVar11 = unk_0x21A524CB091C80DE(iVar1, 7, -1, 0, -1, func_146(iParam0));
  			if (iVar11 > iVar10)
  			{
  				unk_0x627AC3AC8991672C(iVar10, &Var9);
  				Global_2621444 = Var9.f_1;
  				Global_2621445 = Var9;
  				func_154(&(Global_76647[0 /*14*/]), iParam0, iParam1, &(Var9.f_9), Var9.f_3, Var9.f_4, Var9.f_5, unk_0x4D0432E34C5996D9(Var9.f_1, joaat("OUTFIT_ONLY"), 0), -1, 2, Var9.f_1 != 0);
  				return;
  			}
  		}
  	}
  }
  
  void func_163(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 13;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 9, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_164(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 12;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "OUTFIT_P2_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "OUTFIT_P2_5", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "OUTFIT_P2_6", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "OUTFIT_P2_7", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "OUTFIT_P2_8", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "OUTFIT_P2_9", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "OUTFIT_P2_10", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "OUTFIT_P2_12", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "OUTFIT_P2_13", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "OUTFIT_P2_14", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "OUTFIT_P2_15", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "OUTFIT_P2_16", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "OUTFIT_P2_17", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "OUTFIT_P2_18", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 10000;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "OUTFIT_P2_19", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "OUTFIT_P2_20", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "OUTFIT_P2_21", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "OUTFIT_P2_22", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "OUTFIT_P2_23", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "OUTFIT_P2_24", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "OUTFIT_P2_25", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "OUTFIT_P2_26", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "OUTFIT_P2_27", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "OUTFIT_P2_28", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 119;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "OUTFIT_P2_29", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 99;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "OUTFIT_P2_30", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 129;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "OUTFIT_P2_44", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 125;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "OUTFIT_P2_45", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 120;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "OUTFIT_P2_46", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 139;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "OUTFIT_P2_47", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 149;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "OUTFIT_P2_48", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 145;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "OUTFIT_P2_49", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 140;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "OUTFIT_P2_50", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 135;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "OUTFIT_P2_31", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4900;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "OUTFIT_P2_32", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "OUTFIT_P2_33", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4500;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "OUTFIT_P2_34", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4900;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "OUTFIT_P2_35", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4500;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "OUTFIT_P2_36", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "OUTFIT_P2_37", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5500;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "OUTFIT_P2_38", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "OUTFIT_P2_39", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "OUTFIT_P2_40", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "OUTFIT_P2_41", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "OUTFIT_P2_42", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "OUTFIT_P2_43", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "OUTFIT_P2_12", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 48, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_165(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 11;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 1, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_166(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 7;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 1, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_167(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 1;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "BERD_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "BERD_P2_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "BERD_P2_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "BERD_P2_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "BERD_P2_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "BERD_P2_5_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 6, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_168(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 10;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 8;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 9;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 33, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_169(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 9;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "SPEC2_P0_08_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar1 = 125;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "SPEC2_P0_08_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 150;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "SPEC2_P0_08_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 175;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "SPEC2_P0_08_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 85;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "SPEC2_P0_08_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 150;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "SPEC2_P0_08_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 175;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "PROPS_P1_H8_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 270;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "PROPS_P1_H8_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 270;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 17, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_170(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 8;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "SPEC_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "SPEC_P2_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 18, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_171(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 5;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 7, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_172(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 6;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "FEET_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "FEET_P2_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 22;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "FEET_P2_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 45;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "FEET_P2_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 65;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "FEET_P2_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar1 = 58;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "FEET_P2_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar1 = 72;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "FEET_P2_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			iVar1 = 68;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "FEET_P2_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			iVar1 = 60;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "FEET_P2_5_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "FEET_P2_8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "FEET_P2_9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "FEET_P2_9_1", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar1 = 680;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "FEET_P2_9_2", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			iVar1 = 650;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "FEET_P2_9_3", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			iVar1 = 670;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "FEET_P2_9_4", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			iVar1 = 700;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "FEET_P2_9_5", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			iVar1 = 680;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "FEET_P2_9_6", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			iVar1 = 720;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "FEET_P2_9_7", 16);
  			iVar3 = 9;
  			iVar4 = 7;
  			iVar1 = 740;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "FEET_P2_9_8", 16);
  			iVar3 = 9;
  			iVar4 = 8;
  			iVar1 = 760;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "FEET_P2_9_9", 16);
  			iVar3 = 9;
  			iVar4 = 9;
  			iVar1 = 780;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "FEET_P2_9_10", 16);
  			iVar3 = 9;
  			iVar4 = 10;
  			iVar1 = 750;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "FEET_P2_9_11", 16);
  			iVar3 = 9;
  			iVar4 = 11;
  			iVar1 = 700;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "FEET_P2_10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "FEET_P2_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar1 = 790;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "FEET_P2_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 750;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "FEET_P2_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 860;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "FEET_P2_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 750;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "FEET_P2_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 790;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "FEET_P2_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "FEET_P2_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar1 = 820;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "FEET_P2_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar1 = 800;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "FEET_P2_18_8", 16);
  			iVar3 = 18;
  			iVar4 = 8;
  			iVar1 = 850;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "FEET_P2_18_9", 16);
  			iVar3 = 18;
  			iVar4 = 9;
  			iVar1 = 870;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "FEET_P2_18_10", 16);
  			iVar3 = 18;
  			iVar4 = 10;
  			iVar1 = 720;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "FEET_P2_18_11", 16);
  			iVar3 = 18;
  			iVar4 = 11;
  			iVar1 = 740;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "FEET_P2_18_12", 16);
  			iVar3 = 18;
  			iVar4 = 12;
  			iVar1 = 800;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "FEET_P2_18_13", 16);
  			iVar3 = 18;
  			iVar4 = 13;
  			iVar1 = 750;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "FEET_P2_18_14", 16);
  			iVar3 = 18;
  			iVar4 = 14;
  			iVar1 = 770;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "FEET_P2_18_15", 16);
  			iVar3 = 18;
  			iVar4 = 15;
  			iVar1 = 860;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "FEET_P2_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 850;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "FEET_P2_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 800;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "FEET_P2_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 780;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "FEET_P2_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 890;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "FEET_P2_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 820;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "FEET_P2_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "FEET_P2_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 870;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "FEET_P2_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 930;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "FEET_P2_19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 880;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "FEET_P2_19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 900;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "FEET_P2_19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 920;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "FEET_P2_19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 970;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "FEET_P2_19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 990;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "FEET_P2_19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 960;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "FEET_P2_19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 980;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "FEET_P2_19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 950;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "FEET_P2_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 110;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "FEET_P2_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 115;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "FEET_P2_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 120;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "FEET_P2_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 110;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "FEET_P2_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			iVar1 = 125;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "FEET_P2_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 128;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "FEET_P2_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 135;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "FEET_P2_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 130;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "FEET_P2_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 145;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "FEET_P2_20_9", 16);
  			iVar3 = 20;
  			iVar4 = 9;
  			iVar1 = 110;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "FEET_P2_20_10", 16);
  			iVar3 = 20;
  			iVar4 = 10;
  			iVar1 = 120;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "FEET_P2_20_11", 16);
  			iVar3 = 20;
  			iVar4 = 11;
  			iVar1 = 150;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "FEET_P2_20_12", 16);
  			iVar3 = 20;
  			iVar4 = 12;
  			iVar1 = 125;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "FEET_P2_20_13", 16);
  			iVar3 = 20;
  			iVar4 = 13;
  			iVar1 = 120;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "FEET_P2_20_14", 16);
  			iVar3 = 20;
  			iVar4 = 14;
  			iVar1 = 130;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "FEET_P2_20_15", 16);
  			iVar3 = 20;
  			iVar4 = 15;
  			iVar1 = 110;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 84, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_173(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 4;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "LEGS_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "LEGS_P2_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 95;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "LEGS_P2_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 129;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "LEGS_P2_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 115;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "LEGS_P2_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "LEGS_P2_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar1 = 750;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "LEGS_P2_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar1 = 650;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "LEGS_P2_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 850;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "LEGS_P2_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 850;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "LEGS_P2_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 750;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "LEGS_P2_11_6", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar1 = 690;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "LEGS_P2_11_7", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar1 = 820;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "LEGS_P2_11_8", 16);
  			iVar3 = 11;
  			iVar4 = 8;
  			iVar1 = 650;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "LEGS_P2_11_9", 16);
  			iVar3 = 11;
  			iVar4 = 9;
  			iVar1 = 690;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "LEGS_P2_11_10", 16);
  			iVar3 = 11;
  			iVar4 = 10;
  			iVar1 = 690;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "LEGS_P2_11_11", 16);
  			iVar3 = 11;
  			iVar4 = 11;
  			iVar1 = 820;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "LEGS_P2_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "LEGS_P2_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "LEGS_P2_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "LEGS_P2_17_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar1 = 58;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "LEGS_P2_17_1", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			iVar1 = 68;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "LEGS_P2_17_2", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			iVar1 = 65;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "LEGS_P2_17_3", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			iVar1 = 60;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "LEGS_P2_17_4", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			iVar1 = 65;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "LEGS_P2_17_5", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			iVar1 = 63;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "LEGS_P2_17_6", 16);
  			iVar3 = 17;
  			iVar4 = 6;
  			iVar1 = 60;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "LEGS_P2_17_7", 16);
  			iVar3 = 17;
  			iVar4 = 7;
  			iVar1 = 58;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "LEGS_P2_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "LEGS_P2_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "LEGS_P2_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 99;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "LEGS_P2_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 105;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "LEGS_P2_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 110;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "LEGS_P2_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 110;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "LEGS_P2_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar1 = 99;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "LEGS_P2_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar1 = 110;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "LEGS_P2_18_8", 16);
  			iVar3 = 18;
  			iVar4 = 8;
  			iVar1 = 110;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "LEGS_P2_18_9", 16);
  			iVar3 = 18;
  			iVar4 = 9;
  			iVar1 = 105;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "LEGS_P2_18_10", 16);
  			iVar3 = 18;
  			iVar4 = 10;
  			iVar1 = 105;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "LEGS_P2_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 15;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "LEGS_P2_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 15;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "LEGS_P2_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 15;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "LEGS_P2_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 15;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "LEGS_P2_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 15;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "LEGS_P2_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 15;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "LEGS_P2_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 15;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "LEGS_P2_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 15;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "LEGS_P2_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 600;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "LEGS_P2_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 600;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "LEGS_P2_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 600;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "LEGS_P2_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 600;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "LEGS_P2_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			iVar1 = 600;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "LEGS_P2_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 600;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "LEGS_P2_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 600;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "LEGS_P2_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 600;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "LEGS_P2_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 600;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "LEGS_P2_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 80;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "LEGS_P2_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 80;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "LEGS_P2_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 80;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "LEGS_P2_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 80;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "LEGS_P2_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 80;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "LEGS_P2_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 80;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "LEGS_P2_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 80;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "LEGS_P2_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 80;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "LEGS_P2_21_8", 16);
  			iVar3 = 21;
  			iVar4 = 8;
  			iVar1 = 80;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "LEGS_P2_21_9", 16);
  			iVar3 = 21;
  			iVar4 = 9;
  			iVar1 = 80;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "LEGS_P2_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "LEGS_P2_22_1", 16);
  			iVar3 = 22;
  			iVar4 = 1;
  			iVar1 = 12;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "LEGS_P2_22_2", 16);
  			iVar3 = 22;
  			iVar4 = 2;
  			iVar1 = 12;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "LEGS_P2_22_3", 16);
  			iVar3 = 22;
  			iVar4 = 3;
  			iVar1 = 22;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "LEGS_P2_22_4", 16);
  			iVar3 = 22;
  			iVar4 = 4;
  			iVar1 = 18;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "LEGS_P2_22_5", 16);
  			iVar3 = 22;
  			iVar4 = 5;
  			iVar1 = 20;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "LEGS_P2_22_6", 16);
  			iVar3 = 22;
  			iVar4 = 6;
  			iVar1 = 30;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "LEGS_P2_22_7", 16);
  			iVar3 = 22;
  			iVar4 = 7;
  			iVar1 = 30;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "LEGS_P2_22_8", 16);
  			iVar3 = 22;
  			iVar4 = 8;
  			iVar1 = 30;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "LEGS_P2_22_9", 16);
  			iVar3 = 22;
  			iVar4 = 9;
  			iVar1 = 30;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "LEGS_P2_23_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "LEGS_P2_24_0", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 1;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 2;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 3;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 4;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 5;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 6;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 7;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 8;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 9;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 104, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_174(int iParam0)
  {
  	if (iParam0 < 136)
  	{
  		func_176(iParam0);
  	}
  	else
  	{
  		func_175(iParam0);
  	}
  	if (Global_76647[0 /*14*/].f_2 == -1)
  	{
  		func_162(3, iParam0, 242, -1);
  	}
  }
  
  void func_175(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 136:
  			StringCopy(&Var2, "TORSO_P2_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 32;
  			break;
  		
  		case 137:
  			StringCopy(&Var2, "TORSO_P2_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 39;
  			break;
  		
  		case 138:
  			StringCopy(&Var2, "TORSO_P2_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 40;
  			break;
  		
  		case 139:
  			StringCopy(&Var2, "TORSO_P2_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 42;
  			break;
  		
  		case 140:
  			StringCopy(&Var2, "TORSO_P2_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 45;
  			break;
  		
  		case 141:
  			StringCopy(&Var2, "TORSO_P2_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 48;
  			break;
  		
  		case 142:
  			StringCopy(&Var2, "TORSO_P2_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 52;
  			break;
  		
  		case 143:
  			StringCopy(&Var2, "TORSO_P2_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 55;
  			break;
  		
  		case 144:
  			StringCopy(&Var2, "TORSO_P2_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar1 = 390;
  			break;
  		
  		case 145:
  			StringCopy(&Var2, "TORSO_P2_22_1", 16);
  			iVar3 = 22;
  			iVar4 = 1;
  			iVar1 = 390;
  			break;
  		
  		case 146:
  			StringCopy(&Var2, "TORSO_P2_22_2", 16);
  			iVar3 = 22;
  			iVar4 = 2;
  			iVar1 = 560;
  			break;
  		
  		case 147:
  			StringCopy(&Var2, "TORSO_P2_22_3", 16);
  			iVar3 = 22;
  			iVar4 = 3;
  			iVar1 = 390;
  			break;
  		
  		case 148:
  			StringCopy(&Var2, "TORSO_P2_22_4", 16);
  			iVar3 = 22;
  			iVar4 = 4;
  			iVar1 = 390;
  			break;
  		
  		case 149:
  			StringCopy(&Var2, "TORSO_P2_22_5", 16);
  			iVar3 = 22;
  			iVar4 = 5;
  			iVar1 = 390;
  			break;
  		
  		case 150:
  			StringCopy(&Var2, "TORSO_P2_22_6", 16);
  			iVar3 = 22;
  			iVar4 = 6;
  			iVar1 = 560;
  			break;
  		
  		case 151:
  			StringCopy(&Var2, "TORSO_P2_22_7", 16);
  			iVar3 = 22;
  			iVar4 = 7;
  			iVar1 = 390;
  			break;
  		
  		case 152:
  			StringCopy(&Var2, "TORSO_P2_22_8", 16);
  			iVar3 = 22;
  			iVar4 = 8;
  			iVar1 = 390;
  			break;
  		
  		case 153:
  			StringCopy(&Var2, "TORSO_P2_22_9", 16);
  			iVar3 = 22;
  			iVar4 = 9;
  			iVar1 = 390;
  			break;
  		
  		case 154:
  			StringCopy(&Var2, "TORSO_P2_22_10", 16);
  			iVar3 = 22;
  			iVar4 = 10;
  			iVar1 = 390;
  			break;
  		
  		case 155:
  			StringCopy(&Var2, "TORSO_P2_22_11", 16);
  			iVar3 = 22;
  			iVar4 = 11;
  			iVar1 = 3950;
  			break;
  		
  		case 156:
  			StringCopy(&Var2, "TORSO_P2_23_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar1 = 150;
  			break;
  		
  		case 157:
  			StringCopy(&Var2, "TORSO_P2_23_1", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			break;
  		
  		case 158:
  			StringCopy(&Var2, "TORSO_P2_23_2", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar1 = 150;
  			break;
  		
  		case 159:
  			StringCopy(&Var2, "TORSO_P2_23_3", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar1 = 150;
  			break;
  		
  		case 160:
  			StringCopy(&Var2, "TORSO_P2_23_4", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar1 = 160;
  			break;
  		
  		case 161:
  			StringCopy(&Var2, "TORSO_P2_23_5", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			break;
  		
  		case 162:
  			StringCopy(&Var2, "TORSO_P2_24_0", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			iVar1 = 19;
  			break;
  		
  		case 163:
  			StringCopy(&Var2, "TORSO_P2_24_1", 16);
  			iVar3 = 24;
  			iVar4 = 1;
  			iVar1 = 20;
  			break;
  		
  		case 164:
  			StringCopy(&Var2, "TORSO_P2_24_2", 16);
  			iVar3 = 24;
  			iVar4 = 2;
  			iVar1 = 19;
  			break;
  		
  		case 165:
  			StringCopy(&Var2, "TORSO_P2_24_3", 16);
  			iVar3 = 24;
  			iVar4 = 3;
  			iVar1 = 22;
  			break;
  		
  		case 166:
  			StringCopy(&Var2, "TORSO_P2_24_4", 16);
  			iVar3 = 24;
  			iVar4 = 4;
  			iVar1 = 20;
  			break;
  		
  		case 167:
  			StringCopy(&Var2, "TORSO_P2_24_5", 16);
  			iVar3 = 24;
  			iVar4 = 5;
  			iVar1 = 28;
  			break;
  		
  		case 168:
  			StringCopy(&Var2, "TORSO_P2_24_6", 16);
  			iVar3 = 24;
  			iVar4 = 6;
  			iVar1 = 28;
  			break;
  		
  		case 169:
  			StringCopy(&Var2, "TORSO_P2_24_7", 16);
  			iVar3 = 24;
  			iVar4 = 7;
  			iVar1 = 25;
  			break;
  		
  		case 170:
  			StringCopy(&Var2, "TORSO_P2_24_8", 16);
  			iVar3 = 24;
  			iVar4 = 8;
  			iVar1 = 22;
  			break;
  		
  		case 171:
  			StringCopy(&Var2, "TORSO_P2_24_9", 16);
  			iVar3 = 24;
  			iVar4 = 9;
  			iVar1 = 19;
  			break;
  		
  		case 172:
  			StringCopy(&Var2, "TORSO_P2_24_10", 16);
  			iVar3 = 24;
  			iVar4 = 10;
  			iVar1 = 22;
  			break;
  		
  		case 173:
  			StringCopy(&Var2, "TORSO_P2_24_11", 16);
  			iVar3 = 24;
  			iVar4 = 11;
  			iVar1 = 19;
  			break;
  		
  		case 174:
  			StringCopy(&Var2, "TORSO_P2_24_12", 16);
  			iVar3 = 24;
  			iVar4 = 12;
  			iVar1 = 20;
  			break;
  		
  		case 175:
  			StringCopy(&Var2, "TORSO_P2_24_13", 16);
  			iVar3 = 24;
  			iVar4 = 13;
  			iVar1 = 25;
  			break;
  		
  		case 176:
  			StringCopy(&Var2, "TORSO_P2_24_14", 16);
  			iVar3 = 24;
  			iVar4 = 14;
  			iVar1 = 20;
  			break;
  		
  		case 177:
  			StringCopy(&Var2, "TORSO_P2_24_15", 16);
  			iVar3 = 24;
  			iVar4 = 15;
  			iVar1 = 28;
  			break;
  		
  		case 178:
  			StringCopy(&Var2, "TORSO_P2_25_0", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			iVar1 = 35;
  			break;
  		
  		case 179:
  			StringCopy(&Var2, "TORSO_P2_25_1", 16);
  			iVar3 = 25;
  			iVar4 = 1;
  			iVar1 = 40;
  			break;
  		
  		case 180:
  			StringCopy(&Var2, "TORSO_P2_25_2", 16);
  			iVar3 = 25;
  			iVar4 = 2;
  			iVar1 = 45;
  			break;
  		
  		case 181:
  			StringCopy(&Var2, "TORSO_P2_25_3", 16);
  			iVar3 = 25;
  			iVar4 = 3;
  			iVar1 = 45;
  			break;
  		
  		case 182:
  			StringCopy(&Var2, "TORSO_P2_25_4", 16);
  			iVar3 = 25;
  			iVar4 = 4;
  			iVar1 = 49;
  			break;
  		
  		case 183:
  			StringCopy(&Var2, "TORSO_P2_25_5", 16);
  			iVar3 = 25;
  			iVar4 = 5;
  			iVar1 = 820;
  			break;
  		
  		case 184:
  			StringCopy(&Var2, "TORSO_P2_25_6", 16);
  			iVar3 = 25;
  			iVar4 = 6;
  			iVar1 = 790;
  			break;
  		
  		case 185:
  			StringCopy(&Var2, "TORSO_P2_25_7", 16);
  			iVar3 = 25;
  			iVar4 = 7;
  			iVar1 = 820;
  			break;
  		
  		case 186:
  			StringCopy(&Var2, "TORSO_P2_25_8", 16);
  			iVar3 = 25;
  			iVar4 = 8;
  			iVar1 = 929;
  			break;
  		
  		case 187:
  			StringCopy(&Var2, "TORSO_P2_25_9", 16);
  			iVar3 = 25;
  			iVar4 = 9;
  			iVar1 = 40;
  			break;
  		
  		case 188:
  			StringCopy(&Var2, "TORSO_P2_25_10", 16);
  			iVar3 = 25;
  			iVar4 = 10;
  			iVar1 = 850;
  			break;
  		
  		case 189:
  			StringCopy(&Var2, "TORSO_P2_25_11", 16);
  			iVar3 = 25;
  			iVar4 = 11;
  			iVar1 = 790;
  			break;
  		
  		case 190:
  			StringCopy(&Var2, "TORSO_P2_26_0", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			break;
  		
  		case 191:
  			StringCopy(&Var2, "TORSO_P2_26_1", 16);
  			iVar3 = 26;
  			iVar4 = 1;
  			break;
  		
  		case 192:
  			StringCopy(&Var2, "TORSO_P2_26_2", 16);
  			iVar3 = 26;
  			iVar4 = 2;
  			break;
  		
  		case 193:
  			StringCopy(&Var2, "TORSO_P2_26_3", 16);
  			iVar3 = 26;
  			iVar4 = 3;
  			break;
  		
  		case 194:
  			StringCopy(&Var2, "TORSO_P2_26_4", 16);
  			iVar3 = 26;
  			iVar4 = 4;
  			break;
  		
  		case 195:
  			StringCopy(&Var2, "TORSO_P2_26_5", 16);
  			iVar3 = 26;
  			iVar4 = 5;
  			break;
  		
  		case 196:
  			StringCopy(&Var2, "TORSO_P2_26_6", 16);
  			iVar3 = 26;
  			iVar4 = 6;
  			break;
  		
  		case 197:
  			StringCopy(&Var2, "TORSO_P2_26_7", 16);
  			iVar3 = 26;
  			iVar4 = 7;
  			break;
  		
  		case 198:
  			StringCopy(&Var2, "TORSO_P2_26_8", 16);
  			iVar3 = 26;
  			iVar4 = 8;
  			break;
  		
  		case 199:
  			StringCopy(&Var2, "TORSO_P2_26_9", 16);
  			iVar3 = 26;
  			iVar4 = 9;
  			break;
  		
  		case 200:
  			StringCopy(&Var2, "TORSO_P2_27_0", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			iVar1 = 2200;
  			break;
  		
  		case 201:
  			StringCopy(&Var2, "TORSO_P2_27_1", 16);
  			iVar3 = 27;
  			iVar4 = 1;
  			iVar1 = 2500;
  			break;
  		
  		case 202:
  			StringCopy(&Var2, "TORSO_P2_27_2", 16);
  			iVar3 = 27;
  			iVar4 = 2;
  			iVar1 = 2500;
  			break;
  		
  		case 203:
  			StringCopy(&Var2, "TORSO_P2_27_3", 16);
  			iVar3 = 27;
  			iVar4 = 3;
  			iVar1 = 2200;
  			break;
  		
  		case 204:
  			StringCopy(&Var2, "TORSO_P2_27_4", 16);
  			iVar3 = 27;
  			iVar4 = 4;
  			iVar1 = 2500;
  			break;
  		
  		case 205:
  			StringCopy(&Var2, "TORSO_P2_27_5", 16);
  			iVar3 = 27;
  			iVar4 = 5;
  			iVar1 = 2500;
  			break;
  		
  		case 206:
  			StringCopy(&Var2, "TORSO_P2_27_6", 16);
  			iVar3 = 27;
  			iVar4 = 6;
  			iVar1 = 2200;
  			break;
  		
  		case 207:
  			StringCopy(&Var2, "TORSO_P2_28_0", 16);
  			iVar3 = 28;
  			iVar4 = 0;
  			iVar1 = 1100;
  			break;
  		
  		case 208:
  			StringCopy(&Var2, "TORSO_P2_28_1", 16);
  			iVar3 = 28;
  			iVar4 = 1;
  			iVar1 = 1200;
  			break;
  		
  		case 209:
  			StringCopy(&Var2, "TORSO_P2_28_2", 16);
  			iVar3 = 28;
  			iVar4 = 2;
  			iVar1 = 1220;
  			break;
  		
  		case 210:
  			StringCopy(&Var2, "TORSO_P2_28_3", 16);
  			iVar3 = 28;
  			iVar4 = 3;
  			iVar1 = 1250;
  			break;
  		
  		case 211:
  			StringCopy(&Var2, "TORSO_P2_28_4", 16);
  			iVar3 = 28;
  			iVar4 = 4;
  			iVar1 = 1300;
  			break;
  		
  		case 212:
  			StringCopy(&Var2, "TORSO_P2_28_5", 16);
  			iVar3 = 28;
  			iVar4 = 5;
  			iVar1 = 1360;
  			break;
  		
  		case 213:
  			StringCopy(&Var2, "TORSO_P2_28_6", 16);
  			iVar3 = 28;
  			iVar4 = 6;
  			iVar1 = 35;
  			break;
  		
  		case 214:
  			StringCopy(&Var2, "TORSO_P2_28_7", 16);
  			iVar3 = 28;
  			iVar4 = 7;
  			iVar1 = 38;
  			break;
  		
  		case 215:
  			StringCopy(&Var2, "TORSO_P2_28_8", 16);
  			iVar3 = 28;
  			iVar4 = 8;
  			iVar1 = 40;
  			break;
  		
  		case 216:
  			StringCopy(&Var2, "TORSO_P2_28_9", 16);
  			iVar3 = 28;
  			iVar4 = 9;
  			iVar1 = 42;
  			break;
  		
  		case 217:
  			StringCopy(&Var2, "TORSO_P2_28_10", 16);
  			iVar3 = 28;
  			iVar4 = 10;
  			iVar1 = 50;
  			break;
  		
  		case 218:
  			StringCopy(&Var2, "TORSO_P2_28_11", 16);
  			iVar3 = 28;
  			iVar4 = 11;
  			iVar1 = 45;
  			break;
  		
  		case 219:
  			StringCopy(&Var2, "TORSO_P2_28_12", 16);
  			iVar3 = 28;
  			iVar4 = 12;
  			iVar1 = 45;
  			break;
  		
  		case 220:
  			StringCopy(&Var2, "TORSO_P2_28_13", 16);
  			iVar3 = 28;
  			iVar4 = 13;
  			iVar1 = 44;
  			break;
  		
  		case 221:
  			StringCopy(&Var2, "TORSO_P2_28_14", 16);
  			iVar3 = 28;
  			iVar4 = 14;
  			iVar1 = 46;
  			break;
  		
  		case 222:
  			StringCopy(&Var2, "TORSO_P2_28_15", 16);
  			iVar3 = 28;
  			iVar4 = 15;
  			iVar1 = 52;
  			break;
  		
  		case 223:
  			StringCopy(&Var2, "TORSO_P2_29_0", 16);
  			iVar3 = 29;
  			iVar4 = 0;
  			iVar1 = 3200;
  			break;
  		
  		case 224:
  			StringCopy(&Var2, "TORSO_P2_29_1", 16);
  			iVar3 = 29;
  			iVar4 = 1;
  			iVar1 = 3200;
  			break;
  		
  		case 225:
  			StringCopy(&Var2, "TORSO_P2_29_2", 16);
  			iVar3 = 29;
  			iVar4 = 2;
  			iVar1 = 2550;
  			break;
  		
  		case 226:
  			StringCopy(&Var2, "TORSO_P2_29_3", 16);
  			iVar3 = 29;
  			iVar4 = 3;
  			iVar1 = 2750;
  			break;
  		
  		case 227:
  			StringCopy(&Var2, "TORSO_P2_29_4", 16);
  			iVar3 = 29;
  			iVar4 = 4;
  			iVar1 = 2590;
  			break;
  		
  		case 228:
  			StringCopy(&Var2, "TORSO_P2_29_5", 16);
  			iVar3 = 29;
  			iVar4 = 5;
  			iVar1 = 2750;
  			break;
  		
  		case 229:
  			StringCopy(&Var2, "TORSO_P2_29_6", 16);
  			iVar3 = 29;
  			iVar4 = 6;
  			iVar1 = 2550;
  			break;
  		
  		case 230:
  			StringCopy(&Var2, "TORSO_P2_29_7", 16);
  			iVar3 = 29;
  			iVar4 = 7;
  			iVar1 = 2590;
  			break;
  		
  		case 231:
  			StringCopy(&Var2, "TORSO_P2_29_8", 16);
  			iVar3 = 29;
  			iVar4 = 8;
  			iVar1 = 2720;
  			break;
  		
  		case 232:
  			StringCopy(&Var2, "TORSO_P2_29_9", 16);
  			iVar3 = 29;
  			iVar4 = 9;
  			iVar1 = 2750;
  			break;
  		
  		case 233:
  			StringCopy(&Var2, "TORSO_P2_30_0", 16);
  			iVar3 = 30;
  			iVar4 = 0;
  			iVar1 = 3250;
  			break;
  		
  		case 234:
  			StringCopy(&Var2, "TORSO_P2_30_1", 16);
  			iVar3 = 30;
  			iVar4 = 1;
  			iVar1 = 2950;
  			break;
  		
  		case 235:
  			StringCopy(&Var2, "TORSO_P2_30_2", 16);
  			iVar3 = 30;
  			iVar4 = 2;
  			iVar1 = 3100;
  			break;
  		
  		case 236:
  			StringCopy(&Var2, "TORSO_P2_30_3", 16);
  			iVar3 = 30;
  			iVar4 = 3;
  			iVar1 = 3150;
  			break;
  		
  		case 237:
  			StringCopy(&Var2, "TORSO_P2_30_4", 16);
  			iVar3 = 30;
  			iVar4 = 4;
  			iVar1 = 3240;
  			break;
  		
  		case 238:
  			StringCopy(&Var2, "TORSO_P2_30_5", 16);
  			iVar3 = 30;
  			iVar4 = 5;
  			iVar1 = 3350;
  			break;
  		
  		case 239:
  			StringCopy(&Var2, "TORSO_P2_30_6", 16);
  			iVar3 = 30;
  			iVar4 = 6;
  			iVar1 = 3400;
  			break;
  		
  		case 240:
  			StringCopy(&Var2, "TORSO_P2_30_7", 16);
  			iVar3 = 30;
  			iVar4 = 7;
  			iVar1 = 3280;
  			break;
  		
  		case 241:
  			StringCopy(&Var2, "TORSO_P2_31_0", 16);
  			iVar3 = 31;
  			iVar4 = 0;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_176(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "TORSO_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "TORSO_P2_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 25;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "TORSO_P2_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "TORSO_P2_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 15;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "TORSO_P2_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar1 = 25;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "TORSO_P2_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar1 = 25;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "TORSO_P2_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			iVar1 = 22;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "TORSO_P2_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			iVar1 = 22;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "TORSO_P2_0_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			iVar1 = 20;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "TORSO_P2_0_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			iVar1 = 20;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "TORSO_P2_0_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			iVar1 = 24;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "TORSO_P2_0_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			iVar1 = 26;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "TORSO_P2_0_12", 16);
  			iVar3 = 0;
  			iVar4 = 12;
  			iVar1 = 28;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "TORSO_P2_0_13", 16);
  			iVar3 = 0;
  			iVar4 = 13;
  			iVar1 = 29;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "TORSO_P2_0_14", 16);
  			iVar3 = 0;
  			iVar4 = 14;
  			iVar1 = 22;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "TORSO_P2_0_15", 16);
  			iVar3 = 0;
  			iVar4 = 15;
  			iVar1 = 20;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "TORSO_P2_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar1 = 35;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "TORSO_P2_3_1", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			iVar1 = 22;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "TORSO_P2_3_2", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			iVar1 = 25;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "TORSO_P2_3_3", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			iVar1 = 38;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "TORSO_P2_3_4", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			iVar1 = 40;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "TORSO_P2_3_5", 16);
  			iVar3 = 3;
  			iVar4 = 5;
  			iVar1 = 40;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "TORSO_P2_3_6", 16);
  			iVar3 = 3;
  			iVar4 = 6;
  			iVar1 = 40;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "TORSO_P2_3_7", 16);
  			iVar3 = 3;
  			iVar4 = 7;
  			iVar1 = 40;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "TORSO_P2_3_8", 16);
  			iVar3 = 3;
  			iVar4 = 8;
  			iVar1 = 40;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "TORSO_P2_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "TORSO_P2_4_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			iVar1 = 500;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "TORSO_P2_4_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			iVar1 = 560;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "TORSO_P2_4_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			iVar1 = 600;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "TORSO_P2_4_4tu", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			iVar1 = 650;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "TORSO_P2_4_5tu", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			iVar1 = 500;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "TORSO_P2_4_6tu", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			iVar1 = 560;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "TORSO_P2_4_7", 16);
  			iVar3 = 4;
  			iVar4 = 7;
  			iVar1 = 500;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "TORSO_P2_4_8", 16);
  			iVar3 = 4;
  			iVar4 = 8;
  			iVar1 = 650;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "TORSO_P2_4_9", 16);
  			iVar3 = 4;
  			iVar4 = 9;
  			iVar1 = 540;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "TORSO_P2_4_10", 16);
  			iVar3 = 4;
  			iVar4 = 10;
  			iVar1 = 690;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "TORSO_P2_4_11", 16);
  			iVar3 = 4;
  			iVar4 = 11;
  			iVar1 = 560;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "TORSO_P2_4_12", 16);
  			iVar3 = 4;
  			iVar4 = 12;
  			iVar1 = 590;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "TORSO_P2_4_13", 16);
  			iVar3 = 4;
  			iVar4 = 13;
  			iVar1 = 690;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "TORSO_P2_4_14", 16);
  			iVar3 = 4;
  			iVar4 = 14;
  			iVar1 = 540;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "TORSO_P2_4_15", 16);
  			iVar3 = 4;
  			iVar4 = 15;
  			iVar1 = 500;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			bVar0 = true;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "TORSO_P2_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "TORSO_P2_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "TORSO_P2_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar1 = 25;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "TORSO_P2_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 27;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "TORSO_P2_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 22;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "TORSO_P2_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 350;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "TORSO_P2_11_6", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar1 = 27;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "TORSO_P2_11_7", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar1 = 370;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "TORSO_P2_11_8", 16);
  			iVar3 = 11;
  			iVar4 = 8;
  			iVar1 = 25;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "TORSO_P2_11_9", 16);
  			iVar3 = 11;
  			iVar4 = 9;
  			iVar1 = 22;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "TORSO_P2_11_10", 16);
  			iVar3 = 11;
  			iVar4 = 10;
  			iVar1 = 25;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "TORSO_P2_11_11", 16);
  			iVar3 = 11;
  			iVar4 = 11;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "TORSO_P2_11_12", 16);
  			iVar3 = 11;
  			iVar4 = 12;
  			iVar1 = 22;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "TORSO_P2_11_13", 16);
  			iVar3 = 11;
  			iVar4 = 13;
  			iVar1 = 27;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "TORSO_P2_11_14", 16);
  			iVar3 = 11;
  			iVar4 = 14;
  			iVar1 = 25;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "TORSO_P2_11_15", 16);
  			iVar3 = 11;
  			iVar4 = 15;
  			iVar1 = 27;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 1;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "TORSO_P2_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "TORSO_P2_13_1", 16);
  			iVar3 = 13;
  			iVar4 = 1;
  			iVar1 = 39;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "TORSO_P2_13_2", 16);
  			iVar3 = 13;
  			iVar4 = 2;
  			iVar1 = 42;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "TORSO_P2_13_3", 16);
  			iVar3 = 13;
  			iVar4 = 3;
  			iVar1 = 49;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "TORSO_P2_13_4", 16);
  			iVar3 = 13;
  			iVar4 = 4;
  			iVar1 = 35;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "TORSO_P2_13_5", 16);
  			iVar3 = 13;
  			iVar4 = 5;
  			iVar1 = 50;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "TORSO_P2_13_6", 16);
  			iVar3 = 13;
  			iVar4 = 6;
  			iVar1 = 50;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "TORSO_P2_13_7", 16);
  			iVar3 = 13;
  			iVar4 = 7;
  			iVar1 = 50;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "TORSO_P2_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "TORSO_P2_14_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 88;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "TORSO_P2_14_2", 16);
  			iVar3 = 14;
  			iVar4 = 2;
  			iVar1 = 60;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "TORSO_P2_14_3", 16);
  			iVar3 = 14;
  			iVar4 = 3;
  			iVar1 = 80;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "TORSO_P2_14_4", 16);
  			iVar3 = 14;
  			iVar4 = 4;
  			iVar1 = 70;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "TORSO_P2_14_5", 16);
  			iVar3 = 14;
  			iVar4 = 5;
  			iVar1 = 80;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "TORSO_P2_14_6", 16);
  			iVar3 = 14;
  			iVar4 = 6;
  			iVar1 = 70;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "TORSO_P2_14_7", 16);
  			iVar3 = 14;
  			iVar4 = 7;
  			iVar1 = 90;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "TORSO_P2_14_8", 16);
  			iVar3 = 14;
  			iVar4 = 8;
  			iVar1 = 95;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "TORSO_P2_14_9", 16);
  			iVar3 = 14;
  			iVar4 = 9;
  			iVar1 = 105;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "TORSO_P2_14_10", 16);
  			iVar3 = 14;
  			iVar4 = 10;
  			iVar1 = 95;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "TORSO_P2_14_11", 16);
  			iVar3 = 14;
  			iVar4 = 11;
  			iVar1 = 110;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "TORSO_P2_14_12", 16);
  			iVar3 = 14;
  			iVar4 = 12;
  			iVar1 = 98;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "TORSO_P2_14_13", 16);
  			iVar3 = 14;
  			iVar4 = 13;
  			iVar1 = 88;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "TORSO_P2_14_14", 16);
  			iVar3 = 14;
  			iVar4 = 14;
  			iVar1 = 98;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "TORSO_P2_14_15", 16);
  			iVar3 = 14;
  			iVar4 = 15;
  			iVar1 = 110;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "TORSO_P2_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "TORSO_P2_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "TORSO_P2_17_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "TORSO_P2_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "TORSO_P2_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 520;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "TORSO_P2_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 490;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "TORSO_P2_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 450;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "TORSO_P2_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 420;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "TORSO_P2_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 420;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "TORSO_P2_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 85;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "TORSO_P2_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 85;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "TORSO_P2_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 75;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "TORSO_P2_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 68;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "TORSO_P2_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 68;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "TORSO_P2_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 78;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "TORSO_P2_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 85;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "TORSO_P2_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 68;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "TORSO_P2_19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 75;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "TORSO_P2_19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 75;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "TORSO_P2_19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 78;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "TORSO_P2_19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 75;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "TORSO_P2_19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 75;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "TORSO_P2_19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 75;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "TORSO_P2_19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 78;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "TORSO_P2_19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 78;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "TORSO_P2_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 40;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "TORSO_P2_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 32;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "TORSO_P2_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 32;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "TORSO_P2_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 32;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "TORSO_P2_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "TORSO_P2_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 38;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "TORSO_P2_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 35;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "TORSO_P2_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 38;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "TORSO_P2_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 29;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "TORSO_P2_20_9", 16);
  			iVar3 = 20;
  			iVar4 = 9;
  			iVar1 = 32;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "TORSO_P2_20_10", 16);
  			iVar3 = 20;
  			iVar4 = 10;
  			iVar1 = 29;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "TORSO_P2_20_11", 16);
  			iVar3 = 20;
  			iVar4 = 11;
  			iVar1 = 35;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "TORSO_P2_20_12", 16);
  			iVar3 = 20;
  			iVar4 = 12;
  			iVar1 = 32;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "TORSO_P2_20_13", 16);
  			iVar3 = 20;
  			iVar4 = 13;
  			iVar1 = 35;
  			break;
  		
  		case 134:
  			StringCopy(&Var2, "TORSO_P2_20_14", 16);
  			iVar3 = 20;
  			iVar4 = 14;
  			iVar1 = 32;
  			break;
  		
  		case 135:
  			StringCopy(&Var2, "TORSO_P2_20_15", 16);
  			iVar3 = 20;
  			iVar4 = 15;
  			iVar1 = 40;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_177(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 2;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "HAIR_P2_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "HAIR_P2_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "HAIR_P2_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "HAIR_P2_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "HAIR_P2_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "HAIR_P2_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "HAIR_P2_5_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "HAIR_P2_6_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "HAIR_P2_7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 9, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_178(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 0;
  	Global_76647[0 /*14*/].f_5 = 2;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 7, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_179(int iParam0, int iParam1)
  {
  	switch (iParam0)
  	{
  		case 0:
  			func_197(iParam1);
  			break;
  		
  		case 2:
  			func_196(iParam1);
  			break;
  		
  		case 3:
  			func_192(iParam1);
  			break;
  		
  		case 4:
  			func_191(iParam1);
  			break;
  		
  		case 6:
  			func_190(iParam1);
  			break;
  		
  		case 5:
  			func_189(iParam1);
  			break;
  		
  		case 8:
  			func_188(iParam1);
  			break;
  		
  		case 9:
  			func_187(iParam1);
  			break;
  		
  		case 10:
  			func_186(iParam1);
  			break;
  		
  		case 1:
  			func_185(iParam1);
  			break;
  		
  		case 7:
  			func_184(iParam1);
  			break;
  		
  		case 11:
  			func_183(iParam1);
  			break;
  		
  		case 12:
  			func_182(iParam1);
  			break;
  		
  		case 13:
  			func_181(iParam1);
  			break;
  		
  		case 14:
  			func_180(iParam1);
  			break;
  	}
  }
  
  void func_180(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 14;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 8;
  			break;
  		
  		case 158:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 2;
  			break;
  		
  		case 159:
  			StringCopy(&Var2, "PROPS_P1_EA1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			iVar1 = 4590;
  			iVar5 = 2;
  			break;
  		
  		case 160:
  			StringCopy(&Var2, "PROPS_P1_EA1_1", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			iVar1 = 4100;
  			iVar5 = 2;
  			break;
  		
  		case 161:
  			StringCopy(&Var2, "PROPS_P1_EA1_2", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			iVar1 = 3850;
  			iVar5 = 2;
  			break;
  		
  		case 162:
  			StringCopy(&Var2, "PROPS_P1_EA1_3", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			iVar1 = 1850;
  			iVar5 = 2;
  			break;
  		
  		case 163:
  			StringCopy(&Var2, "PROPS_P1_EA1_4", 16);
  			iVar3 = 1;
  			iVar4 = 4;
  			iVar1 = 5250;
  			iVar5 = 2;
  			break;
  		
  		case 164:
  			StringCopy(&Var2, "PROPS_P1_EA1_5", 16);
  			iVar3 = 1;
  			iVar4 = 5;
  			iVar1 = 2700;
  			iVar5 = 2;
  			break;
  		
  		case 165:
  			StringCopy(&Var2, "PROPS_P1_EA1_6", 16);
  			iVar3 = 1;
  			iVar4 = 6;
  			iVar1 = 3100;
  			iVar5 = 2;
  			break;
  		
  		case 166:
  			StringCopy(&Var2, "PROPS_P1_EA1_7", 16);
  			iVar3 = 1;
  			iVar4 = 7;
  			iVar1 = 5050;
  			iVar5 = 2;
  			break;
  		
  		case 167:
  			StringCopy(&Var2, "PROPS_P1_EA2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar1 = 2500;
  			iVar5 = 2;
  			break;
  		
  		case 168:
  			StringCopy(&Var2, "PROPS_P1_EA2_1", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			iVar1 = 1950;
  			iVar5 = 2;
  			break;
  		
  		case 169:
  			StringCopy(&Var2, "PROPS_P1_EA2_2", 16);
  			iVar3 = 2;
  			iVar4 = 2;
  			iVar1 = 3900;
  			iVar5 = 2;
  			break;
  		
  		case 170:
  			StringCopy(&Var2, "PROPS_P1_EA2_3", 16);
  			iVar3 = 2;
  			iVar4 = 3;
  			iVar1 = 3550;
  			iVar5 = 2;
  			break;
  		
  		case 171:
  			StringCopy(&Var2, "PROPS_P1_EA2_4", 16);
  			iVar3 = 2;
  			iVar4 = 4;
  			iVar1 = 4500;
  			iVar5 = 2;
  			break;
  		
  		case 172:
  			StringCopy(&Var2, "PROPS_P1_EA2_5", 16);
  			iVar3 = 2;
  			iVar4 = 5;
  			iVar1 = 2700;
  			iVar5 = 2;
  			break;
  		
  		case 173:
  			StringCopy(&Var2, "PROPS_P1_EA2_6", 16);
  			iVar3 = 2;
  			iVar4 = 6;
  			iVar1 = 3100;
  			iVar5 = 2;
  			break;
  		
  		case 174:
  			StringCopy(&Var2, "PROPS_P1_EA2_7", 16);
  			iVar3 = 2;
  			iVar4 = 7;
  			iVar1 = 2950;
  			iVar5 = 2;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 10;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "PROPS_P1_E1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "PROPS_P1_E1_1", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "PROPS_P1_E1_2", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "PROPS_P1_E1_3", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "PROPS_P1_E1_4", 16);
  			iVar3 = 1;
  			iVar4 = 4;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "PROPS_P1_E1_5", 16);
  			iVar3 = 1;
  			iVar4 = 5;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "PROPS_P1_E1_6", 16);
  			iVar3 = 1;
  			iVar4 = 6;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "PROPS_P1_E1_7", 16);
  			iVar3 = 1;
  			iVar4 = 7;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "PROPS_P1_E1_8", 16);
  			iVar3 = 1;
  			iVar4 = 8;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "PROPS_P1_E1_9", 16);
  			iVar3 = 1;
  			iVar4 = 9;
  			iVar1 = 75;
  			iVar5 = 10;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "PROPS_P1_E2", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "PROPS_P1_E3", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar1 = 110;
  			iVar5 = 10;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "PROPS_P1_E4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar1 = 120;
  			iVar5 = 10;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "PROPS_P1_E4_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			iVar1 = 128;
  			iVar5 = 10;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "PROPS_P1_E4_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			iVar1 = 130;
  			iVar5 = 10;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "PROPS_P1_E4_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			iVar1 = 140;
  			iVar5 = 10;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "PROPS_P1_E4_4", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			iVar1 = 145;
  			iVar5 = 10;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "PROPS_P1_E4_5", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			iVar1 = 135;
  			iVar5 = 10;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "PROPS_P1_E4_6", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			iVar1 = 138;
  			iVar5 = 10;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "PROPS_P1_E5_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			iVar1 = 110;
  			iVar5 = 10;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "PROPS_P1_E5_1", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			iVar1 = 112;
  			iVar5 = 10;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "PROPS_P1_E5_2", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			iVar1 = 115;
  			iVar5 = 10;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "PROPS_P1_E5_3", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			iVar1 = 118;
  			iVar5 = 10;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "PROPS_P1_E5_4", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			iVar1 = 120;
  			iVar5 = 10;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "PROPS_P1_E5_5", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			iVar1 = 125;
  			iVar5 = 10;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "PROPS_P1_E5_6", 16);
  			iVar3 = 5;
  			iVar4 = 6;
  			iVar1 = 128;
  			iVar5 = 10;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "PROPS_P1_E5_7", 16);
  			iVar3 = 5;
  			iVar4 = 7;
  			iVar1 = 138;
  			iVar5 = 10;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "PROPS_P1_E5_8", 16);
  			iVar3 = 5;
  			iVar4 = 8;
  			iVar1 = 140;
  			iVar5 = 10;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "PROPS_P1_E5_9", 16);
  			iVar3 = 5;
  			iVar4 = 9;
  			iVar1 = 155;
  			iVar5 = 10;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "PROPS_P1_E6_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "PROPS_P1_E6_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "PROPS_P1_E6_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "PROPS_P1_E6_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "PROPS_P1_E6_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 60;
  			iVar5 = 10;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "PROPS_P1_E6_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 62;
  			iVar5 = 10;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "PROPS_P1_E6_6", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "PROPS_P1_E6_7", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			iVar1 = 68;
  			iVar5 = 10;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "PROPS_P1_E6_8", 16);
  			iVar3 = 6;
  			iVar4 = 8;
  			iVar1 = 68;
  			iVar5 = 10;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "PROPS_P1_E6_9", 16);
  			iVar3 = 6;
  			iVar4 = 9;
  			iVar1 = 72;
  			iVar5 = 10;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "PROPS_P1_E7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 145;
  			iVar5 = 10;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "PROPS_P1_E7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 149;
  			iVar5 = 10;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "PROPS_P1_E7_2", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			iVar1 = 139;
  			iVar5 = 10;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "PROPS_P1_E7_3", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			iVar1 = 149;
  			iVar5 = 10;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "PROPS_P1_E7_4", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			iVar1 = 135;
  			iVar5 = 10;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "PROPS_P1_E7_5", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			iVar1 = 138;
  			iVar5 = 10;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "PROPS_P1_E7_6", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			iVar1 = 140;
  			iVar5 = 10;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "PROPS_P1_E7_7", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			iVar1 = 145;
  			iVar5 = 10;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "PROPS_P1_E7_8", 16);
  			iVar3 = 7;
  			iVar4 = 8;
  			iVar1 = 159;
  			iVar5 = 10;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "PROPS_P1_E7_9", 16);
  			iVar3 = 7;
  			iVar4 = 9;
  			iVar1 = 155;
  			iVar5 = 10;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "PROPS_P1_E8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 198;
  			iVar5 = 10;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "PROPS_P1_E8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 210;
  			iVar5 = 10;
  			break;
  		
  		case 134:
  			StringCopy(&Var2, "PROPS_P1_E8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 185;
  			iVar5 = 10;
  			break;
  		
  		case 135:
  			StringCopy(&Var2, "PROPS_P1_E8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 220;
  			iVar5 = 10;
  			break;
  		
  		case 136:
  			StringCopy(&Var2, "PROPS_P1_E8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 190;
  			iVar5 = 10;
  			break;
  		
  		case 137:
  			StringCopy(&Var2, "PROPS_P1_E8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 200;
  			iVar5 = 10;
  			break;
  		
  		case 138:
  			StringCopy(&Var2, "PROPS_P1_E8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 208;
  			iVar5 = 10;
  			break;
  		
  		case 139:
  			StringCopy(&Var2, "PROPS_P1_E8_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 210;
  			iVar5 = 10;
  			break;
  		
  		case 140:
  			StringCopy(&Var2, "PROPS_P1_E9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			iVar1 = 165;
  			iVar5 = 10;
  			break;
  		
  		case 141:
  			StringCopy(&Var2, "PROPS_P1_E9_1", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar1 = 185;
  			iVar5 = 10;
  			break;
  		
  		case 142:
  			StringCopy(&Var2, "PROPS_P1_E9_2", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			iVar1 = 190;
  			iVar5 = 10;
  			break;
  		
  		case 143:
  			StringCopy(&Var2, "PROPS_P1_E9_3", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			iVar1 = 178;
  			iVar5 = 10;
  			break;
  		
  		case 144:
  			StringCopy(&Var2, "PROPS_P1_E9_4", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			iVar1 = 180;
  			iVar5 = 10;
  			break;
  		
  		case 145:
  			StringCopy(&Var2, "PROPS_P1_E9_5", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			iVar1 = 168;
  			iVar5 = 10;
  			break;
  		
  		case 146:
  			StringCopy(&Var2, "PROPS_P1_E9_6", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			iVar1 = 170;
  			iVar5 = 10;
  			break;
  		
  		case 147:
  			StringCopy(&Var2, "PROPS_P1_E9_7", 16);
  			iVar3 = 9;
  			iVar4 = 7;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 148:
  			StringCopy(&Var2, "PROPS_P1_E9_8", 16);
  			iVar3 = 9;
  			iVar4 = 8;
  			iVar1 = 170;
  			iVar5 = 10;
  			break;
  		
  		case 149:
  			StringCopy(&Var2, "PROPS_P1_E9_9", 16);
  			iVar3 = 9;
  			iVar4 = 9;
  			iVar1 = 178;
  			iVar5 = 10;
  			break;
  		
  		case 150:
  			StringCopy(&Var2, "PROPS_P1_E10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			iVar1 = 140;
  			iVar5 = 10;
  			break;
  		
  		case 151:
  			StringCopy(&Var2, "PROPS_P1_E10_1", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			iVar1 = 145;
  			iVar5 = 10;
  			break;
  		
  		case 152:
  			StringCopy(&Var2, "PROPS_P1_E10_2", 16);
  			iVar3 = 10;
  			iVar4 = 2;
  			iVar1 = 150;
  			iVar5 = 10;
  			break;
  		
  		case 153:
  			StringCopy(&Var2, "PROPS_P1_E10_3", 16);
  			iVar3 = 10;
  			iVar4 = 3;
  			iVar1 = 165;
  			iVar5 = 10;
  			break;
  		
  		case 154:
  			StringCopy(&Var2, "PROPS_P1_E10_4", 16);
  			iVar3 = 10;
  			iVar4 = 4;
  			iVar1 = 168;
  			iVar5 = 10;
  			break;
  		
  		case 155:
  			StringCopy(&Var2, "PROPS_P1_E10_5", 16);
  			iVar3 = 10;
  			iVar4 = 5;
  			iVar1 = 178;
  			iVar5 = 10;
  			break;
  		
  		case 156:
  			StringCopy(&Var2, "PROPS_P1_E10_6", 16);
  			iVar3 = 10;
  			iVar4 = 6;
  			iVar1 = 160;
  			iVar5 = 10;
  			break;
  		
  		case 157:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar1 = 100;
  			iVar5 = 10;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "PROPS_P1_H0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 320;
  			iVar5 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "PROPS_P1_H3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			iVar5 = 0;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			iVar5 = 0;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 8;
  			iVar5 = 0;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "PROPS_P1_H8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "PROPS_P1_H8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "PROPS_P1_H9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "PROPS_P1_H9_1", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "PROPS_P1_H10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "PROPS_P1_H10_1", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "PROPS_P1_H11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar1 = 450;
  			iVar5 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "PROPS_P1_H12_0", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "PROPS_P1_H12_1", 16);
  			iVar3 = 12;
  			iVar4 = 1;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "PROPS_P1_H13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "PROPS_P1_H13_1", 16);
  			iVar3 = 13;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "PROPS_P1_H14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "PROPS_P1_H14_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "PROPS_P1_H14_2", 16);
  			iVar3 = 14;
  			iVar4 = 2;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "PROPS_P1_H19_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "PROPS_P1_H19_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "PROPS_P1_H19_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "PROPS_P1_H19_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "PROPS_P1_H19_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "PROPS_P1_H19_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "PROPS_P1_H19_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			iVar5 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "PROPS_P1_H19_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			iVar5 = 0;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "PROPS_P1_H19_8", 16);
  			iVar3 = 16;
  			iVar4 = 8;
  			iVar5 = 0;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "PROPS_P1_H19_9", 16);
  			iVar3 = 16;
  			iVar4 = 9;
  			iVar5 = 0;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "PROPS_P1_H19_10", 16);
  			iVar3 = 16;
  			iVar4 = 10;
  			iVar5 = 0;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "PROPS_P1_H19_11", 16);
  			iVar3 = 16;
  			iVar4 = 11;
  			iVar5 = 0;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "PROPS_P1_H19_12", 16);
  			iVar3 = 16;
  			iVar4 = 12;
  			iVar5 = 0;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "PROPS_P1_H19_13", 16);
  			iVar3 = 16;
  			iVar4 = 13;
  			iVar5 = 0;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "PROPS_P1_H19_14", 16);
  			iVar3 = 16;
  			iVar4 = 14;
  			iVar5 = 0;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "PROPS_P1_H19_15", 16);
  			iVar3 = 16;
  			iVar4 = 15;
  			iVar5 = 0;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "PROPS_P1_H19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 30;
  			iVar5 = 0;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "PROPS_P1_H19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 30;
  			iVar5 = 0;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "PROPS_P1_H19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 32;
  			iVar5 = 0;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "PROPS_P1_H19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 35;
  			iVar5 = 0;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "PROPS_P1_H19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 38;
  			iVar5 = 0;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "PROPS_P1_H19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 42;
  			iVar5 = 0;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "PROPS_P1_H19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 42;
  			iVar5 = 0;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "PROPS_P1_H19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 40;
  			iVar5 = 0;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "PROPS_P1_H19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 45;
  			iVar5 = 0;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "PROPS_P1_H19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 48;
  			iVar5 = 0;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "PROPS_P1_H19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "PROPS_P1_H19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 25;
  			iVar5 = 0;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "PROPS_P1_H19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 28;
  			iVar5 = 0;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "PROPS_P1_H19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 28;
  			iVar5 = 0;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "PROPS_P1_H19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 30;
  			iVar5 = 0;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "PROPS_P1_H19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 35;
  			iVar5 = 0;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 175, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_181(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 13;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 9, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_182(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 12;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "OUTFIT_P1_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "OUTFIT_P1_2", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "OUTFIT_P1_4", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "OUTFIT_P1_7", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "OUTFIT_P1_10", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "OUTFIT_P1_11", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "OUTFIT_P1_12", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "OUTFIT_P1_13", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "OUTFIT_P1_15", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "OUTFIT_P1_16", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "OUTFIT_P1_17", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 10000;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "OUTFIT_P1_18", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "OUTFIT_P1_19", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "OUTFIT_P1_20", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "OUTFIT_P1_21", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "OUTFIT_P1_22", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "OUTFIT_P1_23", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "OUTFIT_P1_24", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "OUTFIT_P1_25", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "OUTFIT_P1_26", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "OUTFIT_P1_27", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "OUTFIT_P1_28", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4000;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "OUTFIT_P1_29", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4500;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "OUTFIT_P1_30", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4500;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "OUTFIT_P1_31", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4650;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "OUTFIT_P1_32", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4900;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "OUTFIT_P1_33", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5000;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "OUTFIT_P1_34", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4750;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "OUTFIT_P1_35", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4750;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "OUTFIT_P1_36", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5200;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "OUTFIT_P1_37", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5200;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "OUTFIT_P1_38", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5500;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "OUTFIT_P1_39", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "OUTFIT_P1_40", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "OUTFIT_P1_41", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "OUTFIT_P1_42", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "OUTFIT_P1_43", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "OUTFIT_P1_47", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 3000;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "OUTFIT_P1_48", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 3000;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "OUTFIT_P1_49", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 3000;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "OUTFIT_P1_10", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "OUTFIT_P1_50", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "OUTFIT_P1_51", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "OUTFIT_P1_52", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "OUTFIT_P1_53", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "OUTFIT_P1_54", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 47, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_183(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 11;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "JBIB_P1_1_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "JBIB_P1_1_1", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "JBIB_P1_1_2", 16);
  			iVar3 = 2;
  			iVar4 = 2;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "JBIB_P1_1_3", 16);
  			iVar3 = 2;
  			iVar4 = 3;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "JBIB_P1_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "JBIB_P1_3_1", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "JBIB_P1_3_2", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "JBIB_P1_3_3", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "JBIB_P1_3_4", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "JBIB_P1_3_5", 16);
  			iVar3 = 3;
  			iVar4 = 5;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "JBIB_P1_3_6", 16);
  			iVar3 = 3;
  			iVar4 = 6;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "JBIB_P1_3_7", 16);
  			iVar3 = 3;
  			iVar4 = 7;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "JBIB_P1_3_8", 16);
  			iVar3 = 3;
  			iVar4 = 8;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "JBIB_P1_3_9", 16);
  			iVar3 = 3;
  			iVar4 = 9;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "JBIB_P1_3_10", 16);
  			iVar3 = 3;
  			iVar4 = 10;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "JBIB_P1_3_11", 16);
  			iVar3 = 3;
  			iVar4 = 11;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "JBIB_P1_3_12", 16);
  			iVar3 = 3;
  			iVar4 = 12;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "JBIB_P1_3_13", 16);
  			iVar3 = 3;
  			iVar4 = 13;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "JBIB_P1_3_14", 16);
  			iVar3 = 3;
  			iVar4 = 14;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "JBIB_P1_3_15", 16);
  			iVar3 = 3;
  			iVar4 = 15;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "JBIB_P1_3_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "JBIB_P1_3_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "JBIB_P1_3_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "JBIB_P1_3_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "JBIB_P1_3_4", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "JBIB_P1_3_5", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "JBIB_P1_3_6", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "JBIB_P1_3_7", 16);
  			iVar3 = 4;
  			iVar4 = 7;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "JBIB_P1_3_8", 16);
  			iVar3 = 4;
  			iVar4 = 8;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "JBIB_P1_3_9", 16);
  			iVar3 = 4;
  			iVar4 = 9;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "JBIB_P1_3_10", 16);
  			iVar3 = 4;
  			iVar4 = 10;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "JBIB_P1_3_11", 16);
  			iVar3 = 4;
  			iVar4 = 11;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "JBIB_P1_3_12", 16);
  			iVar3 = 4;
  			iVar4 = 12;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "JBIB_P1_3_13", 16);
  			iVar3 = 4;
  			iVar4 = 13;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "JBIB_P1_3_14", 16);
  			iVar3 = 4;
  			iVar4 = 14;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "JBIB_P1_3_15", 16);
  			iVar3 = 4;
  			iVar4 = 15;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "JBIB_P1_5_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "JBIB_P1_6_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "JBIB_P1_6_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "JBIB_P1_7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "JBIB_P1_8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "JBIB_P1_9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "JBIB_P1_10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "JBIB_P1_10_1", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			iVar1 = 48;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "JBIB_P1_10_2", 16);
  			iVar3 = 10;
  			iVar4 = 2;
  			iVar1 = 35;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "JBIB_P1_10_3", 16);
  			iVar3 = 10;
  			iVar4 = 3;
  			iVar1 = 32;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "JBIB_P1_10_4", 16);
  			iVar3 = 10;
  			iVar4 = 4;
  			iVar1 = 35;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "JBIB_P1_10_5", 16);
  			iVar3 = 10;
  			iVar4 = 5;
  			iVar1 = 48;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "JBIB_P1_10_6", 16);
  			iVar3 = 10;
  			iVar4 = 6;
  			iVar1 = 52;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "JBIB_P1_10_7", 16);
  			iVar3 = 10;
  			iVar4 = 7;
  			iVar1 = 38;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "JBIB_P1_10_8", 16);
  			iVar3 = 10;
  			iVar4 = 8;
  			iVar1 = 42;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "JBIB_P1_10_9", 16);
  			iVar3 = 10;
  			iVar4 = 9;
  			iVar1 = 38;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "JBIB_P1_10_10", 16);
  			iVar3 = 10;
  			iVar4 = 10;
  			iVar1 = 35;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "JBIB_P1_10_11", 16);
  			iVar3 = 10;
  			iVar4 = 11;
  			iVar1 = 48;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "JBIB_P1_10_12", 16);
  			iVar3 = 10;
  			iVar4 = 12;
  			iVar1 = 42;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "JBIB_P1_10_13", 16);
  			iVar3 = 10;
  			iVar4 = 13;
  			iVar1 = 45;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "JBIB_P1_10_14", 16);
  			iVar3 = 10;
  			iVar4 = 14;
  			iVar1 = 45;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "JBIB_P1_10_15", 16);
  			iVar3 = 10;
  			iVar4 = 15;
  			iVar1 = 49;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 63, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_184(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 7;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 1, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_185(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 1;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "BERD_P1_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "BERD_P1_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "BERD_P1_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "BERD_P1_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "BERD_P1_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 5, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_186(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 10;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 5;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 6;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 7;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 8;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 9;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 10;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 11;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 12;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 13;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 14;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 15;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 53, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_187(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 9;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "SPEC2_P0_08_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			iVar1 = 125;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "SPEC2_P0_08_1", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			iVar1 = 150;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "SPEC2_P0_08_2", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			iVar1 = 175;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "SPEC2_P0_08_3", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			iVar1 = 85;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "SPEC2_P0_08_4", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			iVar1 = 150;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "SPEC2_P0_08_5", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			iVar1 = 175;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 12, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_188(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 8;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "SPEC_P1_9_0", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "SPEC_P1_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar1 = 195;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "SPEC_P1_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar1 = 195;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "SPEC_P1_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar1 = 195;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "SPEC_P1_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 250;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "SPEC_P1_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 250;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "SPEC_P1_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 250;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "SPEC_P1_11_6", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar1 = 195;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "SPEC_P1_11_7", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar1 = 250;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "SPEC_P1_11_8", 16);
  			iVar3 = 11;
  			iVar4 = 8;
  			iVar1 = 250;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "SPEC_P1_11_9", 16);
  			iVar3 = 11;
  			iVar4 = 9;
  			iVar1 = 250;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "SPEC_P1_11_10", 16);
  			iVar3 = 11;
  			iVar4 = 10;
  			iVar1 = 250;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "SPEC_P1_11_11", 16);
  			iVar3 = 11;
  			iVar4 = 11;
  			iVar1 = 195;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "SPEC_P1_11_12", 16);
  			iVar3 = 11;
  			iVar4 = 12;
  			iVar1 = 250;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "SPEC_P1_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "SPEC_P1_15_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "SPEC_P1_15_2", 16);
  			iVar3 = 15;
  			iVar4 = 2;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "SPEC_P1_15_3", 16);
  			iVar3 = 15;
  			iVar4 = 3;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "SPEC_P1_15_4", 16);
  			iVar3 = 15;
  			iVar4 = 4;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "SPEC_P1_15_5", 16);
  			iVar3 = 15;
  			iVar4 = 5;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "SPEC_P1_15_6", 16);
  			iVar3 = 15;
  			iVar4 = 6;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "SPEC_P1_15_7", 16);
  			iVar3 = 15;
  			iVar4 = 7;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "SPEC_P1_15_8", 16);
  			iVar3 = 15;
  			iVar4 = 8;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "SPEC_P1_15_9", 16);
  			iVar3 = 15;
  			iVar4 = 9;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "SPEC_P1_15_10", 16);
  			iVar3 = 15;
  			iVar4 = 10;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "SPEC_P1_15_11", 16);
  			iVar3 = 15;
  			iVar4 = 11;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "SPEC_P1_15_12", 16);
  			iVar3 = 15;
  			iVar4 = 12;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "SPEC_P1_15_13", 16);
  			iVar3 = 15;
  			iVar4 = 13;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "SPEC_P1_15_14", 16);
  			iVar3 = 15;
  			iVar4 = 14;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "SPEC_P1_15_15", 16);
  			iVar3 = 15;
  			iVar4 = 15;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "SPEC_P1_15_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "SPEC_P1_15_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "SPEC_P1_15_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "SPEC_P1_15_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "SPEC_P1_15_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "SPEC_P1_15_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "SPEC_P1_15_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "SPEC_P1_15_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "SPEC_P1_15_8", 16);
  			iVar3 = 16;
  			iVar4 = 8;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "SPEC_P1_15_9", 16);
  			iVar3 = 16;
  			iVar4 = 9;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "SPEC_P1_15_10", 16);
  			iVar3 = 16;
  			iVar4 = 10;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "SPEC_P1_15_11", 16);
  			iVar3 = 16;
  			iVar4 = 11;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "SPEC_P1_15_12", 16);
  			iVar3 = 16;
  			iVar4 = 12;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "SPEC_P1_15_13", 16);
  			iVar3 = 16;
  			iVar4 = 13;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "SPEC_P1_15_14", 16);
  			iVar3 = 16;
  			iVar4 = 14;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "SPEC_P1_15_15", 16);
  			iVar3 = 16;
  			iVar4 = 15;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "SPEC_P1_15_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "SPEC_P1_15_1", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "SPEC_P1_15_2", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "SPEC_P1_15_3", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "SPEC_P1_15_4", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "SPEC_P1_15_5", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "SPEC_P1_15_6", 16);
  			iVar3 = 17;
  			iVar4 = 6;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "SPEC_P1_15_7", 16);
  			iVar3 = 17;
  			iVar4 = 7;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "SPEC_P1_15_8", 16);
  			iVar3 = 17;
  			iVar4 = 8;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "SPEC_P1_15_9", 16);
  			iVar3 = 17;
  			iVar4 = 9;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "SPEC_P1_15_10", 16);
  			iVar3 = 17;
  			iVar4 = 10;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "SPEC_P1_15_11", 16);
  			iVar3 = 17;
  			iVar4 = 11;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "SPEC_P1_15_12", 16);
  			iVar3 = 17;
  			iVar4 = 12;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "SPEC_P1_15_13", 16);
  			iVar3 = 17;
  			iVar4 = 13;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "SPEC_P1_15_14", 16);
  			iVar3 = 17;
  			iVar4 = 14;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "SPEC_P1_15_15", 16);
  			iVar3 = 17;
  			iVar4 = 15;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 77, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_189(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 5;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 7, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_190(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 6;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "FEET_P1_00_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "FEET_P1_00_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 80;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "FEET_P1_00_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 80;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "FEET_P1_00_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 89;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "FEET_P1_00_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar1 = 45;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "FEET_P1_00_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar1 = 35;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "FEET_P1_00_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			iVar1 = 89;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "FEET_P1_00_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			iVar1 = 95;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "FEET_P1_00_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			iVar1 = 115;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "FEET_P1_00_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			iVar1 = 40;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "FEET_P1_00_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			iVar1 = 145;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "FEET_P1_00_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			iVar1 = 145;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "FEET_P1_01_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "FEET_P1_06_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "FEET_P1_06_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 180;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "FEET_P1_06_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 80;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "FEET_P1_06_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 200;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "FEET_P1_06_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 220;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "FEET_P1_06_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 235;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "FEET_P1_08_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 870;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "FEET_P1_08_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 870;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "FEET_P1_08_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 870;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "FEET_P1_08_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 1275;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "FEET_P1_08_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 1275;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "FEET_P1_08_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 1275;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "FEET_P1_08_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 1275;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "FEET_P1_08_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 1275;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "FEET_P1_08_8", 16);
  			iVar3 = 8;
  			iVar4 = 8;
  			iVar1 = 1275;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "FEET_P1_10_0", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "FEET_P1_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "FEET_P1_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar1 = 50;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "FEET_P1_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar1 = 50;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "FEET_P1_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 50;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "FEET_P1_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 50;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "FEET_P1_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 50;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "FEET_P1_11_6", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar1 = 50;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "FEET_P1_11_7", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar1 = 50;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "FEET_P1_11_8", 16);
  			iVar3 = 11;
  			iVar4 = 8;
  			iVar1 = 50;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "FEET_P1_11_9", 16);
  			iVar3 = 11;
  			iVar4 = 9;
  			iVar1 = 50;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "FEET_P1_11_10", 16);
  			iVar3 = 11;
  			iVar4 = 10;
  			iVar1 = 50;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "FEET_P1_11_11", 16);
  			iVar3 = 11;
  			iVar4 = 11;
  			iVar1 = 50;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "FEET_P1_11_12", 16);
  			iVar3 = 11;
  			iVar4 = 12;
  			iVar1 = 50;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "FEET_P1_11_13", 16);
  			iVar3 = 11;
  			iVar4 = 13;
  			iVar1 = 50;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "FEET_P1_11_14", 16);
  			iVar3 = 11;
  			iVar4 = 14;
  			iVar1 = 50;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "FEET_P1_11_15", 16);
  			iVar3 = 11;
  			iVar4 = 15;
  			iVar1 = 50;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "FEET_P1_12_0", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "FEET_P1_12_1", 16);
  			iVar3 = 12;
  			iVar4 = 1;
  			iVar1 = 25;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "FEET_P1_12_2", 16);
  			iVar3 = 12;
  			iVar4 = 2;
  			iVar1 = 20;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "FEET_P1_12_3", 16);
  			iVar3 = 12;
  			iVar4 = 3;
  			iVar1 = 24;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "FEET_P1_12_4", 16);
  			iVar3 = 12;
  			iVar4 = 4;
  			iVar1 = 25;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "FEET_P1_12_5", 16);
  			iVar3 = 12;
  			iVar4 = 5;
  			iVar1 = 27;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "FEET_P1_12_6", 16);
  			iVar3 = 12;
  			iVar4 = 6;
  			iVar1 = 29;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "FEET_P1_12_7", 16);
  			iVar3 = 12;
  			iVar4 = 7;
  			iVar1 = 27;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "FEET_P1_12_8", 16);
  			iVar3 = 12;
  			iVar4 = 8;
  			iVar1 = 25;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "FEET_P1_12_9", 16);
  			iVar3 = 12;
  			iVar4 = 9;
  			iVar1 = 30;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "FEET_P1_12_10", 16);
  			iVar3 = 12;
  			iVar4 = 10;
  			iVar1 = 28;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "FEET_P1_12_11", 16);
  			iVar3 = 12;
  			iVar4 = 11;
  			iVar1 = 30;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "FEET_P1_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "FEET_P1_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 155;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "FEET_P1_14_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 155;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "FEET_P1_14_2", 16);
  			iVar3 = 14;
  			iVar4 = 2;
  			iVar1 = 165;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "FEET_P1_14_3", 16);
  			iVar3 = 14;
  			iVar4 = 3;
  			iVar1 = 170;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "FEET_P1_14_4", 16);
  			iVar3 = 14;
  			iVar4 = 4;
  			iVar1 = 160;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "FEET_P1_14_5", 16);
  			iVar3 = 14;
  			iVar4 = 5;
  			iVar1 = 165;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "FEET_P1_14_6", 16);
  			iVar3 = 14;
  			iVar4 = 6;
  			iVar1 = 170;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "FEET_P1_14_7", 16);
  			iVar3 = 14;
  			iVar4 = 7;
  			iVar1 = 160;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "FEET_P1_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			iVar1 = 720;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "FEET_P1_16_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 680;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "FEET_P1_16_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			iVar1 = 650;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "FEET_P1_16_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			iVar1 = 670;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "FEET_P1_16_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			iVar1 = 700;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "FEET_P1_16_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			iVar1 = 680;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "FEET_P1_16_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			iVar1 = 720;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "FEET_P1_16_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			iVar1 = 740;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "FEET_P1_16_8", 16);
  			iVar3 = 16;
  			iVar4 = 8;
  			iVar1 = 760;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "FEET_P1_16_9", 16);
  			iVar3 = 16;
  			iVar4 = 9;
  			iVar1 = 780;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "FEET_P1_16_10", 16);
  			iVar3 = 16;
  			iVar4 = 10;
  			iVar1 = 750;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "FEET_P1_16_11", 16);
  			iVar3 = 16;
  			iVar4 = 11;
  			iVar1 = 700;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "FEET_P1_17_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar1 = 790;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "FEET_P1_17_1", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			iVar1 = 750;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "FEET_P1_17_2", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			iVar1 = 860;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "FEET_P1_17_3", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			iVar1 = 750;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "FEET_P1_17_4", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			iVar1 = 790;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "FEET_P1_17_5", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "FEET_P1_17_6", 16);
  			iVar3 = 17;
  			iVar4 = 6;
  			iVar1 = 820;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "FEET_P1_17_7", 16);
  			iVar3 = 17;
  			iVar4 = 7;
  			iVar1 = 800;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "FEET_P1_17_8", 16);
  			iVar3 = 17;
  			iVar4 = 8;
  			iVar1 = 850;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "FEET_P1_17_9", 16);
  			iVar3 = 17;
  			iVar4 = 9;
  			iVar1 = 870;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "FEET_P1_17_10", 16);
  			iVar3 = 17;
  			iVar4 = 10;
  			iVar1 = 720;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "FEET_P1_17_11", 16);
  			iVar3 = 17;
  			iVar4 = 11;
  			iVar1 = 740;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "FEET_P1_17_12", 16);
  			iVar3 = 17;
  			iVar4 = 12;
  			iVar1 = 800;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "FEET_P1_17_13", 16);
  			iVar3 = 17;
  			iVar4 = 13;
  			iVar1 = 750;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "FEET_P1_17_14", 16);
  			iVar3 = 17;
  			iVar4 = 14;
  			iVar1 = 770;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "FEET_P1_17_15", 16);
  			iVar3 = 17;
  			iVar4 = 15;
  			iVar1 = 860;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "FEET_P1_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar1 = 850;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "FEET_P1_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 800;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "FEET_P1_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 780;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "FEET_P1_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 890;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "FEET_P1_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 820;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "FEET_P1_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "FEET_P1_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar1 = 870;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "FEET_P1_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar1 = 930;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "FEET_P1_18_8", 16);
  			iVar3 = 18;
  			iVar4 = 8;
  			iVar1 = 880;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "FEET_P1_18_9", 16);
  			iVar3 = 18;
  			iVar4 = 9;
  			iVar1 = 900;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "FEET_P1_18_10", 16);
  			iVar3 = 18;
  			iVar4 = 10;
  			iVar1 = 920;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "FEET_P1_18_11", 16);
  			iVar3 = 18;
  			iVar4 = 11;
  			iVar1 = 970;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "FEET_P1_18_12", 16);
  			iVar3 = 18;
  			iVar4 = 12;
  			iVar1 = 990;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "FEET_P1_18_13", 16);
  			iVar3 = 18;
  			iVar4 = 13;
  			iVar1 = 960;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "FEET_P1_18_14", 16);
  			iVar3 = 18;
  			iVar4 = 14;
  			iVar1 = 980;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "FEET_P1_18_15", 16);
  			iVar3 = 18;
  			iVar4 = 15;
  			iVar1 = 950;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "FEET_P1_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 110;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "FEET_P1_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 115;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "FEET_P1_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 120;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "FEET_P1_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 110;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "FEET_P1_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 125;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "FEET_P1_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 128;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "FEET_P1_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 135;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "FEET_P1_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 130;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "FEET_P1_19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 145;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "FEET_P1_19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 110;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "FEET_P1_19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 120;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "FEET_P1_19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 150;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "FEET_P1_19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 125;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "FEET_P1_19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 120;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "FEET_P1_19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 130;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "FEET_P1_19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 110;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 134, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_191(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 4;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "LEGS_P1_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "LEGS_P1_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 32;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "LEGS_P1_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 38;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "LEGS_P1_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 44;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 5;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "LEGS_P1_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "LEGS_P1_6_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "LEGS_P1_6_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 690;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "LEGS_P1_6_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 720;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "LEGS_P1_6_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 850;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "LEGS_P1_6_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 850;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "LEGS_P1_6_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 740;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "LEGS_P1_6_6", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			iVar1 = 750;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "LEGS_P1_6_7", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			iVar1 = 790;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "LEGS_P1_8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "LEGS_P1_8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 145;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "LEGS_P1_8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 140;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "LEGS_P1_8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 148;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "LEGS_P1_8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 150;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "LEGS_P1_8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 154;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "LEGS_P1_8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 158;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "LEGS_P1_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar1 = 820;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "LEGS_P1_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar1 = 820;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "LEGS_P1_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar1 = 850;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "LEGS_P1_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 850;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "LEGS_P1_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 920;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "LEGS_P1_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 950;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "LEGS_P1_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "LEGS_P1_13_1", 16);
  			iVar3 = 13;
  			iVar4 = 1;
  			iVar1 = 45;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "LEGS_P1_13_2", 16);
  			iVar3 = 13;
  			iVar4 = 2;
  			iVar1 = 48;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "LEGS_P1_13_3", 16);
  			iVar3 = 13;
  			iVar4 = 3;
  			iVar1 = 45;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "LEGS_P1_13_4", 16);
  			iVar3 = 13;
  			iVar4 = 4;
  			iVar1 = 48;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "LEGS_P1_13_5", 16);
  			iVar3 = 13;
  			iVar4 = 5;
  			iVar1 = 52;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "LEGS_P1_13_6", 16);
  			iVar3 = 13;
  			iVar4 = 6;
  			iVar1 = 55;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "LEGS_P1_13_7", 16);
  			iVar3 = 13;
  			iVar4 = 7;
  			iVar1 = 58;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "LEGS_P1_13_8", 16);
  			iVar3 = 13;
  			iVar4 = 8;
  			iVar1 = 60;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "LEGS_P1_13_9", 16);
  			iVar3 = 13;
  			iVar4 = 9;
  			iVar1 = 58;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "LEGS_P1_13_10", 16);
  			iVar3 = 13;
  			iVar4 = 10;
  			iVar1 = 62;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "LEGS_P1_13_11", 16);
  			iVar3 = 13;
  			iVar4 = 11;
  			iVar1 = 65;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "LEGS_P1_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "LEGS_P1_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "LEGS_P1_15_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "LEGS_P1_15_2", 16);
  			iVar3 = 15;
  			iVar4 = 2;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "LEGS_P1_15_3", 16);
  			iVar3 = 15;
  			iVar4 = 3;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "LEGS_P1_15_4", 16);
  			iVar3 = 15;
  			iVar4 = 4;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "LEGS_P1_15_5", 16);
  			iVar3 = 15;
  			iVar4 = 5;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "LEGS_P1_15_6", 16);
  			iVar3 = 15;
  			iVar4 = 6;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "LEGS_P1_15_7", 16);
  			iVar3 = 15;
  			iVar4 = 7;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "LEGS_P1_15_8", 16);
  			iVar3 = 15;
  			iVar4 = 8;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "LEGS_P1_15_9", 16);
  			iVar3 = 15;
  			iVar4 = 9;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "LEGS_P1_15_10", 16);
  			iVar3 = 15;
  			iVar4 = 10;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "LEGS_P1_15_11", 16);
  			iVar3 = 15;
  			iVar4 = 11;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "LEGS_P1_15_12", 16);
  			iVar3 = 15;
  			iVar4 = 12;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "LEGS_P1_15_13", 16);
  			iVar3 = 15;
  			iVar4 = 13;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "LEGS_P1_15_14", 16);
  			iVar3 = 15;
  			iVar4 = 14;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "LEGS_P1_15_15", 16);
  			iVar3 = 15;
  			iVar4 = 15;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "LEGS_P1_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "LEGS_P1_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "LEGS_P1_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 160;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "LEGS_P1_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 180;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "LEGS_P1_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 180;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "LEGS_P1_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "LEGS_P1_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "LEGS_P1_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "LEGS_P1_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 118;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "LEGS_P1_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 120;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "LEGS_P1_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 128;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "LEGS_P1_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 128;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "LEGS_P1_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			iVar1 = 130;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "LEGS_P1_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 145;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "LEGS_P1_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 138;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "LEGS_P1_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 132;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "LEGS_P1_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 148;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "LEGS_P1_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 118;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "LEGS_P1_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 118;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "LEGS_P1_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 118;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "LEGS_P1_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 129;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "LEGS_P1_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 135;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "LEGS_P1_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 135;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "LEGS_P1_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 118;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "LEGS_P1_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 118;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "LEGS_P1_21_8", 16);
  			iVar3 = 21;
  			iVar4 = 8;
  			iVar1 = 118;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "LEGS_P1_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar1 = 55;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "LEGS_P1_22_1", 16);
  			iVar3 = 22;
  			iVar4 = 1;
  			iVar1 = 55;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "LEGS_P1_22_2", 16);
  			iVar3 = 22;
  			iVar4 = 2;
  			iVar1 = 59;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "LEGS_P1_22_3", 16);
  			iVar3 = 22;
  			iVar4 = 3;
  			iVar1 = 59;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "LEGS_P1_22_4", 16);
  			iVar3 = 22;
  			iVar4 = 4;
  			iVar1 = 65;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "LEGS_P1_22_5", 16);
  			iVar3 = 22;
  			iVar4 = 5;
  			iVar1 = 65;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "LEGS_P1_22_6", 16);
  			iVar3 = 22;
  			iVar4 = 6;
  			iVar1 = 69;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "LEGS_P1_22_7", 16);
  			iVar3 = 22;
  			iVar4 = 7;
  			iVar1 = 69;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "LEGS_P1_22_8", 16);
  			iVar3 = 22;
  			iVar4 = 8;
  			iVar1 = 75;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "LEGS_P1_22_9", 16);
  			iVar3 = 22;
  			iVar4 = 9;
  			iVar1 = 75;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "LEGS_P1_22_10", 16);
  			iVar3 = 22;
  			iVar4 = 10;
  			iVar1 = 65;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "LEGS_P1_22_11", 16);
  			iVar3 = 22;
  			iVar4 = 11;
  			iVar1 = 65;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "LEGS_P1_22_12", 16);
  			iVar3 = 22;
  			iVar4 = 12;
  			iVar1 = 65;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "LEGS_P1_22_13", 16);
  			iVar3 = 22;
  			iVar4 = 13;
  			iVar1 = 65;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "LEGS_P1_23_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar1 = 38;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "LEGS_P1_23_1", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar1 = 38;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "LEGS_P1_23_2", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar1 = 28;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "LEGS_P1_23_3", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar1 = 34;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "LEGS_P1_23_4", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar1 = 36;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "LEGS_P1_23_5", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			iVar1 = 32;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 117, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_192(int iParam0)
  {
  	if (iParam0 < 107)
  	{
  		func_195(iParam0);
  	}
  	else if (iParam0 < 227)
  	{
  		func_194(iParam0);
  	}
  	else
  	{
  		func_193(iParam0);
  	}
  	if (Global_76647[0 /*14*/].f_2 == -1)
  	{
  		func_162(3, iParam0, 318, -1);
  	}
  }
  
  void func_193(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 227:
  			StringCopy(&Var2, "TORSO_P1_18_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 228:
  			StringCopy(&Var2, "TORSO_P1_18_1", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar6 = 3;
  			break;
  		
  		case 229:
  			StringCopy(&Var2, "TORSO_P1_18_2", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar6 = 3;
  			break;
  		
  		case 230:
  			StringCopy(&Var2, "TORSO_P1_18_3", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar6 = 3;
  			break;
  		
  		case 231:
  			StringCopy(&Var2, "TORSO_P1_18_4", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar6 = 3;
  			break;
  		
  		case 232:
  			StringCopy(&Var2, "TORSO_P1_18_5", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			iVar6 = 3;
  			break;
  		
  		case 233:
  			StringCopy(&Var2, "TORSO_P1_18_6", 16);
  			iVar3 = 23;
  			iVar4 = 6;
  			iVar6 = 3;
  			break;
  		
  		case 234:
  			StringCopy(&Var2, "TORSO_P1_18_7", 16);
  			iVar3 = 23;
  			iVar4 = 7;
  			iVar6 = 3;
  			break;
  		
  		case 235:
  			StringCopy(&Var2, "TORSO_P1_18_8", 16);
  			iVar3 = 23;
  			iVar4 = 8;
  			iVar6 = 3;
  			break;
  		
  		case 236:
  			StringCopy(&Var2, "TORSO_P1_18_9", 16);
  			iVar3 = 23;
  			iVar4 = 9;
  			iVar6 = 3;
  			break;
  		
  		case 237:
  			StringCopy(&Var2, "TORSO_P1_18_10", 16);
  			iVar3 = 23;
  			iVar4 = 10;
  			iVar6 = 3;
  			break;
  		
  		case 238:
  			StringCopy(&Var2, "TORSO_P1_18_11", 16);
  			iVar3 = 23;
  			iVar4 = 11;
  			iVar6 = 3;
  			break;
  		
  		case 239:
  			StringCopy(&Var2, "TORSO_P1_18_12", 16);
  			iVar3 = 23;
  			iVar4 = 12;
  			iVar6 = 3;
  			break;
  		
  		case 240:
  			StringCopy(&Var2, "TORSO_P1_18_13", 16);
  			iVar3 = 23;
  			iVar4 = 13;
  			iVar6 = 3;
  			break;
  		
  		case 241:
  			StringCopy(&Var2, "TORSO_P1_18_14", 16);
  			iVar3 = 23;
  			iVar4 = 14;
  			iVar6 = 3;
  			break;
  		
  		case 242:
  			StringCopy(&Var2, "TORSO_P1_18_15", 16);
  			iVar3 = 23;
  			iVar4 = 15;
  			iVar6 = 3;
  			break;
  		
  		case 243:
  			StringCopy(&Var2, "TORSO_P1_24_0", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 244:
  			StringCopy(&Var2, "TORSO_P1_24_1", 16);
  			iVar3 = 24;
  			iVar4 = 1;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 245:
  			StringCopy(&Var2, "TORSO_P1_24_2", 16);
  			iVar3 = 24;
  			iVar4 = 2;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 246:
  			StringCopy(&Var2, "TORSO_P1_24_3", 16);
  			iVar3 = 24;
  			iVar4 = 3;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 247:
  			StringCopy(&Var2, "TORSO_P1_24_4", 16);
  			iVar3 = 24;
  			iVar4 = 4;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 248:
  			StringCopy(&Var2, "TORSO_P1_24_5", 16);
  			iVar3 = 24;
  			iVar4 = 5;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 249:
  			StringCopy(&Var2, "TORSO_P1_24_6", 16);
  			iVar3 = 24;
  			iVar4 = 6;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 250:
  			StringCopy(&Var2, "TORSO_P1_24_7", 16);
  			iVar3 = 24;
  			iVar4 = 7;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 251:
  			StringCopy(&Var2, "TORSO_P1_24_8", 16);
  			iVar3 = 24;
  			iVar4 = 8;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 252:
  			StringCopy(&Var2, "TORSO_P1_24_9", 16);
  			iVar3 = 24;
  			iVar4 = 9;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 253:
  			StringCopy(&Var2, "TORSO_P1_24_10", 16);
  			iVar3 = 24;
  			iVar4 = 10;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 254:
  			StringCopy(&Var2, "TORSO_P1_24_11", 16);
  			iVar3 = 24;
  			iVar4 = 11;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 255:
  			StringCopy(&Var2, "TORSO_P1_24_12", 16);
  			iVar3 = 24;
  			iVar4 = 12;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 256:
  			StringCopy(&Var2, "TORSO_P1_24_13", 16);
  			iVar3 = 24;
  			iVar4 = 13;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 257:
  			StringCopy(&Var2, "TORSO_P1_24_14", 16);
  			iVar3 = 24;
  			iVar4 = 14;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 258:
  			StringCopy(&Var2, "TORSO_P1_24_15", 16);
  			iVar3 = 24;
  			iVar4 = 15;
  			iVar1 = 2200;
  			iVar6 = 3;
  			break;
  		
  		case 259:
  			StringCopy(&Var2, "TORSO_P1_25_0", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 3;
  			break;
  		
  		case 260:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			iVar6 = 1;
  			break;
  		
  		case 261:
  			StringCopy(&Var2, "TORSO_P1_27_0", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			iVar1 = 150;
  			break;
  		
  		case 262:
  			StringCopy(&Var2, "TORSO_P1_27_1", 16);
  			iVar3 = 27;
  			iVar4 = 1;
  			iVar1 = 160;
  			break;
  		
  		case 263:
  			StringCopy(&Var2, "TORSO_P1_27_2", 16);
  			iVar3 = 27;
  			iVar4 = 2;
  			iVar1 = 150;
  			break;
  		
  		case 264:
  			StringCopy(&Var2, "TORSO_P1_27_3", 16);
  			iVar3 = 27;
  			iVar4 = 3;
  			iVar1 = 150;
  			break;
  		
  		case 265:
  			StringCopy(&Var2, "TORSO_P1_27_4", 16);
  			iVar3 = 27;
  			iVar4 = 4;
  			iVar1 = 160;
  			break;
  		
  		case 266:
  			StringCopy(&Var2, "TORSO_P1_27_5", 16);
  			iVar3 = 27;
  			iVar4 = 5;
  			iVar1 = 160;
  			break;
  		
  		case 267:
  			StringCopy(&Var2, "TORSO_P1_28_0", 16);
  			iVar3 = 28;
  			iVar4 = 0;
  			iVar1 = 88;
  			break;
  		
  		case 268:
  			StringCopy(&Var2, "TORSO_P1_28_1", 16);
  			iVar3 = 28;
  			iVar4 = 1;
  			iVar1 = 60;
  			break;
  		
  		case 269:
  			StringCopy(&Var2, "TORSO_P1_28_2", 16);
  			iVar3 = 28;
  			iVar4 = 2;
  			iVar1 = 70;
  			break;
  		
  		case 270:
  			StringCopy(&Var2, "TORSO_P1_28_3", 16);
  			iVar3 = 28;
  			iVar4 = 3;
  			iVar1 = 80;
  			break;
  		
  		case 271:
  			StringCopy(&Var2, "TORSO_P1_28_4", 16);
  			iVar3 = 28;
  			iVar4 = 4;
  			iVar1 = 90;
  			break;
  		
  		case 272:
  			StringCopy(&Var2, "TORSO_P1_28_5", 16);
  			iVar3 = 28;
  			iVar4 = 5;
  			iVar1 = 80;
  			break;
  		
  		case 273:
  			StringCopy(&Var2, "TORSO_P1_28_6", 16);
  			iVar3 = 28;
  			iVar4 = 6;
  			iVar1 = 70;
  			break;
  		
  		case 274:
  			StringCopy(&Var2, "TORSO_P1_28_7", 16);
  			iVar3 = 28;
  			iVar4 = 7;
  			iVar1 = 95;
  			break;
  		
  		case 275:
  			StringCopy(&Var2, "TORSO_P1_28_8", 16);
  			iVar3 = 28;
  			iVar4 = 8;
  			iVar1 = 105;
  			break;
  		
  		case 276:
  			StringCopy(&Var2, "TORSO_P1_28_9", 16);
  			iVar3 = 28;
  			iVar4 = 9;
  			iVar1 = 95;
  			break;
  		
  		case 277:
  			StringCopy(&Var2, "TORSO_P1_28_10", 16);
  			iVar3 = 28;
  			iVar4 = 10;
  			iVar1 = 110;
  			break;
  		
  		case 278:
  			StringCopy(&Var2, "TORSO_P1_28_11", 16);
  			iVar3 = 28;
  			iVar4 = 11;
  			iVar1 = 98;
  			break;
  		
  		case 279:
  			StringCopy(&Var2, "TORSO_P1_28_12", 16);
  			iVar3 = 28;
  			iVar4 = 12;
  			iVar1 = 88;
  			break;
  		
  		case 280:
  			StringCopy(&Var2, "TORSO_P1_28_13", 16);
  			iVar3 = 28;
  			iVar4 = 13;
  			iVar1 = 98;
  			break;
  		
  		case 281:
  			StringCopy(&Var2, "TORSO_P1_28_14", 16);
  			iVar3 = 28;
  			iVar4 = 14;
  			iVar1 = 110;
  			break;
  		
  		case 282:
  			StringCopy(&Var2, "TORSO_P1_28_15", 16);
  			iVar3 = 28;
  			iVar4 = 15;
  			iVar1 = 98;
  			break;
  		
  		case 283:
  			StringCopy(&Var2, "TORSO_P1_29_0", 16);
  			iVar3 = 29;
  			iVar4 = 0;
  			iVar1 = 250;
  			break;
  		
  		case 284:
  			StringCopy(&Var2, "TORSO_P1_29_1", 16);
  			iVar3 = 29;
  			iVar4 = 1;
  			iVar1 = 270;
  			break;
  		
  		case 285:
  			StringCopy(&Var2, "TORSO_P1_29_2", 16);
  			iVar3 = 29;
  			iVar4 = 2;
  			iVar1 = 280;
  			break;
  		
  		case 286:
  			StringCopy(&Var2, "TORSO_P1_29_3", 16);
  			iVar3 = 29;
  			iVar4 = 3;
  			iVar1 = 275;
  			break;
  		
  		case 287:
  			StringCopy(&Var2, "TORSO_P1_29_4", 16);
  			iVar3 = 29;
  			iVar4 = 4;
  			iVar1 = 290;
  			break;
  		
  		case 288:
  			StringCopy(&Var2, "TORSO_P1_29_5", 16);
  			iVar3 = 29;
  			iVar4 = 5;
  			iVar1 = 35;
  			break;
  		
  		case 289:
  			StringCopy(&Var2, "TORSO_P1_29_6", 16);
  			iVar3 = 29;
  			iVar4 = 6;
  			iVar1 = 35;
  			break;
  		
  		case 290:
  			StringCopy(&Var2, "TORSO_P1_29_7", 16);
  			iVar3 = 29;
  			iVar4 = 7;
  			iVar1 = 35;
  			break;
  		
  		case 291:
  			StringCopy(&Var2, "TORSO_P1_29_8", 16);
  			iVar3 = 29;
  			iVar4 = 8;
  			iVar1 = 295;
  			break;
  		
  		case 292:
  			StringCopy(&Var2, "TORSO_P1_29_9", 16);
  			iVar3 = 29;
  			iVar4 = 9;
  			iVar1 = 35;
  			break;
  		
  		case 293:
  			StringCopy(&Var2, "TORSO_P1_29_10", 16);
  			iVar3 = 29;
  			iVar4 = 10;
  			iVar1 = 35;
  			break;
  		
  		case 294:
  			StringCopy(&Var2, "TORSO_P1_29_11", 16);
  			iVar3 = 29;
  			iVar4 = 11;
  			iVar1 = 35;
  			break;
  		
  		case 295:
  			StringCopy(&Var2, "TORSO_P1_29_12", 16);
  			iVar3 = 29;
  			iVar4 = 12;
  			break;
  		
  		case 296:
  			StringCopy(&Var2, "TORSO_P1_30_0", 16);
  			iVar3 = 30;
  			iVar4 = 0;
  			iVar1 = 1750;
  			break;
  		
  		case 297:
  			StringCopy(&Var2, "TORSO_P1_30_1", 16);
  			iVar3 = 30;
  			iVar4 = 1;
  			iVar1 = 1920;
  			break;
  		
  		case 298:
  			StringCopy(&Var2, "TORSO_P1_30_2", 16);
  			iVar3 = 30;
  			iVar4 = 2;
  			iVar1 = 1890;
  			break;
  		
  		case 299:
  			StringCopy(&Var2, "TORSO_P1_30_3", 16);
  			iVar3 = 30;
  			iVar4 = 3;
  			iVar1 = 1850;
  			break;
  		
  		case 300:
  			StringCopy(&Var2, "TORSO_P1_30_4", 16);
  			iVar3 = 30;
  			iVar4 = 4;
  			iVar1 = 1750;
  			break;
  		
  		case 301:
  			StringCopy(&Var2, "TORSO_P1_30_5", 16);
  			iVar3 = 30;
  			iVar4 = 5;
  			iVar1 = 1990;
  			break;
  		
  		case 302:
  			StringCopy(&Var2, "TORSO_P1_30_6", 16);
  			iVar3 = 30;
  			iVar4 = 6;
  			iVar1 = 1820;
  			break;
  		
  		case 303:
  			StringCopy(&Var2, "TORSO_P1_30_7", 16);
  			iVar3 = 30;
  			iVar4 = 7;
  			iVar1 = 1990;
  			break;
  		
  		case 304:
  			StringCopy(&Var2, "TORSO_P1_30_8", 16);
  			iVar3 = 30;
  			iVar4 = 8;
  			iVar1 = 1920;
  			break;
  		
  		case 305:
  			StringCopy(&Var2, "TORSO_P1_30_9", 16);
  			iVar3 = 30;
  			iVar4 = 9;
  			iVar1 = 1850;
  			break;
  		
  		case 306:
  			StringCopy(&Var2, "TORSO_P1_30_10", 16);
  			iVar3 = 30;
  			iVar4 = 10;
  			iVar1 = 1990;
  			break;
  		
  		case 307:
  			StringCopy(&Var2, "TORSO_P1_30_11", 16);
  			iVar3 = 30;
  			iVar4 = 11;
  			iVar1 = 1790;
  			break;
  		
  		case 308:
  			StringCopy(&Var2, "TORSO_P1_30_12", 16);
  			iVar3 = 30;
  			iVar4 = 12;
  			iVar1 = 1790;
  			break;
  		
  		case 309:
  			StringCopy(&Var2, "TORSO_P1_31_0", 16);
  			iVar3 = 31;
  			iVar4 = 0;
  			iVar1 = 69;
  			break;
  		
  		case 310:
  			StringCopy(&Var2, "TORSO_P1_31_1", 16);
  			iVar3 = 31;
  			iVar4 = 1;
  			iVar1 = 75;
  			break;
  		
  		case 311:
  			StringCopy(&Var2, "TORSO_P1_31_2", 16);
  			iVar3 = 31;
  			iVar4 = 2;
  			iVar1 = 75;
  			break;
  		
  		case 312:
  			StringCopy(&Var2, "TORSO_P1_31_3", 16);
  			iVar3 = 31;
  			iVar4 = 3;
  			iVar1 = 79;
  			break;
  		
  		case 313:
  			StringCopy(&Var2, "TORSO_P1_31_4", 16);
  			iVar3 = 31;
  			iVar4 = 4;
  			iVar1 = 79;
  			break;
  		
  		case 314:
  			StringCopy(&Var2, "TORSO_P1_31_5", 16);
  			iVar3 = 31;
  			iVar4 = 5;
  			iVar1 = 89;
  			break;
  		
  		case 315:
  			StringCopy(&Var2, "TORSO_P1_31_6", 16);
  			iVar3 = 31;
  			iVar4 = 6;
  			iVar1 = 85;
  			break;
  		
  		case 316:
  			StringCopy(&Var2, "TORSO_P1_31_7", 16);
  			iVar3 = 31;
  			iVar4 = 7;
  			iVar1 = 85;
  			break;
  		
  		case 317:
  			StringCopy(&Var2, "TORSO_P1_31_8", 16);
  			iVar3 = 31;
  			iVar4 = 8;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_194(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 107:
  			StringCopy(&Var2, "TORSO_P1_12_0", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			iVar1 = 195;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "TORSO_P1_12_1", 16);
  			iVar3 = 12;
  			iVar4 = 1;
  			iVar1 = 420;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "TORSO_P1_12_2", 16);
  			iVar3 = 12;
  			iVar4 = 2;
  			iVar1 = 390;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "TORSO_P1_12_3", 16);
  			iVar3 = 12;
  			iVar4 = 3;
  			iVar1 = 450;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "TORSO_P1_12_4", 16);
  			iVar3 = 12;
  			iVar4 = 4;
  			iVar1 = 400;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "TORSO_P1_12_5", 16);
  			iVar3 = 12;
  			iVar4 = 5;
  			iVar1 = 390;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "TORSO_P1_12_6", 16);
  			iVar3 = 12;
  			iVar4 = 6;
  			iVar1 = 570;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "TORSO_P1_12_7", 16);
  			iVar3 = 12;
  			iVar4 = 7;
  			iVar1 = 390;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "TORSO_P1_12_8", 16);
  			iVar3 = 12;
  			iVar4 = 8;
  			iVar1 = 470;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "TORSO_P1_12_9", 16);
  			iVar3 = 12;
  			iVar4 = 9;
  			iVar1 = 390;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "TORSO_P1_12_10", 16);
  			iVar3 = 12;
  			iVar4 = 10;
  			iVar1 = 520;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "TORSO_P1_12_11", 16);
  			iVar3 = 12;
  			iVar4 = 11;
  			iVar1 = 490;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "TORSO_P1_12_12", 16);
  			iVar3 = 12;
  			iVar4 = 12;
  			iVar1 = 490;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "TORSO_P1_12_13", 16);
  			iVar3 = 12;
  			iVar4 = 13;
  			iVar1 = 590;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "TORSO_P1_12_14", 16);
  			iVar3 = 12;
  			iVar4 = 14;
  			iVar1 = 560;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "TORSO_P1_12_15", 16);
  			iVar3 = 12;
  			iVar4 = 15;
  			iVar1 = 520;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "TORSO_P1_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "TORSO_P1_13_1", 16);
  			iVar3 = 13;
  			iVar4 = 1;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "TORSO_P1_13_2", 16);
  			iVar3 = 13;
  			iVar4 = 2;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "TORSO_P1_13_3", 16);
  			iVar3 = 13;
  			iVar4 = 3;
  			iVar1 = 90;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "TORSO_P1_13_4", 16);
  			iVar3 = 13;
  			iVar4 = 4;
  			iVar1 = 85;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "TORSO_P1_13_5", 16);
  			iVar3 = 13;
  			iVar4 = 5;
  			iVar1 = 45;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "TORSO_P1_13_6", 16);
  			iVar3 = 13;
  			iVar4 = 6;
  			iVar1 = 90;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "TORSO_P1_13_7", 16);
  			iVar3 = 13;
  			iVar4 = 7;
  			iVar1 = 47;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "TORSO_P1_13_8", 16);
  			iVar3 = 13;
  			iVar4 = 8;
  			iVar1 = 45;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "TORSO_P1_13_9", 16);
  			iVar3 = 13;
  			iVar4 = 9;
  			iVar1 = 48;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "TORSO_P1_13_10", 16);
  			iVar3 = 13;
  			iVar4 = 10;
  			iVar1 = 45;
  			break;
  		
  		case 134:
  			StringCopy(&Var2, "TORSO_P1_13_11", 16);
  			iVar3 = 13;
  			iVar4 = 11;
  			iVar1 = 85;
  			break;
  		
  		case 135:
  			StringCopy(&Var2, "TORSO_P1_13_12", 16);
  			iVar3 = 13;
  			iVar4 = 12;
  			iVar1 = 45;
  			break;
  		
  		case 136:
  			StringCopy(&Var2, "TORSO_P1_13_13", 16);
  			iVar3 = 13;
  			iVar4 = 13;
  			iVar1 = 47;
  			break;
  		
  		case 137:
  			StringCopy(&Var2, "TORSO_P1_13_14", 16);
  			iVar3 = 13;
  			iVar4 = 14;
  			iVar1 = 45;
  			break;
  		
  		case 138:
  			StringCopy(&Var2, "TORSO_P1_13_15", 16);
  			iVar3 = 13;
  			iVar4 = 15;
  			iVar1 = 48;
  			break;
  		
  		case 139:
  			StringCopy(&Var2, "TORSO_P1_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 290;
  			break;
  		
  		case 140:
  			StringCopy(&Var2, "TORSO_P1_14_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 290;
  			break;
  		
  		case 141:
  			StringCopy(&Var2, "TORSO_P1_14_2", 16);
  			iVar3 = 14;
  			iVar4 = 2;
  			iVar1 = 290;
  			break;
  		
  		case 142:
  			StringCopy(&Var2, "TORSO_P1_14_3", 16);
  			iVar3 = 14;
  			iVar4 = 3;
  			iVar1 = 290;
  			break;
  		
  		case 143:
  			StringCopy(&Var2, "TORSO_P1_14_4", 16);
  			iVar3 = 14;
  			iVar4 = 4;
  			iVar1 = 290;
  			break;
  		
  		case 144:
  			StringCopy(&Var2, "TORSO_P1_14_5", 16);
  			iVar3 = 14;
  			iVar4 = 5;
  			iVar1 = 290;
  			break;
  		
  		case 145:
  			StringCopy(&Var2, "TORSO_P1_14_6", 16);
  			iVar3 = 14;
  			iVar4 = 6;
  			iVar1 = 65;
  			break;
  		
  		case 146:
  			StringCopy(&Var2, "TORSO_P1_14_7", 16);
  			iVar3 = 14;
  			iVar4 = 7;
  			iVar1 = 65;
  			break;
  		
  		case 147:
  			StringCopy(&Var2, "TORSO_P1_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			iVar1 = 200;
  			break;
  		
  		case 148:
  			StringCopy(&Var2, "TORSO_P1_15_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			iVar1 = 220;
  			break;
  		
  		case 149:
  			StringCopy(&Var2, "TORSO_P1_15_2", 16);
  			iVar3 = 15;
  			iVar4 = 2;
  			iVar1 = 220;
  			break;
  		
  		case 150:
  			StringCopy(&Var2, "TORSO_P1_15_3", 16);
  			iVar3 = 15;
  			iVar4 = 3;
  			iVar1 = 240;
  			break;
  		
  		case 151:
  			StringCopy(&Var2, "TORSO_P1_15_4", 16);
  			iVar3 = 15;
  			iVar4 = 4;
  			break;
  		
  		case 152:
  			StringCopy(&Var2, "TORSO_P1_15_5", 16);
  			iVar3 = 15;
  			iVar4 = 5;
  			iVar1 = 250;
  			break;
  		
  		case 153:
  			StringCopy(&Var2, "TORSO_P1_15_6", 16);
  			iVar3 = 15;
  			iVar4 = 6;
  			iVar1 = 260;
  			break;
  		
  		case 154:
  			StringCopy(&Var2, "TORSO_P1_15_7", 16);
  			iVar3 = 15;
  			iVar4 = 7;
  			iVar1 = 40;
  			break;
  		
  		case 155:
  			StringCopy(&Var2, "TORSO_P1_15_8", 16);
  			iVar3 = 15;
  			iVar4 = 8;
  			iVar1 = 50;
  			break;
  		
  		case 156:
  			StringCopy(&Var2, "TORSO_P1_15_9", 16);
  			iVar3 = 15;
  			iVar4 = 9;
  			iVar1 = 45;
  			break;
  		
  		case 157:
  			StringCopy(&Var2, "TORSO_P1_15_10", 16);
  			iVar3 = 15;
  			iVar4 = 10;
  			iVar1 = 40;
  			break;
  		
  		case 158:
  			StringCopy(&Var2, "TORSO_P1_15_11", 16);
  			iVar3 = 15;
  			iVar4 = 11;
  			iVar1 = 55;
  			break;
  		
  		case 159:
  			StringCopy(&Var2, "TORSO_P1_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 160:
  			StringCopy(&Var2, "TORSO_P1_17_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar1 = 40;
  			break;
  		
  		case 161:
  			StringCopy(&Var2, "TORSO_P1_17_1", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			iVar1 = 50;
  			break;
  		
  		case 162:
  			StringCopy(&Var2, "TORSO_P1_17_2", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			break;
  		
  		case 163:
  			StringCopy(&Var2, "TORSO_P1_17_3", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			iVar1 = 50;
  			break;
  		
  		case 164:
  			StringCopy(&Var2, "TORSO_P1_17_4", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			iVar1 = 50;
  			break;
  		
  		case 165:
  			StringCopy(&Var2, "TORSO_P1_17_5", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			iVar1 = 50;
  			break;
  		
  		case 166:
  			StringCopy(&Var2, "TORSO_P1_17_6", 16);
  			iVar3 = 17;
  			iVar4 = 6;
  			iVar1 = 50;
  			break;
  		
  		case 167:
  			StringCopy(&Var2, "TORSO_P1_17_7", 16);
  			iVar3 = 17;
  			iVar4 = 7;
  			iVar1 = 50;
  			break;
  		
  		case 168:
  			StringCopy(&Var2, "TORSO_P1_17_8", 16);
  			iVar3 = 17;
  			iVar4 = 8;
  			iVar1 = 50;
  			break;
  		
  		case 169:
  			StringCopy(&Var2, "TORSO_P1_17_9", 16);
  			iVar3 = 17;
  			iVar4 = 9;
  			iVar1 = 50;
  			break;
  		
  		case 170:
  			StringCopy(&Var2, "TORSO_P1_17_10", 16);
  			iVar3 = 17;
  			iVar4 = 10;
  			iVar1 = 50;
  			break;
  		
  		case 171:
  			StringCopy(&Var2, "TORSO_P1_17_11", 16);
  			iVar3 = 17;
  			iVar4 = 11;
  			iVar1 = 50;
  			break;
  		
  		case 172:
  			StringCopy(&Var2, "TORSO_P1_17_12", 16);
  			iVar3 = 17;
  			iVar4 = 12;
  			iVar1 = 50;
  			break;
  		
  		case 173:
  			StringCopy(&Var2, "TORSO_P1_17_13", 16);
  			iVar3 = 17;
  			iVar4 = 13;
  			iVar1 = 50;
  			break;
  		
  		case 174:
  			StringCopy(&Var2, "TORSO_P1_17_14", 16);
  			iVar3 = 17;
  			iVar4 = 14;
  			iVar1 = 50;
  			break;
  		
  		case 175:
  			StringCopy(&Var2, "TORSO_P1_17_15", 16);
  			iVar3 = 17;
  			iVar4 = 15;
  			iVar1 = 50;
  			break;
  		
  		case 176:
  			StringCopy(&Var2, "TORSO_P1_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 177:
  			StringCopy(&Var2, "TORSO_P1_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar6 = 3;
  			break;
  		
  		case 178:
  			StringCopy(&Var2, "TORSO_P1_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar6 = 3;
  			break;
  		
  		case 179:
  			StringCopy(&Var2, "TORSO_P1_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar6 = 3;
  			break;
  		
  		case 180:
  			StringCopy(&Var2, "TORSO_P1_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar6 = 3;
  			break;
  		
  		case 181:
  			StringCopy(&Var2, "TORSO_P1_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar6 = 3;
  			break;
  		
  		case 182:
  			StringCopy(&Var2, "TORSO_P1_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar6 = 3;
  			break;
  		
  		case 183:
  			StringCopy(&Var2, "TORSO_P1_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar6 = 3;
  			break;
  		
  		case 184:
  			StringCopy(&Var2, "TORSO_P1_18_8", 16);
  			iVar3 = 18;
  			iVar4 = 8;
  			iVar6 = 3;
  			break;
  		
  		case 185:
  			StringCopy(&Var2, "TORSO_P1_18_9", 16);
  			iVar3 = 18;
  			iVar4 = 9;
  			iVar6 = 3;
  			break;
  		
  		case 186:
  			StringCopy(&Var2, "TORSO_P1_18_10", 16);
  			iVar3 = 18;
  			iVar4 = 10;
  			iVar6 = 3;
  			break;
  		
  		case 187:
  			StringCopy(&Var2, "TORSO_P1_18_11", 16);
  			iVar3 = 18;
  			iVar4 = 11;
  			iVar6 = 3;
  			break;
  		
  		case 188:
  			StringCopy(&Var2, "TORSO_P1_18_12", 16);
  			iVar3 = 18;
  			iVar4 = 12;
  			iVar6 = 3;
  			break;
  		
  		case 189:
  			StringCopy(&Var2, "TORSO_P1_18_13", 16);
  			iVar3 = 18;
  			iVar4 = 13;
  			iVar6 = 3;
  			break;
  		
  		case 190:
  			StringCopy(&Var2, "TORSO_P1_18_14", 16);
  			iVar3 = 18;
  			iVar4 = 14;
  			iVar6 = 3;
  			break;
  		
  		case 191:
  			StringCopy(&Var2, "TORSO_P1_18_15", 16);
  			iVar3 = 18;
  			iVar4 = 15;
  			iVar6 = 3;
  			break;
  		
  		case 192:
  			StringCopy(&Var2, "TORSO_P1_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 193:
  			StringCopy(&Var2, "TORSO_P1_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 440;
  			iVar6 = 3;
  			break;
  		
  		case 194:
  			StringCopy(&Var2, "TORSO_P1_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 440;
  			iVar6 = 3;
  			break;
  		
  		case 195:
  			StringCopy(&Var2, "TORSO_P1_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 520;
  			iVar6 = 3;
  			break;
  		
  		case 196:
  			StringCopy(&Var2, "TORSO_P1_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 440;
  			iVar6 = 3;
  			break;
  		
  		case 197:
  			StringCopy(&Var2, "TORSO_P1_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 440;
  			iVar6 = 3;
  			break;
  		
  		case 198:
  			StringCopy(&Var2, "TORSO_P1_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 199:
  			StringCopy(&Var2, "TORSO_P1_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 200:
  			StringCopy(&Var2, "TORSO_P1_19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 201:
  			StringCopy(&Var2, "TORSO_P1_19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 202:
  			StringCopy(&Var2, "TORSO_P1_19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 203:
  			StringCopy(&Var2, "TORSO_P1_19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 480;
  			iVar6 = 3;
  			break;
  		
  		case 204:
  			StringCopy(&Var2, "TORSO_P1_19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 520;
  			iVar6 = 3;
  			break;
  		
  		case 205:
  			StringCopy(&Var2, "TORSO_P1_19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 520;
  			iVar6 = 3;
  			break;
  		
  		case 206:
  			StringCopy(&Var2, "TORSO_P1_19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 520;
  			iVar6 = 3;
  			break;
  		
  		case 207:
  			StringCopy(&Var2, "TORSO_P1_19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 440;
  			iVar6 = 3;
  			break;
  		
  		case 208:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 209:
  			StringCopy(&Var2, "TORSO_P1_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 220;
  			break;
  		
  		case 210:
  			StringCopy(&Var2, "TORSO_P1_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 200;
  			break;
  		
  		case 211:
  			StringCopy(&Var2, "TORSO_P1_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 240;
  			break;
  		
  		case 212:
  			StringCopy(&Var2, "TORSO_P1_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 240;
  			break;
  		
  		case 213:
  			StringCopy(&Var2, "TORSO_P1_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 260;
  			break;
  		
  		case 214:
  			StringCopy(&Var2, "TORSO_P1_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 275;
  			break;
  		
  		case 215:
  			StringCopy(&Var2, "TORSO_P1_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 275;
  			break;
  		
  		case 216:
  			StringCopy(&Var2, "TORSO_P1_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 280;
  			break;
  		
  		case 217:
  			StringCopy(&Var2, "TORSO_P1_21_8", 16);
  			iVar3 = 21;
  			iVar4 = 8;
  			iVar1 = 280;
  			break;
  		
  		case 218:
  			StringCopy(&Var2, "TORSO_P1_21_9", 16);
  			iVar3 = 21;
  			iVar4 = 9;
  			iVar1 = 280;
  			break;
  		
  		case 219:
  			StringCopy(&Var2, "TORSO_P1_21_10", 16);
  			iVar3 = 21;
  			iVar4 = 10;
  			iVar1 = 280;
  			break;
  		
  		case 220:
  			StringCopy(&Var2, "TORSO_P1_21_11", 16);
  			iVar3 = 21;
  			iVar4 = 11;
  			iVar1 = 280;
  			break;
  		
  		case 221:
  			StringCopy(&Var2, "TORSO_P1_21_12", 16);
  			iVar3 = 21;
  			iVar4 = 12;
  			iVar1 = 280;
  			break;
  		
  		case 222:
  			StringCopy(&Var2, "TORSO_P1_21_13", 16);
  			iVar3 = 21;
  			iVar4 = 13;
  			iVar1 = 280;
  			break;
  		
  		case 223:
  			StringCopy(&Var2, "TORSO_P1_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar1 = 3100;
  			iVar6 = 3;
  			break;
  		
  		case 224:
  			StringCopy(&Var2, "TORSO_P1_22_1", 16);
  			iVar3 = 22;
  			iVar4 = 1;
  			iVar1 = 2800;
  			iVar6 = 3;
  			break;
  		
  		case 225:
  			StringCopy(&Var2, "TORSO_P1_22_2", 16);
  			iVar3 = 22;
  			iVar4 = 2;
  			iVar1 = 2500;
  			iVar6 = 3;
  			break;
  		
  		case 226:
  			StringCopy(&Var2, "TORSO_P1_22_3", 16);
  			iVar3 = 22;
  			iVar4 = 3;
  			iVar1 = 3000;
  			iVar6 = 3;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_195(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "TORSO_P1_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "TORSO_P1_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "TORSO_P1_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 180;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "TORSO_P1_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 22;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "TORSO_P1_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar1 = 20;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "TORSO_P1_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar1 = 18;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "TORSO_P1_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			iVar1 = 19;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "TORSO_P1_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			iVar1 = 22;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "TORSO_P1_0_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			iVar1 = 20;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "TORSO_P1_0_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			iVar1 = 19;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "TORSO_P1_0_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			iVar1 = 19;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "TORSO_P1_0_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			iVar1 = 18;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "TORSO_P1_0_12", 16);
  			iVar3 = 0;
  			iVar4 = 12;
  			iVar1 = 20;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "TORSO_P1_0_13", 16);
  			iVar3 = 0;
  			iVar4 = 13;
  			iVar1 = 22;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "TORSO_P1_0_14", 16);
  			iVar3 = 0;
  			iVar4 = 14;
  			iVar1 = 19;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "TORSO_P1_0_15", 16);
  			iVar3 = 0;
  			iVar4 = 15;
  			iVar1 = 22;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 2;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 3;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 4;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 5;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "TORSO_P1_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 3;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 1;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "TORSO_P1_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar1 = 20;
  			iVar6 = 2;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "TORSO_P1_4_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			iVar1 = 22;
  			iVar6 = 2;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "TORSO_P1_4_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			iVar1 = 20;
  			iVar6 = 2;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "TORSO_P1_4_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			iVar1 = 25;
  			iVar6 = 2;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "TORSO_P1_4_4", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			iVar1 = 23;
  			iVar6 = 2;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "TORSO_P1_4_5", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			iVar1 = 25;
  			iVar6 = 2;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "TORSO_P1_4_6", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			iVar1 = 28;
  			iVar6 = 2;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "TORSO_P1_4_7", 16);
  			iVar3 = 4;
  			iVar4 = 7;
  			iVar1 = 26;
  			iVar6 = 2;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "TORSO_P1_4_8", 16);
  			iVar3 = 4;
  			iVar4 = 8;
  			iVar1 = 24;
  			iVar6 = 2;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "TORSO_P1_4_9", 16);
  			iVar3 = 4;
  			iVar4 = 9;
  			iVar1 = 27;
  			iVar6 = 2;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "TORSO_P1_4_10", 16);
  			iVar3 = 4;
  			iVar4 = 10;
  			iVar1 = 29;
  			iVar6 = 2;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "TORSO_P1_4_11", 16);
  			iVar3 = 4;
  			iVar4 = 11;
  			iVar1 = 28;
  			iVar6 = 2;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "TORSO_P1_4_12", 16);
  			iVar3 = 4;
  			iVar4 = 12;
  			iVar1 = 25;
  			iVar6 = 2;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "TORSO_P1_4_13", 16);
  			iVar3 = 4;
  			iVar4 = 13;
  			iVar1 = 22;
  			iVar6 = 2;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "TORSO_P1_4_14", 16);
  			iVar3 = 4;
  			iVar4 = 14;
  			iVar1 = 27;
  			iVar6 = 2;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "TORSO_P1_4_15", 16);
  			iVar3 = 4;
  			iVar4 = 15;
  			iVar1 = 29;
  			iVar6 = 2;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar6 = 4;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "TORSO_P1_6_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "TORSO_P1_6_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 1270;
  			iVar6 = 3;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "TORSO_P1_6_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 1270;
  			iVar6 = 3;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "TORSO_P1_6_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 1270;
  			iVar6 = 3;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "TORSO_P1_6_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 1090;
  			iVar6 = 3;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "TORSO_P1_6_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 1090;
  			iVar6 = 3;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "TORSO_P1_6_6", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			iVar1 = 1120;
  			iVar6 = 3;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "TORSO_P1_6_7", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			iVar1 = 1120;
  			iVar6 = 3;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "TORSO_P1_6_8", 16);
  			iVar3 = 6;
  			iVar4 = 8;
  			iVar1 = 1290;
  			iVar6 = 3;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "TORSO_P1_6_9", 16);
  			iVar3 = 6;
  			iVar4 = 9;
  			iVar1 = 1290;
  			iVar6 = 3;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "TORSO_P1_6_10", 16);
  			iVar3 = 6;
  			iVar4 = 10;
  			iVar1 = 1320;
  			iVar6 = 3;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "TORSO_P1_6_11", 16);
  			iVar3 = 6;
  			iVar4 = 11;
  			iVar1 = 1320;
  			iVar6 = 3;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "TORSO_P1_6_12", 16);
  			iVar3 = 6;
  			iVar4 = 12;
  			iVar1 = 1590;
  			iVar6 = 3;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "TORSO_P1_6_13", 16);
  			iVar3 = 6;
  			iVar4 = 13;
  			iVar1 = 1590;
  			iVar6 = 3;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "TORSO_P1_6_14", 16);
  			iVar3 = 6;
  			iVar4 = 14;
  			iVar1 = 1590;
  			iVar6 = 3;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "TORSO_P1_6_15", 16);
  			iVar3 = 6;
  			iVar4 = 15;
  			iVar1 = 1320;
  			iVar6 = 3;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "TORSO_P1_7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 98;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "TORSO_P1_7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 98;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "TORSO_P1_7_2", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			iVar1 = 110;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "TORSO_P1_7_3", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			iVar1 = 110;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "TORSO_P1_7_4", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			iVar1 = 118;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "TORSO_P1_7_5", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			iVar1 = 120;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "TORSO_P1_7_6", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			iVar1 = 120;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "TORSO_P1_7_7", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			iVar1 = 129;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "TORSO_P1_7_8", 16);
  			iVar3 = 7;
  			iVar4 = 8;
  			iVar1 = 125;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "TORSO_P1_7_9", 16);
  			iVar3 = 7;
  			iVar4 = 9;
  			iVar1 = 125;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "TORSO_P1_7_10", 16);
  			iVar3 = 7;
  			iVar4 = 10;
  			iVar1 = 129;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "TORSO_P1_7_11", 16);
  			iVar3 = 7;
  			iVar4 = 11;
  			iVar1 = 129;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "TORSO_P1_7_12", 16);
  			iVar3 = 7;
  			iVar4 = 12;
  			iVar1 = 135;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "TORSO_P1_7_13", 16);
  			iVar3 = 7;
  			iVar4 = 13;
  			iVar1 = 139;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "TORSO_P1_7_14", 16);
  			iVar3 = 7;
  			iVar4 = 14;
  			iVar1 = 145;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "TORSO_P1_7_15", 16);
  			iVar3 = 7;
  			iVar4 = 15;
  			iVar1 = 145;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "TORSO_P1_8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "TORSO_P1_8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "TORSO_P1_8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "TORSO_P1_8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "TORSO_P1_8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 30;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "TORSO_P1_8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 38;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "TORSO_P1_8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 32;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "TORSO_P1_8_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 30;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "TORSO_P1_8_8", 16);
  			iVar3 = 8;
  			iVar4 = 8;
  			iVar1 = 33;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "TORSO_P1_8_9", 16);
  			iVar3 = 8;
  			iVar4 = 9;
  			iVar1 = 35;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "TORSO_P1_8_10", 16);
  			iVar3 = 8;
  			iVar4 = 10;
  			iVar1 = 35;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "TORSO_P1_8_11", 16);
  			iVar3 = 8;
  			iVar4 = 11;
  			iVar1 = 38;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "TORSO_P1_8_12", 16);
  			iVar3 = 8;
  			iVar4 = 12;
  			iVar1 = 33;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "TORSO_P1_8_13", 16);
  			iVar3 = 8;
  			iVar4 = 13;
  			iVar1 = 35;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "TORSO_P1_8_14", 16);
  			iVar3 = 8;
  			iVar4 = 14;
  			iVar1 = 38;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "TORSO_P1_8_15", 16);
  			iVar3 = 8;
  			iVar4 = 15;
  			iVar1 = 32;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "TORSO_P1_11_0", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "TORSO_P1_11_1", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar1 = 59;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "TORSO_P1_11_2", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "TORSO_P1_11_3", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar1 = 25;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "TORSO_P1_11_4", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar1 = 29;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "TORSO_P1_11_5", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar1 = 27;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "TORSO_P1_11_6", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar1 = 25;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "TORSO_P1_11_7", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar1 = 27;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "TORSO_P1_11_8", 16);
  			iVar3 = 11;
  			iVar4 = 8;
  			iVar1 = 28;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "TORSO_P1_11_9", 16);
  			iVar3 = 11;
  			iVar4 = 9;
  			iVar1 = 30;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "TORSO_P1_11_10", 16);
  			iVar3 = 11;
  			iVar4 = 10;
  			iVar1 = 29;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "TORSO_P1_11_11", 16);
  			iVar3 = 11;
  			iVar4 = 11;
  			iVar1 = 27;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "TORSO_P1_11_12", 16);
  			iVar3 = 11;
  			iVar4 = 12;
  			iVar1 = 29;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "TORSO_P1_11_13", 16);
  			iVar3 = 11;
  			iVar4 = 13;
  			iVar1 = 32;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "TORSO_P1_11_14", 16);
  			iVar3 = 11;
  			iVar4 = 14;
  			iVar1 = 30;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "TORSO_P1_11_15", 16);
  			iVar3 = 11;
  			iVar4 = 15;
  			iVar1 = 28;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_196(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 2;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "HAIR_P1_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "HAIR_P1_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "HAIR_P1_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "HAIR_P1_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar6 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "HAIR_P1_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar6 = 3;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "HAIR_P1_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar6 = 3;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "HAIR_P1_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			iVar6 = 3;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "HAIR_P1_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			iVar6 = 3;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "HAIR_P1_0_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			iVar6 = 3;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "HAIR_P1_0_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			iVar6 = 3;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "HAIR_P1_0_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			iVar6 = 3;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "HAIR_P1_0_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			iVar6 = 3;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "HAIR_P1_0_12", 16);
  			iVar3 = 0;
  			iVar4 = 12;
  			iVar6 = 3;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "HAIR_P1_0_13", 16);
  			iVar3 = 0;
  			iVar4 = 13;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "HAIR_P1_0_14", 16);
  			iVar3 = 0;
  			iVar4 = 14;
  			iVar6 = 3;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "HAIR_P1_0_15", 16);
  			iVar3 = 0;
  			iVar4 = 15;
  			iVar6 = 3;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "HAIR_P1_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "HAIR_P1_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "HAIR_P1_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar6 = 3;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "HAIR_P1_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 21, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_197(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 0;
  	Global_76647[0 /*14*/].f_5 = 1;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 10, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_198(int iParam0, int iParam1)
  {
  	switch (iParam0)
  	{
  		case 0:
  			func_215(iParam1);
  			break;
  		
  		case 2:
  			func_214(iParam1);
  			break;
  		
  		case 3:
  			func_211(iParam1);
  			break;
  		
  		case 4:
  			func_210(iParam1);
  			break;
  		
  		case 6:
  			func_209(iParam1);
  			break;
  		
  		case 5:
  			func_208(iParam1);
  			break;
  		
  		case 8:
  			func_207(iParam1);
  			break;
  		
  		case 9:
  			func_206(iParam1);
  			break;
  		
  		case 10:
  			func_205(iParam1);
  			break;
  		
  		case 1:
  			func_204(iParam1);
  			break;
  		
  		case 7:
  			func_203(iParam1);
  			break;
  		
  		case 11:
  			func_202(iParam1);
  			break;
  		
  		case 12:
  			func_201(iParam1);
  			break;
  		
  		case 13:
  			func_200(iParam1);
  			break;
  		
  		case 14:
  			func_199(iParam1);
  			break;
  	}
  }
  
  void func_199(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 14;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = -1;
  			iVar4 = 0;
  			iVar1 = 0;
  			iVar5 = 8;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "PROPS_P0_H1", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "PROPS_P0_H2", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar1 = 320;
  			iVar5 = 11;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 6;
  			iVar5 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 7;
  			iVar5 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "PROPS_P0_H12", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "PROPS_P1_H8_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "PROPS_P1_H8_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 270;
  			iVar5 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "PROPS_P1_H9_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "PROPS_P1_H9_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			iVar1 = 200;
  			iVar5 = 0;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "PROPS_P1_H10_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "PROPS_P1_H10_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 350;
  			iVar5 = 0;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "PROPS_P1_H11_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			iVar1 = 450;
  			iVar5 = 0;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "PROPS_P1_H12_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "PROPS_P1_H12_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 500;
  			iVar5 = 0;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "PROPS_P1_H13_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "PROPS_P1_H13_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 50;
  			iVar5 = 0;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "PROPS_P1_H14_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "PROPS_P1_H14_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "PROPS_P1_H14_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 99;
  			iVar5 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar5 = 0;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar5 = 0;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar5 = 0;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar5 = 0;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			iVar5 = 0;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 28;
  			iVar4 = 0;
  			iVar5 = 0;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "PROPS_P0_E0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 45;
  			iVar5 = 10;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 10;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 10;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "PROPS_P0_E3", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar1 = 55;
  			iVar5 = 10;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "PROPS_P0_E4", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar1 = 58;
  			iVar5 = 10;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "PROPS_P0_E4_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			iVar1 = 56;
  			iVar5 = 10;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "PROPS_P0_E4_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			iVar1 = 60;
  			iVar5 = 10;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "PROPS_P0_E4_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "PROPS_P0_E4_4", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			iVar1 = 62;
  			iVar5 = 10;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "PROPS_P0_E4_5", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "PROPS_P0_E4_6", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			iVar1 = 68;
  			iVar5 = 10;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "PROPS_P0_E4_7", 16);
  			iVar3 = 4;
  			iVar4 = 7;
  			iVar1 = 68;
  			iVar5 = 10;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "PROPS_P0_E5", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			iVar1 = 65;
  			iVar5 = 10;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "PROPS_P0_E5_1", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "PROPS_P0_E5_2", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			iVar1 = 72;
  			iVar5 = 10;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "PROPS_P0_E5_3", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			iVar1 = 70;
  			iVar5 = 10;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "PROPS_P0_E5_4", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			iVar1 = 74;
  			iVar5 = 10;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "PROPS_P0_E5_5", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			iVar1 = 78;
  			iVar5 = 10;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "PROPS_P0_E5_6", 16);
  			iVar3 = 5;
  			iVar4 = 6;
  			iVar1 = 82;
  			iVar5 = 10;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "PROPS_P0_E5_7", 16);
  			iVar3 = 5;
  			iVar4 = 7;
  			iVar1 = 85;
  			iVar5 = 10;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "PROPS_P0_E5_8", 16);
  			iVar3 = 5;
  			iVar4 = 8;
  			iVar1 = 85;
  			iVar5 = 10;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "PROPS_P0_E5_9", 16);
  			iVar3 = 5;
  			iVar4 = 9;
  			iVar5 = 10;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "PROPS_P0_E6", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "PROPS_P0_E6_1", 16);
  			iVar3 = 6;
  			iVar4 = 1;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "PROPS_P0_E6_2", 16);
  			iVar3 = 6;
  			iVar4 = 2;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "PROPS_P0_E6_3", 16);
  			iVar3 = 6;
  			iVar4 = 3;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "PROPS_P0_E6_4", 16);
  			iVar3 = 6;
  			iVar4 = 4;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "PROPS_P0_E6_5", 16);
  			iVar3 = 6;
  			iVar4 = 5;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "PROPS_P0_E6_6", 16);
  			iVar3 = 6;
  			iVar4 = 6;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "PROPS_P0_E6_7", 16);
  			iVar3 = 6;
  			iVar4 = 7;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "PROPS_P0_E6_8", 16);
  			iVar3 = 6;
  			iVar4 = 8;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "PROPS_P0_E6_9", 16);
  			iVar3 = 6;
  			iVar4 = 9;
  			iVar1 = 69;
  			iVar5 = 10;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "PROPS_P0_E7", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar5 = 10;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "PROPS_P0_E8", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 170;
  			iVar5 = 10;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "PROPS_P0_E8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "PROPS_P0_E8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 180;
  			iVar5 = 10;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "PROPS_P0_E8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 185;
  			iVar5 = 10;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "PROPS_P0_E8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 189;
  			iVar5 = 10;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "PROPS_P0_E8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 195;
  			iVar5 = 10;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "PROPS_P0_E8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 235;
  			iVar5 = 10;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "PROPS_P0_E8_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 245;
  			iVar5 = 10;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "PROPS_P0_E8_8", 16);
  			iVar3 = 8;
  			iVar4 = 8;
  			iVar1 = 250;
  			iVar5 = 10;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "PROPS_P0_E8_9", 16);
  			iVar3 = 8;
  			iVar4 = 9;
  			iVar1 = 275;
  			iVar5 = 10;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "PROPS_P0_E8_10", 16);
  			iVar3 = 8;
  			iVar4 = 10;
  			iVar1 = 280;
  			iVar5 = 10;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "PROPS_P0_E8_11", 16);
  			iVar3 = 8;
  			iVar4 = 11;
  			iVar1 = 295;
  			iVar5 = 10;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "PROPS_P0_E9", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			iVar1 = 179;
  			iVar5 = 10;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "PROPS_P0_E9_1", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			iVar1 = 159;
  			iVar5 = 10;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "PROPS_P0_E9_2", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			iVar1 = 165;
  			iVar5 = 10;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "PROPS_P0_E9_3", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			iVar1 = 155;
  			iVar5 = 10;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "PROPS_P0_E9_4", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			iVar1 = 175;
  			iVar5 = 10;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "PROPS_P0_E9_5", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			iVar1 = 185;
  			iVar5 = 10;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "PROPS_P0_E9_6", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			iVar1 = 189;
  			iVar5 = 10;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "PROPS_P0_E9_7", 16);
  			iVar3 = 9;
  			iVar4 = 7;
  			iVar1 = 225;
  			iVar5 = 10;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			iVar1 = 100;
  			iVar5 = 10;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			iVar5 = 2;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 113, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_200(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 13;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 10, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_201(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 12;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "OUTFIT_P0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "OUTFIT_P0_1", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "OUTFIT_P0_4", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "OUTFIT_P0_7", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "OUTFIT_P0_8", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "OUTFIT_P0_9", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "OUTFIT_P0_11", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "OUTFIT_P0_12", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "OUTFIT_P0_14", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "OUTFIT_P0_17", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "OUTFIT_P0_18", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "OUTFIT_P0_19", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "OUTFIT_P0_20", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "OUTFIT_P0_22", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 10000;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "OUTFIT_P0_23", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "OUTFIT_P0_24", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "OUTFIT_P0_26", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "OUTFIT_P0_28", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "OUTFIT_P0_29", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "OUTFIT_P0_30", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 105;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "OUTFIT_P0_31", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "OUTFIT_P0_32", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "OUTFIT_P0_33", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "OUTFIT_P0_34", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "OUTFIT_P0_35", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "OUTFIT_P0_11", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "OUTFIT_P0_36", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4900;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "OUTFIT_P0_37", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 840;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "OUTFIT_P0_38", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "OUTFIT_P0_39", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "OUTFIT_P0_40", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "OUTFIT_P0_41", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "OUTFIT_P0_42", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "OUTFIT_P0_43", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "OUTFIT_P0_44", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 3900;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "OUTFIT_P0_45", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4000;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "OUTFIT_P0_46", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "OUTFIT_P0_47", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4600;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "OUTFIT_P0_48", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5500;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "OUTFIT_P0_49", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4400;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "OUTFIT_P0_50", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4400;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "OUTFIT_P0_51", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4900;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "OUTFIT_P0_52", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5500;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "OUTFIT_P0_53", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 4500;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "OUTFIT_P0_54", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			iVar1 = 5900;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "OUTFIT_P0_55", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "OUTFIT_P0_17", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 53, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_202(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 11;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "JBIB_P0_02_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "JBIB_P0_02_1", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "JBIB_P0_02_2", 16);
  			iVar3 = 2;
  			iVar4 = 2;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "JBIB_P0_02_3", 16);
  			iVar3 = 2;
  			iVar4 = 3;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "JBIB_P0_02_4", 16);
  			iVar3 = 2;
  			iVar4 = 4;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "JBIB_P0_02_5", 16);
  			iVar3 = 2;
  			iVar4 = 5;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "JBIB_P0_03_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			iVar1 = 390;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "JBIB_P0_03_1", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			iVar1 = 390;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "JBIB_P0_03_2", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			iVar1 = 420;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "JBIB_P0_03_3", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			iVar1 = 420;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "JBIB_P0_03_4", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			iVar1 = 490;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "JBIB_P0_03_5", 16);
  			iVar3 = 3;
  			iVar4 = 5;
  			iVar1 = 490;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "JBIB_P0_03_6", 16);
  			iVar3 = 3;
  			iVar4 = 6;
  			iVar1 = 540;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "JBIB_P0_03_7", 16);
  			iVar3 = 3;
  			iVar4 = 7;
  			iVar1 = 540;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "JBIB_P0_03_8", 16);
  			iVar3 = 3;
  			iVar4 = 8;
  			iVar1 = 550;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "JBIB_P0_03_9", 16);
  			iVar3 = 3;
  			iVar4 = 9;
  			iVar1 = 540;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "JBIB_P0_04_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			iVar1 = 850;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "JBIB_P0_04_1", 16);
  			iVar3 = 4;
  			iVar4 = 1;
  			iVar1 = 850;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "JBIB_P0_04_2", 16);
  			iVar3 = 4;
  			iVar4 = 2;
  			iVar1 = 890;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "JBIB_P0_04_3", 16);
  			iVar3 = 4;
  			iVar4 = 3;
  			iVar1 = 890;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "JBIB_P0_04_4", 16);
  			iVar3 = 4;
  			iVar4 = 4;
  			iVar1 = 920;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "JBIB_P0_04_5", 16);
  			iVar3 = 4;
  			iVar4 = 5;
  			iVar1 = 920;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "JBIB_P0_04_6", 16);
  			iVar3 = 4;
  			iVar4 = 6;
  			iVar1 = 950;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "JBIB_P0_04_7", 16);
  			iVar3 = 4;
  			iVar4 = 7;
  			iVar1 = 980;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "JBIB_P0_04_8", 16);
  			iVar3 = 4;
  			iVar4 = 8;
  			iVar1 = 1050;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "JBIB_P0_04_9", 16);
  			iVar3 = 4;
  			iVar4 = 9;
  			iVar1 = 1100;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "JBIB_P0_05_0", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			iVar1 = 1890;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "JBIB_P0_05_1", 16);
  			iVar3 = 5;
  			iVar4 = 1;
  			iVar1 = 1820;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "JBIB_P0_05_2", 16);
  			iVar3 = 5;
  			iVar4 = 2;
  			iVar1 = 1820;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "JBIB_P0_05_3", 16);
  			iVar3 = 5;
  			iVar4 = 3;
  			iVar1 = 1850;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "JBIB_P0_05_4", 16);
  			iVar3 = 5;
  			iVar4 = 4;
  			iVar1 = 1850;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "JBIB_P0_05_5", 16);
  			iVar3 = 5;
  			iVar4 = 5;
  			iVar1 = 1900;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "JBIB_P0_05_6", 16);
  			iVar3 = 5;
  			iVar4 = 6;
  			iVar1 = 1920;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "JBIB_P0_05_7", 16);
  			iVar3 = 5;
  			iVar4 = 7;
  			iVar1 = 1980;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "JBIB_P0_05_8", 16);
  			iVar3 = 5;
  			iVar4 = 8;
  			iVar1 = 2100;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "JBIB_P0_05_9", 16);
  			iVar3 = 5;
  			iVar4 = 9;
  			iVar1 = 2120;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "JBIB_P0_05_10", 16);
  			iVar3 = 5;
  			iVar4 = 10;
  			iVar1 = 2000;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "JBIB_P0_05_11", 16);
  			iVar3 = 5;
  			iVar4 = 11;
  			iVar1 = 2200;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "JBIB_P0_05_12", 16);
  			iVar3 = 5;
  			iVar4 = 12;
  			iVar1 = 2280;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "JBIB_P0_05_13", 16);
  			iVar3 = 5;
  			iVar4 = 13;
  			iVar1 = 2300;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "JBIB_P0_05_14", 16);
  			iVar3 = 5;
  			iVar4 = 14;
  			iVar1 = 2350;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "JBIB_P0_05_15", 16);
  			iVar3 = 5;
  			iVar4 = 15;
  			iVar1 = 2280;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "JBIB_P0_06_0", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 45, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_203(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 7;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 1, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_204(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 1;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "BERD_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "BERD_P0_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "BERD_P0_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "BERD_P0_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "BERD_P0_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 5, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_205(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 10;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 1;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 2;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 3;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 4;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 5;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 6;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 2;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 3;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 4;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 5;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 6;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 7;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "DECL_P0_10_8", 16);
  			iVar3 = 10;
  			iVar4 = 8;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "DECL_P0_10_9", 16);
  			iVar3 = 10;
  			iVar4 = 9;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "DECL_P0_10_10", 16);
  			iVar3 = 10;
  			iVar4 = 10;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "DECL_P0_10_11", 16);
  			iVar3 = 10;
  			iVar4 = 11;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "DECL_P0_10_12", 16);
  			iVar3 = 10;
  			iVar4 = 12;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "DECL_P0_10_13", 16);
  			iVar3 = 10;
  			iVar4 = 13;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "DECL_P0_10_14", 16);
  			iVar3 = 10;
  			iVar4 = 14;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "DECL_P0_10_15", 16);
  			iVar3 = 10;
  			iVar4 = 15;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 48, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_206(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 9;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 1;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "SPEC2_P0_08_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			iVar1 = 125;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "SPEC2_P0_08_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 150;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "SPEC2_P0_08_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 175;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "SPEC2_P0_08_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 85;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "SPEC2_P0_08_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 150;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "SPEC2_P0_08_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 175;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 20, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_207(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 8;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "SPEC_P0_10", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "SPEC_P0_16", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 24, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_208(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 5;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 14, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_209(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 6;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "FEET_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "FEET_P0_0_1", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			iVar1 = 665;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "FEET_P0_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 620;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "FEET_P0_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			iVar1 = 540;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "FEET_P0_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			iVar1 = 580;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "FEET_P0_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			iVar1 = 650;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "FEET_P0_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "FEET_P0_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "FEET_P0_15_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			iVar1 = 64;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "FEET_P0_15_2", 16);
  			iVar3 = 15;
  			iVar4 = 2;
  			iVar1 = 56;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "FEET_P0_15_3", 16);
  			iVar3 = 15;
  			iVar4 = 3;
  			iVar1 = 69;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "FEET_P0_15_4", 16);
  			iVar3 = 15;
  			iVar4 = 4;
  			iVar1 = 59;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "FEET_P0_15_5", 16);
  			iVar3 = 15;
  			iVar4 = 5;
  			iVar1 = 62;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "FEET_P0_15_6", 16);
  			iVar3 = 15;
  			iVar4 = 6;
  			iVar1 = 74;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "FEET_P0_15_7", 16);
  			iVar3 = 15;
  			iVar4 = 7;
  			iVar1 = 68;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "FEET_P0_15_8", 16);
  			iVar3 = 15;
  			iVar4 = 8;
  			iVar1 = 72;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "FEET_P0_15_9", 16);
  			iVar3 = 15;
  			iVar4 = 9;
  			iVar1 = 70;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "FEET_P0_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			iVar1 = 48;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "FEET_P0_16_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 48;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "FEET_P0_16_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			iVar1 = 55;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "FEET_P0_16_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			iVar1 = 75;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "FEET_P0_16_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			iVar1 = 65;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "FEET_P0_16_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			iVar1 = 68;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "FEET_P0_16_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			iVar1 = 58;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "FEET_P0_16_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			iVar1 = 68;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "FEET_P0_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			iVar1 = 790;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "FEET_P0_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 750;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "FEET_P0_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 860;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "FEET_P0_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 750;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "FEET_P0_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 790;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "FEET_P0_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "FEET_P0_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar1 = 820;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "FEET_P0_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar1 = 800;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "FEET_P0_18_8", 16);
  			iVar3 = 18;
  			iVar4 = 8;
  			iVar1 = 850;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "FEET_P0_18_9", 16);
  			iVar3 = 18;
  			iVar4 = 9;
  			iVar1 = 870;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "FEET_P0_18_10", 16);
  			iVar3 = 18;
  			iVar4 = 10;
  			iVar1 = 720;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "FEET_P0_18_11", 16);
  			iVar3 = 18;
  			iVar4 = 11;
  			iVar1 = 740;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "FEET_P0_18_12", 16);
  			iVar3 = 18;
  			iVar4 = 12;
  			iVar1 = 800;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "FEET_P0_18_13", 16);
  			iVar3 = 18;
  			iVar4 = 13;
  			iVar1 = 750;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "FEET_P0_18_14", 16);
  			iVar3 = 18;
  			iVar4 = 14;
  			iVar1 = 770;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "FEET_P0_18_15", 16);
  			iVar3 = 18;
  			iVar4 = 15;
  			iVar1 = 860;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "FEET_P0_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			iVar1 = 850;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "FEET_P0_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 800;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "FEET_P0_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 780;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "FEET_P0_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 890;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "FEET_P0_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 820;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "FEET_P0_19_5", 16);
  			iVar3 = 19;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "FEET_P0_19_6", 16);
  			iVar3 = 19;
  			iVar4 = 6;
  			iVar1 = 870;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "FEET_P0_19_7", 16);
  			iVar3 = 19;
  			iVar4 = 7;
  			iVar1 = 930;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "FEET_P0_19_8", 16);
  			iVar3 = 19;
  			iVar4 = 8;
  			iVar1 = 880;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "FEET_P0_19_9", 16);
  			iVar3 = 19;
  			iVar4 = 9;
  			iVar1 = 900;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "FEET_P0_19_10", 16);
  			iVar3 = 19;
  			iVar4 = 10;
  			iVar1 = 920;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "FEET_P0_19_11", 16);
  			iVar3 = 19;
  			iVar4 = 11;
  			iVar1 = 970;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "FEET_P0_19_12", 16);
  			iVar3 = 19;
  			iVar4 = 12;
  			iVar1 = 990;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "FEET_P0_19_13", 16);
  			iVar3 = 19;
  			iVar4 = 13;
  			iVar1 = 960;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "FEET_P0_19_14", 16);
  			iVar3 = 19;
  			iVar4 = 14;
  			iVar1 = 980;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "FEET_P0_19_15", 16);
  			iVar3 = 19;
  			iVar4 = 15;
  			iVar1 = 950;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "FEET_P0_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			iVar1 = 110;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "FEET_P0_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 115;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "FEET_P0_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 120;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "FEET_P0_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 110;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "FEET_P0_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			iVar1 = 125;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "FEET_P0_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 128;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "FEET_P0_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 135;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "FEET_P0_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 130;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "FEET_P0_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 145;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "FEET_P0_20_9", 16);
  			iVar3 = 20;
  			iVar4 = 9;
  			iVar1 = 110;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "FEET_P0_20_10", 16);
  			iVar3 = 20;
  			iVar4 = 10;
  			iVar1 = 120;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "FEET_P0_20_11", 16);
  			iVar3 = 20;
  			iVar4 = 11;
  			iVar1 = 150;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "FEET_P0_20_12", 16);
  			iVar3 = 20;
  			iVar4 = 12;
  			iVar1 = 125;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "FEET_P0_20_13", 16);
  			iVar3 = 20;
  			iVar4 = 13;
  			iVar1 = 120;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "FEET_P0_20_14", 16);
  			iVar3 = 20;
  			iVar4 = 14;
  			iVar1 = 130;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "FEET_P0_20_15", 16);
  			iVar3 = 20;
  			iVar4 = 15;
  			iVar1 = 110;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "FEET_P0_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 720;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "FEET_P0_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 680;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "FEET_P0_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 650;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "FEET_P0_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 670;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "FEET_P0_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 700;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "FEET_P0_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 680;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "FEET_P0_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 720;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "FEET_P0_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 740;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "FEET_P0_21_8", 16);
  			iVar3 = 21;
  			iVar4 = 8;
  			iVar1 = 760;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "FEET_P0_21_9", 16);
  			iVar3 = 21;
  			iVar4 = 9;
  			iVar1 = 780;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "FEET_P0_21_10", 16);
  			iVar3 = 21;
  			iVar4 = 10;
  			iVar1 = 750;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "FEET_P0_21_11", 16);
  			iVar3 = 21;
  			iVar4 = 11;
  			iVar1 = 700;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 99, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_210(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 4;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "LEGS_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "LEGS_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "LEGS_P0_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "LEGS_P0_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "LEGS_P0_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "LEGS_P0_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "LEGS_P0_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "LEGS_P0_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "LEGS_P0_0_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "LEGS_P0_0_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "LEGS_P0_0_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "LEGS_P0_0_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "LEGS_P0_0_12", 16);
  			iVar3 = 0;
  			iVar4 = 12;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "LEGS_P0_0_13", 16);
  			iVar3 = 0;
  			iVar4 = 13;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "LEGS_P0_0_14", 16);
  			iVar3 = 0;
  			iVar4 = 14;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "LEGS_P0_0_15", 16);
  			iVar3 = 0;
  			iVar4 = 15;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "LEGS_P0_7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 115;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "LEGS_P0_7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 115;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "LEGS_P0_7_2", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			iVar1 = 128;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "LEGS_P0_7_3", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			iVar1 = 118;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "LEGS_P0_7_4", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			iVar1 = 125;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "LEGS_P0_7_5", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			iVar1 = 128;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "LEGS_P0_7_6", 16);
  			iVar3 = 7;
  			iVar4 = 6;
  			iVar1 = 128;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "LEGS_P0_7_7", 16);
  			iVar3 = 7;
  			iVar4 = 7;
  			iVar1 = 125;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 5;
  			bVar0 = true;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "LEGS_P0_13_0", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			iVar1 = 68;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "LEGS_P0_13_1", 16);
  			iVar3 = 13;
  			iVar4 = 1;
  			iVar1 = 68;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "LEGS_P0_13_2", 16);
  			iVar3 = 13;
  			iVar4 = 2;
  			iVar1 = 68;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "LEGS_P0_13_3", 16);
  			iVar3 = 13;
  			iVar4 = 3;
  			iVar1 = 68;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "LEGS_P0_13_4", 16);
  			iVar3 = 13;
  			iVar4 = 4;
  			iVar1 = 68;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "LEGS_P0_15_0", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "LEGS_P0_15_1", 16);
  			iVar3 = 15;
  			iVar4 = 1;
  			iVar1 = 550;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "LEGS_P0_15_2", 16);
  			iVar3 = 15;
  			iVar4 = 2;
  			iVar1 = 650;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "LEGS_P0_15_3", 16);
  			iVar3 = 15;
  			iVar4 = 3;
  			iVar1 = 875;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "LEGS_P0_15_4", 16);
  			iVar3 = 15;
  			iVar4 = 4;
  			iVar1 = 820;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "LEGS_P0_15_5", 16);
  			iVar3 = 15;
  			iVar4 = 5;
  			iVar1 = 720;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "LEGS_P0_15_6", 16);
  			iVar3 = 15;
  			iVar4 = 6;
  			iVar1 = 750;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "LEGS_P0_15_7", 16);
  			iVar3 = 15;
  			iVar4 = 7;
  			iVar1 = 850;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "LEGS_P0_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "LEGS_P0_16_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 48;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "LEGS_P0_16_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			iVar1 = 48;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "LEGS_P0_16_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			iVar1 = 38;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "LEGS_P0_16_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			iVar1 = 38;
  			break;
  		
  		case 60:
  			StringCopy(&Var2, "LEGS_P0_16_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			iVar1 = 42;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "LEGS_P0_16_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			iVar1 = 58;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "LEGS_P0_16_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			iVar1 = 46;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "LEGS_P0_16_8", 16);
  			iVar3 = 16;
  			iVar4 = 8;
  			iVar1 = 46;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "LEGS_P0_16_9", 16);
  			iVar3 = 16;
  			iVar4 = 9;
  			iVar1 = 46;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "LEGS_P0_16_10", 16);
  			iVar3 = 16;
  			iVar4 = 10;
  			iVar1 = 68;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "LEGS_P0_16_11", 16);
  			iVar3 = 16;
  			iVar4 = 11;
  			iVar1 = 58;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "LEGS_P0_16_12", 16);
  			iVar3 = 16;
  			iVar4 = 12;
  			iVar1 = 50;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "LEGS_P0_16_13", 16);
  			iVar3 = 16;
  			iVar4 = 13;
  			iVar1 = 68;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "LEGS_P0_16_14", 16);
  			iVar3 = 16;
  			iVar4 = 14;
  			iVar1 = 68;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "LEGS_P0_16_15", 16);
  			iVar3 = 16;
  			iVar4 = 15;
  			iVar1 = 42;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "LEGS_P0_18_0", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "LEGS_P0_18_1", 16);
  			iVar3 = 18;
  			iVar4 = 1;
  			iVar1 = 250;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "LEGS_P0_18_2", 16);
  			iVar3 = 18;
  			iVar4 = 2;
  			iVar1 = 250;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "LEGS_P0_18_3", 16);
  			iVar3 = 18;
  			iVar4 = 3;
  			iVar1 = 290;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "LEGS_P0_18_4", 16);
  			iVar3 = 18;
  			iVar4 = 4;
  			iVar1 = 270;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "LEGS_P0_18_5", 16);
  			iVar3 = 18;
  			iVar4 = 5;
  			iVar1 = 270;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "LEGS_P0_18_6", 16);
  			iVar3 = 18;
  			iVar4 = 6;
  			iVar1 = 15;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "LEGS_P0_18_7", 16);
  			iVar3 = 18;
  			iVar4 = 7;
  			iVar1 = 12;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "LEGS_P0_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "LEGS_P0_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 118;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "LEGS_P0_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 110;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "LEGS_P0_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 88;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "LEGS_P0_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 95;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "LEGS_P0_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 95;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "LEGS_P0_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 98;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "LEGS_P0_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			iVar1 = 140;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "LEGS_P0_23_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "LEGS_P0_23_1", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar1 = 150;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "LEGS_P0_23_2", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar1 = 130;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "LEGS_P0_27_0", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "LEGS_P0_28_0", 16);
  			iVar3 = 28;
  			iVar4 = 0;
  			iVar1 = 45;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "LEGS_P0_28_1", 16);
  			iVar3 = 28;
  			iVar4 = 1;
  			iVar1 = 48;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "LEGS_P0_28_2", 16);
  			iVar3 = 28;
  			iVar4 = 2;
  			iVar1 = 48;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "LEGS_P0_28_3", 16);
  			iVar3 = 28;
  			iVar4 = 3;
  			iVar1 = 52;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "LEGS_P0_28_4", 16);
  			iVar3 = 28;
  			iVar4 = 4;
  			iVar1 = 52;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "LEGS_P0_28_5", 16);
  			iVar3 = 28;
  			iVar4 = 5;
  			iVar1 = 55;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "LEGS_P0_28_6", 16);
  			iVar3 = 28;
  			iVar4 = 6;
  			iVar1 = 55;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "LEGS_P0_28_7", 16);
  			iVar3 = 28;
  			iVar4 = 7;
  			iVar1 = 55;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "LEGS_P0_28_8", 16);
  			iVar3 = 28;
  			iVar4 = 8;
  			iVar1 = 58;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "LEGS_P0_28_9", 16);
  			iVar3 = 28;
  			iVar4 = 9;
  			iVar1 = 58;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "LEGS_P0_28_10", 16);
  			iVar3 = 28;
  			iVar4 = 10;
  			iVar1 = 60;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "LEGS_P0_28_11", 16);
  			iVar3 = 28;
  			iVar4 = 11;
  			iVar1 = 60;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "LEGS_P0_28_12", 16);
  			iVar3 = 28;
  			iVar4 = 12;
  			iVar1 = 62;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "LEGS_P0_28_13", 16);
  			iVar3 = 28;
  			iVar4 = 13;
  			iVar1 = 62;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "LEGS_P0_28_14", 16);
  			iVar3 = 28;
  			iVar4 = 14;
  			iVar1 = 65;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "LEGS_P0_28_15", 16);
  			iVar3 = 28;
  			iVar4 = 15;
  			iVar1 = 65;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 29;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 113, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_211(int iParam0)
  {
  	if (iParam0 < 60)
  	{
  		func_213(iParam0);
  	}
  	else
  	{
  		func_212(iParam0);
  	}
  	if (Global_76647[0 /*14*/].f_2 == -1)
  	{
  		func_162(3, iParam0, 181, -1);
  	}
  }
  
  void func_212(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 60:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 9;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 61:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 10;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 62:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 11;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 63:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 64:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 65:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 2;
  			bVar0 = true;
  			break;
  		
  		case 66:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 3;
  			bVar0 = true;
  			break;
  		
  		case 67:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 4;
  			bVar0 = true;
  			break;
  		
  		case 68:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 12;
  			iVar4 = 5;
  			bVar0 = true;
  			break;
  		
  		case 69:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 13;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 70:
  			StringCopy(&Var2, "TORSO_P0_14_0", 16);
  			iVar3 = 14;
  			iVar4 = 0;
  			iVar1 = 120;
  			break;
  		
  		case 71:
  			StringCopy(&Var2, "TORSO_P0_14_1", 16);
  			iVar3 = 14;
  			iVar4 = 1;
  			iVar1 = 120;
  			break;
  		
  		case 72:
  			StringCopy(&Var2, "TORSO_P0_14_2", 16);
  			iVar3 = 14;
  			iVar4 = 2;
  			iVar1 = 120;
  			break;
  		
  		case 73:
  			StringCopy(&Var2, "TORSO_P0_14_3", 16);
  			iVar3 = 14;
  			iVar4 = 3;
  			iVar1 = 120;
  			break;
  		
  		case 74:
  			StringCopy(&Var2, "TORSO_P0_14_4", 16);
  			iVar3 = 14;
  			iVar4 = 4;
  			iVar1 = 120;
  			break;
  		
  		case 75:
  			StringCopy(&Var2, "TORSO_P0_14_5", 16);
  			iVar3 = 14;
  			iVar4 = 5;
  			iVar1 = 120;
  			break;
  		
  		case 76:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 15;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 77:
  			StringCopy(&Var2, "TORSO_P0_16_0", 16);
  			iVar3 = 16;
  			iVar4 = 0;
  			break;
  		
  		case 78:
  			StringCopy(&Var2, "TORSO_P0_16_1", 16);
  			iVar3 = 16;
  			iVar4 = 1;
  			iVar1 = 20;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			StringCopy(&Var2, "TORSO_P0_16_2", 16);
  			iVar3 = 16;
  			iVar4 = 2;
  			iVar1 = 24;
  			break;
  		
  		case 80:
  			StringCopy(&Var2, "TORSO_P0_16_3", 16);
  			iVar3 = 16;
  			iVar4 = 3;
  			iVar1 = 22;
  			break;
  		
  		case 81:
  			StringCopy(&Var2, "TORSO_P0_16_4", 16);
  			iVar3 = 16;
  			iVar4 = 4;
  			iVar1 = 25;
  			break;
  		
  		case 82:
  			StringCopy(&Var2, "TORSO_P0_16_5", 16);
  			iVar3 = 16;
  			iVar4 = 5;
  			iVar1 = 25;
  			break;
  		
  		case 83:
  			StringCopy(&Var2, "TORSO_P0_16_6", 16);
  			iVar3 = 16;
  			iVar4 = 6;
  			iVar1 = 22;
  			break;
  		
  		case 84:
  			StringCopy(&Var2, "TORSO_P0_16_7", 16);
  			iVar3 = 16;
  			iVar4 = 7;
  			iVar1 = 27;
  			break;
  		
  		case 85:
  			StringCopy(&Var2, "TORSO_P0_17_0", 16);
  			iVar3 = 17;
  			iVar4 = 0;
  			break;
  		
  		case 86:
  			StringCopy(&Var2, "TORSO_P0_17_1", 16);
  			iVar3 = 17;
  			iVar4 = 1;
  			break;
  		
  		case 87:
  			StringCopy(&Var2, "TORSO_P0_17_2", 16);
  			iVar3 = 17;
  			iVar4 = 2;
  			break;
  		
  		case 88:
  			StringCopy(&Var2, "TORSO_P0_17_3", 16);
  			iVar3 = 17;
  			iVar4 = 3;
  			iVar1 = 48;
  			break;
  		
  		case 89:
  			StringCopy(&Var2, "TORSO_P0_17_4", 16);
  			iVar3 = 17;
  			iVar4 = 4;
  			iVar1 = 40;
  			break;
  		
  		case 90:
  			StringCopy(&Var2, "TORSO_P0_17_5", 16);
  			iVar3 = 17;
  			iVar4 = 5;
  			iVar1 = 45;
  			break;
  		
  		case 91:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 18;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 92:
  			StringCopy(&Var2, "TORSO_P0_19_0", 16);
  			iVar3 = 19;
  			iVar4 = 0;
  			break;
  		
  		case 93:
  			StringCopy(&Var2, "TORSO_P0_19_1", 16);
  			iVar3 = 19;
  			iVar4 = 1;
  			iVar1 = 190;
  			break;
  		
  		case 94:
  			StringCopy(&Var2, "TORSO_P0_19_2", 16);
  			iVar3 = 19;
  			iVar4 = 2;
  			iVar1 = 190;
  			break;
  		
  		case 95:
  			StringCopy(&Var2, "TORSO_P0_19_3", 16);
  			iVar3 = 19;
  			iVar4 = 3;
  			iVar1 = 190;
  			break;
  		
  		case 96:
  			StringCopy(&Var2, "TORSO_P0_19_4", 16);
  			iVar3 = 19;
  			iVar4 = 4;
  			iVar1 = 210;
  			break;
  		
  		case 97:
  			StringCopy(&Var2, "TORSO_P0_20_0", 16);
  			iVar3 = 20;
  			iVar4 = 0;
  			break;
  		
  		case 98:
  			StringCopy(&Var2, "TORSO_P0_20_1", 16);
  			iVar3 = 20;
  			iVar4 = 1;
  			iVar1 = 115;
  			break;
  		
  		case 99:
  			StringCopy(&Var2, "TORSO_P0_20_2", 16);
  			iVar3 = 20;
  			iVar4 = 2;
  			iVar1 = 55;
  			break;
  		
  		case 100:
  			StringCopy(&Var2, "TORSO_P0_20_3", 16);
  			iVar3 = 20;
  			iVar4 = 3;
  			iVar1 = 110;
  			break;
  		
  		case 101:
  			StringCopy(&Var2, "TORSO_P0_20_4", 16);
  			iVar3 = 20;
  			iVar4 = 4;
  			iVar1 = 99;
  			break;
  		
  		case 102:
  			StringCopy(&Var2, "TORSO_P0_20_5", 16);
  			iVar3 = 20;
  			iVar4 = 5;
  			iVar1 = 49;
  			break;
  		
  		case 103:
  			StringCopy(&Var2, "TORSO_P0_20_6", 16);
  			iVar3 = 20;
  			iVar4 = 6;
  			iVar1 = 120;
  			break;
  		
  		case 104:
  			StringCopy(&Var2, "TORSO_P0_20_7", 16);
  			iVar3 = 20;
  			iVar4 = 7;
  			iVar1 = 45;
  			break;
  		
  		case 105:
  			StringCopy(&Var2, "TORSO_P0_20_8", 16);
  			iVar3 = 20;
  			iVar4 = 8;
  			iVar1 = 115;
  			break;
  		
  		case 106:
  			StringCopy(&Var2, "TORSO_P0_20_9", 16);
  			iVar3 = 20;
  			iVar4 = 9;
  			iVar1 = 105;
  			break;
  		
  		case 107:
  			StringCopy(&Var2, "TORSO_P0_20_10", 16);
  			iVar3 = 20;
  			iVar4 = 10;
  			iVar1 = 90;
  			break;
  		
  		case 108:
  			StringCopy(&Var2, "TORSO_P0_20_11", 16);
  			iVar3 = 20;
  			iVar4 = 11;
  			iVar1 = 95;
  			break;
  		
  		case 109:
  			StringCopy(&Var2, "TORSO_P0_20_12", 16);
  			iVar3 = 20;
  			iVar4 = 12;
  			iVar1 = 39;
  			break;
  		
  		case 110:
  			StringCopy(&Var2, "TORSO_P0_20_13", 16);
  			iVar3 = 20;
  			iVar4 = 13;
  			iVar1 = 95;
  			break;
  		
  		case 111:
  			StringCopy(&Var2, "TORSO_P0_20_14", 16);
  			iVar3 = 20;
  			iVar4 = 14;
  			iVar1 = 35;
  			break;
  		
  		case 112:
  			StringCopy(&Var2, "TORSO_P0_20_15", 16);
  			iVar3 = 20;
  			iVar4 = 15;
  			iVar1 = 95;
  			break;
  		
  		case 113:
  			StringCopy(&Var2, "TORSO_P0_21_0", 16);
  			iVar3 = 21;
  			iVar4 = 0;
  			iVar1 = 88;
  			break;
  		
  		case 114:
  			StringCopy(&Var2, "TORSO_P0_21_1", 16);
  			iVar3 = 21;
  			iVar4 = 1;
  			iVar1 = 60;
  			break;
  		
  		case 115:
  			StringCopy(&Var2, "TORSO_P0_21_2", 16);
  			iVar3 = 21;
  			iVar4 = 2;
  			iVar1 = 70;
  			break;
  		
  		case 116:
  			StringCopy(&Var2, "TORSO_P0_21_3", 16);
  			iVar3 = 21;
  			iVar4 = 3;
  			iVar1 = 80;
  			break;
  		
  		case 117:
  			StringCopy(&Var2, "TORSO_P0_21_4", 16);
  			iVar3 = 21;
  			iVar4 = 4;
  			iVar1 = 90;
  			break;
  		
  		case 118:
  			StringCopy(&Var2, "TORSO_P0_21_5", 16);
  			iVar3 = 21;
  			iVar4 = 5;
  			iVar1 = 80;
  			break;
  		
  		case 119:
  			StringCopy(&Var2, "TORSO_P0_21_6", 16);
  			iVar3 = 21;
  			iVar4 = 6;
  			iVar1 = 70;
  			break;
  		
  		case 120:
  			StringCopy(&Var2, "TORSO_P0_21_7", 16);
  			iVar3 = 21;
  			iVar4 = 7;
  			iVar1 = 95;
  			break;
  		
  		case 121:
  			StringCopy(&Var2, "TORSO_P0_21_8", 16);
  			iVar3 = 21;
  			iVar4 = 8;
  			iVar1 = 105;
  			break;
  		
  		case 122:
  			StringCopy(&Var2, "TORSO_P0_21_9", 16);
  			iVar3 = 21;
  			iVar4 = 9;
  			iVar1 = 95;
  			break;
  		
  		case 123:
  			StringCopy(&Var2, "TORSO_P0_21_10", 16);
  			iVar3 = 21;
  			iVar4 = 10;
  			iVar1 = 110;
  			break;
  		
  		case 124:
  			StringCopy(&Var2, "TORSO_P0_21_11", 16);
  			iVar3 = 21;
  			iVar4 = 11;
  			iVar1 = 98;
  			break;
  		
  		case 125:
  			StringCopy(&Var2, "TORSO_P0_21_12", 16);
  			iVar3 = 21;
  			iVar4 = 12;
  			iVar1 = 88;
  			break;
  		
  		case 126:
  			StringCopy(&Var2, "TORSO_P0_21_13", 16);
  			iVar3 = 21;
  			iVar4 = 13;
  			iVar1 = 98;
  			break;
  		
  		case 127:
  			StringCopy(&Var2, "TORSO_P0_21_14", 16);
  			iVar3 = 21;
  			iVar4 = 14;
  			iVar1 = 110;
  			break;
  		
  		case 128:
  			StringCopy(&Var2, "TORSO_P0_21_15", 16);
  			iVar3 = 21;
  			iVar4 = 15;
  			iVar1 = 98;
  			break;
  		
  		case 129:
  			StringCopy(&Var2, "TORSO_P0_22_0", 16);
  			iVar3 = 22;
  			iVar4 = 0;
  			break;
  		
  		case 130:
  			StringCopy(&Var2, "TORSO_P0_22_1", 16);
  			iVar3 = 22;
  			iVar4 = 1;
  			iVar1 = 4950;
  			break;
  		
  		case 131:
  			StringCopy(&Var2, "TORSO_P0_22_2", 16);
  			iVar3 = 22;
  			iVar4 = 2;
  			iVar1 = 4195;
  			break;
  		
  		case 132:
  			StringCopy(&Var2, "TORSO_P0_22_3", 16);
  			iVar3 = 22;
  			iVar4 = 3;
  			iVar1 = 3195;
  			break;
  		
  		case 133:
  			StringCopy(&Var2, "TORSO_P0_22_4", 16);
  			iVar3 = 22;
  			iVar4 = 4;
  			iVar1 = 2950;
  			break;
  		
  		case 134:
  			StringCopy(&Var2, "TORSO_P0_22_5", 16);
  			iVar3 = 22;
  			iVar4 = 5;
  			iVar1 = 3950;
  			break;
  		
  		case 135:
  			StringCopy(&Var2, "TORSO_P0_23_0", 16);
  			iVar3 = 23;
  			iVar4 = 0;
  			iVar1 = 3200;
  			break;
  		
  		case 136:
  			StringCopy(&Var2, "TORSO_P0_23_1", 16);
  			iVar3 = 23;
  			iVar4 = 1;
  			iVar1 = 3200;
  			break;
  		
  		case 137:
  			StringCopy(&Var2, "TORSO_P0_23_2", 16);
  			iVar3 = 23;
  			iVar4 = 2;
  			iVar1 = 3200;
  			break;
  		
  		case 138:
  			StringCopy(&Var2, "TORSO_P0_23_3", 16);
  			iVar3 = 23;
  			iVar4 = 3;
  			iVar1 = 3200;
  			break;
  		
  		case 139:
  			StringCopy(&Var2, "TORSO_P0_23_4", 16);
  			iVar3 = 23;
  			iVar4 = 4;
  			iVar1 = 3200;
  			break;
  		
  		case 140:
  			StringCopy(&Var2, "TORSO_P0_23_5", 16);
  			iVar3 = 23;
  			iVar4 = 5;
  			iVar1 = 3200;
  			break;
  		
  		case 141:
  			StringCopy(&Var2, "TORSO_P0_23_6", 16);
  			iVar3 = 23;
  			iVar4 = 6;
  			iVar1 = 3200;
  			break;
  		
  		case 142:
  			StringCopy(&Var2, "TORSO_P0_23_7", 16);
  			iVar3 = 23;
  			iVar4 = 7;
  			iVar1 = 3200;
  			break;
  		
  		case 143:
  			StringCopy(&Var2, "TORSO_P0_23_8", 16);
  			iVar3 = 23;
  			iVar4 = 8;
  			iVar1 = 3200;
  			break;
  		
  		case 144:
  			StringCopy(&Var2, "TORSO_P0_23_9", 16);
  			iVar3 = 23;
  			iVar4 = 9;
  			iVar1 = 3200;
  			break;
  		
  		case 145:
  			StringCopy(&Var2, "TORSO_P0_23_10", 16);
  			iVar3 = 23;
  			iVar4 = 10;
  			iVar1 = 3200;
  			break;
  		
  		case 146:
  			StringCopy(&Var2, "TORSO_P0_23_11", 16);
  			iVar3 = 23;
  			iVar4 = 11;
  			iVar1 = 3200;
  			break;
  		
  		case 147:
  			StringCopy(&Var2, "TORSO_P0_23_12", 16);
  			iVar3 = 23;
  			iVar4 = 12;
  			iVar1 = 3200;
  			break;
  		
  		case 148:
  			StringCopy(&Var2, "TORSO_P0_23_13", 16);
  			iVar3 = 23;
  			iVar4 = 13;
  			iVar1 = 3200;
  			break;
  		
  		case 149:
  			StringCopy(&Var2, "TORSO_P0_23_14", 16);
  			iVar3 = 23;
  			iVar4 = 14;
  			iVar1 = 3200;
  			break;
  		
  		case 150:
  			StringCopy(&Var2, "TORSO_P0_23_15", 16);
  			iVar3 = 23;
  			iVar4 = 15;
  			iVar1 = 3200;
  			break;
  		
  		case 151:
  			StringCopy(&Var2, "TORSO_P0_24_0", 16);
  			iVar3 = 24;
  			iVar4 = 0;
  			iVar1 = 1350;
  			break;
  		
  		case 152:
  			StringCopy(&Var2, "TORSO_P0_24_1", 16);
  			iVar3 = 24;
  			iVar4 = 1;
  			iVar1 = 1400;
  			break;
  		
  		case 153:
  			StringCopy(&Var2, "TORSO_P0_24_2", 16);
  			iVar3 = 24;
  			iVar4 = 2;
  			iVar1 = 1200;
  			break;
  		
  		case 154:
  			StringCopy(&Var2, "TORSO_P0_24_3", 16);
  			iVar3 = 24;
  			iVar4 = 3;
  			iVar1 = 1250;
  			break;
  		
  		case 155:
  			StringCopy(&Var2, "TORSO_P0_24_4", 16);
  			iVar3 = 24;
  			iVar4 = 4;
  			iVar1 = 1350;
  			break;
  		
  		case 156:
  			StringCopy(&Var2, "TORSO_P0_24_5", 16);
  			iVar3 = 24;
  			iVar4 = 5;
  			iVar1 = 1300;
  			break;
  		
  		case 157:
  			StringCopy(&Var2, "TORSO_P0_24_6", 16);
  			iVar3 = 24;
  			iVar4 = 6;
  			iVar1 = 1380;
  			break;
  		
  		case 158:
  			StringCopy(&Var2, "TORSO_P0_24_7", 16);
  			iVar3 = 24;
  			iVar4 = 7;
  			iVar1 = 1340;
  			break;
  		
  		case 159:
  			StringCopy(&Var2, "TORSO_P0_24_8", 16);
  			iVar3 = 24;
  			iVar4 = 8;
  			iVar1 = 1380;
  			break;
  		
  		case 160:
  			StringCopy(&Var2, "TORSO_P0_24_9", 16);
  			iVar3 = 24;
  			iVar4 = 9;
  			iVar1 = 1250;
  			break;
  		
  		case 161:
  			StringCopy(&Var2, "TORSO_P0_25_0", 16);
  			iVar3 = 25;
  			iVar4 = 0;
  			iVar1 = 840;
  			break;
  		
  		case 162:
  			StringCopy(&Var2, "TORSO_P0_25_1", 16);
  			iVar3 = 25;
  			iVar4 = 1;
  			iVar1 = 840;
  			break;
  		
  		case 163:
  			StringCopy(&Var2, "TORSO_P0_25_2", 16);
  			iVar3 = 25;
  			iVar4 = 2;
  			iVar1 = 840;
  			break;
  		
  		case 164:
  			StringCopy(&Var2, "TORSO_P0_25_3", 16);
  			iVar3 = 25;
  			iVar4 = 3;
  			iVar1 = 840;
  			break;
  		
  		case 165:
  			StringCopy(&Var2, "TORSO_P0_25_4", 16);
  			iVar3 = 25;
  			iVar4 = 4;
  			iVar1 = 840;
  			break;
  		
  		case 166:
  			StringCopy(&Var2, "TORSO_P0_25_5", 16);
  			iVar3 = 25;
  			iVar4 = 5;
  			iVar1 = 840;
  			break;
  		
  		case 167:
  			StringCopy(&Var2, "TORSO_P0_25_6", 16);
  			iVar3 = 25;
  			iVar4 = 6;
  			iVar1 = 840;
  			break;
  		
  		case 168:
  			StringCopy(&Var2, "TORSO_P0_25_7", 16);
  			iVar3 = 25;
  			iVar4 = 7;
  			iVar1 = 840;
  			break;
  		
  		case 169:
  			StringCopy(&Var2, "TORSO_P0_26_0", 16);
  			iVar3 = 26;
  			iVar4 = 0;
  			break;
  		
  		case 170:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 27;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 171:
  			StringCopy(&Var2, "TORSO_P0_28_0", 16);
  			iVar3 = 28;
  			iVar4 = 0;
  			break;
  		
  		case 172:
  			StringCopy(&Var2, "TORSO_P0_28_1", 16);
  			iVar3 = 28;
  			iVar4 = 1;
  			iVar1 = 130;
  			break;
  		
  		case 173:
  			StringCopy(&Var2, "TORSO_P0_28_2", 16);
  			iVar3 = 28;
  			iVar4 = 2;
  			iVar1 = 110;
  			break;
  		
  		case 174:
  			StringCopy(&Var2, "TORSO_P0_29_0", 16);
  			iVar3 = 29;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 175:
  			StringCopy(&Var2, "TORSO_P0_30_0", 16);
  			iVar3 = 30;
  			iVar4 = 0;
  			iVar1 = 290;
  			break;
  		
  		case 176:
  			StringCopy(&Var2, "TORSO_P0_30_1", 16);
  			iVar3 = 30;
  			iVar4 = 1;
  			iVar1 = 320;
  			break;
  		
  		case 177:
  			StringCopy(&Var2, "TORSO_P0_31_0", 16);
  			iVar3 = 31;
  			iVar4 = 0;
  			iVar1 = 59;
  			break;
  		
  		case 178:
  			StringCopy(&Var2, "TORSO_P0_31_1", 16);
  			iVar3 = 31;
  			iVar4 = 1;
  			iVar1 = 55;
  			break;
  		
  		case 179:
  			StringCopy(&Var2, "TORSO_P0_31_2", 16);
  			iVar3 = 31;
  			iVar4 = 2;
  			iVar1 = 59;
  			break;
  		
  		case 180:
  			StringCopy(&Var2, "TORSO_P0_31_3", 16);
  			iVar3 = 31;
  			iVar4 = 3;
  			iVar1 = 49;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_213(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 3;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "TORSO_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "TORSO_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "TORSO_P0_0_2", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			iVar1 = 3500;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "TORSO_P0_0_3", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "TORSO_P0_0_4", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "TORSO_P0_0_5", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "TORSO_P0_0_6", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			break;
  		
  		case 7:
  			StringCopy(&Var2, "TORSO_P0_0_7", 16);
  			iVar3 = 0;
  			iVar4 = 7;
  			break;
  		
  		case 8:
  			StringCopy(&Var2, "TORSO_P0_0_8", 16);
  			iVar3 = 0;
  			iVar4 = 8;
  			break;
  		
  		case 9:
  			StringCopy(&Var2, "TORSO_P0_0_9", 16);
  			iVar3 = 0;
  			iVar4 = 9;
  			break;
  		
  		case 10:
  			StringCopy(&Var2, "TORSO_P0_0_10", 16);
  			iVar3 = 0;
  			iVar4 = 10;
  			break;
  		
  		case 11:
  			StringCopy(&Var2, "TORSO_P0_0_11", 16);
  			iVar3 = 0;
  			iVar4 = 11;
  			break;
  		
  		case 12:
  			StringCopy(&Var2, "TORSO_P0_0_12", 16);
  			iVar3 = 0;
  			iVar4 = 12;
  			break;
  		
  		case 13:
  			StringCopy(&Var2, "TORSO_P0_0_13", 16);
  			iVar3 = 0;
  			iVar4 = 13;
  			break;
  		
  		case 14:
  			StringCopy(&Var2, "TORSO_P0_0_14", 16);
  			iVar3 = 0;
  			iVar4 = 14;
  			break;
  		
  		case 15:
  			StringCopy(&Var2, "TORSO_P0_0_15", 16);
  			iVar3 = 0;
  			iVar4 = 15;
  			break;
  		
  		case 16:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 17:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			iVar1 = 20;
  			break;
  		
  		case 18:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 1;
  			iVar1 = 18;
  			break;
  		
  		case 19:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 2;
  			iVar1 = 22;
  			break;
  		
  		case 20:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 2;
  			iVar4 = 3;
  			iVar1 = 25;
  			break;
  		
  		case 21:
  			StringCopy(&Var2, "TORSO_P0_2_4", 16);
  			iVar3 = 2;
  			iVar4 = 4;
  			iVar1 = 19;
  			break;
  		
  		case 22:
  			StringCopy(&Var2, "TORSO_P0_2_5", 16);
  			iVar3 = 2;
  			iVar4 = 5;
  			iVar1 = 20;
  			break;
  		
  		case 23:
  			StringCopy(&Var2, "TORSO_P0_2_6", 16);
  			iVar3 = 2;
  			iVar4 = 6;
  			iVar1 = 22;
  			break;
  		
  		case 24:
  			StringCopy(&Var2, "TORSO_P0_2_7", 16);
  			iVar3 = 2;
  			iVar4 = 7;
  			iVar1 = 18;
  			break;
  		
  		case 25:
  			StringCopy(&Var2, "TORSO_P0_2_8", 16);
  			iVar3 = 2;
  			iVar4 = 8;
  			iVar1 = 39;
  			break;
  		
  		case 26:
  			StringCopy(&Var2, "TORSO_P0_2_9", 16);
  			iVar3 = 2;
  			iVar4 = 9;
  			iVar1 = 32;
  			break;
  		
  		case 27:
  			StringCopy(&Var2, "TORSO_P0_2_10", 16);
  			iVar3 = 2;
  			iVar4 = 10;
  			iVar1 = 35;
  			break;
  		
  		case 28:
  			StringCopy(&Var2, "TORSO_P0_2_11", 16);
  			iVar3 = 2;
  			iVar4 = 11;
  			iVar1 = 35;
  			break;
  		
  		case 29:
  			StringCopy(&Var2, "TORSO_P0_2_12", 16);
  			iVar3 = 2;
  			iVar4 = 12;
  			iVar1 = 210;
  			break;
  		
  		case 30:
  			StringCopy(&Var2, "TORSO_P0_2_13", 16);
  			iVar3 = 2;
  			iVar4 = 13;
  			iVar1 = 250;
  			break;
  		
  		case 31:
  			StringCopy(&Var2, "TORSO_P0_2_14", 16);
  			iVar3 = 2;
  			iVar4 = 14;
  			iVar1 = 290;
  			break;
  		
  		case 32:
  			StringCopy(&Var2, "TORSO_P0_2_15", 16);
  			iVar3 = 2;
  			iVar4 = 15;
  			iVar1 = 310;
  			break;
  		
  		case 33:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 34:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 3;
  			iVar4 = 1;
  			bVar0 = true;
  			break;
  		
  		case 35:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 36:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 37:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 6;
  			iVar4 = 0;
  			bVar0 = true;
  			break;
  		
  		case 38:
  			StringCopy(&Var2, "TORSO_P0_7_0", 16);
  			iVar3 = 7;
  			iVar4 = 0;
  			iVar1 = 150;
  			break;
  		
  		case 39:
  			StringCopy(&Var2, "TORSO_P0_7_1", 16);
  			iVar3 = 7;
  			iVar4 = 1;
  			iVar1 = 160;
  			break;
  		
  		case 40:
  			StringCopy(&Var2, "TORSO_P0_7_2", 16);
  			iVar3 = 7;
  			iVar4 = 2;
  			iVar1 = 150;
  			break;
  		
  		case 41:
  			StringCopy(&Var2, "TORSO_P0_7_3", 16);
  			iVar3 = 7;
  			iVar4 = 3;
  			iVar1 = 150;
  			break;
  		
  		case 42:
  			StringCopy(&Var2, "TORSO_P0_7_4", 16);
  			iVar3 = 7;
  			iVar4 = 4;
  			iVar1 = 160;
  			break;
  		
  		case 43:
  			StringCopy(&Var2, "TORSO_P0_7_5", 16);
  			iVar3 = 7;
  			iVar4 = 5;
  			iVar1 = 160;
  			break;
  		
  		case 44:
  			StringCopy(&Var2, "TORSO_P0_8_0", 16);
  			iVar3 = 8;
  			iVar4 = 0;
  			break;
  		
  		case 45:
  			StringCopy(&Var2, "TORSO_P0_8_1", 16);
  			iVar3 = 8;
  			iVar4 = 1;
  			iVar1 = 52;
  			break;
  		
  		case 46:
  			StringCopy(&Var2, "TORSO_P0_8_2", 16);
  			iVar3 = 8;
  			iVar4 = 2;
  			iVar1 = 52;
  			break;
  		
  		case 47:
  			StringCopy(&Var2, "TORSO_P0_8_3", 16);
  			iVar3 = 8;
  			iVar4 = 3;
  			iVar1 = 55;
  			break;
  		
  		case 48:
  			StringCopy(&Var2, "TORSO_P0_8_4", 16);
  			iVar3 = 8;
  			iVar4 = 4;
  			iVar1 = 55;
  			break;
  		
  		case 49:
  			StringCopy(&Var2, "TORSO_P0_8_5", 16);
  			iVar3 = 8;
  			iVar4 = 5;
  			iVar1 = 58;
  			break;
  		
  		case 50:
  			StringCopy(&Var2, "TORSO_P0_8_6", 16);
  			iVar3 = 8;
  			iVar4 = 6;
  			iVar1 = 58;
  			break;
  		
  		case 51:
  			StringCopy(&Var2, "TORSO_P0_8_7", 16);
  			iVar3 = 8;
  			iVar4 = 7;
  			iVar1 = 62;
  			break;
  		
  		case 52:
  			StringCopy(&Var2, "TORSO_P0_8_8", 16);
  			iVar3 = 8;
  			iVar4 = 8;
  			iVar1 = 65;
  			break;
  		
  		case 53:
  			StringCopy(&Var2, "TORSO_P0_8_9", 16);
  			iVar3 = 8;
  			iVar4 = 9;
  			iVar1 = 65;
  			break;
  		
  		case 54:
  			StringCopy(&Var2, "TORSO_P0_8_10", 16);
  			iVar3 = 8;
  			iVar4 = 10;
  			iVar1 = 68;
  			break;
  		
  		case 55:
  			StringCopy(&Var2, "TORSO_P0_8_11", 16);
  			iVar3 = 8;
  			iVar4 = 11;
  			iVar1 = 68;
  			break;
  		
  		case 56:
  			StringCopy(&Var2, "TORSO_P0_8_12", 16);
  			iVar3 = 8;
  			iVar4 = 12;
  			iVar1 = 55;
  			break;
  		
  		case 57:
  			StringCopy(&Var2, "TORSO_P0_8_13", 16);
  			iVar3 = 8;
  			iVar4 = 13;
  			iVar1 = 62;
  			break;
  		
  		case 58:
  			StringCopy(&Var2, "TORSO_P0_8_14", 16);
  			iVar3 = 8;
  			iVar4 = 14;
  			iVar1 = 58;
  			break;
  		
  		case 59:
  			StringCopy(&Var2, "TORSO_P0_8_15", 16);
  			iVar3 = 8;
  			iVar4 = 15;
  			iVar1 = 58;
  			break;
  		
  		default:
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_214(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 2;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "HAIR_P0_0_0", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "HAIR_P0_1_0", 16);
  			iVar3 = 1;
  			iVar4 = 0;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "HAIR_P0_2_0", 16);
  			iVar3 = 2;
  			iVar4 = 0;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "HAIR_P0_3_0", 16);
  			iVar3 = 3;
  			iVar4 = 0;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "HAIR_P0_4_0", 16);
  			iVar3 = 4;
  			iVar4 = 0;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 5;
  			iVar4 = 0;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 6, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_215(int iParam0)
  {
  	bool bVar0;
  	int iVar1;
  	struct<2> Var2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	int iVar6;
  	int iVar7;
  	
  	bVar0 = false;
  	iVar1 = 10;
  	iVar3 = 0;
  	iVar4 = 0;
  	iVar5 = -1;
  	iVar6 = 2;
  	iVar7 = 0;
  	Global_76647[0 /*14*/].f_5 = 0;
  	switch (iParam0)
  	{
  		case 0:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 0;
  			break;
  		
  		case 1:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 1;
  			break;
  		
  		case 2:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 2;
  			break;
  		
  		case 3:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 3;
  			break;
  		
  		case 4:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 4;
  			break;
  		
  		case 5:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 5;
  			break;
  		
  		case 6:
  			StringCopy(&Var2, "NO_LABEL", 16);
  			iVar3 = 0;
  			iVar4 = 6;
  			break;
  		
  		default:
  			func_162(iVar7, iParam0, 7, -1);
  			return;
  			break;
  	}
  	func_154(&(Global_76647[0 /*14*/]), iVar7, iParam0, &Var2, iVar3, iVar4, iVar1, bVar0, iVar5, iVar6, 0);
  }
  
  void func_216()
  {
  	Global_76647[0 /*14*/].f_1 = -1;
  	Global_76647[0 /*14*/].f_2 = -1;
  	Global_76647[0 /*14*/].f_5 = -1;
  	Global_76647[0 /*14*/].f_3 = -1;
  	Global_76647[0 /*14*/].f_4 = -1;
  	Global_76647[0 /*14*/].f_7 = 0;
  	Global_76647[0 /*14*/].f_6 = 0;
  	Global_76647[0 /*14*/].f_13 = -1;
  	Global_76647[0 /*14*/].f_12 = 0;
  	Global_76647[0 /*14*/] = 0;
  	StringCopy(&(Global_76647[0 /*14*/].f_8), "NO_LABEL", 16);
  }
  
  int func_217(int iParam0, int iParam1, int iParam2, var uParam3)
  {
  	int iVar0;
  	
  	*uParam3 = -99;
  	switch (iParam0)
  	{
  		case joaat("player_zero"):
  			switch (iParam1)
  			{
  				case 8:
  					if (iParam2 == 7 || iParam2 == 23)
  					{
  						*uParam3 = 1;
  					}
  					break;
  				
  				case 9:
  					if (iParam2 == 8 || (iParam2 >= 9 && iParam2 <= 14))
  					{
  						*uParam3 = 1;
  					}
  					break;
  				
  				case 10:
  					if (iParam2 >= 44 && iParam2 <= 47)
  					{
  						*uParam3 = 1;
  					}
  					break;
  				
  				case 14:
  					if ((((((iParam2 >= 31 && iParam2 <= 32) || (iParam2 >= 33 && iParam2 <= 34)) || (iParam2 >= 35 && iParam2 <= 36)) || iParam2 == 37) || (iParam2 >= 40 && iParam2 <= 41)) || iParam2 == 46)
  					{
  						*uParam3 = 1;
  					}
  					break;
  			}
  			break;
  		
  		case joaat("player_one"):
  			switch (iParam1)
  			{
  				case 2:
  					if (iParam2 == 20)
  					{
  						*uParam3 = 20;
  					}
  					break;
  				
  				case 8:
  					if (iParam2 == 4)
  					{
  						*uParam3 = 19;
  					}
  					break;
  				
  				case 9:
  					if (iParam2 >= 5 && iParam2 <= 10)
  					{
  						*uParam3 = 19;
  					}
  					break;
  				
  				case 10:
  					if (iParam2 >= 47 && iParam2 <= 50)
  					{
  						*uParam3 = 19;
  					}
  					break;
  				
  				case 14:
  					if (((((iParam2 >= 26 && iParam2 <= 27) || (iParam2 >= 28 && iParam2 <= 29)) || (iParam2 >= 30 && iParam2 <= 31)) || iParam2 == 32) || (iParam2 >= 35 && iParam2 <= 36))
  					{
  						*uParam3 = 19;
  					}
  					break;
  			}
  			break;
  		
  		case joaat("player_two"):
  			switch (iParam1)
  			{
  				case 8:
  					if (iParam2 == 7)
  					{
  						*uParam3 = 2;
  					}
  					break;
  				
  				case 9:
  					if ((iParam2 >= 9 && iParam2 <= 14) || (iParam2 >= 15 && iParam2 <= 16))
  					{
  						*uParam3 = 2;
  					}
  					break;
  				
  				case 10:
  					if (iParam2 >= 29 && iParam2 <= 32)
  					{
  						*uParam3 = 2;
  					}
  					break;
  				
  				case 14:
  					if ((((((iParam2 >= 47 && iParam2 <= 48) || (iParam2 >= 49 && iParam2 <= 50)) || (iParam2 >= 51 && iParam2 <= 52)) || iParam2 == 53) || (iParam2 >= 56 && iParam2 <= 57)) || iParam2 == 62)
  					{
  						*uParam3 = 2;
  					}
  					break;
  			}
  			break;
  	}
  	if (*uParam3 != -99)
  	{
  		iVar0 = func_150(iParam0);
  		Global_111858.f_2359.f_539[iVar0 /*65*/].f_60 = iParam2;
  		Global_111858.f_2359.f_539[iVar0 /*65*/].f_61 = iParam1;
  		return 1;
  	}
  	return 0;
  }
  
  int func_218(int iParam0, int iParam1, int iParam2, int iParam3)
  {
  	var uVar0;
  	int iVar1;
  	int iVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	
  	uVar0 = func_146(iParam3);
  	iVar1 = unk_0xD6A0115FA2F3F0EC(iParam0, uVar0);
  	iVar3 = 0;
  	while (iVar3 <= (iVar1 - 1))
  	{
  		iVar5 = unk_0x7CF1CA3F6DB5685F(iParam0, uVar0, iVar3);
  		if (iVar3 != iParam1)
  		{
  			iVar2 = (iVar2 + iVar5);
  		}
  		else
  		{
  			iVar4 = 0;
  			while (iVar4 <= (iVar5 - 1))
  			{
  				if (iVar3 == iParam1 && iVar4 == iParam2)
  				{
  					return iVar2;
  				}
  				else
  				{
  					iVar2++;
  				}
  				iVar4++;
  			}
  		}
  		iVar3++;
  	}
  	return -99;
  }
  
  int func_219(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return 0;
  			break;
  		
  		case 2:
  			return 2;
  			break;
  		
  		case 3:
  			return 3;
  			break;
  		
  		case 4:
  			return 4;
  			break;
  		
  		case 6:
  			return 6;
  			break;
  		
  		case 5:
  			return 5;
  			break;
  		
  		case 8:
  			return 8;
  			break;
  		
  		case 9:
  			return 9;
  			break;
  		
  		case 10:
  			return 10;
  			break;
  		
  		case 1:
  			return 1;
  			break;
  		
  		case 7:
  			return 7;
  			break;
  		
  		case 11:
  			return 11;
  			break;
  	}
  	return 0;
  }
  
  void func_220(int iParam0, var uParam1, int iParam2, int iParam3)
  {
  	int iVar0;
  	int iVar1;
  	
  	if (!unk_0x5AEB5DDFFAD43CA5(iParam0))
  	{
  		iVar0 = func_43(iParam0);
  		iVar1 = 0;
  		while (iVar1 < 12)
  		{
  			func_223(iParam0, iVar1, &(uParam1->f_13[iVar1]), uParam1[iVar1], &(uParam1->f_26[iVar1]), iParam2, 145);
  			iVar1++;
  		}
  		iVar1 = 0;
  		while (iVar1 < 9)
  		{
  			func_222(iParam0, iVar1, &(uParam1->f_39[iVar1]), &(uParam1->f_49[iVar1]), iParam2, 145);
  			iVar1++;
  		}
  		if (func_42(iVar0))
  		{
  			uParam1->f_59 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_59;
  			uParam1->f_60 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_60;
  			uParam1->f_61 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_61;
  			uParam1->f_62 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_62;
  			uParam1->f_63 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_63;
  			uParam1->f_64 = Global_111858.f_2359.f_539[iVar0 /*65*/].f_64;
  		}
  		else if (unk_0x25DDB354A40FFCDB() && unk_0x36FE6D3220816ADA(iParam0) == unk_0x36FE6D3220816ADA(unk_0x9B0761B4C3EB8BC7()))
  		{
  			if (func_221(161, iParam3))
  			{
  				uParam1->f_59 = func_15(2052, iParam3, 0);
  			}
  			else
  			{
  				uParam1->f_59 = func_15(752, iParam3, 0);
  			}
  			uParam1->f_60 = func_15(753, iParam3, 0);
  			uParam1->f_61 = func_15(754, iParam3, 0);
  		}
  		if (unk_0x25DDB354A40FFCDB() && iParam0 == unk_0x9B0761B4C3EB8BC7())
  		{
  			if (func_221(161, iParam3))
  			{
  				uParam1->f_59 = func_15(2052, iParam3, 0);
  			}
  			else
  			{
  				uParam1->f_59 = func_15(752, iParam3, 0);
  			}
  		}
  	}
  }
  
  int func_221(int iParam0, var uParam1)
  {
  	var uVar0;
  	var uVar1;
  	
  	uVar0 = Global_2587834[iParam0 /*3*/][func_10(uParam1)];
  	if (unk_0xB9112C701DE2A810(uVar0, &uVar1, -1))
  	{
  		return uVar1;
  	}
  	return 0;
  }
  
  void func_222(int iParam0, int iParam1, var uParam2, var uParam3, int iParam4, int iParam5)
  {
  	int iVar0;
  	
  	iVar0 = func_43(iParam0);
  	if (iParam0 != 0)
  	{
  		*uParam2 = unk_0xA98E0435012EAF07(iParam0, iParam1);
  		*uParam3 = unk_0x77A103B794FA7737(iParam0, iParam1);
  	}
  	else
  	{
  		iVar0 = iParam5;
  	}
  	if (iParam4 == 0)
  	{
  		return;
  	}
  	if (iParam1 == 0)
  	{
  		if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  		{
  			if (iParam0 != 0)
  			{
  				if (unk_0x2489BECD123A725B(iParam0) && unk_0x36A2658DF0E6FA5B(iParam0) != -1)
  				{
  					*uParam2 = unk_0x36A2658DF0E6FA5B(iParam0);
  					*uParam3 = unk_0x4D85ED5F576DB434(iParam0);
  				}
  			}
  		}
  	}
  	switch (iVar0)
  	{
  		case 0:
  			if (iParam1 == 0)
  			{
  				if (*uParam2 == 7)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 11)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 21)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 16 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 23)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 27)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 28)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 >= 14 && *uParam2 <= 20)
  				{
  					if (iParam4 & 2 != 0 || iParam4 & 4 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  			}
  			else if (iParam1 == 1)
  			{
  				if (*uParam2 == 1)
  				{
  					if (iParam4 & 2 != 0 || iParam4 & 64 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  			}
  			break;
  		
  		case 1:
  			if (iParam1 == 0)
  			{
  				if (*uParam2 == 2)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 4)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 16 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 6)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 17)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 20)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 21)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 >= 8 && *uParam2 <= 14)
  				{
  					if (iParam4 & 2 != 0 || iParam4 & 4 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  			}
  			break;
  		
  		case 2:
  			if (iParam1 == 0)
  			{
  				if (*uParam2 == 9)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 11)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 12)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 21)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 23)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if (*uParam2 == 27)
  				{
  					if ((iParam4 & 1 != 0 || iParam4 & 2 != 0) || iParam4 & 8 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  				else if ((*uParam2 >= 14 && *uParam2 <= 20) || *uParam2 == 2)
  				{
  					if (iParam4 & 2 != 0 || iParam4 & 4 != 0)
  					{
  						*uParam2 = -1;
  						*uParam3 = -1;
  					}
  				}
  			}
  			break;
  	}
  }
  
  void func_223(int iParam0, int iParam1, var uParam2, var uParam3, var uParam4, int iParam5, int iParam6)
  {
  	int iVar0;
  	
  	iVar0 = func_43(iParam0);
  	if (iParam0 != 0)
  	{
  		*uParam2 = unk_0x3FB4D40A857CEA77(iParam0, iParam1);
  		*uParam3 = unk_0x79AFA009D186C4FB(iParam0, iParam1);
  		*uParam4 = unk_0xABAC9462CD887571(iParam0, iParam1);
  	}
  	else
  	{
  		iVar0 = iParam6;
  	}
  	if (iParam5 == 0)
  	{
  		return;
  	}
  	switch (iVar0)
  	{
  		case 0:
  			if (iParam1 == 8)
  			{
  				if ((iParam5 & 1 != 0 || iParam5 & 2 != 0) || iParam5 & 32 != 0)
  				{
  					if (*uParam2 == 15)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  				if (iParam5 & 2 != 0 || iParam5 & 64 != 0)
  				{
  					if (*uParam2 == 3 || *uParam2 == 22)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  			}
  			else if (iParam1 == 9)
  			{
  				if ((iParam5 & 1 != 0 || iParam5 & 2 != 0) || iParam5 & 32 != 0)
  				{
  					if (*uParam2 == 5)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  				if (iParam5 & 2 != 0 || iParam5 & 4 != 0)
  				{
  					if (*uParam2 == 8)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  			}
  			break;
  		
  		case 1:
  			if (iParam1 == 8)
  			{
  				if ((iParam5 & 1 != 0 || iParam5 & 2 != 0) || iParam5 & 32 != 0)
  				{
  					if (*uParam2 == 1 || *uParam2 == 10)
  					{
  						*uParam2 = 14;
  						*uParam3 = 0;
  					}
  				}
  				if (iParam5 & 2 != 0 || iParam5 & 64 != 0)
  				{
  					if (*uParam2 == 19)
  					{
  						*uParam2 = 14;
  						*uParam3 = 0;
  					}
  				}
  			}
  			else if (iParam1 == 9)
  			{
  				if (iParam5 & 2 != 0 || iParam5 & 4 != 0)
  				{
  					if (*uParam2 == 5)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  			}
  			break;
  		
  		case 2:
  			if (iParam1 == 8)
  			{
  				if ((iParam5 & 1 != 0 || iParam5 & 2 != 0) || iParam5 & 32 != 0)
  				{
  					if (*uParam2 == 3)
  					{
  						*uParam2 = 14;
  						*uParam3 = 0;
  					}
  				}
  			}
  			else if (iParam1 == 9)
  			{
  				if (*uParam2 >= 5 && *uParam2 <= 7)
  				{
  					if (iParam5 & 2 != 0 || iParam5 & 4 != 0)
  					{
  						*uParam2 = 0;
  						*uParam3 = 0;
  					}
  				}
  			}
  			break;
  	}
  }
  
  void func_224(char* sParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	if (iParam1 == 1 || iParam1 == 4)
  	{
  		iVar0 = 1;
  	}
  	iVar1 = 15;
  	iVar1 = (iVar1 || func_232(iParam1, 1));
  	iVar1 = (iVar1 || SYSTEM::SHIFT_LEFT(64, iVar0));
  	iVar1 = (iVar1 || SYSTEM::SHIFT_LEFT(func_225(iParam1), iVar0));
  	unk_0xDDBEE500B2E6E7FA(sParam0, iVar1, 8);
  }
  
  int func_225(int iParam0)
  {
  	var uVar0;
  	struct<4> Var1;
  	
  	Var1 = { func_226(iParam0, 1, 1, &uVar0) };
  	if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW01"))
  	{
  		return 128;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW02"))
  	{
  		return 256;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW03"))
  	{
  		return 512;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW04"))
  	{
  		return 1024;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW05"))
  	{
  		return 2048;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW06"))
  	{
  		return 4096;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW07"))
  	{
  		return 8192;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW08"))
  	{
  		return 16384;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW09"))
  	{
  		return 32768;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW10"))
  	{
  		return 65536;
  	}
  	else if (unk_0xF005CCA4263DF67F(&Var1, "OBTOW11"))
  	{
  		return 131072;
  	}
  	return 128;
  }
  
  struct<4> func_226(int iParam0, int iParam1, bool bParam2, var uParam3)
  {
  	struct<4> Var0;
  	int iVar1;
  	var uVar2;
  	int iVar3;
  	int iVar4;
  	int iVar5;
  	
  	if ((((!func_231(&(Global_111858.f_19957), 8) && iParam1) && iParam0 != 4) && func_229(3) > 0) && unk_0x658086F2B3C5E4E4(0, 1065353216) < 0.75f)
  	{
  		iVar1 = 8;
  		*uParam3 = 4;
  	}
  	else
  	{
  		if (!func_231(&(Global_111858.f_19957), 1) && func_229(5) > 0)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 1);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 2) && func_229(7) >= 2)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 2);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 3) && ((((func_229(8) > 0 || func_229(9) > 0) && func_229(7) > 0) && iParam1) && iParam0 != 4))
  		{
  			unk_0xBE20AB8238688965(&uVar2, 3);
  			iVar3++;
  		}
  		if ((!func_231(&(Global_111858.f_19957), 4) && func_229(1) > 0) && func_229(1) < 3)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 4);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 5) && func_229(1) >= 3)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 5);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 6) && func_229(0) > 0)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 6);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 7))
  		{
  			unk_0xBE20AB8238688965(&uVar2, 7);
  			iVar3++;
  		}
  		if (((!func_231(&(Global_111858.f_19957), 8) && iParam1) && func_229(3) > 0) && iParam0 != 4)
  		{
  			unk_0xBE20AB8238688965(&uVar2, 8);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 9))
  		{
  			unk_0xBE20AB8238688965(&uVar2, 9);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 10))
  		{
  			unk_0xBE20AB8238688965(&uVar2, 10);
  			iVar3++;
  		}
  		if (!func_231(&(Global_111858.f_19957), 11))
  		{
  			unk_0xBE20AB8238688965(&uVar2, 11);
  			iVar3++;
  		}
  		if (iVar3 <= 0)
  		{
  			if (iParam0 != 4)
  			{
  				iVar1 = func_228(7, 9, 10, 11, 0);
  			}
  			else
  			{
  				iVar1 = func_228(7, 9, 10, 0, 0);
  			}
  		}
  		else
  		{
  			iVar4 = unk_0x344C570D6F8700DF(1, iVar3 + 1);
  			iVar5 = 1;
  			while (iVar4 > 0)
  			{
  				if (unk_0xCE990E643CD9D0E5(uVar2, iVar5))
  				{
  					iVar4 = (iVar4 - 1);
  					if (iVar4 == 0)
  					{
  						iVar1 = iVar5;
  					}
  				}
  				iVar5++;
  			}
  		}
  		switch (iVar1)
  		{
  			case 1:
  				*uParam3 = 5;
  				break;
  			
  			case 2:
  				*uParam3 = 5;
  				break;
  			
  			case 3:
  				*uParam3 = 7;
  				break;
  			
  			case 4:
  				*uParam3 = 4;
  				break;
  			
  			case 5:
  				*uParam3 = 4;
  				break;
  			
  			case 6:
  				*uParam3 = 5;
  				break;
  			
  			case 7:
  				*uParam3 = 4;
  				break;
  			
  			case 8:
  				*uParam3 = 4;
  				break;
  			
  			case 9:
  				*uParam3 = 4;
  				break;
  			
  			case 10:
  				*uParam3 = 5;
  				break;
  			
  			case 11:
  				*uParam3 = 7;
  				break;
  			}
  	}
  	if (bParam2)
  	{
  		func_227(&(Global_111858.f_19957), iVar1, 1);
  	}
  	StringCopy(&Var0, "OBTOW", 16);
  	if (iVar1 < 10)
  	{
  		StringConCat(&Var0, "0", 16);
  	}
  	StringIntConCat(&Var0, iVar1, 16);
  	return Var0;
  }
  
  void func_227(var uParam0, int iParam1, bool bParam2)
  {
  	if (iParam1 < 0 || iParam1 > 11)
  	{
  		return;
  	}
  	if (bParam2)
  	{
  		unk_0xBE20AB8238688965(&(uParam0->f_1), iParam1);
  	}
  	else
  	{
  		unk_0xD2459066EA58CE43(&(uParam0->f_1), iParam1);
  	}
  }
  
  int func_228(int iParam0, int iParam1, int iParam2, int iParam3, int iParam4)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2[12];
  	bool bVar3;
  	
  	iVar0 = 0;
  	while (iVar0 < 12)
  	{
  		iVar2[iVar0] = iVar0;
  		iVar0++;
  	}
  	if ((iParam0 > 0 && iParam0 < 12) && !func_231(&(Global_111858.f_19957), iParam0))
  	{
  		iVar2[iParam0] = 0;
  		bVar3 = true;
  	}
  	if ((iParam1 > 0 && iParam1 < 12) && !func_231(&(Global_111858.f_19957), iParam1))
  	{
  		iVar2[iParam1] = 0;
  		bVar3 = true;
  	}
  	if ((iParam2 > 0 && iParam2 < 12) && !func_231(&(Global_111858.f_19957), iParam2))
  	{
  		iVar2[iParam2] = 0;
  		bVar3 = true;
  	}
  	if ((iParam3 > 0 && iParam3 < 12) && !func_231(&(Global_111858.f_19957), iParam3))
  	{
  		iVar2[iParam3] = 0;
  		bVar3 = true;
  	}
  	if ((iParam4 > 0 && iParam4 < 12) && !func_231(&(Global_111858.f_19957), iParam4))
  	{
  		iVar2[iParam4] = 0;
  		bVar3 = true;
  	}
  	if (!bVar3)
  	{
  		if (iParam0 > 0 && iParam0 < 12)
  		{
  			iVar2[iParam0] = 0;
  		}
  		if (iParam1 > 0 && iParam1 < 12)
  		{
  			iVar2[iParam1] = 0;
  		}
  		if (iParam2 > 0 && iParam2 < 12)
  		{
  			iVar2[iParam2] = 0;
  		}
  		if (iParam3 > 0 && iParam3 < 12)
  		{
  			iVar2[iParam3] = 0;
  		}
  		if (iParam4 > 0 && iParam4 < 12)
  		{
  			iVar2[iParam4] = 0;
  		}
  	}
  	iVar1 = func_116(&iVar2, 12, 1, 12);
  	if (iVar1 > 0)
  	{
  		return iVar1;
  	}
  	iVar1 = unk_0x344C570D6F8700DF(1, 3);
  	switch (iVar1)
  	{
  		case 1:
  			return iParam0;
  		
  		case 2:
  			return iParam1;
  		
  		default:
  	}
  	return 0;
  }
  
  int func_229(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 0:
  			return func_230(&Global_95423, 1);
  			break;
  		
  		case 1:
  			return func_230(&Global_95425, 3);
  			break;
  		
  		case 2:
  			return func_230(&Global_95429, 1);
  			break;
  		
  		case 3:
  			return func_230(&Global_95431, 1);
  			break;
  		
  		case 4:
  			return func_230(&Global_95433, 1);
  			break;
  		
  		case 5:
  			return func_230(&Global_95435, 1);
  			break;
  		
  		case 6:
  			return func_230(&Global_95437, 1);
  			break;
  		
  		case 7:
  			return func_230(&Global_95439, 2);
  			break;
  		
  		case 8:
  			return func_230(&Global_95442, 1);
  			break;
  		
  		case 9:
  			return func_230(&Global_95444, 1);
  			break;
  	}
  	return 0;
  }
  
  int func_230(var uParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	while (iVar0 < iParam1)
  	{
  		if ((*uParam0)[iVar0] > 0)
  		{
  			iVar1++;
  		}
  		iVar0++;
  	}
  	return iVar1;
  }
  
  bool func_231(var uParam0, int iParam1)
  {
  	if (iParam1 < 0 || iParam1 > 11)
  	{
  		return 0;
  	}
  	return unk_0xCE990E643CD9D0E5(uParam0->f_1, iParam1);
  }
  
  int func_232(int iParam0, bool bParam1)
  {
  	switch (iParam0)
  	{
  		case 0:
  			if (func_233(19) && !func_233(20))
  			{
  				if (func_233(44))
  				{
  					return 32;
  				}
  				else
  				{
  					return 16;
  				}
  			}
  			break;
  		
  		case 1:
  			if (func_233(20) && !func_233(59))
  			{
  				if ((!func_233(21) || func_233(72)) || func_233(73))
  				{
  					if (func_233(21))
  					{
  						return 64;
  					}
  					else if (func_233(29))
  					{
  						return 32;
  					}
  					else
  					{
  						return 16;
  					}
  				}
  			}
  			break;
  		
  		case 4:
  			if ((func_233(48) && func_233(61)) && func_233(22))
  			{
  				if (func_233(27))
  				{
  					return 64;
  				}
  				else if (func_233(24))
  				{
  					return 32;
  				}
  				else if (!func_233(84) && !func_233(85))
  				{
  					return 16;
  				}
  			}
  			break;
  	}
  	if (bParam1)
  	{
  		return 16;
  	}
  	return 1;
  }
  
  int func_233(int iParam0)
  {
  	if (iParam0 == 94 || iParam0 == -1)
  	{
  		return 0;
  	}
  	return Global_111858.f_9081.f_330[iParam0 /*6*/];
  }
  
  void func_234(var uParam0, int iParam1, struct<3> Param2, float fParam3, int iParam4, var uParam5, var uParam6)
  {
  	if (!unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  	{
  		unk_0x69C71C91F56D82B9(unk_0x9B0761B4C3EB8BC7(), joaat("weapon_unarmed"), 0);
  	}
  	if (!unk_0xAE06B9E39EBDE049(*uParam0) || unk_0xA59F96B50B97E63C(*uParam0, 0))
  	{
  		*uParam0 = unk_0xB3116B49FE00E2F1(26, iParam1, Param2, fParam3, 1, 1);
  	}
  	unk_0x45F588C0DD767737(*uParam0, 3, uParam4, uParam5, 0);
  	unk_0x45F588C0DD767737(*uParam0, 4, 0, uParam6, 0);
  	func_235(1, 0);
  	func_80(1, 1, 1, 0, 0, 0, 0);
  }
  
  void func_235(int iParam0, bool bParam1)
  {
  	char* sVar0;
  	int iVar1;
  	
  	sVar0 = "NULL";
  	iVar1 = 0;
  	sVar0 = func_239(iParam0, &iVar1);
  	if (!unk_0xF005CCA4263DF67F("NONE", sVar0) && iVar1 != 0)
  	{
  		if (bParam1)
  		{
  			if (unk_0xCDF28E2EBC4CBF45(iVar1))
  			{
  				return;
  			}
  			if (unk_0x518D695E2DBA9DB8(unk_0x9B0761B4C3EB8BC7()) == iVar1)
  			{
  				func_238(iParam0, 1);
  				return;
  			}
  		}
  		else
  		{
  			if (!unk_0xCDF28E2EBC4CBF45(iVar1))
  			{
  				return;
  			}
  			if (func_236(iParam0))
  			{
  				func_238(iParam0, 0);
  			}
  		}
  		unk_0x24F146C25451476B(iVar1, bParam1);
  		if (bParam1)
  		{
  		}
  	}
  }
  
  int func_236(int iParam0)
  {
  	struct<2> Var0;
  	
  	Var0 = { func_237(iParam0) };
  	if (Var0.f_1 != -1 && unk_0xCE990E643CD9D0E5(Global_37408[Var0.f_1], Var0))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  struct<2> func_237(var uParam0)
  {
  	int iVar0;
  	int iVar1;
  	int iVar2;
  	struct<2> Var3;
  	
  	iVar0 = uParam0;
  	iVar1 = 0;
  	iVar2 = 0;
  	Var3 = -1;
  	Var3.f_1 = -1;
  	while (iVar1 < 7)
  	{
  		iVar2 += 32;
  		if (iVar0 < iVar2)
  		{
  			Var3.f_1 = iVar1;
  			Var3 = (iVar0 - Var3.f_1 * 32);
  			return Var3;
  		}
  		iVar1++;
  	}
  	return Var3;
  }
  
  void func_238(int iParam0, bool bParam1)
  {
  	struct<2> Var0;
  	
  	Var0 = { func_237(iParam0) };
  	if (Var0.f_1 == -1)
  	{
  		return;
  	}
  	if (bParam1)
  	{
  		unk_0xBE20AB8238688965(&(Global_37408[Var0.f_1]), Var0);
  	}
  	else
  	{
  		unk_0xD2459066EA58CE43(&(Global_37408[Var0.f_1]), Var0);
  	}
  }
  
  var func_239(int iParam0, int iParam1)
  {
  	struct<5> Var0;
  	
  	Var0 = { func_240(iParam0) };
  	*iParam1 = unk_0xC519B5898C2310B1(Var0, Var0.f_3);
  	return Var0.f_4;
  }
  
  struct<5> func_240(int iParam0)
  {
  	struct<5> Var0;
  	struct<3> Var1;
  	
  	switch (iParam0)
  	{
  		case 0:
  			Var0 = { -447.4833f, 280.3197f, 77.5215f };
  			Var0.f_3 = "v_comedy";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 1:
  			Var0 = { -1906.786f, -573.7576f, 19.0773f };
  			Var0.f_3 = "v_psycheoffice";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 2:
  			Var0 = { 1399.973f, 1148.756f, 113.3336f };
  			Var0.f_3 = "v_ranch";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 3:
  			Var0 = { -598.6379f, -1608.399f, 26.0108f };
  			Var0.f_3 = "v_recycle";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 4:
  			Var0 = { -556.5089f, 286.3181f, 81.1763f };
  			Var0.f_3 = "v_rockclub";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 5:
  			Var0 = { -111.7116f, -11.912f, 69.5196f };
  			Var0.f_3 = "v_janitor";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 6:
  			Var0 = { 1274.934f, -1714.726f, 53.7715f };
  			Var0.f_3 = "v_lesters";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 7:
  			Var0 = { 147.433f, -2201.37f, 3.688f };
  			Var0.f_3 = "v_torture";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 8:
  			Var0 = { 320.9934f, 265.2515f, 82.1221f };
  			Var0.f_3 = "v_cinema";
  			Var0.f_4 = "v_cinema (Vinewood)";
  			break;
  		
  		case 9:
  			Var0 = { -1425.564f, -244.3f, 15.8053f };
  			Var0.f_3 = "v_cinema";
  			Var0.f_4 = "v_cinema (Morningwood)";
  			break;
  		
  		case 10:
  			Var0 = { 377.153f, -717.567f, 10.0536f };
  			Var0.f_3 = "v_cinema";
  			Var0.f_4 = "v_cinema (Downtown)";
  			break;
  		
  		case 11:
  			Var0 = { 245.1564f, 370.211f, 104.7382f };
  			Var0.f_3 = "v_epsilonism";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 12:
  			Var0 = { 173.1176f, -1003.279f, -99.9999f };
  			Var0.f_3 = "v_garages";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 13:
  			Var0 = { 199.9715f, -999.6678f, -100f };
  			Var0.f_3 = "v_garagem";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 14:
  			Var0 = { 228.6058f, -992.0537f, -99.9999f };
  			Var0.f_3 = "v_garagel";
  			Var0.f_3 = "hei_dlc_garage_high_new";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 15:
  			Var0 = { 1854.254f, 3686.739f, 33.2671f };
  			Var0.f_3 = "v_sheriff";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 16:
  			Var0 = { -444.8907f, 6013.587f, 30.7164f };
  			Var0.f_3 = "v_sheriff2";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 17:
  			Var0 = { 3522.845f, 3707.965f, 19.9918f };
  			Var0.f_3 = "v_lab";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 18:
  			Var0 = { 717.2994f, -974.4271f, 23.9142f };
  			Var0.f_3 = "v_sweat";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 19:
  			Var0 = { 717.299f, -974.4271f, 23.9142f };
  			Var0.f_3 = "v_sweatempty";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 20:
  			Var0 = { 2449.785f, 4983.825f, 45.8106f };
  			Var0.f_3 = "v_farmhouse";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 22:
  			Var0 = { 1087.195f, -1988.445f, 28.649f };
  			Var0.f_3 = "v_foundry";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 23:
  			Var0 = { 982.233f, -2160.382f, 28.4761f };
  			Var0.f_3 = "v_abattoir";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 21:
  			Var0 = { 479.0568f, -1316.825f, 28.2038f };
  			Var0.f_3 = "v_chopshop";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 24:
  			Var0 = { -1005.663f, -478.3461f, 49.0265f };
  			Var0.f_3 = "v_58_sol_office";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 25:
  			Var1 = { func_241(1, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (1)";
  			break;
  		
  		case 26:
  			Var1 = { func_241(2, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (2)";
  			break;
  		
  		case 27:
  			Var1 = { func_241(3, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (3)";
  			break;
  		
  		case 28:
  			Var1 = { func_241(4, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (4)";
  			break;
  		
  		case 29:
  			Var1 = { func_241(5, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (5)";
  			break;
  		
  		case 30:
  			Var1 = { func_241(6, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (6)";
  			break;
  		
  		case 31:
  			Var1 = { func_241(7, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (7)";
  			break;
  		
  		case 32:
  			Var0 = { Global_1049924[34 /*1951*/].f_146.f_1517 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (8)";
  			break;
  		
  		case 33:
  			Var1 = { func_241(35, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (9)";
  			break;
  		
  		case 34:
  			Var1 = { func_241(36, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (10)";
  			break;
  		
  		case 35:
  			Var1 = { func_241(37, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (11)";
  			break;
  		
  		case 36:
  			Var1 = { func_241(38, 0) };
  			Var0 = { -20.1f, -580.8f, 91.3f };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (12)";
  			break;
  		
  		case 37:
  			Var1 = { func_241(39, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (13)";
  			break;
  		
  		case 38:
  			Var1 = { func_241(40, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (14)";
  			break;
  		
  		case 39:
  			Var1 = { func_241(41, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (15)";
  			break;
  		
  		case 40:
  			Var1 = { func_241(42, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (16)";
  			break;
  		
  		case 41:
  			Var1 = { func_241(43, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (17)";
  			break;
  		
  		case 42:
  			Var0 = { -470.3754f, -698.5207f, 51.5276f };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (18)";
  			break;
  		
  		case 43:
  			Var0 = { -460.6133f, -691.5562f, 69.9067f };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (19)";
  			break;
  		
  		case 44:
  			Var0 = { 300.633f, -997.4288f, -99.9727f };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = "hei_dlc_apart_high_new (20)";
  			break;
  		
  		case 49:
  			Var0 = { -171.3969f, 494.2671f, 134.4935f };
  			Var0.f_3 = "apa_v_mp_stilts_b";
  			Var0.f_4 = "apa_v_mp_stilts_b (1)";
  			break;
  		
  		case 50:
  			Var0 = { 339.4982f, 434.0887f, 146.2206f };
  			Var0.f_3 = "apa_v_mp_stilts_b";
  			Var0.f_4 = "apa_v_mp_stilts_b (2)";
  			break;
  		
  		case 51:
  			Var0 = { -761.3884f, 615.7333f, 140.9805f };
  			Var0.f_3 = "apa_v_mp_stilts_b";
  			Var0.f_4 = "apa_v_mp_stilts_b (3)";
  			break;
  		
  		case 52:
  			Var0 = { -678.1752f, 591.0076f, 142.2196f };
  			Var0.f_3 = "apa_v_mp_stilts_b";
  			Var0.f_4 = "apa_v_mp_stilts_b (4)";
  			break;
  		
  		case 53:
  			Var0 = { 120.0541f, 553.793f, 181.0943f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (5)";
  			break;
  		
  		case 54:
  			Var0 = { -571.4039f, 655.2008f, 142.6293f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (7)";
  			break;
  		
  		case 55:
  			Var0 = { -742.2565f, 587.6547f, 143.0577f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (8)";
  			break;
  		
  		case 56:
  			Var0 = { -857.2222f, 685.051f, 149.6502f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (10)";
  			break;
  		
  		case 57:
  			Var0 = { -1287.65f, 443.2707f, 94.6919f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (12)";
  			break;
  		
  		case 58:
  			Var0 = { 374.2012f, 416.9688f, 142.5991f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = "apa_v_mp_stilts_a (13)";
  			break;
  		
  		case 45:
  			Var0 = { -16.29585f, -684.0385f, 33.50832f };
  			Var0.f_3 = "dt1_03_carpark";
  			Var0.f_4 = "dt1_03_carpark";
  			break;
  		
  		case 46:
  			Var0 = { 341.1f, -1000f, -99.2f };
  			Var0.f_3 = "v_apart_midspaz";
  			Var0.f_4 = "v_apart_midspaz";
  			break;
  		
  		case 47:
  			Var0 = { 199.9716f, -1018.954f, -100f };
  			Var0.f_3 = "v_garagem_sp";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 48:
  			Var0 = { -1388.001f, -618.4197f, 30.8196f };
  			Var0.f_3 = "v_bahama";
  			Var0.f_4 = Var0.f_3;
  			break;
  	}
  	switch (iParam0)
  	{
  		case 59:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 60:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 61:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_03";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 62:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_04";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 63:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_05";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 64:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_06";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 65:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_07";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 66:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = "apa_v_mp_h_08";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 67:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 68:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 69:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_03";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 70:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_04";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 71:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_05";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 72:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_06";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 73:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_07";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 74:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = "apa_v_mp_h_08";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 75:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 76:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 77:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_03";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 78:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_04";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_05";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 80:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_06";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 81:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_07";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 82:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = "apa_v_mp_h_08";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 83:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 84:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 85:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 86:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 87:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 88:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 89:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 90:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 91:
  			Var1 = { func_241(87, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 92:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 93:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 94:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 95:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 96:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 97:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 98:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 99:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 100:
  			Var1 = { func_241(88, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 101:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 102:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 103:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 104:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 105:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 106:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 107:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 108:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 109:
  			Var1 = { func_241(89, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 110:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 111:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 112:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_01c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 113:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 114:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 115:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_02c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 116:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03a_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 117:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03b_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 118:
  			Var1 = { func_241(90, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "ex_int_office_03c_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 119:
  			Var1 = { func_241(91, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "bkr_biker_dlc_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 120:
  			Var1 = { func_241(97, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "bkr_biker_dlc_int_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 121:
  			Var1 = { func_241(103, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 122:
  			Var1 = { func_241(104, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 123:
  			Var1 = { func_241(105, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 124:
  			Var1 = { func_241(106, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 125:
  			Var1 = { func_241(107, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 126:
  			Var1 = { func_241(108, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 127:
  			Var1 = { func_241(109, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 128:
  			Var1 = { func_241(110, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 129:
  			Var1 = { func_241(111, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 130:
  			Var1 = { func_241(112, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 131:
  			Var1 = { func_241(113, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 132:
  			Var1 = { func_241(114, 0) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_impexp_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 133:
  			Var1 = { func_241(103, 1) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_imptexp_mod_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 134:
  			Var1 = { func_241(106, 1) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_imptexp_mod_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 135:
  			Var1 = { func_241(109, 1) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_imptexp_mod_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 136:
  			Var1 = { func_241(112, 1) };
  			Var0 = { Var1 + Vector(1f, 0f, 0f) };
  			Var0.f_3 = "imp_imptexp_mod_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 137:
  			Var0 = { 938.3077f, -3196.112f, -100f };
  			Var0.f_3 = "gr_grdlc_int_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 138:
  			Var0 = { 512.5f, 4852f, -62.6f };
  			Var0.f_3 = "xm_x17dlc_int_sub";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 139:
  			Var0 = { 2047f, 2942f, -61.9f };
  			Var0.f_3 = "xm_x17dlc_int_facility";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 140:
  			Var0 = { -1047.6f, -232.3503f, 38.0135f };
  			Var0.f_3 = "v_faceoffice";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 22:
  			Var0 = { 1100f, -2004f, 37f };
  			Var0.f_3 = "v_foundry";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 141:
  			Var0 = { 361f, 6306f, -159f };
  			Var0.f_3 = "xm_x17dlc_int_silo_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 142:
  			Var0 = { 305f, 6298f, -160f };
  			Var0.f_3 = "xm_x17dlc_int_silo_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 143:
  			Var0 = { 244f, 6163f, -159f };
  			Var0.f_3 = "xm_x17dlc_int_lab";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 144:
  			Var0 = { 2168f, 2920f, -84f };
  			Var0.f_3 = "xm_x17dlc_int_facility2";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 145:
  			Var0 = { 446f, 5922f, -158f };
  			Var0.f_3 = "xm_x17dlc_int_bse_tun";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 146:
  			Var0 = { 252f, 5972f, -156f };
  			Var0.f_3 = "xm_x17dlc_int_base_loop";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 147:
  			Var0 = { 682f, 5959f, -152f };
  			Var0.f_3 = "xm_x17dlc_int_base_ent";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 148:
  			Var0 = { 551f, 5939f, -158f };
  			Var0.f_3 = "xm_x17dlc_int_base";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 149:
  			Var0 = { 520.0001f, 4750f, -70f };
  			Var0.f_3 = "xm_x17dlc_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 150:
  			Var0 = { -1266.802f, -3014.849f, -49.4903f };
  			Var0.f_3 = "sm_smugdlc_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 151:
  			Var0 = { 974.9203f, -3000.065f, -40.647f };
  			Var0.f_3 = "imp_impexp_intwaremed";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 152:
  			Var0 = { 969.5376f, -3000.411f, -48.647f };
  			Var0.f_3 = "imp_impexp_int_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 153:
  			Var0 = { 1094.997f, -3100.012f, -39.9999f };
  			Var0.f_3 = "ex_int_warehouse_s_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 154:
  			Var0 = { 1059.995f, -3100f, -39.9999f };
  			Var0.f_3 = "ex_int_warehouse_m_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 155:
  			Var0 = { 1010.008f, -3100f, -39.9999f };
  			Var0.f_3 = "ex_int_warehouse_l_dlc";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 156:
  			Var0 = { 372.6707f, 405.5235f, 144.5326f };
  			Var0.f_3 = "apa_v_mp_stilts_a";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 157:
  			Var0 = { -282.0588f, -955.17f, 85.3036f };
  			Var0.f_3 = "hei_dlc_apart_high_new";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 158:
  			Var0 = { 342.7946f, -997.4225f, -99.7444f };
  			Var0.f_3 = "v_apart_midspaz";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 159:
  			Var0 = { 260.3268f, -997.4298f, -100.0086f };
  			Var0.f_3 = "v_studio_lo";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 160:
  			Var0 = { 108.2369f, -753.5364f, 233.1523f };
  			Var0.f_3 = "v_fib01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 161:
  			Var0 = { 135.3226f, -746.3677f, 253.1523f };
  			Var0.f_3 = "v_fib03";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 162:
  			Var0 = { 108.2572f, -753.5342f, 44.7548f };
  			Var0.f_3 = "v_office_lobby";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 163:
  			Var0 = { 228.6161f, -992.053f, -99.9999f };
  			Var0.f_3 = "heist_dlc_garage_high_new";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 164:
  			Var0 = { 199.9716f, -999.6678f, -100f };
  			Var0.f_3 = "v_garagem";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 165:
  			Var0 = { 173.1165f, -1003.28f, -99.9999f };
  			Var0.f_3 = "v_garages";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 166:
  			Var0 = { 575f, 4750f, -60f };
  			Var0.f_3 = "xm_v_apart_midspaz";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 167:
  			Var0 = { 600f, 4750f, -60f };
  			Var0.f_3 = "xm_v_studio_lo";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 168:
  			Var0 = { 630f, 4750f, -60f };
  			Var0.f_3 = "xm_v_garagem";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 169:
  			Var0 = { 1257f, 4796.7f, -39.1f };
  			Var0.f_3 = "xm_x17dlc_int_tun_entry";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 170:
  			Var0 = { 694.4f, 5898.9f, -152.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_straight";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 171:
  			Var0 = { 1121.8f, 5516.3f, -101.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_straight";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 172:
  			Var0 = { 1279.6f, 5233.2f, -80.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_straight";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 173:
  			Var0 = { 1158.6f, 5467.1f, -101.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_slope_flat";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 174:
  			Var0 = { 705.9f, 5838.5f, -152.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_slope_flat";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 175:
  			Var0 = { 1316.5f, 5184f, -80.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_slope_flat";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 176:
  			Var0 = { 1248f, 5276.1f, -80.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_flat_slope";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 177:
  			Var0 = { 1090.2f, 5559.2f, -101.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_flat_slope";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 178:
  			Var0 = { 1261f, 4808.6f, -39.3f };
  			Var0.f_3 = "xm_x17dlc_int_tun_flat_slope";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 179:
  			Var0 = { 721.8f, 5781.4f, -146.7f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_r";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 180:
  			Var0 = { 780.8f, 5703.4f, -136.7f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_r";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 181:
  			Var0 = { 868.1f, 5659.2f, -126.7f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_r";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 182:
  			Var0 = { 1218.2f, 5321.2f, -85.7f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_r";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 183:
  			Var0 = { 1278.5f, 4859.7f, -44.7f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_r";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 184:
  			Var0 = { 1187.2f, 5419.8f, -96.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 185:
  			Var0 = { 1344.7f, 5136.4f, -75.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 186:
  			Var0 = { 1363.4f, 5039.5f, -65.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 187:
  			Var0 = { 1049.3f, 5602.1f, -107.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 188:
  			Var0 = { 1337.8f, 4944.3f, -55.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 189:
  			Var0 = { 961.5f, 5646.9f, -117.4f };
  			Var0.f_3 = "xm_x17dlc_int_tun_30d_l";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 190:
  			Var0 = { 345.0041f, 4842.001f, -59.9997f };
  			Var0.f_3 = "xm_x17dlc_int_02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 191:
  			Var0 = { 279.9322f, -1337.49f, 23.7419f };
  			Var0.f_3 = "v_coroner";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 192:
  			Var0 = { -1604.664f, -3012.583f, -79.9999f };
  			Var0.f_3 = "ba_dlc_int_01_ba";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 193:
  			Var0 = { -1505.783f, -3012.587f, -79.9999f };
  			Var0.f_3 = "ba_dlc_int_02_ba";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 194:
  			Var0 = { -630.4205f, -236.7843f, 37.057f };
  			Var0.f_3 = "V_JEWEL2";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 195:
  			Var0 = { 2800f, -3800f, 100f };
  			Var0.f_3 = "xs_x18_int_01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 196:
  			Var0 = { 2800f, -3942f, 182.5f };
  			Var0.f_3 = "xs_arena_vip";
  			Var0.f_4 = Var0.f_3;
  			break;
  			break;
  		
  		case 197:
  			Var0 = { 1049.6f, -3196.6f, -38.5f };
  			Var0.f_3 = "bkr_biker_dlc_int_ware02";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 198:
  			Var0 = { 1093.6f, -3196.6f, -38.5f };
  			Var0.f_3 = "bkr_biker_dlc_int_ware03";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 199:
  			Var0 = { 1009.5f, -3196.6f, -38.5f };
  			Var0.f_3 = "bkr_biker_dlc_int_ware01";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 200:
  			Var0 = { 1100f, 245f, -49f };
  			Var0.f_3 = "vw_dlc_casino_main";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 201:
  			Var0 = { 1380f, 200f, -50f };
  			Var0.f_3 = "vw_dlc_casino_carpark";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 202:
  			Var0 = { 976.6364f, 70.29476f, 115.1641f };
  			Var0.f_3 = "vw_dlc_casino_apart";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 203:
  			Var0 = { 1295f, 230f, -50f };
  			Var0.f_3 = "vw_dlc_casino_garage";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 204:
  			Var0 = { 2479.3f, -273.9f, -58f };
  			Var0.f_3 = "ch_DLC_Casino_Heist";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 205:
  			Var0 = { 2730f, -380f, -49f };
  			Var0.f_3 = "ch_DLC_Arcade";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 206:
  			Var0 = { 2800f, -380f, -48.5f };
  			Var0.f_3 = "ch_DLC_Plan";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 207:
  			Var0 = { 2497.7f, -312.8f, -69.9f };
  			Var0.f_3 = "ch_DLC_Tunnel";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 208:
  			Var0 = { 2523.4f, -270f, -58.7f };
  			Var0.f_3 = "ch_DLC_Casino_Back";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 209:
  			Var0 = { 2504.4f, -257.2f, -39.1f };
  			Var0.f_3 = "ch_DLC_Casino_Hotel";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 210:
  			Var0 = { 2554f, -281.4f, -64.7f };
  			Var0.f_3 = "ch_DLC_Casino_Loading";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 211:
  			Var0 = { 2488.3f, -267.4f, -70.6f };
  			Var0.f_3 = "ch_DLC_Casino_Vault";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 212:
  			Var0 = { 2519.9f, -255.3f, -24.1f };
  			Var0.f_3 = "ch_DLC_Casino_Utility";
  			Var0.f_4 = Var0.f_3;
  			break;
  		
  		case 213:
  			Var0 = { 2572.9f, -253.4f, -64.7f };
  			Var0.f_3 = "ch_dlc_casino_shaft";
  			Var0.f_4 = Var0.f_3;
  			break;
  			return Var0;
  	}
  }
  
  struct<6> func_241(int iParam0, bool bParam1)
  {
  	struct<6> Var0;
  	
  	switch (iParam0)
  	{
  		case -1:
  			Var0 = { -794.9184f, 339.6266f, 200.4135f };
  			Var0.f_3 = { 0f, 0f, 180f };
  			break;
  		
  		case 1:
  			Var0 = { -794.9184f, 339.6266f, 200.4135f };
  			Var0.f_3 = { 0f, 0f, 180f };
  			break;
  		
  		case 2:
  			Var0 = { -761.0982f, 317.6259f, 169.5963f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 3:
  			Var0 = { -761.1888f, 317.6295f, 216.0503f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 4:
  			Var0 = { -795.3856f, 340.0188f, 152.7941f };
  			Var0.f_3 = { 0f, 0f, 180f };
  			break;
  		
  		case 61:
  			Var0 = { -778.5056f, 332.3779f, 212.1968f };
  			Var0.f_3 = { 0f, 0f, 90f };
  			break;
  		
  		case 5:
  			Var0 = { -258.1807f, -950.6853f, 70.0239f };
  			Var0.f_3 = { 0f, 0f, 70f };
  			break;
  		
  		case 6:
  			Var0 = { -285.0051f, -957.6552f, 85.3035f };
  			Var0.f_3 = { 0f, 0f, -110f };
  			break;
  		
  		case 7:
  			Var0 = { -1471.882f, -530.7484f, 62.34918f };
  			Var0.f_3 = { 0f, 0f, -145f };
  			break;
  		
  		case 34:
  			Var0 = { -1471.882f, -530.7484f, 49.72156f };
  			Var0.f_3 = { 0f, 0f, -145f };
  			break;
  		
  		case 62:
  			Var0 = { -1463.15f, -540.2369f, 74.2439f };
  			Var0.f_3 = { 0f, 0f, -145f };
  			break;
  		
  		case 35:
  			Var0 = { -885.3702f, -451.4775f, 119.327f };
  			Var0.f_3 = { 0f, 0f, 27.55617f };
  			break;
  		
  		case 36:
  			Var0 = { -913.0385f, -438.4284f, 114.3997f };
  			Var0.f_3 = { 0f, 0f, -153.3093f };
  			break;
  		
  		case 37:
  			Var0 = { -892.5499f, -430.4789f, 88.25368f };
  			Var0.f_3 = { 0f, 0f, 116.9193f };
  			break;
  		
  		case 38:
  			Var0 = { -35.0462f, -576.317f, 82.90739f };
  			Var0.f_3 = { 0f, 0f, 160f };
  			break;
  		
  		case 39:
  			Var0 = { -10.3788f, -590.7431f, 93.02542f };
  			Var0.f_3 = { 0f, 0f, 70f };
  			break;
  		
  		case 65:
  			Var0 = { -22.2487f, -589.1461f, 80.2305f };
  			Var0.f_3 = { 0f, 0f, 69.88f };
  			break;
  		
  		case 40:
  			Var0 = { -900.6311f, -376.7462f, 78.27306f };
  			Var0.f_3 = { 0f, 0f, 26.92611f };
  			break;
  		
  		case 41:
  			Var0 = { -929.483f, -374.5104f, 102.2329f };
  			Var0.f_3 = { 0f, 0f, -152.5531f };
  			break;
  		
  		case 63:
  			Var0 = { -914.4202f, -375.8189f, 114.4743f };
  			Var0.f_3 = { 0f, 0f, -63f };
  			break;
  		
  		case 42:
  			Var0 = { -617.1647f, 64.6042f, 100.8196f };
  			Var0.f_3 = { 0f, 0f, 180f };
  			break;
  		
  		case 43:
  			Var0 = { -584.2015f, 42.7133f, 86.4187f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 64:
  			Var0 = { -609.5665f, 50.2203f, 98.3998f };
  			Var0.f_3 = { 0f, 0f, -90f };
  			break;
  		
  		case 73:
  			Var0 = { -171.3969f, 494.2671f, 134.4935f };
  			Var0.f_3 = { 0f, 0f, 11f };
  			break;
  		
  		case 74:
  			Var0 = { 339.4982f, 434.0887f, 146.2206f };
  			Var0.f_3 = { 0f, 0f, -63.5f };
  			break;
  		
  		case 75:
  			Var0 = { -761.3884f, 615.7333f, 140.9805f };
  			Var0.f_3 = { 0f, 0f, -71.5f };
  			break;
  		
  		case 76:
  			Var0 = { -678.1752f, 591.0076f, 142.2196f };
  			Var0.f_3 = { 0f, 0f, 40.5f };
  			break;
  		
  		case 77:
  			Var0 = { 120.0541f, 553.793f, 181.0943f };
  			Var0.f_3 = { 0f, 0f, 6f };
  			break;
  		
  		case 78:
  			Var0 = { -571.4039f, 655.2008f, 142.6293f };
  			Var0.f_3 = { 0f, 0f, -14.5f };
  			break;
  		
  		case joaat("MPSV_LP0_31"):
  			Var0 = { -742.2565f, 587.6547f, 143.0577f };
  			Var0.f_3 = { 0f, 0f, -29f };
  			break;
  		
  		case 80:
  			Var0 = { -857.2222f, 685.051f, 149.6502f };
  			Var0.f_3 = { 0f, 0f, 4.5f };
  			break;
  		
  		case 81:
  			Var0 = { -1287.65f, 443.2707f, 94.6919f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 82:
  			Var0 = { 374.2012f, 416.9688f, 142.6977f };
  			Var0.f_3 = { 0f, 0f, -14f };
  			break;
  		
  		case 83:
  			Var0 = { -787.7805f, 334.9232f, 186.1134f };
  			Var0.f_3 = { 0f, 0f, 90f };
  			break;
  		
  		case 84:
  			Var0 = { -787.7805f, 334.9232f, 215.8384f };
  			Var0.f_3 = { 0f, 0f, 90f };
  			break;
  		
  		case 85:
  			Var0 = { -773.2258f, 322.8252f, 194.8862f };
  			Var0.f_3 = { 0f, 0f, -90f };
  			break;
  		
  		case 86:
  			Var0 = { -1573.098f, -4085.806f, 9.7851f };
  			Var0.f_3 = { 0f, 0f, 162f };
  			break;
  		
  		case 8:
  		case 9:
  		case 10:
  		case 11:
  		case 12:
  		case 13:
  		case 14:
  		case 15:
  		case 16:
  		case 66:
  		case 67:
  		case 68:
  		case 69:
  			Var0 = { 342.8157f, -997.4288f, -100f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 17:
  		case 18:
  		case 19:
  		case 20:
  		case 21:
  		case 22:
  		case 23:
  		case 70:
  		case 71:
  		case 72:
  			Var0 = { 260.3297f, -997.4288f, -100f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 87:
  			Var0 = { -1572.187f, -570.8315f, 109.9879f };
  			Var0.f_3 = { 0f, 0f, -54f };
  			break;
  		
  		case 88:
  			Var0 = { -1383.954f, -476.7112f, 73.507f };
  			Var0.f_3 = { 0f, 0f, 8f };
  			break;
  		
  		case 89:
  			Var0 = { -138.0029f, -629.739f, 170.2854f };
  			Var0.f_3 = { 0f, 0f, -84f };
  			break;
  		
  		case 90:
  			Var0 = { -74.8895f, -817.6883f, 244.8508f };
  			Var0.f_3 = { 0f, 0f, 70f };
  			break;
  		
  		case 91:
  		case 92:
  		case 93:
  		case 94:
  		case 95:
  		case 96:
  			Var0 = { 1100.764f, -3159.384f, -34.9342f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 97:
  		case 98:
  		case 99:
  		case 100:
  		case 101:
  		case 102:
  			Var0 = { 1005.806f, -3157.67f, -36.0897f };
  			Var0.f_3 = { 0f, 0f, 0f };
  			break;
  		
  		case 103:
  			if (!bParam1)
  			{
  				Var0 = { -1576.571f, -569.7595f, 85.5f };
  				Var0.f_3 = { 0f, 0f, 36.1f };
  			}
  			else
  			{
  				Var0 = { -1578.022f, -576.4251f, 104.2f };
  				Var0.f_3 = { 0f, 0f, -144.04f };
  			}
  			break;
  		
  		case 104:
  			if (!bParam1)
  			{
  				Var0 = { -1571.254f, -566.5865f, 85.5f };
  				Var0.f_3 = { 0f, 0f, -53.9f };
  			}
  			else
  			{
  				Var0 = { -1578.022f, -576.4251f, 104.2f };
  				Var0.f_3 = { 0f, 0f, -144.04f };
  			}
  			break;
  		
  		case 105:
  			if (!bParam1)
  			{
  				Var0 = { -1568.098f, -571.9171f, 85.5f };
  				Var0.f_3 = { 0f, 0f, -143.9f };
  			}
  			else
  			{
  				Var0 = { -1578.022f, -576.4251f, 104.2f };
  				Var0.f_3 = { 0f, 0f, -144.04f };
  			}
  			break;
  		
  		case 106:
  			if (!bParam1)
  			{
  				Var0 = { -1384.518f, -475.8657f, 56.1f };
  				Var0.f_3 = { 0f, 0f, 98.7f };
  			}
  			else
  			{
  				Var0 = { -1391.245f, -473.9638f, 77.2f };
  				Var0.f_3 = { 0f, 0f, 98.86f };
  			}
  			break;
  		
  		case 107:
  			if (!bParam1)
  			{
  				Var0 = { -1384.538f, -475.8829f, 48.1f };
  				Var0.f_3 = { 0f, 0f, 98.7f };
  			}
  			else
  			{
  				Var0 = { -1391.245f, -473.9638f, 77.2f };
  				Var0.f_3 = { 0f, 0f, 98.86f };
  			}
  			break;
  		
  		case 108:
  			if (!bParam1)
  			{
  				Var0 = { -1378.994f, -477.2481f, 56.1f };
  				Var0.f_3 = { 0f, 0f, -81.1f };
  			}
  			else
  			{
  				Var0 = { -1391.245f, -473.9638f, 77.2f };
  				Var0.f_3 = { 0f, 0f, 98.86f };
  			}
  			break;
  		
  		case 109:
  			if (!bParam1)
  			{
  				Var0 = { -186.5683f, -576.4624f, 135f };
  				Var0.f_3 = { 0f, 0f, 96.16f };
  			}
  			else
  			{
  				Var0 = { -146.6167f, -596.6301f, 166f };
  				Var0.f_3 = { 0f, 0f, -140f };
  			}
  			break;
  		
  		case 110:
  			if (!bParam1)
  			{
  				Var0 = { -113.886f, -564.3862f, 135f };
  				Var0.f_3 = { 0f, 0f, 110.96f };
  			}
  			else
  			{
  				Var0 = { -146.6167f, -596.6301f, 166f };
  				Var0.f_3 = { 0f, 0f, -140f };
  			}
  			break;
  		
  		case 111:
  			if (!bParam1)
  			{
  				Var0 = { -134.6568f, -635.1774f, 135f };
  				Var0.f_3 = { 0f, 0f, -9.04f };
  			}
  			else
  			{
  				Var0 = { -146.6167f, -596.6301f, 166f };
  				Var0.f_3 = { 0f, 0f, -140f };
  			}
  			break;
  		
  		case 112:
  			if (!bParam1)
  			{
  				Var0 = { -79.0479f, -822.6393f, 221f };
  				Var0.f_3 = { 0f, 0f, 70f };
  			}
  			else
  			{
  				Var0 = { -73.904f, -821.6204f, 284f };
  				Var0.f_3 = { 0f, 0f, -110f };
  			}
  			break;
  		
  		case 113:
  			if (!bParam1)
  			{
  				Var0 = { -70.3086f, -819.5784f, 221f };
  				Var0.f_3 = { 0f, 0f, 160f };
  			}
  			else
  			{
  				Var0 = { -73.904f, -821.6204f, 284f };
  				Var0.f_3 = { 0f, 0f, -110f };
  			}
  			break;
  		
  		case 114:
  			if (!bParam1)
  			{
  				Var0 = { -79.9861f, -818.425f, 221f };
  				Var0.f_3 = { 0f, 0f, -20f };
  			}
  			else
  			{
  				Var0 = { -73.904f, -821.6204f, 284f };
  				Var0.f_3 = { 0f, 0f, -110f };
  			}
  			break;
  	}
  	return Var0;
  }
  
  int func_242(var uParam0)
  {
  	if (!unk_0x33CDB98869100CA5("Office_Background_Stream", "SHRINK_SOUNDS"))
  	{
  		return 0;
  	}
  	if (func_243(uParam0))
  	{
  		if (unk_0xF5EE205091CE6DB2(0))
  		{
  			return 1;
  		}
  	}
  	return 0;
  }
  
  int func_243(var uParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if ((*uParam0)[iVar0] != 0)
  		{
  			if (!unk_0x7D167B9A0CCDA347((*uParam0)[iVar0]))
  			{
  				if (!unk_0x7D167B9A0CCDA347((*uParam0)[iVar0]))
  				{
  				}
  				return 0;
  			}
  		}
  		iVar0++;
  	}
  	return 1;
  }
  
  void func_244(var uParam0)
  {
  	if (!func_77(uParam0))
  	{
  		func_121(uParam0);
  	}
  }
  
  void func_245()
  {
  	Global_22411.f_5 = 1;
  }
  
  void func_246(var uParam0, int iParam1, int iParam2, int iParam3, int iParam4, int iParam5, int iParam6)
  {
  	func_249(uParam0, iParam1);
  	func_249(uParam0, iParam3);
  	func_249(uParam0, iParam2);
  	func_249(uParam0, iParam5);
  	if (iParam6 == 4)
  	{
  		func_249(uParam0, iParam4);
  	}
  	func_248(uParam0);
  	unk_0xBAA4D421B8B8A744("SHRINK", 0);
  	unk_0x33CDB98869100CA5("Office_Background_Stream", "SHRINK_SOUNDS");
  	unk_0x73287EF8736B0258(-1904.2f, -573.2f, 19.6f, -0.2f, 0f, -59.4f, 10f, 0);
  	func_247();
  }
  
  void func_247()
  {
  	unk_0x131ED02492676000("missdrfriedlanderdrf_idles");
  	unk_0x131ED02492676000("facials@drf");
  }
  
  void func_248(var uParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if ((*uParam0)[iVar0] != 0)
  		{
  			unk_0x78FCB2E22C41B9D5((*uParam0)[iVar0]);
  		}
  		iVar0++;
  	}
  }
  
  int func_249(var uParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if ((*uParam0)[iVar0] != 0)
  		{
  			if ((*uParam0)[iVar0] == iParam1)
  			{
  				return 0;
  			}
  		}
  		iVar0++;
  	}
  	iVar1 = func_250(uParam0);
  	if (iVar1 < 0 || iVar1 >= *uParam0)
  	{
  		return 0;
  	}
  	(*uParam0)[iVar1] = iParam1;
  	return 1;
  }
  
  int func_250(var uParam0)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < *uParam0)
  	{
  		if ((*uParam0)[iVar0] == 0)
  		{
  			return iVar0;
  		}
  		iVar0++;
  	}
  	return -1;
  }
  
  int func_251()
  {
  	int iVar0;
  	
  	if (unk_0x5AEB5DDFFAD43CA5(unk_0x9B0761B4C3EB8BC7()))
  	{
  		return 0;
  	}
  	unk_0x1386E5E658CE3032(unk_0x9B0761B4C3EB8BC7(), &iVar0, 1);
  	if ((((iVar0 == 0 || iVar0 == joaat("weapon_unarmed")) || iVar0 == joaat("weapon_electric_fence")) || iVar0 == joaat("gadget_parachute")) || iVar0 == joaat("object"))
  	{
  		return 0;
  	}
  	return 1;
  }
  
  void func_252(char* sParam0, int iParam1)
  {
  	switch (iParam1)
  	{
  		case 0:
  			StringCopy(sParam0, "DRF_MIC_1_CS_1", 24);
  			StringCopy(&(sParam0->f_6), "OBTNR1", 24);
  			StringCopy(&(sParam0->f_12), "DRF_MIC_1_CS_2", 24);
  			sParam0->f_18 = 293200;
  			break;
  		
  		case 1:
  			StringCopy(sParam0, "DRF_MIC_2_CS_1", 24);
  			StringCopy(&(sParam0->f_6), "OBTNR2", 24);
  			StringCopy(&(sParam0->f_12), "DRF_MIC_2_CS_2", 24);
  			sParam0->f_18 = 243600;
  			break;
  		
  		case 2:
  			StringCopy(sParam0, "PBTINT1", 24);
  			StringCopy(&(sParam0->f_6), "PBTNR2", 24);
  			StringCopy(&(sParam0->f_12), "PBTOUT1", 24);
  			break;
  		
  		case 3:
  			StringCopy(sParam0, "PBTINT2", 24);
  			StringCopy(&(sParam0->f_6), "PBTNR3", 24);
  			StringCopy(&(sParam0->f_12), "PBTOUT2", 24);
  			break;
  		
  		case 4:
  			StringCopy(sParam0, "DRF_MIC_3_CS_1", 24);
  			StringCopy(&(sParam0->f_6), "OBTNR1", 24);
  			StringCopy(&(sParam0->f_12), "DRF_MIC_3_CS_2", 24);
  			sParam0->f_18 = 252700;
  			break;
  		
  		default:
  			break;
  	}
  }
  
  int func_253()
  {
  	return 1;
  }
  
  void func_254(int iParam0, int iParam1, var uParam2, int iParam3)
  {
  	unk_0x644F1D0C5427A242(1);
  	unk_0x8CFF639CEFF5CF16(1);
  	func_258();
  	if (unk_0xAE06B9E39EBDE049(*iParam1))
  	{
  		unk_0xE730EAF558C97567(iParam1);
  	}
  	if (unk_0xAE06B9E39EBDE049(*iParam0) && !unk_0xA59F96B50B97E63C(*iParam0, 0))
  	{
  		unk_0x9B94F6169B0DAEFD(*iParam0);
  		unk_0x6A8F948698B360B4(*iParam0, 0);
  	}
  	if (unk_0xAE06B9E39EBDE049(unk_0x9B0761B4C3EB8BC7()) && !unk_0xA59F96B50B97E63C(unk_0x9B0761B4C3EB8BC7(), 0))
  	{
  		unk_0x9B94F6169B0DAEFD(unk_0x9B0761B4C3EB8BC7());
  		unk_0x6A8F948698B360B4(unk_0x9B0761B4C3EB8BC7(), 0);
  		if (!unk_0x47DBF174A0CB9D55(unk_0x9B0761B4C3EB8BC7(), 0))
  		{
  			unk_0x58ADF88C51AAFDC5(unk_0x9B0761B4C3EB8BC7(), 1, 0);
  		}
  		unk_0xDDEDC06C88DA4E04(unk_0x460153A63B9477BC(), 1, 0);
  	}
  	func_256();
  	func_255();
  	if (iParam3 >= 15)
  	{
  		func_235(1, 1);
  		if (unk_0x40397A9A17EEC1C5(uParam2))
  		{
  			unk_0xB8B0F7C8C1548C5B(uParam2, 0);
  		}
  	}
  	if (unk_0x5DA78AD6801A0523() || unk_0x03DB5C6AABF8DA46())
  	{
  		unk_0xFD45D90342D2A0CD(500);
  	}
  	unk_0xD39E529EBE5DB04F();
  }
  
  void func_255()
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < 1)
  	{
  		Global_95420[iVar0] = 0;
  		iVar0++;
  	}
  	iVar0 = 0;
  	while (iVar0 < 2)
  	{
  		Global_95417[iVar0] = 0;
  		iVar0++;
  	}
  }
  
  void func_256()
  {
  	int iVar0;
  	int iVar1;
  	
  	iVar1 = 0;
  	while (iVar1 < 10)
  	{
  		iVar0 = iVar1;
  		switch (iVar0)
  		{
  			case 0:
  				func_257(&Global_95423, 1);
  				break;
  			
  			case 1:
  				func_257(&Global_95425, 3);
  				break;
  			
  			case 2:
  				func_257(&Global_95429, 1);
  				break;
  			
  			case 3:
  				func_257(&Global_95431, 1);
  				break;
  			
  			case 4:
  				func_257(&Global_95433, 1);
  				break;
  			
  			case 5:
  				func_257(&Global_95435, 1);
  				break;
  			
  			case 6:
  				func_257(&Global_95437, 1);
  				break;
  			
  			case 7:
  				func_257(&Global_95439, 2);
  				break;
  			
  			case 8:
  				func_257(&Global_95442, 1);
  				break;
  			
  			case 9:
  				func_257(&Global_95444, 1);
  				break;
  		}
  		iVar1++;
  	}
  }
  
  void func_257(var uParam0, int iParam1)
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	while (iVar0 < iParam1)
  	{
  		(*uParam0)[iVar0] = 0;
  		iVar0++;
  	}
  }
  
  void func_258()
  {
  	Global_19871 = 0;
  	func_72();
  }
  
  void func_259()
  {
  	int iVar0;
  	
  	if (unk_0x8DC2EFD1CECAA468("buddyDeathResponse"))
  	{
  		SYSTEM::START_NEW_SCRIPT("buddyDeathResponse", 1424);
  	}
  	if (Global_111858.f_9081 || func_268(0))
  	{
  		if (!func_267())
  		{
  			iVar0 = func_266();
  			if (iVar0 != -1)
  			{
  				if (!func_261(iVar0))
  				{
  					return;
  				}
  				unk_0xBE20AB8238688965(&(Global_89707[iVar0 /*5*/].f_1), 5);
  				return;
  			}
  		}
  		else
  		{
  			func_260();
  		}
  	}
  }
  
  void func_260()
  {
  	Global_98990 = 1;
  	if (unk_0xD5EAF42B1EAE828F(unk_0x460153A63B9477BC(), 1))
  	{
  		if (unk_0x7BCC91F3C1CF24E8(&Global_77065))
  		{
  			switch (func_40())
  			{
  				case 0:
  					StringCopy(&Global_77065, "CMN_MARRE", 16);
  					break;
  				
  				case 1:
  					StringCopy(&Global_77065, "CMN_FARRE", 16);
  					break;
  				
  				case 2:
  					StringCopy(&Global_77065, "CMN_TARRE", 16);
  					break;
  			}
  			StringCopy(&Global_77069, "", 16);
  		}
  		Global_98990 = 0;
  	}
  	else if (!unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  	{
  		if (unk_0x7BCC91F3C1CF24E8(&Global_77065))
  		{
  			switch (func_40())
  			{
  				case 0:
  					StringCopy(&Global_77065, "CMN_MDIED", 16);
  					break;
  				
  				case 1:
  					StringCopy(&Global_77065, "CMN_FDIED", 16);
  					break;
  				
  				case 2:
  					StringCopy(&Global_77065, "CMN_TDIED", 16);
  					break;
  			}
  			StringCopy(&Global_77069, "", 16);
  		}
  		Global_98990 = 0;
  		unk_0xBE20AB8238688965(&(Global_98955.f_20), 25);
  	}
  }
  
  int func_261(int iParam0)
  {
  	int iVar0;
  	int iVar1;
  	
  	func_260();
  	if (unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  	{
  		unk_0xD1A73960312CB3DD(5000);
  	}
  	iVar0 = Global_89707[iParam0 /*5*/];
  	iVar1 = Global_77102.f_109[iVar0 /*4*/];
  	func_265(iVar1, 1);
  	unk_0xD2B5F38167F36F20(unk_0x460153A63B9477BC(), 0);
  	unk_0xD25321EB4A616B93(unk_0x460153A63B9477BC(), 0);
  	func_262(&(Global_111858.f_2359.f_539), iVar1);
  	if (Global_93130 == Global_98992)
  	{
  		Global_111858.f_9081.f_330[iVar1 /*6*/].f_1++;
  	}
  	if (!unk_0xCE990E643CD9D0E5(Global_89743[iVar1 /*34*/].f_15, 1))
  	{
  		if (!unk_0x5A228A6A51E757C8(unk_0x460153A63B9477BC()))
  		{
  			unk_0x0B5FDCC374F46B9E(0);
  		}
  	}
  	Global_111858.f_9081.f_330[iVar1 /*6*/].f_2++;
  	Global_93130 = Global_98992;
  	if (iParam0 == -1)
  	{
  		if (Global_111858.f_9081)
  		{
  		}
  		return 0;
  	}
  	if (unk_0xCE990E643CD9D0E5(Global_89707[iParam0 /*5*/].f_1, 4))
  	{
  		return 0;
  	}
  	if (unk_0xCE990E643CD9D0E5(Global_89707[iParam0 /*5*/].f_1, 5))
  	{
  		return 0;
  	}
  	return 1;
  }
  
  void func_262(var uParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	struct<3> Var2;
  	float fVar3;
  	
  	if (iParam1 == 94)
  	{
  		return;
  	}
  	iVar0 = 0;
  	while (iVar0 < 3)
  	{
  		iVar1 = Global_111858.f_18529[iVar0];
  		if ((((iVar1 == 8 || iVar1 == 9) || iVar1 == 10) || (((iVar1 == 11 || iVar1 == 34) || iVar1 == 72) || iVar1 == 73)) && !unk_0xCE990E643CD9D0E5(Global_111858.f_9081.f_99.f_219[0], 9))
  		{
  		}
  		else
  		{
  			Var2 = { 0f, 0f, 0f };
  			fVar3 = 0f;
  			if (!func_264(Global_111858.f_18529[iVar0], &Var2, &fVar3))
  			{
  				Global_111858.f_18529[iVar0] = 318;
  				func_263(&(uParam0->f_2296[iVar0]));
  				uParam0->f_2300[iVar0 /*3*/] = { 0f, 0f, 0f };
  				uParam0->f_2310[iVar0] = 0f;
  				uParam0->f_2314[iVar0] = 0;
  				uParam0->f_2318[iVar0 /*3*/] = { 0f, 0f, 0f };
  				uParam0->f_2328[iVar0] = 0;
  				Global_96345[iVar0 /*29*/] = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_9 = 0f;
  				Global_96345[iVar0 /*29*/].f_12 = 0f;
  				Global_96345[iVar0 /*29*/].f_3 = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_10 = 0f;
  				Global_96345[iVar0 /*29*/].f_13 = 0f;
  				Global_96345[iVar0 /*29*/].f_6 = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_11 = 0f;
  				Global_96345[iVar0 /*29*/].f_14 = 0f;
  				Global_96345[iVar0 /*29*/].f_17 = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_26 = 0f;
  				Global_96345[iVar0 /*29*/].f_20 = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_27 = 0f;
  				Global_96345[iVar0 /*29*/].f_23 = { 0f, 0f, 0f };
  				Global_96345[iVar0 /*29*/].f_28 = 0f;
  			}
  		}
  		iVar0++;
  	}
  }
  
  void func_263(var uParam0)
  {
  	*uParam0 = -15;
  }
  
  int func_264(int iParam0, var uParam1, float fParam2)
  {
  	switch (iParam0)
  	{
  		case 11:
  			*uParam1 = { 115.1569f, -1286.684f, 28.2613f };
  			*fParam2 = 111f;
  			return 1;
  			break;
  		
  		case 8:
  			*uParam1 = { -90.0089f, -1324.195f, 28.3203f };
  			*fParam2 = 194.1887f;
  			return 1;
  			break;
  		
  		case 9:
  			return func_264(8, uParam1, fParam2);
  			break;
  		
  		case 10:
  			return func_264(8, uParam1, fParam2);
  			break;
  		
  		case 13:
  			*uParam1 = { -807.2979f, -48.4004f, 36.8173f };
  			*fParam2 = 201.6328f;
  			return 1;
  			break;
  		
  		case 14:
  			*uParam1 = { 1432.34f, -1887.383f, 70.5768f };
  			*fParam2 = 350.0509f;
  			return 1;
  			break;
  		
  		case 15:
  			*uParam1 = { 1666.204f, 1967.25f, 143.3213f };
  			*fParam2 = 0.7896f;
  			return 1;
  			break;
  		
  		case 12:
  			*uParam1 = { -1440.22f, -127.02f, 50f };
  			*fParam2 = 42f;
  			return 1;
  			break;
  		
  		case 16:
  			*uParam1 = { 135.055f, -1759.64f, 27.8957f };
  			*fParam2 = -129f;
  			return 1;
  			break;
  		
  		case 17:
  			*uParam1 = { 687.6992f, -1744.03f, 28.3624f };
  			*fParam2 = 267.1409f;
  			return 1;
  			break;
  		
  		case 18:
  			*uParam1 = { 56.5117f, -744.6122f, 43.1356f };
  			*fParam2 = 340.0526f;
  			return 1;
  			break;
  		
  		case 19:
  			*uParam1 = { 506.485f, -1884.967f, 24.764f };
  			*fParam2 = 22.9566f;
  			return 1;
  			break;
  		
  		case 20:
  			*uParam1 = { 1555.958f, 953.6136f, 77.2063f };
  			*fParam2 = 152.8118f;
  			return 1;
  			break;
  		
  		case 21:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 22:
  			*uParam1 = { 220.72f, -64.4177f, 68.2922f };
  			*fParam2 = (250.4535f - 360f);
  			return 1;
  			break;
  		
  		case 74:
  			*uParam1 = { 2048.07f, 3840.84f, 34.2238f };
  			*fParam2 = 119.603f;
  			return 1;
  			break;
  		
  		case 23:
  			*uParam1 = { -464.22f, -1592.98f, 38.73f };
  			*fParam2 = 168f;
  			return 1;
  			break;
  		
  		case 24:
  			*uParam1 = { (744.79f + 0.0186f), (-465.86f - 0.0114f), 36.6399f };
  			*fParam2 = 51.7279f;
  			return 1;
  			break;
  		
  		case 67:
  			*uParam1 = { -9f, 508.1f, 173.6278f };
  			*fParam2 = 151.2504f;
  			return 1;
  			break;
  		
  		case 25:
  			*uParam1 = { 72.2278f, -1464.68f, 28.2915f };
  			*fParam2 = 156.8827f;
  			return 1;
  			break;
  		
  		case 27:
  			*uParam1 = { 763f, -906f, 24.2312f };
  			*fParam2 = 7.2736f;
  			return 1;
  			break;
  		
  		case 26:
  			*uParam1 = { 257.9167f, -1120.786f, 28.3684f };
  			*fParam2 = 97.2736f;
  			return 1;
  			break;
  		
  		case 28:
  			*uParam1 = { 422.5858f, -978.6332f, 69.7073f };
  			*fParam2 = 4f;
  			return 1;
  			break;
  		
  		case 29:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 30:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 31:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 32:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 33:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 34:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 35:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 36:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 37:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 58:
  			*uParam1 = { 294.8521f, 882.9366f, 197.8527f };
  			*fParam2 = 162.693f;
  			return 1;
  			break;
  		
  		case 59:
  			*uParam1 = { -1771.802f, 794.4316f, 138.4211f };
  			*fParam2 = 128.9946f;
  			return 1;
  			break;
  		
  		case 60:
  			*uParam1 = { 1495.595f, -1848.821f, 70.2075f };
  			*fParam2 = 32.2721f;
  			return 1;
  			break;
  		
  		case 38:
  			*uParam1 = { 2897.554f, 4032.241f, 50.1419f };
  			*fParam2 = 192.8091f;
  			return 1;
  			break;
  		
  		case 39:
  			*uParam1 = { 1973.355f, 3818.204f, 32.005f };
  			*fParam2 = 32f;
  			return 1;
  			break;
  		
  		case 40:
  			*uParam1 = { 1973.355f, 3818.204f, 32.005f };
  			*fParam2 = 32f;
  			return 1;
  			break;
  		
  		case 41:
  			*uParam1 = { 1397f, 3725.8f, 33.0673f };
  			*fParam2 = -3.7534f;
  			return 1;
  			break;
  		
  		case 42:
  			*uParam1 = { Vector(4.0205f, -2975.341f, 798.4536f) + Vector(1f, 0f, 0f) };
  			*fParam2 = 90f;
  			return 1;
  			break;
  		
  		case 43:
  			*uParam1 = { 709.0244f, -2916.479f, 5.0589f };
  			*fParam2 = 355.326f;
  			return 1;
  			break;
  		
  		case 44:
  			*uParam1 = { 643.5248f, -2917.325f, 5.1337f };
  			*fParam2 = 334.1068f;
  			return 1;
  			break;
  		
  		case 45:
  			*uParam1 = { 595.2742f, -2819.183f, 5.0559f };
  			*fParam2 = 46.8853f;
  			return 1;
  			break;
  		
  		case 46:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 47:
  			*uParam1 = { 314.4171f, 965.207f, 208.4024f };
  			*fParam2 = 165.9421f;
  			return 1;
  			break;
  		
  		case 49:
  			*uParam1 = { 3321.537f, 4975.455f, 25.9097f };
  			*fParam2 = 221.228f;
  			return 1;
  			break;
  		
  		case 48:
  			*uParam1 = { -111.1318f, 6316.479f, 30.4904f };
  			*fParam2 = (42f + 180f);
  			return 1;
  			break;
  		
  		case 50:
  			*uParam1 = { -731.3261f, 106.68f, 54.7169f };
  			*fParam2 = 98.9764f;
  			return 1;
  			break;
  		
  		case 51:
  			*uParam1 = { -1257.5f, -526.9999f, 30.2361f };
  			*fParam2 = 220.9554f;
  			return 1;
  			break;
  		
  		case 52:
  			*uParam1 = { 736.9869f, -2050.678f, 28.2718f };
  			*fParam2 = 83.9922f;
  			return 1;
  			break;
  		
  		case 66:
  			*uParam1 = { 262.5499f, -2540.15f, 4.8433f };
  			*fParam2 = -64.1366f;
  			return 1;
  			break;
  		
  		case 53:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 55:
  			*uParam1 = { -315.7789f, 6201.355f, 30.4322f };
  			*fParam2 = 127.7547f;
  			return 1;
  			break;
  		
  		case 56:
  			*uParam1 = { 118.0988f, -1264.916f, 32.3637f };
  			*fParam2 = -63f;
  			return 1;
  			break;
  		
  		case 57:
  			*uParam1 = { 37.5988f, -1351.52f, 28.2954f };
  			*fParam2 = 90.0339f;
  			return 1;
  			break;
  		
  		case 61:
  			*uParam1 = { -558.2693f, 261.1167f, 82.07f };
  			*fParam2 = 84.6231f;
  			return 1;
  			break;
  		
  		case 62:
  			*uParam1 = { -196.9999f, 507.9999f, 132.477f };
  			*fParam2 = 99.6049f;
  			return 1;
  			break;
  		
  		case 63:
  			*uParam1 = { 1312.01f, -1645.87f, 51.2f };
  			*fParam2 = 120f;
  			return 1;
  			break;
  		
  		case 68:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 69:
  			*uParam1 = { -818.7374f, 6.4824f, 41.2432f };
  			*fParam2 = 211.8223f;
  			return 1;
  			break;
  		
  		case 64:
  			*uParam1 = { 2091.258f, 4714.852f, 40.1936f };
  			*fParam2 = 136.0867f;
  			return 1;
  			break;
  		
  		case 54:
  			*uParam1 = { 1762.59f, 3247.212f, 40.735f };
  			*fParam2 = 27.0648f;
  			return 1;
  			break;
  		
  		case 65:
  			*uParam1 = { 1764.013f, 3252.902f, 40.735f };
  			*fParam2 = 27.0648f;
  			return 1;
  			break;
  		
  		case 70:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 71:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 72:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		case 73:
  			*uParam1 = { 0f, 0f, 0f };
  			*fParam2 = 0f;
  			return 1;
  			break;
  		
  		default:
  			break;
  	}
  	return 0;
  }
  
  void func_265(int iParam0, bool bParam1)
  {
  	if (bParam1)
  	{
  		if ((iParam0 != 88 && iParam0 != 89) && iParam0 != 92)
  		{
  			Global_92940[iParam0 /*2*/] = 1;
  		}
  	}
  	else
  	{
  		Global_92940[iParam0 /*2*/] = 0;
  	}
  }
  
  int func_266()
  {
  	int iVar0;
  	
  	iVar0 = 0;
  	iVar0 = 0;
  	while (iVar0 < 7)
  	{
  		if (unk_0xCE990E643CD9D0E5(Global_89707[iVar0 /*5*/].f_1, 2))
  		{
  			return iVar0;
  		}
  		iVar0++;
  	}
  	return -1;
  }
  
  int func_267()
  {
  	if (((Global_98955 == 13 || Global_98955 == 10) || Global_98955 == 11) || Global_98955 == 12)
  	{
  		return 0;
  	}
  	return 1;
  }
  
  bool func_268(bool bParam0)
  {
  	if (!bParam0 && unk_0x7B70881748D166CD(joaat("benchmark")) > 0)
  	{
  		return 1;
  	}
  	return unk_0xCE990E643CD9D0E5(Global_77081, 0);
  }
  
  void func_269(bool bParam0, int iParam1)
  {
  	int iVar0;
  	int iVar1;
  	var uVar2;
  	
  	if (!Global_61719)
  	{
  		Global_61719 = iParam1;
  	}
  	if (bParam0)
  	{
  		if ((func_268(0) && Global_77079.f_1 == 1) && func_270(Global_77079))
  		{
  		}
  		else
  		{
  			Global_61717 = 1;
  		}
  	}
  	if (Global_111858.f_9081 || func_268(0))
  	{
  		iVar0 = func_266();
  		iVar1 = Global_89707[iVar0 /*5*/];
  		uVar2 = Global_77102.f_109[iVar1 /*4*/];
  		if (iVar0 == -1)
  		{
  			if (Global_111858.f_9081)
  			{
  			}
  			return;
  		}
  		if (unk_0xCE990E643CD9D0E5(Global_89707[iVar0 /*5*/].f_1, 4))
  		{
  			return;
  		}
  		if (unk_0xCE990E643CD9D0E5(Global_89707[iVar0 /*5*/].f_1, 5))
  		{
  			return;
  		}
  		unk_0xBE20AB8238688965(&(Global_89707[iVar0 /*5*/].f_1), 4);
  		unk_0xBE20AB8238688965(&Global_77081, 1);
  		Global_77097 = uVar2;
  		Global_77098 = unk_0x578C4EF320340AF7();
  	}
  }
  
  int func_270(int iParam0)
  {
  	switch (iParam0)
  	{
  		case 71:
  			return 1;
  			break;
  		
  		case 86:
  			return 1;
  			break;
  		
  		case 91:
  			return 1;
  			break;
  		
  		default:
  			return 0;
  			break;
  	}
  	return 0;
  }
  
  void func_271(int iParam0, int iParam1)
  {
  	if (iParam0 == 146 || iParam0 == -1)
  	{
  		return;
  	}
  	if (Global_111858.f_9081.f_99.f_58[iParam0] == iParam1)
  	{
  		return;
  	}
  	Global_111858.f_9081.f_99.f_58[iParam0] = iParam1;
  }
  
  void func_272()
  {
  	Global_22411.f_5 = 0;
  }
  
  int func_273(bool bParam0, int iParam1, int iParam2)
  {
  	if (bParam0)
  	{
  		return iParam1;
  	}
  	return iParam2;
  }
  
  int func_274()
  {
  	if (unk_0xCE990E643CD9D0E5(unk_0x344C570D6F8700DF(0, 65535), 0))
  	{
  		return 1;
  	}
  	return 0;
  }
  
  