/* Class280 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Rectangle;

public class Class280 {
	public static final int anInt4230 = 4;
	public static final int anInt4231 = 3;
	public static final int anInt4232 = 0;
	public static final int anInt4233 = 1;
	public static final int anInt4234 = 2;

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

	static final void method5676(Class477 class477, byte i) {
		((Class477) class477).anInt6498 -= -1140365234;
		Class562.aClass125_7318.method2959((((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]), (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498 + 1]), (byte) -37);
	}

	public static final int method5677(int i, int i_0_, int i_1_, int i_2_) {
		if (client.aClass237_8070.method4711((byte) -50) == null)
			return 0;
		int i_3_ = i >> 9;
		int i_4_ = i_0_ >> 9;
		if (i_3_ < 0 || i_4_ < 0 || i_3_ > client.aClass237_8070.method4724(555686176) - 1 || i_4_ > client.aClass237_8070.method4678((byte) -107) - 1)
			return 0;
		int i_5_ = i_1_;
		if (i_5_ < 3 && ((client.aClass237_8070.method4686(664198355).aByteArrayArrayArray4295[1][i_3_][i_4_]) & 0x2) != 0)
			i_5_++;
		return client.aClass237_8070.method4711((byte) -119).aClass176Array7580[i_5_].method3817(i, i_0_, (byte) -93);
	}

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

	public static void method5679(byte i) {
		synchronized (Class504.aClass113_6737) {
			Class504.aClass113_6737.method2642(-1309264642);
		}
		synchronized (Class504.aClass113_6732) {
			Class504.aClass113_6732.method2642(-907021185);
		}
	}

	static final void method5680(int i, int i_6_, int i_7_, int i_8_, byte i_9_) {
		for (int i_10_ = 0; i_10_ < client.anInt8046 * -1882337233; i_10_++) {
			Rectangle rectangle = client.aRectangleArray8249[i_10_];
			if (rectangle.x + rectangle.width > i && rectangle.x < i_7_ + i && rectangle.height + rectangle.y > i_6_ && rectangle.y < i_8_ + i_6_)
				client.aBoolArray8247[i_10_] = true;
		}
	}
}
