/* Class144_Sub1_Sub1_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Canvas;

import jagdx.D3DPRESENT_PARAMETERS;
import jagdx.IDirect3DDevice;
import jagdx.IDirect3DSwapChain;
import jagdx.IUnknown;

public class Class144_Sub1_Sub1_Sub1 extends Class144_Sub1_Sub1
    implements Interface49
{
    Canvas aCanvas11638;
    boolean aBool11639;
    long aLong11640;
    long aLong11641;
    long aLong11642;
    boolean aBool11643 = false;
    int anInt11644;
    Class151_Sub2_Sub1 aClass151_Sub2_Sub1_11645;
    int anInt11646;
    D3DPRESENT_PARAMETERS aD3DPRESENT_PARAMETERS11647;
    
    public void finalize() throws Throwable {
	method10562();
	super.finalize();
    }
    
    public void method315() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 == 0L) {
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		= new D3DPRESENT_PARAMETERS(((Class144_Sub1_Sub1_Sub1) this)
					    .aCanvas11638);
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.Windowed
		= true;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferCount
		= 1;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.PresentationInterval
		= -2147483648;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferWidth
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferHeight
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
	    if (((Class144_Sub1_Sub1_Sub1) this).aBool11639) {
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.GetSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.GetDepthStencilSurface
		       (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					       .aClass151_Sub2_Sub1_11645))
			.aLong11097));
	    } else {
		if (!Class151_Sub2_Sub1.method10196
		     ((((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11138),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11095),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aLong11126),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aClass151_Sub2_Sub1_11645.anInt9057),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aD3DDISPLAYMODE11104),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aD3DPRESENT_PARAMETERS11647)))
		    throw new RuntimeException();
		int i = (((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.AutoDepthStencilFormat);
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.CreateAdditionalSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647)));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.CreateDepthStencilSurface
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			((Class144_Sub1_Sub1_Sub1) this).anInt11646,
			((Class144_Sub1_Sub1_Sub1) this).anInt11644, i,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleType),
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleQuality),
			false));
	    }
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10199(this);
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11643)
	    method320();
    }
    
    public int method1943() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
    }
    
    public int method1944() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
    }
    
    public int method8235(int i, int i_0_) {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    boolean method1945() {
	((Class144_Sub1_Sub1_Sub1) this).aBool11643 = false;
	return Class326.method4295(IDirect3DDevice.SetDepthStencilSurface
				   (((Class151_Sub2_Sub1)
				     (((Class144_Sub1_Sub1_Sub1) this)
				      .aClass151_Sub2_Sub1_11645)).aLong11097,
				    0L));
    }
    
    public int method8234() {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public int method8228(int i, int i_1_) {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    void method8229(int i, int i_2_) {
	method80();
	((Class144_Sub1_Sub1_Sub1) this).anInt11646 = i;
	((Class144_Sub1_Sub1_Sub1) this).anInt11644 = i_2_;
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11639)
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10180
		(((Class144_Sub1_Sub1_Sub1) this).anInt11646,
		 ((Class144_Sub1_Sub1_Sub1) this).anInt11644);
	method315();
	super.method8229(i, i_2_);
    }
    
    public void method317() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 == 0L) {
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		= new D3DPRESENT_PARAMETERS(((Class144_Sub1_Sub1_Sub1) this)
					    .aCanvas11638);
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.Windowed
		= true;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferCount
		= 1;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.PresentationInterval
		= -2147483648;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferWidth
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferHeight
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
	    if (((Class144_Sub1_Sub1_Sub1) this).aBool11639) {
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.GetSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.GetDepthStencilSurface
		       (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					       .aClass151_Sub2_Sub1_11645))
			.aLong11097));
	    } else {
		if (!Class151_Sub2_Sub1.method10196
		     ((((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11138),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11095),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aLong11126),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aClass151_Sub2_Sub1_11645.anInt9057),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aD3DDISPLAYMODE11104),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aD3DPRESENT_PARAMETERS11647)))
		    throw new RuntimeException();
		int i = (((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.AutoDepthStencilFormat);
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.CreateAdditionalSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647)));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.CreateDepthStencilSurface
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			((Class144_Sub1_Sub1_Sub1) this).anInt11646,
			((Class144_Sub1_Sub1_Sub1) this).anInt11644, i,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleType),
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleQuality),
			false));
	    }
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10199(this);
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11643)
	    method320();
    }
    
    public void method80() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    public int method1949() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
    }
    
    void method10562() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    public int method1942() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
    }
    
    public int method1947() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
    }
    
    public int method1946() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
    }
    
    public boolean method320() {
	((Class144_Sub1_Sub1_Sub1) this).aBool11643 = true;
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 == 0L) {
	    if (((Class151_Sub2_Sub1)
		 ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645)
		.aBool11101)
		return false;
	    method315();
	}
	if (Class326.method4294(IDirect3DDevice.SetRenderTarget
				(((Class151_Sub2_Sub1)
				  (((Class144_Sub1_Sub1_Sub1) this)
				   .aClass151_Sub2_Sub1_11645)).aLong11097,
				 0,
				 ((Class144_Sub1_Sub1_Sub1) this).aLong11642)))
	    return false;
	if (Class326.method4294(IDirect3DDevice.SetDepthStencilSurface
				(((Class151_Sub2_Sub1)
				  (((Class144_Sub1_Sub1_Sub1) this)
				   .aClass151_Sub2_Sub1_11645)).aLong11097,
				 ((Class144_Sub1_Sub1_Sub1) this).aLong11641)))
	    return false;
	return super.method320();
    }
    
    public int method1950() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
    }
    
    public int method1951() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
    }
    
    public boolean method321() {
	((Class144_Sub1_Sub1_Sub1) this).aBool11643 = true;
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 == 0L) {
	    if (((Class151_Sub2_Sub1)
		 ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645)
		.aBool11101)
		return false;
	    method315();
	}
	if (Class326.method4294(IDirect3DDevice.SetRenderTarget
				(((Class151_Sub2_Sub1)
				  (((Class144_Sub1_Sub1_Sub1) this)
				   .aClass151_Sub2_Sub1_11645)).aLong11097,
				 0,
				 ((Class144_Sub1_Sub1_Sub1) this).aLong11642)))
	    return false;
	if (Class326.method4294(IDirect3DDevice.SetDepthStencilSurface
				(((Class151_Sub2_Sub1)
				  (((Class144_Sub1_Sub1_Sub1) this)
				   .aClass151_Sub2_Sub1_11645)).aLong11097,
				 ((Class144_Sub1_Sub1_Sub1) this).aLong11641)))
	    return false;
	return super.method320();
    }
    
    boolean method1952() {
	((Class144_Sub1_Sub1_Sub1) this).aBool11643 = false;
	return Class326.method4295(IDirect3DDevice.SetDepthStencilSurface
				   (((Class151_Sub2_Sub1)
				     (((Class144_Sub1_Sub1_Sub1) this)
				      .aClass151_Sub2_Sub1_11645)).aLong11097,
				    0L));
    }
    
    public void method313() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 == 0L) {
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		= new D3DPRESENT_PARAMETERS(((Class144_Sub1_Sub1_Sub1) this)
					    .aCanvas11638);
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.Windowed
		= true;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferCount
		= 1;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.PresentationInterval
		= -2147483648;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferWidth
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
	    ((Class144_Sub1_Sub1_Sub1) this).aD3DPRESENT_PARAMETERS11647
		.BackBufferHeight
		= ((Class144_Sub1_Sub1_Sub1) this).anInt11644;
	    if (((Class144_Sub1_Sub1_Sub1) this).aBool11639) {
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.GetSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.GetDepthStencilSurface
		       (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					       .aClass151_Sub2_Sub1_11645))
			.aLong11097));
	    } else {
		if (!Class151_Sub2_Sub1.method10196
		     ((((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11138),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .anInt11095),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aLong11126),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aClass151_Sub2_Sub1_11645.anInt9057),
		      (((Class151_Sub2_Sub1) (((Class144_Sub1_Sub1_Sub1) this)
					      .aClass151_Sub2_Sub1_11645))
		       .aD3DDISPLAYMODE11104),
		      (((Class144_Sub1_Sub1_Sub1) this)
		       .aD3DPRESENT_PARAMETERS11647)))
		    throw new RuntimeException();
		int i = (((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.AutoDepthStencilFormat);
		((Class144_Sub1_Sub1_Sub1) this).aLong11640
		    = (IDirect3DDevice.CreateAdditionalSwapChain
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647)));
		((Class144_Sub1_Sub1_Sub1) this).aLong11642
		    = (IDirect3DSwapChain.GetBackBuffer
		       (((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0, 0));
		((Class144_Sub1_Sub1_Sub1) this).aLong11641
		    = (IDirect3DDevice.CreateDepthStencilSurface
		       (((Class151_Sub2_Sub1)
			 (((Class144_Sub1_Sub1_Sub1) this)
			  .aClass151_Sub2_Sub1_11645)).aLong11097,
			((Class144_Sub1_Sub1_Sub1) this).anInt11646,
			((Class144_Sub1_Sub1_Sub1) this).anInt11644, i,
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleType),
			(((Class144_Sub1_Sub1_Sub1) this)
			 .aD3DPRESENT_PARAMETERS11647.MultiSampleQuality),
			false));
	    }
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10199(this);
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11643)
	    method320();
    }
    
    public void method316() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    void method8230(int i, int i_3_) {
	method80();
	((Class144_Sub1_Sub1_Sub1) this).anInt11646 = i;
	((Class144_Sub1_Sub1_Sub1) this).anInt11644 = i_3_;
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11639)
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10180
		(((Class144_Sub1_Sub1_Sub1) this).anInt11646,
		 ((Class144_Sub1_Sub1_Sub1) this).anInt11644);
	method315();
	super.method8229(i, i_3_);
    }
    
    void method8227(int i, int i_4_) {
	method80();
	((Class144_Sub1_Sub1_Sub1) this).anInt11646 = i;
	((Class144_Sub1_Sub1_Sub1) this).anInt11644 = i_4_;
	if (((Class144_Sub1_Sub1_Sub1) this).aBool11639)
	    ((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
		.method10180
		(((Class144_Sub1_Sub1_Sub1) this).anInt11646,
		 ((Class144_Sub1_Sub1_Sub1) this).anInt11644);
	method315();
	super.method8229(i, i_4_);
    }
    
    public int method8232() {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public int method8231() {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public int method8233() {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public int method8226(int i, int i_5_) {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public void method314() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    public int method8236(int i, int i_6_) {
	return IDirect3DSwapChain
		   .Present(((Class144_Sub1_Sub1_Sub1) this).aLong11640, 0);
    }
    
    public int method1948() {
	return ((Class144_Sub1_Sub1_Sub1) this).anInt11646;
    }
    
    void method10563() throws Throwable {
	method10562();
	super.finalize();
    }
    
    Class144_Sub1_Sub1_Sub1(Class151_Sub2_Sub1 class151_sub2_sub1,
			    Canvas canvas, int i, int i_7_, boolean bool) {
	super(class151_sub2_sub1);
	((Class144_Sub1_Sub1_Sub1) this).aBool11639 = false;
	((Class144_Sub1_Sub1_Sub1) this).aCanvas11638 = canvas;
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    = class151_sub2_sub1;
	((Class144_Sub1_Sub1_Sub1) this).anInt11646 = i;
	((Class144_Sub1_Sub1_Sub1) this).anInt11644 = i_7_;
	((Class144_Sub1_Sub1_Sub1) this).aBool11639 = bool;
	method315();
    }
    
    void method10564() throws Throwable {
	method10562();
	super.finalize();
    }
    
    void method10565() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    void method10566() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
    
    void method10567() {
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11642 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11642);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11642 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11641 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11641);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11641 = 0L;
	}
	if (((Class144_Sub1_Sub1_Sub1) this).aLong11640 != 0L) {
	    IUnknown.Release(((Class144_Sub1_Sub1_Sub1) this).aLong11640);
	    ((Class144_Sub1_Sub1_Sub1) this).aLong11640 = 0L;
	}
	((Class144_Sub1_Sub1_Sub1) this).aClass151_Sub2_Sub1_11645
	    .method10185(this);
    }
}
