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

public class Class507
{
    int anInt6743;
    int anInt6744;
    boolean aBool6745;
    int anInt6746;
    static int[] anIntArray6747 = new int[120];
    static Class272 aClass272_6748;
    int anInt6749;
    
    public int method11486(int i) {
	int i_0_ = 1;
	int i_1_ = 87126947 * ((Class507) this).anInt6744 - 1;
	for (int i_2_ = 0; i_2_ < i_1_ && i >= anIntArray6747[i_2_]; i_2_++)
	    i_0_ = i_2_ + 2;
	return i_0_;
    }
    
    int method11487(int i) {
	return ((Class507) this).anInt6749 * 1178291991;
    }
    
    public boolean method11488(short i) {
	return ((Class507) this).aBool6745;
    }
    
    public int method11489(int i) {
	return -1915441225 * ((Class507) this).anInt6746;
    }
    
    int method11490(int i) {
	return method11515(i, 303140756) * 10;
    }
    
    public boolean method11491(int i) {
	return -1 != ((Class507) this).anInt6746 * -1915441225;
    }
    
    public boolean method11492() {
	return -1 != ((Class507) this).anInt6746 * -1915441225;
    }
    
    public int method11493(int i) {
	int i_3_ = i / 10;
	return method11514(i_3_, -827207353);
    }
    
    public boolean method11494() {
	return ((Class507) this).aBool6745;
    }
    
    int method11495(int i, int i_4_) {
	return method11515(i, -1236983990) * 10;
    }
    
    static {
	int i = 0;
	for (int i_5_ = 0; i_5_ < 120; i_5_++) {
	    int i_6_ = 1 + i_5_;
	    int i_7_ = (int) ((double) i_6_
			      + 300.0 * Math.pow(2.0, (double) i_6_ / 7.0));
	    i += i_7_;
	    anIntArray6747[i_5_] = i / 4;
	}
    }
    
    int method11496() {
	return ((Class507) this).anInt6749 * 1178291991;
    }
    
    public int method11497(short i) {
	return ((Class507) this).anInt6743 * -1758995709;
    }
    
    public boolean method11498() {
	return ((Class507) this).aBool6745;
    }
    
    public boolean method11499() {
	return ((Class507) this).aBool6745;
    }
    
    public int method11500() {
	return -1915441225 * ((Class507) this).anInt6746;
    }
    
    public int method11501() {
	return -1915441225 * ((Class507) this).anInt6746;
    }
    
    public int method11502() {
	return ((Class507) this).anInt6743 * -1758995709;
    }
    
    public int method11503() {
	return ((Class507) this).anInt6743 * -1758995709;
    }
    
    Class507(int i, int i_8_, boolean bool, boolean bool_9_, int i_10_) {
	((Class507) this).anInt6749 = -1131620185 * i;
	((Class507) this).anInt6744 = i_8_ * -1906288629;
	((Class507) this).aBool6745 = bool;
	if (bool) {
	    ((Class507) this).anInt6743 = 49014699 * i_10_;
	    ((Class507) this).anInt6746
		= method11495(i_10_, 2041313875) * -1700372985;
	} else {
	    ((Class507) this).anInt6743 = -49014699;
	    ((Class507) this).anInt6746 = 1700372985;
	}
    }
    
    public int method11504() {
	return ((Class507) this).anInt6743 * -1758995709;
    }
    
    public boolean method11505() {
	return -1 != ((Class507) this).anInt6746 * -1915441225;
    }
    
    public boolean method11506() {
	return -1 != ((Class507) this).anInt6746 * -1915441225;
    }
    
    public boolean method11507() {
	return -1 != ((Class507) this).anInt6746 * -1915441225;
    }
    
    public int method11508() {
	return -1915441225 * ((Class507) this).anInt6746;
    }
    
    public int method11509(int i, byte i_11_) {
	int i_12_ = i / 10;
	return method11514(i_12_, -827207353);
    }
    
    public int method11510(int i) {
	int i_13_ = 1;
	int i_14_ = 87126947 * ((Class507) this).anInt6744 - 1;
	for (int i_15_ = 0; i_15_ < i_14_ && i >= anIntArray6747[i_15_];
	     i_15_++)
	    i_13_ = i_15_ + 2;
	return i_13_;
    }
    
