package jagex;

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

public abstract class Class405 implements Interface42 {
	protected String aString4753 = null;
	protected String aString4754;
	protected String aString4755;

	abstract void method4801(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_0_);

	abstract void method4802(int i, float[] fs, int i_1_);

	public abstract boolean method4803();

	abstract void method4804(Class572_Sub8_Sub1 class572_sub8_sub1, float f);

	abstract void method4805(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4806(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_2_, float f_3_);

	abstract void method4807(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_4_, float f_5_, float f_6_);

	abstract void method4808(Class572_Sub8_Sub1 class572_sub8_sub1, float[] fs, int i);

	abstract void method4809(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4810(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4811(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_7_, float f_8_);

	abstract void method4812(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_9_, float f_10_, float f_11_);

	abstract void method4813(int i, float f, float f_12_, float f_13_, float f_14_);

	abstract void method4814(Class572_Sub8_Sub1 class572_sub8_sub1, float f);

	abstract void method4815(int i, float[] fs, int i_15_);

	abstract void method4816(int i, Class250 class250);

	abstract void method4817(Class572_Sub8_Sub1 class572_sub8_sub1, float[] fs, int i);

	abstract void method4818(int i, int i_16_, Interface34 interface34);

	public abstract boolean method4819();

	abstract void method4820(Class572_Sub8_Sub1 class572_sub8_sub1, float f);

	String method4821(int i) {
		return aString4753;
	}

	abstract void method4822(Class572_Sub8_Sub1 class572_sub8_sub1, float f);

	abstract void method4823(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_17_);

	abstract void method4824(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_18_, float f_19_);

	abstract void method4825(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_20_, float f_21_, float f_22_);

	abstract void method4826(int i, Class250 class250);

	abstract void method4827(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	Class405() {
		/* empty */
	}

	abstract void method4828(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4829(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4830(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4831(int i, Class250 class250);

	abstract void method4832(Class572_Sub8_Sub1 class572_sub8_sub1, int i, Interface34 interface34);

	abstract void method4833(int i, float f, float f_23_, float f_24_);

	abstract void method4834(int i, float f, float f_25_, float f_26_);

	abstract void method4835(int i, float f, float f_27_, float f_28_);

	abstract void method4836(int i, Class250 class250);

	abstract void method4837(int i, float f, float f_29_, float f_30_, float f_31_);

	abstract void method4838(int i, float f, float f_32_, float f_33_, float f_34_);

	abstract void method4839(int i, float f, float f_35_, float f_36_, float f_37_);

	abstract void method4840(Class572_Sub8_Sub1 class572_sub8_sub1, int i, Interface34 interface34);

	abstract void method4841(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_38_, float f_39_, float f_40_);

	abstract void method4842(int i, Class250 class250);

	abstract void method4843(int i, float f, float f_41_, float f_42_);

	abstract void method4844(int i, Class250 class250);

	abstract void method4845(int i, int i_43_, Interface34 interface34);

	abstract void method4846(int i, float f, float f_44_, float f_45_);

	abstract void method4847(Class572_Sub8_Sub1 class572_sub8_sub1, Class250 class250);

	abstract void method4848(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_46_);

	abstract void method4849(Class572_Sub8_Sub1 class572_sub8_sub1, float f, float f_47_, float f_48_);

	abstract void method4850(int i, Class250 class250);

	static boolean method4851(int i) {
		if (null != client.aByteArray8565)
			return Class404.method4799(444809790);
		if (-1 != -2082178003 * Class13.anInt68)
			return Class456_Sub1_Sub3_Sub2.method10508((byte) -50);
		return Class572_Sub27.method8638(Class13.aString70, Class13.aString103, 1919311337);
	}

	static void method4852(Cs2Executor class441, int i) {
		((Cs2Executor) class441).intStack[(((Cs2Executor) class441).intStackPtr += -1042067865) * 1369304407 - 1] = Class56.method995(-207960071);
	}

	static final void method4853(Cs2Executor class441, int i) {
		((Cs2Executor) class441).intStackPtr -= -2084135730;
		int i_49_ = (((Cs2Executor) class441).intStack[1369304407 * ((Cs2Executor) class441).intStackPtr]);
		int i_50_ = (((Cs2Executor) class441).intStack[1 + 1369304407 * ((Cs2Executor) class441).intStackPtr]);
		Class264 class264 = ((Class264) Class273.aClass639_Sub3_2901.getDefinition(i_50_, 1334526350));
		if (class264.method3614(1783094145))
			((Cs2Executor) class441).objectStack[((((Cs2Executor) class441).objectStackPtr += 1019967701) * 1628307581 - 1)] = ((ObjectDefinitions) client.aClass613_8605.method7288(-1029773768).getDefinition(i_49_, 1504461184)).method6046(i_50_, class264.aString2833, -1050035192);
		else
			((Cs2Executor) class441).intStack[((((Cs2Executor) class441).intStackPtr += -1042067865) * 1369304407 - 1)] = (((ObjectDefinitions) client.aClass613_8605.method7288(808715321).getDefinition(i_49_, -1973406613)).method6048(i_50_, class264.anInt2832 * -1132777561, (byte) 48));
	}

	public static Class417 method4854(int i, byte i_51_) {
		Class417[] class417s = Class387.method4689(-1415827354);
		for (int i_52_ = 0; i_52_ < class417s.length; i_52_++) {
			Class417 class417 = class417s[i_52_];
			if (((Class417) class417).anInt4943 * -1402369595 == i)
				return class417;
		}
		return null;
	}

	static final void method4855(Class106 class106, int i, int i_53_, int i_54_, int i_55_, byte i_56_) {
		class106.method1715(i, i_53_, i_54_ + i, i_53_ + i_55_);
		class106.method1720(i, i_53_, i_54_, i_55_, -16777216, (byte) -121);
		if (448209883 * Class547_Sub1.anInt8987 >= 100) {
			float f = ((float) Class547_Sub1.anInt6151 / (float) Class547_Sub1.anInt6145);
			int i_57_ = i_54_;
			int i_58_ = i_55_;
			if (f < 1.0F)
				i_58_ = (int) (f * (float) i_54_);
			else
				i_57_ = (int) ((float) i_55_ / f);
			i += (i_54_ - i_57_) / 2;
			i_53_ += (i_55_ - i_58_) / 2;
			if (NPCDefintion.aClass161_4861 == null || NPCDefintion.aClass161_4861.method2587() != i_57_ || NPCDefintion.aClass161_4861.method2588() != i_58_) {
				Class547_Sub1.aClass127_6169 = Class547_Sub1.aClass127_6168;
				Class547_Sub1.method6506(Class547_Sub1.anInt6143, (Class547_Sub1.anInt6151 + Class547_Sub1.anInt6165), (Class547_Sub1.anInt6145 + Class547_Sub1.anInt6143), Class547_Sub1.anInt6165, i, i_53_, i_57_ + i, i_58_ + i_53_);
				Class547_Sub1.method6469(class106, false, false, client.aBool8731, true);
				class106.method1747();
				NPCDefintion.aClass161_4861 = class106.method1821(i, i_53_, i_57_, i_58_, true);
			}
			NPCDefintion.aClass161_4861.method2595(i, i_53_);
			int i_59_ = (i_57_ * (-1077286783 * Class516.anInt5744) / Class547_Sub1.anInt6145);
			int i_60_ = (1126929967 * Class336.anInt4307 * i_58_ / Class547_Sub1.anInt6151);
			int i_61_ = ((i_57_ * (Class512.anInt5704 * 1474549849) / Class547_Sub1.anInt6145) + i);
			int i_62_ = i_58_ + i_53_ - (Class96.anInt1254 * 605019339 * i_58_ / Class547_Sub1.anInt6151) - i_60_;
			int i_63_ = -1996554240;
			if (Class437.aClass437_5068 == client.aClass437_8705)
				i_63_ = -1996488705;
			class106.method1725(i_61_, i_62_, i_59_, i_60_, i_63_, 1);
			class106.method1724(i_61_, i_62_, i_59_, i_60_, i_63_, 0);
			for (Class572_Sub19 class572_sub19 = ((Class572_Sub19) Class547_Sub1.aClass675_6149.method7932((byte) 50)); class572_sub19 != null; class572_sub19 = ((Class572_Sub19) Class547_Sub1.aClass675_6149.method7926(2039515565))) {
				Class78 class78 = ((Class78) (Class547_Sub1.aClass639_Sub12_6173.getDefinition(class572_sub19.anInt9142 * 295399623, 974282498)));
				if (Class620.method7432(class78, (byte) 107)) {
					Class22 class22 = (Class22) (Class547_Sub1.aHashMap8990.get(Integer.valueOf(class572_sub19.anInt9142 * 295399623)));
					if (class22 == null)
						class22 = (Class22) (Class547_Sub1.aHashMap8980.get(Integer.valueOf(class78.anInt980 * -1430206655)));
					if (class22 != null) {
						int i_64_;
						if (((Class22) class22).anInt150 * 2046052353 > 846510147 * Class547_Sub1.anInt8993 / 2)
							i_64_ = ((1111722685 * Class547_Sub1.anInt8993 - (2052307199 * ((Class22) class22).anInt150)) / (846510147 * Class547_Sub1.anInt8993));
						else
							i_64_ = (((Class22) class22).anInt150 * 2052307199 / (Class547_Sub1.anInt8993 * 846510147));
						int i_65_ = ((class572_sub19.anInt9140 * -1389911785 * i_57_ / Class547_Sub1.anInt6145) + i);
						int i_66_ = (((Class547_Sub1.anInt6151 - 599105849 * class572_sub19.anInt9141) * i_58_ / Class547_Sub1.anInt6151) + i_53_);
						class106.method1720(i_65_ - 2, i_66_ - 2, 4, 4, i_64_ << 24 | 0xffff00, (byte) -18);
					}
				}
			}
			Class547_Sub1.aClass127_6168.method2235(5, 1683579969);
		}
	}

	static final void method4856(Cs2Executor class441, int i) {
		((Cs2Executor) class441).intStackPtr -= -2084135730;
		((Cs2Executor) class441).intStack[(((Cs2Executor) class441).intStackPtr += -1042067865) * 1369304407 - 1] = -1;
		((Cs2Executor) class441).intStack[(((Cs2Executor) class441).intStackPtr += -1042067865) * 1369304407 - 1] = -1;
	}
}
