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

public final class Class686 {
	public Class522_Sub2 aClass522_Sub2_8666 = new Class522_Sub2();
	Class522_Sub2 aClass522_Sub2_8667;
	static int anInt8668;
	public static int anInt8669;

	public void method13876(byte i) {
		for (;;) {
			Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
			if (aClass522_Sub2_8666 == class522_sub2)
				break;
			class522_sub2.method15788(-751175407);
		}
		aClass522_Sub2_8667 = null;
	}

	public void method13877(Class522_Sub2 class522_sub2, byte i) {
		if (null != class522_sub2.aClass522_Sub2_10292)
			class522_sub2.method15788(-654040705);
		class522_sub2.aClass522_Sub2_10292 = aClass522_Sub2_8666.aClass522_Sub2_10292;
		class522_sub2.aClass522_Sub2_10293 = aClass522_Sub2_8666;
		class522_sub2.aClass522_Sub2_10292.aClass522_Sub2_10293 = class522_sub2;
		class522_sub2.aClass522_Sub2_10293.aClass522_Sub2_10292 = class522_sub2;
	}

	public Class522_Sub2 method13878(int i) {
		Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
		if (aClass522_Sub2_8666 == class522_sub2) {
			aClass522_Sub2_8667 = null;
			return null;
		}
		aClass522_Sub2_8667 = class522_sub2.aClass522_Sub2_10293;
		return class522_sub2;
	}

	public Class522_Sub2 method13879(int i) {
		Class522_Sub2 class522_sub2 = aClass522_Sub2_8667;
		if (aClass522_Sub2_8666 == class522_sub2) {
			aClass522_Sub2_8667 = null;
			return null;
		}
		aClass522_Sub2_8667 = class522_sub2.aClass522_Sub2_10293;
		return class522_sub2;
	}

	public void method13880(Class522_Sub2 class522_sub2) {
		if (null != class522_sub2.aClass522_Sub2_10292)
			class522_sub2.method15788(-1511477235);
		class522_sub2.aClass522_Sub2_10292 = aClass522_Sub2_8666.aClass522_Sub2_10292;
		class522_sub2.aClass522_Sub2_10293 = aClass522_Sub2_8666;
		class522_sub2.aClass522_Sub2_10292.aClass522_Sub2_10293 = class522_sub2;
		class522_sub2.aClass522_Sub2_10293.aClass522_Sub2_10292 = class522_sub2;
	}

	public Class686() {
		aClass522_Sub2_8666.aClass522_Sub2_10293 = aClass522_Sub2_8666;
		aClass522_Sub2_8666.aClass522_Sub2_10292 = aClass522_Sub2_8666;
	}

	public Class522_Sub2 method13881() {
		Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
		if (aClass522_Sub2_8666 == class522_sub2) {
			aClass522_Sub2_8667 = null;
			return null;
		}
		aClass522_Sub2_8667 = class522_sub2.aClass522_Sub2_10293;
		return class522_sub2;
	}

	public void method13882() {
		for (;;) {
			Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
			if (aClass522_Sub2_8666 == class522_sub2)
				break;
			class522_sub2.method15788(-1917390937);
		}
		aClass522_Sub2_8667 = null;
	}

	public Class522_Sub2 method13883() {
		Class522_Sub2 class522_sub2 = aClass522_Sub2_8667;
		if (aClass522_Sub2_8666 == class522_sub2) {
			aClass522_Sub2_8667 = null;
			return null;
		}
		aClass522_Sub2_8667 = class522_sub2.aClass522_Sub2_10293;
		return class522_sub2;
	}

	public Class522_Sub2 method13884() {
		Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
		if (aClass522_Sub2_8666 == class522_sub2) {
			aClass522_Sub2_8667 = null;
			return null;
		}
		aClass522_Sub2_8667 = class522_sub2.aClass522_Sub2_10293;
		return class522_sub2;
	}

	public void method13885() {
		for (;;) {
			Class522_Sub2 class522_sub2 = aClass522_Sub2_8666.aClass522_Sub2_10293;
			if (aClass522_Sub2_8666 == class522_sub2)
				break;
			class522_sub2.method15788(-1428863890);
		}
		aClass522_Sub2_8667 = null;
	}

	static final void method13886(Class669 class669, byte i) {
		Class677 class677 = (class669.aBool8570 ? class669.aClass677_8566 : class669.aClass677_8574);
		Class250 class250 = class677.aClass250_8638;
		class669.anInt8558 -= -17422498;
		int i_0_ = class669.anIntArray8557[class669.anInt8558 * 1357652815];
		int i_1_ = class669.anIntArray8557[1 + 1357652815 * class669.anInt8558];
		Class76 class76 = (Class76) Class60.aClass53_Sub22_766.getDefinition(i_0_, (byte) 11);
		if (-1100663923 * class76.anInt850 != i_1_)
			class250.method4505(i_0_, i_1_, -76323478);
		else
			class250.method4436(i_0_, (byte) -66);
	}

	static final void method13887(Class669 class669, byte i) {
		class669.anIntArray8557[(class669.anInt8558 += 2138772399) * 1357652815 - 1] = (-1222917157 * Class218.aClass523_Sub41_2319.anInt10758 < 512 || client.aBool10991 || client.aBool11062) ? 1 : 0;
	}
}
