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

public class Class341_Sub2_Sub1 extends Class341_Sub2 implements Interface32 {
	public void method23() {
		super.method54();
	}

	public void method269(boolean bool, boolean bool_0_) {
		super.method255(bool, bool_0_);
	}

	public float method277() {
		return super.method259();
	}

	public int method51() {
		return super.method51();
	}

	public int method49() {
		return super.method49();
	}

	public float method252(float f) {
		return super.method252(f);
	}

	public float method253(float f) {
		return super.method253(f);
	}

	public boolean method18() {
		return super.method18();
	}

	public boolean method278() {
		return super.method260();
	}

	public int method149() {
		return super.method51();
	}

	public void method256(int i, int i_1_, int i_2_, int i_3_, byte[] is, Class172 class172, int i_4_, int i_5_) {
		super.method256(i, i_1_, i_2_, i_3_, is, class172, i_4_, i_5_);
	}

	public float method258() {
		return super.method258();
	}

	public float method259() {
		return super.method259();
	}

	public void method254(int i, int i_6_, int i_7_, int i_8_, int[] is, int i_9_) {
		long l = IDirect3DTexture.GetSurfaceLevel(((Class341_Sub2_Sub1) this).aLong5392, 0);
		long l_10_ = IDirect3DDevice.CreateRenderTarget((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), i_7_, i_8_, 21, 0, 0, true);
		if (Class29.method972(IDirect3DDevice.StretchRect((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), l, i, i_6_, i_7_, i_8_, l_10_, 0, 0, i_7_, i_8_, 1))) {
			IDirect3DSurface.Download(l_10_, 0, 0, i_7_, i_8_, i_7_ * 4, 16, (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aLong8893));
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.clear();
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.asIntBuffer().get(is);
		}
		IUnknown.Release(l);
		IUnknown.Release(l_10_);
	}

	Class341_Sub2_Sub1(Class84_Sub1_Sub2 class84_sub1_sub2, Class172 class172, Class96 class96, int i, int i_11_) {
		super(class84_sub1_sub2, class172, class96, i, i_11_, 1025, 0);
	}

	public void method189(Class378 class378) {
		super.method189(class378);
	}

	public void method279(int i, int i_12_, int i_13_, int i_14_, int[] is, int i_15_) {
		long l = IDirect3DTexture.GetSurfaceLevel(((Class341_Sub2_Sub1) this).aLong5392, 0);
		long l_16_ = IDirect3DDevice.CreateRenderTarget((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), i_13_, i_14_, 21, 0, 0, true);
		if (Class29.method972(IDirect3DDevice.StretchRect((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), l, i, i_12_, i_13_, i_14_, l_16_, 0, 0, i_13_, i_14_, 1))) {
			IDirect3DSurface.Download(l_16_, 0, 0, i_13_, i_14_, i_13_ * 4, 16, (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aLong8893));
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.clear();
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.asIntBuffer().get(is);
		}
		IUnknown.Release(l);
		IUnknown.Release(l_16_);
	}

	public void method19() {
		super.method54();
	}

	public boolean method260() {
		return super.method260();
	}

	public void method53() {
		super.method54();
	}

	public int method261() {
		return super.method51();
	}

	public int method203() {
		return super.method51();
	}

	public void method275(int i, int i_17_, int i_18_, int i_19_, int[] is, int i_20_, int i_21_) {
		super.method264(i, i_17_, i_18_, i_19_, is, i_20_, i_21_);
	}

	public int method148() {
		return super.method49();
	}

	public int method263() {
		return super.method49();
	}

	public int method267() {
		return super.method49();
	}

	public void method255(boolean bool, boolean bool_22_) {
		super.method255(bool, bool_22_);
	}

	public void method283(int i, int i_23_, int i_24_, int i_25_, int[] is, int i_26_) {
		long l = IDirect3DTexture.GetSurfaceLevel(((Class341_Sub2_Sub1) this).aLong5392, 0);
		long l_27_ = IDirect3DDevice.CreateRenderTarget((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), i_24_, i_25_, 21, 0, 0, true);
		if (Class29.method972(IDirect3DDevice.StretchRect((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), l, i, i_23_, i_24_, i_25_, l_27_, 0, 0, i_24_, i_25_, 1))) {
			IDirect3DSurface.Download(l_27_, 0, 0, i_24_, i_25_, i_24_ * 4, 16, (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aLong8893));
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.clear();
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.asIntBuffer().get(is);
		}
		IUnknown.Release(l);
		IUnknown.Release(l_27_);
	}

