/* Class566 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.ArrayList;
import java.util.List;

public class Class566 implements Interface65
{
    int anInt7595;
    Class559 aClass559_7596 = Class559.aClass559_7539;
    int anInt7597;
    Class341 aClass341_7598;
    Interface62 anInterface62_7599;
    byte[] aByteArray7600;
    boolean aBool7601;
    boolean aBool7602;
    Class178 aClass178_7603;
    Class411 aClass411_7604;
    public static Class411 aClass411_7605;
    
    public byte[] method415(int i) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	return ((Class566) this).aByteArray7600;
    }
    
    public void method157(int i) {
	if (((Class566) this).aClass559_7596 == Class559.aClass559_7540) {
	    byte[] is
		= (((Class566) this).aClass411_7604.method5036
		   (-1487455711 * ((Class566) this).anInt7595, 853492509));
	    if (null != is) {
		((Class566) this).aByteArray7600 = is;
		method6888((byte) -92);
		((Class566) this).aClass559_7596 = Class559.aClass559_7538;
		if (null != ((Class566) this).anInterface62_7599)
		    ((Class566) this).anInterface62_7599.method385
			(this, is.length,
			 ((Class566) this).anInt7595 * -1487455711, false,
			 850991277);
	    }
	}
    }
    
    public Class454 method412(byte i) {
	Class454 class454 = new Class454(((Class566) this).aClass341_7598);
	class454.method5592(this, 663937743);
	return class454;
    }
    
    public int method436(int i) {
	if (null == ((Class566) this).aClass178_7603)
	    return 0;
	int i_0_ = 0;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (null != list)
		i_0_ = list.size();
	}
	return i_0_;
    }
    
    public boolean method432() {
	return (null != ((Class566) this).aClass178_7603
		&& ((Class566) this).aBool7602);
    }
    
    public int method419() {
	if (((Class566) this).aByteArray7600 != null)
	    return ((Class566) this).aByteArray7600.length;
	return 0;
    }
    
    public byte[] method402(int i, int i_1_) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	return ((Class566) this).aByteArray7600;
    }
    
    public boolean method438() {
	if (((Class566) this).aClass178_7603 == null)
	    return false;
	List list = method6890(2100520631);
	if (list == null || list.size() <= 0)
	    ((Class566) this).aBool7601 = false;
	return ((Class566) this).aBool7601;
    }
    
    public Class447 method404(byte i) {
	return Class447.aClass447_5146;
    }
    
    public int method401(short i) {
	return -1487455711 * ((Class566) this).anInt7595;
    }
    
    public void method406(Class487_Sub17 class487_sub17, byte i) {
	if (null != ((Class566) this).aClass178_7603) {
	    if (((Class566) this).anInterface62_7599 != null)
		((Class566) this).anInterface62_7599.method386(this,
							       -1198436686);
	    if (((Class566) this).aBool7601)
		throw new RuntimeException("");
	    synchronized (((Class566) this).aClass178_7603) {
		List list = method6890(2100520631);
		if (list != null) {
		    list.add(class487_sub17);
		    ((Class566) this).anInt7597
			+= class487_sub17.aByteArray10193.length * -1672721291;
		    method6889(list, 389424093 * ((Class566) this).anInt7597,
			       -989367205);
		}
	    }
	}
    }
    
    void method6888(byte i) {
	/* empty */
    }
    
    public boolean method408(int i, int i_2_) {
	if (null == ((Class566) this).aClass178_7603)
	    return false;
	boolean bool = false;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list != null && list.size() > i)
		bool = list.get(i) != null;
	}
	return bool;
    }
    
    public byte[] method409(int i) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	return ((Class566) this).aByteArray7600;
    }
    
    public boolean method420(byte i) {
	return (null != ((Class566) this).aClass178_7603
		&& ((Class566) this).aBool7602);
    }
    
    public int method403(int i) {
	if (((Class566) this).aByteArray7600 != null)
	    return ((Class566) this).aByteArray7600.length;
	return 0;
    }
    
    public boolean method418(int i) {
	if (((Class566) this).aClass178_7603 == null)
	    return false;
	List list = method6890(2100520631);
	if (list == null || list.size() <= 0)
	    ((Class566) this).aBool7601 = false;
	return ((Class566) this).aBool7601;
    }
    
    void method6889(List list, int i, int i_3_) {
	if (null != ((Class566) this).aClass178_7603 && list != null
	    && i >= 0) {
	    synchronized (((Class566) this).aClass178_7603) {
		((Class566) this).aClass178_7603.method2675
		    ((long) (-1487455711 * ((Class566) this).anInt7595));
		if (i <= ((Class566) this).aClass178_7603
			     .method2668(-1255782800))
		    ((Class566) this).aClass178_7603.method2665
			(list,
			 (long) (-1487455711 * ((Class566) this).anInt7595), i,
			 700538234);
		else {
		    ((Class566) this).aBool7602 = false;
		    ((Class566) this).aBool7601 = false;
		    ((Class566) this).anInt7597 = 0;
		}
	    }
	}
    }
    
    List method6890(int i) {
	if (null == ((Class566) this).aClass178_7603
	    || false == ((Class566) this).aBool7602)
	    return null;
	Object object = null;
	List list;
	synchronized (((Class566) this).aClass178_7603) {
	    list = (List) (((Class566) this).aClass178_7603.method2662
			   ((long) (-1487455711
				    * ((Class566) this).anInt7595)));
	    if (null == list && ((Class566) this).aBool7602) {
		list = new ArrayList();
		((Class566) this).aClass178_7603.method2665
		    (list, (long) (((Class566) this).anInt7595 * -1487455711),
		     0, 269501303);
	    }
	}
	return list;
    }
    
    public void method413() {
	if (((Class566) this).aClass559_7596 == Class559.aClass559_7540) {
	    byte[] is
		= (((Class566) this).aClass411_7604.method5036
		   (-1487455711 * ((Class566) this).anInt7595, 1009850827));
	    if (null != is) {
		((Class566) this).aByteArray7600 = is;
		method6888((byte) -32);
		((Class566) this).aClass559_7596 = Class559.aClass559_7538;
		if (null != ((Class566) this).anInterface62_7599)
		    ((Class566) this).anInterface62_7599.method385
			(this, is.length,
			 ((Class566) this).anInt7595 * -1487455711, false,
			 850991277);
	    }
	}
    }
    
    public Class454 method414() {
	Class454 class454 = new Class454(((Class566) this).aClass341_7598);
	class454.method5592(this, -384224664);
	return class454;
    }
    
    public Class454 method435() {
	Class454 class454 = new Class454(((Class566) this).aClass341_7598);
	class454.method5592(this, 1069427297);
	return class454;
    }
    
    public void method437(boolean bool) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	((Class566) this).aBool7601 = bool;
    }
    
    public Class559 method417() {
	return ((Class566) this).aClass559_7596;
    }
    
    public boolean method439() {
	return false;
    }
    
    public void method426(Class487_Sub17 class487_sub17) {
	if (null != ((Class566) this).aClass178_7603) {
	    if (((Class566) this).anInterface62_7599 != null)
		((Class566) this).anInterface62_7599.method386(this,
							       -1198436686);
	    if (((Class566) this).aBool7601)
		throw new RuntimeException("");
	    synchronized (((Class566) this).aClass178_7603) {
		List list = method6890(2100520631);
		if (list != null) {
		    list.add(class487_sub17);
		    ((Class566) this).anInt7597
			+= class487_sub17.aByteArray10193.length * -1672721291;
		    method6889(list, 389424093 * ((Class566) this).anInt7597,
			       -1196916025);
		}
	    }
	}
    }
    
    public int method407() {
	if (((Class566) this).aByteArray7600 != null)
	    return ((Class566) this).aByteArray7600.length;
	return 0;
    }
    
    public boolean method405(int i) {
	return false;
    }
    
    public Class447 method422() {
	return Class447.aClass447_5146;
    }
    
    public Class447 method440() {
	return Class447.aClass447_5146;
    }
    
    public int method424() {
	return -1487455711 * ((Class566) this).anInt7595;
    }
    
    public void method425(Class487_Sub17 class487_sub17) {
	if (null != ((Class566) this).aClass178_7603) {
	    if (((Class566) this).anInterface62_7599 != null)
		((Class566) this).anInterface62_7599.method386(this,
							       -1198436686);
	    if (((Class566) this).aBool7601)
		throw new RuntimeException("");
	    synchronized (((Class566) this).aClass178_7603) {
		List list = method6890(2100520631);
		if (list != null) {
		    list.add(class487_sub17);
		    ((Class566) this).anInt7597
			+= class487_sub17.aByteArray10193.length * -1672721291;
		    method6889(list, 389424093 * ((Class566) this).anInt7597,
			       -550351851);
		}
	    }
	}
    }
    
    public Class447 method421() {
	return Class447.aClass447_5146;
    }
    
    public Class487_Sub17 method429(int i) {
	if (((Class566) this).aClass178_7603 == null)
	    return null;
	Class487_Sub17 class487_sub17 = null;
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list.size() > i)
		class487_sub17 = (Class487_Sub17) list.get(i);
	}
	return class487_sub17;
    }
    
    public Class559 method416() {
	return ((Class566) this).aClass559_7596;
    }
    
    public boolean method423(int i) {
	if (null == ((Class566) this).aClass178_7603)
	    return false;
	boolean bool = false;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list != null && list.size() > i)
		bool = list.get(i) != null;
	}
	return bool;
    }
    
    public boolean method430(int i) {
	if (null == ((Class566) this).aClass178_7603)
	    return false;
	boolean bool = false;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list != null && list.size() > i)
		bool = list.get(i) != null;
	}
	return bool;
    }
    
    public boolean method428() {
	return (null != ((Class566) this).aClass178_7603
		&& ((Class566) this).aBool7602);
    }
    
    public Class566(Class411 class411, int i, Class341 class341,
		    Interface62 interface62, Class178 class178) {
	((Class566) this).aClass411_7604 = class411;
	((Class566) this).anInt7595 = -311244319 * i;
	((Class566) this).aClass341_7598 = class341;
	((Class566) this).anInterface62_7599 = interface62;
	((Class566) this).aClass178_7603 = class178;
	((Class566) this).aBool7602 = null != ((Class566) this).aClass178_7603;
	((Class566) this).aClass559_7596 = Class559.aClass559_7540;
    }
    
    public boolean method433() {
	return (null != ((Class566) this).aClass178_7603
		&& ((Class566) this).aBool7602);
    }
    
    public boolean method434() {
	return (null != ((Class566) this).aClass178_7603
		&& ((Class566) this).aBool7602);
    }
    
    public int method431() {
	if (null == ((Class566) this).aClass178_7603)
	    return 0;
	int i = 0;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (null != list)
		i = list.size();
	}
	return i;
    }
    
    public int method427() {
	if (null == ((Class566) this).aClass178_7603)
	    return 0;
	int i = 0;
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (null != list)
		i = list.size();
	}
	return i;
    }
    
    public Class559 method400(int i) {
	return ((Class566) this).aClass559_7596;
    }
    
    public void method313() {
	if (((Class566) this).aClass559_7596 == Class559.aClass559_7540) {
	    byte[] is
		= (((Class566) this).aClass411_7604.method5036
		   (-1487455711 * ((Class566) this).anInt7595, 485928074));
	    if (null != is) {
		((Class566) this).aByteArray7600 = is;
		method6888((byte) -111);
		((Class566) this).aClass559_7596 = Class559.aClass559_7538;
		if (null != ((Class566) this).anInterface62_7599)
		    ((Class566) this).anInterface62_7599.method385
			(this, is.length,
			 ((Class566) this).anInt7595 * -1487455711, false,
			 850991277);
	    }
	}
    }
    
    public void method411(boolean bool, int i) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	((Class566) this).aBool7601 = bool;
    }
    
    public Class487_Sub17 method410(int i, byte i_4_) {
	if (((Class566) this).aClass178_7603 == null)
	    return null;
	Class487_Sub17 class487_sub17 = null;
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list.size() > i)
		class487_sub17 = (Class487_Sub17) list.get(i);
	}
	return class487_sub17;
    }
    
    public Class487_Sub17 method399(int i) {
	if (((Class566) this).aClass178_7603 == null)
	    return null;
	Class487_Sub17 class487_sub17 = null;
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	synchronized (((Class566) this).aClass178_7603) {
	    List list = method6890(2100520631);
	    if (list.size() > i)
		class487_sub17 = (Class487_Sub17) list.get(i);
	}
	return class487_sub17;
    }
    
    public byte[] method441(int i) {
	if (((Class566) this).anInterface62_7599 != null)
	    ((Class566) this).anInterface62_7599.method386(this, -1198436686);
	return ((Class566) this).aByteArray7600;
    }
    
    public static void method6891(int i, String string, int i_5_, int i_6_) {
	Class487_Sub35_Sub15 class487_sub35_sub15
	    = Class194.method2948(Class514.aClass514_7041, i, -1, (byte) 48);
	if (null != class487_sub35_sub15) {
	    Class612 class612 = Class653.method7776(1077031865);
	    ((Class612) class612).anIntArray8023
		= new int[1029100355 * class487_sub35_sub15.anInt11467];
	    ((Class612) class612).anObjectArray8025
		= new String[42167939 * class487_sub35_sub15.anInt11468];
	    ((Class612) class612).anObjectArray8025[0] = string;
	    ((Class612) class612).anIntArray8023[0] = i_5_;
	    Class579.method7059(class487_sub35_sub15, 200000, class612,
				1457906692);
	}
    }
    
    static final void method6892(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	String string = (String) (((Class612) class612).anObjectArray8034
				  [(((Class612) class612).anInt8017
				    -= 1516150619) * -1930397485]);
	if (Class53.method933(string, class612, 889576067) != null)
	    string = string.substring(0, string.length() - 1);
	class211.anObjectArray2386
	    = Class487_Sub21.method9339(string, class612, 65280);
	class211.aBool2360 = true;
    }
    
    static Class265 method6893(int i, int i_7_) {
	if (1510528383 * ((Class265) Class265.aClass265_3118).anInt3119 == i)
	    return Class265.aClass265_3118;
	if (i == 1510528383 * ((Class265) Class265.aClass265_3120).anInt3119)
	    return Class265.aClass265_3120;
	if (((Class265) Class265.aClass265_3117).anInt3119 * 1510528383 == i)
	    return Class265.aClass265_3117;
	return null;
    }
    
    static final void method6894(Class612 class612, int i) {
	int i_8_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	Class211 class211 = Class156.method2513(i_8_, (short) -13043);
	Class203 class203 = Class163_Sub20.aClass203Array9719[i_8_ >> 16];
	Class433.method5300(class211, class203, class612, -502648467);
    }
    
    public static Class65 method6895(byte i) {
	if (Class41.method851(487402729 * client.anInt10701, 1136897704)
	    || 0 == client.anInt10701 * 487402729)
	    return client.aClass65_10676;
	return client.aClass65_10744;
    }
    
    static Class211 method6896(Class211 class211, short i) {
	Class211 class211_9_ = client.method10020(class211);
	if (null == class211_9_)
	    class211_9_ = class211.aClass211_2371;
	return class211_9_;
    }
    
    public static final int method6897(String string, int i) {
	if (null == string || string.length() == 0)
	    return -1;
	for (int i_10_ = 0; i_10_ < 1927772793 * client.anInt10977; i_10_++) {
	    if (string.equalsIgnoreCase(client.aClass30Array10979[i_10_]
					.aString433))
		return i_10_;
	}
	return -1;
    }
    
    public static int method6898(int i, boolean bool, byte i_11_) {
	if (bool)
	    return 0;
	Class487_Sub8 class487_sub8 = Class68.method1094(i, bool, -1603759804);
	if (null == class487_sub8)
	    return ((((Class487_Sub35_Sub2) Class163_Sub18
						.aClass662_Sub22_9712
						.method31(i, -1840419959))
		     .anInt11011)
		    * 1079278393);
	int i_12_ = 0;
	for (int i_13_ = 0;
	     i_13_ < ((Class487_Sub8) class487_sub8).anIntArray10114.length;
	     i_13_++) {
	    if (((Class487_Sub8) class487_sub8).anIntArray10114[i_13_] == -1)
		i_12_++;
	}
	i_12_
	    += ((((Class487_Sub35_Sub2)
		  Class163_Sub18.aClass662_Sub22_9712.method31(i, 1706005101))
		 .anInt11011) * 1079278393
		- ((Class487_Sub8) class487_sub8).anIntArray10114.length);
	return i_12_;
    }
    
    static void method6899(byte i) {
	Class70.anInt992 = 0;
	Class70.anInt987 = -250470807;
	Class70.anInt978 = 56860345;
    }
}
