/* Class97 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
package com.jagex;

import java.awt.Canvas;

public class Class97 {
	static Class695[] aClass695Array1184;

	public static Class178 method1768(Canvas canvas, Class172 class172, Interface25 interface25, Interface46 interface46, Interface48 interface48, Interface45 interface45, int i, int i_0_) {
		return new Class178_Sub3(canvas, class172, interface25, interface46, interface48, interface45, i, i_0_);
	}

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

	public static Class178 method1769(Canvas canvas, Class172 class172, Interface25 interface25, Interface46 interface46, Interface48 interface48, Interface45 interface45, int i, int i_1_) {
		return new Class178_Sub3(canvas, class172, interface25, interface46, interface48, interface45, i, i_1_);
	}

	public static void method1770(String string, int i) {
		Class515.method8593(0, 0, "", "", "", string, null, -1844779132);
	}

	static final void method1771(Class669 class669, int i) {
		int i_2_ = (class669.anIntArray8557[(class669.anInt8558 -= 2138772399) * 1357652815]);
		InterfaceComponentDefinitions class250 = Class188.getDefinitions(i_2_, -2058916245);
		Class242 class242 = Class31.aClass242Array302[i_2_ >> 16];
		Class499.method8111(class250, class242, class669, -2064951774);
	}

	static final void method1772(InterfaceComponentDefinitions class250, byte i) {
		if (InterfaceComponentDefinitions.anInt2505 * -286506553 == 1963816533 * class250.anInt2582) {
			if (null == Class241.player.username) {
				class250.anInt2571 = 0;
				class250.anInt2584 = 0;
			} else {
				class250.anInt2563 = 198354862;
				class250.anInt2577 = ((int) (Math.sin((double) client.cycles / 40.0) * 256.0) & 0x7ff) * 1361016637;
				class250.modelType = -913440515;
				class250.anInt2571 = client.anInt11154 * 1971539935;
				class250.anInt2584 = Class618.method10118((Class241.player.username), -97380228) * -1367647675;
				Class707_Sub1 class707_sub1 = (Class241.player.aClass707_Sub1_11887);
				if (class707_sub1 != null) {
					if (class250.aClass707_2693 == null)
						class250.aClass707_2693 = new Class707_Sub3();
					class250.anInt2548 = class707_sub1.method14163(-1915508991) * -1784620421;
					class250.aClass707_2693.method14160(class707_sub1, -2082613215);
				} else
					class250.aClass707_2693 = null;
			}
		}
	}

	public static boolean method1773(String string, byte i) {
		if (string == null)
			return false;
		for (int i_3_ = 0; i_3_ < 1563815891 * client.anInt11287; i_3_++) {
			if (string.equalsIgnoreCase(client.aClass60Array11182[i_3_].aString763))
				return true;
		}
		if (string.equalsIgnoreCase(Class241.player.username))
			return true;
		return false;
	}

	static final void method1774(Class669 class669, int i) {
		class669.anIntArray8557[(class669.anInt8558 += 2138772399) * 1357652815 - 1] = (client.anInt10999 * 1372123713 == class669.aClass647_Sub1_Sub3_Sub1_8552.method18403((byte) -87)) ? 1 : 0;
	}

	static void method1775(int i, String string, int i_4_) {
		Class523_Sub27_Sub7 class523_sub27_sub7 = Class552.createGameTask(3, (long) i);
		class523_sub27_sub7.method17963(1392246481);
		class523_sub27_sub7.aString11650 = string;
	}

	public static final void method1776(int i) {
		for (int i_5_ = 0; i_5_ < 5; i_5_++)
			client.aBoolArray11269[i_5_] = false;
		client.anInt11116 = -1299417575;
		client.anInt11103 = 1528759557;
		Class168.anInt1801 = 0;
		Class277.anInt3030 = 0;
		Class562.anInt7564 = 1997193949;
		if (NetworkStream.method9224(-231720848) == 2) {
			Class592 class592 = client.aClass505_11019.method8242(55538902);
			int i_6_ = class592.localX * 235453015 << 9;
			int i_7_ = 1704054549 * class592.localY << 9;
			int i_8_ = 1000 / Class286.method5150(2059903641);
			Class647_Sub1_Sub3_Sub1.aClass298_Sub1_11957.method5399((float) i_8_ / 1000.0F, (client.aClass505_11019.method8249(-123485230).anIntArrayArrayArray5033), client.aClass505_11019.method8243(1092094034), i_6_, i_7_, (byte) 0);
		}
		Class59.anInt755 = 1325954419;
		JS5FileQueue.anInt8764 = -763239385;
		client.anInt11266 = 1786107443 * client.cycles;
		Class193.anInt2186 = Class77.anInt858 * 1295498371;
		Class525.anInt7089 = 691325033 * Class285.anInt3085;
		Class28.anInt261 = -1122168809 * Class497.anInt5563;
		Class74.anInt815 = 1756844415 * Class678.anInt8639;
		Class145_Sub1.anInt9523 = Class424.anInt4817 * 84524207;
		Class91.anInt895 = 641758819 * client.anInt11286;
	}
}
