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

public class Class605
{
    Class272 aClass272_7783;
    Class603[] aClass603Array7784;
    static final int anInt7785 = 0;
    int anInt7786;
    
    public Class607 method13133(int i, int i_0_) {
	byte[] is
	    = ((Class605) this).aClass272_7783.method5250(i, 0, 1454820128);
	Class607 class607 = new Class607();
	class607.method13158(new Class243_Sub10(is), 277130806);
	return class607;
    }
    
    Class603 method13134(int i, int i_1_, int i_2_) {
	if (((Class605) this).anInt7786 * -1585214255 == -1)
	    return new Class603(false, new Class604[0]);
	Class604 class604
	    = new Class604(((Class605) this).anInt7786 * -1585214255, i, i_1_);
	return new Class603(false, new Class604[] { class604 });
    }
    
    public boolean method13135() {
	return -1585214255 * ((Class605) this).anInt7786 != -1;
    }
    
    public Class607 method13136(int i) {
	byte[] is
	    = ((Class605) this).aClass272_7783.method5250(i, 0, 1870892607);
	Class607 class607 = new Class607();
	class607.method13158(new Class243_Sub10(is), -1591028700);
	return class607;
    }
    
    public boolean method13137(byte i) {
	return -1585214255 * ((Class605) this).anInt7786 != -1;
    }
    
    Class603 method13138(int i, int i_3_) {
	if (((Class605) this).anInt7786 * -1585214255 == -1)
	    return new Class603(false, new Class604[0]);
	Class604 class604
	    = new Class604(((Class605) this).anInt7786 * -1585214255, i, i_3_);
	return new Class603(false, new Class604[] { class604 });
    }
    
    Class603 method13139(int i, int i_4_) {
	if (((Class605) this).anInt7786 * -1585214255 == -1)
	    return new Class603(false, new Class604[0]);
	Class604 class604
	    = new Class604(((Class605) this).anInt7786 * -1585214255, i, i_4_);
	return new Class603(false, new Class604[] { class604 });
    }
    
    Class603 method13140(int i, int i_5_) {
	if (((Class605) this).anInt7786 * -1585214255 == -1)
	    return new Class603(false, new Class604[0]);
	Class604 class604
	    = new Class604(((Class605) this).anInt7786 * -1585214255, i, i_5_);
	return new Class603(false, new Class604[] { class604 });
    }
    
    public Class607 method13141(int i) {
	byte[] is
	    = ((Class605) this).aClass272_7783.method5250(i, 0, 1072356191);
	Class607 class607 = new Class607();
	class607.method13158(new Class243_Sub10(is), -154535463);
	return class607;
    }
    
    public boolean method13142() {
	return -1585214255 * ((Class605) this).anInt7786 != -1;
    }
    
