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

public class Class655
{
    static byte[][] aByteArrayArray8302;
    static int anInt8303;
    static int anInt8304;
    static int[] anIntArray8305;
    static byte[][] aByteArrayArray8306;
    static byte[][] aByteArrayArray8307;
    static int[] anIntArray8308;
    static int anInt8309 = 0;
    static byte[][][] aByteArrayArrayArray8310;
    
    static {
	anInt8303 = 0;
	anInt8304 = 0;
	aByteArrayArray8306 = new byte[1000][];
	aByteArrayArray8302 = new byte[250][];
	aByteArrayArray8307 = new byte[50][];
    }
    
    public static synchronized byte[] method7780(int i, boolean bool,
						 byte i_0_) {
	if ((100 == i || i < 100 && bool) && anInt8309 * -746334819 > 0) {
	    byte[] is
		= aByteArrayArray8306[(anInt8309 -= -351512395) * -746334819];
	    aByteArrayArray8306[-746334819 * anInt8309] = null;
	    return is;
	}
	if ((i == 5000 || i < 5000 && bool) && 934839781 * anInt8303 > 0) {
	    byte[] is
		= aByteArrayArray8302[(anInt8303 -= 432746477) * 934839781];
	    aByteArrayArray8302[anInt8303 * 934839781] = null;
	    return is;
	}
	if ((30000 == i || i < 30000 && bool) && anInt8304 * 979935807 > 0) {
	    byte[] is
		= aByteArrayArray8307[(anInt8304 -= -1604432449) * 979935807];
	    aByteArrayArray8307[anInt8304 * 979935807] = null;
	    return is;
	}
	if (aByteArrayArrayArray8310 != null) {
	    for (int i_1_ = 0; i_1_ < anIntArray8308.length; i_1_++) {
		if ((i == anIntArray8308[i_1_]
		     || i < anIntArray8308[i_1_] && bool)
		    && anIntArray8305[i_1_] > 0) {
		    byte[] is = (aByteArrayArrayArray8310[i_1_]
				 [--anIntArray8305[i_1_]]);
		    aByteArrayArrayArray8310[i_1_][anIntArray8305[i_1_]]
			= null;
		    return is;
		}
	    }
	}
	if (bool && null != anIntArray8308) {
	    for (int i_2_ = 0; i_2_ < anIntArray8308.length; i_2_++) {
		if (i <= anIntArray8308[i_2_]
		    && (anIntArray8305[i_2_]
			< aByteArrayArrayArray8310[i_2_].length))
		    return new byte[anIntArray8308[i_2_]];
	    }
	}
	return new byte[i];
    }
    
    public static synchronized byte[] method7781(int i, byte i_3_) {
	return method7780(i, false, (byte) 61);
    }
    
    public static synchronized void method7782(byte[] is, int i) {
	if (is.length == 100 && anInt8309 * -746334819 < 1000)
	    aByteArrayArray8306[(anInt8309 += -351512395) * -746334819 - 1]
		= is;
	else if (is.length == 5000 && 934839781 * anInt8303 < 250)
	    aByteArrayArray8302[(anInt8303 += 432746477) * 934839781 - 1] = is;
	else if (is.length == 30000 && 979935807 * anInt8304 < 50)
	    aByteArrayArray8307[(anInt8304 += -1604432449) * 979935807 - 1]
		= is;
	else if (null != aByteArrayArrayArray8310) {
	    for (int i_4_ = 0; i_4_ < anIntArray8308.length; i_4_++) {
		if (is.length == anIntArray8308[i_4_]
		    && (anIntArray8305[i_4_]
			< aByteArrayArrayArray8310[i_4_].length)) {
		    aByteArrayArrayArray8310[i_4_][anIntArray8305[i_4_]++]
			= is;
		    break;
		}
	    }
	}
    }
    
    Class655() throws Throwable {
	throw new Error();
    }
    
