/* Class647_Sub1_Sub1_Sub2 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
package com.jagex;

public class Class647_Sub1_Sub1_Sub2 extends Class647_Sub1_Sub1 implements Interface61 {
	public Class529 aClass529_12010;
	boolean aBool12011;
	Class564 aClass564_12012;
	boolean aBool12013 = true;
	public static Class53 aClass53_12014;

	void method16756(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 262144, false, true, -763239385);
		if (null != class167) {
			Class435 class435 = method10585();
			Class432 class432 = method10569();
			int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
			int i_0_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
			aClass529_12010.method8754(class178, class167, class435, i, i, i_0_, i_0_, false, (byte) -119);
		}
	}

	boolean method16701(int i) {
		return false;
	}

	boolean method16702(int i) {
		return aBool12013;
	}

	public Class564 method16707(Class178 class178, byte i) {
		return aClass564_12012;
	}

	public void method394(Class178 class178, int i) {
		aClass529_12010.method8743(class178, (byte) -29);
	}

	public int method16740(int i) {
		return aClass529_12010.method8761(196535720);
	}

	public void method18460(Class591 class591, int i) {
		aClass529_12010.method8738(class591, -662254626);
	}

	void method16727(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 262144, false, true, -763239385);
		if (null != class167) {
			Class435 class435 = method10585();
			Class432 class432 = method10569();
			int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
			int i_1_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
			aClass529_12010.method8754(class178, class167, class435, i, i, i_1_, i_1_, false, (byte) -90);
		}
	}

	boolean method16716() {
		return aBool12013;
	}

	public void method395(Class178 class178, int i) {
		aClass529_12010.method8744(class178, 2137069651);
	}

	boolean method16718() {
		return aBool12013;
	}

	public int method401(int i) {
		return 241225827 * aClass529_12010.anInt7104;
	}

	public int method390(int i) {
		return aClass529_12010.anInt7113 * 5257107;
	}

	public void method391(int i) {
		/* empty */
	}

	public boolean method393(int i) {
		return true;
	}

	public boolean method392(short i) {
		return aClass529_12010.method8742((byte) 62);
	}

	public int method69(int i) {
		return 673355279 * aClass529_12010.anInt7105;
	}

	public boolean method291() {
		return true;
	}

	public int method182() {
		return 241225827 * aClass529_12010.anInt7104;
	}

	public int method86() {
		return 673355279 * aClass529_12010.anInt7105;
	}

	public int method88() {
		return 673355279 * aClass529_12010.anInt7105;
	}

	public Class564 method16721(Class178 class178) {
		return aClass564_12012;
	}

	public int method397() {
		return aClass529_12010.anInt7113 * 5257107;
	}

	public int method400() {
		return aClass529_12010.anInt7113 * 5257107;
	}

	public int method16719() {
		return aClass529_12010.method8737(-828298123);
	}

	void method16706(Class178 class178, short i) {
		Class167 class167 = aClass529_12010.method8741(class178, 262144, false, true, -763239385);
		if (null != class167) {
			Class435 class435 = method10585();
			Class432 class432 = method10569();
			int i_2_ = (int) class432.aClass437_4862.aFloat4903 >> 9;
			int i_3_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
			aClass529_12010.method8754(class178, class167, class435, i_2_, i_2_, i_3_, i_3_, false, (byte) -17);
		}
	}

	public boolean method402() {
		return aClass529_12010.method8742((byte) 80);
	}

	public boolean method249() {
		return aClass529_12010.method8742((byte) 12);
	}

	public int method16743(int i) {
		return aClass529_12010.method8737(-817555594);
	}

	Class559 method16744(Class178 class178, byte i) {
		Class167 class167 = aClass529_12010.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = class178.method3113();
		class435.method6803(method10585());
		class435.method6819((float) aShort11734, 0.0F, (float) aShort11735);
		Class432 class432 = method10569();
		Class559 class559 = Class238.method4306(aBool12011, 315960717);
		int i_4_ = (int) class432.aClass437_4862.aFloat4903 >> 9;
		int i_5_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
		aClass529_12010.method8754(class178, class167, class435, i_4_, i_4_, i_5_, i_5_, true, (byte) -58);
		Class602 class602 = aClass529_12010.method8740((byte) -15);
		if (class602.aClass430_7931 != null) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (null != aClass529_12010.aClass621_7119) {
			Class171 class171 = aClass529_12010.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool12013 = class167.method2730() || aClass529_12010.aClass621_7119 != null;
		if (aClass564_12012 == null)
			aClass564_12012 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -98218761);
		else
			Class46.method1249(aClass564_12012, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, -2113731480);
		return class559;
	}

	public boolean method403() {
		return true;
	}

	public boolean method399() {
		return true;
	}

	public void method405(Class178 class178) {
		aClass529_12010.method8743(class178, (byte) -40);
	}

	public void method404(Class178 class178) {
		aClass529_12010.method8743(class178, (byte) 89);
	}

	public void method407(Class178 class178) {
		aClass529_12010.method8744(class178, -1489623698);
	}

	public void method398(Class178 class178) {
		aClass529_12010.method8744(class178, -1470308344);
	}

	public void method408(Class178 class178) {
		aClass529_12010.method8744(class178, 73977882);
	}

	boolean method16715() {
		return false;
	}

	public void method362() {
		/* empty */
	}

	boolean method16741() {
		return aBool12013;
	}

	public int method16722() {
		return aClass529_12010.method8761(847162647);
	}

	public int method16720() {
		return aClass529_12010.method8737(-654493927);
	}

	boolean method16698(Class178 class178, int i, int i_6_, byte i_7_) {
		Class602 class602 = aClass529_12010.method8740((byte) 12);
		if (class602.aClass430_7931 != null)
			return class178.method3095(i, i_6_, method10585(), class602.aClass430_7931, 790436247);
		Class167 class167 = aClass529_12010.method8741(class178, 131072, false, false, -763239385);
		if (class167 == null)
			return false;
		return class167.method2709(i, i_6_, method10585(), false, 0);
	}

	public boolean method406() {
		return true;
	}

	public int method396() {
		return 673355279 * aClass529_12010.anInt7105;
	}

	public int method16723() {
		return aClass529_12010.method8761(-808425729);
	}

	Class559 method16724(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = class178.method3113();
		class435.method6803(method10585());
		class435.method6819((float) aShort11734, 0.0F, (float) aShort11735);
		Class432 class432 = method10569();
		Class559 class559 = Class238.method4306(aBool12011, 158380612);
		int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
		int i_8_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
		aClass529_12010.method8754(class178, class167, class435, i, i, i_8_, i_8_, true, (byte) -108);
		Class602 class602 = aClass529_12010.method8740((byte) 30);
		if (class602.aClass430_7931 != null) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (null != aClass529_12010.aClass621_7119) {
			Class171 class171 = aClass529_12010.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool12013 = class167.method2730() || aClass529_12010.aClass621_7119 != null;
		if (aClass564_12012 == null)
			aClass564_12012 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -835488669);
		else
			Class46.method1249(aClass564_12012, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, -954848186);
		return class559;
	}

	Class559 method16725(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = class178.method3113();
		class435.method6803(method10585());
		class435.method6819((float) aShort11734, 0.0F, (float) aShort11735);
		Class432 class432 = method10569();
		Class559 class559 = Class238.method4306(aBool12011, 1819328721);
		int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
		int i_9_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
		aClass529_12010.method8754(class178, class167, class435, i, i, i_9_, i_9_, true, (byte) -55);
		Class602 class602 = aClass529_12010.method8740((byte) 47);
		if (class602.aClass430_7931 != null) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (null != aClass529_12010.aClass621_7119) {
			Class171 class171 = aClass529_12010.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool12013 = class167.method2730() || aClass529_12010.aClass621_7119 != null;
		if (aClass564_12012 == null)
			aClass564_12012 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -121070417);
		else
			Class46.method1249(aClass564_12012, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, 1386515583);
		return class559;
	}

	Class559 method16726(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = class178.method3113();
		class435.method6803(method10585());
		class435.method6819((float) aShort11734, 0.0F, (float) aShort11735);
		Class432 class432 = method10569();
		Class559 class559 = Class238.method4306(aBool12011, -1349232490);
		int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
		int i_10_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
		aClass529_12010.method8754(class178, class167, class435, i, i, i_10_, i_10_, true, (byte) -21);
		Class602 class602 = aClass529_12010.method8740((byte) -13);
		if (class602.aClass430_7931 != null) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (null != aClass529_12010.aClass621_7119) {
			Class171 class171 = aClass529_12010.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool12013 = class167.method2730() || aClass529_12010.aClass621_7119 != null;
		if (aClass564_12012 == null)
			aClass564_12012 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -840407808);
		else
			Class46.method1249(aClass564_12012, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, 152694027);
		return class559;
	}

	public void method18461(Class591 class591) {
		aClass529_12010.method8738(class591, -2004702676);
	}

	void method16728(Class178 class178) {
		Class167 class167 = aClass529_12010.method8741(class178, 262144, false, true, -763239385);
		if (null != class167) {
			Class435 class435 = method10585();
			Class432 class432 = method10569();
			int i = (int) class432.aClass437_4862.aFloat4903 >> 9;
			int i_11_ = (int) class432.aClass437_4862.aFloat4905 >> 9;
			aClass529_12010.method8754(class178, class167, class435, i, i, i_11_, i_11_, false, (byte) -94);
		}
	}

	public void method358() {
		/* empty */
	}

	boolean method16736(Class178 class178, int i, int i_12_) {
		Class602 class602 = aClass529_12010.method8740((byte) -15);
		if (class602.aClass430_7931 != null)
			return class178.method3095(i, i_12_, method10585(), class602.aClass430_7931, 1849882771);
		Class167 class167 = aClass529_12010.method8741(class178, 131072, false, false, -763239385);
		if (class167 == null)
			return false;
		return class167.method2709(i, i_12_, method10585(), false, 0);
	}

	boolean method16713(Class178 class178, int i, int i_13_) {
		Class602 class602 = aClass529_12010.method8740((byte) 52);
		if (class602.aClass430_7931 != null)
			return class178.method3095(i, i_13_, method10585(), class602.aClass430_7931, 412797092);
		Class167 class167 = aClass529_12010.method8741(class178, 131072, false, false, -763239385);
		if (class167 == null)
			return false;
		return class167.method2709(i, i_13_, method10585(), false, 0);
	}

	public Class647_Sub1_Sub1_Sub2(Class560 class560, Class178 class178, Class53_Sub18 class53_sub18, Class602 class602, int i, int i_14_, int i_15_, int i_16_, int i_17_, boolean bool, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_) {
		super(class560, i_15_, i_16_, i_17_, i, i_14_, i_18_, i_19_);
		aClass529_12010 = new Class529(class178, class53_sub18, class602, i_20_, i_21_, i_14_, this, bool, i_22_, i_23_);
		aBool12011 = 0 != class602.anInt7874 * -344567467 && !bool;
		method16714(1, 110935509);
	}

	public void method18462(Class591 class591) {
		aClass529_12010.method8738(class591, -1412252117);
	}

	static void method18463(int i, boolean bool, short i_24_) {
		Class523_Sub27_Sub7 class523_sub27_sub7 = Class552.createGameTask(22, (long) i);
		class523_sub27_sub7.method17963(1614539041);
		class523_sub27_sub7.anInt11653 = (bool ? 1 : 0) * -1217347391;
	}
}
