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

import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class Class617 {
	static int anInt8040;
	static int anInt8041;
	static Class14 aClass14_8042;
	static int anInt8043;
	static Class621[] aClass621Array8044;
	static List aList8045;
	static int anInt8046;
	static int anInt8047;
	static int anInt8048;
	static Class385[] aClass385Array8049;
	static Class522_Sub2_Sub1_Sub1[] aClass522_Sub2_Sub1_Sub1Array8050;
	static Class14 aClass14_8051;
	static int anInt8052 = 0;
	static int anInt8053;
	static int anInt8054;

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

	public static void method10075(Interface48 interface48, Interface45 interface45) {
		anInt8052 = 0;
		anInt8043 = 0;
		aList8045 = new LinkedList();
		aClass522_Sub2_Sub1_Sub1Array8050 = new Class522_Sub2_Sub1_Sub1[1024];
		aClass621Array8044 = new Class621[1 + (Class173.anIntArray1840[-1334998773 * anInt8054])];
		anInt8041 = 0;
		anInt8046 = 0;
		Class425.anInterface45_4820 = interface45;
	}

	static int method10076(int i) {
		Class523_Sub24 class523_sub24 = (Class523_Sub24) aClass14_8051.method741((long) i);
		if (null == class523_sub24) {
			Class385 class385 = Class425.anInterface45_4820.method343(i, (byte) -62);
			if (null == class385 || class385.anInt3997 * -129006153 != 2)
				return -1;
			class523_sub24 = new Class523_Sub24(anInt8040 * -1060384309);
			aClass14_8051.method738(class523_sub24, (long) i);
			aClass385Array8049[(anInt8040 += 1922812899) * -1060384309 - 1] = class385;
		}
		return class523_sub24.anInt10542 * -677457577;
	}

	public static void method10077(int i) {
		if (i < 0 || i > 2)
			i = 0;
		anInt8054 = i * 224918179;
		aClass621Array8044 = (new Class621[Class173.anIntArray1840[-1334998773 * anInt8054] + 1]);
		anInt8041 = 0;
		anInt8046 = 0;
	}

	public static void method10078(Interface48 interface48, Interface45 interface45) {
		anInt8052 = 0;
		anInt8043 = 0;
		aList8045 = new LinkedList();
		aClass522_Sub2_Sub1_Sub1Array8050 = new Class522_Sub2_Sub1_Sub1[1024];
		aClass621Array8044 = new Class621[1 + (Class173.anIntArray1840[-1334998773 * anInt8054])];
		anInt8041 = 0;
		anInt8046 = 0;
		Class425.anInterface45_4820 = interface45;
	}

	public static void method10079(Interface48 interface48, Interface45 interface45) {
		anInt8052 = 0;
		anInt8043 = 0;
		aList8045 = new LinkedList();
		aClass522_Sub2_Sub1_Sub1Array8050 = new Class522_Sub2_Sub1_Sub1[1024];
		aClass621Array8044 = new Class621[1 + (Class173.anIntArray1840[-1334998773 * anInt8054])];
		anInt8041 = 0;
		anInt8046 = 0;
		Class425.anInterface45_4820 = interface45;
	}

	public static void method10080(Class560 class560, Class178 class178) {
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			if (class621.aBool8085)
				class621.method10134(class560, class178);
		}
	}

	public static void method10081(Interface48 interface48, Interface45 interface45) {
		anInt8052 = 0;
		anInt8043 = 0;
		aList8045 = new LinkedList();
		aClass522_Sub2_Sub1_Sub1Array8050 = new Class522_Sub2_Sub1_Sub1[1024];
		aClass621Array8044 = new Class621[1 + (Class173.anIntArray1840[-1334998773 * anInt8054])];
		anInt8041 = 0;
		anInt8046 = 0;
		Class425.anInterface45_4820 = interface45;
	}

	static {
		anInt8043 = 0;
		anInt8041 = 0;
		anInt8046 = 0;
		anInt8047 = 0;
		anInt8048 = 0;
		aClass385Array8049 = new Class385[16];
		anInt8040 = 0;
		aClass14_8051 = new Class14(16);
		aClass14_8042 = new Class14(8);
		anInt8053 = 0;
		anInt8054 = 449836358;
	}

	public static void method10082(Class560 class560, Class178 class178) {
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			if (class621.aBool8085)
				class621.method10134(class560, class178);
		}
	}

	public static void method10083() {
		aClass14_8042 = new Class14(8);
		anInt8053 = 0;
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			class621.method10124();
		}
	}

	public static void method10084() {
		aClass14_8042 = new Class14(8);
		anInt8053 = 0;
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			class621.method10124();
		}
	}

	public static void method10085() {
		aClass14_8042 = new Class14(8);
		anInt8053 = 0;
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			class621.method10124();
		}
	}

	public static void method10086() {
		aClass14_8042 = new Class14(8);
		anInt8053 = 0;
		Iterator iterator = aList8045.iterator();
		while (iterator.hasNext()) {
			Class621 class621 = (Class621) iterator.next();
			class621.method10124();
		}
	}

	public static void method10087(int i) {
		if (i < 0 || i > 2)
			i = 0;
		anInt8054 = i * 224918179;
		aClass621Array8044 = (new Class621[Class173.anIntArray1840[-1334998773 * anInt8054] + 1]);
		anInt8041 = 0;
		anInt8046 = 0;
	}

	static int method10088(int i) {
		Class523_Sub24 class523_sub24 = (Class523_Sub24) aClass14_8051.method741((long) i);
		if (null == class523_sub24) {
			Class385 class385 = Class425.anInterface45_4820.method343(i, (byte) -16);
			if (null == class385 || class385.anInt3997 * -129006153 != 2)
				return -1;
			class523_sub24 = new Class523_Sub24(anInt8040 * -1060384309);
			aClass14_8051.method738(class523_sub24, (long) i);
			aClass385Array8049[(anInt8040 += 1922812899) * -1060384309 - 1] = class385;
		}
		return class523_sub24.anInt10542 * -677457577;
	}

	static final void updatePlayer(Class523_Sub34_Sub2 class523_sub34_sub2, int i, int i_0_) {
		Class108.anInt1323 = 0;
		Class540.method8985(class523_sub34_sub2, (byte) 66);
		Class687_Sub14.decodeMasks(class523_sub34_sub2, (byte) -4);
		if (class523_sub34_sub2.anInt10661 * 2349011 != i)
			throw new RuntimeException(new StringBuilder().append(2349011 * class523_sub34_sub2.anInt10661).append(" ").append(i).toString());
	}

	public static final Class250 method10090(Class242 class242, Class250 class250, int i) {
		if (-1 != class250.anInt2546 * 97896203)
			return class242.method4366(class250.anInt2546 * 97896203, -1402670439);
		if (!class242.aBool2456) {
			int i_1_ = -1363815505 * class250.anInt2585 >>> 16;
			Class15 class15 = new Class15(client.aClass14_11187);
			for (Class523_Sub36 class523_sub36 = (Class523_Sub36) class15.method757(2138772399); null != class523_sub36; class523_sub36 = (Class523_Sub36) class15.next()) {
				if (i_1_ == class523_sub36.anInt10666 * -1444773101)
					return Class188.method3592((int) (1055205983951172633L * (class523_sub36.aLong7065)), -1694810795);
			}
		}
		return null;
	}
}
