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

public abstract class Class176 {
	public int anInt2156;
	public int anInt2157;
	public int anInt2158;
	public int anInt2159;
	public int[][] anIntArrayArray2160;

	public abstract Class587_Sub34_Sub10 method3780(int i, int i_0_, Class587_Sub34_Sub10 class587_sub34_sub10);

	Class176(int i, int i_1_, int i_2_, int[][] is) {
		anInt2158 = i * -807739343;
		anInt2157 = i_1_ * 834489831;
		int i_3_ = 0;
		for (/**/; i_2_ > 1; i_2_ >>= 1)
			i_3_++;
		anInt2156 = -666555097 * (1 << i_3_);
		anInt2159 = -365508221 * i_3_;
		anIntArrayArray2160 = is;
	}

	public abstract void method3781(int i, int i_4_, int[] is, int[] is_5_, int[] is_6_, int[] is_7_, int[] is_8_, int[] is_9_, int[] is_10_, int[] is_11_, Class98 class98, boolean bool);

	public abstract void method3782(int i, int i_12_, int[] is, int[] is_13_, int[] is_14_, int[] is_15_, int[] is_16_, int[] is_17_, int[] is_18_, int[] is_19_, int[] is_20_, int[] is_21_, int[] is_22_, Class98 class98, boolean bool);

	public abstract void method3783(int i, int i_23_, int i_24_, boolean[][] bools, boolean bool, int i_25_);

	public abstract void method3784(int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, boolean[][] bools);

	public abstract void method3785(int i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_, boolean[][] bools);

	public abstract void method3786();

	public final int method3787(int i, int i_38_, int i_39_) {
		return anIntArrayArray2160[i][i_38_];
	}

	public abstract Class587_Sub34_Sub10 method3788(int i, int i_40_, Class587_Sub34_Sub10 class587_sub34_sub10);

	public abstract void method3789(int i, int i_41_, int i_42_);

	public abstract Class587_Sub34_Sub10 method3790(int i, int i_43_, Class587_Sub34_Sub10 class587_sub34_sub10);

	public abstract boolean method3791(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_44_, int i_45_, int i_46_, boolean bool);

	public abstract void method3792(Class587_Sub12 class587_sub12, int[] is);

	public abstract void method3793();

	public abstract void method3794(int i, int i_47_, int i_48_, boolean[][] bools, boolean bool, int i_49_);

	public abstract void method3795(int i, int i_50_, int[] is, int[] is_51_, int[] is_52_, int[] is_53_, int[] is_54_, int[] is_55_, int[] is_56_, int[] is_57_, int[] is_58_, int[] is_59_, int[] is_60_, Class98 class98, boolean bool);

	public abstract void method3796(int i, int i_61_, int[] is, int[] is_62_, int[] is_63_, int[] is_64_, int[] is_65_, int[] is_66_, int[] is_67_, int[] is_68_, int[] is_69_, int[] is_70_, int[] is_71_, Class98 class98, boolean bool);

	public abstract void method3797(int i, int i_72_, int[] is, int[] is_73_, int[] is_74_, int[] is_75_, int[] is_76_, int[] is_77_, int[] is_78_, int[] is_79_, Class98 class98, boolean bool);

	public abstract void method3798(int i, int i_80_, int[] is, int[] is_81_, int[] is_82_, int[] is_83_, int[] is_84_, int[] is_85_, int[] is_86_, int[] is_87_, Class98 class98, boolean bool);

	public abstract void method3799();

	public abstract void method3800(int i, int i_88_, int i_89_);

	public abstract void method3801(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_90_, int i_91_, int i_92_, boolean bool);

	public abstract void method3802(int i, int i_93_, int i_94_, boolean[][] bools, boolean bool, int i_95_);

	public abstract void method3803(int i, int i_96_, int i_97_, boolean[][] bools, boolean bool, int i_98_);

	public final int method3804(int i, int i_99_) {
		return anIntArrayArray2160[i][i_99_];
	}

	public abstract void method3805(int i, int i_100_, int i_101_);

