/* Class134 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Dimension;

public class Class134 implements Interface13
{
    public Interface46 anInterface46_1636;
    
    public Object method76(Class168 class168) {
	return anInterface46_1636.method340(class168.anInt2119 * -2070231395,
					    (byte) 87);
    }
    
    public Class134(Class195_Sub2 class195_sub2) {
	this(class195_sub2, new Class413(class195_sub2));
    }
    
    public int method65(Class168 class168, int i) {
	return anInterface46_1636.method331(class168.anInt2119 * -2070231395,
					    -1691046913);
    }
    
    public void method80(Class168 class168, int i) {
	anInterface46_1636.method330(class168.anInt2119 * -2070231395, i,
				     23090418);
    }
    
    public long method74(Class168 class168, int i) {
	return anInterface46_1636.method338(class168.anInt2119 * -2070231395,
					    (short) 20887);
    }
    
    public void method71(Class168 class168, long l) {
	anInterface46_1636.method332(-2070231395 * class168.anInt2119, l);
    }
    
    public Object method72(Class168 class168, byte i) {
	return anInterface46_1636.method340(class168.anInt2119 * -2070231395,
					    (byte) 41);
    }
    
    public void method73(Class168 class168, Object object, byte i) {
	anInterface46_1636.method334(class168.anInt2119 * -2070231395, object,
				     (byte) 90);
    }
    
    Class134(Class195_Sub2 class195_sub2, Class413 class413) {
	anInterface46_1636 = class413;
    }
    
    public void method83(Class168 class168, int i, int i_0_) {
	anInterface46_1636.method330(class168.anInt2119 * -2070231395, i,
				     1583176722);
    }
    
    public int method70(Class340 class340) {
	return class340.method6413(method65(class340.aClass168_5335,
					    -300755124),
				   (byte) 81);
    }
    
    public void method86(Class340 class340, int i) throws Exception_Sub1 {
	method83(class340.aClass168_5335,
		 class340.method6409(method65(class340.aClass168_5335,
					      -1847148266),
				     i, (byte) -87),
		 -394509601);
    }
    
    public int method68(Class340 class340) {
	return class340.method6413(method65(class340.aClass168_5335,
					    1007949568),
				   (byte) 91);
    }
    
    public void method82(Class168 class168, long l) {
	anInterface46_1636.method332(-2070231395 * class168.anInt2119, l);
    }
    
    public int method69(Class340 class340, int i) {
	return class340.method6413(method65(class340.aClass168_5335,
					    -2120554923),
				   (byte) 81);
    }
    
    public void method88(Class168 class168, int i) {
	anInterface46_1636.method330(class168.anInt2119 * -2070231395, i,
				     -1438069678);
    }
    
    public void method79(Class168 class168, int i) {
	anInterface46_1636.method330(class168.anInt2119 * -2070231395, i,
				     370260266);
    }
    
    public int method66(Class168 class168) {
	return anInterface46_1636.method331(class168.anInt2119 * -2070231395,
					    -1691046913);
    }
    
    public void method87(Class340 class340, int i) throws Exception_Sub1 {
	method83(class340.aClass168_5335,
		 class340.method6409(method65(class340.aClass168_5335,
					      682446333),
				     i, (byte) -49),
		 387808581);
    }
    
    public Object method84(Class168 class168) {
	return anInterface46_1636.method340(class168.anInt2119 * -2070231395,
					    (byte) -17);
    }
    
    public void method77(Class168 class168, Object object) {
	anInterface46_1636.method334(class168.anInt2119 * -2070231395, object,
				     (byte) 103);
    }
    
    public void method85(Class168 class168, Object object) {
	anInterface46_1636.method334(class168.anInt2119 * -2070231395, object,
				     (byte) -5);
    }
    
    public void method78(Class340 class340, int i, int i_1_)
	throws Exception_Sub1 {
	method83(class340.aClass168_5335,
		 class340.method6409(method65(class340.aClass168_5335,
					      233519050),
				     i, (byte) -93),
		 1802017249);
    }
    
    public int method67(Class168 class168) {
	return anInterface46_1636.method331(class168.anInt2119 * -2070231395,
					    -1691046913);
    }
    
    public long method75(Class168 class168) {
	return anInterface46_1636.method338(class168.anInt2119 * -2070231395,
					    (short) 2854);
    }
    
    public long method81(Class168 class168) {
	return anInterface46_1636.method338(class168.anInt2119 * -2070231395,
					    (short) 28369);
    }
    
    static final void method3338(Class479 class479, int i) {
	if (Class362.aClass576_5515.method12698(81, -117934955))
	    ((Class479) class479).anIntArray6435
		[((((Class479) class479).anInt6442 += -1158629699) * -117934955
		  - 1)]
		= 1;
	else
	    ((Class479) class479).anIntArray6435
		[((((Class479) class479).anInt6442 += -1158629699) * -117934955
		  - 1)]
		= 0;
    }
    
    static final void method3339(Class479 class479, int i) {
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = Class423.method7641(-414731045) ? 1 : 0;
    }
    
    public static int method3340(int i, int i_2_, int i_3_) {
	if (Class514.aClass506_6791.anInt6725 * -1148931225 == -1)
	    return 1;
	if (i != Class612.aClass243_Sub7_7837.aClass421_Sub25_8631
		     .method14423(-1169092782)) {
	    Class243_Sub17.method14956
		(i,
		 Class400.aClass400_5886.method7264(client.aClass457_8110,
						    (byte) 9),
		 true, -1349277905);
	    if (Class612.aClass243_Sub7_7837.aClass421_Sub25_8631
		    .method14423(-485541861)
		!= i)
		return -1;
	}
	int i_4_;
	try {
	    Dimension dimension = Class631.aCanvas8104.getSize();
	    Class542.method11984
		(Class400.aClass400_5886.method7264(client.aClass457_8110,
						    (byte) 9),
		 true, Class455.aClass87_6287, Class23.aClass99_259,
		 Class167.aClass622_2117, 1599305220);
	    Class98 class98
		= Class98.method2595(Class456.aClass272_6290,
				     (Class514.aClass506_6791.anInt6725
				      * -1148931225),
				     0);
	    long l = Class46.method1238(1591399650);
	    Class455.aClass87_6287.method2112();
	    client.aClass350_8164.method6598(0.0F, 256.0F, 0.0F);
	    Class455.aClass87_6287.method2320(client.aClass350_8164);
	    Class276 class276 = Class455.aClass87_6287.method2154();
	    class276.method5470((float) (dimension.width / 2),
				(float) (dimension.height / 2), 512.0F, 512.0F,
				(float) client.aClass234_8188
					    .method4686(630489934),
				(float) client.aClass234_8188
					    .method4767(-1947302352),
				(float) dimension.width,
				(float) dimension.height);
	    Class455.aClass87_6287.method2166(class276);
	    Class455.aClass87_6287.method2311(1.0F);
	    Class455.aClass87_6287.method2169(16777215, 0.5F, 0.5F, 20.0F,
					      -50.0F, 30.0F);
	    Class86 class86 = Class455.aClass87_6287.method2157(class98, 2048,
								64, 64, 768);
	    int i_5_ = 0;
	while_132_:
	    for (int i_6_ = 0; i_6_ < 500; i_6_++) {
		Class455.aClass87_6287.method2117(3, 0);
		for (int i_7_ = 15; i_7_ >= 0; i_7_--) {
		    for (int i_8_ = 0; i_8_ <= i_7_; i_8_++) {
			client.aClass350_8154.method6598
			    ((float) (int) (((float) i_8_
					     - (float) i_7_ / 2.0F)
					    * 512.0F),
			     0.0F, (float) (512 * (i_7_ + 1)));
			class86.method1904(client.aClass350_8154, null, 0);
			i_5_++;
			if (Class46.method1238(1802902864) - l >= (long) i_2_)
			    break while_132_;
		    }
		}
	    }
	    Class455.aClass87_6287.method2078();
	    long l_9_
		= (long) (1000 * i_5_) / (Class46.method1238(-203181316) - l);
	    Class455.aClass87_6287.method2117(3, 0);
	    i_4_ = (int) l_9_;
	} catch (Throwable throwable) {
	    throwable.printStackTrace();
	    return -1;
	}
	return i_4_;
    }
    
    public static void method3341(byte i) {
	Class117.aClass132_1366.method3292(1537249763);
	Class117.aClass132_1369.method3292(1537249763);
	Class117.aClass132_1367.method3292(1537249763);
	Class117.aClass132_1368.method3292(1537249763);
    }
    
    public static void method3342(int i) {
	Class58.aMap787.clear();
	Class58.aClass431_784.method7749((byte) 72);
	Class58.aClass442_785.method7889(1987719197);
	Class58.anInt786 = 0;
    }
}
