/* Class423 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Frame;
import java.io.DataInputStream;
import java.net.URL;

public final class Class423 {
	public static boolean aBool6174 = true;

	public static Class443[] method7663(Class429 class429) {
		int[] is = class429.method7737(-541169979);
		Class443[] class443s = new Class443[is.length >> 2];
		for (int i = 0; i < class443s.length; i++) {
			Class443 class443 = new Class443();
			class443s[i] = class443;
			class443.anInt6327 = 857011811 * is[i << 2];
			class443.anInt6325 = 751244993 * is[(i << 2) + 1];
			class443.anInt6326 = is[2 + (i << 2)] * -807009443;
			((Class443) class443).anInt6328 = -1686337075 * is[3 + (i << 2)];
		}
		return class443s;
	}

	public static void method7664(Class429 class429, Frame frame) {
		class429.method7738(1490063989);
		frame.setVisible(false);
		frame.dispose();
	}

	public static Class443[] method7665(Class429 class429) {
		int[] is = class429.method7737(-1428053164);
		Class443[] class443s = new Class443[is.length >> 2];
		for (int i = 0; i < class443s.length; i++) {
			Class443 class443 = new Class443();
			class443s[i] = class443;
			class443.anInt6327 = 857011811 * is[i << 2];
			class443.anInt6325 = 751244993 * is[(i << 2) + 1];
			class443.anInt6326 = is[2 + (i << 2)] * -807009443;
			((Class443) class443).anInt6328 = -1686337075 * is[3 + (i << 2)];
		}
		return class443s;
	}

	Class423() throws Throwable {
		throw new Error();
	}

	public static Frame method7666(Class429 class429, int i, int i_0_, int i_1_, int i_2_) {
		if (0 == i_1_) {
			Class443[] class443s = Class7.method502(class429, -1633064530);
			if (null == class443s)
				return null;
			boolean bool = false;
			for (int i_3_ = 0; i_3_ < class443s.length; i_3_++) {
				if (i == -1567540405 * class443s[i_3_].anInt6327 && -1775077055 * class443s[i_3_].anInt6325 == i_0_ && (i_2_ == 0 || (((Class443) class443s[i_3_]).anInt6328 * 1807452933 == i_2_)) && (!bool || 1718970613 * class443s[i_3_].anInt6326 > i_1_)) {
					i_1_ = 1718970613 * class443s[i_3_].anInt6326;
					bool = true;
				}
			}
			if (!bool)
				return null;
		}
		Frame frame = new Frame("Jagex Full Screen");
		frame.setResizable(false);
		class429.method7736(frame, i, i_0_, i_1_, i_2_, -1876987207);
		return frame;
	}

	public static Class443[] method7667(Class429 class429) {
		int[] is = class429.method7737(375953981);
		Class443[] class443s = new Class443[is.length >> 2];
		for (int i = 0; i < class443s.length; i++) {
			Class443 class443 = new Class443();
			class443s[i] = class443;
			class443.anInt6327 = 857011811 * is[i << 2];
			class443.anInt6325 = 751244993 * is[(i << 2) + 1];
			class443.anInt6326 = is[2 + (i << 2)] * -807009443;
			((Class443) class443).anInt6328 = -1686337075 * is[3 + (i << 2)];
		}
		return class443s;
	}

	public static Frame method7668(Class429 class429, int i, int i_4_, int i_5_, int i_6_) {
		if (0 == i_5_) {
			Class443[] class443s = Class7.method502(class429, -1633064530);
			if (null == class443s)
				return null;
			boolean bool = false;
			for (int i_7_ = 0; i_7_ < class443s.length; i_7_++) {
				if (i == -1567540405 * class443s[i_7_].anInt6327 && -1775077055 * class443s[i_7_].anInt6325 == i_4_ && (i_6_ == 0 || (((Class443) class443s[i_7_]).anInt6328 * 1807452933 == i_6_)) && (!bool || 1718970613 * class443s[i_7_].anInt6326 > i_5_)) {
					i_5_ = 1718970613 * class443s[i_7_].anInt6326;
					bool = true;
				}
			}
			if (!bool)
				return null;
		}
		Frame frame = new Frame("Jagex Full Screen");
		frame.setResizable(false);
		class429.method7736(frame, i, i_4_, i_5_, i_6_, -816562645);
		return frame;
	}

	public static void method7669(Class429 class429, Frame frame) {
		class429.method7738(1490063989);
		frame.setVisible(false);
		frame.dispose();
	}

	public static Class611 method7670(Class279 class279, int i, int i_8_) {
		byte[] is = class279.method5587(i, 2028895127);
		if (is == null)
			return null;
		return new Class611(is);
	}

	static byte method7671(int i, int i_9_, int i_10_) {
		if (-1642219389 * Class523.aClass523_6978.anInt6986 != i)
			return (byte) 0;
		if (0 == (i_9_ & 0x1))
			return (byte) 1;
		return (byte) 2;
	}

	public static Class587_Sub38 method7672(int i, int i_11_, byte i_12_) {
		Class46 class46 = (Class46) Class58.aMap977.get(Integer.valueOf(i));
		return class46.method1176(i_11_, (byte) -123);
	}

	static final void method7673(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= -1140365234;
		int i_13_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_14_ = (((Class477) class477).anIntArray6497[1 + 2028895127 * ((Class477) class477).anInt6498]);
		Class480 class480;
		if (((Class477) class477).aBool6510)
			class480 = ((Class477) class477).aClass480_6506;
		else
			class480 = ((Class477) class477).aClass480_6492;
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = (-1 != i_14_ && class480.method8426(i_13_, i_14_, (byte) 5) ? 1 : 0);
	}

	public static void method7674(Class35 class35, int i) {
		if (client.anInt7994 * 1624134817 == -2069430231 * class35.anInt556)
			client.aBoolArray8247[class35.anInt586 * 2039741993] = true;
	}

	static void method7675(int i, int i_15_, byte i_16_) {
		Class587_Sub34_Sub2 class587_sub34_sub2 = Class488_Sub1.method14158(1, (long) i);
		class587_sub34_sub2.method16879((byte) -99);
		((Class587_Sub34_Sub2) class587_sub34_sub2).anInt10660 = 889228231 * i_15_;
	}

	public static void method7676(String string, Throwable throwable, int i) {
		try {
			String string_17_ = "";
			if (null != throwable)
				string_17_ = Class441_Sub8.method13834(throwable, 1737678342);
			if (string != null) {
				if (null != throwable)
					string_17_ = new StringBuilder().append(string_17_).append(" | ").toString();
				string_17_ = new StringBuilder().append(string_17_).append(string).toString();
			}
			Class531.method11777(string_17_, -1410624699);
			string_17_ = Class506.method11465(string_17_, 632627067);
			if (Class587_Sub13_Sub1.anApplet10333 != null) {
				String string_18_ = "Unknown";
				String string_19_ = "1.1";
				try {
					string_18_ = System.getProperty("java.vendor");
					string_19_ = System.getProperty("java.version");
				} catch (Exception exception) {
					/* empty */
				}
				URL url = (new URL(Class587_Sub13_Sub1.anApplet10333.getCodeBase(), new StringBuilder().append("clienterror.ws?c=").append(521557007 * RuntimeException_Sub2.anInt10957).append("&cs=").append(1094588909 * Class566.anInt7335).append("&u=").append(null != RuntimeException_Sub2.aString10956 ? Class506.method11465((RuntimeException_Sub2.aString10956), 632627067) : new StringBuilder().append("").append(-485527343823823469L * RuntimeException_Sub2.aLong10958).toString()).append("&v1=").append(Class506.method11465(string_18_, 632627067)).append("&v2=").append(Class506.method11465(string_19_, 632627067)).append("&e=").append(string_17_).toString()));
				DataInputStream datainputstream = new DataInputStream(url.openStream());
				datainputstream.read();
				datainputstream.close();
			}
		} catch (Exception exception) {
			exception.printStackTrace();
		}
	}

	static final void method7677(Class477 class477, int i) {
		int i_20_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		if (client.anInt8289 * -619401357 != 0 && i_20_ < 1288363451 * client.anInt8293) {
			Class26 class26 = client.aClass26Array8030[i_20_];
			((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217 - 1)] = class26.aString276;
			if (class26.aString275 != null)
				((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217) - 1] = class26.aString275;
			else
				((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217) - 1] = "";
		} else {
			((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217 - 1)] = "";
			((Class477) class477).anObjectArray6499[((((Class477) class477).anInt6500 += 1803340247) * -443336217 - 1)] = "";
		}
	}
}
