/* Class159 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Desktop;
import java.net.URI;

public abstract class Class159 {
	static Class587_Sub34_Sub8 aClass587_Sub34_Sub8_1884;

	Class159() {
		/* empty */
	}

	public static void method3458(String string, boolean bool, String string_0_, boolean bool_1_, byte i) {
		if (bool) {
			do {
				if (!bool_1_ && Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
					try {
						Desktop.getDesktop().browse(new URI(string));
					} catch (Exception exception) {
						break;
					}
					return;
				}
			} while (false);
			if (Class232.aString2720.startsWith("win") && !bool_1_)
				Class214.method4461(string, 0, (short) 9217);
			else if (Class232.aString2720.startsWith("mac"))
				Class401.method7184(string, 1, string_0_, 2028895127);
			else
				Class214.method4461(string, 2, (short) 9217);
		} else
			Class214.method4461(string, 3, (short) 9217);
	}

	public static Class309 method3459(int i, byte i_2_) {
		if (Class486.aClass310_6589 != null)
			return Class486.aClass310_6589.method6158(1531247494).method6067(i, 2116267359);
		return null;
	}

	static final void method3460(Class477 class477, int i) {
		Class480 class480 = (((Class477) class477).aBool6510 ? ((Class477) class477).aClass480_6506 : ((Class477) class477).aClass480_6492);
		Class35 class35 = ((Class480) class480).aClass35_6531;
		Class118 class118 = ((Class480) class480).aClass118_6532;
		Class530.method11768(class35, class118, class477, (byte) -41);
	}

	static final void method3461(Class477 class477, int i) {
		Class480 class480 = (((Class477) class477).aBool6510 ? ((Class477) class477).aClass480_6506 : ((Class477) class477).aClass480_6492);
		Class35 class35 = ((Class480) class480).aClass35_6531;
		Class118 class118 = ((Class480) class480).aClass118_6532;
		Class508.method11503(class35, class118, class477, -1371788391);
	}

	static final void method3462(Class35 class35, int i, byte[] is, byte[] is_3_, Class477 class477, byte i_4_) {
		if (null == class35.aByteArrayArray539) {
			if (null != is) {
				class35.aByteArrayArray539 = new byte[11][];
				class35.aByteArrayArray540 = new byte[11][];
				class35.anIntArray502 = new int[11];
				class35.anIntArray511 = new int[11];
			} else
				return;
		}
		class35.aByteArrayArray539[i] = is;
		if (is != null)
			class35.aBool538 = true;
		else {
			class35.aBool538 = false;
			for (int i_5_ = 0; i_5_ < class35.aByteArrayArray539.length; i_5_++) {
				if (class35.aByteArrayArray539[i_5_] != null || class35.anIntArray511[i_5_] > 0) {
					class35.aBool538 = true;
					break;
				}
			}
		}
		class35.aByteArrayArray540[i] = is_3_;
	}

	static final void method3463(Class477 class477, byte i) {
		int i_6_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class558 class558 = Class117.aClass545_1644.method11911(i_6_, -1700885390);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = -335540843 * class558.anInt7254;
	}
}
