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

public class Class481
{
    int anInt6639;
    int anInt6640;
    int[] anIntArray6641;
    boolean aBool6642;
    static int anInt6643 = 0;
    public Class134 aClass134_6644;
    LinkedList aLinkedList6645;
    int[] anIntArray6646;
    public static Class487_Sub29 aClass487_Sub29_6647;
    
    Class134 method5940(Class151 class151, int i) {
	Class139 class139
	    = Class139.method1926(Class566.aClass411_7605,
				  -127731785 * ((Class481) this).anInt6640, 0);
	if (null == class139)
	    return null;
	if (class139.anInt1586 < 13)
	    class139.method1913(2);
	return class151.method2249(class139, 2048, -1653386549 * anInt6643, 64,
				   768);
    }
    
    public Class481(Class151 class151, Class487_Sub17 class487_sub17, int i) {
	((Class481) this).anInt6640 = i * -854944249;
	((Class481) this).anInt6639
	    = class487_sub17.method9233((byte) 50) * -1534671337;
	((Class481) this).anIntArray6641
	    = new int[1409601959 * ((Class481) this).anInt6639];
	((Class481) this).anIntArray6646
	    = new int[1409601959 * ((Class481) this).anInt6639];
	int i_0_ = class487_sub17.method9220((byte) -114);
	int i_1_ = class487_sub17.method9220((byte) -74);
	for (int i_2_ = 0; i_2_ < ((Class481) this).anInt6639 * 1409601959;
	     i_2_++) {
	    ((Class481) this).anIntArray6641[i_2_]
		= i_0_ + class487_sub17.method9277(-1588717442);
	    ((Class481) this).anIntArray6646[i_2_]
		= i_1_ + class487_sub17.method9277(-1110530583);
	}
	aClass134_6644 = method5940(class151, 157003338);
    }
    
    public void method5941(Class502 class502, int i) {
	if (class502 != null && ((Class481) this).aLinkedList6645 != null) {
	    Iterator iterator = ((Class481) this).aLinkedList6645.iterator();
	    while (iterator.hasNext()) {
		Class590_Sub1_Sub5_Sub6 class590_sub1_sub5_sub6
		    = (Class590_Sub1_Sub5_Sub6) iterator.next();
		class502.method6160(class590_sub1_sub5_sub6.aByte10415,
				    class590_sub1_sub5_sub6.aShort11564,
				    class590_sub1_sub5_sub6.aShort11561,
				    new Class468(class590_sub1_sub5_sub6),
				    -1169792316);
	    }
	}
    }
    
    public boolean method5942() {
	return ((Class481) this).aBool6642;
    }
    
    public boolean method5943(Class151 class151, int i) {
	aClass134_6644 = method5940(class151, 157003338);
	return aClass134_6644 != null;
    }
    
    public void method5944(Class502 class502, int i) {
	if (null != class502 && ((Class481) this).anInt6639 * 1409601959 > 0) {
	    method5946(class502, (byte) 0);
	    Iterator iterator = ((Class481) this).aLinkedList6645.iterator();
	    while (iterator.hasNext()) {
		Class590_Sub1_Sub5_Sub6 class590_sub1_sub5_sub6
		    = (Class590_Sub1_Sub5_Sub6) iterator.next();
		class502.method6152(class590_sub1_sub5_sub6, false,
				    -1507743193);
	    }
	    ((Class481) this).aBool6642 = true;
	}
    }
    
    public void method5945(byte i) {
	((Class481) this).aBool6642 = false;
	aClass134_6644 = null;
    }
    
    void method5946(Class502 class502, byte i) {
	((Class481) this).aLinkedList6645 = new LinkedList();
	Class436 class436 = client.aClass452_10749.method5576((byte) 74);
	Class546 class546 = client.aClass452_10749.method5499((byte) 100);
	Class546 class546_3_
	    = new Class546(-705395661 * Class163_Sub11.anInt9637,
			   ((Class481) this).anIntArray6641[0],
			   ((Class481) this).anIntArray6646[0]);
	for (int i_4_ = 1; i_4_ < ((Class481) this).anInt6639 * 1409601959;
	     i_4_++) {
	    Class546 class546_5_
		= new Class546(Class163_Sub11.anInt9637 * -705395661,
			       ((Class481) this).anIntArray6641[i_4_],
			       ((Class481) this).anIntArray6646[i_4_]);
	    while ((-494362861 * class546_3_.anInt7397
		    != class546_5_.anInt7397 * -494362861)
		   || (class546_3_.anInt7398 * 1139830351
		       != 1139830351 * class546_5_.anInt7398)) {
		if (-494362861 * class546_3_.anInt7397
		    < -494362861 * class546_5_.anInt7397)
		    class546_3_.anInt7397 += -593624293;
		else if (-494362861 * class546_3_.anInt7397
			 > class546_5_.anInt7397 * -494362861)
		    class546_3_.anInt7397 -= -593624293;
		if (class546_3_.anInt7398 * 1139830351
		    < 1139830351 * class546_5_.anInt7398)
		    class546_3_.anInt7398 += 1950607535;
		else if (1139830351 * class546_3_.anInt7398
			 > 1139830351 * class546_5_.anInt7398)
		    class546_3_.anInt7398 -= 1950607535;
		int i_6_ = -705395661 * Class163_Sub11.anInt9637;
		int i_7_ = (class546_3_.anInt7397 * -494362861
			    - class546.anInt7397 * -494362861);
		int i_8_ = (class546_3_.anInt7398 * 1139830351
			    - 1139830351 * class546.anInt7398);
		if (i_7_ >= 0 && i_7_ < class502.anInt6862 * 24531685
		    && i_8_ >= 0 && i_8_ < 2034971837 * class502.anInt6901) {
		    int i_9_ = 256 + (i_7_ << 9);
		    int i_10_ = (i_8_ << 9) + 256;
		    if (class436.method5316(i_7_, i_8_, 1159687807))
			i_6_++;
		    ((Class481) this).aLinkedList6645.add
			(new Class590_Sub1_Sub5_Sub6
			 (class502, this,
			  -705395661 * Class163_Sub11.anInt9637, i_6_, i_9_,
			  Class341.method4355(i_9_, i_10_,
					      (-705395661
					       * Class163_Sub11.anInt9637),
					      -1748853547),
			  i_10_));
		}
	    }
	    class546_3_ = class546_5_;
	}
    }
    
    public void method5947() {
	((Class481) this).aBool6642 = false;
	aClass134_6644 = null;
    }
    
    public void method5948() {
	((Class481) this).aBool6642 = false;
	aClass134_6644 = null;
    }
    
    public void method5949() {
	((Class481) this).aBool6642 = false;
	aClass134_6644 = null;
    }
    
    public boolean method5950() {
	return ((Class481) this).aBool6642;
    }
    
    public boolean method5951() {
	return ((Class481) this).aBool6642;
    }
    
    public boolean method5952(byte i) {
	return ((Class481) this).aBool6642;
    }
    
    static final void method5953(Class612 class612, int i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	Class203 class203 = ((Class625) class625).aClass203_8100;
	Class649.method7700(class211, class203, class612, 1394902148);
    }
    
    public static int method5954(int i) {
	if ((double) Class497_Sub1.aFloat6786 == 2.0)
	    return 25;
	if (3.0 == (double) Class497_Sub1.aFloat6786)
	    return 37;
	if ((double) Class497_Sub1.aFloat6786 == 4.0)
	    return 50;
	if (6.0 == (double) Class497_Sub1.aFloat6786)
	    return 75;
	if ((double) Class497_Sub1.aFloat6786 == 8.0)
	    return 100;
	return 200;
    }
}
