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

public class Class39 {
	static Class39 aClass39_715;
	static Class39 aClass39_716;
	static Class39 aClass39_717;
	public static Class39 aClass39_718 = new Class39(0, 104);
	static Class39 aClass39_719;
	public int anInt720;
	public int anInt721;
	public static int anInt722;
	public static Class135 aClass135_723;

	public static Class39 method1117(int i) {
		Class39[] class39s = Class120.method2886((byte) 66);
		for (int i_0_ = 0; i_0_ < class39s.length; i_0_++) {
			Class39 class39 = class39s[i_0_];
			if (i == 161529995 * class39.anInt720)
				return class39;
		}
		return null;
	}

	Class39(int i, int i_1_) {
		anInt720 = i * 1856087843;
		anInt721 = i_1_ * 247723893;
	}

	static Class39[] method1118() {
		return new Class39[] { aClass39_719, aClass39_716, aClass39_715, aClass39_717, aClass39_718 };
	}

	static Class39[] method1119() {
		return new Class39[] { aClass39_719, aClass39_716, aClass39_715, aClass39_717, aClass39_718 };
	}

	static Class39[] method1120() {
		return new Class39[] { aClass39_719, aClass39_716, aClass39_715, aClass39_717, aClass39_718 };
	}

	static {
		aClass39_716 = new Class39(1, 120);
		aClass39_715 = new Class39(2, 136);
		aClass39_717 = new Class39(3, 168);
		aClass39_719 = new Class39(4, 72);
	}

	static Class39[] method1121() {
		return new Class39[] { aClass39_719, aClass39_716, aClass39_715, aClass39_717, aClass39_718 };
	}

	public static Class39 method1122(int i) {
		Class39[] class39s = Class120.method2886((byte) -29);
		for (int i_2_ = 0; i_2_ < class39s.length; i_2_++) {
			Class39 class39 = class39s[i_2_];
			if (i == 161529995 * class39.anInt720)
				return class39;
		}
		return null;
	}

	static final void method1123(Class35 class35, Class118 class118, Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		int[] is = Class259.method5137(string, class477, 765104240);
		if (is != null)
			string = string.substring(0, string.length() - 1);
		class35.anObjectArray578 = Class188.method3960(string, class477, (byte) 4);
		class35.anIntArray517 = is;
		class35.aBool448 = true;
	}

	static final void method1124(Class35 class35, Class477 class477, int i) {
		int i_3_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		int i_4_ = ((((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]) - 1);
		if (class35.anInt624 * -1812766933 != 2)
			throw new RuntimeException("");
		Class619 class619 = Class211.aClass599_2552.method12905(-1496457985 * class35.anInt503, 1980772707);
		if (null == class35.aClass598_585)
			class35.aClass598_585 = new Class598(class619, false);
		class35.aClass598_585.aLong7764 = Class554.method12075(-1366552506) * -5388388126814432033L;
		if (i_4_ < 0 || i_4_ >= class619.anIntArray7875.length)
			throw new RuntimeException("");
		class35.aClass598_585.anIntArray7765[i_4_] = i_3_;
		Class423.method7674(class35, -1536916297);
	}

	static final void method1125(Class477 class477, int i) {
		((Class477) class477).anInt6500 -= -688286802;
		String string = (String) (((Class477) class477).anObjectArray6499[-443336217 * ((Class477) class477).anInt6500]);
		String string_5_ = (String) (((Class477) class477).anObjectArray6499[1 + ((Class477) class477).anInt6500 * -443336217]);
		Class420.method7630(string, string_5_, (byte) -93);
	}

	static final void method1126(Class477 class477, byte i) {
		Class167 class167 = (Class167) (((Class477) class477).aClass587_Sub34_Sub5_6507.anObjectArray10693[((Class477) class477).anInt6520 * -800229703]);
		Interface13 interface13 = ((Interface13) ((((Class477) class477).anIntArray6518[-800229703 * ((Class477) class477).anInt6520]) == 0 ? ((Class477) class477).aMap6508.get(class167.aClass212_2120) : ((Class477) class477).aMap6504.get(class167.aClass212_2120)));
		Class297 class297 = class167.aClass301_2119.method6042((byte) 1);
		if (class297 == Class297.aClass297_4409)
			((Class477) class477).anIntArray6497[((((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1)] = interface13.method82(class167, (byte) 56);
		else if (Class297.aClass297_4407 == class297)
			((Class477) class477).aLongArray6514[((((Class477) class477).anInt6502 += -761681595) * 317358477 - 1)] = interface13.method81(class167, 374990535);
		else if (Class297.aClass297_4408 == class297) {
			try {
				String string = (String) interface13.method92(class167, 898758391);
				if (null == string)
					string = "null";
				((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217) - 1] = string;
			} catch (Exception exception) {
				throw new RuntimeException(exception);
			}
		} else
			throw new RuntimeException();
	}

	static void method1127(int i) {
		Class587_Sub46.aClass113_9894.method2642(-1218236222);
	}

	static final void method1128(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= -1140365234;
		int i_6_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_7_ = (((Class477) class477).anIntArray6497[1 + 2028895127 * ((Class477) class477).anInt6498]);
		if (-1 != i_6_) {
			if (i_7_ > 255)
				i_7_ = 255;
			else if (i_7_ < 0)
				i_7_ = 0;
			Class369.method6945(i_6_, i_7_, false, -1162063415);
		}
	}

	public static String method1129(String string, int i) {
		StringBuilder stringbuilder = new StringBuilder();
		int i_8_ = string.length();
		for (int i_9_ = 0; i_9_ < i_8_; i_9_++) {
			char c = string.charAt(i_9_);
			if (c == 37 && i_8_ > i_9_ + 2) {
				c = string.charAt(i_9_ + 1);
				boolean bool = false;
				int i_10_;
				if (c >= 48 && c <= 57)
					i_10_ = c - 48;
				else if (c >= 97 && c <= 102)
					i_10_ = c + 10 - 97;
				else if (c >= 65 && c <= 70)
					i_10_ = c + 10 - 65;
				else {
					stringbuilder.append('%');
					continue;
				}
				i_10_ *= 16;
				int i_11_ = string.charAt(i_9_ + 2);
				if (i_11_ >= 48 && i_11_ <= 57)
					i_10_ += i_11_ - 48;
				else if (i_11_ >= 97 && i_11_ <= 102)
					i_10_ += i_11_ + 10 - 97;
				else if (i_11_ >= 65 && i_11_ <= 70)
					i_10_ += i_11_ + 10 - 65;
				else {
					stringbuilder.append('%');
					continue;
				}
				if (i_10_ != 0 && Class583.method12734((byte) i_10_, (byte) 54))
					stringbuilder.append(Class84.method2260((byte) i_10_, 1031636366));
				i_9_ += 2;
			} else if (43 == c)
				stringbuilder.append(' ');
			else
				stringbuilder.append(c);
		}
		return stringbuilder.toString();
	}
}
