/* Class286 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.nio.ByteBuffer;
import java.util.Arrays;

public class Class286
{
    static final int anInt3284 = 1;
    long aLong3285 = -220960403453847221L;
    static final int anInt3286 = 5;
    long aLong3287;
    static final int anInt3288 = 2;
    static final int anInt3289 = 3;
    static final int anInt3290 = 4;
    Class656 aClass656_3291 = new Class656();
    public static byte aByte3292;
    
    public void method3874(Class487_Sub29 class487_sub29) {
	if ((-2329590788501447949L * class487_sub29.aLong6694
	     != -1801728005644173143L * ((Class286) this).aLong3287)
	    || ((-6249016785305847933L
		 * ((Class487_Sub29) class487_sub29).aLong10260)
		!= -5728141215731083363L * ((Class286) this).aLong3285))
	    throw new RuntimeException("");
	for (Class487_Sub14 class487_sub14
		 = (Class487_Sub14) ((Class286) this).aClass656_3291
					.method7795((short) -25358);
	     null != class487_sub14;
	     class487_sub14 = (Class487_Sub14) ((Class286) this)
						   .aClass656_3291
						   .method7798((byte) -70))
	    class487_sub14.method9164(class487_sub29, (byte) 21);
	((Class487_Sub29) class487_sub29).aLong10260 += 4160179583264362283L;
    }
    
    void method3875(Class487_Sub17 class487_sub17, int i) {
	((Class286) this).aLong3287
	    = class487_sub17.method9272((byte) -119) * -3139055626807942247L;
	((Class286) this).aLong3285
	    = class487_sub17.method9272((byte) -124) * 220960403453847221L;
	for (int i_0_ = class487_sub17.method9219(-658765418); i_0_ != 0;
	     i_0_ = class487_sub17.method9219(-1688364458)) {
	    Class487_Sub14 class487_sub14;
	    if (1 == i_0_)
		class487_sub14 = new Class487_Sub14_Sub3(this);
	    else if (i_0_ == 4)
		class487_sub14 = new Class487_Sub14_Sub4(this);
	    else if (i_0_ == 3)
		class487_sub14 = new Class487_Sub14_Sub1(this);
	    else if (2 == i_0_)
		class487_sub14 = new Class487_Sub14_Sub2(this);
	    else if (5 == i_0_)
		class487_sub14 = new Class487_Sub14_Sub5(this);
	    else
		throw new RuntimeException("");
	    class487_sub14.method9168(class487_sub17, -1004495077);
	    ((Class286) this).aClass656_3291.method7791(class487_sub14,
							(byte) 3);
	}
    }
    
    void method3876(Class487_Sub17 class487_sub17) {
	((Class286) this).aLong3287
	    = class487_sub17.method9272((byte) -90) * -3139055626807942247L;
	((Class286) this).aLong3285
	    = class487_sub17.method9272((byte) -9) * 220960403453847221L;
	for (int i = class487_sub17.method9219(-844808168); i != 0;
	     i = class487_sub17.method9219(-671372285)) {
	    Class487_Sub14 class487_sub14;
	    if (1 == i)
		class487_sub14 = new Class487_Sub14_Sub3(this);
	    else if (i == 4)
		class487_sub14 = new Class487_Sub14_Sub4(this);
	    else if (i == 3)
		class487_sub14 = new Class487_Sub14_Sub1(this);
	    else if (2 == i)
		class487_sub14 = new Class487_Sub14_Sub2(this);
	    else if (5 == i)
		class487_sub14 = new Class487_Sub14_Sub5(this);
	    else
		throw new RuntimeException("");
	    class487_sub14.method9168(class487_sub17, -1004495077);
	    ((Class286) this).aClass656_3291.method7791(class487_sub14,
							(byte) 3);
	}
    }
    
    void method3877(Class487_Sub17 class487_sub17) {
	((Class286) this).aLong3287
	    = class487_sub17.method9272((byte) -121) * -3139055626807942247L;
	((Class286) this).aLong3285
	    = class487_sub17.method9272((byte) -29) * 220960403453847221L;
	for (int i = class487_sub17.method9219(-1534084531); i != 0;
	     i = class487_sub17.method9219(-1251674069)) {
	    Class487_Sub14 class487_sub14;
	    if (1 == i)
		class487_sub14 = new Class487_Sub14_Sub3(this);
	    else if (i == 4)
		class487_sub14 = new Class487_Sub14_Sub4(this);
	    else if (i == 3)
		class487_sub14 = new Class487_Sub14_Sub1(this);
	    else if (2 == i)
		class487_sub14 = new Class487_Sub14_Sub2(this);
	    else if (5 == i)
		class487_sub14 = new Class487_Sub14_Sub5(this);
	    else
		throw new RuntimeException("");
	    class487_sub14.method9168(class487_sub17, -1004495077);
	    ((Class286) this).aClass656_3291.method7791(class487_sub14,
							(byte) 3);
	}
    }
    
    void method3878(Class487_Sub17 class487_sub17) {
	((Class286) this).aLong3287
	    = class487_sub17.method9272((byte) -7) * -3139055626807942247L;
	((Class286) this).aLong3285
	    = class487_sub17.method9272((byte) -71) * 220960403453847221L;
	for (int i = class487_sub17.method9219(-777417497); i != 0;
	     i = class487_sub17.method9219(-1035675091)) {
	    Class487_Sub14 class487_sub14;
	    if (1 == i)
		class487_sub14 = new Class487_Sub14_Sub3(this);
	    else if (i == 4)
		class487_sub14 = new Class487_Sub14_Sub4(this);
	    else if (i == 3)
		class487_sub14 = new Class487_Sub14_Sub1(this);
	    else if (2 == i)
		class487_sub14 = new Class487_Sub14_Sub2(this);
	    else if (5 == i)
		class487_sub14 = new Class487_Sub14_Sub5(this);
	    else
		throw new RuntimeException("");
	    class487_sub14.method9168(class487_sub17, -1004495077);
	    ((Class286) this).aClass656_3291.method7791(class487_sub14,
							(byte) 3);
	}
    }
    
    public Class286(Class487_Sub17 class487_sub17) {
	method3875(class487_sub17, 1653858985);
    }
    
    public void method3879(Class487_Sub29 class487_sub29, int i) {
	if ((-2329590788501447949L * class487_sub29.aLong6694
	     != -1801728005644173143L * ((Class286) this).aLong3287)
	    || ((-6249016785305847933L
		 * ((Class487_Sub29) class487_sub29).aLong10260)
		!= -5728141215731083363L * ((Class286) this).aLong3285))
	    throw new RuntimeException("");
	for (Class487_Sub14 class487_sub14
		 = ((Class487_Sub14)
		    ((Class286) this).aClass656_3291.method7795((short) 1913));
	     null != class487_sub14;
	     class487_sub14 = (Class487_Sub14) ((Class286) this)
						   .aClass656_3291
						   .method7798((byte) -110))
	    class487_sub14.method9164(class487_sub29, (byte) 10);
	((Class487_Sub29) class487_sub29).aLong10260 += 4160179583264362283L;
    }
    
    static final void method3880(Class612 class612, int i) {
	int i_1_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	Class211 class211 = Class156.method2513(i_1_, (short) -21885);
	Class203 class203 = Class163_Sub20.aClass203Array9719[i_1_ >> 16];
	Class60.method973(class211, class203, class612, (byte) 0);
    }
    
    static final void method3881(Class612 class612, byte i) {
	int i_2_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = ((Class612) class612).aClass290_8032.aByteArray3314[i_2_];
    }
    
    static final void method3882(Class612 class612, int i) {
	int i_3_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	if (i_3_ != Class447.aClass487_Sub42_5156.aClass637_Sub4_10517
			.method9629((byte) 75)) {
	    Class447.aClass487_Sub42_5156.method9613((Class447
						      .aClass487_Sub42_5156
						      .aClass637_Sub4_10517),
						     i_3_, -149871384);
	    Class443.method5373(1260796852);
	    client.aBool10699 = false;
	}
    }
    
    public static void method3883(byte i) {
	if (Class269.anInterface26Array3151 != null) {
	    Interface26[] interface26s = Class269.anInterface26Array3151;
	    for (int i_4_ = 0; i_4_ < interface26s.length; i_4_++) {
		Interface26 interface26 = interface26s[i_4_];
		interface26.method86(1547736591);
	    }
	}
    }
    
    public static byte[] method3884(Object object, int i, int i_5_,
				    byte i_6_) {
	if (null == object)
	    return null;
	if (object instanceof byte[]) {
	    byte[] is = (byte[]) object;
	    return Arrays.copyOfRange(is, i, i_5_ + i);
	}
	if (object instanceof ByteBuffer) {
	    ByteBuffer bytebuffer = (ByteBuffer) object;
	    byte[] is = new byte[i_5_];
	    bytebuffer.position(i);
	    bytebuffer.get(is, 0, i_5_);
	    return is;
	}
	throw new IllegalArgumentException();
    }
    
    static int method3885(Class411 class411, Class41 class41, int i) {
	if (class411 != null) {
	    if (class41.method840(-196387567) > 1) {
		int i_7_ = class411.method4997(1961377611) - 1;
		return (i_7_ * class41.method840(-784061644)
			+ class411.method4996(i_7_, -1604909506));
	    }
	    return class411.method4996(-2045352083 * class41.anInt554,
				       -1996245108);
	}
	return 0;
    }
    
    public static final void method3886(String string, int i) {
	if (string != null) {
	    String string_8_
		= Class657.method7851(string, Class86.aClass56_1210,
				      294565805);
	    if (null != string_8_) {
		for (int i_9_ = 0; i_9_ < client.anInt10972 * 344383363;
		     i_9_++) {
		    Class50 class50 = client.aClass50Array10684[i_9_];
		    String string_10_ = class50.aString607;
		    String string_11_
			= Class657.method7851(string_10_,
					      Class86.aClass56_1210,
					      294565805);
		    if (Class163.method2562(string, string_8_, string_10_,
					    string_11_, -98158391)) {
			client.anInt10972 -= 2016323371;
			for (int i_12_ = i_9_;
			     i_12_ < client.anInt10972 * 344383363; i_12_++)
			    client.aClass50Array10684[i_12_]
				= client.aClass50Array10684[1 + i_12_];
			client.anInt10961 = 1093416437 * client.anInt10898;
			Class65 class65 = Class566.method6895((byte) 69);
			Class487_Sub19 class487_sub19
			    = Class667_Sub1.method9955(Class362.aClass362_3962,
						       class65.aClass676_946,
						       852043838);
			class487_sub19.aClass487_Sub17_Sub2_10217.method9201
			    (Class351.method4434(string, (byte) -23),
			     (byte) -61);
			class487_sub19.aClass487_Sub17_Sub2_10217
			    .method9210(string, -1054474757);
			class65.method1056(class487_sub19, (byte) 52);
			break;
		    }
		}
	    }
	}
    }
}
