/* Class584 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Point;
import java.io.IOException;
import java.net.Socket;

public abstract class Class584
{
    public abstract void method12796(byte[] is, int i, int i_0_)
	throws IOException;
    
    public abstract int method12797(byte[] is, int i, int i_1_, byte i_2_)
	throws IOException;
    
    public abstract int method12798(int i) throws IOException;
    
    Class584() {
	/* empty */
    }
    
    public abstract void method12799(byte[] is, int i, int i_3_, int i_4_)
	throws IOException;
    
    public abstract boolean method12800(int i, int i_5_) throws IOException;
    
    public abstract void method12801(int i);
    
    public abstract void method12802();
    
    public abstract void method12803(byte i);
    
    public abstract int method12804() throws IOException;
    
    public abstract int method12805(byte[] is, int i, int i_6_)
	throws IOException;
    
    public abstract int method12806(byte[] is, int i, int i_7_)
	throws IOException;
    
    public abstract int method12807(byte[] is, int i, int i_8_)
	throws IOException;
    
    public abstract void method12808();
    
    public abstract void method12809(byte[] is, int i, int i_9_)
	throws IOException;
    
    public abstract void method12810(byte[] is, int i, int i_10_)
	throws IOException;
    
    public abstract boolean method12811(int i) throws IOException;
    
    public abstract void method12812();
    
    public abstract void method12813();
    
    public abstract void method12814();
    
    public abstract int method12815() throws IOException;
    
    public static Class584 method12816(Socket socket, int i)
	throws IOException {
	return new Class584_Sub1(socket, i);
    }
    
    public static Class584 method12817(Socket socket, int i)
	throws IOException {
	return new Class584_Sub1(socket, i);
    }
    
    public static String method12818(Object[] objects, int i, int i_11_,
				     int i_12_) {
	if (0 == i_11_)
	    return "";
	if (1 == i_11_) {
	    CharSequence charsequence = (CharSequence) objects[i];
	    if (null == charsequence)
		return "null";
	    return charsequence.toString();
	}
	int i_13_ = i_11_ + i;
	int i_14_ = 0;
	for (int i_15_ = i; i_15_ < i_13_; i_15_++) {
	    CharSequence charsequence = (CharSequence) objects[i_15_];
	    if (charsequence == null)
		i_14_ += 4;
	    else
		i_14_ += charsequence.length();
	}
	StringBuilder stringbuilder = new StringBuilder(i_14_);
	for (int i_16_ = i; i_16_ < i_13_; i_16_++) {
	    CharSequence charsequence = (CharSequence) objects[i_16_];
	    if (charsequence == null)
		stringbuilder.append("null");
	    else
		stringbuilder.append(charsequence);
	}
	return stringbuilder.toString();
    }
    
    static void method12819(byte i) {
	int i_17_ = Class2.anInt17 * -1641316675;
	int i_18_ = Class14.anInt111 * -837921869;
	if (201694707 * Class120_Sub17.anInt10263 < i_17_)
	    i_17_ = Class120_Sub17.anInt10263 * 201694707;
	if (1910610695 * Class171.anInt2125 < i_18_)
	    i_18_ = 1910610695 * Class171.anInt2125;
	try {
	    if (Class612.aClass243_Sub7_7837 != null)
		Class319.aClass319_4708.method6213
		    ((new Object[]
		      { Integer.valueOf(i_17_), Integer.valueOf(i_18_),
			Integer.valueOf(Class464.method8274(293218253)),
			Integer.valueOf(Class612.aClass243_Sub7_7837
					    .aClass421_Sub14_8646
					    .method14164((byte) -94)) }),
		     -81282496);
	} catch (Throwable throwable) {
	    /* empty */
	}
    }
    
    static void method12820(int i, int i_19_) {
	if (Class612.aClass243_Sub7_7837.aClass421_Sub19_8655
		.method14241(1773720641)
	    == 0)
	    i = -1;
	if (i != -1686243989 * client.anInt8304) {
	    if (-1 != i) {
		Class618 class618
		    = Class14.aClass631_112.method13538(i, (byte) 3);
		Class102 class102 = class618.method13293(-2132324232);
		if (null != class102) {
		    Class179.aClass589_2170.setcustomcursor
			(Class631.aCanvas8104, class102.method2729(true),
			 class102.method2721(), class102.method2722(),
			 new Point(class618.anInt7884 * -1245288871,
				   class618.anInt7883 * -481612133));
		    client.anInt8304 = -2141810877 * i;
		} else
		    i = -1;
	    }
	    if (i == -1 && -1 != -1686243989 * client.anInt8304) {
		Class179.aClass589_2170.setcustomcursor(Class631.aCanvas8104,
							null, -1, -1,
							new Point());
		client.anInt8304 = 2141810877;
	    }
	}
    }
    
    static boolean method12821(int i, byte i_20_) {
	if (i == 18 || 19 == i || i == 20 || i == 21 || 22 == i || 1004 == i)
	    return true;
	if (17 == i)
	    return true;
	return false;
    }
    
    static final void method12822(Class479 class479, int i) {
	if (1668846989 * client.anInt8284 >= 5
	    && 1668846989 * client.anInt8284 <= 9)
	    ((Class479) class479).anIntArray6435
		[((((Class479) class479).anInt6442 += -1158629699) * -117934955
		  - 1)]
		= 1;
	else
	    ((Class479) class479).anIntArray6435
		[((((Class479) class479).anInt6442 += -1158629699) * -117934955
		  - 1)]
		= 0;
    }
}
