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

public class Class647_Sub1_Sub3_Sub2 extends Class647_Sub1_Sub3 implements Interface61 {
	boolean aBool11979;
	boolean aBool11980;
	Class564 aClass564_11981;
	boolean aBool11982 = true;
	public Class529 aClass529_11983;

	public Class647_Sub1_Sub3_Sub2(Class560 class560, Class178 class178, Class53_Sub18 class53_sub18, Class602 class602, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, boolean bool_12_) {
		super(class560, i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, 591624555 * class602.anInt7862 == 1, BaseVarType.method7762(i_8_, i_9_, (byte) -26));
		aClass529_11983 = new Class529(class178, class53_sub18, class602, i_8_, i_9_, i_0_, this, bool, i_10_, i_11_);
		aBool11980 = 0 != class602.anInt7874 * -344567467 && !bool;
		aBool11979 = bool_12_;
		method16714(1, 798140034);
	}

	boolean method16701(int i) {
		return false;
	}

	boolean method16741() {
		return aBool11982;
	}

	public int method16743(int i) {
		return aClass529_11983.method8737(-918211394);
	}

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

	public int method16740(int i) {
		return aClass529_11983.method8761(-990962022);
	}

	void method16727(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 262144, true, true, -763239385);
		if (null != class167)
			aClass529_11983.method8754(class178, class167, method10585(), aShort11750, aShort11749, aShort11751, aShort11752, false, (byte) -23);
	}

	boolean method16702(int i) {
		return aBool11982;
	}

	public void method18427(Class591 class591, int i) {
		aClass529_11983.method8738(class591, -1112666072);
	}

	boolean method16698(Class178 class178, int i, int i_13_, byte i_14_) {
		Class602 class602 = aClass529_11983.method8740((byte) -33);
		if (null != class602.aClass430_7931)
			return class178.method3095(i, i_13_, method10585(), class602.aClass430_7931, -1390065313);
		Class167 class167 = aClass529_11983.method8741(class178, 131072, false, false, -763239385);
		if (class167 == null)
			return false;
		return class167.method2709(i, i_13_, method10585(), false, 0);
	}

	final boolean method16699(int i) {
		return false;
	}

	final void method16703(Class178 class178, Class647_Sub1 class647_sub1, int i, int i_15_, int i_16_, boolean bool, int i_17_) {
		throw new IllegalStateException();
	}

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

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

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

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

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

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

	void method16756(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 262144, true, true, -763239385);
		if (null != class167)
			aClass529_11983.method8754(class178, class167, method10585(), aShort11750, aShort11749, aShort11751, aShort11752, false, (byte) -115);
	}

	public boolean method249() {
		return aClass529_11983.method8742((byte) 30);
	}

	public void method395(Class178 class178, int i) {
		aClass529_11983.method8744(class178, -1595517769);
	}

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

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

	public void method404(Class178 class178) {
		aClass529_11983.method8743(class178, (byte) 49);
	}

	public boolean method403() {
		return aBool11979;
	}

	boolean method16715() {
		return false;
	}

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

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

	public void method18428(Class591 class591) {
		aClass529_11983.method8738(class591, -1039404944);
	}

	public boolean method402() {
		return aClass529_11983.method8742((byte) 84);
	}

	public boolean method392(short i) {
		return aClass529_11983.method8742((byte) 10);
	}

	public boolean method291() {
		return aBool11979;
	}

	final void method16704(byte i) {
		throw new IllegalStateException();
	}

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

	public boolean method399() {
		return aBool11979;
	}

	public void method405(Class178 class178) {
		aClass529_11983.method8743(class178, (byte) 11);
	}

	public boolean method406() {
		return aBool11979;
	}

	public void method407(Class178 class178) {
		aClass529_11983.method8744(class178, -1686980651);
	}

	public void method398(Class178 class178) {
		aClass529_11983.method8744(class178, -1742332976);
	}

	public void method408(Class178 class178) {
		aClass529_11983.method8744(class178, -95843082);
	}

	Class559 method16744(Class178 class178, byte i) {
		Class167 class167 = aClass529_11983.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = method10585();
		Class559 class559 = Class238.method4306(aBool11980, -1470877664);
		aClass529_11983.method8754(class178, class167, class435, aShort11750, aShort11749, aShort11751, aShort11752, true, (byte) -29);
		Class602 class602 = aClass529_11983.method8740((byte) 12);
		if (null != class602.aClass430_7931) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (aClass529_11983.aClass621_7119 != null) {
			Class171 class171 = aClass529_11983.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool11982 = class167.method2730() || null != aClass529_11983.aClass621_7119;
		Class432 class432 = method10569();
		if (aClass564_11981 == null)
			aClass564_11981 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, 195537901);
		else
			Class46.method1249(aClass564_11981, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, -1869740650);
		return class559;
	}

	boolean method16716() {
		return aBool11982;
	}

	void method16706(Class178 class178, short i) {
		Class167 class167 = aClass529_11983.method8741(class178, 262144, true, true, -763239385);
		if (null != class167)
			aClass529_11983.method8754(class178, class167, method10585(), aShort11750, aShort11749, aShort11751, aShort11752, false, (byte) -13);
	}

	boolean method16718() {
		return aBool11982;
	}

	static byte method18429(int i, int i_18_) {
		if (1923531495 * Class607.aClass607_7971.anInt7982 != i)
			return (byte) 0;
		if ((i_18_ & 0x1) == 0)
			return (byte) 1;
		return (byte) 2;
	}

	public int method16719() {
		return aClass529_11983.method8737(-1882067910);
	}

	public int method16720() {
		return aClass529_11983.method8737(-1100897042);
	}

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

	public int method16722() {
		return aClass529_11983.method8761(-685340410);
	}

	public int method16723() {
		return aClass529_11983.method8761(-1177397818);
	}

	Class559 method16724(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = method10585();
		Class559 class559 = Class238.method4306(aBool11980, 670267539);
		aClass529_11983.method8754(class178, class167, class435, aShort11750, aShort11749, aShort11751, aShort11752, true, (byte) -124);
		Class602 class602 = aClass529_11983.method8740((byte) -22);
		if (null != class602.aClass430_7931) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (aClass529_11983.aClass621_7119 != null) {
			Class171 class171 = aClass529_11983.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool11982 = class167.method2730() || null != aClass529_11983.aClass621_7119;
		Class432 class432 = method10569();
		if (aClass564_11981 == null)
			aClass564_11981 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -812542877);
		else
			Class46.method1249(aClass564_11981, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, 965552109);
		return class559;
	}

	Class559 method16725(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = method10585();
		Class559 class559 = Class238.method4306(aBool11980, 93272829);
		aClass529_11983.method8754(class178, class167, class435, aShort11750, aShort11749, aShort11751, aShort11752, true, (byte) -24);
		Class602 class602 = aClass529_11983.method8740((byte) 25);
		if (null != class602.aClass430_7931) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (aClass529_11983.aClass621_7119 != null) {
			Class171 class171 = aClass529_11983.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool11982 = class167.method2730() || null != aClass529_11983.aClass621_7119;
		Class432 class432 = method10569();
		if (aClass564_11981 == null)
			aClass564_11981 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -2029160837);
		else
			Class46.method1249(aClass564_11981, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, 2002397990);
		return class559;
	}

	Class559 method16726(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 2048, false, true, -763239385);
		if (class167 == null)
			return null;
		Class435 class435 = method10585();
		Class559 class559 = Class238.method4306(aBool11980, -188323208);
		aClass529_11983.method8754(class178, class167, class435, aShort11750, aShort11749, aShort11751, aShort11752, true, (byte) -14);
		Class602 class602 = aClass529_11983.method8740((byte) -9);
		if (null != class602.aClass430_7931) {
			class167.method2708(class435, null, 0);
			class178.method3055(class435, aClass180Array10823[0], class602.aClass430_7931);
		} else
			class167.method2708(class435, aClass180Array10823[0], 0);
		if (aClass529_11983.aClass621_7119 != null) {
			Class171 class171 = aClass529_11983.aClass621_7119.method10135();
			class178.method3120(class171);
		}
		aBool11982 = class167.method2730() || null != aClass529_11983.aClass621_7119;
		Class432 class432 = method10569();
		if (aClass564_11981 == null)
			aClass564_11981 = WorldVarDomainType.method15901((int) (class432.aClass437_4862.aFloat4903), (int) (class432.aClass437_4862.aFloat4904), (int) (class432.aClass437_4862.aFloat4905), class167, -973217301);
		else
			Class46.method1249(aClass564_11981, (int) class432.aClass437_4862.aFloat4903, (int) class432.aClass437_4862.aFloat4904, (int) class432.aClass437_4862.aFloat4905, class167, 1795469991);
		return class559;
	}

	final void method16697() {
		throw new IllegalStateException();
	}

	void method16728(Class178 class178) {
		Class167 class167 = aClass529_11983.method8741(class178, 262144, true, true, -763239385);
		if (null != class167)
			aClass529_11983.method8754(class178, class167, method10585(), aShort11750, aShort11749, aShort11751, aShort11752, false, (byte) -98);
	}

	final boolean method16731() {
		return false;
	}

	public void method18430(Class591 class591) {
		aClass529_11983.method8738(class591, -1553249957);
	}

	public void method18431(Class591 class591) {
		aClass529_11983.method8738(class591, 834804147);
	}

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

	final boolean method16730() {
		return false;
	}

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

	final void method16732(Class178 class178, Class647_Sub1 class647_sub1, int i, int i_21_, int i_22_, boolean bool) {
		throw new IllegalStateException();
	}

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

	final void method16734() {
		throw new IllegalStateException();
	}

	final void method16735() {
		throw new IllegalStateException();
	}

	public void method394(Class178 class178, int i) {
		aClass529_11983.method8743(class178, (byte) 35);
	}

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

	static final void method18432(Class669 class669, byte i) {
		int i_23_ = (class669.anIntArray8557[(class669.anInt8558 -= 2138772399) * 1357652815]);
		class669.anIntArray8557[(class669.anInt8558 += 2138772399) * 1357652815 - 1] = (((ItemDefinitions) Class523_Sub37.aClass53_Sub8_10677.getDefinition(i_23_, (byte) 27)).stackable) * -758774055 == 1 ? 1 : 0;
	}
}
