/* Class71 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.applet.Applet;
import java.io.File;

public class Class71 {
	Class587_Sub44[] aClass587_Sub44Array1057;
	Class445 aClass445_1058;
	Interface3 anInterface3_1059;
	public static Applet anApplet1060;

	public void method1613(int i, String string, Class587_Sub44 class587_sub44, int i_0_) {
		Class587_Sub44 class587_sub44_1_ = method1614(string, 553922479);
		if (null != class587_sub44_1_ && i != (((Class587_Sub44) class587_sub44_1_).anInt9887 * -1893581061))
			throw new IllegalArgumentException(string);
		method1621(i, -1544214379);
		if (i >= ((Class71) this).aClass587_Sub44Array1057.length) {
			int i_2_;
			for (i_2_ = ((Class71) this).aClass587_Sub44Array1057.length; i >= i_2_; i_2_ += i_2_) {
				/* empty */
			}
			((Class71) this).aClass445_1058 = new Class445(i_2_);
			for (int i_3_ = 0; i_3_ < ((Class71) this).aClass587_Sub44Array1057.length; i_3_++) {
				Class587_Sub44 class587_sub44_4_ = ((Class71) this).aClass587_Sub44Array1057[i_3_];
				if (class587_sub44_4_ != null)
					((Class71) this).aClass445_1058.method8011(class587_sub44_4_, 3401098856066297101L * class587_sub44_4_.aLong7674);
			}
			Class587_Sub44[] class587_sub44s = new Class587_Sub44[i_2_];
			for (int i_5_ = 0; i_5_ < ((Class71) this).aClass587_Sub44Array1057.length; i_5_++)
				class587_sub44s[i_5_] = ((Class71) this).aClass587_Sub44Array1057[i_5_];
			((Class71) this).aClass587_Sub44Array1057 = class587_sub44s;
		}
		((Class587_Sub44) class587_sub44).anInt9887 = -843178957 * i;
		((Class587_Sub44) class587_sub44).aString9886 = string;
		((Class71) this).aClass445_1058.method8011(class587_sub44, ((Class71) this).anInterface3_1059.method29(string, -1026289234));
		((Class71) this).aClass587_Sub44Array1057[i] = class587_sub44;
	}

	public Class71(int i, Interface3 interface3) {
		int i_6_;
		for (i_6_ = 1; i_6_ < i; i_6_ += i_6_) {
			/* empty */
		}
		((Class71) this).aClass445_1058 = new Class445(i_6_);
		((Class71) this).aClass587_Sub44Array1057 = new Class587_Sub44[i_6_];
		((Class71) this).anInterface3_1059 = interface3;
	}

	public Class587_Sub44 method1614(String string, int i) {
		long l = ((Class71) this).anInterface3_1059.method29(string, -618153634);
		for (Class587_Sub44 class587_sub44 = ((Class587_Sub44) ((Class71) this).aClass445_1058.method7988(l)); null != class587_sub44; class587_sub44 = (Class587_Sub44) ((Class71) this).aClass445_1058.method7992(1469565687)) {
			if (((Class587_Sub44) class587_sub44).aString9886.equals(string))
				return class587_sub44;
		}
		return null;
	}

	void method1615(int i) {
		Class587_Sub44 class587_sub44 = method1617(i, (byte) 110);
		if (class587_sub44 != null) {
			class587_sub44.method12749((byte) 79);
			((Class71) this).aClass587_Sub44Array1057[-1893581061 * ((Class587_Sub44) class587_sub44).anInt9887] = null;
		}
	}

	void method1616(int i) {
		Class587_Sub44 class587_sub44 = method1617(i, (byte) 33);
		if (class587_sub44 != null) {
			class587_sub44.method12749((byte) -40);
			((Class71) this).aClass587_Sub44Array1057[-1893581061 * ((Class587_Sub44) class587_sub44).anInt9887] = null;
		}
	}

	public Class587_Sub44 method1617(int i, byte i_7_) {
		if (i >= ((Class71) this).aClass587_Sub44Array1057.length)
			return null;
		return ((Class71) this).aClass587_Sub44Array1057[i];
	}

	public Class587_Sub44 method1618(String string) {
		long l = ((Class71) this).anInterface3_1059.method29(string, 1949695228);
		for (Class587_Sub44 class587_sub44 = ((Class587_Sub44) ((Class71) this).aClass445_1058.method7988(l)); null != class587_sub44; class587_sub44 = (Class587_Sub44) ((Class71) this).aClass445_1058.method7992(1469565687)) {
			if (((Class587_Sub44) class587_sub44).aString9886.equals(string))
				return class587_sub44;
		}
		return null;
	}

	public Class587_Sub44 method1619(String string) {
		long l = ((Class71) this).anInterface3_1059.method29(string, 758590472);
		for (Class587_Sub44 class587_sub44 = ((Class587_Sub44) ((Class71) this).aClass445_1058.method7988(l)); null != class587_sub44; class587_sub44 = (Class587_Sub44) ((Class71) this).aClass445_1058.method7992(1469565687)) {
			if (((Class587_Sub44) class587_sub44).aString9886.equals(string))
				return class587_sub44;
		}
		return null;
	}

	public Class587_Sub44 method1620(String string) {
		long l = ((Class71) this).anInterface3_1059.method29(string, -1129800813);
		for (Class587_Sub44 class587_sub44 = ((Class587_Sub44) ((Class71) this).aClass445_1058.method7988(l)); null != class587_sub44; class587_sub44 = (Class587_Sub44) ((Class71) this).aClass445_1058.method7992(1469565687)) {
			if (((Class587_Sub44) class587_sub44).aString9886.equals(string))
				return class587_sub44;
		}
		return null;
	}

	void method1621(int i, int i_8_) {
		Class587_Sub44 class587_sub44 = method1617(i, (byte) 71);
		if (class587_sub44 != null) {
			class587_sub44.method12749((byte) 35);
			((Class71) this).aClass587_Sub44Array1057[-1893581061 * ((Class587_Sub44) class587_sub44).anInt9887] = null;
		}
	}

	public Class587_Sub44 method1622(int i) {
		if (i >= ((Class71) this).aClass587_Sub44Array1057.length)
			return null;
		return ((Class71) this).aClass587_Sub44Array1057[i];
	}

	public void method1623(int i, String string, Class587_Sub44 class587_sub44) {
		Class587_Sub44 class587_sub44_9_ = method1614(string, 988872200);
		if (null != class587_sub44_9_ && i != (((Class587_Sub44) class587_sub44_9_).anInt9887 * -1893581061))
			throw new IllegalArgumentException(string);
		method1621(i, -1787249983);
		if (i >= ((Class71) this).aClass587_Sub44Array1057.length) {
			int i_10_;
			for (i_10_ = ((Class71) this).aClass587_Sub44Array1057.length; i >= i_10_; i_10_ += i_10_) {
				/* empty */
			}
			((Class71) this).aClass445_1058 = new Class445(i_10_);
			for (int i_11_ = 0; i_11_ < ((Class71) this).aClass587_Sub44Array1057.length; i_11_++) {
				Class587_Sub44 class587_sub44_12_ = ((Class71) this).aClass587_Sub44Array1057[i_11_];
				if (class587_sub44_12_ != null)
					((Class71) this).aClass445_1058.method8011(class587_sub44_12_, 3401098856066297101L * class587_sub44_12_.aLong7674);
			}
			Class587_Sub44[] class587_sub44s = new Class587_Sub44[i_10_];
			for (int i_13_ = 0; i_13_ < ((Class71) this).aClass587_Sub44Array1057.length; i_13_++)
				class587_sub44s[i_13_] = ((Class71) this).aClass587_Sub44Array1057[i_13_];
			((Class71) this).aClass587_Sub44Array1057 = class587_sub44s;
		}
		((Class587_Sub44) class587_sub44).anInt9887 = -843178957 * i;
		((Class587_Sub44) class587_sub44).aString9886 = string;
		((Class71) this).aClass445_1058.method8011(class587_sub44, ((Class71) this).anInterface3_1059.method29(string, 1783920008));
		((Class71) this).aClass587_Sub44Array1057[i] = class587_sub44;
	}

	public void method1624(int i, String string, Class587_Sub44 class587_sub44) {
		Class587_Sub44 class587_sub44_14_ = method1614(string, 774284028);
		if (null != class587_sub44_14_ && i != (((Class587_Sub44) class587_sub44_14_).anInt9887 * -1893581061))
			throw new IllegalArgumentException(string);
		method1621(i, -1505569663);
		if (i >= ((Class71) this).aClass587_Sub44Array1057.length) {
			int i_15_;
			for (i_15_ = ((Class71) this).aClass587_Sub44Array1057.length; i >= i_15_; i_15_ += i_15_) {
				/* empty */
			}
			((Class71) this).aClass445_1058 = new Class445(i_15_);
			for (int i_16_ = 0; i_16_ < ((Class71) this).aClass587_Sub44Array1057.length; i_16_++) {
				Class587_Sub44 class587_sub44_17_ = ((Class71) this).aClass587_Sub44Array1057[i_16_];
				if (class587_sub44_17_ != null)
					((Class71) this).aClass445_1058.method8011(class587_sub44_17_, 3401098856066297101L * class587_sub44_17_.aLong7674);
			}
			Class587_Sub44[] class587_sub44s = new Class587_Sub44[i_15_];
			for (int i_18_ = 0; i_18_ < ((Class71) this).aClass587_Sub44Array1057.length; i_18_++)
				class587_sub44s[i_18_] = ((Class71) this).aClass587_Sub44Array1057[i_18_];
			((Class71) this).aClass587_Sub44Array1057 = class587_sub44s;
		}
		((Class587_Sub44) class587_sub44).anInt9887 = -843178957 * i;
		((Class587_Sub44) class587_sub44).aString9886 = string;
		((Class71) this).aClass445_1058.method8011(class587_sub44, ((Class71) this).anInterface3_1059.method29(string, 683436350));
		((Class71) this).aClass587_Sub44Array1057[i] = class587_sub44;
	}

	static final void method1625(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= -1140365234;
		int i_19_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_20_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498 + 1]);
		if (i_19_ > 700 || i_20_ > 700)
			((Class477) class477).anIntArray6497[((((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1)] = 256;
		double d = ((Math.random() * (double) (i_19_ + i_20_) - (double) i_19_ + 800.0) / 100.0);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = (int) (Math.pow(2.0, d) + 0.5);
	}

	static final void method1626(Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		boolean bool = Class92_Sub2.aclient8660.method4833(new File(string), 1257296771);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = bool ? 1 : 0;
	}

	static final void method1627(Class477 class477, byte i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = -1795047769 * client.anInt8027 - client.anInt8240 * 749495445;
	}

	public static int method1628(int i, byte i_21_) {
		i = --i | i >>> 1;
		i |= i >>> 2;
		i |= i >>> 4;
		i |= i >>> 8;
		i |= i >>> 16;
		return 1 + i;
	}

	static int method1629(Class497_Sub1_Sub3_Sub5_Sub2 class497_sub1_sub3_sub5_sub2, int i) {
		Class619 class619 = class497_sub1_sub3_sub5_sub2.aClass619_11143;
		if (null != class619.anIntArray7904) {
			class619 = class619.method13140(Class246.aClass5_3969, Class246.aClass5_3969, 135420868);
			if (class619 == null)
				return -1;
		}
		int i_22_ = class619.anInt7919 * 158880953;
		Class555 class555 = class497_sub1_sub3_sub5_sub2.method17364((byte) 16);
		int i_23_ = class497_sub1_sub3_sub5_sub2.aClass436_Sub1_11067.method7869(1910744601);
		if (-1 == i_23_ || class497_sub1_sub3_sub5_sub2.aClass436_Sub1_11067.aBool8318)
			i_22_ = class619.anInt7917 * 1531158497;
		else if (i_23_ == -1991782699 * class555.anInt7211 || i_23_ == class555.anInt7200 * -2072304315 || class555.anInt7244 * -1467726663 == i_23_ || class555.anInt7213 * -862588423 == i_23_)
			i_22_ = 1838059655 * class619.anInt7920;
		else if (-2101463867 * class555.anInt7204 == i_23_ || class555.anInt7215 * -119979771 == i_23_ || class555.anInt7216 * 2082824807 == i_23_ || i_23_ == class555.anInt7217 * -1351354327)
			i_22_ = 678900473 * class619.anInt7918;
		return i_22_;
	}

	public static void method1630(int i, String string, boolean bool, int i_24_) {
		if (0 == i) {
			Class327.aClass84_5125 = Class248.method5029(0, Class180.aCanvas2174, Class441_Sub14.aClass101_8378, Class214.anInterface5_2570, Class510.aClass279_6800, Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub10_8605.method13848(-778549674) * 2, -1965617211);
			if (null != string) {
				Class327.aClass84_5125.method1912(1, 0);
				Class611 class611 = Class92_Sub14.method14672(Class13.aClass279_130, Class3.anInt22 * 928266985, 0, (byte) 0);
				Class106 class106 = (Class327.aClass84_5125.method1945(class611, ((Class100_Sub1[]) Class168.method3738(Class72.aClass279_1096, 928266985 * Class3.anInt22, 0)), true));
				Class46.method1189(-1948717927);
				Class10.method535(string, true, Class327.aClass84_5125, class106, class611, 1958918208);
			}
		} else {
			Class84 class84 = null;
			if (null != string) {
				class84 = Class248.method5029(0, Class180.aCanvas2174, Class441_Sub14.aClass101_8378, Class214.anInterface5_2570, Class510.aClass279_6800, 0, -2069539822);
				class84.method1912(1, 0);
				Class611 class611 = Class92_Sub14.method14672(Class13.aClass279_130, Class3.anInt22 * 928266985, 0, (byte) 0);
				Class106 class106 = (class84.method1945(class611, ((Class100_Sub1[]) Class168.method3738(Class72.aClass279_1096, 928266985 * Class3.anInt22, 0)), true));
				Class46.method1189(-1876426575);
				Class10.method535(string, true, class84, class106, class611, 1330439914);
			}
			try {
				try {
					Class327.aClass84_5125 = Class248.method5029(i, Class180.aCanvas2174, Class441_Sub14.aClass101_8378, Class214.anInterface5_2570, Class510.aClass279_6800, Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub10_8605.method13848(-436284597) * 2, -1612320365);
					if (string != null) {
						class84.method1912(1, 0);
						Class611 class611 = Class92_Sub14.method14672(Class13.aClass279_130, (928266985 * Class3.anInt22), 0, (byte) 0);
						Class106 class106 = class84.method1945(class611, ((Class100_Sub1[]) (Class168.method3738(Class72.aClass279_1096, 928266985 * Class3.anInt22, 0))), true);
						Class46.method1189(-2116476325);
						Class10.method535(string, true, class84, class106, class611, 2082204482);
					}
					if (Class327.aClass84_5125.method1878()) {
						boolean bool_25_ = true;
						try {
							bool_25_ = (Class587_Sub34.aClass587_Sub8_9749.anInt8573 * 1409635001) > 256;
						} catch (Throwable throwable) {
							/* empty */
						}
						Class587_Sub25 class587_sub25;
						if (bool_25_)
							class587_sub25 = Class327.aClass84_5125.method1932(146800640);
						else
							class587_sub25 = Class327.aClass84_5125.method1932(104857600);
						Class327.aClass84_5125.method1933(class587_sub25);
					}
				} catch (Throwable throwable) {
					switch (i) {
					case 1:
						Class611.method13047(Class402.aClass402_5762, 655294687);
						break;
					case 3:
						Class611.method13047(Class402.aClass402_5763, 204998941);
						break;
					}
					int i_26_ = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(1194873459);
					Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629), 0, -1147729009);
					method1630(i_26_, string, bool, -811252396);
					if (null != class84) {
						try {
							class84.method2135((byte) -40);
						} catch (Throwable throwable_27_) {
							/* empty */
						}
					}
					return;
				}
				if (null != class84) {
					try {
						class84.method2135((byte) -11);
					} catch (Throwable throwable) {
						/* empty */
					}
				}
			} catch (Exception object) {
				if (null != class84) {
					try {
						class84.method2135((byte) -27);
					} catch (Throwable throwable) {
						/* empty */
					}
				}
				throw object;
			}
		}
		if (bool)
			Class92_Sub20.aClass587_Sub11_10075.method14607(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629, !bool, -1874028236);
		Class92_Sub20.aClass587_Sub11_10075.method14590(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629, i, 1468545876);
		if (!bool)
			Class92_Sub20.aClass587_Sub11_10075.method14607(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629, !bool, -2089093901);
		Class250.method5041(1299439582);
		Class327.aClass84_5125.method1948(10000);
		Class327.aClass84_5125.method1942(32);
		client.aClass237_8070.method4698(463812285);
		if (Class327.aClass84_5125.method1975())
			Class512.method11538(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub30_8597.method14092(-1841863014) == 1, (byte) -109);
		client.aClass237_8070.method4820(626231014);
		client.aClass237_8070.method4776(-745588254).method11347(1450313929);
		client.aBool8022 = false;
		client.aBool8032 = true;
		Class212_Sub2.aClass443Array9832 = null;
		Class327.aClass84_5125.method1906(0.0F, 1.0F);
	}
}