	public abstract Class587_Sub34_Sub10 method3806(int i, int i_102_, Class587_Sub34_Sub10 class587_sub34_sub10);

	public abstract void method3807(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_103_, int i_104_, int i_105_, boolean bool);

	public abstract void method3808(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_106_, int i_107_, int i_108_, boolean bool);

	public abstract boolean method3809(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_109_, int i_110_, int i_111_, boolean bool);

	public abstract boolean method3810(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_112_, int i_113_, int i_114_, boolean bool);

	public abstract void method3811(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_115_, int i_116_, int i_117_, boolean bool);

	public abstract void method3812(Class587_Sub34_Sub10 class587_sub34_sub10, int i, int i_118_, int i_119_, int i_120_, boolean bool);

	public abstract void method3813(Class587_Sub12 class587_sub12, int[] is);

	public abstract void method3814(Class587_Sub12 class587_sub12, int[] is);

	public final int method3815(int i, int i_121_) {
		int i_122_ = i >> anInt2159 * -825914069;
		int i_123_ = i_121_ >> anInt2159 * -825914069;
		if (i_122_ < 0 || i_123_ < 0 || i_122_ > anInt2158 * 850950353 - 1 || i_123_ > 1479505367 * anInt2157 - 1)
			return 0;
		int i_124_ = i & 1116828311 * anInt2156 - 1;
		int i_125_ = i_121_ & anInt2156 * 1116828311 - 1;
		int i_126_ = ((i_124_ * anIntArrayArray2160[i_122_ + 1][i_123_] + ((anInt2156 * 1116828311 - i_124_) * anIntArrayArray2160[i_122_][i_123_])) >> -825914069 * anInt2159);
		int i_127_ = ((i_124_ * anIntArrayArray2160[i_122_ + 1][i_123_ + 1] + (anIntArrayArray2160[i_122_][i_123_ + 1] * (anInt2156 * 1116828311 - i_124_))) >> anInt2159 * -825914069);
		return (i_125_ * i_127_ + i_126_ * (1116828311 * anInt2156 - i_125_) >> -825914069 * anInt2159);
	}

	public final int method3816(int i, int i_128_) {
		int i_129_ = i >> anInt2159 * -825914069;
		int i_130_ = i_128_ >> anInt2159 * -825914069;
		if (i_129_ < 0 || i_130_ < 0 || i_129_ > anInt2158 * 850950353 - 1 || i_130_ > 1479505367 * anInt2157 - 1)
			return 0;
		int i_131_ = i & 1116828311 * anInt2156 - 1;
		int i_132_ = i_128_ & anInt2156 * 1116828311 - 1;
		int i_133_ = ((i_131_ * anIntArrayArray2160[i_129_ + 1][i_130_] + ((anInt2156 * 1116828311 - i_131_) * anIntArrayArray2160[i_129_][i_130_])) >> -825914069 * anInt2159);
		int i_134_ = ((i_131_ * anIntArrayArray2160[i_129_ + 1][i_130_ + 1] + (anIntArrayArray2160[i_129_][i_130_ + 1] * (anInt2156 * 1116828311 - i_131_))) >> anInt2159 * -825914069);
		return (i_132_ * i_134_ + i_133_ * (1116828311 * anInt2156 - i_132_) >> -825914069 * anInt2159);
	}

	public final int method3817(int i, int i_135_, byte i_136_) {
		int i_137_ = i >> anInt2159 * -825914069;
		int i_138_ = i_135_ >> anInt2159 * -825914069;
		if (i_137_ < 0 || i_138_ < 0 || i_137_ > anInt2158 * 850950353 - 1 || i_138_ > 1479505367 * anInt2157 - 1)
			return 0;
		int i_139_ = i & 1116828311 * anInt2156 - 1;
		int i_140_ = i_135_ & anInt2156 * 1116828311 - 1;
		int i_141_ = ((i_139_ * anIntArrayArray2160[i_137_ + 1][i_138_] + ((anInt2156 * 1116828311 - i_139_) * anIntArrayArray2160[i_137_][i_138_])) >> -825914069 * anInt2159);
		int i_142_ = ((i_139_ * anIntArrayArray2160[i_137_ + 1][i_138_ + 1] + (anIntArrayArray2160[i_137_][i_138_ + 1] * (anInt2156 * 1116828311 - i_139_))) >> anInt2159 * -825914069);
		return (i_140_ * i_142_ + i_141_ * (1116828311 * anInt2156 - i_140_) >> -825914069 * anInt2159);
	}