    public Class605(Class447 class447, Class457 class457, Class272 class272) {
	((Class605) this).aClass272_7783 = class272;
	Class243_Sub10 class243_sub10
	    = new Class243_Sub10(((Class605) this).aClass272_7783
				     .method5250(0, 0, -725950169));
	int i = ((null == class243_sub10.aByteArray8691
		  || class243_sub10.aByteArray8691.length < 1)
		 ? -1 : class243_sub10.method14878((byte) 12));
	if (i < 4) {
	    ((Class605) this).aClass603Array7784 = new Class603[0];
	    ((Class605) this).anInt7786 = 1195094991;
	} else {
	    int i_6_ = class243_sub10.method14878((byte) 76);
	    Class307[] class307s = Class471.method8405(-2089382762);
	    boolean bool = true;
	    if (i_6_ != class307s.length)
		bool = false;
	    else {
		for (int i_7_ = 0; i_7_ < class307s.length; i_7_++) {
		    int i_8_ = class243_sub10.method14878((byte) -21);
		    if (i_8_ != 1345086179 * class307s[i_7_].anInt4567) {
			bool = false;
			break;
		    }
		}
	    }
	    if (bool) {
		int i_9_ = class243_sub10.method14878((byte) -72);
		int i_10_ = class243_sub10.method14878((byte) -81);
		int i_11_;
		int i_12_;
		if (i > 2) {
		    ((Class605) this).anInt7786
			= class243_sub10.method14642(1883164833) * -1195094991;
		    i_11_ = class243_sub10.method14665((byte) -80);
		    i_12_ = class243_sub10.method14908((byte) -108);
		} else {
		    ((Class605) this).anInt7786 = 1195094991;
		    i_11_ = 0;
		    i_12_ = 0;
		}
		((Class605) this).aClass603Array7784 = new Class603[1 + i_10_];
		for (int i_13_ = 0; i_13_ < i_9_; i_13_++) {
		    int i_14_ = class243_sub10.method14878((byte) 62);
		    boolean bool_15_
			= class243_sub10.method14878((byte) -14) == 1;
		    int i_16_ = class243_sub10.method14908((byte) -94);
		    Class604[] class604s;
		    if (-1585214255 * ((Class605) this).anInt7786 == -1) {
			class604s = new Class604[i_16_];
			for (int i_17_ = 0; i_17_ < i_16_; i_17_++) {
			    int i_18_ = class243_sub10.method14908((byte) -91);
			    int i_19_ = class243_sub10.method14665((byte) 64);
			    int i_20_ = class243_sub10.method14908((byte) -38);
			    class604s[i_17_]
				= new Class604(i_18_, i_19_, i_20_);
			}
			((Class605) this).aClass603Array7784[i_14_]
			    = new Class603(bool_15_, class604s);
		    } else {
			class604s = new Class604[i_16_ + 1];
			class604s[0]
			    = new Class604((-1585214255
					    * ((Class605) this).anInt7786),
					   i_11_, i_12_);
			for (int i_21_ = 0; i_21_ < i_16_; i_21_++) {
			    int i_22_ = class243_sub10.method14908((byte) -23);
			    int i_23_ = class243_sub10.method14665((byte) -22);
			    int i_24_ = class243_sub10.method14908((byte) -51);
			    class604s[1 + i_21_]
				= new Class604(i_22_, i_23_, i_24_);
			}
		    }
		    ((Class605) this).aClass603Array7784[i_14_]
			= new Class603(bool_15_, class604s);
		}
		for (int i_25_ = 0; i_25_ < 1 + i_10_; i_25_++) {
		    if (null == ((Class605) this).aClass603Array7784[i_25_])
			((Class605) this).aClass603Array7784[i_25_]
			    = method13134(i_11_, i_12_, 1702663155);
		}
	    } else {
		((Class605) this).aClass603Array7784 = new Class603[0];
		((Class605) this).anInt7786 = 1195094991;
	    }
	}
    }
    
    public Class604[] method13143(int i) {
	if (i < 0 || i >= ((Class605) this).aClass603Array7784.length)
	    return (((Class603) method13134(0, 0, 1702663155))
		    .aClass604Array7779);
	Class603 class603 = ((Class605) this).aClass603Array7784[i];
	if (!((Class603) class603).aBool7778
	    || ((Class603) class603).aClass604Array7779.length <= 1)
	    return ((Class603) class603).aClass604Array7779;
	int i_26_ = -1 == -1585214255 * ((Class605) this).anInt7786 ? 0 : 1;
	Random random = new Random();
	Class604[] class604s
	    = new Class604[((Class603) class603).aClass604Array7779.length];
	System.arraycopy(((Class603) class603).aClass604Array7779, 0,
			 class604s, 0, class604s.length);
	for (int i_27_ = i_26_; i_27_ < class604s.length; i_27_++) {
	    int i_28_ = (Class508.method11525(random, class604s.length - i_26_,
					      (byte) 32)
			 + i_26_);
	    Class604 class604
		= ((Class603) class603).aClass604Array7779[i_27_];
	    class604s[i_27_] = class604s[i_28_];
	    class604s[i_28_] = class604;
	}
	return class604s;
    }
    
