/* Class184 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Date;

public class Class184 {
	static int anInt2200;
	static int anInt2201;
	static String[] aStringArray2202;
	static final String aString2203 = "Failure";
	static final int anInt2204 = 350;
	static String aString2205;
	static int anInt2206;
	static int anInt2207;
	static int anInt2208;
	static boolean aBool2209;
	static long aLong2210;
	static int anInt2211;
	static FileOutputStream aFileOutputStream2212;
	static final String aString2213 = "\\/.:, _-+[]~@";
	static final String aString2214 = "Success";
	static int anInt2215 = 0;
	static int anInt2216;

	public static void method3889(String string) {
		aString2205 = string;
		anInt2211 = aString2205.length() * 708093285;
	}

	public static void method3890(String string, boolean bool, boolean bool_0_) {
		do {
			try {
				if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) {
					Class319.method6276("commands - This command", 1468322118);
					Class319.method6276("cls - Clear console", 1468322118);
					Class319.method6276("displayfps - Toggle FPS and other information", 1468322118);
					Class319.method6276("renderer - Print graphics renderer information", 1468322118);
					Class319.method6276("heap - Print java memory information", 1468322118);
					Class319.method6276("getcamerapos - Print location and direction of camera for use in bug reports", 1468322118);
				} else if (string.equalsIgnoreCase("cls")) {
					anInt2215 = 0;
					anInt2207 = 0;
				} else if (string.equalsIgnoreCase("displayfps")) {
					client.aBool8115 = !client.aBool8115;
					if (client.aBool8115)
						Class319.method6276("FPS on", 1468322118);
					else
						Class319.method6276("FPS off", 1468322118);
				} else if (string.equals("renderer")) {
					Class170 class170 = Class327.aClass84_5125.method1914();
					Class319.method6276(new StringBuilder().append("Toolkit ID: ").append(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(444362278)).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Vendor: ").append(350841811 * class170.anInt2130).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Name: ").append(class170.aString2129).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Version: ").append(class170.anInt2136 * 35291603).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Device: ").append(class170.aString2137).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Driver Version: ").append(4701298338918313193L * class170.aLong2138).toString(), 1468322118);
				} else if (string.equals("heap"))
					Class319.method6276(new StringBuilder().append("Heap: ").append(Class238.anInt2813 * -197065905).append("MB").toString(), 1468322118);
				else {
					if (!string.equalsIgnoreCase("getcamerapos"))
						break;
					Class538 class538 = client.aClass237_8070.method4789((byte) -67);
					Class319.method6276(new StringBuilder().append("Pos: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((class538.anInt7085 * 1532636785 + (Class92_Sub14.anInt8754 * -1297049311 >> 9)) >> 6).append(",").append(((Class348_Sub3.anInt10169 * -1558380401 >> 9) + -438699449 * class538.anInt7083) >> 6).append(",").append(((Class92_Sub14.anInt8754 * -1297049311 >> 9) + class538.anInt7085 * 1532636785) & 0x3f).append(",").append(((-1558380401 * Class348_Sub3.anInt10169 >> 9) + class538.anInt7083 * -438699449) & 0x3f).append(" Height: ").append((Class280.method5677(Class92_Sub14.anInt8754 * -1297049311, Class348_Sub3.anInt10169 * -1558380401, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class193.anInt2310 * -1051887285).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Look: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((1420186967 * Class471.anInt6463 + class538.anInt7085 * 1532636785) >> 6).append(",").append((-438699449 * class538.anInt7083 + Class426.anInt6202 * -640338569) >> 6).append(",").append((1532636785 * class538.anInt7085 + Class471.anInt6463 * 1420186967) & 0x3f).append(",").append((class538.anInt7083 * -438699449 + -640338569 * Class426.anInt6202) & 0x3f).append(" Height: ").append((Class280.method5677(Class471.anInt6463 * 1420186967, Class426.anInt6202 * -640338569, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class526.anInt7003 * 361847479).toString(), 1468322118);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, 873748728)), 1468322118);
			}
			return;
		} while (false);
		if (Class495.aClass495_6658 != Class401.aClass495_5754 || client.anInt8213 * 1038386101 >= 2) {
			try {
				if (string.equalsIgnoreCase("wm1")) {
					Class421.method7658(1, -1, -1, false, (byte) 107);
					if (Class92_Sub10.method14665((byte) 34) == 1)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("wm2")) {
					Class421.method7658(2, -1, -1, false, (byte) 102);
					if (Class92_Sub10.method14665((byte) 70) == 2)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (Class423.aBool6174 && string.equalsIgnoreCase("wm3")) {
					Class421.method7658(3, 1024, 768, false, (byte) 83);
					if (Class92_Sub10.method14665((byte) 127) == 3)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.startsWith("setlobby ")) {
					int i = -1;
					Object object = null;
					string = string.substring(9);
					int i_1_ = string.indexOf(' ');
					if (i_1_ == -1)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_1_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_2_ = new StringBuilder().append(string.substring(1 + i_1_).trim()).append(".runescape.com").toString();
							Class128.method3059(string_2_, i, -2122243428);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.startsWith("setmediastream ")) {
					int i = -1;
					Object object = null;
					string = string.substring(15);
					int i_3_ = string.indexOf(' ');
					if (-1 == i_3_)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_3_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_4_ = new StringBuilder().append(string.substring(i_3_ + 1).trim()).append(".runescape.com").toString();
							Class324.method6302(string_4_, i, (short) 11955);
							Class269.aClass285_4170.method5705(Class408.aClass613_5973.aString7840, Class408.aClass613_5973.method13071(813195770), -1662271889);
							Class211.aClass265_2551.method5271((byte) -96);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.equalsIgnoreCase("tk0")) {
					Class621.method13178(0, false, -263294179);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(1286426427) == 0) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 0, 1349162893);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk1")) {
					Class621.method13178(1, false, 735470651);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1398402203) == 1) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 1, 102487039);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk3")) {
					Class621.method13178(3, false, -2028852803);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(145468357) == 3) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 3, 1842878311);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk5")) {
					Class621.method13178(5, false, 173188370);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(589300426) == 5) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 5, 92425558);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("clientdrop")) {
					if (0 == client.anInt8013 * 906940163)
						Class599.method12907(-1754747722);
					else if (906940163 * client.anInt8013 == 6)
						client.aClass190_8065.aBool2281 = true;
					return;
				}
				if (string.equalsIgnoreCase("breakcon")) {
					Class190[] class190s = client.aClass190Array8254;
					for (int i = 0; i < class190s.length; i++) {
						Class190 class190 = class190s[i];
						if (class190.method3963(-1447990823) != null)
							class190.method3963(-1251991307).method12368(1143673430);
					}
					Class121.aClass275_1667.method5398((byte) 2);
					return;
				}
				if (string.startsWith("getclientvarpbit")) {
					int i = Integer.parseInt(string.substring(17));
					Class319.method6276(new StringBuilder().append("varpbit=").append(Class246.aClass5_3969.method85(Class246.aClass5_3969.method70(i, -515017469), (byte) 17)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("getclientvarp")) {
					int i = Integer.parseInt(string.substring(14));
					Class319.method6276(new StringBuilder().append("varp=").append(Class246.aClass5_3969.method82((Class246.aClass5_3969.method77(Class212.aClass212_2560, i, 1599214059)), (byte) 33)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("directlogin")) {
					String[] strings = Class490.method11125(string.substring(12), ' ', 1738526254);
					if (strings.length == 2)
						Class546.method11948(strings[0], strings[1], 1218125179);
					return;
				}
				if (string.startsWith("snlogin ")) {
					String[] strings = Class490.method11125(string.substring(8), ' ', 1738526254);
					int i = Integer.parseInt(strings[0]);
					Class325.method6311(i, -1313005297);
					return;
				}
				if (string.startsWith("setoutput ")) {
					File file = new File(string.substring(10));
					if (file.exists()) {
						file = new File(new StringBuilder().append(string.substring(10)).append(".").append(Class121.method2891(1837600598)).append(".log").toString());
						if (file.exists()) {
							Class319.method6276("file already exists!", 1468322118);
							return;
						}
					}
					if (aFileOutputStream2212 != null) {
						aFileOutputStream2212.close();
						aFileOutputStream2212 = null;
					}
					try {
						aFileOutputStream2212 = new FileOutputStream(file);
					} catch (FileNotFoundException filenotfoundexception) {
						Class319.method6276(new StringBuilder().append("Could not create ").append(file.getName()).toString(), 1468322118);
					} catch (SecurityException securityexception) {
						Class319.method6276(new StringBuilder().append("Cannot write to ").append(file.getName()).toString(), 1468322118);
					}
					return;
				}
				if (string.equals("closeoutput")) {
					if (null != aFileOutputStream2212)
						aFileOutputStream2212.close();
					aFileOutputStream2212 = null;
					return;
				}
				if (string.startsWith("runscript ")) {
					File file = new File(string.substring(10));
					if (!file.exists()) {
						Class319.method6276("No such file", 1468322118);
						return;
					}
					byte[] is = Class628.method13233(file, (byte) 12);
					if (is == null) {
						Class319.method6276("Failed to read file", 1468322118);
						return;
					}
					String[] strings = (Class490.method11125(Class132.method3082(Class87.method2293(is, 67434808), '\r', "", 1303273349), '\n', 1738526254));
					Class206.method4389(strings, -1038735522);
				}
				if (client.anInt8013 * 906940163 == 0 || client.anInt8013 * 906940163 == 7) {
					Class190 class190 = Class587_Sub22.method15814(-16711936);
					Class587_Sub45 class587_sub45 = Class70.method1609(Class320.aClass320_4854, class190.aClass426_2279, 2042697197);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(string.length() + 3, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool_0_ ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14382(string, -2020618171);
					class190.method3964(class587_sub45, 1842132400);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, 1157522612)), 1468322118);
				return;
			}
		}
		if (0 != client.anInt8013 * 906940163 && 7 != client.anInt8013 * 906940163)
			Class319.method6276(new StringBuilder().append(Class404.aClass404_5784.method7191(Class316.aClass469_4747, -216150453)).append(string).toString(), 1468322118);
	}

	static boolean method3891() {
		if (Class237.method4826(906940163 * client.anInt8013, (byte) -67))
			return false;
		return true;
	}

	static void method3892() {
		if (Class2.method450(1071304745)) {
			if (null == aStringArray2202)
				Class92.method2332((byte) -108);
			aBool2209 = true;
			anInt2208 = 0;
		}
	}

	static void method3893() {
		if (Class2.method450(1071304745)) {
			if (null == aStringArray2202)
				Class92.method2332((byte) -17);
			aBool2209 = true;
			anInt2208 = 0;
		}
	}

	static void method3894() {
		Class541.anInt7092 = (Class274.aClass611_4183.anInt7831 * -1631800143 + Class274.aClass611_4183.anInt7833 * -441544609 + -2004455822);
		anInt2201 = (Class3.aClass611_28.anInt7833 * -1238370649 + 1812255209 * Class3.aClass611_28.anInt7831 + 430058594);
		aStringArray2202 = new String[500];
		for (int i = 0; i < aStringArray2202.length; i++)
			aStringArray2202[i] = "";
		Class319.method6276(Class404.aClass404_5925.method7191(Class316.aClass469_4747, 1039311070), 1468322118);
	}

	static void method3895() {
		aBool2209 = false;
		Class506.method11467((byte) -124);
	}

	static void method3896() {
		aBool2209 = false;
		Class506.method11467((byte) -4);
	}

	static void method3897() {
		aBool2209 = false;
		Class506.method11467((byte) -75);
	}

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

	static void method3898() {
		/* empty */
	}

	static void method3899() {
		if (null != aFileOutputStream2212) {
			try {
				aFileOutputStream2212.close();
			} catch (IOException ioexception) {
				/* empty */
			}
		}
		aFileOutputStream2212 = null;
	}

	static boolean method3900() {
		return aBool2209;
	}

	public static void method3901(String string) {
		if (aStringArray2202 == null)
			Class92.method2332((byte) 25);
		client.aCalendar8024.setTime(new Date(Class121.method2891(1344446584)));
		int i = client.aCalendar8024.get(11);
		int i_5_ = client.aCalendar8024.get(12);
		int i_6_ = client.aCalendar8024.get(13);
		String string_7_ = new StringBuilder().append(Integer.toString(i / 10)).append(i % 10).append(":").append(i_5_ / 10).append(i_5_ % 10).append(":").append(i_6_ / 10).append(i_6_ % 10).toString();
		String[] strings = Class490.method11125(string, '\n', 1738526254);
		for (int i_8_ = 0; i_8_ < strings.length; i_8_++) {
			for (int i_9_ = anInt2215 * 607503411; i_9_ > 0; i_9_--)
				aStringArray2202[i_9_] = aStringArray2202[i_9_ - 1];
			aStringArray2202[0] = new StringBuilder().append(string_7_).append(": ").append(strings[i_8_]).toString();
			if (aFileOutputStream2212 != null) {
				try {
					aFileOutputStream2212.write(Class369.method6946(new StringBuilder().append(aStringArray2202[0]).append("\n").toString(), (byte) 96));
				} catch (IOException ioexception) {
					/* empty */
				}
			}
			if (anInt2215 * 607503411 < aStringArray2202.length - 1) {
				anInt2215 += 128112379;
				if (anInt2207 * 1642068191 > 0)
					anInt2207 += 194102047;
			}
		}
	}

	static void method3902(String[] strings) {
		if (strings.length > 1) {
			for (int i = 0; i < strings.length; i++) {
				if (strings[i].startsWith("pause")) {
					int i_10_ = 5;
					try {
						i_10_ = Integer.parseInt(strings[i].substring(6));
					} catch (Exception exception) {
						/* empty */
					}
					Class319.method6276(new StringBuilder().append("Pausing for ").append(i_10_).append(" seconds...").toString(), 1468322118);
					AbstractQueue_Sub1.aStringArray10627 = strings;
					anInt2200 = (i + 1) * 268055967;
					aLong2210 = (Class121.method2891(-1349095789) + (long) (1000 * i_10_)) * -3387951815717344657L;
					break;
				}
				aString2205 = strings[i];
				Class92_Sub21.method16321(false, (byte) 1);
			}
		} else {
			aString2205 = new StringBuilder().append(aString2205).append(strings[0]).toString();
			anInt2211 += strings[0].length() * 708093285;
		}
	}

	static void method3903() {
		if (204068093 * anInt2208 < 102)
			anInt2208 += 601321982;
		if (anInt2200 * 1459594847 != -1 && (aLong2210 * -2000173235612978033L < Class121.method2891(-1829315843))) {
			for (int i = anInt2200 * 1459594847; i < AbstractQueue_Sub1.aStringArray10627.length; i++) {
				if (AbstractQueue_Sub1.aStringArray10627[i].startsWith("pause")) {
					int i_11_ = 5;
					try {
						i_11_ = Integer.parseInt(AbstractQueue_Sub1.aStringArray10627[i].substring(6));
					} catch (Exception exception) {
						/* empty */
					}
					Class319.method6276(new StringBuilder().append("Pausing for ").append(i_11_).append(" seconds...").toString(), 1468322118);
					anInt2200 = 268055967 * (1 + i);
					aLong2210 = (Class121.method2891(-1993650767) + (long) (i_11_ * 1000)) * -3387951815717344657L;
					return;
				}
				aString2205 = AbstractQueue_Sub1.aStringArray10627[i];
				Class92_Sub21.method16321(false, (byte) 1);
			}
			anInt2200 = -268055967;
		}
		if (0 != 1672758959 * client.anInt8037) {
			anInt2207 -= client.anInt8037 * -1107931915;
			if (1642068191 * anInt2207 >= anInt2215 * 607503411)
				anInt2207 = -1462199507 * anInt2215 - 194102047;
			if (1642068191 * anInt2207 < 0)
				anInt2207 = 0;
			client.anInt8037 = 0;
		}
		for (int i = 0; i < client.anInt8039 * -632181357; i++) {
			Interface58 interface58 = client.anInterface58Array8299[i];
			int i_12_ = interface58.method414((byte) 4);
			char c = interface58.method417(524928156);
			int i_13_ = interface58.method416(-2032498269);
			if (i_12_ == 84)
				Class92_Sub21.method16321(false, (byte) 1);
			if (80 == i_12_)
				Class92_Sub21.method16321(true, (byte) 1);
			else if (66 == i_12_ && 0 != (i_13_ & 0x4)) {
				if (Class92_Sub18.aClipboard8768 != null) {
					String string = "";
					for (int i_14_ = aStringArray2202.length - 1; i_14_ >= 0; i_14_--) {
						if (aStringArray2202[i_14_] != null && aStringArray2202[i_14_].length() > 0)
							string = new StringBuilder().append(string).append(aStringArray2202[i_14_]).append('\n').toString();
					}
					Class92_Sub18.aClipboard8768.setContents(new StringSelection(string), null);
				}
			} else if (i_12_ == 67 && (i_13_ & 0x4) != 0) {
				if (Class92_Sub18.aClipboard8768 != null) {
					try {
						Transferable transferable = Class92_Sub18.aClipboard8768.getContents(null);
						if (null != transferable) {
							String string = (String) (transferable.getTransferData(DataFlavor.stringFlavor));
							if (null != string) {
								String[] strings = Class490.method11125(string, '\n', 1738526254);
								Class206.method4389(strings, -1038735522);
							}
						}
					} catch (Exception exception) {
						/* empty */
					}
				}
			} else if (i_12_ == 85 && anInt2211 * -1862269843 > 0) {
				aString2205 = new StringBuilder().append(aString2205.substring(0, -1862269843 * anInt2211 - 1)).append(aString2205.substring(anInt2211 * -1862269843)).toString();
				anInt2211 -= 708093285;
			} else if (101 == i_12_ && -1862269843 * anInt2211 < aString2205.length())
				aString2205 = new StringBuilder().append(aString2205.substring(0, -1862269843 * anInt2211)).append(aString2205.substring(1 + -1862269843 * anInt2211)).toString();
			else if (96 == i_12_ && -1862269843 * anInt2211 > 0)
				anInt2211 -= 708093285;
			else if (i_12_ == 97 && anInt2211 * -1862269843 < aString2205.length())
				anInt2211 += 708093285;
			else if (i_12_ == 102)
				anInt2211 = 0;
			else if (103 == i_12_)
				anInt2211 = aString2205.length() * 708093285;
			else if (104 == i_12_ && 1765688041 * anInt2206 < aStringArray2202.length) {
				anInt2206 += 1143780697;
				Class274.method5386(221972948);
				anInt2211 = aString2205.length() * 708093285;
			} else if (105 == i_12_ && 1765688041 * anInt2206 > 0) {
				anInt2206 -= 1143780697;
				Class274.method5386(129393082);
				anInt2211 = aString2205.length() * 708093285;
			} else if (Class36.method1099(c, 318619033) || "\\/.:, _-+[]~@".indexOf(c) != -1) {
				aString2205 = new StringBuilder().append(aString2205.substring(0, -1862269843 * anInt2211)).append(client.anInterface58Array8299[i].method417(1014401944)).append(aString2205.substring(anInt2211 * -1862269843)).toString();
				anInt2211 += 708093285;
			}
		}
		client.anInt8039 = 0;
		client.anInt8118 = 0;
		Class506.method11467((byte) -16);
	}

	public static void method3904(String string) {
		aString2205 = string;
		anInt2211 = aString2205.length() * 708093285;
	}

	public static void method3905(String string, boolean bool, boolean bool_15_) {
		do {
			try {
				if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) {
					Class319.method6276("commands - This command", 1468322118);
					Class319.method6276("cls - Clear console", 1468322118);
					Class319.method6276("displayfps - Toggle FPS and other information", 1468322118);
					Class319.method6276("renderer - Print graphics renderer information", 1468322118);
					Class319.method6276("heap - Print java memory information", 1468322118);
					Class319.method6276("getcamerapos - Print location and direction of camera for use in bug reports", 1468322118);
				} else if (string.equalsIgnoreCase("cls")) {
					anInt2215 = 0;
					anInt2207 = 0;
				} else if (string.equalsIgnoreCase("displayfps")) {
					client.aBool8115 = !client.aBool8115;
					if (client.aBool8115)
						Class319.method6276("FPS on", 1468322118);
					else
						Class319.method6276("FPS off", 1468322118);
				} else if (string.equals("renderer")) {
					Class170 class170 = Class327.aClass84_5125.method1914();
					Class319.method6276(new StringBuilder().append("Toolkit ID: ").append(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(350903027)).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Vendor: ").append(350841811 * class170.anInt2130).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Name: ").append(class170.aString2129).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Version: ").append(class170.anInt2136 * 35291603).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Device: ").append(class170.aString2137).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Driver Version: ").append(4701298338918313193L * class170.aLong2138).toString(), 1468322118);
				} else if (string.equals("heap"))
					Class319.method6276(new StringBuilder().append("Heap: ").append(Class238.anInt2813 * -197065905).append("MB").toString(), 1468322118);
				else {
					if (!string.equalsIgnoreCase("getcamerapos"))
						break;
					Class538 class538 = client.aClass237_8070.method4789((byte) -39);
					Class319.method6276(new StringBuilder().append("Pos: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((class538.anInt7085 * 1532636785 + (Class92_Sub14.anInt8754 * -1297049311 >> 9)) >> 6).append(",").append(((Class348_Sub3.anInt10169 * -1558380401 >> 9) + -438699449 * class538.anInt7083) >> 6).append(",").append(((Class92_Sub14.anInt8754 * -1297049311 >> 9) + class538.anInt7085 * 1532636785) & 0x3f).append(",").append(((-1558380401 * Class348_Sub3.anInt10169 >> 9) + class538.anInt7083 * -438699449) & 0x3f).append(" Height: ").append((Class280.method5677(Class92_Sub14.anInt8754 * -1297049311, Class348_Sub3.anInt10169 * -1558380401, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class193.anInt2310 * -1051887285).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Look: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((1420186967 * Class471.anInt6463 + class538.anInt7085 * 1532636785) >> 6).append(",").append((-438699449 * class538.anInt7083 + Class426.anInt6202 * -640338569) >> 6).append(",").append((1532636785 * class538.anInt7085 + Class471.anInt6463 * 1420186967) & 0x3f).append(",").append((class538.anInt7083 * -438699449 + -640338569 * Class426.anInt6202) & 0x3f).append(" Height: ").append((Class280.method5677(Class471.anInt6463 * 1420186967, Class426.anInt6202 * -640338569, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class526.anInt7003 * 361847479).toString(), 1468322118);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, 332078434)), 1468322118);
			}
			return;
		} while (false);
		if (Class495.aClass495_6658 != Class401.aClass495_5754 || client.anInt8213 * 1038386101 >= 2) {
			try {
				if (string.equalsIgnoreCase("wm1")) {
					Class421.method7658(1, -1, -1, false, (byte) 39);
					if (Class92_Sub10.method14665((byte) 55) == 1)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("wm2")) {
					Class421.method7658(2, -1, -1, false, (byte) 45);
					if (Class92_Sub10.method14665((byte) 23) == 2)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (Class423.aBool6174 && string.equalsIgnoreCase("wm3")) {
					Class421.method7658(3, 1024, 768, false, (byte) 127);
					if (Class92_Sub10.method14665((byte) 31) == 3)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.startsWith("setlobby ")) {
					int i = -1;
					Object object = null;
					string = string.substring(9);
					int i_16_ = string.indexOf(' ');
					if (i_16_ == -1)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_16_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_17_ = new StringBuilder().append(string.substring(1 + i_16_).trim()).append(".runescape.com").toString();
							Class128.method3059(string_17_, i, 911306171);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.startsWith("setmediastream ")) {
					int i = -1;
					Object object = null;
					string = string.substring(15);
					int i_18_ = string.indexOf(' ');
					if (-1 == i_18_)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_18_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_19_ = new StringBuilder().append(string.substring(i_18_ + 1).trim()).append(".runescape.com").toString();
							Class324.method6302(string_19_, i, (short) 7933);
							Class269.aClass285_4170.method5705(Class408.aClass613_5973.aString7840, Class408.aClass613_5973.method13071(1587718395), -2000890136);
							Class211.aClass265_2551.method5271((byte) -76);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.equalsIgnoreCase("tk0")) {
					Class621.method13178(0, false, 1325233256);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(929668075) == 0) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 0, -1424917568);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk1")) {
					Class621.method13178(1, false, 1849096778);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1094103371) == 1) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 1, -854501569);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk3")) {
					Class621.method13178(3, false, 1058784113);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-114914695) == 3) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 3, 416923694);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk5")) {
					Class621.method13178(5, false, -1275750413);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-739967864) == 5) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 5, 1029965492);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("clientdrop")) {
					if (0 == client.anInt8013 * 906940163)
						Class599.method12907(-1659202668);
					else if (906940163 * client.anInt8013 == 6)
						client.aClass190_8065.aBool2281 = true;
					return;
				}
				if (string.equalsIgnoreCase("breakcon")) {
					Class190[] class190s = client.aClass190Array8254;
					for (int i = 0; i < class190s.length; i++) {
						Class190 class190 = class190s[i];
						if (class190.method3963(-1908140637) != null)
							class190.method3963(-2026698602).method12368(-197434346);
					}
					Class121.aClass275_1667.method5398((byte) 2);
					return;
				}
				if (string.startsWith("getclientvarpbit")) {
					int i = Integer.parseInt(string.substring(17));
					Class319.method6276(new StringBuilder().append("varpbit=").append(Class246.aClass5_3969.method85(Class246.aClass5_3969.method70(i, -1199167876), (byte) 3)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("getclientvarp")) {
					int i = Integer.parseInt(string.substring(14));
					Class319.method6276(new StringBuilder().append("varp=").append(Class246.aClass5_3969.method82((Class246.aClass5_3969.method77(Class212.aClass212_2560, i, 1599214059)), (byte) 115)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("directlogin")) {
					String[] strings = Class490.method11125(string.substring(12), ' ', 1738526254);
					if (strings.length == 2)
						Class546.method11948(strings[0], strings[1], 1715607808);
					return;
				}
				if (string.startsWith("snlogin ")) {
					String[] strings = Class490.method11125(string.substring(8), ' ', 1738526254);
					int i = Integer.parseInt(strings[0]);
					Class325.method6311(i, 455513135);
					return;
				}
				if (string.startsWith("setoutput ")) {
					File file = new File(string.substring(10));
					if (file.exists()) {
						file = new File(new StringBuilder().append(string.substring(10)).append(".").append(Class121.method2891(193259024)).append(".log").toString());
						if (file.exists()) {
							Class319.method6276("file already exists!", 1468322118);
							return;
						}
					}
					if (aFileOutputStream2212 != null) {
						aFileOutputStream2212.close();
						aFileOutputStream2212 = null;
					}
					try {
						aFileOutputStream2212 = new FileOutputStream(file);
					} catch (FileNotFoundException filenotfoundexception) {
						Class319.method6276(new StringBuilder().append("Could not create ").append(file.getName()).toString(), 1468322118);
					} catch (SecurityException securityexception) {
						Class319.method6276(new StringBuilder().append("Cannot write to ").append(file.getName()).toString(), 1468322118);
					}
					return;
				}
				if (string.equals("closeoutput")) {
					if (null != aFileOutputStream2212)
						aFileOutputStream2212.close();
					aFileOutputStream2212 = null;
					return;
				}
				if (string.startsWith("runscript ")) {
					File file = new File(string.substring(10));
					if (!file.exists()) {
						Class319.method6276("No such file", 1468322118);
						return;
					}
					byte[] is = Class628.method13233(file, (byte) 12);
					if (is == null) {
						Class319.method6276("Failed to read file", 1468322118);
						return;
					}
					String[] strings = (Class490.method11125(Class132.method3082(Class87.method2293(is, 1546776534), '\r', "", 1303273349), '\n', 1738526254));
					Class206.method4389(strings, -1038735522);
				}
				if (client.anInt8013 * 906940163 == 0 || client.anInt8013 * 906940163 == 7) {
					Class190 class190 = Class587_Sub22.method15814(-16711936);
					Class587_Sub45 class587_sub45 = Class70.method1609(Class320.aClass320_4854, class190.aClass426_2279, 2042697197);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(string.length() + 3, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool_15_ ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14382(string, -1935442212);
					class190.method3964(class587_sub45, 1940399900);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, -1529815778)), 1468322118);
				return;
			}
		}
		if (0 != client.anInt8013 * 906940163 && 7 != client.anInt8013 * 906940163)
			Class319.method6276(new StringBuilder().append(Class404.aClass404_5784.method7191(Class316.aClass469_4747, 766921564)).append(string).toString(), 1468322118);
	}

	static void method3906(boolean bool) {
		aString2205 = aString2205.trim();
		anInt2206 = 0;
		if (aString2205.length() == 0)
			anInt2211 = 0;
		else {
			Class319.method6276(new StringBuilder().append("--> ").append(aString2205).toString(), 1468322118);
			Class525.method11694(aString2205, false, bool, (byte) 0);
			if (!bool) {
				anInt2211 = 0;
				aString2205 = "";
			} else
				anInt2211 = aString2205.length() * 708093285;
		}
	}

	public static void method3907(String string) {
		if (aStringArray2202 == null)
			Class92.method2332((byte) -69);
		client.aCalendar8024.setTime(new Date(Class121.method2891(452213933)));
		int i = client.aCalendar8024.get(11);
		int i_20_ = client.aCalendar8024.get(12);
		int i_21_ = client.aCalendar8024.get(13);
		String string_22_ = new StringBuilder().append(Integer.toString(i / 10)).append(i % 10).append(":").append(i_20_ / 10).append(i_20_ % 10).append(":").append(i_21_ / 10).append(i_21_ % 10).toString();
		String[] strings = Class490.method11125(string, '\n', 1738526254);
		for (int i_23_ = 0; i_23_ < strings.length; i_23_++) {
			for (int i_24_ = anInt2215 * 607503411; i_24_ > 0; i_24_--)
				aStringArray2202[i_24_] = aStringArray2202[i_24_ - 1];
			aStringArray2202[0] = new StringBuilder().append(string_22_).append(": ").append(strings[i_23_]).toString();
			if (aFileOutputStream2212 != null) {
				try {
					aFileOutputStream2212.write(Class369.method6946(new StringBuilder().append(aStringArray2202[0]).append("\n").toString(), (byte) 75));
				} catch (IOException ioexception) {
					/* empty */
				}
			}
			if (anInt2215 * 607503411 < aStringArray2202.length - 1) {
				anInt2215 += 128112379;
				if (anInt2207 * 1642068191 > 0)
					anInt2207 += 194102047;
			}
		}
	}

	static void method3908() {
		if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub5_8638.method13747((byte) -37) == 1)
			Class310_Sub2.aClass219_9981.method4510(new Class227(Class218.aClass218_2611, null), -1348122832);
		else {
			client.aClass237_8070.method4757((byte) 27);
			Class109.method2610(735569911);
		}
	}

	static void method3909() {
		if (null != aFileOutputStream2212) {
			try {
				aFileOutputStream2212.close();
			} catch (IOException ioexception) {
				/* empty */
			}
		}
		aFileOutputStream2212 = null;
	}

	static String method3910(String string) {
		String string_25_ = null;
		int i = string.indexOf("--> ");
		if (i >= 0) {
			string_25_ = string.substring(0, 4 + i);
			string = string.substring(i + 4);
		}
		if (string.startsWith("directlogin ")) {
			int i_26_ = string.indexOf(" ", "directlogin ".length());
			if (i_26_ >= 0) {
				int i_27_ = string.length();
				string = new StringBuilder().append(string.substring(0, i_26_)).append(" ").toString();
				for (int i_28_ = i_26_ + 1; i_28_ < i_27_; i_28_++)
					string = new StringBuilder().append(string).append("*").toString();
			}
		}
		if (string_25_ != null)
			return new StringBuilder().append(string_25_).append(string).toString();
		return string;
	}

	static String method3911(String string) {
		String string_29_ = null;
		int i = string.indexOf("--> ");
		if (i >= 0) {
			string_29_ = string.substring(0, 4 + i);
			string = string.substring(i + 4);
		}
		if (string.startsWith("directlogin ")) {
			int i_30_ = string.indexOf(" ", "directlogin ".length());
			if (i_30_ >= 0) {
				int i_31_ = string.length();
				string = new StringBuilder().append(string.substring(0, i_30_)).append(" ").toString();
				for (int i_32_ = i_30_ + 1; i_32_ < i_31_; i_32_++)
					string = new StringBuilder().append(string).append("*").toString();
			}
		}
		if (string_29_ != null)
			return new StringBuilder().append(string_29_).append(string).toString();
		return string;
	}

	static void method3912() {
		/* empty */
	}

	static {
		anInt2207 = 0;
		aString2205 = "";
		anInt2206 = 0;
		anInt2211 = 0;
		anInt2208 = 0;
		aBool2209 = false;
		anInt2200 = -268055967;
	}

	static void method3913() {
		/* empty */
	}

	public static void method3914(String string, boolean bool, boolean bool_33_) {
		do {
			try {
				if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) {
					Class319.method6276("commands - This command", 1468322118);
					Class319.method6276("cls - Clear console", 1468322118);
					Class319.method6276("displayfps - Toggle FPS and other information", 1468322118);
					Class319.method6276("renderer - Print graphics renderer information", 1468322118);
					Class319.method6276("heap - Print java memory information", 1468322118);
					Class319.method6276("getcamerapos - Print location and direction of camera for use in bug reports", 1468322118);
				} else if (string.equalsIgnoreCase("cls")) {
					anInt2215 = 0;
					anInt2207 = 0;
				} else if (string.equalsIgnoreCase("displayfps")) {
					client.aBool8115 = !client.aBool8115;
					if (client.aBool8115)
						Class319.method6276("FPS on", 1468322118);
					else
						Class319.method6276("FPS off", 1468322118);
				} else if (string.equals("renderer")) {
					Class170 class170 = Class327.aClass84_5125.method1914();
					Class319.method6276(new StringBuilder().append("Toolkit ID: ").append(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(1611816397)).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Vendor: ").append(350841811 * class170.anInt2130).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Name: ").append(class170.aString2129).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Version: ").append(class170.anInt2136 * 35291603).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Device: ").append(class170.aString2137).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Driver Version: ").append(4701298338918313193L * class170.aLong2138).toString(), 1468322118);
				} else if (string.equals("heap"))
					Class319.method6276(new StringBuilder().append("Heap: ").append(Class238.anInt2813 * -197065905).append("MB").toString(), 1468322118);
				else {
					if (!string.equalsIgnoreCase("getcamerapos"))
						break;
					Class538 class538 = client.aClass237_8070.method4789((byte) -21);
					Class319.method6276(new StringBuilder().append("Pos: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((class538.anInt7085 * 1532636785 + (Class92_Sub14.anInt8754 * -1297049311 >> 9)) >> 6).append(",").append(((Class348_Sub3.anInt10169 * -1558380401 >> 9) + -438699449 * class538.anInt7083) >> 6).append(",").append(((Class92_Sub14.anInt8754 * -1297049311 >> 9) + class538.anInt7085 * 1532636785) & 0x3f).append(",").append(((-1558380401 * Class348_Sub3.anInt10169 >> 9) + class538.anInt7083 * -438699449) & 0x3f).append(" Height: ").append((Class280.method5677(Class92_Sub14.anInt8754 * -1297049311, Class348_Sub3.anInt10169 * -1558380401, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class193.anInt2310 * -1051887285).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Look: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((1420186967 * Class471.anInt6463 + class538.anInt7085 * 1532636785) >> 6).append(",").append((-438699449 * class538.anInt7083 + Class426.anInt6202 * -640338569) >> 6).append(",").append((1532636785 * class538.anInt7085 + Class471.anInt6463 * 1420186967) & 0x3f).append(",").append((class538.anInt7083 * -438699449 + -640338569 * Class426.anInt6202) & 0x3f).append(" Height: ").append((Class280.method5677(Class471.anInt6463 * 1420186967, Class426.anInt6202 * -640338569, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class526.anInt7003 * 361847479).toString(), 1468322118);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, -2047039957)), 1468322118);
			}
			return;
		} while (false);
		if (Class495.aClass495_6658 != Class401.aClass495_5754 || client.anInt8213 * 1038386101 >= 2) {
			try {
				if (string.equalsIgnoreCase("wm1")) {
					Class421.method7658(1, -1, -1, false, (byte) 41);
					if (Class92_Sub10.method14665((byte) 10) == 1)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("wm2")) {
					Class421.method7658(2, -1, -1, false, (byte) 16);
					if (Class92_Sub10.method14665((byte) 100) == 2)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (Class423.aBool6174 && string.equalsIgnoreCase("wm3")) {
					Class421.method7658(3, 1024, 768, false, (byte) 108);
					if (Class92_Sub10.method14665((byte) 30) == 3)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.startsWith("setlobby ")) {
					int i = -1;
					Object object = null;
					string = string.substring(9);
					int i_34_ = string.indexOf(' ');
					if (i_34_ == -1)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_34_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_35_ = new StringBuilder().append(string.substring(1 + i_34_).trim()).append(".runescape.com").toString();
							Class128.method3059(string_35_, i, -1149347141);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.startsWith("setmediastream ")) {
					int i = -1;
					Object object = null;
					string = string.substring(15);
					int i_36_ = string.indexOf(' ');
					if (-1 == i_36_)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_36_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_37_ = new StringBuilder().append(string.substring(i_36_ + 1).trim()).append(".runescape.com").toString();
							Class324.method6302(string_37_, i, (short) 14105);
							Class269.aClass285_4170.method5705(Class408.aClass613_5973.aString7840, Class408.aClass613_5973.method13071(-2126511901), -1772293744);
							Class211.aClass265_2551.method5271((byte) -12);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.equalsIgnoreCase("tk0")) {
					Class621.method13178(0, false, 1221944103);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-468742739) == 0) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 0, -626903953);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk1")) {
					Class621.method13178(1, false, -1174934851);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-886113638) == 1) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 1, 1408829935);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk3")) {
					Class621.method13178(3, false, 79294428);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1947109829) == 3) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 3, 358644917);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk5")) {
					Class621.method13178(5, false, 430409655);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-2028771263) == 5) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 5, -1751471169);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("clientdrop")) {
					if (0 == client.anInt8013 * 906940163)
						Class599.method12907(-1694810289);
					else if (906940163 * client.anInt8013 == 6)
						client.aClass190_8065.aBool2281 = true;
					return;
				}
				if (string.equalsIgnoreCase("breakcon")) {
					Class190[] class190s = client.aClass190Array8254;
					for (int i = 0; i < class190s.length; i++) {
						Class190 class190 = class190s[i];
						if (class190.method3963(-2073024261) != null)
							class190.method3963(-1489552651).method12368(1505961807);
					}
					Class121.aClass275_1667.method5398((byte) 2);
					return;
				}
				if (string.startsWith("getclientvarpbit")) {
					int i = Integer.parseInt(string.substring(17));
					Class319.method6276(new StringBuilder().append("varpbit=").append(Class246.aClass5_3969.method85(Class246.aClass5_3969.method70(i, -936617984), (byte) 54)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("getclientvarp")) {
					int i = Integer.parseInt(string.substring(14));
					Class319.method6276(new StringBuilder().append("varp=").append(Class246.aClass5_3969.method82((Class246.aClass5_3969.method77(Class212.aClass212_2560, i, 1599214059)), (byte) 125)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("directlogin")) {
					String[] strings = Class490.method11125(string.substring(12), ' ', 1738526254);
					if (strings.length == 2)
						Class546.method11948(strings[0], strings[1], 1657674506);
					return;
				}
				if (string.startsWith("snlogin ")) {
					String[] strings = Class490.method11125(string.substring(8), ' ', 1738526254);
					int i = Integer.parseInt(strings[0]);
					Class325.method6311(i, 242758511);
					return;
				}
				if (string.startsWith("setoutput ")) {
					File file = new File(string.substring(10));
					if (file.exists()) {
						file = new File(new StringBuilder().append(string.substring(10)).append(".").append(Class121.method2891(-1630238743)).append(".log").toString());
						if (file.exists()) {
							Class319.method6276("file already exists!", 1468322118);
							return;
						}
					}
					if (aFileOutputStream2212 != null) {
						aFileOutputStream2212.close();
						aFileOutputStream2212 = null;
					}
					try {
						aFileOutputStream2212 = new FileOutputStream(file);
					} catch (FileNotFoundException filenotfoundexception) {
						Class319.method6276(new StringBuilder().append("Could not create ").append(file.getName()).toString(), 1468322118);
					} catch (SecurityException securityexception) {
						Class319.method6276(new StringBuilder().append("Cannot write to ").append(file.getName()).toString(), 1468322118);
					}
					return;
				}
				if (string.equals("closeoutput")) {
					if (null != aFileOutputStream2212)
						aFileOutputStream2212.close();
					aFileOutputStream2212 = null;
					return;
				}
				if (string.startsWith("runscript ")) {
					File file = new File(string.substring(10));
					if (!file.exists()) {
						Class319.method6276("No such file", 1468322118);
						return;
					}
					byte[] is = Class628.method13233(file, (byte) 12);
					if (is == null) {
						Class319.method6276("Failed to read file", 1468322118);
						return;
					}
					String[] strings = (Class490.method11125((Class132.method3082(Class87.method2293(is, -1787404230), '\r', "", 1303273349)), '\n', 1738526254));
					Class206.method4389(strings, -1038735522);
				}
				if (client.anInt8013 * 906940163 == 0 || client.anInt8013 * 906940163 == 7) {
					Class190 class190 = Class587_Sub22.method15814(-16711936);
					Class587_Sub45 class587_sub45 = Class70.method1609(Class320.aClass320_4854, class190.aClass426_2279, 2042697197);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(string.length() + 3, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool_33_ ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14382(string, 1378643197);
					class190.method3964(class587_sub45, 2099501321);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, -1833430454)), 1468322118);
				return;
			}
		}
		if (0 != client.anInt8013 * 906940163 && 7 != client.anInt8013 * 906940163)
			Class319.method6276(new StringBuilder().append(Class404.aClass404_5784.method7191(Class316.aClass469_4747, -406155525)).append(string).toString(), 1468322118);
	}

	public static void method3915(String string, boolean bool, boolean bool_38_) {
		do {
			try {
				if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) {
					Class319.method6276("commands - This command", 1468322118);
					Class319.method6276("cls - Clear console", 1468322118);
					Class319.method6276("displayfps - Toggle FPS and other information", 1468322118);
					Class319.method6276("renderer - Print graphics renderer information", 1468322118);
					Class319.method6276("heap - Print java memory information", 1468322118);
					Class319.method6276("getcamerapos - Print location and direction of camera for use in bug reports", 1468322118);
				} else if (string.equalsIgnoreCase("cls")) {
					anInt2215 = 0;
					anInt2207 = 0;
				} else if (string.equalsIgnoreCase("displayfps")) {
					client.aBool8115 = !client.aBool8115;
					if (client.aBool8115)
						Class319.method6276("FPS on", 1468322118);
					else
						Class319.method6276("FPS off", 1468322118);
				} else if (string.equals("renderer")) {
					Class170 class170 = Class327.aClass84_5125.method1914();
					Class319.method6276(new StringBuilder().append("Toolkit ID: ").append(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1359742907)).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Vendor: ").append(350841811 * class170.anInt2130).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Name: ").append(class170.aString2129).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Version: ").append(class170.anInt2136 * 35291603).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Device: ").append(class170.aString2137).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Driver Version: ").append(4701298338918313193L * class170.aLong2138).toString(), 1468322118);
				} else if (string.equals("heap"))
					Class319.method6276(new StringBuilder().append("Heap: ").append(Class238.anInt2813 * -197065905).append("MB").toString(), 1468322118);
				else {
					if (!string.equalsIgnoreCase("getcamerapos"))
						break;
					Class538 class538 = client.aClass237_8070.method4789((byte) -53);
					Class319.method6276(new StringBuilder().append("Pos: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((class538.anInt7085 * 1532636785 + (Class92_Sub14.anInt8754 * -1297049311 >> 9)) >> 6).append(",").append(((Class348_Sub3.anInt10169 * -1558380401 >> 9) + -438699449 * class538.anInt7083) >> 6).append(",").append(((Class92_Sub14.anInt8754 * -1297049311 >> 9) + class538.anInt7085 * 1532636785) & 0x3f).append(",").append(((-1558380401 * Class348_Sub3.anInt10169 >> 9) + class538.anInt7083 * -438699449) & 0x3f).append(" Height: ").append((Class280.method5677(Class92_Sub14.anInt8754 * -1297049311, Class348_Sub3.anInt10169 * -1558380401, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class193.anInt2310 * -1051887285).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Look: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((1420186967 * Class471.anInt6463 + class538.anInt7085 * 1532636785) >> 6).append(",").append((-438699449 * class538.anInt7083 + Class426.anInt6202 * -640338569) >> 6).append(",").append((1532636785 * class538.anInt7085 + Class471.anInt6463 * 1420186967) & 0x3f).append(",").append((class538.anInt7083 * -438699449 + -640338569 * Class426.anInt6202) & 0x3f).append(" Height: ").append((Class280.method5677(Class471.anInt6463 * 1420186967, Class426.anInt6202 * -640338569, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class526.anInt7003 * 361847479).toString(), 1468322118);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, 387161937)), 1468322118);
			}
			return;
		} while (false);
		if (Class495.aClass495_6658 != Class401.aClass495_5754 || client.anInt8213 * 1038386101 >= 2) {
			try {
				if (string.equalsIgnoreCase("wm1")) {
					Class421.method7658(1, -1, -1, false, (byte) 41);
					if (Class92_Sub10.method14665((byte) 39) == 1)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("wm2")) {
					Class421.method7658(2, -1, -1, false, (byte) 92);
					if (Class92_Sub10.method14665((byte) 64) == 2)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (Class423.aBool6174 && string.equalsIgnoreCase("wm3")) {
					Class421.method7658(3, 1024, 768, false, (byte) 40);
					if (Class92_Sub10.method14665((byte) 114) == 3)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.startsWith("setlobby ")) {
					int i = -1;
					Object object = null;
					string = string.substring(9);
					int i_39_ = string.indexOf(' ');
					if (i_39_ == -1)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_39_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_40_ = new StringBuilder().append(string.substring(1 + i_39_).trim()).append(".runescape.com").toString();
							Class128.method3059(string_40_, i, -1453199912);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.startsWith("setmediastream ")) {
					int i = -1;
					Object object = null;
					string = string.substring(15);
					int i_41_ = string.indexOf(' ');
					if (-1 == i_41_)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_41_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_42_ = new StringBuilder().append(string.substring(i_41_ + 1).trim()).append(".runescape.com").toString();
							Class324.method6302(string_42_, i, (short) 21652);
							Class269.aClass285_4170.method5705(Class408.aClass613_5973.aString7840, Class408.aClass613_5973.method13071(1422702729), -1949380654);
							Class211.aClass265_2551.method5271((byte) -5);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.equalsIgnoreCase("tk0")) {
					Class621.method13178(0, false, -726914029);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(796398767) == 0) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 0, 1881471312);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk1")) {
					Class621.method13178(1, false, 459220016);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-790804421) == 1) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 1, -369488122);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk3")) {
					Class621.method13178(3, false, -1163660176);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(846903506) == 3) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 3, 855529276);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk5")) {
					Class621.method13178(5, false, 428119511);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(760068919) == 5) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 5, 996924913);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("clientdrop")) {
					if (0 == client.anInt8013 * 906940163)
						Class599.method12907(-1685037334);
					else if (906940163 * client.anInt8013 == 6)
						client.aClass190_8065.aBool2281 = true;
					return;
				}
				if (string.equalsIgnoreCase("breakcon")) {
					Class190[] class190s = client.aClass190Array8254;
					for (int i = 0; i < class190s.length; i++) {
						Class190 class190 = class190s[i];
						if (class190.method3963(-1527321715) != null)
							class190.method3963(-2060726598).method12368(-200480294);
					}
					Class121.aClass275_1667.method5398((byte) 2);
					return;
				}
				if (string.startsWith("getclientvarpbit")) {
					int i = Integer.parseInt(string.substring(17));
					Class319.method6276(new StringBuilder().append("varpbit=").append(Class246.aClass5_3969.method85(Class246.aClass5_3969.method70(i, -581350669), (byte) -48)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("getclientvarp")) {
					int i = Integer.parseInt(string.substring(14));
					Class319.method6276(new StringBuilder().append("varp=").append(Class246.aClass5_3969.method82((Class246.aClass5_3969.method77(Class212.aClass212_2560, i, 1599214059)), (byte) 67)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("directlogin")) {
					String[] strings = Class490.method11125(string.substring(12), ' ', 1738526254);
					if (strings.length == 2)
						Class546.method11948(strings[0], strings[1], 965996257);
					return;
				}
				if (string.startsWith("snlogin ")) {
					String[] strings = Class490.method11125(string.substring(8), ' ', 1738526254);
					int i = Integer.parseInt(strings[0]);
					Class325.method6311(i, 1703091646);
					return;
				}
				if (string.startsWith("setoutput ")) {
					File file = new File(string.substring(10));
					if (file.exists()) {
						file = new File(new StringBuilder().append(string.substring(10)).append(".").append(Class121.method2891(1505955179)).append(".log").toString());
						if (file.exists()) {
							Class319.method6276("file already exists!", 1468322118);
							return;
						}
					}
					if (aFileOutputStream2212 != null) {
						aFileOutputStream2212.close();
						aFileOutputStream2212 = null;
					}
					try {
						aFileOutputStream2212 = new FileOutputStream(file);
					} catch (FileNotFoundException filenotfoundexception) {
						Class319.method6276(new StringBuilder().append("Could not create ").append(file.getName()).toString(), 1468322118);
					} catch (SecurityException securityexception) {
						Class319.method6276(new StringBuilder().append("Cannot write to ").append(file.getName()).toString(), 1468322118);
					}
					return;
				}
				if (string.equals("closeoutput")) {
					if (null != aFileOutputStream2212)
						aFileOutputStream2212.close();
					aFileOutputStream2212 = null;
					return;
				}
				if (string.startsWith("runscript ")) {
					File file = new File(string.substring(10));
					if (!file.exists()) {
						Class319.method6276("No such file", 1468322118);
						return;
					}
					byte[] is = Class628.method13233(file, (byte) 12);
					if (is == null) {
						Class319.method6276("Failed to read file", 1468322118);
						return;
					}
					String[] strings = (Class490.method11125(Class132.method3082(Class87.method2293(is, 176367041), '\r', "", 1303273349), '\n', 1738526254));
					Class206.method4389(strings, -1038735522);
				}
				if (client.anInt8013 * 906940163 == 0 || client.anInt8013 * 906940163 == 7) {
					Class190 class190 = Class587_Sub22.method15814(-16711936);
					Class587_Sub45 class587_sub45 = Class70.method1609(Class320.aClass320_4854, class190.aClass426_2279, 2042697197);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(string.length() + 3, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool_38_ ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14382(string, -1174807424);
					class190.method3964(class587_sub45, 2125496504);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, -237994490)), 1468322118);
				return;
			}
		}
		if (0 != client.anInt8013 * 906940163 && 7 != client.anInt8013 * 906940163)
			Class319.method6276(new StringBuilder().append(Class404.aClass404_5784.method7191(Class316.aClass469_4747, -2093675137)).append(string).toString(), 1468322118);
	}

	public static void method3916(String string, boolean bool, boolean bool_43_) {
		do {
			try {
				if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) {
					Class319.method6276("commands - This command", 1468322118);
					Class319.method6276("cls - Clear console", 1468322118);
					Class319.method6276("displayfps - Toggle FPS and other information", 1468322118);
					Class319.method6276("renderer - Print graphics renderer information", 1468322118);
					Class319.method6276("heap - Print java memory information", 1468322118);
					Class319.method6276("getcamerapos - Print location and direction of camera for use in bug reports", 1468322118);
				} else if (string.equalsIgnoreCase("cls")) {
					anInt2215 = 0;
					anInt2207 = 0;
				} else if (string.equalsIgnoreCase("displayfps")) {
					client.aBool8115 = !client.aBool8115;
					if (client.aBool8115)
						Class319.method6276("FPS on", 1468322118);
					else
						Class319.method6276("FPS off", 1468322118);
				} else if (string.equals("renderer")) {
					Class170 class170 = Class327.aClass84_5125.method1914();
					Class319.method6276(new StringBuilder().append("Toolkit ID: ").append(Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1571332039)).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Vendor: ").append(350841811 * class170.anInt2130).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Name: ").append(class170.aString2129).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Version: ").append(class170.anInt2136 * 35291603).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Device: ").append(class170.aString2137).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Driver Version: ").append(4701298338918313193L * class170.aLong2138).toString(), 1468322118);
				} else if (string.equals("heap"))
					Class319.method6276(new StringBuilder().append("Heap: ").append(Class238.anInt2813 * -197065905).append("MB").toString(), 1468322118);
				else {
					if (!string.equalsIgnoreCase("getcamerapos"))
						break;
					Class538 class538 = client.aClass237_8070.method4789((byte) -12);
					Class319.method6276(new StringBuilder().append("Pos: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((class538.anInt7085 * 1532636785 + (Class92_Sub14.anInt8754 * -1297049311 >> 9)) >> 6).append(",").append(((Class348_Sub3.anInt10169 * -1558380401 >> 9) + -438699449 * class538.anInt7083) >> 6).append(",").append(((Class92_Sub14.anInt8754 * -1297049311 >> 9) + class538.anInt7085 * 1532636785) & 0x3f).append(",").append(((-1558380401 * Class348_Sub3.anInt10169 >> 9) + class538.anInt7083 * -438699449) & 0x3f).append(" Height: ").append((Class280.method5677(Class92_Sub14.anInt8754 * -1297049311, Class348_Sub3.anInt10169 * -1558380401, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class193.anInt2310 * -1051887285).toString(), 1468322118);
					Class319.method6276(new StringBuilder().append("Look: ").append(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402).append(",").append((1420186967 * Class471.anInt6463 + class538.anInt7085 * 1532636785) >> 6).append(",").append((-438699449 * class538.anInt7083 + Class426.anInt6202 * -640338569) >> 6).append(",").append((1532636785 * class538.anInt7085 + Class471.anInt6463 * 1420186967) & 0x3f).append(",").append((class538.anInt7083 * -438699449 + -640338569 * Class426.anInt6202) & 0x3f).append(" Height: ").append((Class280.method5677(Class471.anInt6463 * 1420186967, Class426.anInt6202 * -640338569, (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402), 16711935)) - Class526.anInt7003 * 361847479).toString(), 1468322118);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, -650266299)), 1468322118);
			}
			return;
		} while (false);
		if (Class495.aClass495_6658 != Class401.aClass495_5754 || client.anInt8213 * 1038386101 >= 2) {
			try {
				if (string.equalsIgnoreCase("wm1")) {
					Class421.method7658(1, -1, -1, false, (byte) 52);
					if (Class92_Sub10.method14665((byte) 82) == 1)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("wm2")) {
					Class421.method7658(2, -1, -1, false, (byte) 97);
					if (Class92_Sub10.method14665((byte) 78) == 2)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (Class423.aBool6174 && string.equalsIgnoreCase("wm3")) {
					Class421.method7658(3, 1024, 768, false, (byte) 76);
					if (Class92_Sub10.method14665((byte) 61) == 3)
						Class319.method6276("Success", 1468322118);
					else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.startsWith("setlobby ")) {
					int i = -1;
					Object object = null;
					string = string.substring(9);
					int i_44_ = string.indexOf(' ');
					if (i_44_ == -1)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_44_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_45_ = new StringBuilder().append(string.substring(1 + i_44_).trim()).append(".runescape.com").toString();
							Class128.method3059(string_45_, i, -557011359);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.startsWith("setmediastream ")) {
					int i = -1;
					Object object = null;
					string = string.substring(15);
					int i_46_ = string.indexOf(' ');
					if (-1 == i_46_)
						Class319.method6276("Failure", 1468322118);
					else {
						try {
							i = Integer.parseInt(string.substring(0, i_46_));
						} catch (NumberFormatException numberformatexception) {
							/* empty */
						}
						if (i == -1)
							Class319.method6276("Failure", 1468322118);
						else {
							String string_47_ = new StringBuilder().append(string.substring(i_46_ + 1).trim()).append(".runescape.com").toString();
							Class324.method6302(string_47_, i, (short) 22617);
							Class269.aClass285_4170.method5705(Class408.aClass613_5973.aString7840, Class408.aClass613_5973.method13071(-589851674), -1910282747);
							Class211.aClass265_2551.method5271((byte) -110);
							Class319.method6276("Success", 1468322118);
							return;
						}
						return;
					}
					return;
				}
				if (string.equalsIgnoreCase("tk0")) {
					Class621.method13178(0, false, -1576211605);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(217022744) == 0) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 0, -326490066);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk1")) {
					Class621.method13178(1, false, -1466685250);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(155212184) == 1) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 1, -1397754317);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk3")) {
					Class621.method13178(3, false, -251076194);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-1905397874) == 3) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 3, 222384490);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("tk5")) {
					Class621.method13178(5, false, 561023009);
					if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8629.method13917(-440754084) == 5) {
						Class319.method6276("Success", 1468322118);
						Class92_Sub20.aClass587_Sub11_10075.method14590((Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub19_8645), 5, 194968660);
						Class106.method2583(1338164479);
						client.aBool8022 = false;
					} else
						Class319.method6276("Failure", 1468322118);
					return;
				}
				if (string.equalsIgnoreCase("clientdrop")) {
					if (0 == client.anInt8013 * 906940163)
						Class599.method12907(-2008501338);
					else if (906940163 * client.anInt8013 == 6)
						client.aClass190_8065.aBool2281 = true;
					return;
				}
				if (string.equalsIgnoreCase("breakcon")) {
					Class190[] class190s = client.aClass190Array8254;
					for (int i = 0; i < class190s.length; i++) {
						Class190 class190 = class190s[i];
						if (class190.method3963(-1590681764) != null)
							class190.method3963(-2015929735).method12368(-579561162);
					}
					Class121.aClass275_1667.method5398((byte) 2);
					return;
				}
				if (string.startsWith("getclientvarpbit")) {
					int i = Integer.parseInt(string.substring(17));
					Class319.method6276(new StringBuilder().append("varpbit=").append(Class246.aClass5_3969.method85(Class246.aClass5_3969.method70(i, -790039987), (byte) 54)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("getclientvarp")) {
					int i = Integer.parseInt(string.substring(14));
					Class319.method6276(new StringBuilder().append("varp=").append(Class246.aClass5_3969.method82((Class246.aClass5_3969.method77(Class212.aClass212_2560, i, 1599214059)), (byte) 63)).toString(), 1468322118);
					return;
				}
				if (string.startsWith("directlogin")) {
					String[] strings = Class490.method11125(string.substring(12), ' ', 1738526254);
					if (strings.length == 2)
						Class546.method11948(strings[0], strings[1], 1770831488);
					return;
				}
				if (string.startsWith("snlogin ")) {
					String[] strings = Class490.method11125(string.substring(8), ' ', 1738526254);
					int i = Integer.parseInt(strings[0]);
					Class325.method6311(i, 330936973);
					return;
				}
				if (string.startsWith("setoutput ")) {
					File file = new File(string.substring(10));
					if (file.exists()) {
						file = new File(new StringBuilder().append(string.substring(10)).append(".").append(Class121.method2891(-1845421554)).append(".log").toString());
						if (file.exists()) {
							Class319.method6276("file already exists!", 1468322118);
							return;
						}
					}
					if (aFileOutputStream2212 != null) {
						aFileOutputStream2212.close();
						aFileOutputStream2212 = null;
					}
					try {
						aFileOutputStream2212 = new FileOutputStream(file);
					} catch (FileNotFoundException filenotfoundexception) {
						Class319.method6276(new StringBuilder().append("Could not create ").append(file.getName()).toString(), 1468322118);
					} catch (SecurityException securityexception) {
						Class319.method6276(new StringBuilder().append("Cannot write to ").append(file.getName()).toString(), 1468322118);
					}
					return;
				}
				if (string.equals("closeoutput")) {
					if (null != aFileOutputStream2212)
						aFileOutputStream2212.close();
					aFileOutputStream2212 = null;
					return;
				}
				if (string.startsWith("runscript ")) {
					File file = new File(string.substring(10));
					if (!file.exists()) {
						Class319.method6276("No such file", 1468322118);
						return;
					}
					byte[] is = Class628.method13233(file, (byte) 12);
					if (is == null) {
						Class319.method6276("Failed to read file", 1468322118);
						return;
					}
					String[] strings = (Class490.method11125((Class132.method3082(Class87.method2293(is, -1091182303), '\r', "", 1303273349)), '\n', 1738526254));
					Class206.method4389(strings, -1038735522);
				}
				if (client.anInt8013 * 906940163 == 0 || client.anInt8013 * 906940163 == 7) {
					Class190 class190 = Class587_Sub22.method15814(-16711936);
					Class587_Sub45 class587_sub45 = Class70.method1609(Class320.aClass320_4854, class190.aClass426_2279, 2042697197);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(string.length() + 3, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14416(bool_43_ ? 1 : 0, 1302373931);
					class587_sub45.aClass587_Sub4_Sub1_9890.method14382(string, 1269038738);
					class190.method3964(class587_sub45, 2052305244);
				}
			} catch (Exception exception) {
				Class319.method6276((Class404.aClass404_5782.method7191(Class316.aClass469_4747, 158807786)), 1468322118);
				return;
			}
		}
		if (0 != client.anInt8013 * 906940163 && 7 != client.anInt8013 * 906940163)
			Class319.method6276(new StringBuilder().append(Class404.aClass404_5784.method7191(Class316.aClass469_4747, 862552580)).append(string).toString(), 1468322118);
	}

	static void method3917(int i) {
		if (i == 28)
			throw new Error();
		if (2 == i)
			throw new OutOfMemoryError();
		try {
			if (5 == i)
				Class361.method6901(-970193136);
			else if (i == 22)
				Class319.method6276(new StringBuilder().append("").append(631308341 * Class238.anInt2781).toString(), 1468322118);
			else if (14 == i) {
				Class552 class552 = (client.aClass237_8070.method4711((byte) 11).aClass552_7575);
				class552.aBool7179 = !class552.aBool7179;
			} else if (i == 27)
				client.aBool8115 = true;
			else if (11 == i)
				client.aBool8115 = false;
			else if (3 == i)
				client.aClass414_8103.method7436(1767630882);
			else if (24 == i) {
				Class451.method8086(1006751722);
				for (int i_48_ = 0; i_48_ < 10; i_48_++)
					System.gc();
				Runtime runtime = Runtime.getRuntime();
				int i_49_ = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
				Class319.method6276(new StringBuilder().append("").append(i_49_).toString(), 1468322118);
			} else if (1 == i) {
				Class451.method8086(-141393574);
				for (int i_50_ = 0; i_50_ < 10; i_50_++)
					System.gc();
				Runtime runtime = Runtime.getRuntime();
				int i_51_ = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
				Class319.method6276(new StringBuilder().append("").append(i_51_).toString(), 1468322118);
				Class493.method11155(2014860305);
				Class451.method8086(-1665950948);
				for (int i_52_ = 0; i_52_ < 10; i_52_++)
					System.gc();
				i_51_ = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
				Class319.method6276(new StringBuilder().append("").append(i_51_).toString(), 1468322118);
			} else if (i == 7)
				Class319.method6276((Class446.aClass590_6341.method25((byte) 31) ? "Success" : "Failure"), 1468322118);
			else if (29 == i)
				Class543.aClass613_7098.method13076(-1875789575);
			else if (8 == i)
				Class121.aClass275_1667.method5411(1785983871);
			else if (16 == i)
				Class121.aClass275_1667.method5410(-441301535);
			else if (10 == i)
				Class180.aCanvas2174.setLocation(50, 50);
			else if (23 == i)
				Class180.aCanvas2174.setLocation((-1215519249 * Class238.anInt2788), (Class238.anInt2789 * -1338383441));
			else if (i == 15)
				Class520.method11657(-2065466385);
			else if (i == 17) {
				client.aClass237_8070.aLong2771 = Class121.method2891(-1679209177) * 6145165156740780121L;
				client.aClass237_8070.aBool2756 = true;
				Class520.method11657(-2078536497);
			} else if (25 == i) {
				Class277 class277 = (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.method11206().aClass277_4041);
				Class319.method6276(new StringBuilder().append((int) class277.aFloat4209 >> 9).append(" ").append((int) class277.aFloat4213 >> 9).toString(), 1468322118);
			} else if (6 == i) {
				Class277 class277 = (Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.method11206().aClass277_4041);
				Class319.method6276(new StringBuilder().append("").append(client.aClass237_8070.method4711((byte) -82).aClass176Array7580[(Class454.aClass497_Sub1_Sub3_Sub5_Sub1_6388.aByte8402)].method3787((int) class277.aFloat4209 >> 9, (int) class277.aFloat4213 >> 9, 1349510066)).toString(), 1468322118);
			} else if (i == 20) {
				Class319.method6276(new StringBuilder().append(Class35.aClass113_453.method2644(1896722781)).append(" ").append(Class35.aClass113_453.method2654((byte) -101)).toString(), 1468322118);
				Class319.method6276(new StringBuilder().append(Class35.aClass113_456.method2644(1820124168)).append(" ").append(Class35.aClass113_456.method2654((byte) -98)).toString(), 1468322118);
				Class319.method6276(new StringBuilder().append(Class434.aClass419_6267.aClass529_6153.method11731()).append(" ").append(Class434.aClass419_6267.aClass529_6153.method11712()).toString(), 1468322118);
			} else if (i == 9)
				Class283.method5696(false, -1897439958);
			else if (i == 4) {
				client.aBool8080 = !client.aBool8080;
				Class327.aClass84_5125.method1962(client.aBool8080);
				Class539.method11842(-2054673773);
			} else if (i == 13) {
				client.anInt8033 = 0;
				client.aClass237_8070.method4757((byte) 50);
			} else if (i == 19) {
				client.anInt8033 = -2134346025;
				client.aClass237_8070.method4757((byte) 66);
			} else if (i == 26) {
				client.anInt8033 = 26275246;
				client.aClass237_8070.method4757((byte) 105);
			}
		} catch (Exception exception) {
			Class319.method6276(Class404.aClass404_5782.method7191(Class316.aClass469_4747, -1625729661), 1468322118);
		}
	}

	static void method3918(String[] strings) {
		if (strings.length > 1) {
			for (int i = 0; i < strings.length; i++) {
				if (strings[i].startsWith("pause")) {
					int i_53_ = 5;
					try {
						i_53_ = Integer.parseInt(strings[i].substring(6));
					} catch (Exception exception) {
						/* empty */
					}
					Class319.method6276(new StringBuilder().append("Pausing for ").append(i_53_).append(" seconds...").toString(), 1468322118);
					AbstractQueue_Sub1.aStringArray10627 = strings;
					anInt2200 = (i + 1) * 268055967;
					aLong2210 = (Class121.method2891(954964926) + (long) (1000 * i_53_)) * -3387951815717344657L;
					break;
				}
				aString2205 = strings[i];
				Class92_Sub21.method16321(false, (byte) 1);
			}
		} else {
			aString2205 = new StringBuilder().append(aString2205).append(strings[0]).toString();
			anInt2211 += strings[0].length() * 708093285;
		}
	}

	static void method3919() {
		if (null != aFileOutputStream2212) {
			try {
				aFileOutputStream2212.close();
			} catch (IOException ioexception) {
				/* empty */
			}
		}
		aFileOutputStream2212 = null;
	}

	static void method3920(Class84 class84) {
		class84.method1907(0, 0, -334452787 * Class117.anInt1641, 350);
		class84.method2227(0, 0, -334452787 * Class117.anInt1641, 350, 204068093 * anInt2208 << 24 | 0x332277, 1);
		int i = 350 / (-1299676463 * anInt2201);
		if (607503411 * anInt2215 > 0) {
			int i_54_ = 346 - -1299676463 * anInt2201 - 4;
			int i_55_ = i * i_54_ / (anInt2215 * 607503411 + i - 1);
			int i_56_ = 4;
			if (anInt2215 * 607503411 > 1)
				i_56_ += ((i_54_ - i_55_) * (607503411 * anInt2215 - 1 - anInt2207 * 1642068191) / (607503411 * anInt2215 - 1));
			class84.method2227(Class117.anInt1641 * -334452787 - 16, i_56_, 12, i_55_, anInt2208 * 204068093 << 24 | 0x332277, 2);
			for (int i_57_ = anInt2207 * 1642068191; (i_57_ < i + anInt2207 * 1642068191 && i_57_ < 607503411 * anInt2215); i_57_++) {
				String[] strings = Class490.method11125(aStringArray2202[i_57_], '\010', 1738526254);
				int i_58_ = ((-334452787 * Class117.anInt1641 - 8 - 16) / strings.length);
				for (int i_59_ = 0; i_59_ < strings.length; i_59_++) {
					int i_60_ = i_58_ * i_59_ + 8;
					class84.method1907(i_60_, 0, i_58_ + i_60_ - 8, 350);
					Class627.aClass106_7985.method2569(Class25.method958(strings[i_59_], 533280418), i_60_, (350 - -5994743 * Class541.anInt7092 - 2 - 676311353 * Class3.aClass611_28.anInt7831 - (anInt2201 * -1299676463 * (i_57_ - 1642068191 * anInt2207))), -1, -16777216, 1308197255);
				}
			}
		}
		Class26.aClass106_279.method2531("775 1", -334452787 * Class117.anInt1641 - 25, 330, -1, -16777216, 1076994708);
		class84.method1907(0, 0, -334452787 * Class117.anInt1641, 350);
		class84.method2054(0, 350 - -5994743 * Class541.anInt7092, -334452787 * Class117.anInt1641, -1, (byte) 51);
		Class3.aClass106_29.method2569(new StringBuilder().append("--> ").append(Class25.method958(aString2205, 813151660)).toString(), 10, 350 - 676311353 * Class274.aClass611_4183.anInt7831 - 1, -1, -16777216, 574979354);
		if (Class76.aBool1122) {
			int i_61_ = -1;
			if (client.anInt8021 * -2063394069 % 30 > 15)
				i_61_ = 16777215;
			class84.method2197(10 + (Class274.aClass611_4183.method13004(new StringBuilder().append("--> ").append(Class25.method958(aString2205, 1651966355).substring(0, -1862269843 * anInt2211)).toString(), (byte) -1)), 350 - Class274.aClass611_4183.anInt7831 * 676311353 - 11, 12, i_61_, 31939523);
		}
		class84.method1917();
		Class506.method11466(131135044);
	}

	static void method3921() {
		if (Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub5_8638.method13747((byte) -117) == 1)
			Class310_Sub2.aClass219_9981.method4510(new Class227(Class218.aClass218_2611, null), -453465808);
		else {
			client.aClass237_8070.method4757((byte) 10);
			Class109.method2610(735569911);
		}
	}

	static final void method3922(Class35 class35, Class477 class477, byte i) {
		if (((Class477) class477).anInt6515 * -951090431 >= 10)
			throw new RuntimeException();
		if (null != class35.anObjectArray597) {
			Class587_Sub31 class587_sub31 = new Class587_Sub31();
			class587_sub31.aClass35_9736 = class35;
			class587_sub31.anObjectArray9731 = class35.anObjectArray597;
			((Class587_Sub31) class587_sub31).anInt9734 = -744768565 * ((Class477) class477).anInt6515 + 302045899;
			client.aClass413_8245.method7337(class587_sub31, -471718201);
		}
	}

	static final void method3923(Class477 class477, byte i) {
		int i_62_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class35 class35 = Class109.method2606(i_62_, 1315664172);
		Class8.method512(class35, class477, (short) 802);
	}

	public static int method3924(int i, int i_63_, boolean bool, int i_64_) {
		Class587_Sub46 class587_sub46 = Class171_Sub2.method15385(i, bool, -1421393525);
		if (null == class587_sub46)
			return 0;
		if (i_63_ < 0 || i_63_ >= (((Class587_Sub46) class587_sub46).anIntArray9895).length)
			return 0;
		return ((Class587_Sub46) class587_sub46).anIntArray9895[i_63_];
	}

	static int method3925(byte[][] is, byte[][] is_65_, int[] is_66_, byte[] is_67_, int[] is_68_, int i, int i_69_, int i_70_) {
		int i_71_ = is_66_[i];
		int i_72_ = is_68_[i] + i_71_;
		int i_73_ = is_66_[i_69_];
		int i_74_ = i_73_ + is_68_[i_69_];
		int i_75_ = i_71_;
		if (i_73_ > i_71_)
			i_75_ = i_73_;
		int i_76_ = i_72_;
		if (i_74_ < i_72_)
			i_76_ = i_74_;
		int i_77_ = is_67_[i] & 0xff;
		if ((is_67_[i_69_] & 0xff) < i_77_)
			i_77_ = is_67_[i_69_] & 0xff;
		byte[] is_78_ = is_65_[i];
		byte[] is_79_ = is[i_69_];
		int i_80_ = i_75_ - i_71_;
		int i_81_ = i_75_ - i_73_;
		for (int i_82_ = i_75_; i_82_ < i_76_; i_82_++) {
			int i_83_ = is_78_[i_80_++] + is_79_[i_81_++];
			if (i_83_ < i_77_)
				i_77_ = i_83_;
		}
		return -i_77_;
	}
}
