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

public class Class16 implements Interface2
{
    public Interface3 method4(Class42 class42, int i) {
	if (class42 == Class42.aClass42_609)
	    return client.aClass478_Sub1_Sub1_Sub5_Sub2Array8429[i];
	if (class42 == Class42.aClass42_610) {
	    Class243_Sub35 class243_sub35
		= (Class243_Sub35) client.aClass431_8172.method7744((long) i);
	    if (class243_sub35 != null)
		return (Interface3) class243_sub35.anObject9919;
	}
	return null;
    }
    
    public Interface3 method5(Class42 class42, int i, int i_0_) {
	if (class42 == Class42.aClass42_609)
	    return client.aClass478_Sub1_Sub1_Sub5_Sub2Array8429[i];
	if (class42 == Class42.aClass42_610) {
	    Class243_Sub35 class243_sub35
		= (Class243_Sub35) client.aClass431_8172.method7744((long) i);
	    if (class243_sub35 != null)
		return (Interface3) class243_sub35.anObject9919;
	}
	return null;
    }
    
    Class16() {
	/* empty */
    }
    
    public Interface3 method6(Class42 class42, int i) {
	if (class42 == Class42.aClass42_609)
	    return client.aClass478_Sub1_Sub1_Sub5_Sub2Array8429[i];
	if (class42 == Class42.aClass42_610) {
	    Class243_Sub35 class243_sub35
		= (Class243_Sub35) client.aClass431_8172.method7744((long) i);
	    if (class243_sub35 != null)
		return (Interface3) class243_sub35.anObject9919;
	}
	return null;
    }
    
    public Interface3 method7(Class42 class42, int i) {
	if (class42 == Class42.aClass42_609)
	    return client.aClass478_Sub1_Sub1_Sub5_Sub2Array8429[i];
	if (class42 == Class42.aClass42_610) {
	    Class243_Sub35 class243_sub35
		= (Class243_Sub35) client.aClass431_8172.method7744((long) i);
	    if (class243_sub35 != null)
		return (Interface3) class243_sub35.anObject9919;
	}
	return null;
    }
    
