/* Class36 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;

public class Class36
{
    static final int anInt452 = 10;
    static final int anInt453 = 1;
    LinkedHashMap aLinkedHashMap454 = new LinkedHashMap();
    public static int anInt455;
    
    void method792(long l, int i) {
	if (((Class36) this).aLinkedHashMap454.size() >= 10
	    && !((Class36) this).aLinkedHashMap454
		    .containsKey(Long.valueOf(l))) {
	    Iterator iterator
		= ((Class36) this).aLinkedHashMap454.entrySet().iterator();
	    iterator.next();
	    iterator.remove();
	}
	((Class36) this).aLinkedHashMap454.put(Long.valueOf(l),
					       Integer.valueOf(i));
	method796(-971043368);
    }
    
    Class36(Class487_Sub17 class487_sub17) {
	if (null != class487_sub17 && null != class487_sub17.aByteArray10193) {
	    int i = class487_sub17.method9219(-1955367416);
	    if (i > 0 && i <= 1) {
		int i_0_ = class487_sub17.method9219(-2130887617);
		for (int i_1_ = 0; i_1_ < i_0_; i_1_++) {
		    long l = class487_sub17.method9272((byte) -88);
		    int i_2_ = class487_sub17.method9224((byte) -106);
		    ((Class36) this).aLinkedHashMap454
			.put(Long.valueOf(l), Integer.valueOf(i_2_));
		}
	    }
	}
    }
    
    void method793(Class487_Sub17 class487_sub17, byte i) {
	class487_sub17.method9201(1, (byte) 57);
	class487_sub17.method9201(((Class36) this).aLinkedHashMap454.size(),
				  (byte) 24);
	Iterator iterator
	    = ((Class36) this).aLinkedHashMap454.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    class487_sub17.method9257(((Long) entry.getKey()).longValue());
	    class487_sub17.method9286(((Integer) entry.getValue()).intValue(),
				      (byte) -107);
	}
    }
    
    boolean method794(long l) {
	return ((Class36) this).aLinkedHashMap454.containsKey(Long.valueOf(l));
    }
    
    int method795(long l) {
	return ((Integer)
		((Class36) this).aLinkedHashMap454.get(Long.valueOf(l)))
		   .intValue();
    }
    
    void method796(int i) {
	Class668 class668 = null;
	do {
	    try {
		try {
		    class668 = Class155.method2506("3",
						   (client.aClass616_10944
						    .aString8059),
						   true, -1024006975);
		    Class487_Sub17 class487_sub17 = new Class487_Sub17(5000);
		    method793(class487_sub17, (byte) -111);
		    class668.method7972(class487_sub17.aByteArray10193, 0,
					(-1980757211
					 * class487_sub17.anInt10192),
					-905227893);
		} catch (Exception exception) {
		    try {
			if (class668 != null)
			    class668.method7973(-1818083424);
		    } catch (Exception exception_3_) {
			exception = exception_3_;
		    }
		    break;
		}
		try {
		    if (class668 != null)
			class668.method7973(-1963916942);
		} catch (Exception exception) {
		    /* empty */
		}
	    } catch (Exception exception) {
		try {
		    if (class668 != null)
			class668.method7973(-1633356843);
		} catch (Exception exception1) {
		    /* empty */
		}
		throw exception;
	    }
	} while (false);
    }
    
    void method797() {
	Class668 class668 = null;
	do {
	    try {
		try {
		    class668 = Class155.method2506("3",
						   (client.aClass616_10944
						    .aString8059),
						   true, -1664448018);
		    Class487_Sub17 class487_sub17 = new Class487_Sub17(5000);
		    method793(class487_sub17, (byte) 83);
		    class668.method7972(class487_sub17.aByteArray10193, 0,
					(-1980757211
					 * class487_sub17.anInt10192),
					-1718865617);
		} catch (Exception exception) {
		    try {
			if (class668 != null)
			    class668.method7973(-1839333983);
		    } catch (Exception exception_4_) {
			exception = exception_4_;
		    }
		    break;
		}
		try {
		    if (class668 != null)
			class668.method7973(-1966912658);
		} catch (Exception exception) {
		    /* empty */
		}
	    } catch (Exception exception) {
		try {
		    if (class668 != null)
			class668.method7973(-1852519407);
		} catch (Exception exception1) {
		    /* empty */
		}
		throw exception;
	    }
	} while (false);
    }
    
    void method798(Class487_Sub17 class487_sub17) {
	class487_sub17.method9201(1, (byte) 21);
	class487_sub17.method9201(((Class36) this).aLinkedHashMap454.size(),
				  (byte) 93);
	Iterator iterator
	    = ((Class36) this).aLinkedHashMap454.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    class487_sub17.method9257(((Long) entry.getKey()).longValue());
	    class487_sub17.method9286(((Integer) entry.getValue()).intValue(),
				      (byte) -121);
	}
    }
    
    void method799(long l, int i, int i_5_) {
	if (((Class36) this).aLinkedHashMap454.size() >= 10
	    && !((Class36) this).aLinkedHashMap454
		    .containsKey(Long.valueOf(l))) {
	    Iterator iterator
		= ((Class36) this).aLinkedHashMap454.entrySet().iterator();
	    iterator.next();
	    iterator.remove();
	}
	((Class36) this).aLinkedHashMap454.put(Long.valueOf(l),
					       Integer.valueOf(i));
	method796(431834859);
    }
    
    Class36() {
	this(null);
    }
    
    void method800() {
	Class668 class668 = null;
	do {
	    try {
		try {
		    class668 = Class155.method2506("3",
						   (client.aClass616_10944
						    .aString8059),
						   true, -84829459);
		    Class487_Sub17 class487_sub17 = new Class487_Sub17(5000);
		    method793(class487_sub17, (byte) 15);
		    class668.method7972(class487_sub17.aByteArray10193, 0,
					(-1980757211
					 * class487_sub17.anInt10192),
					-467893468);
		} catch (Exception exception) {
		    try {
			if (class668 != null)
			    class668.method7973(-2001595728);
		    } catch (Exception exception_6_) {
			exception = exception_6_;
		    }
		    break;
		}
		try {
		    if (class668 != null)
			class668.method7973(-2084543759);
		} catch (Exception exception) {
		    /* empty */
		}
	    } catch (Exception exception) {
		try {
		    if (class668 != null)
			class668.method7973(-1781801515);
		} catch (Exception exception1) {
		    /* empty */
		}
		throw exception;
	    }
	} while (false);
    }
    
    static final byte[] method801(byte[] is, int i) {
	Class487_Sub17 class487_sub17 = new Class487_Sub17(is);
	Class426 class426 = new Class426(class487_sub17);
	Class433 class433 = class426.method5200(-1435571006);
	int i_7_ = class426.method5201(-961377039);
	if (i_7_ < 0 || (355764223 * Class411.anInt4639 != 0
			 && i_7_ > Class411.anInt4639 * 355764223))
	    throw new RuntimeException();
	if (Class433.aClass433_5023 == class433) {
	    byte[] is_8_ = new byte[i_7_];
	    class487_sub17.method9232(is_8_, 0, i_7_, -295004028);
	    return is_8_;
	}
	int i_9_ = class426.method5202(1693025757);
	if (i_9_ < 0 || (0 != Class411.anInt4639 * 355764223
			 && i_9_ > Class411.anInt4639 * 355764223))
	    throw new RuntimeException();
	byte[] is_10_ = new byte[i_9_];
	if (class433 == Class433.aClass433_5026)
	    Class650.method7707(is_10_, i_9_, is, i_7_, 9);
	else {
	    synchronized (Class411.aClass46_4631) {
		Class411.aClass46_4631.method878(class487_sub17, is_10_,
						 (byte) -55);
	    }
	}
	return is_10_;
    }
    
    static final void method802(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;
	Class351.method4435(class211, class203, class612, 1588078635);
    }
    
    static final void method803(Class612 class612, int i) {
	int i_11_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	String string = (String) (((Class612) class612).anObjectArray8034
				  [(((Class612) class612).anInt8017
				    -= 1516150619) * -1930397485]);
	if (-1 == i_11_)
	    throw new RuntimeException();
	Class660 class660
	    = ((Class660)
	       Class163_Sub2.aClass662_Sub17_9098.method31(i_11_, -981534850));
	if (class660.aClass422_8404 != Class422.aClass422_4721)
	    throw new RuntimeException();
	int[] is = class660.method7870(string, (byte) -101);
	int i_12_ = 0;
	if (null != is)
	    i_12_ = is.length;
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = i_12_;
    }
    
    static final void method804(Class612 class612, byte i) {
	Class127.method1659(-1485548680);
    }
    
    static Class672 method805(Class487_Sub17 class487_sub17,
			      Class67_Sub1 class67_sub1, byte i) {
	Class672 class672 = new Class672(class67_sub1);
	for (;;) {
	    int i_13_ = class487_sub17.method9219(-2127932917);
	    if (i_13_ == 255)
		break;
	    Class443 class443
		= ((Class443)
		   Class465.method5723(Class443.class, i_13_, -90990684));
	    for (;;) {
		int i_14_ = class487_sub17.method9219(-867006664);
		if (255 == i_14_)
		    break;
		class487_sub17.anInt10192 -= 850991277;
		Class389 class389
		    = class67_sub1.method8105(class487_sub17, class443,
					      (byte) -1);
		if (null != class389)
		    class672.method471(class389.anInt4520 * -377780785,
				       class389.anObject4519, (byte) 31);
	    }
	}
	return class672;
    }
    
    static final void method806(Class612 class612, byte i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = (((Class612) class612).anIntArray8041
	       [1776597551 * ((Class612) class612).anInt8026]);
    }
    
    static void method807(byte i) {
	Class24.aClass65_341.method1054(-549518133);
	((Class65) Class24.aClass65_341).aClass487_Sub17_Sub2_941.anInt10192
	    = 0;
	((Class65) Class24.aClass65_341).aClass384_951 = null;
	((Class65) Class24.aClass65_341).aClass384_938 = null;
	((Class65) Class24.aClass65_341).aClass384_956 = null;
	((Class65) Class24.aClass65_341).anInt955 = 0;
	client.anInt10703 = 0;
	Class199.method2972((byte) 1);
	client.anInt10973 = 0;
	client.anInt10972 = 0;
	client.anInt10977 = 0;
	client.aString10947 = null;
	Class249.anInt2949 = 0;
	Class450.aClass83Array5164 = null;
	Class662_Sub6.aClass290_10621 = null;
	Class213.aClass290_2439 = null;
	Class446.method5464((byte) 50);
	for (int i_15_ = 0;
	     (i_15_
	      < ((Class69) Class452.aClass69_5208).aClass560Array973.length);
	     i_15_++) {
	    Class560 class560
		= new Class560(Class83.aClass573_1193.method6999(i_15_,
								 -114748671),
			       false);
	    class560.method6792(0, 2028517169);
	    class560.method6788(0, 1430436113);
	    ((Class69) Class452.aClass69_5208).aClass560Array973[i_15_]
		= class560;
	}
	Class452.aClass69_5208.aClass554_974.method6741((byte) -120);
	Class448.method5482(-277137931);
	Class487_Sub22.method9349(Class24.aClass65_341, -645761047);
    }
}
