/* Class156 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

final class Class156 implements Interface13
{
    public int method52(Class122 class122, int i) {
	Class487_Sub28 class487_sub28
	    = ((Class487_Sub28)
	       Class171.aClass666_1981
		   .method7918((long) (498910371 * class122.anInt1480)));
	if (class487_sub28 == null)
	    return Class452.aClass69_5208.method52(class122, 863462163);
	return -1323364665 * class487_sub28.anInt10251;
    }
    
    public int method53(Class284 class284, byte i) {
	Class487_Sub28 class487_sub28
	    = ((Class487_Sub28)
	       Class171.aClass666_1981.method7918(0x100000000L
						  | (long) (-5522241
							    * (class284
							       .anInt3273))));
	if (class487_sub28 == null)
	    return Class452.aClass69_5208.method53(class284, (byte) -124);
	return -1323364665 * class487_sub28.anInt10251;
    }
    
    public int method54(Class284 class284) {
	Class487_Sub28 class487_sub28
	    = ((Class487_Sub28)
	       Class171.aClass666_1981.method7918(0x100000000L
						  | (long) (-5522241
							    * (class284
							       .anInt3273))));
	if (class487_sub28 == null)
	    return Class452.aClass69_5208.method53(class284, (byte) -16);
	return -1323364665 * class487_sub28.anInt10251;
    }
    
    public int method51(Class122 class122) {
	Class487_Sub28 class487_sub28
	    = ((Class487_Sub28)
	       Class171.aClass666_1981
		   .method7918((long) (498910371 * class122.anInt1480)));
	if (class487_sub28 == null)
	    return Class452.aClass69_5208.method52(class122, -126236152);
	return -1323364665 * class487_sub28.anInt10251;
    }
    
    static final void method2511(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	((Class612) class612).anInt8022 -= 402182018;
	class211.anInt2417
	    = -1733277879 * (((Class612) class612).anIntArray8021
			     [-40654783 * ((Class612) class612).anInt8022]);
	class211.anInt2271
	    = (((Class612) class612).anIntArray8021
	       [-40654783 * ((Class612) class612).anInt8022 + 1]) * -471045765;
	Class67_Sub1_Sub2.method10127(class211, (short) 492);
	if (0 == -130185867 * class211.anInt2246)
	    Class600.method7322(class203, class211, false, 1691503724);
    }
    
    static String method2512(String string, boolean bool, int i) {
	String string_0_ = bool ? "https://" : "http://";
	if (Class2.aClass607_18 == Class607.aClass607_7976)
	    string = new StringBuilder().append(string).append("-wtrc")
			 .toString();
	else if (Class2.aClass607_18 == Class607.aClass607_7975)
	    string = new StringBuilder().append(string).append("-wtqa")
			 .toString();
	else if (Class607.aClass607_7987 == Class2.aClass607_18)
	    string = new StringBuilder().append(string).append("-wtwip")
			 .toString();
	else if (Class2.aClass607_18 == Class607.aClass607_7980)
	    string
		= new StringBuilder().append(string).append("-wti").toString();
	else if (Class2.aClass607_18 == Class607.aClass607_7986)
	    string = new StringBuilder().append(string).append("-demo")
			 .toString();
	else if (Class607.aClass607_7979 == Class2.aClass607_18)
	    string = "local";
	String string_1_ = "";
	if (null != client.aString10670)
	    string_1_ = new StringBuilder().append("/p=").append
			    (client.aString10670).toString();
	String string_2_ = new StringBuilder().append
			       (client.aClass616_10944.aString8059).append
			       (".com").toString();
	return new StringBuilder().append(string_0_).append(string).append
		   (".").append
		   (string_2_).append
		   ("/l=").append
		   (2055010065 * Class152_Sub4.aClass621_9504.anInt8068).append
		   ("/a=").append
		   (client.anInt10836 * 364453011).append
		   (string_1_).append
		   ("/").toString();
    }
    
    public static Class211 method2513(int i, short i_3_) {
	int i_4_ = i >> 16;
	if (Class163_Sub20.aClass203Array9719[i_4_] == null
	    || (Class163_Sub20.aClass203Array9719[i_4_].method2995(i, (byte) 6)
		== null)) {
	    boolean bool = Class297_Sub1.method8839(i_4_, null, -2104313182);
	    if (!bool)
		return null;
	}
	return Class163_Sub20.aClass203Array9719[i_4_].method2995(i,
								  (byte) 100);
    }
    
    static void method2514(int i, int i_5_, int i_6_, int i_7_, boolean bool,
			   int i_8_) {
	long l = (long) (i | (bool ? -2147483648 : 0));
	Class487_Sub8 class487_sub8
	    = (Class487_Sub8) Class487_Sub8.aClass666_10116.method7918(l);
	if (class487_sub8 == null) {
	    class487_sub8 = new Class487_Sub8();
	    Class487_Sub8.aClass666_10116.method7922(class487_sub8, l);
	}
	if (((Class487_Sub8) class487_sub8).anIntArray10114.length <= i_5_) {
	    int[] is = new int[i_5_ + 1];
	    int[] is_9_ = new int[1 + i_5_];
	    for (int i_10_ = 0;
		 (i_10_
		  < ((Class487_Sub8) class487_sub8).anIntArray10114.length);
		 i_10_++) {
		is[i_10_]
		    = ((Class487_Sub8) class487_sub8).anIntArray10114[i_10_];
		is_9_[i_10_]
		    = ((Class487_Sub8) class487_sub8).anIntArray10118[i_10_];
	    }
	    for (int i_11_
		     = ((Class487_Sub8) class487_sub8).anIntArray10114.length;
		 i_11_ < i_5_; i_11_++) {
		is[i_11_] = -1;
		is_9_[i_11_] = 0;
	    }
	    ((Class487_Sub8) class487_sub8).anIntArray10114 = is;
	    ((Class487_Sub8) class487_sub8).anIntArray10118 = is_9_;
	}
	((Class487_Sub8) class487_sub8).anIntArray10114[i_5_] = i_6_;
	((Class487_Sub8) class487_sub8).anIntArray10118[i_5_] = i_7_;
    }
}
