/* Class256 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Toolkit;
import java.awt.image.PixelGrabber;

public class Class256 implements Interface33
{
    static byte[] aByteArray3989
	= { 31, -117, 8, 0, 0, 0, 0, 0, 0, 0, -5, 127, -29, -1, 109, 6, 103, 6,
	    14, 54, 54, 118, 54, 86, 14, 118, 118, 118, 78, 78, 14, 46, 30, 17,
	    94, 30, 110, 110, 30, 73, 33, 97, 126, 17, 89, 41, 121, 57, 89, 41,
	    25, 25, 5, 21, 61, 117, 5, 37, 29, 101, 25, 25, 13, 115, 77, 29, 3,
	    67, 19, 19, 19, 121, 117, 75, 91, 11, 35, 27, 61, 99, 19, 35, -112,
	    33, -116, -100, -100, -100, 60, -36, 60, 18, -68, -68, 18, 70,
	    -118, 50, -118, 70, 36, -125, -1, 7, 24, 68, 56, 24, 24, 25, 24,
	    89, 24, -107, 24, -104, 4, 25, -103, 5, 25, 89, -108, 24, -2, 31,
	    97, -112, 103, 96, 96, 100, 101, 4, 3, 6, 40, 96, 100, 98, 102, 97,
	    101, 99, -25, -32, -28, -30, 6, 42, -40, 42, -64, -64, -60, -56,
	    -52, -52, -60, -62, -52, -54, -54, -62, 2, -108, -83, 5, -54, 51,
	    -80, 8, -78, 10, 41, 26, 58, -78, 9, 7, 38, -78, 43, 21, -118, 24,
	    53, 78, 92, -56, -95, -20, -76, -15, -96, 104, -48, -59, 15, 42,
	    -58, 73, 69, 77, -100, 92, 98, -30, 18, -110, 82, -86, 106, -22,
	    26, -102, 90, 38, -90, 102, -26, 22, -106, 86, -50, 46, -82, 110,
	    -18, 30, -98, 94, -63, 33, -95, 97, -31, 17, -111, 81, -55, 41,
	    -87, 105, -23, 25, -103, 89, -59, 37, -91, 101, -27, 21, -107, 85,
	    -51, 45, -83, 109, -19, 29, -99, 93, -109, 38, 79, -103, 58, 109,
	    -6, -116, -103, -77, 22, 45, 94, -78, 116, -39, -14, 21, 43, 87,
	    109, -38, -68, 101, -21, -74, -19, 59, 118, -18, 58, 116, -8, -56,
	    -47, 99, -57, 79, -100, 60, 117, -23, -14, -107, -85, -41, -82,
	    -33, -72, 121, -21, -31, -93, -57, 79, -98, 62, 123, -2, -30, -27,
	    -85, -113, -97, 62, 127, -7, -6, -19, -5, -113, -97, -65, 64, -2,
	    98, 100, 96, 102, -124, 1, -84, -2, 18, 4, -6, -117, -119, -123,
	    -123, -103, -123, 29, -28, 47, 70, -90, 114, -112, 2, 65, 22, 86,
	    69, 67, 54, 33, -57, 64, -10, -60, 66, 97, 37, -93, 70, 14, 17,
	    -89, -119, 11, 55, 30, -28, 84, 54, 14, -6, 32, -102, 84, 116,
	    -111, 75, 76, -59, -28, -95, -22, 71, -112, -41, -64, 62, 35, -50,
	    99, 77, 100, -7, 12, -18, 49, -124, -65, 110, 49, -16, -79, 48, 2,
	    -29, 15, -24, 78, 6, 6, 123, -122, -97, -1, -70, 52, 22, -16, -49,
	    127, -79, -88, -21, -1, 77, 0, 38, 27, -28, 10, 110, 2, 0, 0 };
    int anInt3990;
    Class607 aClass607_3991;
    Interface35[] anInterface35Array3992;
    static Class132 aClass132_3993 = new Class132(128, 4);
    boolean aBool3994;
    Class87 aClass87_3995;
    int anInt3996;
    
    public int method211() {
	return -647062669 * ((Class256) this).anInt3990;
    }
    
    public void method198(short i) {
	if (Class455.aClass87_6287 != ((Class256) this).aClass87_3995) {
	    ((Class256) this).aClass87_3995 = Class455.aClass87_6287;
	    ((Class256) this).aBool3994 = true;
	}
	((Class256) this).aClass87_3995.method2117(3, 0);
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i_0_ = 0; i_0_ < interface35s.length; i_0_++) {
	    Interface35 interface35 = interface35s[i_0_];
	    if (interface35 != null)
		interface35.method220((byte) -108);
	}
    }
    
    public void method212() {
	if (Class455.aClass87_6287 != ((Class256) this).aClass87_3995) {
	    ((Class256) this).aClass87_3995 = Class455.aClass87_6287;
	    ((Class256) this).aBool3994 = true;
	}
	((Class256) this).aClass87_3995.method2117(3, 0);
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i = 0; i < interface35s.length; i++) {
	    Interface35 interface35 = interface35s[i];
	    if (interface35 != null)
		interface35.method220((byte) -49);
	}
    }
    
    public int method200(int i) {
	int i_1_ = 0;
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i_2_ = 0; i_2_ < interface35s.length; i_2_++) {
	    Interface35 interface35 = interface35s[i_2_];
	    if (interface35 == null || interface35.method107(191674991))
		i_1_++;
	}
	return i_1_ * 100 / ((Class256) this).anInterface35Array3992.length;
    }
    
    public void method213(int i) {
	/* empty */
    }
    
    public boolean method197(long l) {
	return (Class46.method1238(-1874010468)
		>= l + (long) (((Class256) this).anInt3996 * -954533561));
    }
    
    public static Class135 method5079(Class272 class272, int i) {
	Class135 class135 = (Class135) aClass132_3993.method3282((long) i);
	if (null == class135) {
	    if (Class243_Sub12_Sub2.aBool10617)
		class135
		    = Class455.aClass87_6287
			  .method2232(Class176.method3887(class272, i), true);
	    else
		class135 = Class17.method646(class272.method5258(i, 306368285),
					     (byte) 29);
	    aClass132_3993.method3293(class135, (long) i);
	}
	return class135;
    }
    
    public void method203(boolean bool) {
	bool = true;
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i = 0; i < interface35s.length; i++) {
	    Interface35 interface35 = interface35s[i];
	    if (interface35 != null)
		interface35.method219(bool || ((Class256) this).aBool3994,
				      -1271970560);
	}
	((Class256) this).aBool3994 = false;
    }
    
    public void method175() {
	/* empty */
    }
    
    public void method207() {
	/* empty */
    }
    
    public void method205() {
	/* empty */
    }
    
    public int method206() {
	int i = 0;
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i_3_ = 0; i_3_ < interface35s.length; i_3_++) {
	    Interface35 interface35 = interface35s[i_3_];
	    if (interface35 == null || interface35.method107(-1159293960))
		i++;
	}
	return i * 100 / ((Class256) this).anInterface35Array3992.length;
    }
    
    public int method210() {
	int i = 0;
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i_4_ = 0; i_4_ < interface35s.length; i_4_++) {
	    Interface35 interface35 = interface35s[i_4_];
	    if (interface35 == null || interface35.method107(-2111803825))
		i++;
	}
	return i * 100 / ((Class256) this).anInterface35Array3992.length;
    }
    
    public void method214() {
	if (Class455.aClass87_6287 != ((Class256) this).aClass87_3995) {
	    ((Class256) this).aClass87_3995 = Class455.aClass87_6287;
	    ((Class256) this).aBool3994 = true;
	}
	((Class256) this).aClass87_3995.method2117(3, 0);
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i = 0; i < interface35s.length; i++) {
	    Interface35 interface35 = interface35s[i];
	    if (interface35 != null)
		interface35.method220((byte) -127);
	}
    }
    
    public boolean method209(long l) {
	return (Class46.method1238(328080697)
		>= l + (long) (((Class256) this).anInt3996 * -954533561));
    }
    
    static Class135 method5080(byte[] is) {
	if (null == is)
	    throw new RuntimeException("");
	Class135 class135;
	for (;;) {
	    try {
		Image image = Toolkit.getDefaultToolkit().createImage(is);
		MediaTracker mediatracker
		    = new MediaTracker(Class360.anApplet5507);
		mediatracker.addImage(image, 0);
		mediatracker.waitForAll();
		int i = image.getWidth(Class360.anApplet5507);
		int i_5_ = image.getHeight(Class360.anApplet5507);
		if (mediatracker.isErrorAny() || i < 0 || i_5_ < 0)
		    throw new RuntimeException("");
		int[] is_6_ = new int[i_5_ * i];
		PixelGrabber pixelgrabber
		    = new PixelGrabber(image, 0, 0, i, i_5_, is_6_, 0, i);
		pixelgrabber.grabPixels();
		class135 = Class455.aClass87_6287.method2145(is_6_, 0, i, i,
							     i_5_, 190882740);
		break;
	    } catch (InterruptedException interruptedexception) {
		/* empty */
	    }
	}
	return class135;
    }
    
    public void method199(boolean bool, int i) {
	bool = true;
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i_7_ = 0; i_7_ < interface35s.length; i_7_++) {
	    Interface35 interface35 = interface35s[i_7_];
	    if (interface35 != null)
		interface35.method219(bool || ((Class256) this).aBool3994,
				      -1006886712);
	}
	((Class256) this).aBool3994 = false;
    }
    
    static void method5081() {
	aClass132_3993.method3288(2056883140);
    }
    
    public int method202(int i) {
	return -647062669 * ((Class256) this).anInt3990;
    }
    
    Class256(Class607 class607, int i, int i_8_, Class364 class364) {
	((Class256) this).aClass607_3991 = class607;
	((Class256) this).anInt3996 = -1863786377 * i;
	((Class256) this).anInt3990 = 398655931 * i_8_;
	((Class256) this).anInterface35Array3992
	    = new Interface35[(((Class256) this).aClass607_3991
			       .anInterface30Array7789).length];
	for (int i_9_ = 0;
	     i_9_ < ((Class256) this).anInterface35Array3992.length; i_9_++)
	    ((Class256) this).anInterface35Array3992[i_9_]
		= class364.method6938((((Class256) this).aClass607_3991
				       .anInterface30Array7789[i_9_]),
				      954155287);
    }
    
    public boolean method208(long l) {
	return (Class46.method1238(-1594025841)
		>= l + (long) (((Class256) this).anInt3996 * -954533561));
    }
    
    public void method201() {
	if (Class455.aClass87_6287 != ((Class256) this).aClass87_3995) {
	    ((Class256) this).aClass87_3995 = Class455.aClass87_6287;
	    ((Class256) this).aBool3994 = true;
	}
	((Class256) this).aClass87_3995.method2117(3, 0);
	Interface35[] interface35s = ((Class256) this).anInterface35Array3992;
	for (int i = 0; i < interface35s.length; i++) {
	    Interface35 interface35 = interface35s[i];
	    if (interface35 != null)
		interface35.method220((byte) -66);
	}
    }
    
    static boolean method5082() {
	boolean bool;
	try {
	    Class602 class602 = new Class602();
	    byte[] is = class602.method13122(aByteArray3989, -1853461744);
	    Class17.method646(is, (byte) 75);
	    bool = true;
	} catch (Exception exception) {
	    return false;
	}
	return bool;
    }
    
    public static Class135 method5083(Class272 class272, int i) {
	Class135 class135 = (Class135) aClass132_3993.method3282((long) i);
	if (null == class135) {
	    if (Class243_Sub12_Sub2.aBool10617)
		class135
		    = Class455.aClass87_6287
			  .method2232(Class176.method3887(class272, i), true);
	    else
		class135
		    = Class17.method646(class272.method5258(i, 2025230588),
					(byte) 17);
	    aClass132_3993.method3293(class135, (long) i);
	}
	return class135;
    }
    
    static void method5084() {
	aClass132_3993.method3288(1981084491);
    }
    
    static boolean method5085() {
	boolean bool;
	try {
	    Class602 class602 = new Class602();
	    byte[] is = class602.method13122(aByteArray3989, -1695410044);
	    Class17.method646(is, (byte) 29);
	    bool = true;
	} catch (Exception exception) {
	    return false;
	}
	return bool;
    }
    
    static boolean method5086() {
	boolean bool;
	try {
	    Class602 class602 = new Class602();
	    byte[] is = class602.method13122(aByteArray3989, -1179830364);
	    Class17.method646(is, (byte) 86);
	    bool = true;
	} catch (Exception exception) {
	    return false;
	}
	return bool;
    }
    
    static void method5087() {
	aClass132_3993.method3288(1948531691);
    }
    
    static boolean method5088() {
	boolean bool;
	try {
	    Class602 class602 = new Class602();
	    byte[] is = class602.method13122(aByteArray3989, -1192679561);
	    Class17.method646(is, (byte) 20);
	    bool = true;
	} catch (Exception exception) {
	    return false;
	}
	return bool;
    }
    
    public boolean method204(long l) {
	return (Class46.method1238(252247959)
		>= l + (long) (((Class256) this).anInt3996 * -954533561));
    }
    
    static Class135 method5089(byte[] is) {
	if (null == is)
	    throw new RuntimeException("");
	Class135 class135;
	for (;;) {
	    try {
		Image image = Toolkit.getDefaultToolkit().createImage(is);
		MediaTracker mediatracker
		    = new MediaTracker(Class360.anApplet5507);
		mediatracker.addImage(image, 0);
		mediatracker.waitForAll();
		int i = image.getWidth(Class360.anApplet5507);
		int i_10_ = image.getHeight(Class360.anApplet5507);
		if (mediatracker.isErrorAny() || i < 0 || i_10_ < 0)
		    throw new RuntimeException("");
		int[] is_11_ = new int[i_10_ * i];
		PixelGrabber pixelgrabber
		    = new PixelGrabber(image, 0, 0, i, i_10_, is_11_, 0, i);
		pixelgrabber.grabPixels();
		class135 = Class455.aClass87_6287.method2145(is_11_, 0, i, i,
							     i_10_, 73921223);
		break;
	    } catch (InterruptedException interruptedexception) {
		/* empty */
	    }
	}
	return class135;
    }
    
    static Class135 method5090(byte[] is) {
	if (null == is)
	    throw new RuntimeException("");
	Class135 class135;
	for (;;) {
	    try {
		Image image = Toolkit.getDefaultToolkit().createImage(is);
		MediaTracker mediatracker
		    = new MediaTracker(Class360.anApplet5507);
		mediatracker.addImage(image, 0);
		mediatracker.waitForAll();
		int i = image.getWidth(Class360.anApplet5507);
		int i_12_ = image.getHeight(Class360.anApplet5507);
		if (mediatracker.isErrorAny() || i < 0 || i_12_ < 0)
		    throw new RuntimeException("");
		int[] is_13_ = new int[i_12_ * i];
		PixelGrabber pixelgrabber
		    = new PixelGrabber(image, 0, 0, i, i_12_, is_13_, 0, i);
		pixelgrabber.grabPixels();
		class135
		    = Class455.aClass87_6287.method2145(is_13_, 0, i, i, i_12_,
							-2075041508);
		break;
	    } catch (InterruptedException interruptedexception) {
		/* empty */
	    }
	}
	return class135;
    }
    
    static final void method5091(Class479 class479, byte i) {
	((Class479) class479).anInt6442 -= -339551500;
	int i_14_ = (((Class479) class479).anIntArray6435
		     [((Class479) class479).anInt6442 * -117934955]);
	boolean bool = ((((Class479) class479).anIntArray6435
			 [1 + ((Class479) class479).anInt6442 * -117934955])
			== 1);
	int i_15_ = (((Class479) class479).anIntArray6435
		     [((Class479) class479).anInt6442 * -117934955 + 2]);
	boolean bool_16_
	    = 1 == (((Class479) class479).anIntArray6435
		    [-117934955 * ((Class479) class479).anInt6442 + 3]);
	Class502.method11409(i_14_, bool, i_15_, bool_16_, (byte) -1);
    }
    
    static String method5092(String string, byte i) {
	String string_17_ = null;
	int i_18_ = string.indexOf("--> ");
	if (i_18_ >= 0) {
	    string_17_ = string.substring(0, i_18_ + 4);
	    string = string.substring(i_18_ + 4);
	}
	if (string.startsWith("directlogin ")) {
	    int i_19_ = string.indexOf(" ", "directlogin ".length());
	    if (i_19_ >= 0) {
		int i_20_ = string.length();
		string = new StringBuilder().append
			     (string.substring(0, i_19_)).append
			     (" ").toString();
		for (int i_21_ = i_19_ + 1; i_21_ < i_20_; i_21_++)
		    string = new StringBuilder().append(string).append("*")
				 .toString();
	    }
	}
	if (string_17_ != null)
	    return new StringBuilder().append(string_17_).append(string)
		       .toString();
	return string;
    }
    
    public static String method5093(byte[] is, int i, int i_22_, byte i_23_) {
	char[] cs = new char[i_22_];
	int i_24_ = 0;
	for (int i_25_ = 0; i_25_ < i_22_; i_25_++) {
	    int i_26_ = is[i_25_ + i] & 0xff;
	    if (0 != i_26_) {
		if (i_26_ >= 128 && i_26_ < 160) {
		    int i_27_ = Class448.aCharArray6238[i_26_ - 128];
		    if (0 == i_27_)
			i_27_ = 63;
		    i_26_ = i_27_;
		}
		cs[i_24_++] = (char) i_26_;
	    }
	}
	return new String(cs, 0, i_24_);
    }
    
    static final void method5094(Class479 class479, int i) {
	Class465 class465 = (((Class479) class479).aBool6460
			     ? ((Class479) class479).aClass465_6445
			     : ((Class479) class479).aClass465_6443);
	Class117 class117 = ((Class465) class465).aClass117_6364;
	Class116 class116 = ((Class465) class465).aClass116_6363;
	Class80.method1833(class117, class116, class479, -320783241);
    }
}