	public boolean method281() {
		return super.method18();
	}

	public boolean method268() {
		return super.method18();
	}

	public void method194(Class378 class378) {
		super.method189(class378);
	}

	public void method192() {
		super.method190();
	}

	public void method270(int i, int i_28_, int i_29_, int i_30_, int[] is, int i_31_, int i_32_) {
		super.method264(i, i_28_, i_29_, i_30_, is, i_31_, i_32_);
	}

	public void method271(int i, int i_33_, int i_34_, int i_35_, int[] is, int i_36_, int i_37_) {
		super.method264(i, i_33_, i_34_, i_35_, is, i_36_, i_37_);
	}

	public void method272(int i, int i_38_, int i_39_, int i_40_, byte[] is, Class172 class172, int i_41_, int i_42_) {
		super.method256(i, i_38_, i_39_, i_40_, is, class172, i_41_, i_42_);
	}

	public void method273(int i, int i_43_, int i_44_, int i_45_, byte[] is, Class172 class172, int i_46_, int i_47_) {
		super.method256(i, i_43_, i_44_, i_45_, is, class172, i_46_, i_47_);
	}

	public void method274(int i, int i_48_, int i_49_, int i_50_, byte[] is, Class172 class172, int i_51_, int i_52_) {
		super.method256(i, i_48_, i_49_, i_50_, is, class172, i_51_, i_52_);
	}

	public float method257() {
		return super.method258();
	}

	public float method276() {
		return super.method259();
	}

	public float method282(float f) {
		return super.method252(f);
	}

	public float method266(float f) {
		return super.method252(f);
	}

	public boolean method285() {
		return super.method260();
	}

	public boolean method262() {
		return super.method260();
	}

	public void method191() {
		super.method190();
	}

	public void method264(int i, int i_53_, int i_54_, int i_55_, int[] is, int i_56_, int i_57_) {
		super.method264(i, i_53_, i_54_, i_55_, is, i_56_, i_57_);
	}

	public void method193(Class378 class378) {
		super.method189(class378);
	}

	public void method54() {
		super.method54();
	}

	public void method195(Class378 class378) {
		super.method189(class378);
	}

	public void method196(Class378 class378) {
		super.method189(class378);
	}

	public Interface11 method187(int i) {
		return new Class345(this, i);
	}

	public void method190() {
		super.method190();
	}

	public void method280(int i, int i_58_, int i_59_, int i_60_, int[] is, int i_61_) {
		long l = IDirect3DTexture.GetSurfaceLevel(((Class341_Sub2_Sub1) this).aLong5392, 0);
		long l_62_ = IDirect3DDevice.CreateRenderTarget((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), i_59_, i_60_, 21, 0, 0, true);
		if (Class29.method972(IDirect3DDevice.StretchRect((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), l, i, i_58_, i_59_, i_60_, l_62_, 0, 0, i_59_, i_60_, 1))) {
			IDirect3DSurface.Download(l_62_, 0, 0, i_59_, i_60_, i_59_ * 4, 16, (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aLong8893));
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.clear();
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.asIntBuffer().get(is);
		}
		IUnknown.Release(l);
		IUnknown.Release(l_62_);
	}

	public Interface11 method188(int i) {
		return new Class345(this, i);
	}

	public void method284(int i, int i_63_, int i_64_, int i_65_, int[] is, int i_66_) {
		long l = IDirect3DTexture.GetSurfaceLevel(((Class341_Sub2_Sub1) this).aLong5392, 0);
		long l_67_ = IDirect3DDevice.CreateRenderTarget((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), i_64_, i_65_, 21, 0, 0, true);
		if (Class29.method972(IDirect3DDevice.StretchRect((((Class84_Sub1_Sub2) (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388)).aLong10431), l, i, i_63_, i_64_, i_65_, l_67_, 0, 0, i_64_, i_65_, 1))) {
			IDirect3DSurface.Download(l_67_, 0, 0, i_64_, i_65_, i_64_ * 4, 16, (((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aLong8893));
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.clear();
			((Class341_Sub2_Sub1) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876.asIntBuffer().get(is);
		}
		IUnknown.Release(l);
		IUnknown.Release(l_67_);
	}

	public float method265(float f) {
		return super.method253(f);
	}

	public float method286(float f) {
		return super.method253(f);
	}
}
