/* Class502 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class Class502 {
	List aList6692;
	boolean aBool6693;
	List aList6694;
	int anInt6695;
	long aLong6696;
	long aLong6697;
	boolean aBool6698;
	public boolean aBool6699 = false;
	int anInt6700;
	int anInt6701;
	static boolean[] aBoolArray6702 = new boolean[64];
	boolean aBool6703;
	int anInt6704;
	Class160 aClass160_6705;
	Class243_Sub6_Sub1_Sub1[] aClass243_Sub6_Sub1_Sub1Array6706;
	static boolean[] aBoolArray6707 = new boolean[16];

	public void method11278() {
		((Class502) this).aBool6693 = true;
	}

	Class502(int i, boolean bool) {
		((Class502) this).aBool6693 = false;
		((Class502) this).anInt6700 = 0;
		((Class502) this).aList6694 = new LinkedList();
		((Class502) this).anInt6695 = 0;
		((Class502) this).aList6692 = new LinkedList();
		((Class502) this).anInt6701 = 0;
		((Class502) this).aBool6698 = false;
		((Class502) this).aBool6703 = false;
		((Class502) this).aClass160_6705 = new Class160();
		((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706 = new Class243_Sub6_Sub1_Sub1[8192];
		method11304(i, bool);
	}

	void method11279(Class581 class581, Class84 class84) {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) 29);
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11070(class581, class84, ((Class502) this).aLong6696);
		}
	}

	public void method11280() {
		((Class502) this).aBool6698 = true;
	}

	public void method11281(long l) {
		((Class502) this).aLong6697 = l;
	}

	public void method11282() {
		((Class502) this).aBool6693 = true;
	}

	void method11283() {
		((Class502) this).aBool6693 = false;
	}

	boolean method11284(Class84 class84, long l) {
		if (((Class502) this).aLong6697 != ((Class502) this).aLong6696)
			method11282();
		else
			method11283();
		if (l - ((Class502) this).aLong6697 > 750L) {
			method11309();
			return false;
		}
		int i = (int) (l - ((Class502) this).aLong6696);
		if (((Class502) this).aBool6698) {
			Iterator iterator = ((Class502) this).aList6694.iterator();
			while (iterator.hasNext()) {
				Class487 class487 = (Class487) iterator.next();
				for (int i_0_ = 0; i_0_ < (((Class487) class487).aClass328_6591.anInt5162 * -1745945727); i_0_++)
					class487.method11069(class84, l, 1, !((Class502) this).aBool6693, 1681810935);
			}
			((Class502) this).aBool6698 = false;
		}
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11069(class84, l, i, !((Class502) this).aBool6693, 1681810935);
		}
		((Class502) this).aLong6696 = l;
		return true;
	}

	public static Class502 method11285(int i, boolean bool) {
		if (Class491.anInt6635 * -303046181 != Class491.anInt6632 * 1038240505) {
			Class502 class502 = Class117.aClass502Array1643[Class491.anInt6632 * 1038240505];
			Class491.anInt6632 = (Class491.anInt6632 * 1038240505 + 1 & (Class105.anIntArray1523[Class491.anInt6638 * -1406308259])) * 476993353;
			class502.method11304(i, bool);
			return class502;
		}
		return new Class502(i, bool);
	}

	public void method11286(Class84 class84, long l, Class102[] class102s, Class166[] class166s, boolean bool) {
		if (!aBool6699) {
			method11287(class84, class102s, bool);
			method11288(class166s, bool);
			((Class502) this).aLong6697 = l;
		}
	}

	void method11287(Class84 class84, Class102[] class102s, boolean bool) {
		for (int i = 0; i < 64; i++)
			aBoolArray6702[i] = false;
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while_99_: while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			if (class102s != null) {
				for (int i = 0; i < class102s.length; i++) {
					if (((Class487) class487).aClass102_6605 == class102s[i] || (((Class487) class487).aClass102_6605 == class102s[i].aClass102_1421)) {
						aBoolArray6702[i] = true;
						class487.method11068(165510415);
						((Class487) class487).aBool6597 = false;
						continue while_99_;
					}
				}
			}
			if (!bool) {
				if (((Class487) class487).anInt6606 * 1856449389 == 0) {
					iterator.remove();
					((Class502) this).anInt6695--;
				} else
					((Class487) class487).aBool6597 = true;
			}
		}
		if (class102s != null) {
			for (int i = 0; (i < class102s.length && i != 64 && ((Class502) this).anInt6695 != 64); i++) {
				if (!aBoolArray6702[i]) {
					Class487 class487 = new Class487(class84, class102s[i], this, ((Class502) this).aLong6697);
					((Class502) this).aList6694.add(class487);
					((Class502) this).anInt6695++;
					aBoolArray6702[i] = true;
				}
			}
		}
	}

	void method11288(Class166[] class166s, boolean bool) {
		for (int i = 0; i < 16; i++)
			aBoolArray6707[i] = false;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while_100_: while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if (class166s != null) {
				for (int i = 0; i < class166s.length; i++) {
					if ((((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i]) || (((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i].aClass166_2112)) {
						aBoolArray6707[i] = true;
						class587_sub3.method14107((byte) 52);
						continue while_100_;
					}
				}
			}
			if (!bool) {
				class587_sub3.method12749((byte) -71);
				((Class502) this).anInt6701--;
				if (class587_sub3.method12751((byte) -5)) {
					class587_sub3.method12749((byte) -86);
					Class491.anInt6639 -= 1459138237;
				}
			}
		}
		if (class166s != null) {
			for (int i = 0; (i < class166s.length && i != 16 && ((Class502) this).anInt6701 != 16); i++) {
				if (!aBoolArray6707[i]) {
					Class587_Sub3 class587_sub3 = null;
					if ((class166s[i].method3701(1701438460).anInt4728 * 760003617) == 1 && Class491.anInt6639 * 1835416725 < 32) {
						class587_sub3 = new Class587_Sub3(class166s[i], this);
						Class491.aClass445_6636.method8011(class587_sub3, (long) (class166s[i].anInt2110 * 652802009));
						Class491.anInt6639 += 1459138237;
					}
					if (class587_sub3 == null)
						class587_sub3 = new Class587_Sub3(class166s[i], this);
					((Class502) this).aList6692.add(class587_sub3);
					((Class502) this).anInt6701++;
					aBoolArray6707[i] = true;
				}
			}
		}
	}

	public Class160 method11289() {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) -71);
		for (int i = 0; i < ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706.length; i++) {
			if (((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] != null && (((Class243_Sub6_Sub1_Sub1) ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i]).aClass487_10859) != null)
				((Class502) this).aClass160_6705.aClass442_1885.method7950(((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i], (byte) 122);
		}
		return ((Class502) this).aClass160_6705;
	}

	public void method11290(int i, int i_1_, int i_2_, int i_3_, int i_4_) {
		((Class502) this).anInt6704 = i;
	}

	public void method11291(long l) {
		((Class502) this).aLong6697 = l;
	}

	public Class160 method11292() {
		return ((Class502) this).aClass160_6705;
	}

	public static Class502 method11293(int i, boolean bool) {
		if (Class491.anInt6635 * -303046181 != Class491.anInt6632 * 1038240505) {
			Class502 class502 = Class117.aClass502Array1643[Class491.anInt6632 * 1038240505];
			Class491.anInt6632 = (Class491.anInt6632 * 1038240505 + 1 & (Class105.anIntArray1523[Class491.anInt6638 * -1406308259])) * 476993353;
			class502.method11304(i, bool);
			return class502;
		}
		return new Class502(i, bool);
	}

	void method11294() {
		((Class502) this).aBool6693 = false;
	}

	void method11295(Class166[] class166s, boolean bool) {
		for (int i = 0; i < 16; i++)
			aBoolArray6707[i] = false;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while_101_: while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if (class166s != null) {
				for (int i = 0; i < class166s.length; i++) {
					if ((((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i]) || (((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i].aClass166_2112)) {
						aBoolArray6707[i] = true;
						class587_sub3.method14107((byte) 35);
						continue while_101_;
					}
				}
			}
			if (!bool) {
				class587_sub3.method12749((byte) 1);
				((Class502) this).anInt6701--;
				if (class587_sub3.method12751((byte) 4)) {
					class587_sub3.method12749((byte) 89);
					Class491.anInt6639 -= 1459138237;
				}
			}
		}
		if (class166s != null) {
			for (int i = 0; (i < class166s.length && i != 16 && ((Class502) this).anInt6701 != 16); i++) {
				if (!aBoolArray6707[i]) {
					Class587_Sub3 class587_sub3 = null;
					if ((class166s[i].method3701(1670866420).anInt4728 * 760003617) == 1 && Class491.anInt6639 * 1835416725 < 32) {
						class587_sub3 = new Class587_Sub3(class166s[i], this);
						Class491.aClass445_6636.method8011(class587_sub3, (long) (class166s[i].anInt2110 * 652802009));
						Class491.anInt6639 += 1459138237;
					}
					if (class587_sub3 == null)
						class587_sub3 = new Class587_Sub3(class166s[i], this);
					((Class502) this).aList6692.add(class587_sub3);
					((Class502) this).anInt6701++;
					aBoolArray6707[i] = true;
				}
			}
		}
	}

	public void method11296() {
		((Class502) this).aBool6698 = true;
	}

	public void method11297() {
		((Class502) this).aBool6698 = true;
	}

	public void method11298(long l) {
		((Class502) this).aLong6697 = l;
	}

	void method11299() {
		aBool6699 = true;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if ((((Class587_Sub3) class587_sub3).aClass316_8437.anInt4728 * 760003617) == 1)
				class587_sub3.method12749((byte) 73);
		}
		for (int i = 0; i < ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706.length; i++) {
			if (((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] != null) {
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i].method17193();
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] = null;
			}
		}
		((Class502) this).anInt6700 = 0;
		((Class502) this).aList6694 = new LinkedList();
		((Class502) this).anInt6695 = 0;
		((Class502) this).aList6692 = new LinkedList();
		((Class502) this).anInt6701 = 0;
	}

	void method11300(Class581 class581, Class84 class84) {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) -68);
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11070(class581, class84, ((Class502) this).aLong6696);
		}
	}

	public void method11301() {
		((Class502) this).aBool6693 = true;
	}

	public void method11302() {
		((Class502) this).aBool6693 = true;
	}

	boolean method11303(Class84 class84, long l) {
		if (((Class502) this).aLong6697 != ((Class502) this).aLong6696)
			method11282();
		else
			method11283();
		if (l - ((Class502) this).aLong6697 > 750L) {
			method11309();
			return false;
		}
		int i = (int) (l - ((Class502) this).aLong6696);
		if (((Class502) this).aBool6698) {
			Iterator iterator = ((Class502) this).aList6694.iterator();
			while (iterator.hasNext()) {
				Class487 class487 = (Class487) iterator.next();
				for (int i_5_ = 0; i_5_ < (((Class487) class487).aClass328_6591.anInt5162 * -1745945727); i_5_++)
					class487.method11069(class84, l, 1, !((Class502) this).aBool6693, 1681810935);
			}
			((Class502) this).aBool6698 = false;
		}
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11069(class84, l, i, !((Class502) this).aBool6693, 1681810935);
		}
		((Class502) this).aLong6696 = l;
		return true;
	}

	void method11304(int i, boolean bool) {
		Class491.aList6640.add(this);
		((Class502) this).aLong6697 = (long) i;
		((Class502) this).aLong6696 = (long) i;
		((Class502) this).aBool6698 = true;
		((Class502) this).aBool6703 = bool;
	}

	void method11305() {
		((Class502) this).aBool6693 = false;
	}

	boolean method11306(Class84 class84, long l) {
		if (((Class502) this).aLong6697 != ((Class502) this).aLong6696)
			method11282();
		else
			method11283();
		if (l - ((Class502) this).aLong6697 > 750L) {
			method11309();
			return false;
		}
		int i = (int) (l - ((Class502) this).aLong6696);
		if (((Class502) this).aBool6698) {
			Iterator iterator = ((Class502) this).aList6694.iterator();
			while (iterator.hasNext()) {
				Class487 class487 = (Class487) iterator.next();
				for (int i_6_ = 0; i_6_ < (((Class487) class487).aClass328_6591.anInt5162 * -1745945727); i_6_++)
					class487.method11069(class84, l, 1, !((Class502) this).aBool6693, 1681810935);
			}
			((Class502) this).aBool6698 = false;
		}
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11069(class84, l, i, !((Class502) this).aBool6693, 1681810935);
		}
		((Class502) this).aLong6696 = l;
		return true;
	}

	public static Class502 method11307(int i, boolean bool) {
		if (Class491.anInt6635 * -303046181 != Class491.anInt6632 * 1038240505) {
			Class502 class502 = Class117.aClass502Array1643[Class491.anInt6632 * 1038240505];
			Class491.anInt6632 = (Class491.anInt6632 * 1038240505 + 1 & (Class105.anIntArray1523[Class491.anInt6638 * -1406308259])) * 476993353;
			class502.method11304(i, bool);
			return class502;
		}
		return new Class502(i, bool);
	}

	boolean method11308(Class84 class84, long l) {
		if (((Class502) this).aLong6697 != ((Class502) this).aLong6696)
			method11282();
		else
			method11283();
		if (l - ((Class502) this).aLong6697 > 750L) {
			method11309();
			return false;
		}
		int i = (int) (l - ((Class502) this).aLong6696);
		if (((Class502) this).aBool6698) {
			Iterator iterator = ((Class502) this).aList6694.iterator();
			while (iterator.hasNext()) {
				Class487 class487 = (Class487) iterator.next();
				for (int i_7_ = 0; i_7_ < (((Class487) class487).aClass328_6591.anInt5162 * -1745945727); i_7_++)
					class487.method11069(class84, l, 1, !((Class502) this).aBool6693, 1681810935);
			}
			((Class502) this).aBool6698 = false;
		}
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11069(class84, l, i, !((Class502) this).aBool6693, 1681810935);
		}
		((Class502) this).aLong6696 = l;
		return true;
	}

	void method11309() {
		aBool6699 = true;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if ((((Class587_Sub3) class587_sub3).aClass316_8437.anInt4728 * 760003617) == 1)
				class587_sub3.method12749((byte) -13);
		}
		for (int i = 0; i < ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706.length; i++) {
			if (((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] != null) {
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i].method17193();
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] = null;
			}
		}
		((Class502) this).anInt6700 = 0;
		((Class502) this).aList6694 = new LinkedList();
		((Class502) this).anInt6695 = 0;
		((Class502) this).aList6692 = new LinkedList();
		((Class502) this).anInt6701 = 0;
	}

	public void method11310(int i, int i_8_, int i_9_, int i_10_, int i_11_) {
		((Class502) this).anInt6704 = i;
	}

	public void method11311(long l) {
		((Class502) this).aLong6697 = l;
	}

	public void method11312(Class84 class84, long l, Class102[] class102s, Class166[] class166s, boolean bool) {
		if (!aBool6699) {
			method11287(class84, class102s, bool);
			method11288(class166s, bool);
			((Class502) this).aLong6697 = l;
		}
	}

	public void method11313(Class84 class84, long l, Class102[] class102s, Class166[] class166s, boolean bool) {
		if (!aBool6699) {
			method11287(class84, class102s, bool);
			method11288(class166s, bool);
			((Class502) this).aLong6697 = l;
		}
	}

	void method11314(Class84 class84, Class102[] class102s, boolean bool) {
		for (int i = 0; i < 64; i++)
			aBoolArray6702[i] = false;
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while_102_: while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			if (class102s != null) {
				for (int i = 0; i < class102s.length; i++) {
					if (((Class487) class487).aClass102_6605 == class102s[i] || (((Class487) class487).aClass102_6605 == class102s[i].aClass102_1421)) {
						aBoolArray6702[i] = true;
						class487.method11068(-1836096650);
						((Class487) class487).aBool6597 = false;
						continue while_102_;
					}
				}
			}
			if (!bool) {
				if (((Class487) class487).anInt6606 * 1856449389 == 0) {
					iterator.remove();
					((Class502) this).anInt6695--;
				} else
					((Class487) class487).aBool6597 = true;
			}
		}
		if (class102s != null) {
			for (int i = 0; (i < class102s.length && i != 64 && ((Class502) this).anInt6695 != 64); i++) {
				if (!aBoolArray6702[i]) {
					Class487 class487 = new Class487(class84, class102s[i], this, ((Class502) this).aLong6697);
					((Class502) this).aList6694.add(class487);
					((Class502) this).anInt6695++;
					aBoolArray6702[i] = true;
				}
			}
		}
	}

	void method11315(Class84 class84, Class102[] class102s, boolean bool) {
		for (int i = 0; i < 64; i++)
			aBoolArray6702[i] = false;
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while_103_: while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			if (class102s != null) {
				for (int i = 0; i < class102s.length; i++) {
					if (((Class487) class487).aClass102_6605 == class102s[i] || (((Class487) class487).aClass102_6605 == class102s[i].aClass102_1421)) {
						aBoolArray6702[i] = true;
						class487.method11068(-1366114708);
						((Class487) class487).aBool6597 = false;
						continue while_103_;
					}
				}
			}
			if (!bool) {
				if (((Class487) class487).anInt6606 * 1856449389 == 0) {
					iterator.remove();
					((Class502) this).anInt6695--;
				} else
					((Class487) class487).aBool6597 = true;
			}
		}
		if (class102s != null) {
			for (int i = 0; (i < class102s.length && i != 64 && ((Class502) this).anInt6695 != 64); i++) {
				if (!aBoolArray6702[i]) {
					Class487 class487 = new Class487(class84, class102s[i], this, ((Class502) this).aLong6697);
					((Class502) this).aList6694.add(class487);
					((Class502) this).anInt6695++;
					aBoolArray6702[i] = true;
				}
			}
		}
	}

	void method11316(Class84 class84, Class102[] class102s, boolean bool) {
		for (int i = 0; i < 64; i++)
			aBoolArray6702[i] = false;
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while_104_: while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			if (class102s != null) {
				for (int i = 0; i < class102s.length; i++) {
					if (((Class487) class487).aClass102_6605 == class102s[i] || (((Class487) class487).aClass102_6605 == class102s[i].aClass102_1421)) {
						aBoolArray6702[i] = true;
						class487.method11068(-2127788633);
						((Class487) class487).aBool6597 = false;
						continue while_104_;
					}
				}
			}
			if (!bool) {
				if (((Class487) class487).anInt6606 * 1856449389 == 0) {
					iterator.remove();
					((Class502) this).anInt6695--;
				} else
					((Class487) class487).aBool6597 = true;
			}
		}
		if (class102s != null) {
			for (int i = 0; (i < class102s.length && i != 64 && ((Class502) this).anInt6695 != 64); i++) {
				if (!aBoolArray6702[i]) {
					Class487 class487 = new Class487(class84, class102s[i], this, ((Class502) this).aLong6697);
					((Class502) this).aList6694.add(class487);
					((Class502) this).anInt6695++;
					aBoolArray6702[i] = true;
				}
			}
		}
	}

	void method11317() {
		aBool6699 = true;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if ((((Class587_Sub3) class587_sub3).aClass316_8437.anInt4728 * 760003617) == 1)
				class587_sub3.method12749((byte) 26);
		}
		for (int i = 0; i < ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706.length; i++) {
			if (((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] != null) {
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i].method17193();
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] = null;
			}
		}
		((Class502) this).anInt6700 = 0;
		((Class502) this).aList6694 = new LinkedList();
		((Class502) this).anInt6695 = 0;
		((Class502) this).aList6692 = new LinkedList();
		((Class502) this).anInt6701 = 0;
	}

	void method11318(Class166[] class166s, boolean bool) {
		for (int i = 0; i < 16; i++)
			aBoolArray6707[i] = false;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while_105_: while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if (class166s != null) {
				for (int i = 0; i < class166s.length; i++) {
					if ((((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i]) || (((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i].aClass166_2112)) {
						aBoolArray6707[i] = true;
						class587_sub3.method14107((byte) 46);
						continue while_105_;
					}
				}
			}
			if (!bool) {
				class587_sub3.method12749((byte) -12);
				((Class502) this).anInt6701--;
				if (class587_sub3.method12751((byte) -114)) {
					class587_sub3.method12749((byte) 60);
					Class491.anInt6639 -= 1459138237;
				}
			}
		}
		if (class166s != null) {
			for (int i = 0; (i < class166s.length && i != 16 && ((Class502) this).anInt6701 != 16); i++) {
				if (!aBoolArray6707[i]) {
					Class587_Sub3 class587_sub3 = null;
					if ((class166s[i].method3701(1106292687).anInt4728 * 760003617) == 1 && Class491.anInt6639 * 1835416725 < 32) {
						class587_sub3 = new Class587_Sub3(class166s[i], this);
						Class491.aClass445_6636.method8011(class587_sub3, (long) (class166s[i].anInt2110 * 652802009));
						Class491.anInt6639 += 1459138237;
					}
					if (class587_sub3 == null)
						class587_sub3 = new Class587_Sub3(class166s[i], this);
					((Class502) this).aList6692.add(class587_sub3);
					((Class502) this).anInt6701++;
					aBoolArray6707[i] = true;
				}
			}
		}
	}

	void method11319(Class166[] class166s, boolean bool) {
		for (int i = 0; i < 16; i++)
			aBoolArray6707[i] = false;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while_106_: while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if (class166s != null) {
				for (int i = 0; i < class166s.length; i++) {
					if ((((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i]) || (((Class587_Sub3) class587_sub3).aClass166_8441 == class166s[i].aClass166_2112)) {
						aBoolArray6707[i] = true;
						class587_sub3.method14107((byte) 30);
						continue while_106_;
					}
				}
			}
			if (!bool) {
				class587_sub3.method12749((byte) -4);
				((Class502) this).anInt6701--;
				if (class587_sub3.method12751((byte) -120)) {
					class587_sub3.method12749((byte) -19);
					Class491.anInt6639 -= 1459138237;
				}
			}
		}
		if (class166s != null) {
			for (int i = 0; (i < class166s.length && i != 16 && ((Class502) this).anInt6701 != 16); i++) {
				if (!aBoolArray6707[i]) {
					Class587_Sub3 class587_sub3 = null;
					if ((class166s[i].method3701(1817155300).anInt4728 * 760003617) == 1 && Class491.anInt6639 * 1835416725 < 32) {
						class587_sub3 = new Class587_Sub3(class166s[i], this);
						Class491.aClass445_6636.method8011(class587_sub3, (long) (class166s[i].anInt2110 * 652802009));
						Class491.anInt6639 += 1459138237;
					}
					if (class587_sub3 == null)
						class587_sub3 = new Class587_Sub3(class166s[i], this);
					((Class502) this).aList6692.add(class587_sub3);
					((Class502) this).anInt6701++;
					aBoolArray6707[i] = true;
				}
			}
		}
	}

	void method11320(Class581 class581, Class84 class84) {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) -1);
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11070(class581, class84, ((Class502) this).aLong6696);
		}
	}

	public void method11321(int i, int i_12_, int i_13_, int i_14_, int i_15_) {
		((Class502) this).anInt6704 = i;
	}

	public void method11322(int i, int i_16_, int i_17_, int i_18_, int i_19_) {
		((Class502) this).anInt6704 = i;
	}

	public void method11323(int i, int i_20_, int i_21_, int i_22_, int i_23_) {
		((Class502) this).anInt6704 = i;
	}

	void method11324(Class581 class581, Class84 class84) {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) -26);
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11070(class581, class84, ((Class502) this).aLong6696);
		}
	}

	void method11325(int i, boolean bool) {
		Class491.aList6640.add(this);
		((Class502) this).aLong6697 = (long) i;
		((Class502) this).aLong6696 = (long) i;
		((Class502) this).aBool6698 = true;
		((Class502) this).aBool6703 = bool;
	}

	void method11326(Class581 class581, Class84 class84) {
		((Class502) this).aClass160_6705.aClass442_1885.method7958((byte) -15);
		Iterator iterator = ((Class502) this).aList6694.iterator();
		while (iterator.hasNext()) {
			Class487 class487 = (Class487) iterator.next();
			class487.method11070(class581, class84, ((Class502) this).aLong6696);
		}
	}

	void method11327() {
		aBool6699 = true;
		Iterator iterator = ((Class502) this).aList6692.iterator();
		while (iterator.hasNext()) {
			Class587_Sub3 class587_sub3 = (Class587_Sub3) iterator.next();
			if ((((Class587_Sub3) class587_sub3).aClass316_8437.anInt4728 * 760003617) == 1)
				class587_sub3.method12749((byte) 47);
		}
		for (int i = 0; i < ((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706.length; i++) {
			if (((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] != null) {
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i].method17193();
				((Class502) this).aClass243_Sub6_Sub1_Sub1Array6706[i] = null;
			}
		}
		((Class502) this).anInt6700 = 0;
		((Class502) this).aList6694 = new LinkedList();
		((Class502) this).anInt6695 = 0;
		((Class502) this).aList6692 = new LinkedList();
		((Class502) this).anInt6701 = 0;
	}

	public Class160 method11328() {
		return ((Class502) this).aClass160_6705;
	}
}
