/* Class510 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class510
{
    public Class508 aClass508_7003;
    public Class590_Sub1_Sub3 aClass590_Sub1_Sub3_7004;
    public Class590_Sub1_Sub1 aClass590_Sub1_Sub1_7005;
    public Class590_Sub1_Sub1 aClass590_Sub1_Sub1_7006;
    public byte aByte7007;
    public Class590_Sub1_Sub3 aClass590_Sub1_Sub3_7008;
    public Class590_Sub1_Sub2 aClass590_Sub1_Sub2_7009;
    Class590_Sub1_Sub4 aClass590_Sub1_Sub4_7010;
    short aShort7011;
    short aShort7012;
    short aShort7013;
    short aShort7014;
    public Class510 aClass510_7015;
    
    public Class510(int i) {
	aByte7007 = (byte) i;
    }
    
    static final void method6307(Class612 class612, int i) {
	((Class612) class612).anInt8022 -= 201091009;
    }
    
    static final void method6308(Class612 class612, byte i) {
	String string = (String) (((Class612) class612).anObjectArray8034
				  [(((Class612) class612).anInt8017
				    -= 1516150619) * -1930397485]);
	if (1925762073 * client.anInt10718 != 0
	    || ((!client.aBool10845 || client.aBool10846)
		&& !client.aBool10849)) {
	    String string_0_ = string.toLowerCase();
	    int i_1_ = 0;
	    if (string_0_.startsWith
		(Class14.aClass14_268.method582(Class621.aClass621_8076,
						909533202))) {
		i_1_ = 0;
		string = string.substring(Class14.aClass14_268.method582
					      (Class621.aClass621_8076,
					       1928331892)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_269.method582(Class621.aClass621_8076,
						       1963649825))) {
		i_1_ = 1;
		string = string.substring(Class14.aClass14_269.method582
					      (Class621.aClass621_8076,
					       1638001436)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_244.method582(Class621.aClass621_8076,
						       2053449949))) {
		i_1_ = 2;
		string
		    = string.substring(Class14.aClass14_244.method582
					   (Class621.aClass621_8076, 718899413)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_271.method582(Class621.aClass621_8076,
						       2029957524))) {
		i_1_ = 3;
		string = string.substring(Class14.aClass14_271.method582
					      (Class621.aClass621_8076,
					       1237324064)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_272.method582(Class621.aClass621_8076,
						       845131256))) {
		i_1_ = 4;
		string = string.substring(Class14.aClass14_272.method582
					      (Class621.aClass621_8076,
					       1451125777)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_273.method582(Class621.aClass621_8076,
						       1511136965))) {
		i_1_ = 5;
		string = string.substring(Class14.aClass14_273.method582
					      (Class621.aClass621_8076,
					       1461051771)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_222.method582(Class621.aClass621_8076,
						       2109848507))) {
		i_1_ = 6;
		string
		    = string.substring(Class14.aClass14_222.method582
					   (Class621.aClass621_8076, 654989844)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_187.method582(Class621.aClass621_8076,
						       1344231802))) {
		i_1_ = 7;
		string
		    = string.substring(Class14.aClass14_187.method582
					   (Class621.aClass621_8076, 640849482)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_276.method582(Class621.aClass621_8076,
						       1173317026))) {
		i_1_ = 8;
		string = string.substring(Class14.aClass14_276.method582
					      (Class621.aClass621_8076,
					       1084254885)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_238.method582(Class621.aClass621_8076,
						       1148616347))) {
		i_1_ = 9;
		string
		    = string.substring(Class14.aClass14_238.method582
					   (Class621.aClass621_8076, 816992900)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_278.method582(Class621.aClass621_8076,
						       1729871251))) {
		i_1_ = 10;
		string = string.substring(Class14.aClass14_278.method582
					      (Class621.aClass621_8076,
					       1027054995)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_253.method582(Class621.aClass621_8076,
						       604157527))) {
		i_1_ = 11;
		string = string.substring(Class14.aClass14_253.method582
					      (Class621.aClass621_8076,
					       1099407986)
					      .length());
	    } else if (Class621.aClass621_8076
		       != Class152_Sub4.aClass621_9504) {
		if (string_0_.startsWith(Class14.aClass14_268.method582
					 (Class152_Sub4.aClass621_9504,
					  1104250752))) {
		    i_1_ = 0;
		    string
			= string.substring(Class14.aClass14_268.method582
					       (Class152_Sub4.aClass621_9504,
						1429861308)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_269.method582
						(Class152_Sub4.aClass621_9504,
						 898733017))) {
		    i_1_ = 1;
		    string
			= string.substring(Class14.aClass14_269.method582
					       (Class152_Sub4.aClass621_9504,
						1674501969)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_244.method582
						(Class152_Sub4.aClass621_9504,
						 2034812139))) {
		    i_1_ = 2;
		    string
			= string.substring(Class14.aClass14_244.method582
					       (Class152_Sub4.aClass621_9504,
						1640060369)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_271.method582
						(Class152_Sub4.aClass621_9504,
						 684814499))) {
		    i_1_ = 3;
		    string
			= string.substring(Class14.aClass14_271.method582
					       (Class152_Sub4.aClass621_9504,
						1638986094)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_272.method582
						(Class152_Sub4.aClass621_9504,
						 1543448656))) {
		    i_1_ = 4;
		    string
			= string.substring(Class14.aClass14_272.method582
					       (Class152_Sub4.aClass621_9504,
						1401636788)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_273.method582
						(Class152_Sub4.aClass621_9504,
						 1338306744))) {
		    i_1_ = 5;
		    string
			= string.substring(Class14.aClass14_273.method582
					       (Class152_Sub4.aClass621_9504,
						1254770295)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_222.method582
						(Class152_Sub4.aClass621_9504,
						 1126648380))) {
		    i_1_ = 6;
		    string
			= string.substring(Class14.aClass14_222.method582
					       (Class152_Sub4.aClass621_9504,
						908165697)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_187.method582
						(Class152_Sub4.aClass621_9504,
						 1503382544))) {
		    i_1_ = 7;
		    string
			= string.substring(Class14.aClass14_187.method582
					       (Class152_Sub4.aClass621_9504,
						1189295447)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_276.method582
						(Class152_Sub4.aClass621_9504,
						 2031372559))) {
		    i_1_ = 8;
		    string
			= string.substring(Class14.aClass14_276.method582
					       (Class152_Sub4.aClass621_9504,
						1095302817)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_238.method582
						(Class152_Sub4.aClass621_9504,
						 1576046923))) {
		    i_1_ = 9;
		    string
			= string.substring(Class14.aClass14_238.method582
					       (Class152_Sub4.aClass621_9504,
						930326986)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_278.method582
						(Class152_Sub4.aClass621_9504,
						 1153917826))) {
		    i_1_ = 10;
		    string
			= string.substring(Class14.aClass14_278.method582
					       (Class152_Sub4.aClass621_9504,
						1617813249)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_253.method582
						(Class152_Sub4.aClass621_9504,
						 956407868))) {
		    i_1_ = 11;
		    string
			= string.substring(Class14.aClass14_253.method582
					       (Class152_Sub4.aClass621_9504,
						1627657491)
					       .length());
		}
	    }
	    string_0_ = string.toLowerCase();
	    int i_2_ = 0;
	    if (string_0_.startsWith
		(Class14.aClass14_259.method582(Class621.aClass621_8076,
						2044357202))) {
		i_2_ = 1;
		string = string.substring(Class14.aClass14_259.method582
					      (Class621.aClass621_8076,
					       2098483469)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_144.method582(Class621.aClass621_8076,
						       779046275))) {
		i_2_ = 2;
		string = string.substring(Class14.aClass14_144.method582
					      (Class621.aClass621_8076,
					       1119073319)
					      .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_282.method582(Class621.aClass621_8076,
						       1613537247))) {
		i_2_ = 3;
		string
		    = string.substring(Class14.aClass14_282.method582
					   (Class621.aClass621_8076, 597672395)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_283.method582(Class621.aClass621_8076,
						       1102615137))) {
		i_2_ = 4;
		string
		    = string.substring(Class14.aClass14_283.method582
					   (Class621.aClass621_8076, 830777189)
					   .length());
	    } else if (string_0_.startsWith
		       (Class14.aClass14_281.method582(Class621.aClass621_8076,
						       830747357))) {
		i_2_ = 5;
		string = string.substring(Class14.aClass14_281.method582
					      (Class621.aClass621_8076,
					       1600918791)
					      .length());
	    } else if (Class621.aClass621_8076
		       != Class152_Sub4.aClass621_9504) {
		if (string_0_.startsWith(Class14.aClass14_259.method582
					 (Class152_Sub4.aClass621_9504,
					  629636222))) {
		    i_2_ = 1;
		    string
			= string.substring(Class14.aClass14_259.method582
					       (Class152_Sub4.aClass621_9504,
						1182868541)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_144.method582
						(Class152_Sub4.aClass621_9504,
						 1251419958))) {
		    i_2_ = 2;
		    string
			= string.substring(Class14.aClass14_144.method582
					       (Class152_Sub4.aClass621_9504,
						842665665)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_282.method582
						(Class152_Sub4.aClass621_9504,
						 2059455775))) {
		    i_2_ = 3;
		    string
			= string.substring(Class14.aClass14_282.method582
					       (Class152_Sub4.aClass621_9504,
						1159170560)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_283.method582
						(Class152_Sub4.aClass621_9504,
						 1231709471))) {
		    i_2_ = 4;
		    string
			= string.substring(Class14.aClass14_283.method582
					       (Class152_Sub4.aClass621_9504,
						1938850882)
					       .length());
		} else if (string_0_.startsWith(Class14.aClass14_281.method582
						(Class152_Sub4.aClass621_9504,
						 1817237951))) {
		    i_2_ = 5;
		    string
			= string.substring(Class14.aClass14_281.method582
					       (Class152_Sub4.aClass621_9504,
						1955258670)
					       .length());
		}
	    }
	    Class65 class65 = Class566.method6895((byte) 98);
	    Class487_Sub19 class487_sub19
		= Class667_Sub1.method9955(Class362.aClass362_3946,
					   class65.aClass676_946, 852043838);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(0, (byte) 81);
	    int i_3_ = (class487_sub19.aClass487_Sub17_Sub2_10217.anInt10192
			* -1980757211);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(i_1_,
								 (byte) -23);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(i_2_,
								 (byte) -93);
	    Class525.method6437(class487_sub19.aClass487_Sub17_Sub2_10217,
				string, -1475961168);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9208
		(-1980757211 * (class487_sub19.aClass487_Sub17_Sub2_10217
				.anInt10192) - i_3_,
		 -1485915999);
	    class65.method1056(class487_sub19, (byte) 71);
	}
    }
    
    static final void method6309
	(Class590_Sub1_Sub5_Sub1 class590_sub1_sub5_sub1, boolean bool,
	 int i) {
	int i_4_ = Class610.aClass610_8006.aByte8009;
	int i_5_ = 0;
	if (2119338805 * class590_sub1_sub5_sub1.anInt11602
	    > client.anInt10698)
	    Class655.method7784(class590_sub1_sub5_sub1, (byte) 0);
	else if (326817403 * class590_sub1_sub5_sub1.anInt11615
		 >= client.anInt10698)
	    Class152_Sub6.method8771(class590_sub1_sub5_sub1, -2030605230);
	else {
	    Class580_Sub1.method9608(class590_sub1_sub5_sub1, bool, (byte) 67);
	    i_4_ = -1839452161 * Class537.anInt7329;
	    i_5_ = Class534.anInt7294 * -1630761753;
	}
	Class396 class396
	    = class590_sub1_sub5_sub1.method7182().aClass396_4540;
	if ((int) class396.aFloat4545 < 512 || (int) class396.aFloat4547 < 512
	    || ((int) class396.aFloat4545
		>= (client.aClass452_10749.method5543(-34128895) - 1) * 512)
	    || ((int) class396.aFloat4547
		>= ((client.aClass452_10749.method5501(1383192086) - 1)
		    * 512))) {
	    class590_sub1_sub5_sub1.aClass652_11596.method7726(-1, (byte) -91);
	    for (int i_6_ = 0;
		 i_6_ < class590_sub1_sub5_sub1.aClass488Array11605.length;
		 i_6_++) {
		class590_sub1_sub5_sub1.aClass488Array11605[i_6_].anInt6701
		    = -1804399901;
		class590_sub1_sub5_sub1.aClass488Array11605[i_6_]
		    .aClass652_6700.method7726(-1, (byte) 48);
	    }
	    class590_sub1_sub5_sub1.anIntArray11627 = null;
	    class590_sub1_sub5_sub1.anInt11602 = 0;
	    class590_sub1_sub5_sub1.anInt11615 = 0;
	    i_4_ = Class610.aClass610_8006.aByte8009;
	    i_5_ = 0;
	    class590_sub1_sub5_sub1.method7188
		((float) (class590_sub1_sub5_sub1.anIntArray11583[0] * 512
			  + (class590_sub1_sub5_sub1.method10512(1390178159)
			     * 256)),
		 class396.aFloat4542,
		 (float) (512 * class590_sub1_sub5_sub1.anIntArray11624[0]
			  + (class590_sub1_sub5_sub1.method10512(1390178159)
			     * 256)));
	    class590_sub1_sub5_sub1.method10531(900837951);
	}
	if ((class590_sub1_sub5_sub1
	     == Class54.aClass590_Sub1_Sub5_Sub1_Sub2_626)
	    && ((int) class396.aFloat4545 < 6144
		|| (int) class396.aFloat4547 < 6144
		|| ((int) class396.aFloat4545
		    >= ((client.aClass452_10749.method5543(-503002155) - 12)
			* 512))
		|| ((int) class396.aFloat4547
		    >= ((client.aClass452_10749.method5501(1472599217) - 12)
			* 512)))) {
	    class590_sub1_sub5_sub1.aClass652_11596.method7726(-1, (byte) -11);
	    for (int i_7_ = 0;
		 i_7_ < class590_sub1_sub5_sub1.aClass488Array11605.length;
		 i_7_++) {
		class590_sub1_sub5_sub1.aClass488Array11605[i_7_].anInt6701
		    = -1804399901;
		class590_sub1_sub5_sub1.aClass488Array11605[i_7_]
		    .aClass652_6700.method7726(-1, (byte) -11);
	    }
	    class590_sub1_sub5_sub1.anIntArray11627 = null;
	    class590_sub1_sub5_sub1.anInt11602 = 0;
	    class590_sub1_sub5_sub1.anInt11615 = 0;
	    i_4_ = Class610.aClass610_8006.aByte8009;
	    i_5_ = 0;
	    class590_sub1_sub5_sub1.method7188
		((float) (512 * class590_sub1_sub5_sub1.anIntArray11583[0]
			  + (class590_sub1_sub5_sub1.method10512(1390178159)
			     * 256)),
		 class396.aFloat4542,
		 (float) (512 * class590_sub1_sub5_sub1.anIntArray11624[0]
			  + (class590_sub1_sub5_sub1.method10512(1390178159)
			     * 256)));
	    class590_sub1_sub5_sub1.method10531(-455093604);
	}
	int i_8_
	    = Class287_Sub1.method8909(class590_sub1_sub5_sub1, -1672403770);
	Class47.method899(class590_sub1_sub5_sub1, 1346610458);
	Class364.method4495(class590_sub1_sub5_sub1, i_4_, i_5_, i_8_,
			    -1843189495);
	Class662_Sub15.method9992(class590_sub1_sub5_sub1, i_4_, -959088221);
	Class69.method1108(class590_sub1_sub5_sub1, -1931818710);
	Class414 class414 = Class414.method5060();
	class414.method5063(Class387.method4681(class590_sub1_sub5_sub1
						    .aClass32_11619
						    .method762(-860342304)),
			    Class387.method4681(class590_sub1_sub5_sub1
						    .aClass32_11621
						    .method762(-860342304)),
			    Class387.method4681(class590_sub1_sub5_sub1
						    .aClass32_11620
						    .method762(-860342304)));
	class590_sub1_sub5_sub1.method7186(class414);
	class414.method5056();
    }
    
    static final void method6310(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	class211.anInt2328
	    = ((((Class612) class612).anIntArray8021
		[(((Class612) class612).anInt8022 -= 201091009) * -40654783])
	       * 40089293);
	Class67_Sub1_Sub2.method10127(class211, (short) 492);
    }
}