    static void method627(int i, int i_1_, Class117 class117,
			  Class171 class171, int i_2_, int i_3_, int i_4_) {
	int i_5_ = Class15.anInt113 * -1498237017;
	int[] is = Class15.anIntArray119;
	for (int i_6_ = 0; i_6_ < i_5_; i_6_++) {
	    Class478_Sub1_Sub1_Sub5_Sub2 class478_sub1_sub1_sub5_sub2
		= client.aClass478_Sub1_Sub1_Sub5_Sub2Array8429[is[i_6_]];
	    if (null != class478_sub1_sub1_sub5_sub2
		&& class478_sub1_sub1_sub5_sub2.method17875(-1222288125)
		&& !class478_sub1_sub1_sub5_sub2.aBool11339
		&& (class478_sub1_sub1_sub5_sub2
		    != Class352.aClass478_Sub1_Sub1_Sub5_Sub2_5430)
		&& (Class352.aClass478_Sub1_Sub1_Sub5_Sub2_5430.aByte8557
		    == class478_sub1_sub1_sub5_sub2.aByte8557)) {
		Class275 class275
		    = class478_sub1_sub1_sub5_sub2.method8465().aClass275_4065;
		int i_7_ = (int) class275.aFloat4140 / 128 - i / 128;
		int i_8_ = (int) class275.aFloat4135 / 128 - i_1_ / 128;
		boolean bool = false;
		for (int i_9_ = 0; i_9_ < client.anInt8408 * -1864493739;
		     i_9_++) {
		    Class24 class24 = client.aClass24Array8368[i_9_];
		    if (class478_sub1_sub1_sub5_sub2.aString11317
			    .equals(class24.aString262)
			&& 0 != class24.anInt263 * -1205301071) {
			bool = true;
			break;
		    }
		}
		boolean bool_10_ = false;
		for (int i_11_ = 0; i_11_ < Class601.anInt7776 * 1486300839;
		     i_11_++) {
		    if (class478_sub1_sub1_sub5_sub2.aString11317.equals
			(Class249_Sub5.aClass204Array10026[i_11_]
			 .aString2428)) {
			bool_10_ = true;
			break;
		    }
		}
		boolean bool_12_ = false;
		if ((Class352.aClass478_Sub1_Sub1_Sub5_Sub2_5430.anInt11330
		     * -1936795659) != 0
		    && 0 != (-1936795659
			     * class478_sub1_sub1_sub5_sub2.anInt11330)
		    && (class478_sub1_sub1_sub5_sub2.anInt11330 * -1936795659
			== (Class352.aClass478_Sub1_Sub1_Sub5_Sub2_5430
			    .anInt11330) * -1936795659))
		    bool_12_ = true;
		if (class478_sub1_sub1_sub5_sub2.aBool11338)
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[6],
				       -1888832847);
		else if (bool_12_)
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[4],
				       -1066565013);
		else if (class478_sub1_sub1_sub5_sub2.aBool11340)
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[7],
				       -528336714);
		else if (bool)
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[3],
				       744479142);
		else if (bool_10_)
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[5],
				       694036237);
		else
		    Class49.method1271(class117, class171, i_2_, i_3_, i_7_,
				       i_8_,
				       Class421_Sub3.aClass135Array8458[2],
				       -1614236049);
	    }
	}
    }
    
    static Class81 method628(int i, int i_13_) {
	if (((Class81) Class81.aClass81_944).anInt941 * 769374791 == i)
	    return Class81.aClass81_944;
	if (769374791 * ((Class81) Class81.aClass81_942).anInt941 == i)
	    return Class81.aClass81_942;
	if (i == ((Class81) Class81.aClass81_943).anInt941 * 769374791)
	    return Class81.aClass81_943;
	return null;
    }
    
    static final void method629(Class479 class479, byte i) {
	int i_14_ = (((Class479) class479).anIntArray6435
		     [((((Class479) class479).anInt6442 -= -1158629699)
		       * -117934955)]);
	Class117 class117 = Class70.method1756(i_14_, (byte) 60);
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = 1320191853 * class117.anInt1385;
    }
    
    static final void method630(Class478_Sub1 class478_sub1, Class479 class479,
				int i) {
	boolean bool = false;
	int i_15_ = 0;
	int i_16_ = 0;
	int i_17_ = 0;
	int i_18_ = 0;
	if (null != class478_sub1.aClass97Array8552) {
	    for (int i_19_ = 0; i_19_ < class478_sub1.aClass97Array8552.length;
		 i_19_++) {
		Class97 class97 = class478_sub1.aClass97Array8552[i_19_];
		if (class97.aBool1086) {
		    int i_20_;
		    int i_21_;
		    if (class97.anInt1088 < class97.anInt1085) {
			i_20_ = class97.anInt1088 - class97.anInt1090;
			i_21_ = class97.anInt1090 + class97.anInt1085;
		    } else {
			i_20_ = class97.anInt1085 - class97.anInt1090;
			i_21_ = class97.anInt1090 + class97.anInt1088;
		    }
		    int i_22_;
		    int i_23_;
		    if (class97.anInt1089 < class97.anInt1087) {
			i_22_ = class97.anInt1089 - class97.anInt1090;
			i_23_ = class97.anInt1087 + class97.anInt1090;
		    } else {
			i_22_ = class97.anInt1087 - class97.anInt1090;
			i_23_ = class97.anInt1089 + class97.anInt1090;
		    }
		    if (!bool || i_20_ < i_15_)
			i_15_ = i_20_;
		    if (!bool || i_22_ < i_16_)
			i_16_ = i_22_;
		    if (!bool || i_21_ > i_17_)
			i_17_ = i_21_;
		    if (!bool || i_23_ > i_18_)
			i_18_ = i_23_;
		    bool = true;
		}
	    }
	}
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = bool ? 1 : 0;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = i_15_;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = i_16_;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = i_17_;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = i_18_;
    }
    
    public static int method631(int i) {
	return Class255.anInt3982 * -1480882167;
    }
    
    static int method632(int i, int i_24_) {
	if (i == 16711935)
	    return -1;
	return Class463.method8272(i, 941712242);
    }
}
