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

public class Class496 {
	static Class122 aClass122_6663 = new Class122(128);

	static Class587_Sub34_Sub5 method11170(byte[] is) {
		return new Class587_Sub34_Sub5(new Class587_Sub4(is), Class232.anInterface12_2726);
	}

	static Class587_Sub34_Sub5 method11171(int i) {
		Class587_Sub34_Sub5 class587_sub34_sub5 = (Class587_Sub34_Sub5) aClass122_6663.method2897((long) i);
		if (null != class587_sub34_sub5)
			return class587_sub34_sub5;
		byte[] is = Class129.aClass279_1728.method5578(i, 0, 2080611781);
		if (is == null || is.length <= 1)
			return null;
		try {
			class587_sub34_sub5 = Class279.method5671(is, (byte) -8);
		} catch (Exception exception) {
			throw new RuntimeException(new StringBuilder().append(exception.getMessage()).append(" ").append(i).toString());
		}
		aClass122_6663.method2898(class587_sub34_sub5, (long) i);
		return class587_sub34_sub5;
	}

	static Class587_Sub34_Sub5 method11172(byte[] is) {
		return new Class587_Sub34_Sub5(new Class587_Sub4(is), Class232.anInterface12_2726);
	}

	Class496() throws Throwable {
		throw new Error();
	}

	static Class587_Sub34_Sub5 method11173(int i) {
		Class587_Sub34_Sub5 class587_sub34_sub5 = (Class587_Sub34_Sub5) aClass122_6663.method2897((long) i);
		if (null != class587_sub34_sub5)
			return class587_sub34_sub5;
		byte[] is = Class129.aClass279_1728.method5578(i, 0, 1971705166);
		if (is == null || is.length <= 1)
			return null;
		try {
			class587_sub34_sub5 = Class279.method5671(is, (byte) -5);
		} catch (Exception exception) {
			throw new RuntimeException(new StringBuilder().append(exception.getMessage()).append(" ").append(i).toString());
		}
		aClass122_6663.method2898(class587_sub34_sub5, (long) i);
		return class587_sub34_sub5;
	}

	static Class587_Sub34_Sub5 method11174(byte[] is) {
		return new Class587_Sub34_Sub5(new Class587_Sub4(is), Class232.anInterface12_2726);
	}

	static Class587_Sub34_Sub5 method11175(byte[] is) {
		return new Class587_Sub34_Sub5(new Class587_Sub4(is), Class232.anInterface12_2726);
	}

	static Class587_Sub34_Sub5 method11176(int i) {
		Class587_Sub34_Sub5 class587_sub34_sub5 = (Class587_Sub34_Sub5) aClass122_6663.method2897((long) i);
		if (null != class587_sub34_sub5)
			return class587_sub34_sub5;
		byte[] is = Class129.aClass279_1728.method5578(i, 0, 1963327406);
		if (is == null || is.length <= 1)
			return null;
		try {
			class587_sub34_sub5 = Class279.method5671(is, (byte) -75);
		} catch (Exception exception) {
			throw new RuntimeException(new StringBuilder().append(exception.getMessage()).append(" ").append(i).toString());
		}
		aClass122_6663.method2898(class587_sub34_sub5, (long) i);
		return class587_sub34_sub5;
	}

	static Class587_Sub34_Sub5 method11177(byte[] is) {
		return new Class587_Sub34_Sub5(new Class587_Sub4(is), Class232.anInterface12_2726);
	}

	public static void method11178() {
		aClass122_6663.method2899(-16777216);
	}

	public static void method11179() {
		aClass122_6663.method2899(-16777216);
	}

	static final void method11180(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= 1577301031;
	}

	static void method11181(Class35 class35, Class134 class134, int i, int i_0_, int i_1_, int i_2_, int i_3_, String string, Class106 class106, Class611 class611, int i_4_, int i_5_) {
		int i_6_;
		if (1 == 488900011 * Class239.anInt2825)
			i_6_ = ((int) ((double) Class426.aClass72_Sub1_6203.method1717(1664137095) * 2607.5945876176133) + client.anInt8100 * 649719791 & 0x3fff);
		else if (4 == 488900011 * Class239.anInt2825)
			i_6_ = (int) client.aFloat8281 & 0x3fff;
		else
			i_6_ = ((int) client.aFloat8281 + client.anInt8100 * 649719791 & 0x3fff);
		int i_7_ = (Math.max(class35.anInt557 * 566760625 / 2, class35.anInt475 * 334998921 / 2) + 10);
		int i_8_ = i_1_ * i_1_ + i_2_ * i_2_;
		if (i_8_ <= i_7_ * i_7_) {
			int i_9_ = Class260.anIntArray4095[i_6_];
			int i_10_ = Class260.anIntArray4096[i_6_];
			if (Class239.anInt2825 * 488900011 != 4) {
				i_9_ = i_9_ * 256 / (256 + client.anInt8102 * -543745525);
				i_10_ = 256 * i_10_ / (client.anInt8102 * -543745525 + 256);
			}
			int i_11_ = i_9_ * i_2_ + i_10_ * i_1_ >> 14;
			int i_12_ = i_10_ * i_2_ - i_9_ * i_1_ >> 14;
			int i_13_ = class611.method13009(string, 100, null, -601497598);
			int i_14_ = class611.method13008(string, 100, 0, null, 2143196541);
			i_11_ -= i_13_ / 2;
			if (i_11_ >= -(class35.anInt557 * 566760625) && i_11_ <= 566760625 * class35.anInt557 && i_12_ >= -(334998921 * class35.anInt475) && i_12_ <= class35.anInt475 * 334998921)
				class106.method2556(string, (i_11_ + i + 566760625 * class35.anInt557 / 2), (class35.anInt475 * 334998921 / 2 + i_0_ - i_12_ - i_3_ - i_14_), i_13_, 50, i_4_, 0, 1, 0, 0, null, null, class134, i, i_0_, 1652185445);
		}
	}

	public static boolean method11182(int i) {
		return Class343.aBool5405;
	}
}
