/* Class401 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class Class401
{
    HashMap aHashMap5932;
    public char aChar5933;
    public char aChar5934;
    int anInt5935;
    Map aMap5936;
    Object[] anObjectArray5937;
    int anInt5938;
    String aString5939 = "null";
    
    Object method7270(int i) {
	if (null != ((Class401) this).anObjectArray5937) {
	    if (i < 0 || i >= ((Class401) this).anObjectArray5937.length)
		return null;
	    return ((Class401) this).anObjectArray5937[i];
	}
	if (null != ((Class401) this).aMap5936)
	    return ((Class401) this).aMap5936.get(new Integer(i));
	return null;
    }
    
    public int[] method7271(Object object) {
	if (-1448514331 * ((Class401) this).anInt5938 == 0)
	    return null;
	if (((Class401) this).aHashMap5932 == null)
	    method7278(141566285);
	return (int[]) ((Class401) this).aHashMap5932.get(object);
    }
    
    void method7272(Class243_Sub10 class243_sub10, int i, byte i_0_) {
	if (1 == i)
	    aChar5934
		= Class160.method3712(class243_sub10.method14766(126215893),
				      (short) 28190);
	else if (2 == i)
	    aChar5933
		= Class160.method3712(class243_sub10.method14766(126215893),
				      (short) -4909);
	else if (i == 3)
	    ((Class401) this).aString5939
		= class243_sub10.method14697(1703023179);
	else if (i == 4)
	    ((Class401) this).anInt5935
		= class243_sub10.method14843(1982889855) * -1555997549;
	else if (5 == i || i == 6) {
	    ((Class401) this).anInt5938
		= class243_sub10.method14908((byte) -6) * 240808173;
	    ((Class401) this).aMap5936
		= new HashMap(((Class401) this).anInt5938 * -1448514331);
	    for (int i_1_ = 0;
		 i_1_ < ((Class401) this).anInt5938 * -1448514331; i_1_++) {
		int i_2_ = class243_sub10.method14843(1461715572);
		java.io.Serializable serializable;
		if (5 == i)
		    serializable = class243_sub10.method14697(1703023179);
		else
		    serializable
			= new Integer(class243_sub10.method14843(1930213709));
		((Class401) this).aMap5936.put(new Integer(i_2_),
					       serializable);
	    }
	} else if (i == 7 || 8 == i) {
	    int i_3_ = class243_sub10.method14908((byte) -107);
	    ((Class401) this).anInt5938
		= class243_sub10.method14908((byte) -30) * 240808173;
	    ((Class401) this).anObjectArray5937 = new Object[i_3_];
	    for (int i_4_ = 0;
		 i_4_ < -1448514331 * ((Class401) this).anInt5938; i_4_++) {
		int i_5_ = class243_sub10.method14908((byte) -74);
		if (7 == i)
		    ((Class401) this).anObjectArray5937[i_5_]
			= class243_sub10.method14697(1703023179);
		else
		    ((Class401) this).anObjectArray5937[i_5_]
			= new Integer(class243_sub10.method14843(1301168880));
	    }
	}
    }
    
    void method7273(Class243_Sub10 class243_sub10) {
	for (;;) {
	    int i = class243_sub10.method14878((byte) 49);
	    if (0 == i)
		break;
	    method7272(class243_sub10, i, (byte) 22);
	}
    }
    
    public int method7274() {
	return -1448514331 * ((Class401) this).anInt5938;
    }
    
    Object method7275(int i, int i_6_) {
	if (null != ((Class401) this).anObjectArray5937) {
	    if (i < 0 || i >= ((Class401) this).anObjectArray5937.length)
		return null;
	    return ((Class401) this).anObjectArray5937[i];
	}
	if (null != ((Class401) this).aMap5936)
	    return ((Class401) this).aMap5936.get(new Integer(i));
	return null;
    }
    
    Class401() {
	((Class401) this).anInt5938 = 0;
    }
    
    public int[] method7276(Object object, byte i) {
	if (-1448514331 * ((Class401) this).anInt5938 == 0)
	    return null;
	if (((Class401) this).aHashMap5932 == null)
	    method7278(-1993303278);
	return (int[]) ((Class401) this).aHashMap5932.get(object);
    }
    
    public int method7277(byte i) {
	return -1448514331 * ((Class401) this).anInt5938;
    }
    
    void method7278(int i) {
	HashMap hashmap = new HashMap();
	if (null != ((Class401) this).anObjectArray5937) {
	    for (int i_7_ = 0;
		 i_7_ < ((Class401) this).anObjectArray5937.length; i_7_++) {
		if (((Class401) this).anObjectArray5937[i_7_] != null) {
		    Object object = ((Class401) this).anObjectArray5937[i_7_];
		    List list = (List) hashmap.get(object);
		    if (null == list) {
			list = new LinkedList();
			hashmap.put(object, list);
		    }
		    list.add(new Integer(i_7_));
		}
	    }
	} else if (null != ((Class401) this).aMap5936) {
	    Iterator iterator
		= ((Class401) this).aMap5936.entrySet().iterator();
	    while (iterator.hasNext()) {
		Map.Entry entry = (Map.Entry) iterator.next();
		Object object = entry.getValue();
		List list = (List) hashmap.get(object);
		if (list == null) {
		    list = new LinkedList();
		    hashmap.put(object, list);
		}
		list.add(entry.getKey());
	    }
	} else
	    throw new IllegalStateException();
	((Class401) this).aHashMap5932 = new HashMap();
	Iterator iterator = hashmap.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    List list = (List) entry.getValue();
	    int[] is = new int[list.size()];
	    int i_8_ = 0;
	    Iterator iterator_9_ = list.iterator();
	    while (iterator_9_.hasNext()) {
		Integer integer = (Integer) iterator_9_.next();
		is[i_8_++] = integer.intValue();
	    }
	    if (null == ((Class401) this).anObjectArray5937)
		Arrays.sort(is);
	    ((Class401) this).aHashMap5932.put(entry.getKey(), is);
	}
    }
    
    void method7279(Class243_Sub10 class243_sub10, int i) {
	for (;;) {
	    int i_10_ = class243_sub10.method14878((byte) 23);
	    if (0 == i_10_)
		break;
	    method7272(class243_sub10, i_10_, (byte) -63);
	}
    }
    
    void method7280(Class243_Sub10 class243_sub10) {
	for (;;) {
	    int i = class243_sub10.method14878((byte) 66);
	    if (0 == i)
		break;
	    method7272(class243_sub10, i, (byte) 50);
	}
    }
    
    void method7281(Class243_Sub10 class243_sub10) {
	for (;;) {
	    int i = class243_sub10.method14878((byte) -7);
	    if (0 == i)
		break;
	    method7272(class243_sub10, i, (byte) -47);
	}
    }
    
    public int method7282(int i) {
	Object object = method7275(i, -876190961);
	if (null == object)
	    return 675946907 * ((Class401) this).anInt5935;
	return ((Integer) object).intValue();
    }
    
    public int method7283(int i) {
	Object object = method7275(i, -972135117);
	if (null == object)
	    return 675946907 * ((Class401) this).anInt5935;
	return ((Integer) object).intValue();
    }
    
    public int method7284() {
	return -1448514331 * ((Class401) this).anInt5938;
    }
    
    Object method7285(int i) {
	if (null != ((Class401) this).anObjectArray5937) {
	    if (i < 0 || i >= ((Class401) this).anObjectArray5937.length)
		return null;
	    return ((Class401) this).anObjectArray5937[i];
	}
	if (null != ((Class401) this).aMap5936)
	    return ((Class401) this).aMap5936.get(new Integer(i));
	return null;
    }
    
    public boolean method7286(Object object, byte i) {
	if (((Class401) this).anInt5938 * -1448514331 == 0)
	    return false;
	if (null == ((Class401) this).aHashMap5932)
	    method7278(-1224425419);
	return ((Class401) this).aHashMap5932.containsKey(object);
    }
    
    public String method7287(int i) {
	Object object = method7275(i, -899513732);
	if (null == object)
	    return ((Class401) this).aString5939;
	return (String) object;
    }
    
    public int[] method7288(Object object) {
	if (-1448514331 * ((Class401) this).anInt5938 == 0)
	    return null;
	if (((Class401) this).aHashMap5932 == null)
	    method7278(-254879957);
	return (int[]) ((Class401) this).aHashMap5932.get(object);
    }
    
    public int method7289(int i, byte i_11_) {
	Object object = method7275(i, 1477493886);
	if (null == object)
	    return 675946907 * ((Class401) this).anInt5935;
	return ((Integer) object).intValue();
    }
    
    public String method7290(int i, short i_12_) {
	Object object = method7275(i, -762398219);
	if (null == object)
	    return ((Class401) this).aString5939;
	return (String) object;
    }
    
    static boolean method7291(int i, int i_13_) {
	return i == 11 || 16 == i || i == 0 || 1 == i || i == 13 || i == 15;
    }
    
    static void method7292(Class117 class117, int i, int i_14_, int i_15_) {
	Class44 class44
	    = class117.method2889(Class455.aClass87_6287, 258587881);
	if (class44 != null) {
	    Class455.aClass87_6287.method2113(i, i_14_,
					      i + (-719017229
						   * class117.anInt1387),
					      (class117.anInt1421 * 908189925
					       + i_14_));
	    if (Class193.anInt2306 * -1844035853 < 3) {
		int i_16_;
		if (3 == 1225671807 * Class182.anInt2191)
		    i_16_ = (int) -((double) Class238.aClass67_Sub1_3891
						 .method1589((byte) 36)
				    * 2607.5945876176133);
		else
		    i_16_ = (int) -client.aFloat8229;
		i_16_ = -602405274 * client.anInt8219 + i_16_ & 0x3fff;
		i_16_ <<= 2;
		Class585.aClass135_7612.method3365
		    (((float) (class117.anInt1387 * -719017229) / 2.0F
		      + (float) i),
		     ((float) (class117.anInt1421 * 908189925) / 2.0F
		      + (float) i_14_),
		     4573, i_16_, class44.aClass171_618, i, i_14_);
	    } else
		Class455.aClass87_6287
		    .method2403(-16777216, class44.aClass171_618, i, i_14_);
	}
    }
    
    public static int method7293(Class243_Sub10 class243_sub10, String string,
				 int i) {
	int i_17_ = class243_sub10.anInt8688 * 126215893;
	byte[] is = Class558.method12196(string, (byte) -18);
	class243_sub10.method14883(is.length, 324308066);
	class243_sub10.anInt8688
	    += Class555.aClass80_7234.method1829(is, 0, is.length,
						 class243_sub10.aByteArray8691,
						 (126215893
						  * class243_sub10.anInt8688),
						 -20373814) * -2044845443;
	return 126215893 * class243_sub10.anInt8688 - i_17_;
    }
}
