/* Class602 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Component;
import java.util.Random;

public class Class602 {
	Class279 aClass279_7781;
	static final int anInt7782 = 0;
	Class596[] aClass596Array7783;
	int anInt7784;

	public boolean method12920() {
		return -1 != -1316661735 * ((Class602) this).anInt7784;
	}

	Class596 method12921(int i, int i_0_, int i_1_) {
		if (-1 == -1316661735 * ((Class602) this).anInt7784)
			return new Class596(false, new Class605[0]);
		Class605 class605 = new Class605(-1316661735 * ((Class602) this).anInt7784, i, i_0_);
		return new Class596(false, new Class605[] { class605 });
	}

	public Class604 method12922(int i, int i_2_) {
		byte[] is = ((Class602) this).aClass279_7781.method5578(i, 0, 2056040577);
		Class604 class604 = new Class604();
		class604.method12938(new Class587_Sub4(is), (short) 11021);
		return class604;
	}

	public Class602(Class467 class467, Class469 class469, Class279 class279) {
		((Class602) this).aClass279_7781 = class279;
		Class587_Sub4 class587_sub4 = new Class587_Sub4(((Class602) this).aClass279_7781.method5578(0, 0, 2001600379));
		int i = ((class587_sub4.aByteArray8460 == null || class587_sub4.aByteArray8460.length < 1) ? -1 : class587_sub4.method14349(-1130636365));
		if (i < 4) {
			((Class602) this).aClass596Array7783 = new Class596[0];
			((Class602) this).anInt7784 = 92690903;
		} else {
			int i_3_ = class587_sub4.method14349(-1130636365);
			Class302[] class302s = Class171_Sub2.method15388(-1230632972);
			boolean bool = true;
			if (i_3_ != class302s.length)
				bool = false;
			else {
				for (int i_4_ = 0; i_4_ < class302s.length; i_4_++) {
					int i_5_ = class587_sub4.method14349(-1130636365);
					if (class302s[i_4_].anInt4596 * -523734193 != i_5_) {
						bool = false;
						break;
					}
				}
			}
			if (bool) {
				int i_6_ = class587_sub4.method14349(-1130636365);
				int i_7_ = class587_sub4.method14349(-1130636365);
				int i_8_;
				int i_9_;
				if (i > 2) {
					((Class602) this).anInt7784 = class587_sub4.method14198((byte) 0) * -92690903;
					i_8_ = class587_sub4.method14203((short) 1502);
					i_9_ = class587_sub4.method14191((byte) -117);
				} else {
					((Class602) this).anInt7784 = 92690903;
					i_8_ = 0;
					i_9_ = 0;
				}
				((Class602) this).aClass596Array7783 = new Class596[1 + i_7_];
				for (int i_10_ = 0; i_10_ < i_6_; i_10_++) {
					int i_11_ = class587_sub4.method14349(-1130636365);
					boolean bool_12_ = class587_sub4.method14349(-1130636365) == 1;
					int i_13_ = class587_sub4.method14191((byte) -108);
					Class605[] class605s;
					if (-1316661735 * ((Class602) this).anInt7784 == -1) {
						class605s = new Class605[i_13_];
						for (int i_14_ = 0; i_14_ < i_13_; i_14_++) {
							int i_15_ = class587_sub4.method14191((byte) -5);
							int i_16_ = class587_sub4.method14203((short) 9580);
							int i_17_ = class587_sub4.method14191((byte) -22);
							class605s[i_14_] = new Class605(i_15_, i_16_, i_17_);
						}
						((Class602) this).aClass596Array7783[i_11_] = new Class596(bool_12_, class605s);
					} else {
						class605s = new Class605[i_13_ + 1];
						class605s[0] = new Class605((((Class602) this).anInt7784 * -1316661735), i_8_, i_9_);
						for (int i_18_ = 0; i_18_ < i_13_; i_18_++) {
							int i_19_ = class587_sub4.method14191((byte) -86);
							int i_20_ = class587_sub4.method14203((short) 31074);
							int i_21_ = class587_sub4.method14191((byte) -31);
							class605s[i_18_ + 1] = new Class605(i_19_, i_20_, i_21_);
						}
					}
					((Class602) this).aClass596Array7783[i_11_] = new Class596(bool_12_, class605s);
				}
				for (int i_22_ = 0; i_22_ < 1 + i_7_; i_22_++) {
					if (null == ((Class602) this).aClass596Array7783[i_22_])
						((Class602) this).aClass596Array7783[i_22_] = method12921(i_8_, i_9_, -560204333);
				}
			} else {
				((Class602) this).aClass596Array7783 = new Class596[0];
				((Class602) this).anInt7784 = 92690903;
			}
		}
	}

	Class596 method12923(int i, int i_23_) {
		if (-1 == -1316661735 * ((Class602) this).anInt7784)
			return new Class596(false, new Class605[0]);
		Class605 class605 = new Class605(-1316661735 * ((Class602) this).anInt7784, i, i_23_);
		return new Class596(false, new Class605[] { class605 });
	}

	Class596 method12924(int i, int i_24_) {
		if (-1 == -1316661735 * ((Class602) this).anInt7784)
			return new Class596(false, new Class605[0]);
		Class605 class605 = new Class605(-1316661735 * ((Class602) this).anInt7784, i, i_24_);
		return new Class596(false, new Class605[] { class605 });
	}

	Class596 method12925(int i, int i_25_) {
		if (-1 == -1316661735 * ((Class602) this).anInt7784)
			return new Class596(false, new Class605[0]);
		Class605 class605 = new Class605(-1316661735 * ((Class602) this).anInt7784, i, i_25_);
		return new Class596(false, new Class605[] { class605 });
	}

	public boolean method12926(byte i) {
		return -1 != -1316661735 * ((Class602) this).anInt7784;
	}

	public Class605[] method12927(int i) {
		if (i < 0 || i >= ((Class602) this).aClass596Array7783.length)
			return (((Class596) method12921(0, 0, -265829879)).aClass605Array7728);
		Class596 class596 = ((Class602) this).aClass596Array7783[i];
		if (!((Class596) class596).aBool7729 || ((Class596) class596).aClass605Array7728.length <= 1)
			return ((Class596) class596).aClass605Array7728;
		int i_26_ = -1 == -1316661735 * ((Class602) this).anInt7784 ? 0 : 1;
		Random random = new Random();
		Class605[] class605s = new Class605[((Class596) class596).aClass605Array7728.length];
		System.arraycopy(((Class596) class596).aClass605Array7728, 0, class605s, 0, class605s.length);
		for (int i_27_ = i_26_; i_27_ < class605s.length; i_27_++) {
			int i_28_ = (Class352.method6657(random, class605s.length - i_26_, (byte) 1) + i_26_);
			Class605 class605 = ((Class596) class596).aClass605Array7728[i_27_];
			class605s[i_27_] = class605s[i_28_];
			class605s[i_28_] = class605;
		}
		return class605s;
	}

	public Class605[] method12928(int i, int i_29_) {
		if (i < 0 || i >= ((Class602) this).aClass596Array7783.length)
			return (((Class596) method12921(0, 0, -107495723)).aClass605Array7728);
		Class596 class596 = ((Class602) this).aClass596Array7783[i];
		if (!((Class596) class596).aBool7729 || ((Class596) class596).aClass605Array7728.length <= 1)
			return ((Class596) class596).aClass605Array7728;
		int i_30_ = -1 == -1316661735 * ((Class602) this).anInt7784 ? 0 : 1;
		Random random = new Random();
		Class605[] class605s = new Class605[((Class596) class596).aClass605Array7728.length];
		System.arraycopy(((Class596) class596).aClass605Array7728, 0, class605s, 0, class605s.length);
		for (int i_31_ = i_30_; i_31_ < class605s.length; i_31_++) {
			int i_32_ = (Class352.method6657(random, class605s.length - i_30_, (byte) 1) + i_30_);
			Class605 class605 = ((Class596) class596).aClass605Array7728[i_31_];
			class605s[i_31_] = class605s[i_32_];
			class605s[i_32_] = class605;
		}
		return class605s;
	}

	public Class605[] method12929(int i) {
		if (i < 0 || i >= ((Class602) this).aClass596Array7783.length)
			return (((Class596) method12921(0, 0, -1039270861)).aClass605Array7728);
		Class596 class596 = ((Class602) this).aClass596Array7783[i];
		if (!((Class596) class596).aBool7729 || ((Class596) class596).aClass605Array7728.length <= 1)
			return ((Class596) class596).aClass605Array7728;
		int i_33_ = -1 == -1316661735 * ((Class602) this).anInt7784 ? 0 : 1;
		Random random = new Random();
		Class605[] class605s = new Class605[((Class596) class596).aClass605Array7728.length];
		System.arraycopy(((Class596) class596).aClass605Array7728, 0, class605s, 0, class605s.length);
		for (int i_34_ = i_33_; i_34_ < class605s.length; i_34_++) {
			int i_35_ = (Class352.method6657(random, class605s.length - i_33_, (byte) 1) + i_33_);
			Class605 class605 = ((Class596) class596).aClass605Array7728[i_34_];
			class605s[i_34_] = class605s[i_35_];
			class605s[i_35_] = class605;
		}
		return class605s;
	}

	public boolean method12930() {
		return -1 != -1316661735 * ((Class602) this).anInt7784;
	}

	public static Class569 method12931(Component component, boolean bool, byte i) {
		return new Class569_Sub1(component, bool);
	}
}
