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

public class Class115
{
    byte[] aByteArray1339;
    int anInt1340;
    static String aString1341;
    
    Class115(byte[] is) {
	((Class115) this).aByteArray1339 = is;
	((Class115) this).anInt1340 = 0;
    }
    
    int method2852(int i) {
	short i_0_ = 0;
	for (int i_1_ = 0; i_1_ < 2; i_1_++)
	    i_0_
		|= ((((Class115) this).aByteArray1339
		     [((((Class115) this).anInt1340 += 988941901) * -1026172283
		       - 1)])
		    & 0xff) << i_1_ * 8;
	return i_0_;
    }
    
    String method2853(int i) {
	int i_2_ = method2852(771764973);
	if (-1 == i_2_)
	    return null;
	if (i_2_ > 256)
	    throw new RuntimeException_Sub4();
	String string
	    = new String(((Class115) this).aByteArray1339,
			 -1026172283 * ((Class115) this).anInt1340, i_2_);
	((Class115) this).anInt1340 += i_2_ * 988941901;
	return string;
    }
    
    String method2854() {
	int i = method2852(-1392270988);
	if (-1 == i)
	    return null;
	if (i > 256)
	    throw new RuntimeException_Sub4();
	String string
	    = new String(((Class115) this).aByteArray1339,
			 -1026172283 * ((Class115) this).anInt1340, i);
	((Class115) this).anInt1340 += i * 988941901;
	return string;
    }
    
    int method2855() {
	short i = 0;
	for (int i_3_ = 0; i_3_ < 2; i_3_++)
	    i |= ((((Class115) this).aByteArray1339
		   [((((Class115) this).anInt1340 += 988941901) * -1026172283
		     - 1)])
		  & 0xff) << i_3_ * 8;
	return i;
    }
    
    int method2856() {
	short i = 0;
	for (int i_4_ = 0; i_4_ < 2; i_4_++)
	    i |= ((((Class115) this).aByteArray1339
		   [((((Class115) this).anInt1340 += 988941901) * -1026172283
		     - 1)])
		  & 0xff) << i_4_ * 8;
	return i;
    }
    
    int method2857() {
	short i = 0;
	for (int i_5_ = 0; i_5_ < 2; i_5_++)
	    i |= ((((Class115) this).aByteArray1339
		   [((((Class115) this).anInt1340 += 988941901) * -1026172283
		     - 1)])
		  & 0xff) << i_5_ * 8;
	return i;
    }
    
    public static void method2858(long[] ls, int[] is, int i) {
	Class357_Sub2_Sub1.method17467(ls, is, 0, ls.length - 1, (short) 128);
    }
    
    static final void method2859(Class479 class479, byte i) {
	Class465 class465 = (((Class479) class479).aBool6460
			     ? ((Class479) class479).aClass465_6445
			     : ((Class479) class479).aClass465_6443);
	Class117 class117 = ((Class465) class465).aClass117_6364;
	Class116 class116 = ((Class465) class465).aClass116_6363;
	Class518.method11673(class117, class116, class479, 1577241401);
    }
    
    public static void method2860(int i, int i_6_, int i_7_) {
	Class243_Sub43 class243_sub43
	    = Class529.method11818(Class326.aClass326_4942,
				   client.aClass194_8163.aClass432_2312,
				   (short) 255);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14713(i, (byte) 0);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14702(i_6_,
							     -2068522131);
	client.aClass194_8163.method4175(class243_sub43, (byte) 122);
    }
    
    static final void method2861(Class479 class479, int i) {
	int i_8_ = (((Class479) class479).anIntArray6435
		    [((((Class479) class479).anInt6442 -= -1158629699)
		      * -117934955)]);
	Class117 class117 = Class70.method1756(i_8_, (byte) 101);
	Class116 class116 = Class211.aClass116Array2498[i_8_ >> 16];
	Class563.method12292(class117, class116, class479, 1232314860);
    }
    
    static final void method2862(Class117 class117, int i, byte[] is,
				 byte[] is_9_, Class479 class479, int i_10_) {
	if (class117.aByteArrayArray1472 == null) {
	    if (null != is) {
		class117.aByteArrayArray1472 = new byte[11][];
		class117.aByteArrayArray1453 = new byte[11][];
		class117.anIntArray1454 = new int[11];
		class117.anIntArray1455 = new int[11];
	    } else
		return;
	}
	class117.aByteArrayArray1472[i] = is;
	if (null != is)
	    class117.aBool1451 = true;
	else {
	    class117.aBool1451 = false;
	    for (int i_11_ = 0; i_11_ < class117.aByteArrayArray1472.length;
		 i_11_++) {
		if (null != class117.aByteArrayArray1472[i_11_]
		    || class117.anIntArray1455[i_11_] > 0) {
		    class117.aBool1451 = true;
		    break;
		}
	    }
	}
	class117.aByteArrayArray1453[i] = is_9_;
    }
}
