/* Class442 - 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 Class442
{
    static final int anInt5060 = 2;
    int anInt5061;
    int anInt5062;
    static final int anInt5063 = 10;
    volatile int anInt5064 = 0;
    static final int anInt5065 = 60000;
    ExecutorService anExecutorService5066 = Executors.newFixedThreadPool(2);
    long aLong5067;
    static final int anInt5068 = 10000;
    static final int anInt5069 = 10000;
    String aString5070;
    boolean aBool5071 = false;
    
    public void method5352() {
	((Class442) this).anExecutorService5066.shutdown();
    }
    
    boolean method5353() {
	return ((Class442) this).anInt5064 * 856133131 >= 10;
    }
    
    public void method5354(int i) {
	((Class442) this).anExecutorService5066.shutdown();
    }
    
    Class487_Sub35_Sub10_Sub3 method5355(byte i) {
	return method5356(255, 255, (byte) 0, true, 0, 0, 2123109189);
    }
    
    Class487_Sub35_Sub10_Sub3 method5356(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 (method5365((byte) -125))
	    return null;
	boolean bool_5_ = i == 255 && 255 == i_0_;
	if (!((Class442) this).aBool5071 && !bool_5_)
	    return null;
	if (10000L + ((Class442) this).aLong5067 * 7604432727720046713L
	    >= Class222.method3225(1995325898))
	    return null;
	Object object = null;
	String string;
	if (bool_5_)
	    string = new StringBuilder().append("&cb=").append
			 (Class222.method3225(1983229033)).toString();
	else
	    string = new StringBuilder().append("&c=").append(i_2_).append
			 ("&v=").append
			 (i_3_).toString();
	URL url;
	try {
	    url = new URL("http", ((Class442) this).aString5070,
			  -288670491 * ((Class442) this).anInt5061,
			  new StringBuilder().append("/ms?m=").append
			      (782691907 * ((Class442) this).anInt5062).append
			      ("&a=").append
			      (i).append
			      ("&g=").append
			      (i_0_).append
			      (string).toString());
	} catch (MalformedURLException malformedurlexception) {
	    return null;
	}
	Class487_Sub35_Sub10_Sub3 class487_sub35_sub10_sub3
	    = new Class487_Sub35_Sub10_Sub3(i_1_);
	((Class487_Sub35_Sub10_Sub3) class487_sub35_sub10_sub3).aBool11431
	    = bool;
	((Class442) this).anInt5064 += 237899171;
	Future future
	    = ((Class442) this).anExecutorService5066
		  .submit(new Class420(this, url, class487_sub35_sub10_sub3));
	class487_sub35_sub10_sub3.method10669(future, -529264798);
	return class487_sub35_sub10_sub3;
    }
    
    void method5357(byte i) {
	((Class442) this).anInt5064 -= 237899171;
    }
    
    void method5358() {
	((Class442) this).anInt5064 -= 237899171;
    }
    
    void method5359(boolean bool, byte i) {
	((Class442) this).aBool5071 = bool;
    }
    
    boolean method5360() {
	return ((Class442) this).anInt5064 * 856133131 >= 10;
    }
    
    boolean method5361() {
	return ((Class442) this).anInt5064 * 856133131 >= 10;
    }
    
    public void method5362(String string, int i, int i_6_) {
	((Class442) this).aString5070 = string;
	((Class442) this).anInt5061 = i * -980672275;
    }
    
    void method5363(boolean bool) {
	((Class442) this).aBool5071 = bool;
    }
    
    void method5364() {
	((Class442) this).anInt5064 -= 237899171;
    }
    
    boolean method5365(byte i) {
	return ((Class442) this).anInt5064 * 856133131 >= 10;
    }
    
    void method5366(boolean bool) {
	((Class442) this).aBool5071 = bool;
    }
    
    public Class442(String string, int i, int i_7_) {
	((Class442) this).aString5070 = string;
	((Class442) this).anInt5061 = i * -980672275;
	((Class442) this).anInt5062 = -1061794197 * i_7_;
    }
    
    void method5367(boolean bool) {
	((Class442) this).aBool5071 = bool;
    }
    
    static final void method5368(Class612 class612, int i) {
	if (1 == Class291.anInt3346 * 1040152651)
	    Class71.aBool1004 = true;
	else if (Class291.anInt3346 * 1040152651 == 3)
	    Class71.aBool1001 = true;
    }
    
    public static short[] method5369(short[] is, int i) {
	if (is == null)
	    return null;
	short[] is_8_ = new short[is.length];
	System.arraycopy(is, 0, is_8_, 0, is.length);
	return is_8_;
    }
    
    static final void method5370(Class612 class612, int i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = -1206580487 * client.anInt10795 - client.anInt10794 * 1079907771;
    }
    
    static final void method5371(int i, int i_9_, int i_10_, int i_11_,
				 int i_12_, int i_13_, int i_14_, int i_15_,
				 int i_16_, byte i_17_) {
	if (i_10_ >= 1 && i_11_ >= 1
	    && i_10_ <= client.aClass452_10749.method5543(-1922887390) - 2
	    && i_11_ <= client.aClass452_10749.method5501(-59651755) - 2) {
	    int i_18_ = i;
	    if (i_18_ < 3 && client.aClass452_10749.method5576((byte) -87)
				 .method5316(i_10_, i_11_, 1159687807))
		i_18_++;
	    if (client.aClass452_10749.method5545((byte) 0) != null) {
		client.aClass452_10749.method5514(-1485679866).method9012
		    (Class463.aClass151_5283, i, i_9_, i_10_, i_11_,
		     (byte) -84);
		if (i_12_ >= 0) {
		    int i_19_
			= Class447.aClass487_Sub42_5156
			      .aClass637_Sub14_10507.method9723(-1893073648);
		    Class447.aClass487_Sub42_5156.method9613
			(Class447.aClass487_Sub42_5156.aClass637_Sub14_10507,
			 1, -1452889680);
		    client.aClass452_10749.method5514(-1485679866).method9015
			(Class463.aClass151_5283, i_18_, i, i_10_, i_11_,
			 i_12_, i_13_, i_14_, i_15_, i_16_, (byte) 12);
		    Class447.aClass487_Sub42_5156.method9613
			(Class447.aClass487_Sub42_5156.aClass637_Sub14_10507,
			 i_19_, 444591837);
		}
		Class356.method4446((Class54.aClass590_Sub1_Sub5_Sub1_Sub2_626
				     .aByte10415),
				    -79710852);
	    }
	}
    }
}
