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

public class Class285 {
	String aString4267;
	static final int anInt4268 = 10000;
	int anInt4269;
	ExecutorService anExecutorService4270;
	volatile int anInt4271 = 0;
	static final int anInt4272 = 2;
	static final int anInt4273 = 10;
	long aLong4274;
	boolean aBool4275;
	static final int anInt4276 = 10000;
	static final int anInt4277 = 60000;
	int anInt4278;

	public void method5705(String string, int i, int i_0_) {
		((Class285) this).aString4267 = string;
		((Class285) this).anInt4278 = i * 1348607279;
	}

	Class587_Sub34_Sub15_Sub3 method5706(int i, int i_1_, byte i_2_, boolean bool, int i_3_, int i_4_, byte i_5_) {
		if (i < 0 || i_1_ < 0)
			throw new RuntimeException(new StringBuilder().append(i).append(",").append(i_1_).toString());
		if (method5707((byte) 4))
			return null;
		boolean bool_6_ = i == 255 && i_1_ == 255;
		if (!((Class285) this).aBool4275 && !bool_6_)
			return null;
		if (10000L + 3622399665594832163L * ((Class285) this).aLong4274 >= Class121.method2891(1571430354))
			return null;
		Object object = null;
		String string;
		if (bool_6_)
			string = new StringBuilder().append("&cb=").append(Class121.method2891(-2024675962)).toString();
		else
			string = new StringBuilder().append("&c=").append(i_3_).append("&v=").append(i_4_).toString();
		URL url;
		try {
			url = new URL("http", ((Class285) this).aString4267, 958941647 * ((Class285) this).anInt4278, new StringBuilder().append("/ms?m=").append(-897614897 * ((Class285) this).anInt4269).append("&a=").append(i).append("&g=").append(i_1_).append(string).toString());
		} catch (MalformedURLException malformedurlexception) {
			return null;
		}
		Class587_Sub34_Sub15_Sub3 class587_sub34_sub15_sub3 = new Class587_Sub34_Sub15_Sub3(i_2_);
		((Class587_Sub34_Sub15_Sub3) class587_sub34_sub15_sub3).aBool10747 = bool;
		((Class285) this).anInt4271 += 909298445;
		Future future = ((Class285) this).anExecutorService4270.submit(new Class287(this, url, class587_sub34_sub15_sub3));
		class587_sub34_sub15_sub3.method17291(future, (byte) 6);
		return class587_sub34_sub15_sub3;
	}

	boolean method5707(byte i) {
		return ((Class285) this).anInt4271 * -1339753531 >= 10;
	}

	Class587_Sub34_Sub15_Sub3 method5708(byte i) {
		return method5706(255, 255, (byte) 0, true, 0, 0, (byte) 12);
	}

	public Class285(String string, int i, int i_7_) {
		((Class285) this).anExecutorService4270 = Executors.newFixedThreadPool(2);
		((Class285) this).aBool4275 = false;
		((Class285) this).aString4267 = string;
		((Class285) this).anInt4278 = 1348607279 * i;
		((Class285) this).anInt4269 = i_7_ * 1460382511;
	}

	void method5709(int i) {
		((Class285) this).anInt4271 -= 909298445;
	}

	public void method5710(String string, int i) {
		((Class285) this).aString4267 = string;
		((Class285) this).anInt4278 = i * 1348607279;
	}

	void method5711(boolean bool, byte i) {
		((Class285) this).aBool4275 = bool;
	}

	public void method5712(int i) {
		((Class285) this).anExecutorService4270.shutdown();
	}

	void method5713() {
		((Class285) this).anInt4271 -= 909298445;
	}

	boolean method5714() {
		return ((Class285) this).anInt4271 * -1339753531 >= 10;
	}

	Class587_Sub34_Sub15_Sub3 method5715() {
		return method5706(255, 255, (byte) 0, true, 0, 0, (byte) 12);
	}

	Class587_Sub34_Sub15_Sub3 method5716() {
		return method5706(255, 255, (byte) 0, true, 0, 0, (byte) 28);
	}

	Class587_Sub34_Sub15_Sub3 method5717() {
		return method5706(255, 255, (byte) 0, true, 0, 0, (byte) 46);
	}

	Class587_Sub34_Sub15_Sub3 method5718(int i, int i_8_, byte i_9_, boolean bool, int i_10_, int i_11_) {
		if (i < 0 || i_8_ < 0)
			throw new RuntimeException(new StringBuilder().append(i).append(",").append(i_8_).toString());
		if (method5707((byte) 4))
			return null;
		boolean bool_12_ = i == 255 && i_8_ == 255;
		if (!((Class285) this).aBool4275 && !bool_12_)
			return null;
		if (10000L + 3622399665594832163L * ((Class285) this).aLong4274 >= Class121.method2891(1411769681))
			return null;
		Object object = null;
		String string;
		if (bool_12_)
			string = new StringBuilder().append("&cb=").append(Class121.method2891(-1683169001)).toString();
		else
			string = new StringBuilder().append("&c=").append(i_10_).append("&v=").append(i_11_).toString();
		URL url;
		try {
			url = new URL("http", ((Class285) this).aString4267, 958941647 * ((Class285) this).anInt4278, new StringBuilder().append("/ms?m=").append(-897614897 * ((Class285) this).anInt4269).append("&a=").append(i).append("&g=").append(i_8_).append(string).toString());
		} catch (MalformedURLException malformedurlexception) {
			return null;
		}
		Class587_Sub34_Sub15_Sub3 class587_sub34_sub15_sub3 = new Class587_Sub34_Sub15_Sub3(i_9_);
		((Class587_Sub34_Sub15_Sub3) class587_sub34_sub15_sub3).aBool10747 = bool;
		((Class285) this).anInt4271 += 909298445;
		Future future = ((Class285) this).anExecutorService4270.submit(new Class287(this, url, class587_sub34_sub15_sub3));
		class587_sub34_sub15_sub3.method17291(future, (byte) 6);
		return class587_sub34_sub15_sub3;
	}

	void method5719() {
		((Class285) this).anInt4271 -= 909298445;
	}

	public void method5720(String string, int i) {
		((Class285) this).aString4267 = string;
		((Class285) this).anInt4278 = i * 1348607279;
	}

	void method5721(boolean bool) {
		((Class285) this).aBool4275 = bool;
	}

	void method5722(boolean bool) {
		((Class285) this).aBool4275 = bool;
	}

	void method5723(boolean bool) {
		((Class285) this).aBool4275 = bool;
	}

	static final void method5724(Class477 class477, int i) throws Exception_Sub4 {
		Class426.aClass72_Sub1_6203.method1644((byte) 70);
	}

	static void method5725(long l) {
		Class617.aCalendar7861.setTime(new Date(l));
	}
}
