/* Class178 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.HashMap;
import java.util.Iterator;

class Class178 implements Runnable {
	Class310_Sub2 this$0;
	public static Class279 aClass279_2163;

	public void method3836() {
		try {
			while (!((Class310_Sub2) ((Class178) this).this$0).aBool9980) {
				HashMap hashmap = ((Class178) this).this$0.method16191(-618089464);
				Iterator iterator = hashmap.keySet().iterator();
				while (iterator.hasNext()) {
					Class215 class215 = (Class215) iterator.next();
					if (!class215.aBool2580) {
						Class205[] class205s = (Class205[]) hashmap.get(class215);
						for (int i = 0; i < class205s.length; i++)
							class205s[i].method4242((byte) -1);
					}
				}
				Class489.method11114(50L);
			}
		} catch (Exception exception) {
			Class423.method7676(null, exception, 850184135);
		}
	}

	Class178(Class310_Sub2 class310_sub2) {
		((Class178) this).this$0 = class310_sub2;
	}

	public void run() {
		try {
			while (!((Class310_Sub2) ((Class178) this).this$0).aBool9980) {
				HashMap hashmap = ((Class178) this).this$0.method16191(817274550);
				Iterator iterator = hashmap.keySet().iterator();
				while (iterator.hasNext()) {
					Class215 class215 = (Class215) iterator.next();
					if (!class215.aBool2580) {
						Class205[] class205s = (Class205[]) hashmap.get(class215);
						for (int i = 0; i < class205s.length; i++)
							class205s[i].method4242((byte) -17);
					}
				}
				Class489.method11114(50L);
			}
		} catch (Exception exception) {
			Class423.method7676(null, exception, -1791625913);
		}
	}

	public void method3837() {
		try {
			while (!((Class310_Sub2) ((Class178) this).this$0).aBool9980) {
				HashMap hashmap = ((Class178) this).this$0.method16191(413077219);
				Iterator iterator = hashmap.keySet().iterator();
				while (iterator.hasNext()) {
					Class215 class215 = (Class215) iterator.next();
					if (!class215.aBool2580) {
						Class205[] class205s = (Class205[]) hashmap.get(class215);
						for (int i = 0; i < class205s.length; i++)
							class205s[i].method4242((byte) 20);
					}
				}
				Class489.method11114(50L);
			}
		} catch (Exception exception) {
			Class423.method7676(null, exception, 1283261928);
		}
	}

	static final void method3838(Class477 class477, byte i) {
		Class480 class480 = (((Class477) class477).aBool6510 ? ((Class477) class477).aClass480_6506 : ((Class477) class477).aClass480_6492);
		Class35 class35 = ((Class480) class480).aClass35_6531;
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = -1078121329 * class35.anInt493;
	}

	static int method3839(CharSequence charsequence, int i, boolean bool, int i_0_) {
		if (i < 2 || i > 36)
			throw new IllegalArgumentException(new StringBuilder().append("").append(i).toString());
		boolean bool_1_ = false;
		boolean bool_2_ = false;
		int i_3_ = 0;
		int i_4_ = charsequence.length();
		for (int i_5_ = 0; i_5_ < i_4_; i_5_++) {
			int i_6_ = charsequence.charAt(i_5_);
			if (i_5_ == 0) {
				if (i_6_ == 45) {
					bool_1_ = true;
					continue;
				}
				if (43 == i_6_ && bool)
					continue;
			}
			if (i_6_ >= 48 && i_6_ <= 57)
				i_6_ -= 48;
			else if (i_6_ >= 65 && i_6_ <= 90)
				i_6_ -= 55;
			else if (i_6_ >= 97 && i_6_ <= 122)
				i_6_ -= 87;
			else
				throw new NumberFormatException();
			if (i_6_ >= i)
				throw new NumberFormatException();
			if (bool_1_)
				i_6_ = -i_6_;
			int i_7_ = i_3_ * i + i_6_;
			if (i_3_ != i_7_ / i)
				throw new NumberFormatException();
			i_3_ = i_7_;
			bool_2_ = true;
		}
		if (!bool_2_)
			throw new NumberFormatException();
		return i_3_;
	}
}
