/* Class238 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.applet.Applet;
import java.awt.Color;
import java.awt.Container;
import java.awt.Font;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.net.URL;

import jaclib.nanotime.QueryPerformanceCounter;

public abstract class Class238 implements Interface22, Runnable, FocusListener, WindowListener {
	static final int anInt2779 = 0;
	static long aLong2780 = 7881292650877365504L;
	public static int anInt2781 = 0;
	static int anInt2782;
	static final int anInt2783 = 32;
	static long[] aLongArray2784;
	static int anInt2785;
	public static String aString2786;
	boolean aBool2787 = false;
	public static int anInt2788;
	public static int anInt2789;
	static final String aString2790 = "random.dat";
	protected static volatile boolean aBool2791;
	static int anInt2792;
	protected static volatile boolean aBool2793;
	static volatile long aLong2794;
	protected static boolean aBool2795;
	protected static Class405 aClass405_2796;
	static final long aLong2797 = 3221225472L;
	public static int anInt2798 = 0;
	static final String aString2799 = "rw";
	static final String aString2800 = "main_file_cache.dat2";
	static final String aString2801 = "main_file_cache.idx";
	static final String aString2802 = "main_file_cache.idx255";
	static long[] aLongArray2803;
	static Class405 aClass405_2804;
	boolean aBool2805 = false;
	protected static Class405 aClass405_2806;
	protected static String aString2807;
	static final int anInt2808 = 1;
	static Class229 aClass229_2809;
	static volatile boolean aBool2810;
	static boolean aBool2811;
	static long aLong2812;
	public static int anInt2813;
	public static int anInt2814;
	static final int anInt2815 = 1048576;
	public boolean aBool2816 = false;
	static int anInt2817;

	public static void method4829(Class587_Sub4 class587_sub4) {
		byte[] is = new byte[24];
		try {
			aClass405_2804.method7204(0L);
			aClass405_2804.method7206(is, -443336217);
			int i;
			for (i = 0; i < 24 && 0 == is[i]; i++) {
				/* empty */
			}
			if (i >= 24)
				throw new IOException();
		} catch (Exception exception) {
			for (int i = 0; i < 24; i++)
				is[i] = (byte) -1;
		}
		class587_sub4.method14189(is, 0, 24, 993307069);
	}

	public void supplyApplet(Applet applet) {
		Class71.anApplet1060 = applet;
	}

	final void method4830(Class252 class252, String string, String string_0_, int i, int i_1_, int i_2_, int i_3_, boolean bool, byte i_4_) {
		try {
			method4860(Class229.aClass229_2682, bool, (byte) 92);
			Class97.anInt1401 = ((Class117.anInt1641 = class252.method5043((byte) -19) * 332700933) * -1277281033);
			Class243_Sub5.anInt9843 = ((Class39.anInt722 = class252.method5053(2028895127) * -1422901463) * -233767485);
			anInt2788 = 0;
			anInt2789 = 0;
			if (Class468.method8319((byte) -22) == Class229.aClass229_2683) {
				Class97.anInt1401 += 1083004838 * class252.method5045(1894171837);
				Class243_Sub5.anInt9843 += -1854455178 * class252.method5046(1960486918);
				method4836(class252.method5047((byte) -4), (byte) 1);
			}
			Class587_Sub13_Sub1.anApplet10333 = Class71.anApplet1060;
			method4876(string, string_0_, i, i_1_, i_2_, i_3_, (byte) -76);
		} catch (Throwable throwable) {
			Class423.method7676(null, throwable, 1740099408);
			method4834("crash", (byte) -94);
		}
	}

	final void method4831(boolean bool) {
		synchronized (this) {
			if (aBool2811)
				return;
			aBool2811 = true;
		}
		try {
			method4855(-884449400);
		} catch (Exception exception) {
			/* empty */
		}
		try {
			aClass405_2796.method7203(1688635481);
			for (int i = 0; i < Class388.anInt5691 * 6652587; i++)
				Class54.aClass405Array910[i].method7203(-585015065);
			aClass405_2806.method7203(984197630);
			aClass405_2804.method7203(1841267271);
		} catch (Exception exception) {
			/* empty */
		}
		if (((Class238) this).aBool2805) {
			try {
				QueryPerformanceCounter.quit();
			} catch (Throwable throwable) {
				/* empty */
			}
		}
		if (Class316.method6238(-2131786747))
			Class106_Sub3.method14645(6838043).method25((byte) -43);
		if (Class180.aCanvas2174 != null) {
			try {
				Class180.aCanvas2174.removeFocusListener(this);
				Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
			} catch (Exception exception) {
				/* empty */
			}
		}
		if (null != Class347.aFrame5428) {
			Class347.aFrame5428.setVisible(false);
			Class347.aFrame5428.dispose();
			Class347.aFrame5428 = null;
		}
	}

	File method4832(String string, String string_5_, int i, int i_6_) {
		String string_7_ = (0 == i ? "" : new StringBuilder().append("").append(i).toString());
		Class134.aFile1737 = new File(Class6.aString38, new StringBuilder().append("jagex_cl_").append(string).append("_").append(string_5_).append(string_7_).append(".dat").toString());
		String string_8_ = null;
		String string_9_ = null;
		boolean bool = false;
		if (Class134.aFile1737.exists()) {
			try {
				Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
				int i_10_;
				Class587_Sub4 class587_sub4;
				for (class587_sub4 = (new Class587_Sub4((int) class415.method7447(-1641758527))); (class587_sub4.anInt8458 * -1961774223 < class587_sub4.aByteArray8460.length); class587_sub4.anInt8458 += i_10_ * -384389743) {
					i_10_ = class415.method7448(class587_sub4.aByteArray8460, (-1961774223 * class587_sub4.anInt8458), ((class587_sub4.aByteArray8460).length - -1961774223 * (class587_sub4.anInt8458)), 973858543);
					if (i_10_ == -1)
						throw new IOException();
				}
				class587_sub4.anInt8458 = 0;
				i_10_ = class587_sub4.method14349(-1130636365);
				if (i_10_ < 1 || i_10_ > 3)
					throw new IOException(new StringBuilder().append("").append(i_10_).toString());
				int i_11_ = 0;
				if (i_10_ > 1)
					i_11_ = class587_sub4.method14349(-1130636365);
				if (i_10_ <= 2) {
					string_8_ = class587_sub4.method14222(-2119563883);
					if (1 == i_11_)
						string_9_ = class587_sub4.method14222(-1330760778);
				} else {
					string_8_ = class587_sub4.method14211(-2072781035);
					if (i_11_ == 1)
						string_9_ = class587_sub4.method14211(-2072781035);
				}
				class415.method7446((byte) -96);
			} catch (IOException ioexception) {
				ioexception.printStackTrace();
			}
			if (string_8_ != null) {
				File file = new File(string_8_);
				if (!file.exists())
					string_8_ = null;
			}
			if (string_8_ != null) {
				File file = new File(string_8_, "test.dat");
				if (!method4909(file, true, (byte) 0))
					string_8_ = null;
			}
		}
		if (null == string_8_ && 0 == i) {
			while_53_: for (int i_12_ = 0; i_12_ < Class114.aStringArray1569.length; i_12_++) {
				for (int i_13_ = 0; i_13_ < Class128.aStringArray1716.length; i_13_++) {
					File file = new File(new StringBuilder().append(Class128.aStringArray1716[i_13_]).append(Class114.aStringArray1569[i_12_]).append(File.separatorChar).append(string).append(File.separatorChar).toString());
					if (file.exists() && method4909(new File(file, "test.dat"), true, (byte) 0)) {
						string_8_ = file.toString();
						bool = true;
						break while_53_;
					}
				}
			}
		}
		if (string_8_ == null) {
			string_8_ = new StringBuilder().append(Class6.aString38).append(File.separatorChar).append("jagexcache").append(string_7_).append(File.separatorChar).append(string).append(File.separatorChar).append(string_5_).append(File.separatorChar).toString();
			bool = true;
		}
		if (null != string_9_) {
			File file = new File(string_9_);
			File file_14_ = new File(string_8_);
			try {
				File[] files = file.listFiles();
				File[] files_15_ = files;
				for (int i_16_ = 0; i_16_ < files_15_.length; i_16_++) {
					File file_17_ = files_15_[i_16_];
					File file_18_ = new File(file_14_, file_17_.getName());
					boolean bool_19_ = file_17_.renameTo(file_18_);
					if (!bool_19_)
						throw new IOException();
				}
			} catch (Exception exception) {
				exception.printStackTrace();
			}
			bool = true;
		}
		if (bool)
			method4889(new File(string_8_), null, 2122415381);
		return new File(string_8_);
	}

	public boolean method4833(File file, int i) {
		if (file == null)
			return false;
		if (!file.exists())
			return false;
		if (!file.isDirectory())
			return false;
		if (file.listFiles().length != 0)
			return false;
		if (!method4909(new File(file, "test.dat"), true, (byte) 0))
			return false;
		method4889(file, Class264.aFile4125, 1909671763);
		return true;
	}

	void method4834(String string, byte i) {
		if (!((Class238) this).aBool2787) {
			((Class238) this).aBool2787 = true;
			System.out.println(new StringBuilder().append("error_game_").append(string).toString());
			try {
				Class407.method7247(Class71.anApplet1060, "loggedout", -2115367130);
			} catch (Throwable throwable) {
				/* empty */
			}
			try {
				Class71.anApplet1060.getAppletContext().showDocument(new URL(Class71.anApplet1060.getCodeBase(), new StringBuilder().append("error_game_").append(string).append(".ws").toString()), "_top");
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	abstract void method4835();

	synchronized void method4836(String string, byte i) {
		Class347.aFrame5428 = new Frame();
		Class347.aFrame5428.setTitle(string);
		Class347.aFrame5428.setResizable(true);
		Class347.aFrame5428.addWindowListener(this);
		Class347.aFrame5428.setBackground(Color.black);
		Class347.aFrame5428.setVisible(true);
		Class347.aFrame5428.toFront();
		Insets insets = Class347.aFrame5428.getInsets();
		Class347.aFrame5428.setSize((insets.left + 136569947 * Class97.anInt1401 + insets.right), (Class243_Sub5.anInt9843 * -417165325 + insets.top + insets.bottom));
	}

	synchronized void method4837(int i) {
		method4839(-1230802674);
		Container container = Class440.method7932((short) 19527);
		Class180.aCanvas2174 = new Canvas_Sub1(container);
		method4838(container, (byte) -20);
	}

	void method4838(Container container, byte i) {
		container.setBackground(Color.black);
		container.setLayout(null);
		container.add(Class180.aCanvas2174);
		Class180.aCanvas2174.setSize(Class117.anInt1641 * -334452787, Class39.anInt722 * -322515687);
		Class180.aCanvas2174.setVisible(true);
		if (container == Class347.aFrame5428) {
			Insets insets = Class347.aFrame5428.getInsets();
			Class180.aCanvas2174.setLocation((insets.left + anInt2788 * -1215519249), (-1338383441 * anInt2789 + insets.top));
		} else
			Class180.aCanvas2174.setLocation(-1215519249 * anInt2788, anInt2789 * -1338383441);
		Class180.aCanvas2174.addFocusListener(this);
		Class180.aCanvas2174.requestFocus();
		Class76.aBool1122 = true;
		aBool2810 = true;
		Class180.aCanvas2174.setFocusTraversalKeysEnabled(false);
		aBool2791 = true;
		aBool2793 = false;
		aLong2794 = Class121.method2891(-334653472) * 8342133184742108819L;
	}

	void method4839(int i) {
		if (Class180.aCanvas2174 != null) {
			Class180.aCanvas2174.removeFocusListener(this);
			Class180.aCanvas2174.getParent().setBackground(Color.black);
			Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
		}
	}

	public final void method4840(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4841(WindowEvent windowevent) {
		/* empty */
	}

	void method4842(int i) {
		if (null != Class198_Sub1_Sub1.aString10414) {
			String string = Class198_Sub1_Sub1.aString10414.toLowerCase();
			if (string.indexOf("sun") != -1 || string.indexOf("apple") != -1) {
				String string_20_ = Class25.aString274;
				if (string_20_.equals("1.1") || string_20_.startsWith("1.1.") || string_20_.equals("1.2") || string_20_.startsWith("1.2.") || string_20_.equals("1.3") || string_20_.startsWith("1.3.") || string_20_.equals("1.4") || string_20_.startsWith("1.4.") || string_20_.equals("1.5") || string_20_.startsWith("1.5.") || string_20_.equals("1.6.0")) {
					method4834("wrongjava", (byte) -94);
					return;
				}
				if (string_20_.startsWith("1.6.0_")) {
					int i_21_;
					for (i_21_ = 6; (i_21_ < string_20_.length() && Class19.method893(string_20_.charAt(i_21_), -159793386)); i_21_++) {
						/* empty */
					}
					String string_22_ = string_20_.substring(6, i_21_);
					if (Class203.method4135(string_22_, 19463209) && Class508.method11501(string_22_, 659680443) < 10) {
						method4834("wrongjava", (byte) -34);
						return;
					}
				}
			}
		}
		Class440.method7932((short) 28110).setFocusCycleRoot(true);
		anInt2813 = (((int) (Runtime.getRuntime().maxMemory() / 1048576L) + 1) * 1815753647);
		anInt2814 = Runtime.getRuntime().availableProcessors() * -1589552059;
		method4837(-650826503);
		method4849(2087560072);
		Class131.aClass253_1729 = Class281.method5681((byte) 2);
		while (0L == aLong2812 * 1367630521317304979L || (Class121.method2891(1443461093) < aLong2812 * 1367630521317304979L)) {
			anInt2782 = Class131.aClass253_1729.method5062(-2868268662402727935L * aLong2780) * 1725311457;
			for (int i_23_ = 0; i_23_ < anInt2782 * 1947982369; i_23_++)
				method4843((byte) 55);
			method4844((byte) 51);
			Class441_Sub5.method13753(Class180.aCanvas2174, (short) 2731);
		}
	}

	void method4843(byte i) {
		long l = Class121.method2891(1513353473);
		long l_24_ = aLongArray2803[anInt2817 * -1239457875];
		aLongArray2803[-1239457875 * anInt2817] = l;
		anInt2817 = 1913216037 * (anInt2817 * -1239457875 + 1 & 0x1f);
		if (l_24_ != 0L && l <= l_24_) {
			/* empty */
		}
		synchronized (this) {
			Class76.aBool1122 = aBool2810;
		}
		method4916(-192655288);
	}

	void method4844(byte i) {
		long l = Class121.method2891(841023626);
		long l_25_ = aLongArray2784[anInt2785 * 921737535 - 1 & 0x1f];
		long l_26_ = aLongArray2784[921737535 * anInt2785];
		aLongArray2784[anInt2785 * 921737535] = l;
		anInt2785 = (1 + anInt2785 * 921737535 & 0x1f) * -1445079361;
		if (l_26_ != 0L && l > l_26_) {
			int i_27_ = (int) (l - l_26_);
			anInt2798 = (int) (l - l_25_) * 300978575;
			anInt2781 = -634760675 * ((32000 + (i_27_ >> 1)) / i_27_);
		}
		if ((anInt2792 += 1711784159) * -1968440545 - 1 > 50) {
			anInt2792 -= -310137970;
			aBool2791 = true;
			Class180.aCanvas2174.setSize(-334452787 * Class117.anInt1641, Class39.anInt722 * -322515687);
			Class180.aCanvas2174.setVisible(true);
			if (Class347.aFrame5428 != null && Class306.aFrame4618 == null) {
				Insets insets = Class347.aFrame5428.getInsets();
				Class180.aCanvas2174.setLocation((anInt2788 * -1215519249 + insets.left), (insets.top + -1338383441 * anInt2789));
			} else
				Class180.aCanvas2174.setLocation(anInt2788 * -1215519249, -1338383441 * anInt2789);
		}
		method4854(805611972);
	}

	String method4845(byte i) {
		return null;
	}

	final void method4846(boolean bool, int i) {
		synchronized (this) {
			if (aBool2811)
				return;
			aBool2811 = true;
		}
		try {
			method4855(-1681021385);
		} catch (Exception exception) {
			/* empty */
		}
		try {
			aClass405_2796.method7203(1017314998);
			for (int i_28_ = 0; i_28_ < Class388.anInt5691 * 6652587; i_28_++)
				Class54.aClass405Array910[i_28_].method7203(1301881884);
			aClass405_2806.method7203(2089155826);
			aClass405_2804.method7203(2040214545);
		} catch (Exception exception) {
			/* empty */
		}
		if (((Class238) this).aBool2805) {
			try {
				QueryPerformanceCounter.quit();
			} catch (Throwable throwable) {
				/* empty */
			}
		}
		if (Class316.method6238(-2127979036))
			Class106_Sub3.method14645(6838043).method25((byte) -46);
		if (Class180.aCanvas2174 != null) {
			try {
				Class180.aCanvas2174.removeFocusListener(this);
				Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
			} catch (Exception exception) {
				/* empty */
			}
		}
		if (null != Class347.aFrame5428) {
			Class347.aFrame5428.setVisible(false);
			Class347.aFrame5428.dispose();
			Class347.aFrame5428 = null;
		}
	}

	void method4847(String string, String string_29_) {
		if (!((Class238) this).aBool2787) {
			((Class238) this).aBool2787 = true;
			System.out.println(new StringBuilder().append("error_game_").append(string).toString());
			try {
				Class407.method7247(Class71.anApplet1060, "loggedout", -1744233488);
			} catch (Throwable throwable) {
				/* empty */
			}
			try {
				Class71.anApplet1060.getAppletContext().showDocument(new URL(Class71.anApplet1060.getCodeBase(), new StringBuilder().append("error_game_").append(string).append(".ws?").append(string_29_).toString()), "_top");
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	void method4848(File file, File file_30_) {
		try {
			Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
			Class587_Sub4 class587_sub4 = new Class587_Sub4(500);
			class587_sub4.method14416(3, 1302373931);
			class587_sub4.method14416(file_30_ != null ? 1 : 0, 1302373931);
			class587_sub4.method14188(file.getPath(), (byte) -82);
			if (file_30_ != null)
				class587_sub4.method14188(file_30_.getPath(), (byte) 67);
			class415.method7445(class587_sub4.aByteArray8460, 0, -1961774223 * class587_sub4.anInt8458, -1701401756);
			class415.method7446((byte) -115);
		} catch (IOException ioexception) {
			ioexception.printStackTrace();
		}
	}

	abstract void method4849(int i);

	public final void method4850(FocusEvent focusevent) {
		aBool2810 = false;
	}

	public final synchronized void paint(Graphics graphics) {
		if (!aBool2811) {
			aBool2791 = true;
			if ((Class121.method2891(-27947083) - aLong2794 * 237833928390156187L) > 1000L) {
				Rectangle rectangle = graphics.getClipBounds();
				if (rectangle == null || (rectangle.width >= Class97.anInt1401 * 136569947 && (rectangle.height >= -417165325 * Class243_Sub5.anInt9843)))
					aBool2793 = true;
			}
		}
	}

	public final void focusGained(FocusEvent focusevent) {
		aBool2810 = true;
		aBool2791 = true;
	}

	public final void focusLost(FocusEvent focusevent) {
		aBool2810 = false;
	}

	abstract void method4851();

	public final void windowClosed(WindowEvent windowevent) {
		/* empty */
	}

	public final void windowClosing(WindowEvent windowevent) {
		aBool2795 = true;
		destroy();
	}

	public final void windowDeactivated(WindowEvent windowevent) {
		/* empty */
	}

	public final void windowDeiconified(WindowEvent windowevent) {
		/* empty */
	}

	public void destroy() {
		if (!aBool2811) {
			aLong2812 = Class121.method2891(2044449010) * 1826348248088052635L;
			Class489.method11114(5000L);
			method4846(false, 1778746970);
		}
	}

	public final void windowOpened(WindowEvent windowevent) {
		/* empty */
	}

	public abstract void method126();

	final boolean method4852(byte i) {
		String string = Class71.anApplet1060.getDocumentBase().getHost().toLowerCase();
		if (string.equals("jagex.com") || string.endsWith(".jagex.com"))
			return true;
		if (string.equals("runescape.com") || string.endsWith(".runescape.com"))
			return true;
		if (string.equals("stellardawn.com") || string.endsWith(".stellardawn.com"))
			return true;
		if (string.endsWith("127.0.0.1"))
			return true;
		for (/**/; (string.length() > 0 && string.charAt(string.length() - 1) >= '0' && string.charAt(string.length() - 1) <= '9'); string = string.substring(0, string.length() - 1)) {
			/* empty */
		}
		if (string.endsWith("192.168.1."))
			return true;
		method4834("invalidhost", (byte) -2);
		return false;
	}

	static void method4853() {
		try {
			File file = new File(Class6.aString38, "random.dat");
			if (file.exists())
				aClass405_2804 = new Class405(new Class415(file, "rw", 25L), 24, 0);
			else {
				while_54_: for (int i = 0; i < Class114.aStringArray1569.length; i++) {
					for (int i_31_ = 0; i_31_ < Class128.aStringArray1716.length; i_31_++) {
						File file_32_ = new File(new StringBuilder().append(Class128.aStringArray1716[i_31_]).append(Class114.aStringArray1569[i]).append(File.separatorChar).append("random.dat").toString());
						if (file_32_.exists()) {
							aClass405_2804 = new Class405(new Class415(file_32_, "rw", 25L), 24, 0);
							break while_54_;
						}
					}
				}
			}
			if (null == aClass405_2804) {
				RandomAccessFile randomaccessfile = new RandomAccessFile(file, "rw");
				int i = randomaccessfile.read();
				randomaccessfile.seek(0L);
				randomaccessfile.write(i);
				randomaccessfile.seek(0L);
				randomaccessfile.close();
				aClass405_2804 = new Class405(new Class415(file, "rw", 25L), 24, 0);
			}
		} catch (IOException ioexception) {
			/* empty */
		}
	}

	abstract void method4854(int i);

	abstract void method4855(int i);

	abstract void method4856();

	void method4857(String string, String string_33_, byte i) {
		if (((Class238) this).aBool2787) {
			if (i >= 24) {
				/* empty */
			}
		} else {
			((Class238) this).aBool2787 = true;
			System.out.println(new StringBuilder().append("error_game_").append(string).toString());
			try {
				Class407.method7247(Class71.anApplet1060, "loggedout", -1744457233);
			} catch (Throwable throwable) {
				/* empty */
			}
			try {
				Class71.anApplet1060.getAppletContext().showDocument(new URL(Class71.anApplet1060.getCodeBase(), new StringBuilder().append("error_game_").append(string).append(".ws?").append(string_33_).toString()), "_top");
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	public void method4858(int i) throws Exception_Sub3 {
		if (!((Class238) this).aBool2805) {
			Class106_Sub3.method14645(6838043).method117("jaclib", -408148386);
			try {
				QueryPerformanceCounter.init();
			} catch (Throwable throwable) {
				if (aString2786.startsWith("win"))
					throw new Exception_Sub3(128, "jaclib");
			}
			((Class238) this).aBool2805 = true;
		}
	}

	public void method4859(byte i) throws Exception_Sub3 {
		if (aBool2816) {
			if (i != 1) {
				/* empty */
			}
		} else {
			Class106_Sub3.method14645(6838043).method117("jagtheora", -1285992845);
			aBool2816 = true;
		}
	}

	void method4860(Class229 class229, boolean bool, byte i) {
		if (null == class229)
			throw new NullPointerException();
		if (Class229.aClass229_2682 != class229 && class229 != Class229.aClass229_2681)
			throw new IllegalStateException();
		aClass229_2809 = class229;
		if (aClass229_2809 != Class229.aClass229_2681) {
			if (bool)
				aClass229_2809 = Class229.aClass229_2683;
		}
	}

	public final void windowActivated(WindowEvent windowevent) {
		/* empty */
	}

	public void method4861() {
		do {
			try {
				try {
					method4842(1030143156);
				} catch (ThreadDeath threaddeath) {
					throw threaddeath;
				} catch (Throwable throwable) {
					Class423.method7676(method4845((byte) 3), throwable, -438380280);
					method4834("crash", (byte) -32);
					method4846(true, 2117624029);
					break;
				}
				method4846(true, 1994695460);
			} catch (Exception object) {
				method4846(true, 1783872553);
				throw object;
			}
		} while (false);
	}

	synchronized void method4862() {
		method4839(-349242197);
		Container container = Class440.method7932((short) 11690);
		Class180.aCanvas2174 = new Canvas_Sub1(container);
		method4838(container, (byte) -28);
	}

	abstract void method4863();

	public static Class415 method4864(String string, String string_34_, boolean bool) {
		File file = new File(Class264.aFile4125, new StringBuilder().append("preferences").append(string).append(".dat").toString());
		do {
			if (file.exists()) {
				Class415 class415;
				try {
					Class415 class415_35_ = new Class415(file, "rw", 10000L);
					class415 = class415_35_;
				} catch (IOException ioexception) {
					break;
				}
				return class415;
			}
		} while (false);
		String string_36_ = "";
		if (33 == 1828790157 * Class9.anInt56)
			string_36_ = "_rc";
		else if (34 == 1828790157 * Class9.anInt56)
			string_36_ = "_wip";
		File file_37_ = new File(Class6.aString38, new StringBuilder().append("jagex_").append(string_34_).append("_preferences").append(string).append(string_36_).append(".dat").toString());
		do {
			if (!bool && file_37_.exists()) {
				Class415 class415;
				try {
					Class415 class415_38_ = new Class415(file_37_, "rw", 10000L);
					class415 = class415_38_;
				} catch (IOException ioexception) {
					break;
				}
				return class415;
			}
		} while (false);
		Class415 class415;
		try {
			Class415 class415_39_ = new Class415(file, "rw", 10000L);
			class415 = class415_39_;
		} catch (IOException ioexception) {
			throw new RuntimeException();
		}
		return class415;
	}

	abstract void method4865();

	Class238() {
		/* empty */
	}

	public final void method4866(FocusEvent focusevent) {
		aBool2810 = true;
		aBool2791 = true;
	}

	abstract void method4867();

	String method4868() {
		return null;
	}

	String method4869() {
		return null;
	}

	public static Container method4870() {
		if (Class306.aFrame4618 != null)
			return Class306.aFrame4618;
		if (Class347.aFrame5428 != null)
			return Class347.aFrame5428;
		return Class71.anApplet1060;
	}

	void method4871(Class229 class229, boolean bool) {
		if (null == class229)
			throw new NullPointerException();
		if (Class229.aClass229_2682 != class229 && class229 != Class229.aClass229_2681)
			throw new IllegalStateException();
		aClass229_2809 = class229;
		if (aClass229_2809 != Class229.aClass229_2681) {
			if (bool)
				aClass229_2809 = Class229.aClass229_2683;
		}
	}

	public void method124(Applet applet) {
		Class71.anApplet1060 = applet;
	}

	final void method4872(Class252 class252, String string, String string_40_, int i, int i_41_, int i_42_, int i_43_, boolean bool) {
		try {
			method4860(Class229.aClass229_2682, bool, (byte) 88);
			Class97.anInt1401 = ((Class117.anInt1641 = class252.method5043((byte) -40) * 332700933) * -1277281033);
			Class243_Sub5.anInt9843 = ((Class39.anInt722 = class252.method5053(2028895127) * -1422901463) * -233767485);
			anInt2788 = 0;
			anInt2789 = 0;
			if (Class468.method8319((byte) -36) == Class229.aClass229_2683) {
				Class97.anInt1401 += 1083004838 * class252.method5045(-1646200468);
				Class243_Sub5.anInt9843 += -1854455178 * class252.method5046(314413222);
				method4836(class252.method5047((byte) -35), (byte) 1);
			}
			Class587_Sub13_Sub1.anApplet10333 = Class71.anApplet1060;
			method4876(string, string_40_, i, i_41_, i_42_, i_43_, (byte) -24);
		} catch (Throwable throwable) {
			Class423.method7676(null, throwable, 1569346643);
			method4834("crash", (byte) -6);
		}
	}

	final void method4873(Class252 class252, String string, String string_44_, int i, int i_45_, int i_46_, int i_47_, boolean bool) {
		try {
			method4860(Class229.aClass229_2682, bool, (byte) 81);
			Class97.anInt1401 = ((Class117.anInt1641 = class252.method5043((byte) -51) * 332700933) * -1277281033);
			Class243_Sub5.anInt9843 = ((Class39.anInt722 = class252.method5053(2028895127) * -1422901463) * -233767485);
			anInt2788 = 0;
			anInt2789 = 0;
			if (Class468.method8319((byte) 3) == Class229.aClass229_2683) {
				Class97.anInt1401 += 1083004838 * class252.method5045(-137837379);
				Class243_Sub5.anInt9843 += -1854455178 * class252.method5046(472972258);
				method4836(class252.method5047((byte) 4), (byte) 1);
			}
			Class587_Sub13_Sub1.anApplet10333 = Class71.anApplet1060;
			method4876(string, string_44_, i, i_45_, i_46_, i_47_, (byte) -85);
		} catch (Throwable throwable) {
			Class423.method7676(null, throwable, -1609413784);
			method4834("crash", (byte) -111);
		}
	}

	final void method4874(Class252 class252, String string, String string_48_, int i, int i_49_, int i_50_, int i_51_, boolean bool) {
		try {
			method4860(Class229.aClass229_2682, bool, (byte) 55);
			Class97.anInt1401 = ((Class117.anInt1641 = class252.method5043((byte) -79) * 332700933) * -1277281033);
			Class243_Sub5.anInt9843 = ((Class39.anInt722 = class252.method5053(2028895127) * -1422901463) * -233767485);
			anInt2788 = 0;
			anInt2789 = 0;
			if (Class468.method8319((byte) 10) == Class229.aClass229_2683) {
				Class97.anInt1401 += 1083004838 * class252.method5045(1667479674);
				Class243_Sub5.anInt9843 += -1854455178 * class252.method5046(1456397731);
				method4836(class252.method5047((byte) 29), (byte) 1);
			}
			Class587_Sub13_Sub1.anApplet10333 = Class71.anApplet1060;
			method4876(string, string_48_, i, i_49_, i_50_, i_51_, (byte) -104);
		} catch (Throwable throwable) {
			Class423.method7676(null, throwable, 1642779410);
			method4834("crash", (byte) -11);
		}
	}

	File method4875(String string, String string_52_, int i) {
		String string_53_ = (0 == i ? "" : new StringBuilder().append("").append(i).toString());
		Class134.aFile1737 = new File(Class6.aString38, new StringBuilder().append("jagex_cl_").append(string).append("_").append(string_52_).append(string_53_).append(".dat").toString());
		String string_54_ = null;
		String string_55_ = null;
		boolean bool = false;
		if (Class134.aFile1737.exists()) {
			try {
				Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
				int i_56_;
				Class587_Sub4 class587_sub4;
				for (class587_sub4 = (new Class587_Sub4((int) class415.method7447(-485620790))); (class587_sub4.anInt8458 * -1961774223 < class587_sub4.aByteArray8460.length); class587_sub4.anInt8458 += i_56_ * -384389743) {
					i_56_ = class415.method7448(class587_sub4.aByteArray8460, (-1961774223 * class587_sub4.anInt8458), ((class587_sub4.aByteArray8460).length - -1961774223 * (class587_sub4.anInt8458)), 1568215459);
					if (i_56_ == -1)
						throw new IOException();
				}
				class587_sub4.anInt8458 = 0;
				i_56_ = class587_sub4.method14349(-1130636365);
				if (i_56_ < 1 || i_56_ > 3)
					throw new IOException(new StringBuilder().append("").append(i_56_).toString());
				int i_57_ = 0;
				if (i_56_ > 1)
					i_57_ = class587_sub4.method14349(-1130636365);
				if (i_56_ <= 2) {
					string_54_ = class587_sub4.method14222(-1922722685);
					if (1 == i_57_)
						string_55_ = class587_sub4.method14222(-1669239969);
				} else {
					string_54_ = class587_sub4.method14211(-2072781035);
					if (i_57_ == 1)
						string_55_ = class587_sub4.method14211(-2072781035);
				}
				class415.method7446((byte) -35);
			} catch (IOException ioexception) {
				ioexception.printStackTrace();
			}
			if (string_54_ != null) {
				File file = new File(string_54_);
				if (!file.exists())
					string_54_ = null;
			}
			if (string_54_ != null) {
				File file = new File(string_54_, "test.dat");
				if (!method4909(file, true, (byte) 0))
					string_54_ = null;
			}
		}
		if (null == string_54_ && 0 == i) {
			while_55_: for (int i_58_ = 0; i_58_ < Class114.aStringArray1569.length; i_58_++) {
				for (int i_59_ = 0; i_59_ < Class128.aStringArray1716.length; i_59_++) {
					File file = new File(new StringBuilder().append(Class128.aStringArray1716[i_59_]).append(Class114.aStringArray1569[i_58_]).append(File.separatorChar).append(string).append(File.separatorChar).toString());
					if (file.exists() && method4909(new File(file, "test.dat"), true, (byte) 0)) {
						string_54_ = file.toString();
						bool = true;
						break while_55_;
					}
				}
			}
		}
		if (string_54_ == null) {
			string_54_ = new StringBuilder().append(Class6.aString38).append(File.separatorChar).append("jagexcache").append(string_53_).append(File.separatorChar).append(string).append(File.separatorChar).append(string_52_).append(File.separatorChar).toString();
			bool = true;
		}
		if (null != string_55_) {
			File file = new File(string_55_);
			File file_60_ = new File(string_54_);
			try {
				File[] files = file.listFiles();
				File[] files_61_ = files;
				for (int i_62_ = 0; i_62_ < files_61_.length; i_62_++) {
					File file_63_ = files_61_[i_62_];
					File file_64_ = new File(file_60_, file_63_.getName());
					boolean bool_65_ = file_63_.renameTo(file_64_);
					if (!bool_65_)
						throw new IOException();
				}
			} catch (Exception exception) {
				exception.printStackTrace();
			}
			bool = true;
		}
		if (bool)
			method4889(new File(string_54_), null, 1743063876);
		return new File(string_54_);
	}

	final void method4876(String string, String string_66_, int i, int i_67_, int i_68_, int i_69_, byte i_70_) throws Exception {
		Class388.anInt5691 = -718379005 * i_67_;
		Class9.anInt56 = 140589893 * i;
		RuntimeException_Sub2.anInt10957 = i_68_ * -1702749457;
		Class566.anInt7335 = -2038944795 * i_69_;
		Class198_Sub1_Sub1.aString10414 = "Unknown";
		Class25.aString274 = "1.1";
		try {
			Class198_Sub1_Sub1.aString10414 = System.getProperty("java.vendor");
			Class25.aString274 = System.getProperty("java.version");
		} catch (Exception exception) {
			/* empty */
		}
		try {
			Class294.aString4308 = System.getProperty("os.name");
		} catch (Exception exception) {
			Class294.aString4308 = "Unknown";
		}
		aString2786 = Class294.aString4308.toLowerCase();
		try {
			Class207.aString2526 = System.getProperty("os.arch").toLowerCase();
		} catch (Exception exception) {
			Class207.aString2526 = "";
		}
		try {
			Class327.aString5124 = System.getProperty("os.version").toLowerCase();
		} catch (Exception exception) {
			Class327.aString5124 = "";
		}
		try {
			Class6.aString38 = System.getProperty("user.home");
			if (Class6.aString38 != null)
				Class6.aString38 = new StringBuilder().append(Class6.aString38).append("/").toString();
		} catch (Exception exception) {
			/* empty */
		}
		try {
			if (aString2786.startsWith("win")) {
				if (null == Class6.aString38)
					Class6.aString38 = System.getenv("USERPROFILE");
			} else if (null == Class6.aString38)
				Class6.aString38 = System.getenv("HOME");
			if (null != Class6.aString38)
				Class6.aString38 = new StringBuilder().append(Class6.aString38).append("/").toString();
		} catch (Exception exception) {
			/* empty */
		}
		if (null == Class6.aString38)
			Class6.aString38 = "~/";
		try {
			Class75.anEventQueue1118 = Toolkit.getDefaultToolkit().getSystemEventQueue();
		} catch (Throwable throwable) {
			/* empty */
		}
		Class128.aStringArray1716 = new String[] { "c:/rscache/", "/rscache/", "c:/windows/", "c:/winnt/", "c:/", Class6.aString38, "/tmp/", "" };
		Class114.aStringArray1569 = new String[] { new StringBuilder().append(".jagex_cache_").append(Class9.anInt56 * 1828790157).toString(), new StringBuilder().append(".file_store_").append(Class9.anInt56 * 1828790157).toString() };
		while_57_: for (int i_71_ = 0; i_71_ < 4; i_71_++) {
			Class264.aFile4125 = method4832(string, string_66_, i_71_, 30512466);
			if (!Class264.aFile4125.exists())
				Class264.aFile4125.mkdirs();
			File[] files = Class264.aFile4125.listFiles();
			if (null != files) {
				File[] files_72_ = files;
				for (int i_73_ = 0; i_73_ < files_72_.length; i_73_++) {
					File file = files_72_[i_73_];
					if (!method4909(file, false, (byte) 0))
						continue while_57_;
				}
			}
			break;
		}
		Class214.method4458(Class264.aFile4125, (byte) 0);
		Class106_Sub2.method14632((byte) 3);
		aClass405_2796 = new Class405(new Class415((Class520.method11660("main_file_cache.dat2", (byte) 36)), "rw", 3221225472L), 5200, 0);
		aClass405_2806 = new Class405(new Class415((Class520.method11660("main_file_cache.idx255", (byte) 46)), "rw", 1048576L), 6000, 0);
		Class54.aClass405Array910 = new Class405[6652587 * Class388.anInt5691];
		for (int i_74_ = 0; i_74_ < Class388.anInt5691 * 6652587; i_74_++)
			Class54.aClass405Array910[i_74_] = new Class405(new Class415((Class520.method11660(new StringBuilder().append("main_file_cache.idx").append(i_74_).toString(), (byte) 97)), "rw", 1048576L), 6000, 0);
		try {
			Class408.aClass429_5984 = new Class429();
		} catch (Exception exception) {
			Class423.aBool6174 = false;
		}
		Class329.aClass589_5220 = new Class589();
		ThreadGroup threadgroup = Thread.currentThread().getThreadGroup();
		for (ThreadGroup threadgroup_75_ = threadgroup.getParent(); null != threadgroup_75_; threadgroup_75_ = threadgroup.getParent())
			threadgroup = threadgroup_75_;
		Thread[] threads = new Thread[1000];
		threadgroup.enumerate(threads);
		for (int i_76_ = 0; i_76_ < threads.length; i_76_++) {
			if (null != threads[i_76_] && threads[i_76_].getName().startsWith("AWT"))
				threads[i_76_].setPriority(1);
		}
		Thread thread = new Thread(this);
		thread.setDaemon(true);
		thread.start();
		thread.setPriority(1);
	}

	void method4877(File file, File file_77_) {
		try {
			Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
			Class587_Sub4 class587_sub4 = new Class587_Sub4(500);
			class587_sub4.method14416(3, 1302373931);
			class587_sub4.method14416(file_77_ != null ? 1 : 0, 1302373931);
			class587_sub4.method14188(file.getPath(), (byte) 40);
			if (file_77_ != null)
				class587_sub4.method14188(file_77_.getPath(), (byte) -52);
			class415.method7445(class587_sub4.aByteArray8460, 0, -1961774223 * class587_sub4.anInt8458, -1210824642);
			class415.method7446((byte) -92);
		} catch (IOException ioexception) {
			ioexception.printStackTrace();
		}
	}

	void method4878(File file, File file_78_) {
		try {
			Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
			Class587_Sub4 class587_sub4 = new Class587_Sub4(500);
			class587_sub4.method14416(3, 1302373931);
			class587_sub4.method14416(file_78_ != null ? 1 : 0, 1302373931);
			class587_sub4.method14188(file.getPath(), (byte) 9);
			if (file_78_ != null)
				class587_sub4.method14188(file_78_.getPath(), (byte) -61);
			class415.method7445(class587_sub4.aByteArray8460, 0, -1961774223 * class587_sub4.anInt8458, -1340775654);
			class415.method7446((byte) -11);
		} catch (IOException ioexception) {
			ioexception.printStackTrace();
		}
	}

	static void method4879(Object object) {
		if (null != Class75.anEventQueue1118) {
			for (int i = 0; i < 50 && Class75.anEventQueue1118.peekEvent() != null; i++)
				Class489.method11114(1L);
			try {
				if (null != object)
					Class75.anEventQueue1118.postEvent(new ActionEvent(object, 1001, "dummy"));
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	boolean method4880(File file, boolean bool) {
		boolean bool_79_;
		try {
			RandomAccessFile randomaccessfile = new RandomAccessFile(file, "rw");
			int i = randomaccessfile.read();
			randomaccessfile.seek(0L);
			randomaccessfile.write(i);
			randomaccessfile.seek(0L);
			randomaccessfile.close();
			if (bool)
				file.delete();
			bool_79_ = true;
		} catch (Exception exception) {
			return false;
		}
		return bool_79_;
	}

	public static File method4881() {
		return Class264.aFile4125;
	}

	public abstract void init();

	public void stop() {
		if (!aBool2811)
			aLong2812 = ((Class121.method2891(-695351761) + 4000L) * 1826348248088052635L);
	}

	static void method4882() {
		try {
			File file = new File(Class6.aString38, "random.dat");
			if (file.exists())
				aClass405_2804 = new Class405(new Class415(file, "rw", 25L), 24, 0);
			else {
				while_58_: for (int i = 0; i < Class114.aStringArray1569.length; i++) {
					for (int i_80_ = 0; i_80_ < Class128.aStringArray1716.length; i_80_++) {
						File file_81_ = new File(new StringBuilder().append(Class128.aStringArray1716[i_80_]).append(Class114.aStringArray1569[i]).append(File.separatorChar).append("random.dat").toString());
						if (file_81_.exists()) {
							aClass405_2804 = new Class405(new Class415(file_81_, "rw", 25L), 24, 0);
							break while_58_;
						}
					}
				}
			}
			if (null == aClass405_2804) {
				RandomAccessFile randomaccessfile = new RandomAccessFile(file, "rw");
				int i = randomaccessfile.read();
				randomaccessfile.seek(0L);
				randomaccessfile.write(i);
				randomaccessfile.seek(0L);
				randomaccessfile.close();
				aClass405_2804 = new Class405(new Class415(file, "rw", 25L), 24, 0);
			}
		} catch (IOException ioexception) {
			/* empty */
		}
	}

	final void method4883(boolean bool) {
		synchronized (this) {
			if (aBool2811)
				return;
			aBool2811 = true;
		}
		try {
			method4855(-147325510);
		} catch (Exception exception) {
			/* empty */
		}
		try {
			aClass405_2796.method7203(-491593516);
			for (int i = 0; i < Class388.anInt5691 * 6652587; i++)
				Class54.aClass405Array910[i].method7203(1001015917);
			aClass405_2806.method7203(1749225717);
			aClass405_2804.method7203(1391442036);
		} catch (Exception exception) {
			/* empty */
		}
		if (((Class238) this).aBool2805) {
			try {
				QueryPerformanceCounter.quit();
			} catch (Throwable throwable) {
				/* empty */
			}
		}
		if (Class316.method6238(-2142929278))
			Class106_Sub3.method14645(6838043).method25((byte) 0);
		if (Class180.aCanvas2174 != null) {
			try {
				Class180.aCanvas2174.removeFocusListener(this);
				Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
			} catch (Exception exception) {
				/* empty */
			}
		}
		if (null != Class347.aFrame5428) {
			Class347.aFrame5428.setVisible(false);
			Class347.aFrame5428.dispose();
			Class347.aFrame5428 = null;
		}
	}

	public final void update(Graphics graphics) {
		paint(graphics);
	}

	static void method4884(Class587_Sub4 class587_sub4, int i) {
		if (aClass405_2804 != null) {
			try {
				aClass405_2804.method7204(0L);
				aClass405_2804.method7208(class587_sub4.aByteArray8460, i, 24, 1134893498);
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	synchronized void method4885() {
		method4839(-965860980);
		Container container = Class440.method7932((short) 21692);
		Class180.aCanvas2174 = new Canvas_Sub1(container);
		method4838(container, (byte) -102);
	}

	synchronized void method4886() {
		method4839(1526178390);
		Container container = Class440.method7932((short) 12491);
		Class180.aCanvas2174 = new Canvas_Sub1(container);
		method4838(container, (byte) -62);
	}

	synchronized void method4887() {
		method4839(1489651410);
		Container container = Class440.method7932((short) 17669);
		Class180.aCanvas2174 = new Canvas_Sub1(container);
		method4838(container, (byte) -20);
	}

	abstract void method4888();

	void method4889(File file, File file_82_, int i) {
		try {
			Class415 class415 = new Class415(Class134.aFile1737, "rw", 10000L);
			Class587_Sub4 class587_sub4 = new Class587_Sub4(500);
			class587_sub4.method14416(3, 1302373931);
			class587_sub4.method14416(file_82_ != null ? 1 : 0, 1302373931);
			class587_sub4.method14188(file.getPath(), (byte) 0);
			if (file_82_ != null)
				class587_sub4.method14188(file_82_.getPath(), (byte) 103);
			class415.method7445(class587_sub4.aByteArray8460, 0, -1961774223 * class587_sub4.anInt8458, -223710449);
			class415.method7446((byte) -30);
		} catch (IOException ioexception) {
			ioexception.printStackTrace();
		}
	}

	public void start() {
		if (!aBool2811)
			aLong2812 = 0L;
	}

	public final void method4890(WindowEvent windowevent) {
		aBool2795 = true;
		destroy();
	}

	public void method4891() {
		do {
			try {
				try {
					method4842(1551303817);
				} catch (ThreadDeath threaddeath) {
					throw threaddeath;
				} catch (Throwable throwable) {
					Class423.method7676(method4845((byte) 3), throwable, 1486215434);
					method4834("crash", (byte) -77);
					method4846(true, 1914941763);
					break;
				}
				method4846(true, 2010131778);
			} catch (Exception object) {
				method4846(true, 2099638313);
				throw object;
			}
		} while (false);
	}

	void method4892() {
		if (Class180.aCanvas2174 != null) {
			Class180.aCanvas2174.removeFocusListener(this);
			Class180.aCanvas2174.getParent().setBackground(Color.black);
			Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
		}
	}

	static void method4893(Class587_Sub4 class587_sub4, int i) {
		if (aClass405_2804 != null) {
			try {
				aClass405_2804.method7204(0L);
				aClass405_2804.method7208(class587_sub4.aByteArray8460, i, 24, 1134893498);
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	final boolean method4894() {
		String string = Class71.anApplet1060.getDocumentBase().getHost().toLowerCase();
		if (string.equals("jagex.com") || string.endsWith(".jagex.com"))
			return true;
		if (string.equals("runescape.com") || string.endsWith(".runescape.com"))
			return true;
		if (string.equals("stellardawn.com") || string.endsWith(".stellardawn.com"))
			return true;
		if (string.endsWith("127.0.0.1"))
			return true;
		for (/**/; (string.length() > 0 && string.charAt(string.length() - 1) >= '0' && string.charAt(string.length() - 1) <= '9'); string = string.substring(0, string.length() - 1)) {
			/* empty */
		}
		if (string.endsWith("192.168.1."))
			return true;
		method4834("invalidhost", (byte) -119);
		return false;
	}

	void method4895() {
		if (null != Class198_Sub1_Sub1.aString10414) {
			String string = Class198_Sub1_Sub1.aString10414.toLowerCase();
			if (string.indexOf("sun") != -1 || string.indexOf("apple") != -1) {
				String string_83_ = Class25.aString274;
				if (string_83_.equals("1.1") || string_83_.startsWith("1.1.") || string_83_.equals("1.2") || string_83_.startsWith("1.2.") || string_83_.equals("1.3") || string_83_.startsWith("1.3.") || string_83_.equals("1.4") || string_83_.startsWith("1.4.") || string_83_.equals("1.5") || string_83_.startsWith("1.5.") || string_83_.equals("1.6.0")) {
					method4834("wrongjava", (byte) -73);
					return;
				}
				if (string_83_.startsWith("1.6.0_")) {
					int i;
					for (i = 6; (i < string_83_.length() && Class19.method893(string_83_.charAt(i), -159793386)); i++) {
						/* empty */
					}
					String string_84_ = string_83_.substring(6, i);
					if (Class203.method4135(string_84_, 19463209) && Class508.method11501(string_84_, -426831636) < 10) {
						method4834("wrongjava", (byte) -59);
						return;
					}
				}
			}
		}
		Class440.method7932((short) 16914).setFocusCycleRoot(true);
		anInt2813 = (((int) (Runtime.getRuntime().maxMemory() / 1048576L) + 1) * 1815753647);
		anInt2814 = Runtime.getRuntime().availableProcessors() * -1589552059;
		method4837(-650826503);
		method4849(2124424542);
		Class131.aClass253_1729 = Class281.method5681((byte) 2);
		while (0L == aLong2812 * 1367630521317304979L || (Class121.method2891(-512725335) < aLong2812 * 1367630521317304979L)) {
			anInt2782 = Class131.aClass253_1729.method5062(-2868268662402727935L * aLong2780) * 1725311457;
			for (int i = 0; i < anInt2782 * 1947982369; i++)
				method4843((byte) -27);
			method4844((byte) 112);
			Class441_Sub5.method13753(Class180.aCanvas2174, (short) -15930);
		}
	}

	void method4896() {
		if (null != Class198_Sub1_Sub1.aString10414) {
			String string = Class198_Sub1_Sub1.aString10414.toLowerCase();
			if (string.indexOf("sun") != -1 || string.indexOf("apple") != -1) {
				String string_85_ = Class25.aString274;
				if (string_85_.equals("1.1") || string_85_.startsWith("1.1.") || string_85_.equals("1.2") || string_85_.startsWith("1.2.") || string_85_.equals("1.3") || string_85_.startsWith("1.3.") || string_85_.equals("1.4") || string_85_.startsWith("1.4.") || string_85_.equals("1.5") || string_85_.startsWith("1.5.") || string_85_.equals("1.6.0")) {
					method4834("wrongjava", (byte) -51);
					return;
				}
				if (string_85_.startsWith("1.6.0_")) {
					int i;
					for (i = 6; (i < string_85_.length() && Class19.method893(string_85_.charAt(i), -159793386)); i++) {
						/* empty */
					}
					String string_86_ = string_85_.substring(6, i);
					if (Class203.method4135(string_86_, 19463209) && Class508.method11501(string_86_, 117047993) < 10) {
						method4834("wrongjava", (byte) -107);
						return;
					}
				}
			}
		}
		Class440.method7932((short) 21157).setFocusCycleRoot(true);
		anInt2813 = (((int) (Runtime.getRuntime().maxMemory() / 1048576L) + 1) * 1815753647);
		anInt2814 = Runtime.getRuntime().availableProcessors() * -1589552059;
		method4837(-650826503);
		method4849(2060208408);
		Class131.aClass253_1729 = Class281.method5681((byte) 2);
		while (0L == aLong2812 * 1367630521317304979L || (Class121.method2891(-1910282052) < aLong2812 * 1367630521317304979L)) {
			anInt2782 = Class131.aClass253_1729.method5062(-2868268662402727935L * aLong2780) * 1725311457;
			for (int i = 0; i < anInt2782 * 1947982369; i++)
				method4843((byte) -65);
			method4844((byte) 96);
			Class441_Sub5.method13753(Class180.aCanvas2174, (short) 7946);
		}
	}

	void method4897() {
		if (null != Class198_Sub1_Sub1.aString10414) {
			String string = Class198_Sub1_Sub1.aString10414.toLowerCase();
			if (string.indexOf("sun") != -1 || string.indexOf("apple") != -1) {
				String string_87_ = Class25.aString274;
				if (string_87_.equals("1.1") || string_87_.startsWith("1.1.") || string_87_.equals("1.2") || string_87_.startsWith("1.2.") || string_87_.equals("1.3") || string_87_.startsWith("1.3.") || string_87_.equals("1.4") || string_87_.startsWith("1.4.") || string_87_.equals("1.5") || string_87_.startsWith("1.5.") || string_87_.equals("1.6.0")) {
					method4834("wrongjava", (byte) -47);
					return;
				}
				if (string_87_.startsWith("1.6.0_")) {
					int i;
					for (i = 6; (i < string_87_.length() && Class19.method893(string_87_.charAt(i), -159793386)); i++) {
						/* empty */
					}
					String string_88_ = string_87_.substring(6, i);
					if (Class203.method4135(string_88_, 19463209) && Class508.method11501(string_88_, -826305169) < 10) {
						method4834("wrongjava", (byte) -77);
						return;
					}
				}
			}
		}
		Class440.method7932((short) 18063).setFocusCycleRoot(true);
		anInt2813 = (((int) (Runtime.getRuntime().maxMemory() / 1048576L) + 1) * 1815753647);
		anInt2814 = Runtime.getRuntime().availableProcessors() * -1589552059;
		method4837(-650826503);
		method4849(2118559389);
		Class131.aClass253_1729 = Class281.method5681((byte) 2);
		while (0L == aLong2812 * 1367630521317304979L || (Class121.method2891(-805778241) < aLong2812 * 1367630521317304979L)) {
			anInt2782 = Class131.aClass253_1729.method5062(-2868268662402727935L * aLong2780) * 1725311457;
			for (int i = 0; i < anInt2782 * 1947982369; i++)
				method4843((byte) -88);
			method4844((byte) 119);
			Class441_Sub5.method13753(Class180.aCanvas2174, (short) -20095);
		}
	}

	void method4898(Container container) {
		container.setBackground(Color.black);
		container.setLayout(null);
		container.add(Class180.aCanvas2174);
		Class180.aCanvas2174.setSize(Class117.anInt1641 * -334452787, Class39.anInt722 * -322515687);
		Class180.aCanvas2174.setVisible(true);
		if (container == Class347.aFrame5428) {
			Insets insets = Class347.aFrame5428.getInsets();
			Class180.aCanvas2174.setLocation((insets.left + anInt2788 * -1215519249), (-1338383441 * anInt2789 + insets.top));
		} else
			Class180.aCanvas2174.setLocation(-1215519249 * anInt2788, anInt2789 * -1338383441);
		Class180.aCanvas2174.addFocusListener(this);
		Class180.aCanvas2174.requestFocus();
		Class76.aBool1122 = true;
		aBool2810 = true;
		Class180.aCanvas2174.setFocusTraversalKeysEnabled(false);
		aBool2791 = true;
		aBool2793 = false;
		aLong2794 = Class121.method2891(-187293308) * 8342133184742108819L;
	}

	void method4899() {
		long l = Class121.method2891(979896185);
		long l_89_ = aLongArray2784[anInt2785 * 921737535 - 1 & 0x1f];
		long l_90_ = aLongArray2784[921737535 * anInt2785];
		aLongArray2784[anInt2785 * 921737535] = l;
		anInt2785 = (1 + anInt2785 * 921737535 & 0x1f) * -1445079361;
		if (l_90_ != 0L && l > l_90_) {
			int i = (int) (l - l_90_);
			anInt2798 = (int) (l - l_89_) * 300978575;
			anInt2781 = -634760675 * ((32000 + (i >> 1)) / i);
		}
		if ((anInt2792 += 1711784159) * -1968440545 - 1 > 50) {
			anInt2792 -= -310137970;
			aBool2791 = true;
			Class180.aCanvas2174.setSize(-334452787 * Class117.anInt1641, Class39.anInt722 * -322515687);
			Class180.aCanvas2174.setVisible(true);
			if (Class347.aFrame5428 != null && Class306.aFrame4618 == null) {
				Insets insets = Class347.aFrame5428.getInsets();
				Class180.aCanvas2174.setLocation((anInt2788 * -1215519249 + insets.left), (insets.top + -1338383441 * anInt2789));
			} else
				Class180.aCanvas2174.setLocation(anInt2788 * -1215519249, -1338383441 * anInt2789);
		}
		method4854(2008074894);
	}

	public final void method4900(FocusEvent focusevent) {
		aBool2810 = false;
	}

	final void method4901(boolean bool) {
		synchronized (this) {
			if (aBool2811)
				return;
			aBool2811 = true;
		}
		try {
			method4855(1350125438);
		} catch (Exception exception) {
			/* empty */
		}
		try {
			aClass405_2796.method7203(1305299115);
			for (int i = 0; i < Class388.anInt5691 * 6652587; i++)
				Class54.aClass405Array910[i].method7203(636844307);
			aClass405_2806.method7203(1291002478);
			aClass405_2804.method7203(-1298101209);
		} catch (Exception exception) {
			/* empty */
		}
		if (((Class238) this).aBool2805) {
			try {
				QueryPerformanceCounter.quit();
			} catch (Throwable throwable) {
				/* empty */
			}
		}
		if (Class316.method6238(-2118395614))
			Class106_Sub3.method14645(6838043).method25((byte) -4);
		if (Class180.aCanvas2174 != null) {
			try {
				Class180.aCanvas2174.removeFocusListener(this);
				Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
			} catch (Exception exception) {
				/* empty */
			}
		}
		if (null != Class347.aFrame5428) {
			Class347.aFrame5428.setVisible(false);
			Class347.aFrame5428.dispose();
			Class347.aFrame5428 = null;
		}
	}

	static long method4902() {
		return Class131.aClass253_1729.method5066(-446469019);
	}

	public static final int method4903() {
		return (int) (1000000000L / (-2868268662402727935L * aLong2780));
	}

	public static final int method4904() {
		return (int) (1000000000L / (-2868268662402727935L * aLong2780));
	}

	public final synchronized void method131(Graphics graphics) {
		if (!aBool2811) {
			aBool2791 = true;
			if ((Class121.method2891(1309264916) - aLong2794 * 237833928390156187L) > 1000L) {
				Rectangle rectangle = graphics.getClipBounds();
				if (rectangle == null || (rectangle.width >= Class97.anInt1401 * 136569947 && (rectangle.height >= -417165325 * Class243_Sub5.anInt9843)))
					aBool2793 = true;
			}
		}
	}

	String method4905() {
		return null;
	}

	public void method123() {
		if (!aBool2811)
			aLong2812 = 0L;
	}

	public void method127() {
		if (!aBool2811)
			aLong2812 = 0L;
	}

	void method4906() {
		if (Class180.aCanvas2174 != null) {
			Class180.aCanvas2174.removeFocusListener(this);
			Class180.aCanvas2174.getParent().setBackground(Color.black);
			Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
		}
	}

	public void method128() {
		if (!aBool2811) {
			aLong2812 = Class121.method2891(-1807783343) * 1826348248088052635L;
			Class489.method11114(5000L);
			method4846(false, 1976834719);
		}
	}

	public void method129() {
		if (!aBool2811) {
			aLong2812 = Class121.method2891(1850008080) * 1826348248088052635L;
			Class489.method11114(5000L);
			method4846(false, 1984603825);
		}
	}

	public final synchronized void method130(Graphics graphics) {
		if (!aBool2811) {
			aBool2791 = true;
			if ((Class121.method2891(253816798) - aLong2794 * 237833928390156187L) > 1000L) {
				Rectangle rectangle = graphics.getClipBounds();
				if (rectangle == null || (rectangle.width >= Class97.anInt1401 * 136569947 && (rectangle.height >= -417165325 * Class243_Sub5.anInt9843)))
					aBool2793 = true;
			}
		}
	}

	public final void windowIconified(WindowEvent windowevent) {
		/* empty */
	}

	public static final void method4907(int i, String string, Color color, Color color_91_, Color color_92_) {
		try {
			Graphics graphics = Class180.aCanvas2174.getGraphics();
			if (null == Class25.aFont273)
				Class25.aFont273 = new Font("Helvetica", 1, 13);
			if (color == null)
				color = new Color(140, 17, 17);
			if (null == color_91_)
				color_91_ = new Color(140, 17, 17);
			if (color_92_ == null)
				color_92_ = new Color(255, 255, 255);
			try {
				if (null == Class92_Sub21.anImage10086)
					Class92_Sub21.anImage10086 = Class180.aCanvas2174.createImage((Class117.anInt1641 * -334452787), (Class39.anInt722 * -322515687));
				Graphics graphics_93_ = Class92_Sub21.anImage10086.getGraphics();
				graphics_93_.setColor(Color.black);
				graphics_93_.fillRect(0, 0, Class117.anInt1641 * -334452787, -322515687 * Class39.anInt722);
				int i_94_ = -334452787 * Class117.anInt1641 / 2 - 152;
				int i_95_ = Class39.anInt722 * -322515687 / 2 - 18;
				graphics_93_.setColor(color_91_);
				graphics_93_.drawRect(i_94_, i_95_, 303, 33);
				graphics_93_.setColor(color);
				graphics_93_.fillRect(2 + i_94_, i_95_ + 2, 3 * i, 30);
				graphics_93_.setColor(Color.black);
				graphics_93_.drawRect(i_94_ + 1, 1 + i_95_, 301, 31);
				graphics_93_.fillRect(2 + i_94_ + 3 * i, i_95_ + 2, 300 - 3 * i, 30);
				graphics_93_.setFont(Class25.aFont273);
				graphics_93_.setColor(color_92_);
				graphics_93_.drawString(string, (i_94_ + (304 - string.length() * 6) / 2), 22 + i_95_);
				if (null != aString2807) {
					graphics_93_.setFont(Class25.aFont273);
					graphics_93_.setColor(color_92_);
					graphics_93_.drawString(aString2807, ((Class117.anInt1641 * -334452787 / 2) - aString2807.length() * 6 / 2), (-322515687 * Class39.anInt722 / 2 - 26));
				}
				graphics.drawImage(Class92_Sub21.anImage10086, 0, 0, null);
			} catch (Exception exception) {
				graphics.setColor(Color.black);
				graphics.fillRect(0, 0, Class117.anInt1641 * -334452787, -322515687 * Class39.anInt722);
				int i_96_ = Class117.anInt1641 * -334452787 / 2 - 152;
				int i_97_ = -322515687 * Class39.anInt722 / 2 - 18;
				graphics.setColor(color_91_);
				graphics.drawRect(i_96_, i_97_, 303, 33);
				graphics.setColor(color);
				graphics.fillRect(2 + i_96_, i_97_ + 2, i * 3, 30);
				graphics.setColor(Color.black);
				graphics.drawRect(i_96_ + 1, 1 + i_97_, 301, 31);
				graphics.fillRect(2 + i_96_ + i * 3, i_97_ + 2, 300 - 3 * i, 30);
				graphics.setFont(Class25.aFont273);
				graphics.setColor(color_92_);
				if (aString2807 != null) {
					graphics.setFont(Class25.aFont273);
					graphics.setColor(color_92_);
					graphics.drawString(aString2807, (-334452787 * Class117.anInt1641 / 2 - aString2807.length() * 6 / 2), (-322515687 * Class39.anInt722 / 2 - 26));
				}
				graphics.drawString(string, i_96_ + (304 - string.length() * 6) / 2, i_97_ + 22);
			}
		} catch (Exception exception) {
			Class180.aCanvas2174.repaint();
		}
	}

	public final void method4908(FocusEvent focusevent) {
		aBool2810 = true;
		aBool2791 = true;
	}

	boolean method4909(File file, boolean bool, byte i) {
		boolean bool_98_;
		try {
			RandomAccessFile randomaccessfile = new RandomAccessFile(file, "rw");
			int i_99_ = randomaccessfile.read();
			randomaccessfile.seek(0L);
			randomaccessfile.write(i_99_);
			randomaccessfile.seek(0L);
			randomaccessfile.close();
			if (bool)
				file.delete();
			bool_98_ = true;
		} catch (Exception exception) {
			return false;
		}
		return bool_98_;
	}

	String method4910() {
		return null;
	}

	public final void method4911(FocusEvent focusevent) {
		aBool2810 = false;
	}

	static {
		aLongArray2784 = new long[32];
		aLongArray2803 = new long[32];
		anInt2788 = 0;
		anInt2789 = 0;
		aString2807 = null;
		aBool2791 = true;
		anInt2792 = 1193587596;
		aBool2793 = false;
		aLong2794 = 0L;
		aBool2795 = false;
		aBool2810 = true;
		aClass405_2804 = null;
		aClass405_2796 = null;
		aClass405_2806 = null;
		aClass229_2809 = null;
		aLong2812 = 0L;
		aBool2811 = false;
		anInt2813 = -1815753647;
		anInt2814 = -1589552059;
	}

	void method4912() {
		if (Class180.aCanvas2174 != null) {
			Class180.aCanvas2174.removeFocusListener(this);
			Class180.aCanvas2174.getParent().setBackground(Color.black);
			Class180.aCanvas2174.getParent().remove(Class180.aCanvas2174);
		}
	}

	public final void method4913(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4914(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4915(WindowEvent windowevent) {
		/* empty */
	}

	abstract void method4916(int i);

	public final void method4917(WindowEvent windowevent) {
		aBool2795 = true;
		destroy();
	}

	public final void method4918(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4919(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4920(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4921(FocusEvent focusevent) {
		aBool2810 = true;
		aBool2791 = true;
	}

	final boolean method4922() {
		String string = Class71.anApplet1060.getDocumentBase().getHost().toLowerCase();
		if (string.equals("jagex.com") || string.endsWith(".jagex.com"))
			return true;
		if (string.equals("runescape.com") || string.endsWith(".runescape.com"))
			return true;
		if (string.equals("stellardawn.com") || string.endsWith(".stellardawn.com"))
			return true;
		if (string.endsWith("127.0.0.1"))
			return true;
		for (/**/; (string.length() > 0 && string.charAt(string.length() - 1) >= '0' && string.charAt(string.length() - 1) <= '9'); string = string.substring(0, string.length() - 1)) {
			/* empty */
		}
		if (string.endsWith("192.168.1."))
			return true;
		method4834("invalidhost", (byte) -13);
		return false;
	}

	public final void method4923(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4924(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4925(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4926(WindowEvent windowevent) {
		/* empty */
	}

	public final void method4927(WindowEvent windowevent) {
		/* empty */
	}

	public void run() {
		do {
			try {
				try {
					method4842(1850278647);
				} catch (ThreadDeath threaddeath) {
					throw threaddeath;
				} catch (Throwable throwable) {
					Class423.method7676(method4845((byte) 3), throwable, 1789859437);
					method4834("crash", (byte) -127);
					method4846(true, 2100914646);
					break;
				}
				method4846(true, 1922002328);
			} catch (Exception object) {
				method4846(true, 1932197497);
				throw object;
			}
		} while (false);
	}

	abstract void method4928();

	static long method4929() {
		return Class131.aClass253_1729.method5066(883289384);
	}

	abstract void method4930();

	public final void method4931(FocusEvent focusevent) {
		aBool2810 = false;
	}

	public static final void method4932(int i, String string, Color color, Color color_100_, Color color_101_) {
		try {
			Graphics graphics = Class180.aCanvas2174.getGraphics();
			if (null == Class25.aFont273)
				Class25.aFont273 = new Font("Helvetica", 1, 13);
			if (color == null)
				color = new Color(140, 17, 17);
			if (null == color_100_)
				color_100_ = new Color(140, 17, 17);
			if (color_101_ == null)
				color_101_ = new Color(255, 255, 255);
			try {
				if (null == Class92_Sub21.anImage10086)
					Class92_Sub21.anImage10086 = Class180.aCanvas2174.createImage((Class117.anInt1641 * -334452787), (Class39.anInt722 * -322515687));
				Graphics graphics_102_ = Class92_Sub21.anImage10086.getGraphics();
				graphics_102_.setColor(Color.black);
				graphics_102_.fillRect(0, 0, Class117.anInt1641 * -334452787, -322515687 * Class39.anInt722);
				int i_103_ = -334452787 * Class117.anInt1641 / 2 - 152;
				int i_104_ = Class39.anInt722 * -322515687 / 2 - 18;
				graphics_102_.setColor(color_100_);
				graphics_102_.drawRect(i_103_, i_104_, 303, 33);
				graphics_102_.setColor(color);
				graphics_102_.fillRect(2 + i_103_, i_104_ + 2, 3 * i, 30);
				graphics_102_.setColor(Color.black);
				graphics_102_.drawRect(i_103_ + 1, 1 + i_104_, 301, 31);
				graphics_102_.fillRect(2 + i_103_ + 3 * i, i_104_ + 2, 300 - 3 * i, 30);
				graphics_102_.setFont(Class25.aFont273);
				graphics_102_.setColor(color_101_);
				graphics_102_.drawString(string, (i_103_ + (304 - string.length() * 6) / 2), 22 + i_104_);
				if (null != aString2807) {
					graphics_102_.setFont(Class25.aFont273);
					graphics_102_.setColor(color_101_);
					graphics_102_.drawString(aString2807, ((Class117.anInt1641 * -334452787 / 2) - aString2807.length() * 6 / 2), (-322515687 * Class39.anInt722 / 2 - 26));
				}
				graphics.drawImage(Class92_Sub21.anImage10086, 0, 0, null);
			} catch (Exception exception) {
				graphics.setColor(Color.black);
				graphics.fillRect(0, 0, Class117.anInt1641 * -334452787, -322515687 * Class39.anInt722);
				int i_105_ = Class117.anInt1641 * -334452787 / 2 - 152;
				int i_106_ = -322515687 * Class39.anInt722 / 2 - 18;
				graphics.setColor(color_100_);
				graphics.drawRect(i_105_, i_106_, 303, 33);
				graphics.setColor(color);
				graphics.fillRect(2 + i_105_, i_106_ + 2, i * 3, 30);
				graphics.setColor(Color.black);
				graphics.drawRect(i_105_ + 1, 1 + i_106_, 301, 31);
				graphics.fillRect(2 + i_105_ + i * 3, i_106_ + 2, 300 - 3 * i, 30);
				graphics.setFont(Class25.aFont273);
				graphics.setColor(color_101_);
				if (aString2807 != null) {
					graphics.setFont(Class25.aFont273);
					graphics.setColor(color_101_);
					graphics.drawString(aString2807, (-334452787 * Class117.anInt1641 / 2 - aString2807.length() * 6 / 2), (-322515687 * Class39.anInt722 / 2 - 26));
				}
				graphics.drawString(string, i_105_ + (304 - string.length() * 6) / 2, i_106_ + 22);
			}
		} catch (Exception exception) {
			Class180.aCanvas2174.repaint();
		}
	}

	public void method125() {
		if (!aBool2811) {
			aLong2812 = Class121.method2891(-1719588585) * 1826348248088052635L;
			Class489.method11114(5000L);
			method4846(false, 1689579581);
		}
	}

	public static final void method4933() {
		Class92_Sub21.anImage10086 = null;
		Class25.aFont273 = null;
	}

	public static final void method4934() {
		Class92_Sub21.anImage10086 = null;
		Class25.aFont273 = null;
	}

	void method4935(String string) {
		if (!((Class238) this).aBool2787) {
			((Class238) this).aBool2787 = true;
			System.out.println(new StringBuilder().append("error_game_").append(string).toString());
			try {
				Class407.method7247(Class71.anApplet1060, "loggedout", -2092074441);
			} catch (Throwable throwable) {
				/* empty */
			}
			try {
				Class71.anApplet1060.getAppletContext().showDocument(new URL(Class71.anApplet1060.getCodeBase(), new StringBuilder().append("error_game_").append(string).append(".ws").toString()), "_top");
			} catch (Exception exception) {
				/* empty */
			}
		}
	}

	boolean method4936(File file, boolean bool) {
		boolean bool_107_;
		try {
			RandomAccessFile randomaccessfile = new RandomAccessFile(file, "rw");
			int i = randomaccessfile.read();
			randomaccessfile.seek(0L);
			randomaccessfile.write(i);
			randomaccessfile.seek(0L);
			randomaccessfile.close();
			if (bool)
				file.delete();
			bool_107_ = true;
		} catch (Exception exception) {
			return false;
		}
		return bool_107_;
	}

	public void method4937() throws Exception_Sub3 {
		if (!((Class238) this).aBool2805) {
			Class106_Sub3.method14645(6838043).method117("jaclib", -122548126);
			try {
				QueryPerformanceCounter.init();
			} catch (Throwable throwable) {
				if (aString2786.startsWith("win"))
					throw new Exception_Sub3(128, "jaclib");
			}
			((Class238) this).aBool2805 = true;
		}
	}

	public void method4938() throws Exception_Sub3 {
		if (!((Class238) this).aBool2805) {
			Class106_Sub3.method14645(6838043).method117("jaclib", 960456864);
			try {
				QueryPerformanceCounter.init();
			} catch (Throwable throwable) {
				if (aString2786.startsWith("win"))
					throw new Exception_Sub3(128, "jaclib");
			}
			((Class238) this).aBool2805 = true;
		}
	}

	String method4939() {
		return null;
	}

	public static Class229 method4940() {
		return aClass229_2809;
	}

	static final void method4941(Class477 class477, int i) {
		int i_108_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class35 class35 = Class109.method2606(i_108_, 1033667826);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = class35.anInt593 * 865083467;
	}

	static final Class477 method4942(byte i) {
		if (523168403 * Class481.anInt6537 == Class481.anArrayList6542.size())
			Class481.anArrayList6542.add(new Class477());
		Class477 class477 = ((Class477) Class481.anArrayList6542.get(523168403 * Class481.anInt6537));
		Class481.anInt6537 += -2035367013;
		return class477;
	}
}