	public final int method3818(int i, int i_143_) {
		return anIntArrayArray2160[i][i_143_];
	}

	public final int method3819(int i, int i_144_) {
		return anIntArrayArray2160[i][i_144_];
	}

	public static void method3820(Class587_Sub32 class587_sub32, byte i) {
		if (!Class310.method6188(client.anInt8013 * 906940163, 598693979))
			class587_sub32.method15960((byte) 78);
		else
			Class509.aClass488_Sub1_6782.method11077(class587_sub32, 199446135);
	}

	static final void method3821(Class477 class477, int i) throws Exception_Sub4 {
		((Class477) class477).anInt6498 -= 2014236828;
		float f = (float) (((Class477) class477).anIntArray6497[((Class477) class477).anInt6498 * 2028895127]);
		float f_145_ = (float) (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498 + 1]);
		float f_146_ = (float) (((Class477) class477).anIntArray6497[2 + 2028895127 * ((Class477) class477).anInt6498]);
		float f_147_ = ((float) (((Class477) class477).anIntArray6497[((Class477) class477).anInt6498 * 2028895127 + 3]) / 1000.0F);
		Class426.aClass72_Sub1_6203.method1649(Class277.method5434(f, f_145_, f_146_), f_147_, 1166017581);
	}

	static final void method3822(Class477 class477, int i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub14_8635.method13874((byte) 127);
	}

	static final void method3823(Class477 class477, int i) {
		Class587_Sub30 class587_sub30 = (Class587_Sub30) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		if (Class426.aClass72_Sub1_6203.method1664(1631387872) != Class82.aClass82_1149)
			throw new RuntimeException();
		Class432_Sub5 class432_sub5 = ((Class432_Sub5) Class426.aClass72_Sub1_6203.method1702((short) 15024));
		class432_sub5.method13892(class587_sub30, (short) 1014);
	}

	public static Class438 method3824(byte i) {
		if (null == Class14.aClass438_136)
			return Class438.aClass438_6296;
		return Class14.aClass438_136;
	}

	static final void method3825(Class477 class477, int i) {
		String string = (String) (((Class477) class477).anObjectArray6499[(((Class477) class477).anInt6500 -= 1803340247) * -443336217]);
		if (string.startsWith(Class172.method3767(0, 1764815590)) || string.startsWith(Class172.method3767(1, 1555943190)))
			string = string.substring(7);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class2.method454(string, (short) 24583);
	}

	public static void method3826(Class497_Sub1_Sub3_Sub5_Sub2 class497_sub1_sub3_sub5_sub2, byte i) {
		for (Class587_Sub22 class587_sub22 = ((Class587_Sub22) Class587_Sub22.aClass413_9646.method7361(1875773442)); class587_sub22 != null; class587_sub22 = (Class587_Sub22) Class587_Sub22.aClass413_9646.method7344(-478903160)) {
			if (class497_sub1_sub3_sub5_sub2 == (((Class587_Sub22) class587_sub22).aClass497_Sub1_Sub3_Sub5_Sub2_9659)) {
				if (null != ((Class587_Sub22) class587_sub22).aClass206_9674) {
					((Class587_Sub22) class587_sub22).aClass206_9674.method4350(100, (byte) -71);
					Class562.aClass125_7318.method2949((((Class587_Sub22) class587_sub22).aClass206_9674), (byte) 115);
					((Class587_Sub22) class587_sub22).aClass206_9674 = null;
				}
				class587_sub22.method12749((byte) -10);
				break;
			}
		}
	}

	public static void method3827(String[] strings, int[] is, int i) {
		Class214.method4460(strings, is, 0, strings.length - 1, 1200902447);
	}
}