    int method11511(int i) {
	if (i < 0)
	    i = 0;
	if (i > ((Class507) this).anInt6744 * 87126947)
	    i = 87126947 * ((Class507) this).anInt6744;
	if (i < 2)
	    return 0;
	return anIntArray6747[i - 2];
    }
    
    int method11512(int i) {
	if (i < 0)
	    i = 0;
	if (i > ((Class507) this).anInt6744 * 87126947)
	    i = 87126947 * ((Class507) this).anInt6744;
	if (i < 2)
	    return 0;
	return anIntArray6747[i - 2];
    }
    
    int method11513(int i) {
	if (i < 0)
	    i = 0;
	if (i > ((Class507) this).anInt6744 * 87126947)
	    i = 87126947 * ((Class507) this).anInt6744;
	if (i < 2)
	    return 0;
	return anIntArray6747[i - 2];
    }
    
    public int method11514(int i, int i_16_) {
	int i_17_ = 1;
	int i_18_ = 87126947 * ((Class507) this).anInt6744 - 1;
	for (int i_19_ = 0; i_19_ < i_18_ && i >= anIntArray6747[i_19_];
	     i_19_++)
	    i_17_ = i_19_ + 2;
	return i_17_;
    }
    
    int method11515(int i, int i_20_) {
	if (i < 0)
	    i = 0;
	if (i > ((Class507) this).anInt6744 * 87126947)
	    i = 87126947 * ((Class507) this).anInt6744;
	if (i < 2)
	    return 0;
	return anIntArray6747[i - 2];
    }
    
    int method11516(int i) {
	return method11515(i, -787418873) * 10;
    }
    
    static final void method11517(Class479 class479, short i) {
	int i_21_ = (((Class479) class479).anIntArray6435
		     [((((Class479) class479).anInt6442 -= -1158629699)
		       * -117934955)]);
	((Class479) class479).anObjectArray6437
	    [(((Class479) class479).anInt6432 += -1049632545) * -611591393 - 1]
	    = (((Class479) class479).aClass243_Sub38_6447.aClass63Array9935
	       [i_21_].aString804);
    }
    
