/* Class598 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Container;
import java.awt.Insets;

public class Class598 {
	public long aLong7764;
	public int[] anIntArray7765;
	public short[] aShortArray7766;
	public short[] aShortArray7767;

	public Class598(long l, int[] is, short[] is_0_, short[] is_1_) {
		aLong7764 = -5388388126814432033L * l;
		anIntArray7765 = is;
		aShortArray7766 = is_0_;
		aShortArray7767 = is_1_;
	}

	public Class598(Class619 class619, boolean bool) {
		if (bool) {
			anIntArray7765 = new int[class619.anIntArray7874.length];
			System.arraycopy(class619.anIntArray7874, 0, anIntArray7765, 0, anIntArray7765.length);
		} else {
			anIntArray7765 = new int[class619.anIntArray7875.length];
			System.arraycopy(class619.anIntArray7875, 0, anIntArray7765, 0, anIntArray7765.length);
		}
		if (class619.aShortArray7879 != null) {
			aShortArray7766 = new short[class619.aShortArray7879.length];
			System.arraycopy(class619.aShortArray7879, 0, aShortArray7766, 0, aShortArray7766.length);
		}
		if (class619.aShortArray7914 != null) {
			aShortArray7767 = new short[class619.aShortArray7914.length];
			System.arraycopy(class619.aShortArray7914, 0, aShortArray7767, 0, aShortArray7767.length);
		}
	}

	static void method12885(int i, int i_2_, int i_3_, int i_4_, boolean bool, int i_5_) {
		if (Class423.aBool6174 && Class306.aFrame4618 != null && (3 != i_2_ || i_3_ != Class389.anInt5698 * -415408091 || i_4_ != Class315.anInt4719 * 1842447885)) {
			Class404.method7194(Class408.aClass429_5984, Class306.aFrame4618, -1379025129);
			Class306.aFrame4618 = null;
		}
		if (Class423.aBool6174 && 3 == i_2_ && null == Class306.aFrame4618) {
			Class306.aFrame4618 = Class389.method7114(Class408.aClass429_5984, i_3_, i_4_, 0, 0, 1495243626);
			if (Class306.aFrame4618 != null) {
				Class389.anInt5698 = i_3_ * 1773124525;
				Class315.anInt4719 = i_4_ * 1458911429;
				Class106.method2583(1338164479);
			}
		}
		if (3 == i_2_ && (!Class423.aBool6174 || Class306.aFrame4618 == null))
			method12885(i, Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub20_8631.method13928(1972127319), -1, -1, true, -2129294960);
		else {
			Container container = Class440.method7932((short) 10211);
			if (null != Class306.aFrame4618) {
				Class97.anInt1401 = -1605981229 * i_3_;
				Class243_Sub5.anInt9843 = -927227589 * i_4_;
			} else if (null != Class347.aFrame5428) {
				Insets insets = Class347.aFrame5428.getInsets();
				Class97.anInt1401 = (Class347.aFrame5428.getSize().width - (insets.right + insets.left)) * -1605981229;
				Class243_Sub5.anInt9843 = (Class347.aFrame5428.getSize().height - (insets.top + insets.bottom)) * -927227589;
			} else {
				Class97.anInt1401 = container.getSize().width * -1605981229;
				Class243_Sub5.anInt9843 = container.getSize().height * -927227589;
			}
			if (Class97.anInt1401 * 136569947 <= 0)
				Class97.anInt1401 = -1605981229;
			if (-417165325 * Class243_Sub5.anInt9843 <= 0)
				Class243_Sub5.anInt9843 = -927227589;
			if (i_2_ != 1)
				Class504.method11429(1715230383);
			else {
				Class117.anInt1641 = -1540012923 * client.anInt8074;
				client.anInt2788 = (Class97.anInt1401 * 136569947 - 581607809 * client.anInt8074) / 2 * 1371613455;
				Class39.anInt722 = client.anInt8157 * -1217536697;
				client.anInt2789 = 0;
			}
			if (Class495.aClass495_6658 != Class401.aClass495_5754 && Class117.anInt1641 * -334452787 < 1024 && Class39.anInt722 * -322515687 >= 768) {
				/* empty */
			}
			if (!bool) {
				Class180.aCanvas2174.setSize(-334452787 * Class117.anInt1641, -322515687 * Class39.anInt722);
				Class327.aClass84_5125.method2183(Class180.aCanvas2174, Class117.anInt1641 * -334452787, Class39.anInt722 * -322515687, (short) 217);
				if (Class347.aFrame5428 == container) {
					Insets insets = Class347.aFrame5428.getInsets();
					Class180.aCanvas2174.setLocation(insets.left + -1215519249 * client.anInt2788, -1338383441 * client.anInt2789 + insets.top);
				} else
					Class180.aCanvas2174.setLocation((-1215519249 * client.anInt2788), (-1338383441 * client.anInt2789));
			} else
				Class587_Sub22.method15815(281905464);
			if (i_2_ >= 2)
				client.aBool8153 = true;
			else
				client.aBool8153 = false;
			Class545.method11921(350437757);
			if (-659987771 * client.anInt8190 != -1)
				Class209.method4423(true, (byte) -81);
			if (client.aClass190_8065.method3963(-1542271091) != null && Class310.method6188(906940163 * client.anInt8013, 598693979))
				Class63.method1496(-751427482);
			for (int i_6_ = 0; i_6_ < 114; i_6_++)
				client.aBoolArray8247[i_6_] = true;
			client.aBool2791 = true;
		}
	}
}
