package jagex;

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

public class Class103_Sub2_Sub2 extends Class103_Sub2 {
	static int[] anIntArray11195 = new int[6];
	Class155_Sub3 aClass155_Sub3_11196;
	int anInt11197;
	Class106_Sub1 aClass106_Sub1_11198;
	static int[][] anIntArrayArray11199 = new int[6][];

	Class155_Sub3 method9852() {
		if (((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 == null) {
			Interface5 interface5 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.anInterface5_1408);
			MaterialInformation class101 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.aClass94_1396.getTexture(((Class103_Sub2_Sub2) this).anInt11197, 642652455));
			if (class101 == null)
				return null;
			if (class101.anIntArray1336 == null)
				return null;
			anIntArray11195[0] = class101.anIntArray1336[0];
			anIntArray11195[1] = class101.anIntArray1336[1];
			anIntArray11195[2] = class101.anIntArray1336[2];
			anIntArray11195[3] = class101.anIntArray1336[3];
			anIntArray11195[4] = class101.anIntArray1336[4];
			anIntArray11195[5] = class101.anIntArray1336[5];
			for (int i = 0; i < 6; i++) {
				if (anIntArray11195[i] < 0)
					return null;
				if (!interface5.method25(anIntArray11195[i], Class514.aClass514_5714, 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -1395001651))
					return null;
			}
			for (int i = 0; i < 6; i++) {
				anIntArrayArray11199[i] = interface5.method23(anIntArray11195[i], 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -1953752313);
				if (anIntArrayArray11199[i] == null || (anIntArrayArray11199[i].length != (class101.anInt1338 * 1913535271 * (class101.anInt1338 * 1913535271))))
					return null;
			}
			((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 = new Class155_Sub3((((Class103_Sub2_Sub2) this).aClass106_Sub1_11198), Class171.aClass171_2068, Class88.aClass88_1218, class101.anInt1338 * 1913535271, class101.aByte1362 != 0, anIntArrayArray11199);
		}
		return ((Class103_Sub2_Sub2) this).aClass155_Sub3_11196;
	}

	Class103_Sub2_Sub2(Class106_Sub1 class106_sub1, int i) {
		((Class103_Sub2_Sub2) this).aClass106_Sub1_11198 = class106_sub1;
		((Class103_Sub2_Sub2) this).anInt11197 = i;
	}

	Class155_Sub3 method9851() {
		if (((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 == null) {
			Interface5 interface5 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.anInterface5_1408);
			MaterialInformation class101 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.aClass94_1396.getTexture(((Class103_Sub2_Sub2) this).anInt11197, 585616365));
			if (class101 == null)
				return null;
			if (class101.anIntArray1336 == null)
				return null;
			anIntArray11195[0] = class101.anIntArray1336[0];
			anIntArray11195[1] = class101.anIntArray1336[1];
			anIntArray11195[2] = class101.anIntArray1336[2];
			anIntArray11195[3] = class101.anIntArray1336[3];
			anIntArray11195[4] = class101.anIntArray1336[4];
			anIntArray11195[5] = class101.anIntArray1336[5];
			for (int i = 0; i < 6; i++) {
				if (anIntArray11195[i] < 0)
					return null;
				if (!interface5.method25(anIntArray11195[i], Class514.aClass514_5714, 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, 1334684877))
					return null;
			}
			for (int i = 0; i < 6; i++) {
				anIntArrayArray11199[i] = interface5.method23(anIntArray11195[i], 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -507920645);
				if (anIntArrayArray11199[i] == null || (anIntArrayArray11199[i].length != (class101.anInt1338 * 1913535271 * (class101.anInt1338 * 1913535271))))
					return null;
			}
			((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 = new Class155_Sub3((((Class103_Sub2_Sub2) this).aClass106_Sub1_11198), Class171.aClass171_2068, Class88.aClass88_1218, class101.anInt1338 * 1913535271, class101.aByte1362 != 0, anIntArrayArray11199);
		}
		return ((Class103_Sub2_Sub2) this).aClass155_Sub3_11196;
	}

	Class155_Sub3 method9853() {
		if (((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 == null) {
			Interface5 interface5 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.anInterface5_1408);
			MaterialInformation class101 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.aClass94_1396.getTexture(((Class103_Sub2_Sub2) this).anInt11197, 1717241305));
			if (class101 == null)
				return null;
			if (class101.anIntArray1336 == null)
				return null;
			anIntArray11195[0] = class101.anIntArray1336[0];
			anIntArray11195[1] = class101.anIntArray1336[1];
			anIntArray11195[2] = class101.anIntArray1336[2];
			anIntArray11195[3] = class101.anIntArray1336[3];
			anIntArray11195[4] = class101.anIntArray1336[4];
			anIntArray11195[5] = class101.anIntArray1336[5];
			for (int i = 0; i < 6; i++) {
				if (anIntArray11195[i] < 0)
					return null;
				if (!interface5.method25(anIntArray11195[i], Class514.aClass514_5714, 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -743525111))
					return null;
			}
			for (int i = 0; i < 6; i++) {
				anIntArrayArray11199[i] = interface5.method23(anIntArray11195[i], 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -1610323261);
				if (anIntArrayArray11199[i] == null || (anIntArrayArray11199[i].length != (class101.anInt1338 * 1913535271 * (class101.anInt1338 * 1913535271))))
					return null;
			}
			((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 = new Class155_Sub3((((Class103_Sub2_Sub2) this).aClass106_Sub1_11198), Class171.aClass171_2068, Class88.aClass88_1218, class101.anInt1338 * 1913535271, class101.aByte1362 != 0, anIntArrayArray11199);
		}
		return ((Class103_Sub2_Sub2) this).aClass155_Sub3_11196;
	}

	Class155_Sub3 method9850() {
		if (((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 == null) {
			Interface5 interface5 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.anInterface5_1408);
			MaterialInformation class101 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.aClass94_1396.getTexture(((Class103_Sub2_Sub2) this).anInt11197, 1251739146));
			if (class101 == null)
				return null;
			if (class101.anIntArray1336 == null)
				return null;
			anIntArray11195[0] = class101.anIntArray1336[0];
			anIntArray11195[1] = class101.anIntArray1336[1];
			anIntArray11195[2] = class101.anIntArray1336[2];
			anIntArray11195[3] = class101.anIntArray1336[3];
			anIntArray11195[4] = class101.anIntArray1336[4];
			anIntArray11195[5] = class101.anIntArray1336[5];
			for (int i = 0; i < 6; i++) {
				if (anIntArray11195[i] < 0)
					return null;
				if (!interface5.method25(anIntArray11195[i], Class514.aClass514_5714, 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, 861012912))
					return null;
			}
			for (int i = 0; i < 6; i++) {
				anIntArrayArray11199[i] = interface5.method23(anIntArray11195[i], 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -1902205830);
				if (anIntArrayArray11199[i] == null || (anIntArrayArray11199[i].length != (class101.anInt1338 * 1913535271 * (class101.anInt1338 * 1913535271))))
					return null;
			}
			((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 = new Class155_Sub3((((Class103_Sub2_Sub2) this).aClass106_Sub1_11198), Class171.aClass171_2068, Class88.aClass88_1218, class101.anInt1338 * 1913535271, class101.aByte1362 != 0, anIntArrayArray11199);
		}
		return ((Class103_Sub2_Sub2) this).aClass155_Sub3_11196;
	}

	Class155_Sub3 method9854() {
		if (((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 == null) {
			Interface5 interface5 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.anInterface5_1408);
			MaterialInformation class101 = (((Class103_Sub2_Sub2) this).aClass106_Sub1_11198.aClass94_1396.getTexture(((Class103_Sub2_Sub2) this).anInt11197, 1445011535));
			if (class101 == null)
				return null;
			if (class101.anIntArray1336 == null)
				return null;
			anIntArray11195[0] = class101.anIntArray1336[0];
			anIntArray11195[1] = class101.anIntArray1336[1];
			anIntArray11195[2] = class101.anIntArray1336[2];
			anIntArray11195[3] = class101.anIntArray1336[3];
			anIntArray11195[4] = class101.anIntArray1336[4];
			anIntArray11195[5] = class101.anIntArray1336[5];
			for (int i = 0; i < 6; i++) {
				if (anIntArray11195[i] < 0)
					return null;
				if (!interface5.method25(anIntArray11195[i], Class514.aClass514_5714, 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, 1101863427))
					return null;
			}
			for (int i = 0; i < 6; i++) {
				anIntArrayArray11199[i] = interface5.method23(anIntArray11195[i], 1.0F, class101.anInt1338 * 1913535271, class101.anInt1338 * 1913535271, false, -444755564);
				if (anIntArrayArray11199[i] == null || (anIntArrayArray11199[i].length != (class101.anInt1338 * 1913535271 * (class101.anInt1338 * 1913535271))))
					return null;
			}
			((Class103_Sub2_Sub2) this).aClass155_Sub3_11196 = new Class155_Sub3((((Class103_Sub2_Sub2) this).aClass106_Sub1_11198), Class171.aClass171_2068, Class88.aClass88_1218, class101.anInt1338 * 1913535271, class101.aByte1362 != 0, anIntArrayArray11199);
		}
		return ((Class103_Sub2_Sub2) this).aClass155_Sub3_11196;
	}
}