    static final void method11518(Class479 class479, int i) {
	String string = (String) (((Class479) class479).anObjectArray6437
				  [(((Class479) class479).anInt6432
				    -= -1049632545) * -611591393]);
	if (1155697075 * client.anInt8283 != 0
	    || (!client.aBool8285 || client.aBool8286) && !client.aBool8289) {
	    String string_22_ = string.toLowerCase();
	    int i_23_ = 0;
	    if (string_22_.startsWith
		(Class400.aClass400_5913.method7264(Class457.aClass457_6304,
						    (byte) 9))) {
		i_23_ = 0;
		string
		    = string.substring(Class400.aClass400_5913.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5914
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 1;
		string
		    = string.substring(Class400.aClass400_5914.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5763
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 2;
		string
		    = string.substring(Class400.aClass400_5763.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5916
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 3;
		string
		    = string.substring(Class400.aClass400_5916.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5793
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 4;
		string
		    = string.substring(Class400.aClass400_5793.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5786
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 5;
		string
		    = string.substring(Class400.aClass400_5786.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5919
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 6;
		string
		    = string.substring(Class400.aClass400_5919.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5920
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 7;
		string
		    = string.substring(Class400.aClass400_5920.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5921
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 8;
		string
		    = string.substring(Class400.aClass400_5921.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5922
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 9;
		string
		    = string.substring(Class400.aClass400_5922.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5845
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 10;
		string
		    = string.substring(Class400.aClass400_5845.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5758
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_23_ = 11;
		string
		    = string.substring(Class400.aClass400_5758.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (client.aClass457_8110 != Class457.aClass457_6304) {
		if (string_22_.startsWith
		    (Class400.aClass400_5913.method7264(client.aClass457_8110,
							(byte) 9))) {
		    i_23_ = 0;
		    string
			= string.substring(Class400.aClass400_5913.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5914
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 1;
		    string
			= string.substring(Class400.aClass400_5914.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5763
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 2;
		    string
			= string.substring(Class400.aClass400_5763.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5916
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 3;
		    string
			= string.substring(Class400.aClass400_5916.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5793
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 4;
		    string
			= string.substring(Class400.aClass400_5793.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5786
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 5;
		    string
			= string.substring(Class400.aClass400_5786.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5919
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 6;
		    string
			= string.substring(Class400.aClass400_5919.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5920
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 7;
		    string
			= string.substring(Class400.aClass400_5920.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5921
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 8;
		    string
			= string.substring(Class400.aClass400_5921.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5922
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 9;
		    string
			= string.substring(Class400.aClass400_5922.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5845
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 10;
		    string
			= string.substring(Class400.aClass400_5845.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5758
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_23_ = 11;
		    string
			= string.substring(Class400.aClass400_5758.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		}
	    }
	    string_22_ = string.toLowerCase();
	    int i_24_ = 0;
	    if (string_22_.startsWith
		(Class400.aClass400_5836.method7264(Class457.aClass457_6304,
						    (byte) 9))) {
		i_24_ = 1;
		string
		    = string.substring(Class400.aClass400_5836.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5926
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_24_ = 2;
		string
		    = string.substring(Class400.aClass400_5926.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5927
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_24_ = 3;
		string
		    = string.substring(Class400.aClass400_5927.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5928
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_24_ = 4;
		string
		    = string.substring(Class400.aClass400_5928.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (string_22_.startsWith
		       (Class400.aClass400_5840
			    .method7264(Class457.aClass457_6304, (byte) 9))) {
		i_24_ = 5;
		string
		    = string.substring(Class400.aClass400_5840.method7264
					   (Class457.aClass457_6304, (byte) 9)
					   .length());
	    } else if (client.aClass457_8110 != Class457.aClass457_6304) {
		if (string_22_.startsWith
		    (Class400.aClass400_5836.method7264(client.aClass457_8110,
							(byte) 9))) {
		    i_24_ = 1;
		    string
			= string.substring(Class400.aClass400_5836.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5926
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_24_ = 2;
		    string
			= string.substring(Class400.aClass400_5926.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5927
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_24_ = 3;
		    string
			= string.substring(Class400.aClass400_5927.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5928
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_24_ = 4;
		    string
			= string.substring(Class400.aClass400_5928.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		} else if (string_22_.startsWith(Class400.aClass400_5840
						     .method7264
						 (client.aClass457_8110,
						  (byte) 9))) {
		    i_24_ = 5;
		    string
			= string.substring(Class400.aClass400_5840.method7264
					       (client.aClass457_8110,
						(byte) 9)
					       .length());
		}
	    }
	    Class194 class194 = Class489.method11175(1749689597);
	    Class243_Sub43 class243_sub43
		= Class529.method11818(Class326.aClass326_4846,
				       class194.aClass432_2312, (short) 255);
	    class243_sub43.aClass243_Sub10_Sub1_9988.method14800(0,
								 -1176290420);
	    int i_25_ = (class243_sub43.aClass243_Sub10_Sub1_9988.anInt8688
			 * 126215893);
	    class243_sub43.aClass243_Sub10_Sub1_9988.method14800(i_23_,
								 -821180469);
	    class243_sub43.aClass243_Sub10_Sub1_9988.method14800(i_24_,
								 1435188951);
	    Class401.method7293(class243_sub43.aClass243_Sub10_Sub1_9988,
				string, -462591547);
	    class243_sub43.aClass243_Sub10_Sub1_9988.method14830
		((class243_sub43.aClass243_Sub10_Sub1_9988.anInt8688
		  * 126215893) - i_25_,
		 (byte) 38);
	    class194.method4175(class243_sub43, (byte) 123);
	}
    }
    
    static final void method11519(Class479 class479, int i) {
	Class481.method11027(class479,
			     (((Class479) class479)
			      .aClass478_Sub1_Sub1_Sub5_6448),
			     787691943);
    }
    
    static final void method11520(Class479 class479, byte i) {
	int i_26_ = (((Class479) class479).anIntArray6435
		     [((((Class479) class479).anInt6442 -= -1158629699)
		       * -117934955)]);
	int i_27_ = Class612.aClass243_Sub7_7837.aClass421_Sub13_8662
			.method14156(210914643);
	if (i_27_ != i_26_) {
	    Class612.aClass243_Sub7_7837.method14604((Class612
						      .aClass243_Sub7_7837
						      .aClass421_Sub13_8662),
						     i_26_, 126215893);
	    Class272.method5338(156108876);
	    client.aBool8140 = false;
	}
    }
    
    static final void method11521(Class479 class479, int i) {
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = Class612.aClass243_Sub7_7837.aClass421_Sub24_8632
		  .method14323(-1550281973) == 1 ? 1 : 0;
    }
}
