final void method3940(int i) {
		if (anIDirect3DVertexShader9794 == null
				&& ((((DirectxToolkit) this).aClass251Array8113
						[((DirectxToolkit) this).anInt8175])
						!= Class348_Sub42_Sub18.aClass251_9685)) {
			if (Class239_Sub18.aClass251_6030
					== (((DirectxToolkit) this).aClass251Array8113
							[((DirectxToolkit) this).anInt8175]))
				((DirectxToolkit) this).anIDirect3DDevice9810.SetTransform
				(((DirectxToolkit) this).anInt8175 + 16,
						((DirectxToolkit) this).aClass101_Sub2Array8131
						[((DirectxToolkit) this).anInt8175]
						 .method928(aFloatArray9797, i ^ 0x0));
			else
				((DirectxToolkit) this).anIDirect3DDevice9810.SetTransform
				(16 - -((DirectxToolkit) this).anInt8175,
						((DirectxToolkit) this).aClass101_Sub2Array8131
						[((DirectxToolkit) this).anInt8175]
						 .method918(aFloatArray9797, i ^ 0x1));
			int i_72_ = method3963(594, (((DirectxToolkit) this).aClass251Array8113
					[((DirectxToolkit) this).anInt8175]));
			if ((i_72_ ^ 0xffffffff)
					!= (anIntArray9805[((DirectxToolkit) this).anInt8175]
					                   ^ 0xffffffff)) {
				((DirectxToolkit) this).anIDirect3DDevice9810.SetTextureStageState
				(((DirectxToolkit) this).anInt8175, 24, i_72_);
				anIntArray9805[((DirectxToolkit) this).anInt8175] = i_72_;
			}
		} else {
			((DirectxToolkit) this).anIDirect3DDevice9810
			.SetTextureStageState(((DirectxToolkit) this).anInt8175, 24, 0);
			anIntArray9805[((DirectxToolkit) this).anInt8175] = 0;
		}
		if (i != 1)
			aBoolean9801 = true;
	}