
public abstract class Class461_Sub1 extends Class461 {

   float aFloat7961 = 0.0F;
   Class309 aClass309_7962;
   float aFloat7963 = 0.0F;
   public static Class171 aClass171_7964;


   public Class326 method7780() {
      return Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
   }

   abstract float method12759(float var1, float var2, float var3);

   public void method7772(float var1, byte var2) {
      float var3 = this.aClass309_7962.method5480();
      if(this.aFloat7963 < var3) {
         this.aFloat7961 = this.method12760(var3, this.aFloat7961, var1, -1244838670);
         this.aFloat7963 += this.aFloat7961;
         if(this.aFloat7963 > var3) {
            this.aFloat7963 = var3;
         }

      }
   }

   abstract float method12760(float var1, float var2, float var3, int var4);

   public boolean method7770(byte var1) {
      return this.aClass309_7962 != null;
   }

   public Class326 method7771(int var1) {
      return Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
   }

   public void method7775(Class31 var1, Class328 var2, int var3, int var4, byte var5) {
      Class326 var6 = Class326.method5922(this.aClass35_5731.method915((byte)-125));
      var6.aFloat4036 -= (float)var3;
      var6.aFloat4033 -= (float)var4;
      Class326 var7 = Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
      var7.aFloat4036 -= (float)var3;
      var7.aFloat4033 -= (float)var4;
      float var8 = this.aClass309_7962.method5483(this.aFloat7963);
      Class326 var9 = Class326.method5884(var7, var6);
      var9.method5976();
      Class321 var10 = new Class321();
      var10.method5783(var9, var8);
      Class326 var11 = Class326.method5868(0.0F, 1.0F, 0.0F);
      Class326 var12 = Class326.method5888(var9, var11);
      var11 = Class326.method5888(var12, var9);
      var11.method5871(var10);
      var6.aFloat4037 *= -1.0F;
      var7.aFloat4037 *= -1.0F;
      var2.method5992(var6.aFloat4036, var6.aFloat4037, var6.aFloat4033, var7.aFloat4036, var7.aFloat4037, var7.aFloat4033, var11.aFloat4036, var11.aFloat4037, var11.aFloat4033);
      var6.method5948();
      var7.method5948();
      var11.method5948();
   }

   public void method7773(RS2Buffer var1, int var2) {
      this.aClass309_7962 = new Class309(var1);
      this.aFloat7963 = 0.0F;
      this.aFloat7961 = 0.0F;
   }

   Class461_Sub1(Class35 var1) {
      super(var1);
   }

   public void method12761(Class309 var1, int var2, int var3) {
      this.aClass309_7962 = var1;
      this.aFloat7963 = 0.0F;
      this.aFloat7961 = 0.0F;
   }

   public Class326 method7776() {
      return Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
   }

   public void method7774(float var1) {
      float var2 = this.aClass309_7962.method5480();
      if(this.aFloat7963 < var2) {
         this.aFloat7961 = this.method12760(var2, this.aFloat7961, var1, -1994304176);
         this.aFloat7963 += this.aFloat7961;
         if(this.aFloat7963 > var2) {
            this.aFloat7963 = var2;
         }

      }
   }

   public boolean method7769() {
      return this.aClass309_7962 != null;
   }

   public void method7768(Class31 var1, Class328 var2, int var3, int var4) {
      Class326 var5 = Class326.method5922(this.aClass35_5731.method915((byte)-31));
      var5.aFloat4036 -= (float)var3;
      var5.aFloat4033 -= (float)var4;
      Class326 var6 = Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
      var6.aFloat4036 -= (float)var3;
      var6.aFloat4033 -= (float)var4;
      float var7 = this.aClass309_7962.method5483(this.aFloat7963);
      Class326 var8 = Class326.method5884(var6, var5);
      var8.method5976();
      Class321 var9 = new Class321();
      var9.method5783(var8, var7);
      Class326 var10 = Class326.method5868(0.0F, 1.0F, 0.0F);
      Class326 var11 = Class326.method5888(var8, var10);
      var10 = Class326.method5888(var11, var8);
      var10.method5871(var9);
      var5.aFloat4037 *= -1.0F;
      var6.aFloat4037 *= -1.0F;
      var2.method5992(var5.aFloat4036, var5.aFloat4037, var5.aFloat4033, var6.aFloat4036, var6.aFloat4037, var6.aFloat4033, var10.aFloat4036, var10.aFloat4037, var10.aFloat4033);
      var5.method5948();
      var6.method5948();
      var10.method5948();
   }

   public void method7777(Class31 var1, Class328 var2, int var3, int var4) {
      Class326 var5 = Class326.method5922(this.aClass35_5731.method915((byte)-45));
      var5.aFloat4036 -= (float)var3;
      var5.aFloat4033 -= (float)var4;
      Class326 var6 = Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
      var6.aFloat4036 -= (float)var3;
      var6.aFloat4033 -= (float)var4;
      float var7 = this.aClass309_7962.method5483(this.aFloat7963);
      Class326 var8 = Class326.method5884(var6, var5);
      var8.method5976();
      Class321 var9 = new Class321();
      var9.method5783(var8, var7);
      Class326 var10 = Class326.method5868(0.0F, 1.0F, 0.0F);
      Class326 var11 = Class326.method5888(var8, var10);
      var10 = Class326.method5888(var11, var8);
      var10.method5871(var9);
      var5.aFloat4037 *= -1.0F;
      var6.aFloat4037 *= -1.0F;
      var2.method5992(var5.aFloat4036, var5.aFloat4037, var5.aFloat4033, var6.aFloat4036, var6.aFloat4037, var6.aFloat4033, var10.aFloat4036, var10.aFloat4037, var10.aFloat4033);
      var5.method5948();
      var6.method5948();
      var10.method5948();
   }

   abstract float method12762(float var1, float var2, float var3);

   public Class326 method7779() {
      return Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
   }

   abstract float method12763(float var1, float var2, float var3);

   public Class326 method7778() {
      return Class326.method5922(this.aClass309_7962.method5490(this.aFloat7963));
   }

   public void method7781(RS2Buffer var1) {
      this.aClass309_7962 = new Class309(var1);
      this.aFloat7963 = 0.0F;
      this.aFloat7961 = 0.0F;
   }

   static final void method12764(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, -81487443);
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 253919081 * var3.anInt1392;
   }

   static final void method12765(Class508 var0, int var1) {
      if(var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807] == 1) {
         if(var1 <= 2110802879) {
            ;
         }

         var0.anInt6025 += var0.anIntArray6023[1651565071 * var0.anInt6025] * 2029505775;
      }

   }
}
