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

public class Class82_Sub12 extends Class82 {
	int anInt6862;
	int anInt6863;
	static Class66 aClass66_6864;
	int anInt6865;
	int anInt6866;
	int anInt6867;

	public void method866(int i) {
		try {
			Class87.aClass94Array794[((Class82_Sub12) this).anInt6862
					* -2006974637]
					.method1018(((Class82_Sub12) this).anInt6863 * -101561809,
							381156897 * ((Class82_Sub12) this).anInt6867,
							((Class82_Sub12) this).anInt6865 * -371026667,
							((Class82_Sub12) this).anInt6866 * -1672595375,
							-1330038095);
		} catch (RuntimeException runtimeexception) {
			throw Class346.method4175(runtimeexception, new StringBuilder()
					.append("xy.f(").append(')').toString());
		}
	}

	public void method869() {
		Class87.aClass94Array794[((Class82_Sub12) this).anInt6862 * -2006974637]
				.method1018(((Class82_Sub12) this).anInt6863 * -101561809,
						381156897 * ((Class82_Sub12) this).anInt6867,
						((Class82_Sub12) this).anInt6865 * -371026667,
						((Class82_Sub12) this).anInt6866 * -1672595375,
						-755082394);
	}

	Class82_Sub12(RsByteBuffer class298_sub53) {
		super(class298_sub53);
		((Class82_Sub12) this).anInt6862 = class298_sub53
				.readUnsignedShort() * 1766759643;
		int i = class298_sub53.readInt((byte) 125);
		((Class82_Sub12) this).anInt6863 = 1505574095 * (i >>> 16);
		((Class82_Sub12) this).anInt6867 = 1475544545 * (i & 0xffff);
		((Class82_Sub12) this).anInt6865 = class298_sub53
				.readUnsignedByte() * 472584765;
		((Class82_Sub12) this).anInt6866 = class298_sub53.method3645(590991010)
				* -1870262095;
	}

	public void method868() {
		Class87.aClass94Array794[((Class82_Sub12) this).anInt6862 * -2006974637]
				.method1018(((Class82_Sub12) this).anInt6863 * -101561809,
						381156897 * ((Class82_Sub12) this).anInt6867,
						((Class82_Sub12) this).anInt6865 * -371026667,
						((Class82_Sub12) this).anInt6866 * -1672595375,
						-2023756610);
	}

	public static void method909(String string, int i) {
		try {
			if (client.aBoolean8835
					&& (-112110875 * Class298.anInt3192 & 0x18) != 0) {
				boolean bool = false;
				int i_0_ = 1168366243 * Class10.anInt129;
				int[] is = Class10.anIntArray135;
				for (int i_1_ = 0; i_1_ < i_0_; i_1_++) {
					Player class365_sub1_sub1_sub2_sub2 = (client.aClass365_Sub1_Sub1_Sub2_Sub2Array8805[is[i_1_]]);
					if (class365_sub1_sub1_sub2_sub2.aString10195 != null
							&& class365_sub1_sub1_sub2_sub2.aString10195
									.equalsIgnoreCase(string)
							&& (((class365_sub1_sub1_sub2_sub2 == Class287.myPlayer) && 0 != (Class298.anInt3192
									* -112110875 & 0x10)) || 0 != (-112110875
									* Class298.anInt3192 & 0x8))) {
						Class298_Sub36 class298_sub36 = Class18
								.method359(OutcommingPacket.INTERFACE_ON_PLAYER,
										(client.aClass25_8711.aClass449_330),
										(byte) 25);
						class298_sub36.aClass298_Sub53_Sub2_7396.writeShort(
								client.anInt8906 * 1408085039, 16711935);
						class298_sub36.aClass298_Sub53_Sub2_7396.writeShort(
								is[i_1_], 16711935);
						class298_sub36.aClass298_Sub53_Sub2_7396.writeIntV2(
								1262526353 * Class379.anInt4099);
						class298_sub36.aClass298_Sub53_Sub2_7396.writeShortLE128(
								client.anInt8836 * 392084321);
						class298_sub36.aClass298_Sub53_Sub2_7396.write128Byte(0,
								(byte) 1);
						client.aClass25_8711.method390(class298_sub36,
								(byte) -11);
						int i_2_ = class365_sub1_sub1_sub2_sub2
								.getSize();
						Class82_Sub21
								.method938(
										class365_sub1_sub1_sub2_sub2.scenePositionXQueue[0],
										class365_sub1_sub1_sub2_sub2.scenePositionYQueue[0],
										true,
										Class325
												.method3963(
														(class365_sub1_sub1_sub2_sub2.scenePositionXQueue[0]),
														(class365_sub1_sub1_sub2_sub2.scenePositionYQueue[0]),
														i_2_, i_2_, 0,
														(byte) -117),
										-263181253);
						bool = true;
						break;
					}
				}
				if (!bool)
					Class264.method2492(4, new StringBuilder().append(
							Tradution.aClass470_5853.method6049(
									Class321.aClass429_3357, -875414210))
							.append(string).toString(), (byte) -81);
				if (client.aBoolean8835)
					Class144.method1587((byte) 4);
			}
		} catch (RuntimeException runtimeexception) {
			throw Class346.method4175(runtimeexception, new StringBuilder()
					.append("xy.kf(").append(')').toString());
		}
	}
}
