/* Class295 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class Class295
{
    boolean aBool4299;
    int anInt4300;
    int anInt4301;
    static final int anInt4302 = 60000;
    volatile int anInt4303 = 0;
    static final int anInt4304 = 2;
    static final int anInt4305 = 10000;
    long aLong4306;
    static final int anInt4307 = 10000;
    static final int anInt4308 = 10;
    String aString4309;
    ExecutorService anExecutorService4310 = Executors.newFixedThreadPool(2);
    public static int anInt4311;
    
    void method5897(boolean bool) {
	((Class295) this).aBool4299 = bool;
    }
    
    void method5898() {
	((Class295) this).anInt4303 -= -213693673;
    }
    
    boolean method5899(int i) {
	return 342400167 * ((Class295) this).anInt4303 >= 10;
    }
    
    Class243_Sub11_Sub8_Sub3 method5900(byte i) {
	return method5901(255, 255, (byte) 0, true, 0, 0, -854351234);
    }
    
    Class243_Sub11_Sub8_Sub3 method5901(int i, int i_0_, byte i_1_,
					boolean bool, int i_2_, int i_3_,
					int i_4_) {
	if (i < 0 || i_0_ < 0)
	    throw new RuntimeException(new StringBuilder().append(i).append
					   (",").append
					   (i_0_).toString());
	if (method5899(2145048544))
	    return null;
	boolean bool_5_ = 255 == i && i_0_ == 255;
	if (!((Class295) this).aBool4299 && !bool_5_)
	    return null;
	if (10000L + ((Class295) this).aLong4306 * -5212591932814781035L
	    >= Class46.method1238(-1213533753))
	    return null;
	Object object = null;
	String string;
	if (bool_5_)
	    string = new StringBuilder().append("&cb=").append
			 (Class46.method1238(219423193)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_2_).append
			 ("&v=").append
			 (i_3_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class295) this).aString4309,
			  499112455 * ((Class295) this).anInt4300,
			  new StringBuilder().append("/ms?m=").append
			      (((Class295) this).anInt4301 * 705703459).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_0_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class243_Sub11_Sub8_Sub3 class243_sub11_sub8_sub3
	    = new Class243_Sub11_Sub8_Sub3(i_1_);
	((Class243_Sub11_Sub8_Sub3) class243_sub11_sub8_sub3).aBool10721
	    = bool;
	((Class295) this).anInt4303 += -213693673;
	Future future
	    = ((Class295) this).anExecutorService4310
		  .submit(new Class266(this, url, class243_sub11_sub8_sub3));
	class243_sub11_sub8_sub3.method17802(future, -1181813888);
	return class243_sub11_sub8_sub3;
    }
    
    void method5902(int i) {
	((Class295) this).anInt4303 -= -213693673;
    }
    
    public void method5903(int i) {
	((Class295) this).anExecutorService4310.shutdown();
    }
    
    void method5904(boolean bool, byte i) {
	((Class295) this).aBool4299 = bool;
    }
    
    public void method5905(String string, int i) {
	((Class295) this).aString4309 = string;
	((Class295) this).anInt4300 = i * -649694281;
    }
    
    public void method5906() {
	((Class295) this).anExecutorService4310.shutdown();
    }
    
    Class243_Sub11_Sub8_Sub3 method5907(int i, int i_6_, byte i_7_,
					boolean bool, int i_8_, int i_9_) {
	if (i < 0 || i_6_ < 0)
	    throw new RuntimeException(new StringBuilder().append(i).append
					   (",").append
					   (i_6_).toString());
	if (method5899(2135528773))
	    return null;
	boolean bool_10_ = 255 == i && i_6_ == 255;
	if (!((Class295) this).aBool4299 && !bool_10_)
	    return null;
	if (10000L + ((Class295) this).aLong4306 * -5212591932814781035L
	    >= Class46.method1238(2055837795))
	    return null;
	Object object = null;
	String string;
	if (bool_10_)
	    string = new StringBuilder().append("&cb=").append
			 (Class46.method1238(1925152045)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_8_).append
			 ("&v=").append
			 (i_9_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class295) this).aString4309,
			  499112455 * ((Class295) this).anInt4300,
			  new StringBuilder().append("/ms?m=").append
			      (((Class295) this).anInt4301 * 705703459).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_6_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class243_Sub11_Sub8_Sub3 class243_sub11_sub8_sub3
	    = new Class243_Sub11_Sub8_Sub3(i_7_);
	((Class243_Sub11_Sub8_Sub3) class243_sub11_sub8_sub3).aBool10721
	    = bool;
	((Class295) this).anInt4303 += -213693673;
	Future future
	    = ((Class295) this).anExecutorService4310
		  .submit(new Class266(this, url, class243_sub11_sub8_sub3));
	class243_sub11_sub8_sub3.method17802(future, -1918330574);
	return class243_sub11_sub8_sub3;
    }
    
    boolean method5908() {
	return 342400167 * ((Class295) this).anInt4303 >= 10;
    }
    
    public void method5909(String string, int i) {
	((Class295) this).aString4309 = string;
	((Class295) this).anInt4300 = i * -649694281;
    }
    
    Class243_Sub11_Sub8_Sub3 method5910() {
	return method5901(255, 255, (byte) 0, true, 0, 0, -1309568532);
    }
    
    Class243_Sub11_Sub8_Sub3 method5911(int i, int i_11_, byte i_12_,
					boolean bool, int i_13_, int i_14_) {
	if (i < 0 || i_11_ < 0)
	    throw new RuntimeException(new StringBuilder().append(i).append
					   (",").append
					   (i_11_).toString());
	if (method5899(2125475547))
	    return null;
	boolean bool_15_ = 255 == i && i_11_ == 255;
	if (!((Class295) this).aBool4299 && !bool_15_)
	    return null;
	if (10000L + ((Class295) this).aLong4306 * -5212591932814781035L
	    >= Class46.method1238(249202107))
	    return null;
	Object object = null;
	String string;
	if (bool_15_)
	    string = new StringBuilder().append("&cb=").append
			 (Class46.method1238(-1494506879)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_13_).append
			 ("&v=").append
			 (i_14_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class295) this).aString4309,
			  499112455 * ((Class295) this).anInt4300,
			  new StringBuilder().append("/ms?m=").append
			      (((Class295) this).anInt4301 * 705703459).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_11_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class243_Sub11_Sub8_Sub3 class243_sub11_sub8_sub3
	    = new Class243_Sub11_Sub8_Sub3(i_12_);
	((Class243_Sub11_Sub8_Sub3) class243_sub11_sub8_sub3).aBool10721
	    = bool;
	((Class295) this).anInt4303 += -213693673;
	Future future
	    = ((Class295) this).anExecutorService4310
		  .submit(new Class266(this, url, class243_sub11_sub8_sub3));
	class243_sub11_sub8_sub3.method17802(future, 721268118);
	return class243_sub11_sub8_sub3;
    }
    
    public void method5912() {
	((Class295) this).anExecutorService4310.shutdown();
    }
    
    Class243_Sub11_Sub8_Sub3 method5913(int i, int i_16_, byte i_17_,
					boolean bool, int i_18_, int i_19_) {
	if (i < 0 || i_16_ < 0)
	    throw new RuntimeException(new StringBuilder().append(i).append
					   (",").append
					   (i_16_).toString());
	if (method5899(2136600121))
	    return null;
	boolean bool_20_ = 255 == i && i_16_ == 255;
	if (!((Class295) this).aBool4299 && !bool_20_)
	    return null;
	if (10000L + ((Class295) this).aLong4306 * -5212591932814781035L
	    >= Class46.method1238(2115180516))
	    return null;
	Object object = null;
	String string;
	if (bool_20_)
	    string = new StringBuilder().append("&cb=").append
			 (Class46.method1238(-273753062)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_18_).append
			 ("&v=").append
			 (i_19_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class295) this).aString4309,
			  499112455 * ((Class295) this).anInt4300,
			  new StringBuilder().append("/ms?m=").append
			      (((Class295) this).anInt4301 * 705703459).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_16_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class243_Sub11_Sub8_Sub3 class243_sub11_sub8_sub3
	    = new Class243_Sub11_Sub8_Sub3(i_17_);
	((Class243_Sub11_Sub8_Sub3) class243_sub11_sub8_sub3).aBool10721
	    = bool;
	((Class295) this).anInt4303 += -213693673;
	Future future
	    = ((Class295) this).anExecutorService4310
		  .submit(new Class266(this, url, class243_sub11_sub8_sub3));
	class243_sub11_sub8_sub3.method17802(future, -1904299260);
	return class243_sub11_sub8_sub3;
    }
    
    Class243_Sub11_Sub8_Sub3 method5914(int i, int i_21_, byte i_22_,
					boolean bool, int i_23_, int i_24_) {
	if (i < 0 || i_21_ < 0)
	    throw new RuntimeException(new StringBuilder().append(i).append
					   (",").append
					   (i_21_).toString());
	if (method5899(2129278140))
	    return null;
	boolean bool_25_ = 255 == i && i_21_ == 255;
	if (!((Class295) this).aBool4299 && !bool_25_)
	    return null;
	if (10000L + ((Class295) this).aLong4306 * -5212591932814781035L
	    >= Class46.method1238(-522472266))
	    return null;
	Object object = null;
	String string;
	if (bool_25_)
	    string = new StringBuilder().append("&cb=").append
			 (Class46.method1238(-1194277189)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_23_).append
			 ("&v=").append
			 (i_24_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class295) this).aString4309,
			  499112455 * ((Class295) this).anInt4300,
			  new StringBuilder().append("/ms?m=").append
			      (((Class295) this).anInt4301 * 705703459).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_21_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class243_Sub11_Sub8_Sub3 class243_sub11_sub8_sub3
	    = new Class243_Sub11_Sub8_Sub3(i_22_);
	((Class243_Sub11_Sub8_Sub3) class243_sub11_sub8_sub3).aBool10721
	    = bool;
	((Class295) this).anInt4303 += -213693673;
	Future future
	    = ((Class295) this).anExecutorService4310
		  .submit(new Class266(this, url, class243_sub11_sub8_sub3));
	class243_sub11_sub8_sub3.method17802(future, 236423139);
	return class243_sub11_sub8_sub3;
    }
    
    boolean method5915() {
	return 342400167 * ((Class295) this).anInt4303 >= 10;
    }
    
    public Class295(String string, int i, int i_26_) {
	((Class295) this).aBool4299 = false;
	((Class295) this).aString4309 = string;
	((Class295) this).anInt4300 = i * -649694281;
	((Class295) this).anInt4301 = 1670967691 * i_26_;
    }
    
    void method5916() {
	((Class295) this).anInt4303 -= -213693673;
    }
    
    public void method5917() {
	((Class295) this).anExecutorService4310.shutdown();
    }
    
    public void method5918(String string, int i, byte i_27_) {
	((Class295) this).aString4309 = string;
	((Class295) this).anInt4300 = i * -649694281;
    }
    
    public void method5919() {
	((Class295) this).anExecutorService4310.shutdown();
    }
    
    void method5920() {
	((Class295) this).anInt4303 -= -213693673;
    }
    
    void method5921(boolean bool) {
	((Class295) this).aBool4299 = bool;
    }
    
    void method5922(boolean bool) {
	((Class295) this).aBool4299 = bool;
    }
    
    Class243_Sub11_Sub8_Sub3 method5923() {
	return method5901(255, 255, (byte) 0, true, 0, 0, -2092136113);
    }
    
    void method5924(boolean bool) {
	((Class295) this).aBool4299 = bool;
    }
    
    static final void method5925(Class117 class117, Class116 class116,
				 Class479 class479, int i) {
	class117.aString1512
	    = (String) (((Class479) class479).anObjectArray6437
			[((((Class479) class479).anInt6432 -= -1049632545)
			  * -611591393)]);
    }
    
    public static String[] method5926(String string, char c, int i) {
	int i_28_ = Class62.method1502(string, c, (byte) 1);
	String[] strings = new String[1 + i_28_];
	int i_29_ = 0;
	int i_30_ = 0;
	for (int i_31_ = 0; i_31_ < i_28_; i_31_++) {
	    int i_32_;
	    for (i_32_ = i_30_; string.charAt(i_32_) != c; i_32_++) {
		/* empty */
	    }
	    strings[i_29_++] = string.substring(i_30_, i_32_);
	    i_30_ = i_32_ + 1;
	}
	strings[i_28_] = string.substring(i_30_);
	return strings;
    }
    
    public static void method5927(byte i) {
	Class96.aClass431_1074.method7749((byte) 28);
	Class96.aClass420_1078.method7457(1336922723);
	Class96.aClass89Array1072 = null;
	Class96.aClass125Array1079 = null;
	Class547.aClass127Array7087 = null;
	Class195_Sub2_Sub1.aClass92Array10558 = null;
	Class244.aClass120Array3911 = null;
	Class96.anInt1075 = -1034544999;
	Class96.anInt1076 = 0;
	Class96.anInt1071 = 0;
	Class96.aClass107_1083 = null;
	Class96.anInt1082 = -167483255;
	Class96.anInt1081 = 927501077;
	if (Class96.aBool1077) {
	    client.aShort8401 = Class96.aShort1073;
	    client.aShort8402 = Class6.aShort27;
	    client.aShort8399 = Class243_Sub11_Sub6_Sub1.aShort11094;
	    client.aShort8400 = Class96.aShort1080;
	    Class96.aBool1077 = false;
	}
    }
    
    public static void method5928(int i, int i_33_, int i_34_, int i_35_) {
	Class530 class530 = client.aClass234_8188.method4680(-1179382240);
	int i_36_ = -1311746247 * class530.anInt6972 + i_33_;
	int i_37_ = i_34_ + class530.anInt6971 * -1935870687;
	if (client.aClass234_8188.method4711(-1397341355) != null
	    && (client.aClass234_8188.method4676((byte) 0)
		!= Class221.aClass221_2545)
	    && i_33_ >= 0 && i_34_ >= 0
	    && i_33_ < client.aClass234_8188.method4744(-1920759431)
	    && i_34_ < client.aClass234_8188.method4682(-1782413910)) {
	    long l = (long) (i << 28 | i_37_ << 14 | i_36_);
	    Class243_Sub23 class243_sub23
		= (Class243_Sub23) client.aClass431_8142.method7744(l);
	    if (null == class243_sub23)
		client.aClass234_8188.method4711(-1121032357)
		    .method12440(i, i_33_, i_34_, 955143583);
	    else {
		Class243_Sub29 class243_sub29
		    = ((Class243_Sub29)
		       class243_sub23.aClass420_9814.method7523(289453975));
		if (null == class243_sub29)
		    client.aClass234_8188.method4711(517792764)
			.method12440(i, i_33_, i_34_, 955143583);
		else {
		    int i_38_ = -1;
		    int i_39_ = -1;
		    int i_40_ = -1;
		    Class350 class350 = null;
		    Class350 class350_41_ = null;
		    Class350 class350_42_ = null;
		    Class478_Sub1_Sub2_Sub1 class478_sub1_sub2_sub1
			= ((Class478_Sub1_Sub2_Sub1)
			   client.aClass234_8188.method4711(-1492313567)
			       .method12440(i, i_33_, i_34_, 955143583));
		    if (class478_sub1_sub2_sub1 == null)
			class478_sub1_sub2_sub1
			    = (new Class478_Sub1_Sub2_Sub1
			       (client.aClass234_8188.method4711(-1010534408),
				i_33_ << 265,
				client.aClass234_8188.method4711
				    (-1046353930).aClass163Array7363[i]
				    .method3790(i_33_, i_34_, -1865155468),
				i_34_ << 265, i, i));
		    else {
			i_38_
			    = -808328923 * class478_sub1_sub2_sub1.anInt11286;
			i_39_
			    = -1966731453 * class478_sub1_sub2_sub1.anInt11287;
			i_40_
			    = -384136641 * class478_sub1_sub2_sub1.anInt11289;
			class350 = class478_sub1_sub2_sub1.aClass350_11291;
			class350_41_ = class478_sub1_sub2_sub1.aClass350_11288;
			class350_42_ = class478_sub1_sub2_sub1.aClass350_11293;
			Class478_Sub1_Sub2_Sub1 class478_sub1_sub2_sub1_43_
			    = class478_sub1_sub2_sub1;
			class478_sub1_sub2_sub1.anInt11289 = -693659071;
			class478_sub1_sub2_sub1_43_.anInt11287 = -1844082027;
			class478_sub1_sub2_sub1.aClass569_8554
			    = client.aClass234_8188.method4711(37865404);
		    }
		    class478_sub1_sub2_sub1.anInt11286
			= 2082742139 * class243_sub29.anInt9870;
		    class478_sub1_sub2_sub1.anInt11290
			= (591173581
			   * ((Class243_Sub29) class243_sub29).anInt9871);
		while_38_:
		    do {
			Class243_Sub29 class243_sub29_44_;
			do {
			    class243_sub29_44_
				= ((Class243_Sub29)
				   class243_sub23.aClass420_9814
				       .method7520(-1885261715));
			    if (class243_sub29_44_ == null)
				break while_38_;
			} while ((class478_sub1_sub2_sub1.anInt11286
				  * -808328923)
				 == -649156665 * class243_sub29_44_.anInt9870);
			class478_sub1_sub2_sub1.anInt11287
			    = class243_sub29_44_.anInt9870 * -579595475;
			class478_sub1_sub2_sub1.anInt11284
			    = (((Class243_Sub29) class243_sub29_44_).anInt9871
			       * 1225566983);
			for (;;) {
			    Class243_Sub29 class243_sub29_45_
				= ((Class243_Sub29)
				   class243_sub23.aClass420_9814
				       .method7520(-1238753516));
			    if (null == class243_sub29_45_)
				break;
			    if (((class478_sub1_sub2_sub1.anInt11286
				  * -808328923)
				 != -649156665 * class243_sub29_45_.anInt9870)
				&& ((-1966731453
				     * class478_sub1_sub2_sub1.anInt11287)
				    != (-649156665
					* class243_sub29_45_.anInt9870))) {
				class478_sub1_sub2_sub1.anInt11289
				    = (-1253527431
				       * class243_sub29_45_.anInt9870);
				class478_sub1_sub2_sub1.anInt11292
				    = (-1102225571
				       * (((Class243_Sub29) class243_sub29_45_)
					  .anInt9871));
			    }
			}
		    } while (false);
		    int i_46_ = Class208.method4300(256 + (i_33_ << 9),
						    256 + (i_34_ << 9), i,
						    337951590);
		    class478_sub1_sub2_sub1.method8471((float) (i_33_ << 265),
						       (float) i_46_,
						       (float) (i_34_ << 265));
		    if (i_38_
			!= -808328923 * class478_sub1_sub2_sub1.anInt11286) {
			if (class478_sub1_sub2_sub1.anInt11286 * -808328923
			    == i_39_)
			    class478_sub1_sub2_sub1.aClass350_11291
				= class350_41_;
			else if (i_40_ == (class478_sub1_sub2_sub1.anInt11286
					   * -808328923))
			    class478_sub1_sub2_sub1.aClass350_11291
				= class350_42_;
			else if (Class67.aClass609_850.method13179
				 ((-808328923
				   * class478_sub1_sub2_sub1.anInt11286),
				  1514455134)
				 .aBool8068)
			    class478_sub1_sub2_sub1.aClass350_11291
				= Class175.method3885((byte) 28);
			else
			    class478_sub1_sub2_sub1.aClass350_11291 = null;
		    }
		    if (-1 == class478_sub1_sub2_sub1.anInt11287 * -1966731453)
			class478_sub1_sub2_sub1.aClass350_11288 = null;
		    else if (class478_sub1_sub2_sub1.anInt11287 * -1966731453
			     != i_39_) {
			if (-1966731453 * class478_sub1_sub2_sub1.anInt11287
			    == i_38_)
			    class478_sub1_sub2_sub1.aClass350_11288 = class350;
			else if (i_40_
				 == (-1966731453
				     * class478_sub1_sub2_sub1.anInt11287))
			    class478_sub1_sub2_sub1.aClass350_11288
				= class350_42_;
			else if (Class67.aClass609_850.method13179
				 ((class478_sub1_sub2_sub1.anInt11287
				   * -1966731453),
				  1211503153)
				 .aBool8068)
			    class478_sub1_sub2_sub1.aClass350_11288
				= Class175.method3885((byte) 28);
			else
			    class478_sub1_sub2_sub1.aClass350_11288 = null;
		    }
		    if (-1 == -384136641 * class478_sub1_sub2_sub1.anInt11289)
			class478_sub1_sub2_sub1.aClass350_11293 = null;
		    else if (i_40_ != (class478_sub1_sub2_sub1.anInt11289
				       * -384136641)) {
			if (i_38_
			    == -384136641 * class478_sub1_sub2_sub1.anInt11289)
			    class478_sub1_sub2_sub1.aClass350_11293 = class350;
			else if ((-384136641
				  * class478_sub1_sub2_sub1.anInt11289)
				 == i_39_)
			    class478_sub1_sub2_sub1.aClass350_11293
				= class350_41_;
			else if (Class67.aClass609_850.method13179
				 ((-384136641
				   * class478_sub1_sub2_sub1.anInt11289),
				  1129723053)
				 .aBool8068)
			    class478_sub1_sub2_sub1.aClass350_11293
				= Class175.method3885((byte) 17);
			else
			    class478_sub1_sub2_sub1.aClass350_11293 = null;
		    }
		    class478_sub1_sub2_sub1.anInt11294 = 0;
		    class478_sub1_sub2_sub1.aByte8557 = (byte) i;
		    class478_sub1_sub2_sub1.aByte8555 = (byte) i;
		    if (client.aClass234_8188.method4690(1763477615)
			    .method5892(i_33_, i_34_, 1103347921))
			class478_sub1_sub2_sub1.aByte8555++;
		    client.aClass234_8188.method4711(-1966257820).method12536
			(i, i_33_, i_34_, i_46_, class478_sub1_sub2_sub1,
			 (short) -11499);
		}
	    }
	}
    }
    
    static final void method5929(Class479 class479, int i) {
	((Class479) class479).anInt6442 -= 1977707898;
	if ((((Class479) class479).anIntArray6435
	     [-117934955 * ((Class479) class479).anInt6442])
	    > (((Class479) class479).anIntArray6435
	       [-117934955 * ((Class479) class479).anInt6442 + 1]))
	    ((Class479) class479).anInt6458
		+= (-432818073
		    * (((Class479) class479).anIntArray6456
		       [1798300503 * ((Class479) class479).anInt6458]));
    }
}
