/* Class554 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public final class Class554 implements Interface15
{
    static final long aLong7509 = 4611686018427387904L;
    int[] anIntArray7510;
    static final long aLong7511 = 4611686018427387903L;
    static final long aLong7512 = 500L;
    int[] anIntArray7513;
    static final long aLong7514 = 1L;
    Class666 aClass666_7515 = new Class666(128);
    
    public int method6740(boolean bool, int i) {
	long l = Class222.method3225(1948828959);
	for (Class487_Sub15 class487_sub15
		 = ((Class487_Sub15)
		    (bool
		     ? ((Class554) this).aClass666_7515.method7938((byte) -111)
		     : ((Class554) this).aClass666_7515
			   .method7927(292963226)));
	     null != class487_sub15;
	     class487_sub15 = (Class487_Sub15) ((Class554) this)
						   .aClass666_7515
						   .method7927(292963226)) {
	    if ((7772136693711754197L * class487_sub15.aLong10178
		 & 0x3fffffffffffffffL)
		< l) {
		if (0L != (class487_sub15.aLong10178 * 7772136693711754197L
			   & 0x4000000000000000L)) {
		    int i_0_ = (int) (-2329590788501447949L
				      * class487_sub15.aLong6694);
		    ((Class554) this).anIntArray7510[i_0_]
			= ((Class554) this).anIntArray7513[i_0_];
		    class487_sub15.method5995((short) -4893);
		    return i_0_;
		}
		class487_sub15.method5995((short) -31234);
	    }
	}
	return -1;
    }
    
    public void method6741(byte i) {
	for (int i_1_ = 0;
	     i_1_ < Class365.aClass67_Sub1_Sub2_3995.method28((byte) 74);
	     i_1_++) {
	    Class122_Sub2 class122_sub2
		= ((Class122_Sub2)
		   Class365.aClass67_Sub1_Sub2_3995.method31(i_1_,
							     1211338197));
	    if (null != class122_sub2) {
		((Class554) this).anIntArray7513[i_1_] = 0;
		((Class554) this).anIntArray7510[i_1_] = 0;
	    }
	}
	((Class554) this).aClass666_7515 = new Class666(128);
    }
    
    public int method52(Class122 class122, int i) {
	return (((Class554) this).anIntArray7510
		[498910371 * class122.anInt1480]);
    }
    
    public void method63(Class122 class122, Object object, int i) {
	throw new UnsupportedOperationException();
    }
    
    public void method66(Class122 class122, int i, int i_2_) {
	((Class554) this).anIntArray7510[class122.anInt1480 * 498910371] = i;
	Class487_Sub15 class487_sub15
	    = ((Class487_Sub15)
	       ((Class554) this).aClass666_7515
		   .method7918((long) (class122.anInt1480 * 498910371)));
	if (null != class487_sub15)
	    class487_sub15.aLong10178 = (Class222.method3225(1677595258)
					 + 500L) * -6953864440203915907L;
	else {
	    class487_sub15
		= new Class487_Sub15(Class222.method3225(1644605401) + 500L);
	    ((Class554) this).aClass666_7515.method7922(class487_sub15,
							(long) ((class122
								 .anInt1480)
								* 498910371));
	}
    }
    
    public void method74(Class284 class284, int i, int i_3_)
	throws Exception_Sub3 {
	int i_4_ = class284.method3856((((Class554) this).anIntArray7510
					[498910371 * (class284.aClass122_3269
						      .anInt1480)]),
				       i, (byte) 96);
	method66(class284.aClass122_3269, i_4_, -839451748);
    }
    
    public void method6742(Class284 class284, int i, byte i_5_) {
	try {
	    int i_6_
		= class284.method3856((((Class554) this).anIntArray7513
				       [498910371 * (class284.aClass122_3269
						     .anInt1480)]),
				      i, (byte) 53);
	    method6743(class284.aClass122_3269, i_6_, -1551215015);
	} catch (Exception_Sub3 exception_sub3) {
	    /* empty */
	}
    }
    
    public void method6743(Class122 class122, int i, int i_7_) {
	((Class554) this).anIntArray7513[498910371 * class122.anInt1480] = i;
	Class487_Sub15 class487_sub15
	    = ((Class487_Sub15)
	       ((Class554) this).aClass666_7515
		   .method7918((long) (class122.anInt1480 * 498910371)));
	if (class487_sub15 != null) {
	    if (4611686018427387905L
		!= 7772136693711754197L * class487_sub15.aLong10178)
		class487_sub15.aLong10178
		    = (Class222.method3225(1800044955) + 500L
		       | 0x4000000000000000L) * -6953864440203915907L;
	} else {
	    class487_sub15 = new Class487_Sub15(4611686018427387905L);
	    ((Class554) this).aClass666_7515.method7922(class487_sub15,
							(long) ((class122
								 .anInt1480)
								* 498910371));
	}
    }
    
    public void method62(Class122 class122, long l) {
	throw new UnsupportedOperationException();
    }
    
    public Object method70(Class122 class122, short i) {
	throw new UnsupportedOperationException();
    }
    
    public void method60(Class284 class284, int i) throws Exception_Sub3 {
	int i_8_ = class284.method3856((((Class554) this).anIntArray7510
					[498910371 * (class284.aClass122_3269
						      .anInt1480)]),
				       i, (byte) 100);
	method66(class284.aClass122_3269, i_8_, 1803801900);
    }
    
    public int method51(Class122 class122) {
	return (((Class554) this).anIntArray7510
		[498910371 * class122.anInt1480]);
    }
    
    public int method54(Class284 class284) {
	return class284.method3854((((Class554) this).anIntArray7510
				    [(class284.aClass122_3269.anInt1480
				      * 498910371)]),
				   (byte) 4);
    }
    
    public void method65(Class122 class122, int i) {
	((Class554) this).anIntArray7510[class122.anInt1480 * 498910371] = i;
	Class487_Sub15 class487_sub15
	    = ((Class487_Sub15)
	       ((Class554) this).aClass666_7515
		   .method7918((long) (class122.anInt1480 * 498910371)));
	if (null != class487_sub15)
	    class487_sub15.aLong10178 = (Class222.method3225(2057858298)
					 + 500L) * -6953864440203915907L;
	else {
	    class487_sub15
		= new Class487_Sub15(Class222.method3225(1562465596) + 500L);
	    ((Class554) this).aClass666_7515.method7922(class487_sub15,
							(long) ((class122
								 .anInt1480)
								* 498910371));
	}
    }
    
    public long method68(Class122 class122) {
	throw new UnsupportedOperationException();
    }
    
    public Class554() {
	((Class554) this).anIntArray7513
	    = new int[Class365.aClass67_Sub1_Sub2_3995.method28((byte) 53)];
	((Class554) this).anIntArray7510
	    = new int[Class365.aClass67_Sub1_Sub2_3995.method28((byte) 97)];
    }
    
    public Object method64(Class122 class122) {
	throw new UnsupportedOperationException();
    }
    
    public Object method71(Class122 class122) {
	throw new UnsupportedOperationException();
    }
    
    public void method75(Class122 class122, long l) {
	throw new UnsupportedOperationException();
    }
    
    public long method61(Class122 class122, int i) {
	throw new UnsupportedOperationException();
    }
    
    public void method73(Class284 class284, int i) throws Exception_Sub3 {
	int i_9_ = class284.method3856((((Class554) this).anIntArray7510
					[498910371 * (class284.aClass122_3269
						      .anInt1480)]),
				       i, (byte) 104);
	method66(class284.aClass122_3269, i_9_, -946040390);
    }
    
    public void method67(Class284 class284, int i) throws Exception_Sub3 {
	int i_10_ = class284.method3856((((Class554) this).anIntArray7510
					 [498910371 * (class284.aClass122_3269
						       .anInt1480)]),
					i, (byte) 121);
	method66(class284.aClass122_3269, i_10_, 1589372615);
    }
    
    public void method76(Class122 class122, long l) {
	throw new UnsupportedOperationException();
    }
    
    public void method77(Class122 class122, Object object) {
	throw new UnsupportedOperationException();
    }
    
    public void method78(Class122 class122, Object object) {
	throw new UnsupportedOperationException();
    }
    
    public int method53(Class284 class284, byte i) {
	return class284.method3854((((Class554) this).anIntArray7510
				    [(class284.aClass122_3269.anInt1480
				      * 498910371)]),
				   (byte) 4);
    }
    
    public long method69(Class122 class122) {
	throw new UnsupportedOperationException();
    }
    
    public Object method72(Class122 class122) {
	throw new UnsupportedOperationException();
    }
    
    static final void method6744(Class612 class612, byte i) {
	((Class612) class612).anInt8022 -= 201091009;
    }
    
    public static void method6745
	(float f, Class396 class396, Class414 class414, Class396 class396_11_,
	 Class396 class396_12_, Class396 class396_13_, Class396 class396_14_,
	 float f_15_, float f_16_, float f_17_, float f_18_, byte i) {
	if (!class396_11_.method4737(class396)) {
	    Class396 class396_19_ = Class396.method4730(0.0F, 0.0F, 0.0F);
	    Class396 class396_20_
		= Class396.method4731(Class396.method4743(class396_11_,
							  class396));
	    class396_20_.method4753(class414);
	    Class396 class396_21_
		= Class396.method4743(class396_20_, class396_19_);
	    float f_22_ = class396_21_.method4746();
	    if (f_15_ > 0.0F) {
		class396_13_ = Class396.method4731(class396_13_);
		class396_13_.method4750(f_16_ * (f_22_ / f_15_));
	    }
	    if (class396_13_.aFloat4545 == Float.POSITIVE_INFINITY
		|| Float.isNaN(class396.aFloat4545) || f_22_ > f_17_
		|| f_22_ < f_18_) {
		class396.method4735(class396_11_);
		class396_12_.method4780();
	    } else {
		class414.method5066();
		Class396 class396_23_ = Class396.method4730(1.0F, 0.0F, 0.0F);
		Class396 class396_24_ = Class396.method4730(0.0F, 1.0F, 0.0F);
		Class396 class396_25_ = Class396.method4730(0.0F, 0.0F, 1.0F);
		class396_23_.method4753(class414);
		class396_24_.method4753(class414);
		class396_25_.method4753(class414);
		Class396 class396_26_
		    = Class396.method4730(Class396.method4734(class396_23_,
							      class396_12_),
					  Class396.method4734(class396_24_,
							      class396_12_),
					  Class396.method4734(class396_25_,
							      class396_12_));
		Class396 class396_27_ = Class396.method4731(class396_26_);
		class396_27_.method4747();
		Class396 class396_28_
		    = Class396.method4766(Class396.method4749(class396_27_,
							      class396_27_),
					  Class396.method4738(class396_13_,
							      2.0F));
		Class396 class396_29_ = Class396.method4731(class396_21_);
		class396_29_.method4747();
		Class396 class396_30_ = Class396.method4731(class396_26_);
		if (class396_28_.aFloat4545 > class396_29_.aFloat4545) {
		    if (class396_21_.aFloat4545 < 0.0F) {
			class396_30_.aFloat4545 += f * class396_13_.aFloat4545;
			if (class396_30_.aFloat4545 > 0.0F)
			    class396_30_.aFloat4545 = 0.0F;
		    } else {
			class396_30_.aFloat4545 -= f * class396_13_.aFloat4545;
			if (class396_30_.aFloat4545 < 0.0F)
			    class396_30_.aFloat4545 = 0.0F;
		    }
		} else if (class396_27_.aFloat4545 < class396_14_.aFloat4545) {
		    if (class396_21_.aFloat4545 < 0.0F) {
			class396_30_.aFloat4545 -= class396_13_.aFloat4545 * f;
			if (class396_30_.aFloat4545 < -class396_14_.aFloat4545)
			    class396_30_.aFloat4545 = -class396_14_.aFloat4545;
		    } else {
			class396_30_.aFloat4545 += class396_13_.aFloat4545 * f;
			if (class396_30_.aFloat4545 > class396_14_.aFloat4545)
			    class396_30_.aFloat4545 = class396_14_.aFloat4545;
		    }
		}
		if (class396_28_.aFloat4542 > class396_29_.aFloat4542) {
		    if (class396_21_.aFloat4542 < 0.0F) {
			class396_30_.aFloat4542 += class396_13_.aFloat4542 * f;
			if (class396_30_.aFloat4542 > 0.0F)
			    class396_30_.aFloat4542 = 0.0F;
		    } else {
			class396_30_.aFloat4542 -= f * class396_13_.aFloat4542;
			if (class396_30_.aFloat4542 < 0.0F)
			    class396_30_.aFloat4542 = 0.0F;
		    }
		} else if (class396_27_.aFloat4542 < class396_14_.aFloat4542) {
		    if (class396_21_.aFloat4542 < 0.0F) {
			class396_30_.aFloat4542 -= class396_13_.aFloat4542 * f;
			if (class396_30_.aFloat4542 < -class396_14_.aFloat4542)
			    class396_30_.aFloat4542 = -class396_14_.aFloat4542;
		    } else {
			class396_30_.aFloat4542 += class396_13_.aFloat4542 * f;
			if (class396_30_.aFloat4542 > class396_14_.aFloat4542)
			    class396_30_.aFloat4542 = class396_14_.aFloat4542;
		    }
		}
		if (class396_28_.aFloat4547 > class396_29_.aFloat4547) {
		    if (class396_21_.aFloat4547 < 0.0F) {
			class396_30_.aFloat4547 += f * class396_13_.aFloat4547;
			if (class396_30_.aFloat4547 > 0.0F)
			    class396_30_.aFloat4547 = 0.0F;
		    } else {
			class396_30_.aFloat4547 -= f * class396_13_.aFloat4547;
			if (class396_30_.aFloat4547 < 0.0F)
			    class396_30_.aFloat4547 = 0.0F;
		    }
		} else if (class396_27_.aFloat4547 < class396_14_.aFloat4547) {
		    if (class396_21_.aFloat4547 < 0.0F) {
			class396_30_.aFloat4547 -= f * class396_13_.aFloat4547;
			if (class396_30_.aFloat4547 < -class396_14_.aFloat4547)
			    class396_30_.aFloat4547 = -class396_14_.aFloat4547;
		    } else {
			class396_30_.aFloat4547 += f * class396_13_.aFloat4547;
			if (class396_30_.aFloat4547 > class396_14_.aFloat4547)
			    class396_30_.aFloat4547 = class396_14_.aFloat4547;
		    }
		}
		Class396 class396_31_
		    = Class396.method4738(class396_23_,
					  class396_30_.aFloat4545);
		class396_31_.method4740(class396_24_, class396_30_.aFloat4542);
		class396_31_.method4740(class396_25_, class396_30_.aFloat4547);
		class396_12_.method4756(class396_31_, 0.8F);
		class396.method4739(Class396.method4738(class396_12_, f));
		class396_27_.method4785();
		class396_30_.method4785();
		class396_29_.method4785();
	    }
	}
    }
}
