import jagdx.IDirect3DDevice;
import jagdx.IUnknown;

public class Class324 implements Interface29 {

   Class91 aClass91_4025;
   Class98 aClass98_4026;
   Class545_Sub2_Sub1 aClass545_Sub2_Sub1_4027;
   int anInt4028;
   int anInt4029;
   long aLong4030;


   public int method32() {
      return this.anInt4028;
   }

   public int method30() {
      return this.anInt4028;
   }

   public int method35() {
      return this.anInt4029;
   }

   public long method81() {
      return this.aLong4030;
   }

   public void method10() {
      if(this.aLong4030 != 0L) {
         IUnknown.Release(this.aLong4030);
         this.aLong4030 = 0L;
      }

      this.aClass545_Sub2_Sub1_4027.method15169(this);
   }

   public void method156() {
      if(this.aLong4030 != 0L) {
         this.aClass545_Sub2_Sub1_4027.method15858(this.aLong4030);
         this.aLong4030 = 0L;
      }

   }

   public void finalize() {
      this.method156();
   }

   public int method31() {
      return this.anInt4028;
   }

   void method5851() {
      this.method156();
   }

   public int method33() {
      return this.anInt4028;
   }

   public void method8() {
      if(this.aLong4030 != 0L) {
         IUnknown.Release(this.aLong4030);
         this.aLong4030 = 0L;
      }

      this.aClass545_Sub2_Sub1_4027.method15169(this);
   }

   public long method155() {
      return this.aLong4030;
   }

   Class324(Class545_Sub2_Sub1 var1, Class98 var2, Class91 var3, int var4, int var5, int var6) {
      this.aClass545_Sub2_Sub1_4027 = var1;
      this.anInt4028 = var4;
      this.anInt4029 = var5;
      this.aClass98_4026 = var2;
      this.aClass91_4025 = var3;
      this.aLong4030 = IDirect3DDevice.CreateRenderTarget(this.aClass545_Sub2_Sub1_4027.aLong10294, var4, var5, Class545_Sub2_Sub1.method15855(this.aClass98_4026, this.aClass91_4025), 0 + var6, 0, false);
      this.aClass545_Sub2_Sub1_4027.method15120(this);
   }

   public int method29() {
      return this.anInt4029;
   }

   void method5852() {
      this.method156();
   }

   public void method96() {
      if(this.aLong4030 != 0L) {
         this.aClass545_Sub2_Sub1_4027.method15858(this.aLong4030);
         this.aLong4030 = 0L;
      }

   }

   void method5853() {
      this.method156();
   }

   public long method157() {
      return this.aLong4030;
   }

   public int method34() {
      return this.anInt4029;
   }

   public long method158() {
      return this.aLong4030;
   }

   public void method153() {
      if(this.aLong4030 != 0L) {
         this.aClass545_Sub2_Sub1_4027.method15858(this.aLong4030);
         this.aLong4030 = 0L;
      }

   }

   public void method147() {
      if(this.aLong4030 != 0L) {
         this.aClass545_Sub2_Sub1_4027.method15858(this.aLong4030);
         this.aLong4030 = 0L;
      }

   }

   public void method9() {
      if(this.aLong4030 != 0L) {
         IUnknown.Release(this.aLong4030);
         this.aLong4030 = 0L;
      }

      this.aClass545_Sub2_Sub1_4027.method15169(this);
   }
}
