/* Class361 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.EOFException;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class Class361 {
	static final int anInt5514 = 2;
	long aLong5515 = -5824321866137345969L;
	static final int anInt5516 = 1;
	static final int anInt5517 = 5;
	Class413 aClass413_5518 = new Class413();
	static final int anInt5519 = 3;
	static final int anInt5520 = 4;
	long aLong5521;

	public void method6894(Class587_Sub16 class587_sub16, int i) {
		if ((3401098856066297101L * class587_sub16.aLong7674 != ((Class361) this).aLong5521 * 6337542946866488623L) || ((3764796047755911145L * ((Class587_Sub16) class587_sub16).aLong9626) != -3758309421899527855L * ((Class361) this).aLong5515))
			throw new RuntimeException("");
		for (Class587_Sub26 class587_sub26 = ((Class587_Sub26) ((Class361) this).aClass413_5518.method7361(1297685871)); null != class587_sub26; class587_sub26 = (Class587_Sub26) ((Class361) this).aClass413_5518.method7344(109366141))
			class587_sub26.method15883(class587_sub16, (byte) 46);
		((Class587_Sub16) class587_sub16).aLong9626 += 2306586019424348249L;
	}

	void method6895(Class587_Sub4 class587_sub4, byte i) {
		((Class361) this).aLong5521 = class587_sub4.method14204(-632719445) * -2134716601599721009L;
		((Class361) this).aLong5515 = class587_sub4.method14204(-632719445) * 5824321866137345969L;
		for (int i_0_ = class587_sub4.method14349(-1130636365); i_0_ != 0; i_0_ = class587_sub4.method14349(-1130636365)) {
			Class587_Sub26 class587_sub26;
			if (i_0_ == 1)
				class587_sub26 = new Class587_Sub26_Sub4(this);
			else if (i_0_ == 4)
				class587_sub26 = new Class587_Sub26_Sub3(this);
			else if (i_0_ == 3)
				class587_sub26 = new Class587_Sub26_Sub2(this);
			else if (i_0_ == 2)
				class587_sub26 = new Class587_Sub26_Sub5(this);
			else if (5 == i_0_)
				class587_sub26 = new Class587_Sub26_Sub1(this);
			else
				throw new RuntimeException("");
			class587_sub26.method15880(class587_sub4, -351180813);
			((Class361) this).aClass413_5518.method7337(class587_sub26, -1559227804);
		}
	}

	public Class361(Class587_Sub4 class587_sub4) {
		method6895(class587_sub4, (byte) -20);
	}

	public void method6896(Class587_Sub16 class587_sub16) {
		if ((3401098856066297101L * class587_sub16.aLong7674 != ((Class361) this).aLong5521 * 6337542946866488623L) || ((3764796047755911145L * ((Class587_Sub16) class587_sub16).aLong9626) != -3758309421899527855L * ((Class361) this).aLong5515))
			throw new RuntimeException("");
		for (Class587_Sub26 class587_sub26 = ((Class587_Sub26) ((Class361) this).aClass413_5518.method7361(1854788447)); null != class587_sub26; class587_sub26 = (Class587_Sub26) ((Class361) this).aClass413_5518.method7344(-117041407))
			class587_sub26.method15883(class587_sub16, (byte) 63);
		((Class587_Sub16) class587_sub16).aLong9626 += 2306586019424348249L;
	}

	static final void method6897(Class35 class35, Class477 class477, int i) {
		int i_1_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		int i_2_ = ((((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]) - 1);
		int i_3_ = i_2_;
		if (6 != class35.anInt624 * -1812766933 && 2 != -1812766933 * class35.anInt624)
			throw new RuntimeException("");
		Class619 class619 = Class211.aClass599_2552.method12905(class35.anInt503 * -1496457985, -1813732674);
		if (null == class35.aClass598_585)
			class35.aClass598_585 = new Class598(class619, 6 == -1812766933 * class35.anInt624);
		class35.aClass598_585.aLong7764 = Class554.method12075(-1255230523) * -5388388126814432033L;
		if (class619.aByteArray7883 != null) {
			if (i_2_ < 0 || i_2_ >= class619.aByteArray7883.length)
				throw new RuntimeException("");
			i_3_ = class619.aByteArray7883[i_2_];
		}
		if (null == class619.aShortArray7879 || i_3_ < 0 || i_3_ >= class619.aShortArray7879.length)
			throw new RuntimeException("");
		class35.aClass598_585.aShortArray7766[i_3_] = (short) i_1_;
		Class423.method7674(class35, -1193678115);
	}

	static final void method6898(Class477 class477, int i) {
		long l = Class121.method2891(-696308235);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = (int) (l / 86400000L) - 11745;
	}

	static final void method6899(Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		((Class477) class477).anInt6498 -= -1140365234;
		int i_4_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_5_ = (((Class477) class477).anIntArray6497[1 + 2028895127 * ((Class477) class477).anInt6498]);
		Class611 class611 = Class92_Sub14.method14672(Class13.aClass279_130, i_5_, 0, (byte) 0);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = class611.method13010(string, i_4_, Class3.aClass135Array32, (byte) 3);
	}

	public static void method6900(int i, int i_6_, int i_7_, byte i_8_) {
		i <<= 3;
		i_6_ <<= 3;
		i_7_ <<= 3;
		client.aFloat8109 = (float) i;
		client.aFloat8281 = (float) i_6_;
		if (Class239.anInt2825 * 488900011 == 6) {
			Class244.anInt3965 = i * -2000712423;
			Class596.anInt7730 = i_6_ * -1537205343;
			Class236.anInt2736 = i_7_ * -590265975;
		}
		Class103.method2515(2128100476);
		client.aBool8117 = true;
	}

	static void method6901(int i) {
		Class184.aBool2209 = false;
		Class506.method11467((byte) -43);
	}

	static void method6902(File file, byte[] is, int i, int i_9_) throws IOException {
		DataInputStream datainputstream = (new DataInputStream(new BufferedInputStream(new FileInputStream(file))));
		try {
			datainputstream.readFully(is, 0, i);
		} catch (EOFException eofexception) {
			/* empty */
		}
		datainputstream.close();
	}

	static final void method6903(Class477 class477, int i) {
		Class560.method12168((((Class477) class477).anIntArray6497[((((Class477) class477).anInt6498 -= 1577301031) * 2028895127)]), (byte) 1);
	}
}