    static void method7783(String string, String string_5_, String string_6_,
			   boolean bool, boolean bool_7_, int i) {
	Class65 class65 = Class566.method6895((byte) 37);
	if (class65.method1066((byte) -96) != null) {
	    Class487_Sub19 class487_sub19
		= Class667_Sub1.method9955(Class362.aClass362_3873,
					   class65.aClass676_946, 852043838);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9202
		((Class351.method4434(string, (byte) -48)
		  + Class351.method4434(string_5_, (byte) -86)
		  + Class351.method4434(string_6_, (byte) -108) + 1),
		 -1689752353);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string,
								 -1054474757);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string_5_,
								 -1054474757);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string_6_,
								 -1054474757);
	    int i_8_ = 0;
	    if (bool)
		i_8_ |= 0x1;
	    if (bool_7_)
		i_8_ |= 0x2;
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(i_8_,
								 (byte) 10);
	    class65.method1056(class487_sub19, (byte) 56);
	}
    }
    
    static final void method7784
	(Class590_Sub1_Sub5_Sub1 class590_sub1_sub5_sub1, byte i) {
	int i_9_ = (2119338805 * class590_sub1_sub5_sub1.anInt11602
		    - client.anInt10698);
	int i_10_ = (class590_sub1_sub5_sub1.anInt11598 * -1246483968
		     + class590_sub1_sub5_sub1.method10512(1390178159) * 256);
	int i_11_ = (class590_sub1_sub5_sub1.anInt11600 * 150009344
		     + class590_sub1_sub5_sub1.method10512(1390178159) * 256);
	Class396 class396
	    = class590_sub1_sub5_sub1.method7182().aClass396_4540;
	class590_sub1_sub5_sub1.method7188
	    ((float) ((int) class396.aFloat4545
		      + (i_10_ - (int) class396.aFloat4545) / i_9_),
	     (float) (int) class396.aFloat4542,
	     (float) ((i_11_ - (int) class396.aFloat4547) / i_9_
		      + (int) class396.aFloat4547));
	class590_sub1_sub5_sub1.anInt11568 = 0;
	class590_sub1_sub5_sub1.method10501((class590_sub1_sub5_sub1.anInt11604
					     * -92791799),
					    2024610317);
    }
    
    public static void method7785(boolean bool, int i) {
	if (null == Class130.aClass274_1539)
	    Class38.method811((byte) 6);
	if (bool)
	    Class130.aClass274_1539.method3754(-462069969);
    }
    
    public static void method7786
	(int i, int i_12_, String string, String string_13_, String string_14_,
	 String string_15_, Class359 class359, byte i_16_) {
	Class201.method2986(i, i_12_, string, string_13_, string_14_,
			    string_15_, null, -1, class359, (byte) -77);
    }
    
    static final void method7787(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;
	Class504.method6250(class211, class203, true, 1, class612, -193670898);
    }
    
    public static void method7788(String string, String string_17_, int i,
				  boolean bool, String string_18_,
				  byte i_19_) {
	if (0 == 487402729 * client.anInt10701) {
	    Class487_Sub19 class487_sub19
		= Class667_Sub1.method9955(Class362.aClass362_3918,
					   client.aClass65_10676.aClass676_946,
					   852043838);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9202(0,
								 -1307369305);
	    int i_20_
		= (-1980757211
		   * class487_sub19.aClass487_Sub17_Sub2_10217.anInt10192);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string,
								 -1054474757);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string_17_,
								 -1054474757);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(i,
								 (byte) -97);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9201(bool ? 1 : 0,
								 (byte) 42);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9210(string_18_,
								 -1054474757);
	    class487_sub19.aClass487_Sub17_Sub2_10217.anInt10192 += 1661971643;
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9304
		(Class55.anIntArray628, i_20_,
		 (-1980757211
		  * class487_sub19.aClass487_Sub17_Sub2_10217.anInt10192),
		 (byte) 92);
	    class487_sub19.aClass487_Sub17_Sub2_10217.method9215
		((class487_sub19.aClass487_Sub17_Sub2_10217.anInt10192
		  * -1980757211) - i_20_,
		 -997784233);
	    client.aClass65_10676.method1056(class487_sub19, (byte) 107);
	    if (i < 13) {
		client.aBool10713 = true;
		Class187.method2818(-122912000);
	    }
	    Class470.aClass634_5335 = Class634.aClass634_8144;
	}
    }
    
    public static int method7789(int i) {
	return Class68.aTwitchTV970.GetStreamState();
    }
}
