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

public class Class22 implements Interface4 {
	static String aString263;
	public static int anInt264;

	public Interface1 method31(Class76 class76, int i, int i_0_) {
		if (class76 == Class76.aClass76_1121)
			return client.aClass497_Sub1_Sub3_Sub5_Sub1Array8277[i];
		if (Class76.aClass76_1120 == class76) {
			Class587_Sub20 class587_sub20 = (Class587_Sub20) client.aClass445_8054.method7988((long) i);
			if (null != class587_sub20)
				return (Interface1) class587_sub20.anObject9642;
		}
		return null;
	}

	public Interface1 method32(Class76 class76, int i) {
		if (class76 == Class76.aClass76_1121)
			return client.aClass497_Sub1_Sub3_Sub5_Sub1Array8277[i];
		if (Class76.aClass76_1120 == class76) {
			Class587_Sub20 class587_sub20 = (Class587_Sub20) client.aClass445_8054.method7988((long) i);
			if (null != class587_sub20)
				return (Interface1) class587_sub20.anObject9642;
		}
		return null;
	}

	Class22() {
		/* empty */
	}

	public Interface1 method30(Class76 class76, int i) {
		if (class76 == Class76.aClass76_1121)
			return client.aClass497_Sub1_Sub3_Sub5_Sub1Array8277[i];
		if (Class76.aClass76_1120 == class76) {
			Class587_Sub20 class587_sub20 = (Class587_Sub20) client.aClass445_8054.method7988((long) i);
			if (null != class587_sub20)
				return (Interface1) class587_sub20.anObject9642;
		}
		return null;
	}

	static final void method932(Class477 class477, byte 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;
		Class484.method11001(class35, class118, class477, 1920356690);
	}

	static final void method933(Class35 class35, Class118 class118, Class477 class477, byte i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		if (Class259.method5137(string, class477, -1621124502) != null)
			string = string.substring(0, string.length() - 1);
		class35.anObjectArray594 = Class188.method3960(string, class477, (byte) 4);
		class35.aBool448 = true;
	}

	static final void method934(Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 += 1803340247) * -443336217 - 1] = string.toLowerCase();
	}

	public static String method935(String string, int i) {
		int i_1_ = string.length();
		int i_2_ = 0;
		for (int i_3_ = 0; i_3_ < i_1_; i_3_++) {
			char c = string.charAt(i_3_);
			if (c == '<' || '>' == c)
				i_2_ += 3;
		}
		StringBuilder stringbuilder = new StringBuilder(i_1_ + i_2_);
		for (int i_4_ = 0; i_4_ < i_1_; i_4_++) {
			char c = string.charAt(i_4_);
			if ('<' == c)
				stringbuilder.append("<lt>");
			else if ('>' == c)
				stringbuilder.append("<gt>");
			else
				stringbuilder.append(c);
		}
		return stringbuilder.toString();
	}

	static final void method936(Class477 class477, byte i) {
		int i_5_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class35 class35 = Class109.method2606(i_5_, -1937755289);
		Class118 class118 = Class35.aClass118Array464[i_5_ >> 16];
		Class76.method1820(class35, class118, class477, (byte) 0);
	}

	static final void method937(Class477 class477, int i) {
		Class211.method4435((byte) -74);
	}
}
