/* Class79 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;

public class Class79
{
    static Class368 aClass368_1113;
    static Class366 aClass366_1114;
    static int anInt1115;
    static int anInt1116;
    static int anInt1117;
    static int anInt1118;
    static Class153 aClass153_1119;
    static String aString1120;
    public static int anInt1121;
    
    static boolean method1214() {
	boolean bool = true;
	if (Class163_Sub6.aClass153_9612 == null) {
	    if (Class397.aClass411_4552.method5033(anInt1117 * 27511711,
						   -1915260211))
		Class163_Sub6.aClass153_9612
		    = Class133.method1719(Class397.aClass411_4552,
					  anInt1117 * 27511711);
	    else
		bool = false;
	}
	if (aClass153_1119 == null) {
	    if (Class397.aClass411_4552.method5033(1485006667 * (Class163_Sub20
								 .anInt9717),
						   -2127168051))
		aClass153_1119
		    = Class133.method1719(Class397.aClass411_4552,
					  (1485006667
					   * Class163_Sub20.anInt9717));
	    else
		bool = false;
	}
	if (null == Class48.aClass153_601) {
	    if (Class397.aClass411_4552.method5033(Class22.anInt312 * 47472819,
						   -1876371928))
		Class48.aClass153_601
		    = Class133.method1719(Class397.aClass411_4552,
					  Class22.anInt312 * 47472819);
	    else
		bool = false;
	}
	if (Class652_Sub1.aClass4_10615 == null) {
	    if (Class297_Sub1.aClass411_9797.method5033(((Class487_Sub8
							  .anInt10119)
							 * 1844201631),
							-2013866357))
		Class652_Sub1.aClass4_10615
		    = Class161.method2548(Class297_Sub1.aClass411_9797,
					  (1844201631
					   * Class487_Sub8.anInt10119),
					  (byte) 4);
	    else
		bool = false;
	}
	if (Class34.aClass153_Sub2Array446 == null) {
	    if (Class397.aClass411_4552.method5033((Class487_Sub8.anInt10119
						    * 1844201631),
						   -1925692821))
		Class34.aClass153_Sub2Array446
		    = ((Class153_Sub2[])
		       Class133.method1720(Class397.aClass411_4552,
					   (Class487_Sub8.anInt10119
					    * 1844201631)));
	    else
		bool = false;
	}
	return bool;
    }
    
    Class79() throws Throwable {
	throw new Error();
    }
    
    static boolean method1215() {
	boolean bool = true;
	if (Class163_Sub6.aClass153_9612 == null) {
	    if (Class397.aClass411_4552.method5033(anInt1117 * 27511711,
						   -1939106790))
		Class163_Sub6.aClass153_9612
		    = Class133.method1719(Class397.aClass411_4552,
					  anInt1117 * 27511711);
	    else
		bool = false;
	}
	if (aClass153_1119 == null) {
	    if (Class397.aClass411_4552.method5033(1485006667 * (Class163_Sub20
								 .anInt9717),
						   -1944908445))
		aClass153_1119
		    = Class133.method1719(Class397.aClass411_4552,
					  (1485006667
					   * Class163_Sub20.anInt9717));
	    else
		bool = false;
	}
	if (null == Class48.aClass153_601) {
	    if (Class397.aClass411_4552.method5033(Class22.anInt312 * 47472819,
						   -2112799656))
		Class48.aClass153_601
		    = Class133.method1719(Class397.aClass411_4552,
					  Class22.anInt312 * 47472819);
	    else
		bool = false;
	}
	if (Class652_Sub1.aClass4_10615 == null) {
	    if (Class297_Sub1.aClass411_9797.method5033(((Class487_Sub8
							  .anInt10119)
							 * 1844201631),
							-2120766830))
		Class652_Sub1.aClass4_10615
		    = Class161.method2548(Class297_Sub1.aClass411_9797,
					  (1844201631
					   * Class487_Sub8.anInt10119),
					  (byte) 13);
	    else
		bool = false;
	}
	if (Class34.aClass153_Sub2Array446 == null) {
	    if (Class397.aClass411_4552.method5033((Class487_Sub8.anInt10119
						    * 1844201631),
						   -1916519986))
		Class34.aClass153_Sub2Array446
		    = ((Class153_Sub2[])
		       Class133.method1720(Class397.aClass411_4552,
					   (Class487_Sub8.anInt10119
					    * 1844201631)));
	    else
		bool = false;
	}
	return bool;
    }
    
    static boolean method1216() {
	boolean bool = true;
	if (Class163_Sub6.aClass153_9612 == null) {
	    if (Class397.aClass411_4552.method5033(anInt1117 * 27511711,
						   -2009206907))
		Class163_Sub6.aClass153_9612
		    = Class133.method1719(Class397.aClass411_4552,
					  anInt1117 * 27511711);
	    else
		bool = false;
	}
	if (aClass153_1119 == null) {
	    if (Class397.aClass411_4552.method5033(1485006667 * (Class163_Sub20
								 .anInt9717),
						   -1893254623))
		aClass153_1119
		    = Class133.method1719(Class397.aClass411_4552,
					  (1485006667
					   * Class163_Sub20.anInt9717));
	    else
		bool = false;
	}
	if (null == Class48.aClass153_601) {
	    if (Class397.aClass411_4552.method5033(Class22.anInt312 * 47472819,
						   -2128115152))
		Class48.aClass153_601
		    = Class133.method1719(Class397.aClass411_4552,
					  Class22.anInt312 * 47472819);
	    else
		bool = false;
	}
	if (Class652_Sub1.aClass4_10615 == null) {
	    if (Class297_Sub1.aClass411_9797.method5033(((Class487_Sub8
							  .anInt10119)
							 * 1844201631),
							-1853604506))
		Class652_Sub1.aClass4_10615
		    = Class161.method2548(Class297_Sub1.aClass411_9797,
					  (1844201631
					   * Class487_Sub8.anInt10119),
					  (byte) 62);
	    else
		bool = false;
	}
	if (Class34.aClass153_Sub2Array446 == null) {
	    if (Class397.aClass411_4552.method5033((Class487_Sub8.anInt10119
						    * 1844201631),
						   -1905712237))
		Class34.aClass153_Sub2Array446
		    = ((Class153_Sub2[])
		       Class133.method1720(Class397.aClass411_4552,
					   (Class487_Sub8.anInt10119
					    * 1844201631)));
	    else
		bool = false;
	}
	return bool;
    }
    
    public static int[] method1217(BufferedImage bufferedimage, byte i) {
	if (bufferedimage.getType() == 10 || bufferedimage.getType() == 0) {
	    int[] is = null;
	    is = bufferedimage.getRaster().getPixels(0, 0,
						     bufferedimage.getWidth(),
						     bufferedimage.getHeight(),
						     is);
	    int[] is_0_
		= (new int
		   [bufferedimage.getWidth() * bufferedimage.getHeight()]);
	    if (bufferedimage.getType() == 10) {
		for (int i_1_ = 0; i_1_ < is_0_.length; i_1_++)
		    is_0_[i_1_] = -16777216 + ((is[i_1_] << 8)
					       + (is[i_1_] << 16) + is[i_1_]);
	    } else {
		for (int i_2_ = 0; i_2_ < is_0_.length; i_2_++) {
		    int i_3_ = 2 * i_2_;
		    is_0_[i_2_] = ((is[1 + i_3_] << 24) + is[i_3_]
				   + ((is[i_3_] << 16) + (is[i_3_] << 8)));
		}
	    }
	    return is_0_;
	}
	return bufferedimage.getRGB(0, 0, bufferedimage.getWidth(),
				    bufferedimage.getHeight(), null, 0,
				    bufferedimage.getWidth());
    }
    
    public static final void method1218(int i, String string, Color color,
					Color color_4_, Color color_5_,
					int i_6_) {
	try {
	    Graphics graphics = Class630.aCanvas8127.getGraphics();
	    if (null == Class301_Sub2.aFont9806)
		Class301_Sub2.aFont9806 = new Font("Helvetica", 1, 13);
	    if (null == color)
		color = new Color(140, 17, 17);
	    if (color_4_ == null)
		color_4_ = new Color(140, 17, 17);
	    if (color_5_ == null)
		color_5_ = new Color(255, 255, 255);
	    try {
		if (null == Class476.anImage5431)
		    Class476.anImage5431
			= Class630.aCanvas8127.createImage((Class175.anInt2012
							    * 1881245841),
							   (-1922042493
							    * (Class570
							       .anInt7649)));
		Graphics graphics_7_ = Class476.anImage5431.getGraphics();
		graphics_7_.setColor(Color.black);
		graphics_7_.fillRect(0, 0, Class175.anInt2012 * 1881245841,
				     -1922042493 * Class570.anInt7649);
		int i_8_ = 1881245841 * Class175.anInt2012 / 2 - 152;
		int i_9_ = Class570.anInt7649 * -1922042493 / 2 - 18;
		graphics_7_.setColor(color_4_);
		graphics_7_.drawRect(i_8_, i_9_, 303, 33);
		graphics_7_.setColor(color);
		graphics_7_.fillRect(i_8_ + 2, 2 + i_9_, i * 3, 30);
		graphics_7_.setColor(Color.black);
		graphics_7_.drawRect(1 + i_8_, 1 + i_9_, 301, 31);
		graphics_7_.fillRect(3 * i + (2 + i_8_), 2 + i_9_, 300 - i * 3,
				     30);
		graphics_7_.setFont(Class301_Sub2.aFont9806);
		graphics_7_.setColor(color_5_);
		graphics_7_.drawString(string,
				       i_8_ + (304 - string.length() * 6) / 2,
				       22 + i_9_);
		if (Class473.aString5394 != null) {
		    graphics_7_.setFont(Class301_Sub2.aFont9806);
		    graphics_7_.setColor(color_5_);
		    graphics_7_.drawString(Class473.aString5394,
					   (1881245841 * Class175.anInt2012 / 2
					    - (Class473.aString5394.length()
					       * 6 / 2)),
					   (-1922042493 * Class570.anInt7649
					    / 2) - 26);
		}
		graphics.drawImage(Class476.anImage5431, 0, 0, null);
	    } catch (Exception exception) {
		graphics.setColor(Color.black);
		graphics.fillRect(0, 0, Class175.anInt2012 * 1881245841,
				  -1922042493 * Class570.anInt7649);
		int i_10_ = Class175.anInt2012 * 1881245841 / 2 - 152;
		int i_11_ = Class570.anInt7649 * -1922042493 / 2 - 18;
		graphics.setColor(color_4_);
		graphics.drawRect(i_10_, i_11_, 303, 33);
		graphics.setColor(color);
		graphics.fillRect(i_10_ + 2, i_11_ + 2, 3 * i, 30);
		graphics.setColor(Color.black);
		graphics.drawRect(i_10_ + 1, i_11_ + 1, 301, 31);
		graphics.fillRect(2 + i_10_ + 3 * i, i_11_ + 2, 300 - i * 3,
				  30);
		graphics.setFont(Class301_Sub2.aFont9806);
		graphics.setColor(color_5_);
		if (Class473.aString5394 != null) {
		    graphics.setFont(Class301_Sub2.aFont9806);
		    graphics.setColor(color_5_);
		    graphics.drawString(Class473.aString5394,
					(Class175.anInt2012 * 1881245841 / 2
					 - (Class473.aString5394.length() * 6
					    / 2)),
					(-1922042493 * Class570.anInt7649 / 2
					 - 26));
		}
		graphics.drawString(string,
				    i_10_ + (304 - string.length() * 6) / 2,
				    i_11_ + 22);
	    }
	} catch (Exception exception) {
	    Class630.aCanvas8127.repaint();
	}
    }
    
    static final void method1219(Class612 class612, byte i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	Class203 class203 = ((Class625) class625).aClass203_8100;
	Class156.method2511(class211, class203, class612, -1081937022);
    }
    
    static final void method1220(Class612 class612, byte i) {
	((Class612) class612).anInt8022 -= 402182018;
	int i_12_ = (((Class612) class612).anIntArray8021
		     [-40654783 * ((Class612) class612).anInt8022]);
	int i_13_ = (((Class612) class612).anIntArray8021
		     [1 + -40654783 * ((Class612) class612).anInt8022]);
	Class405_Sub1.method9002(8, i_12_, i_13_, "", 1545200544);
    }
    
    static boolean method1221(Class211 class211, byte i) {
	Class487_Sub12 class487_sub12 = client.method10019(class211);
	if (class487_sub12.method9134(1664702222) > 0)
	    return true;
	if (class487_sub12.method9139(-1641848843))
	    return true;
	if (null != class211.aClass211_2371)
	    return true;
	return false;
    }
    
    static boolean method1222(byte i) {
	Class24.anInt321 = 1757264493;
	Class24.aClass65_341 = client.aClass65_10744;
	if (client.aByteArray10939 != null) {
	    Class487_Sub17 class487_sub17
		= new Class487_Sub17(client.aByteArray10939);
	    Class24.aLong327
		= class487_sub17.method9272((byte) -30) * 8385976692925892423L;
	    Class24.aLong356 = (class487_sub17.method9272((byte) -115)
				* 8648713396167386755L);
	}
	if (-1453467413436435849L * Class24.aLong327 < 0L) {
	    Class637_Sub27.method9840(35, -2094170142);
	    return false;
	}
	return Class487_Sub24.method9353(false, true, "", "",
					 (-1453467413436435849L
					  * Class24.aLong327));
    }
    
    static final void method1223(int i) {
	Class24.aLong327 = -8385976692925892423L;
	Class24.aLong356 = 0L;
	Class24.anInt326 = -1688789735;
    }
}