    public Class604[] method13144(int i) {
	if (i < 0 || i >= ((Class605) this).aClass603Array7784.length)
	    return (((Class603) method13134(0, 0, 1702663155))
		    .aClass604Array7779);
	Class603 class603 = ((Class605) this).aClass603Array7784[i];
	if (!((Class603) class603).aBool7778
	    || ((Class603) class603).aClass604Array7779.length <= 1)
	    return ((Class603) class603).aClass604Array7779;
	int i_29_ = -1 == -1585214255 * ((Class605) this).anInt7786 ? 0 : 1;
	Random random = new Random();
	Class604[] class604s
	    = new Class604[((Class603) class603).aClass604Array7779.length];
	System.arraycopy(((Class603) class603).aClass604Array7779, 0,
			 class604s, 0, class604s.length);
	for (int i_30_ = i_29_; i_30_ < class604s.length; i_30_++) {
	    int i_31_ = (Class508.method11525(random, class604s.length - i_29_,
					      (byte) 32)
			 + i_29_);
	    Class604 class604
		= ((Class603) class603).aClass604Array7779[i_30_];
	    class604s[i_30_] = class604s[i_31_];
	    class604s[i_31_] = class604;
	}
	return class604s;
    }
    
    public Class604[] method13145(int i, int i_32_) {
	if (i < 0 || i >= ((Class605) this).aClass603Array7784.length)
	    return (((Class603) method13134(0, 0, 1702663155))
		    .aClass604Array7779);
	Class603 class603 = ((Class605) this).aClass603Array7784[i];
	if (!((Class603) class603).aBool7778
	    || ((Class603) class603).aClass604Array7779.length <= 1)
	    return ((Class603) class603).aClass604Array7779;
	int i_33_ = -1 == -1585214255 * ((Class605) this).anInt7786 ? 0 : 1;
	Random random = new Random();
	Class604[] class604s
	    = new Class604[((Class603) class603).aClass604Array7779.length];
	System.arraycopy(((Class603) class603).aClass604Array7779, 0,
			 class604s, 0, class604s.length);
	for (int i_34_ = i_33_; i_34_ < class604s.length; i_34_++) {
	    int i_35_ = (Class508.method11525(random, class604s.length - i_33_,
					      (byte) 32)
			 + i_33_);
	    Class604 class604
		= ((Class603) class603).aClass604Array7779[i_34_];
	    class604s[i_34_] = class604s[i_35_];
	    class604s[i_35_] = class604;
	}
	return class604s;
    }
    
    public Class607 method13146(int i) {
	byte[] is
	    = ((Class605) this).aClass272_7783.method5250(i, 0, 799685147);
	Class607 class607 = new Class607();
	class607.method13158(new Class243_Sub10(is), -1529572249);
	return class607;
    }
    
    public boolean method13147() {
	return -1585214255 * ((Class605) this).anInt7786 != -1;
    }
    
    public static void method13148(int i) {
	Class304_Sub1.method16556(14, (byte) -30);
	Class160.method3714((byte) 37);
	System.gc();
    }
    
    public static void method13149(int i) {
	Class414 class414
	    = Class18.method663("2", client.aClass447_8200.aString6235, true,
				(byte) 61);
	Class333.aClass134_Sub1_5239.method16053(class414, (byte) 0);
    }
    
    static void method13150(int i, int i_36_, int i_37_) {
	Class243_Sub11_Sub11 class243_sub11_sub11
	    = Class482.method11048(16, (long) i);
	class243_sub11_sub11.method17274((byte) -37);
	((Class243_Sub11_Sub11) class243_sub11_sub11).anInt10783
	    = i_36_ * -1872934943;
    }
}
