/* Class114_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import jagdx.IDirect3DDevice;
import jagdx.IUnknown;

public final class Class114_Sub1 extends Class114 {
	boolean[] aBoolArray8772;
	boolean aBool8773 = false;
	Class84_Sub1_Sub2 aClass84_Sub1_Sub2_8774;
	static final int anInt8775 = 0;
	long aLong8776;
	float[][] aFloatArrayArray8777 = new float[2][];
	byte[] aByteArray8778;
	byte[] aByteArray8779;
	static float[] aFloatArray8780 = new float[16];
	static final int anInt8781 = 1;
	long aLong8782;
	Class57_Sub1 aClass57_Sub1_8783;

	void method2700(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_0_, float f_1_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_2_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-54880332) != Class51.aClass51_827)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_0_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_1_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_2_ >= 0) {
			i_2_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_2_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_2_ + 1] = f_0_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_2_ + 2] = f_1_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	Class114_Sub1(Class84_Sub1_Sub2 class84_sub1_sub2, Class36 class36) {
		((Class114_Sub1) this).aBoolArray8772 = new boolean[2];
		aString1567 = class36.aString630;
		if (class36.aString629 != null) {
			aString1566 = class36.aString629;
			((Class114_Sub1) this).aByteArray8778 = class84_sub1_sub2.method16637(aString1566);
		}
		if (class36.aString628 != null) {
			aString1568 = class36.aString628;
			((Class114_Sub1) this).aByteArray8779 = class84_sub1_sub2.method16637(aString1568);
		}
		class84_sub1_sub2.method14925(this);
	}

	public boolean method2677() {
		if (((Class114_Sub1) this).aBool8773)
			return true;
		((Class114_Sub1) this).aLong8782 = (((Class114_Sub1) this).aByteArray8778 == null ? 0L : (IDirect3DDevice.CreateVertexShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8778)));
		((Class114_Sub1) this).aLong8776 = (((Class114_Sub1) this).aByteArray8779 == null ? 0L : (IDirect3DDevice.CreatePixelShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8779)));
		if (((Class114_Sub1) this).aLong8782 == 0L && ((Class114_Sub1) this).aLong8776 == 0L)
			return false;
		int i = -1;
		for (int i_3_ = 0; i_3_ < ((Class114_Sub1) this).aClass57_Sub1_8783.method1324(-1782932010); i_3_++) {
			if (((Class114_Sub1) this).aClass57_Sub1_8783.method1325(i_3_, 16711935) == this) {
				i = i_3_;
				break;
			}
		}
		int i_4_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1355(42910279);
		int i_5_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1333(1638509569);
		for (int i_6_ = 0; i_6_ < i_4_; i_6_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_6_, 411701405);
			class587_sub44_sub1.method17128(i);
		}
		for (int i_7_ = 0; i_7_ < i_5_; i_7_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_7_, 1045327648);
			class587_sub44_sub1.method17128(i);
		}
		int i_8_ = 0;
		int i_9_ = 0;
		int i_10_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1326(this, (byte) 15);
		for (int i_11_ = 0; i_11_ < i_4_ + i_5_; i_11_++) {
			Class587_Sub44_Sub1_Sub2 class587_sub44_sub1_sub2 = ((Class587_Sub44_Sub1_Sub2) (i_11_ < i_4_ ? ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_11_, 411701405) : ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_11_ - i_4_, -1217670156)));
			Class51 class51 = class587_sub44_sub1_sub2.method17131(727823491);
			int i_12_ = 1;
			if (class51 == Class51.aClass51_868) {
				class51 = class587_sub44_sub1_sub2.method17130(223418995);
				i_12_ = class587_sub44_sub1_sub2.method17127(-569291184);
			}
			switch (class51.anInt842 * 629921771) {
			case 4:
			case 20:
			case 50:
			case 112:
				break;
			case 6:
			case 30:
			case 38:
			case 49:
				i_12_ *= 3;
				break;
			case 27:
			case 70:
			case 74:
			case 83:
				i_12_ *= 2;
				break;
			default:
				i_12_ = 0;
				break;
			case 35:
			case 75:
			case 99:
			case 122:
				i_12_ *= 4;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_10_]) >= 0) {
				int i_13_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_10_]) + i_12_);
				if (i_8_ < i_13_)
					i_8_ = i_13_;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_10_]) >= 0) {
				int i_14_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_10_]) + i_12_);
				if (i_9_ < i_14_)
					i_9_ = i_14_;
			}
		}
		((Class114_Sub1) this).aFloatArrayArray8777[0] = new float[i_8_ * 4];
		((Class114_Sub1) this).aFloatArrayArray8777[1] = new float[i_9_ * 4];
		((Class114_Sub1) this).aBool8773 = true;
		return true;
	}

	void method2723(int i, Class288 class288) {
		int i_15_ = i >> 16;
		int i_16_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_15_], i_16_, 12);
		((Class114_Sub1) this).aBoolArray8772[i_15_] = true;
	}

	void method2682(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_17_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_18_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-199461968) != Class51.aClass51_800)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_17_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_18_ >= 0) {
			i_18_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_18_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_18_ + 1] = f_17_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2691(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_19_, float f_20_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_21_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(495408762) != Class51.aClass51_827)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_19_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_20_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_21_ >= 0) {
			i_21_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_21_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_21_ + 1] = f_19_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_21_ + 2] = f_20_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2698(int i, int i_22_, Interface33 interface33) {
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method15025(i_22_);
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14834(interface33);
	}

	void method2702(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_23_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-113414807) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_23_ >= 0)
			method14678(i_23_, class288.method5776(aFloatArray8780), 8);
	}

	void method2683(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_24_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-154087335) != Class51.aClass51_816)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5774(aFloatArray8780), 16);
		if (i_24_ >= 0)
			method14678(i_24_, class288.method5774(aFloatArray8780), 16);
	}

	void method2681(Class587_Sub44_Sub1 class587_sub44_sub1, float[] fs, int i) {
		int i_25_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_26_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-1991950712) != Class51.aClass51_868)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i_25_ >= 0)
			method14676(i_25_, fs, i);
		if (i_26_ >= 0)
			method14678(i_26_, fs, i);
	}

	void method2725(int i, Class288 class288) {
		int i_27_ = i >> 16;
		int i_28_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5776(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_27_], i_28_, 8);
		((Class114_Sub1) this).aBoolArray8772[i_27_] = true;
	}

	final void method14676(int i, float[] fs, int i_29_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[0], i * 4, i_29_);
		((Class114_Sub1) this).aBoolArray8772[0] = true;
	}

	void method2687(int i, float f, float f_30_, float f_31_, float f_32_) {
		int i_33_ = i >> 16;
		int i_34_ = (i & 0xffff) * 4;
		((Class114_Sub1) this).aFloatArrayArray8777[i_33_][i_34_] = f;
		((Class114_Sub1) this).aFloatArrayArray8777[i_33_][i_34_ + 1] = f_30_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_33_][i_34_ + 2] = f_31_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_33_][i_34_ + 3] = f_32_;
		((Class114_Sub1) this).aBoolArray8772[i_33_] = true;
	}

	void method2688(int i, Class288 class288) {
		int i_35_ = i >> 16;
		int i_36_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_35_], i_36_, 12);
		((Class114_Sub1) this).aBoolArray8772[i_35_] = true;
	}

	void method2684(int i, Class288 class288) {
		int i_37_ = i >> 16;
		int i_38_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5776(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_37_], i_38_, 8);
		((Class114_Sub1) this).aBoolArray8772[i_37_] = true;
	}

	void method2690(int i, Class288 class288) {
		int i_39_ = i >> 16;
		int i_40_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_39_], i_40_, 16);
		((Class114_Sub1) this).aBoolArray8772[i_39_] = true;
	}

	void method2678(Class587_Sub44_Sub1 class587_sub44_sub1, float f) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_41_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(2051403635) != Class51.aClass51_820 && (class587_sub44_sub1.method17131(481696130) != Class51.aClass51_815))
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i] = f;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_41_ >= 0) {
			i_41_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_41_] = f;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	final void method14677(int i, float[] fs, int i_42_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[0], i * 4, i_42_);
		((Class114_Sub1) this).aBoolArray8772[0] = true;
	}

	final void method14678(int i, float[] fs, int i_43_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[1], i * 4, i_43_);
		((Class114_Sub1) this).aBoolArray8772[1] = true;
	}

	void method2689(int i, int i_44_, Interface33 interface33) {
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method15025(i_44_);
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14834(interface33);
	}

	void method14679() {
		if (((Class114_Sub1) this).aBoolArray8772[0]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[0].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[0][i]);
			IDirect3DDevice.SetVertexShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[0].length / 4);
			((Class114_Sub1) this).aBoolArray8772[0] = false;
		}
		if (((Class114_Sub1) this).aBoolArray8772[1]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[1].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[1][i]);
			IDirect3DDevice.SetPixelShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[1].length / 4);
			((Class114_Sub1) this).aBoolArray8772[1] = false;
		}
	}

	public void method54() {
		if (((Class114_Sub1) this).aLong8782 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8782);
			((Class114_Sub1) this).aLong8782 = 0L;
		}
		if (((Class114_Sub1) this).aLong8776 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8776);
			((Class114_Sub1) this).aLong8776 = 0L;
		}
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14751(this);
	}

	void method14680() {
		if (((Class114_Sub1) this).aLong8782 != 0L) {
			((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method16648(((Class114_Sub1) this).aLong8782);
			((Class114_Sub1) this).aLong8782 = 0L;
		}
		if (((Class114_Sub1) this).aLong8776 != 0L) {
			((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method16648(((Class114_Sub1) this).aLong8776);
			((Class114_Sub1) this).aLong8776 = 0L;
		}
	}

	public void finalize() {
		method14680();
	}

	public void method19() {
		if (((Class114_Sub1) this).aLong8782 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8782);
			((Class114_Sub1) this).aLong8782 = 0L;
		}
		if (((Class114_Sub1) this).aLong8776 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8776);
			((Class114_Sub1) this).aLong8776 = 0L;
		}
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14751(this);
	}

	public void method23() {
		if (((Class114_Sub1) this).aLong8782 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8782);
			((Class114_Sub1) this).aLong8782 = 0L;
		}
		if (((Class114_Sub1) this).aLong8776 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8776);
			((Class114_Sub1) this).aLong8776 = 0L;
		}
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14751(this);
	}

	public void method53() {
		if (((Class114_Sub1) this).aLong8782 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8782);
			((Class114_Sub1) this).aLong8782 = 0L;
		}
		if (((Class114_Sub1) this).aLong8776 != 0L) {
			IUnknown.Release(((Class114_Sub1) this).aLong8776);
			((Class114_Sub1) this).aLong8776 = 0L;
		}
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14751(this);
	}

	void method14681() {
		method14680();
	}

	void method14682() {
		method14680();
	}

	public boolean method2692() {
		if (((Class114_Sub1) this).aBool8773)
			return true;
		((Class114_Sub1) this).aLong8782 = (((Class114_Sub1) this).aByteArray8778 == null ? 0L : (IDirect3DDevice.CreateVertexShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8778)));
		((Class114_Sub1) this).aLong8776 = (((Class114_Sub1) this).aByteArray8779 == null ? 0L : (IDirect3DDevice.CreatePixelShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8779)));
		if (((Class114_Sub1) this).aLong8782 == 0L && ((Class114_Sub1) this).aLong8776 == 0L)
			return false;
		int i = -1;
		for (int i_45_ = 0; i_45_ < ((Class114_Sub1) this).aClass57_Sub1_8783.method1324(-1867312899); i_45_++) {
			if (((Class114_Sub1) this).aClass57_Sub1_8783.method1325(i_45_, 16711935) == this) {
				i = i_45_;
				break;
			}
		}
		int i_46_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1355(548231891);
		int i_47_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1333(-1231312494);
		for (int i_48_ = 0; i_48_ < i_46_; i_48_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_48_, 411701405);
			class587_sub44_sub1.method17128(i);
		}
		for (int i_49_ = 0; i_49_ < i_47_; i_49_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_49_, 211588156);
			class587_sub44_sub1.method17128(i);
		}
		int i_50_ = 0;
		int i_51_ = 0;
		int i_52_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1326(this, (byte) 15);
		for (int i_53_ = 0; i_53_ < i_46_ + i_47_; i_53_++) {
			Class587_Sub44_Sub1_Sub2 class587_sub44_sub1_sub2 = ((Class587_Sub44_Sub1_Sub2) (i_53_ < i_46_ ? ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_53_, 411701405) : ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_53_ - i_46_, 203060938)));
			Class51 class51 = class587_sub44_sub1_sub2.method17131(1079809681);
			int i_54_ = 1;
			if (class51 == Class51.aClass51_868) {
				class51 = class587_sub44_sub1_sub2.method17130(165792509);
				i_54_ = class587_sub44_sub1_sub2.method17127(1032781475);
			}
			switch (class51.anInt842 * 629921771) {
			case 4:
			case 20:
			case 50:
			case 112:
				break;
			case 6:
			case 30:
			case 38:
			case 49:
				i_54_ *= 3;
				break;
			case 27:
			case 70:
			case 74:
			case 83:
				i_54_ *= 2;
				break;
			default:
				i_54_ = 0;
				break;
			case 35:
			case 75:
			case 99:
			case 122:
				i_54_ *= 4;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_52_]) >= 0) {
				int i_55_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_52_]) + i_54_);
				if (i_50_ < i_55_)
					i_50_ = i_55_;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_52_]) >= 0) {
				int i_56_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_52_]) + i_54_);
				if (i_51_ < i_56_)
					i_51_ = i_56_;
			}
		}
		((Class114_Sub1) this).aFloatArrayArray8777[0] = new float[i_50_ * 4];
		((Class114_Sub1) this).aFloatArrayArray8777[1] = new float[i_51_ * 4];
		((Class114_Sub1) this).aBool8773 = true;
		return true;
	}

	public boolean method2693() {
		if (((Class114_Sub1) this).aBool8773)
			return true;
		((Class114_Sub1) this).aLong8782 = (((Class114_Sub1) this).aByteArray8778 == null ? 0L : (IDirect3DDevice.CreateVertexShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8778)));
		((Class114_Sub1) this).aLong8776 = (((Class114_Sub1) this).aByteArray8779 == null ? 0L : (IDirect3DDevice.CreatePixelShader(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, ((Class114_Sub1) this).aByteArray8779)));
		if (((Class114_Sub1) this).aLong8782 == 0L && ((Class114_Sub1) this).aLong8776 == 0L)
			return false;
		int i = -1;
		for (int i_57_ = 0; i_57_ < ((Class114_Sub1) this).aClass57_Sub1_8783.method1324(-2039489632); i_57_++) {
			if (((Class114_Sub1) this).aClass57_Sub1_8783.method1325(i_57_, 16711935) == this) {
				i = i_57_;
				break;
			}
		}
		int i_58_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1355(1745726675);
		int i_59_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1333(-989810107);
		for (int i_60_ = 0; i_60_ < i_58_; i_60_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_60_, 411701405);
			class587_sub44_sub1.method17128(i);
		}
		for (int i_61_ = 0; i_61_ < i_59_; i_61_++) {
			Class587_Sub44_Sub1 class587_sub44_sub1 = ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_61_, -891872525);
			class587_sub44_sub1.method17128(i);
		}
		int i_62_ = 0;
		int i_63_ = 0;
		int i_64_ = ((Class114_Sub1) this).aClass57_Sub1_8783.method1326(this, (byte) 15);
		for (int i_65_ = 0; i_65_ < i_58_ + i_59_; i_65_++) {
			Class587_Sub44_Sub1_Sub2 class587_sub44_sub1_sub2 = ((Class587_Sub44_Sub1_Sub2) (i_65_ < i_58_ ? ((Class114_Sub1) this).aClass57_Sub1_8783.method1356(i_65_, 411701405) : ((Class114_Sub1) this).aClass57_Sub1_8783.method1423(i_65_ - i_58_, 309666016)));
			Class51 class51 = class587_sub44_sub1_sub2.method17131(2044619671);
			int i_66_ = 1;
			if (class51 == Class51.aClass51_868) {
				class51 = class587_sub44_sub1_sub2.method17130(1641457177);
				i_66_ = class587_sub44_sub1_sub2.method17127(-1448439784);
			}
			switch (class51.anInt842 * 629921771) {
			case 4:
			case 20:
			case 50:
			case 112:
				break;
			case 6:
			case 30:
			case 38:
			case 49:
				i_66_ *= 3;
				break;
			case 27:
			case 70:
			case 74:
			case 83:
				i_66_ *= 2;
				break;
			default:
				i_66_ = 0;
				break;
			case 35:
			case 75:
			case 99:
			case 122:
				i_66_ *= 4;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_64_]) >= 0) {
				int i_67_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10934[i_64_]) + i_66_);
				if (i_62_ < i_67_)
					i_62_ = i_67_;
			}
			if ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_64_]) >= 0) {
				int i_68_ = ((((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1_sub2).anIntArray10936[i_64_]) + i_66_);
				if (i_63_ < i_68_)
					i_63_ = i_68_;
			}
		}
		((Class114_Sub1) this).aFloatArrayArray8777[0] = new float[i_62_ * 4];
		((Class114_Sub1) this).aFloatArrayArray8777[1] = new float[i_63_ * 4];
		((Class114_Sub1) this).aBool8773 = true;
		return true;
	}

	void method2717(int i, float f, float f_69_, float f_70_, float f_71_) {
		int i_72_ = i >> 16;
		int i_73_ = (i & 0xffff) * 4;
		((Class114_Sub1) this).aFloatArrayArray8777[i_72_][i_73_] = f;
		((Class114_Sub1) this).aFloatArrayArray8777[i_72_][i_73_ + 1] = f_69_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_72_][i_73_ + 2] = f_70_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_72_][i_73_ + 3] = f_71_;
		((Class114_Sub1) this).aBoolArray8772[i_72_] = true;
	}

	void method2695(Class587_Sub44_Sub1 class587_sub44_sub1, float f) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_74_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if ((class587_sub44_sub1.method17131(-1130452825) != Class51.aClass51_820) && (class587_sub44_sub1.method17131(-24099969) != Class51.aClass51_815))
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i] = f;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_74_ >= 0) {
			i_74_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_74_] = f;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method14683() {
		if (((Class114_Sub1) this).aBoolArray8772[0]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[0].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[0][i]);
			IDirect3DDevice.SetVertexShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[0].length / 4);
			((Class114_Sub1) this).aBoolArray8772[0] = false;
		}
		if (((Class114_Sub1) this).aBoolArray8772[1]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[1].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[1][i]);
			IDirect3DDevice.SetPixelShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[1].length / 4);
			((Class114_Sub1) this).aBoolArray8772[1] = false;
		}
	}

	void method2697(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_75_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_76_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-986042680) != Class51.aClass51_800)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_75_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_76_ >= 0) {
			i_76_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_76_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_76_ + 1] = f_75_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2721(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_77_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_78_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1054908615) != Class51.aClass51_800)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_77_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_78_ >= 0) {
			i_78_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_78_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_78_ + 1] = f_77_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2727(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_79_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_80_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-142257793) != Class51.aClass51_800)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_79_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_80_ >= 0) {
			i_80_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_80_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_80_ + 1] = f_79_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2719(int i, float[] fs, int i_81_) {
		int i_82_ = i >> 16;
		int i_83_ = (i & 0xffff) * 4;
		System.arraycopy(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_82_], i_83_, i_81_);
		((Class114_Sub1) this).aBoolArray8772[i_82_] = true;
	}

	void method2701(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_84_, float f_85_, float f_86_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_87_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(496984558) != Class51.aClass51_874)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_84_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_85_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 3] = f_86_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_87_ >= 0) {
			i_87_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_87_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_87_ + 1] = f_84_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_87_ + 2] = f_85_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_87_ + 3] = f_86_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2699(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_88_, float f_89_, float f_90_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_91_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-582969765) != Class51.aClass51_874)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_88_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_89_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 3] = f_90_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_91_ >= 0) {
			i_91_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_91_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_91_ + 1] = f_88_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_91_ + 2] = f_89_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_91_ + 3] = f_90_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2709(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_92_, float f_93_, float f_94_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_95_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-516407364) != Class51.aClass51_874)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_92_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_93_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 3] = f_94_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_95_ >= 0) {
			i_95_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_95_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_95_ + 1] = f_92_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_95_ + 2] = f_93_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_95_ + 3] = f_94_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2679(Class587_Sub44_Sub1 class587_sub44_sub1, float[] fs, int i) {
		int i_96_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_97_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1898445032) != Class51.aClass51_868)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i_96_ >= 0)
			method14676(i_96_, fs, i);
		if (i_97_ >= 0)
			method14678(i_97_, fs, i);
	}

	void method2705(Class587_Sub44_Sub1 class587_sub44_sub1, float[] fs, int i) {
		int i_98_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_99_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1041396126) != Class51.aClass51_868)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i_98_ >= 0)
			method14676(i_98_, fs, i);
		if (i_99_ >= 0)
			method14678(i_99_, fs, i);
	}

	void method2706(Class587_Sub44_Sub1 class587_sub44_sub1, float[] fs, int i) {
		int i_100_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_101_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-1531774920) != Class51.aClass51_868)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i_100_ >= 0)
			method14676(i_100_, fs, i);
		if (i_101_ >= 0)
			method14678(i_101_, fs, i);
	}

	void method2707(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_102_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1941302495) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_102_ >= 0)
			method14678(i_102_, class288.method5776(aFloatArray8780), 8);
	}

	void method2724(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_103_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-204463128) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_103_ >= 0)
			method14678(i_103_, class288.method5776(aFloatArray8780), 8);
	}

	void method2722(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_104_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-1491221005) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_104_ >= 0)
			method14678(i_104_, class288.method5776(aFloatArray8780), 8);
	}

	void method2712(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_105_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-1744636623) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_105_ >= 0)
			method14678(i_105_, class288.method5776(aFloatArray8780), 8);
	}

	void method2711(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_106_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1552308744) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_106_ >= 0)
			method14678(i_106_, class288.method5776(aFloatArray8780), 8);
	}

	void method2680(Class587_Sub44_Sub1 class587_sub44_sub1, float f, float f_107_, float f_108_, float f_109_) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_110_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(-1138510820) != Class51.aClass51_874)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 1] = f_107_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 2] = f_108_;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i + 3] = f_109_;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_110_ >= 0) {
			i_110_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_110_ + 0] = f;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_110_ + 1] = f_107_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_110_ + 2] = f_108_;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_110_ + 3] = f_109_;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2713(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_111_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(608862613) != Class51.aClass51_816)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5774(aFloatArray8780), 16);
		if (i_111_ >= 0)
			method14678(i_111_, class288.method5774(aFloatArray8780), 16);
	}

	void method2714(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_112_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(715768332) != Class51.aClass51_816)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5774(aFloatArray8780), 16);
		if (i_112_ >= 0)
			method14678(i_112_, class288.method5774(aFloatArray8780), 16);
	}

	void method2715(Class587_Sub44_Sub1 class587_sub44_sub1, int i, Interface33 interface33) {
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method15025(i);
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14834(interface33);
	}

	void method2716(int i, float f, float f_113_, float f_114_) {
		int i_115_ = i >> 16;
		int i_116_ = (i & 0xffff) * 4;
		((Class114_Sub1) this).aFloatArrayArray8777[i_115_][i_116_] = f;
		((Class114_Sub1) this).aFloatArrayArray8777[i_115_][i_116_ + 1] = f_113_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_115_][i_116_ + 2] = f_114_;
		((Class114_Sub1) this).aBoolArray8772[i_115_] = true;
	}

	void method2685(int i, float f, float f_117_, float f_118_) {
		int i_119_ = i >> 16;
		int i_120_ = (i & 0xffff) * 4;
		((Class114_Sub1) this).aFloatArrayArray8777[i_119_][i_120_] = f;
		((Class114_Sub1) this).aFloatArrayArray8777[i_119_][i_120_ + 1] = f_117_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_119_][i_120_ + 2] = f_118_;
		((Class114_Sub1) this).aBoolArray8772[i_119_] = true;
	}

	void method2718(int i, float f, float f_121_, float f_122_, float f_123_) {
		int i_124_ = i >> 16;
		int i_125_ = (i & 0xffff) * 4;
		((Class114_Sub1) this).aFloatArrayArray8777[i_124_][i_125_] = f;
		((Class114_Sub1) this).aFloatArrayArray8777[i_124_][i_125_ + 1] = f_121_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_124_][i_125_ + 2] = f_122_;
		((Class114_Sub1) this).aFloatArrayArray8777[i_124_][i_125_ + 3] = f_123_;
		((Class114_Sub1) this).aBoolArray8772[i_124_] = true;
	}

	void method2686(Class587_Sub44_Sub1 class587_sub44_sub1, float f) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_126_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1299993240) != Class51.aClass51_820 && (class587_sub44_sub1.method17131(-1077462775) != Class51.aClass51_815))
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i] = f;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_126_ >= 0) {
			i_126_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_126_] = f;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	void method2720(int i, float[] fs, int i_127_) {
		int i_128_ = i >> 16;
		int i_129_ = (i & 0xffff) * 4;
		System.arraycopy(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_128_], i_129_, i_127_);
		((Class114_Sub1) this).aBoolArray8772[i_128_] = true;
	}

	void method2704(int i, float[] fs, int i_130_) {
		int i_131_ = i >> 16;
		int i_132_ = (i & 0xffff) * 4;
		System.arraycopy(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_131_], i_132_, i_130_);
		((Class114_Sub1) this).aBoolArray8772[i_131_] = true;
	}

	final void method14684(int i, float[] fs, int i_133_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[1], i * 4, i_133_);
		((Class114_Sub1) this).aBoolArray8772[1] = true;
	}

	final void method14685(int i, float[] fs, int i_134_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[1], i * 4, i_134_);
		((Class114_Sub1) this).aBoolArray8772[1] = true;
	}

	void method2708(int i, Class288 class288) {
		int i_135_ = i >> 16;
		int i_136_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_135_], i_136_, 12);
		((Class114_Sub1) this).aBoolArray8772[i_135_] = true;
	}

	void method2696(Class587_Sub44_Sub1 class587_sub44_sub1, int i, Interface33 interface33) {
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method15025(i);
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.method14834(interface33);
	}

	void method2726(int i, Class288 class288) {
		int i_137_ = i >> 16;
		int i_138_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_137_], i_138_, 16);
		((Class114_Sub1) this).aBoolArray8772[i_137_] = true;
	}

	void method2703(int i, Class288 class288) {
		int i_139_ = i >> 16;
		int i_140_ = (i & 0xffff) * 4;
		System.arraycopy(class288.method5774(aFloatArray8780), 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_139_], i_140_, 12);
		((Class114_Sub1) this).aBoolArray8772[i_139_] = true;
	}

	final void method14686(int i, float[] fs, int i_141_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[0], i * 4, i_141_);
		((Class114_Sub1) this).aBoolArray8772[0] = true;
	}

	void method2694(Class587_Sub44_Sub1 class587_sub44_sub1, float f) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_142_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1968128774) != Class51.aClass51_820 && (class587_sub44_sub1.method17131(1251989425) != Class51.aClass51_815))
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0) {
			i *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[0][i] = f;
			((Class114_Sub1) this).aBoolArray8772[0] = true;
		}
		if (i_142_ >= 0) {
			i_142_ *= 4;
			((Class114_Sub1) this).aFloatArrayArray8777[1][i_142_] = f;
			((Class114_Sub1) this).aBoolArray8772[1] = true;
		}
	}

	final void method14687(int i, float[] fs, int i_143_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[1], i * 4, i_143_);
		((Class114_Sub1) this).aBoolArray8772[1] = true;
	}

	void method2675(Class587_Sub44_Sub1 class587_sub44_sub1, Class288 class288) {
		int i = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17259();
		int i_144_ = ((Class587_Sub44_Sub1_Sub2) class587_sub44_sub1).method17260();
		if (class587_sub44_sub1.method17131(1203164170) != Class51.aClass51_814)
			throw new IllegalArgumentException_Sub1(class587_sub44_sub1, "");
		if (i >= 0)
			method14676(i, class288.method5776(aFloatArray8780), 8);
		if (i_144_ >= 0)
			method14678(i_144_, class288.method5776(aFloatArray8780), 8);
	}

	void method2710(int i, float[] fs, int i_145_) {
		int i_146_ = i >> 16;
		int i_147_ = (i & 0xffff) * 4;
		System.arraycopy(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[i_146_], i_147_, i_145_);
		((Class114_Sub1) this).aBoolArray8772[i_146_] = true;
	}

	final void method14688(int i, float[] fs, int i_148_) {
		Class461.method8193(fs, 0, ((Class114_Sub1) this).aFloatArrayArray8777[1], i * 4, i_148_);
		((Class114_Sub1) this).aBoolArray8772[1] = true;
	}

	Class114_Sub1(Class84_Sub1_Sub2 class84_sub1_sub2, Class57_Sub1 class57_sub1, Class36 class36) {
		this(class84_sub1_sub2, class36);
		((Class114_Sub1) this).aClass84_Sub1_Sub2_8774 = class84_sub1_sub2;
		((Class114_Sub1) this).aClass57_Sub1_8783 = class57_sub1;
	}

	void method14689() {
		if (((Class114_Sub1) this).aBoolArray8772[0]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[0].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[0][i]);
			IDirect3DDevice.SetVertexShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[0].length / 4);
			((Class114_Sub1) this).aBoolArray8772[0] = false;
		}
		if (((Class114_Sub1) this).aBoolArray8772[1]) {
			for (int i = 0; i < ((Class114_Sub1) this).aFloatArrayArray8777[1].length; i++)
				((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.anUnsafe8956.putFloat((((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893 + (long) (i * 4)), ((Class114_Sub1) this).aFloatArrayArray8777[1][i]);
			IDirect3DDevice.SetPixelShaderConstantF(((Class84_Sub1_Sub2) ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774).aLong10431, 0, ((Class114_Sub1) this).aClass84_Sub1_Sub2_8774.aLong8893, ((Class114_Sub1) this).aFloatArrayArray8777[1].length / 4);
			((Class114_Sub1) this).aBoolArray8772[1] = false;
		}
	}
}
