
public class Class58 {

   Class545_Sub2 aClass545_Sub2_538;
   Interface24 anInterface24_539;
   Class564 aClass564_540 = new Class564(6291456, 256);


   Interface33 method1267(int var1, int var2) {
      long var3 = (long)(var2 << 16 | var1);
      Interface33 var5 = (Interface33)this.aClass564_540.method11959(var3);
      if(var5 != null) {
         return var5;
      } else if(!this.method1268(var1, var2)) {
         return null;
      } else {
         Class161 var6 = this.anInterface24_539.method113(var1, 495540572);
         if(var2 == -1) {
            var2 = var6.anInt1989 * -836426007;
         }

         Interface33 var8;
         if(var6.aBool2000 && this.aClass545_Sub2_538.method11588()) {
            float[] var9 = this.anInterface24_539.method116(var1, 0.7F, var2, var2, false, (byte)14);
            var8 = this.aClass545_Sub2_538.method15042(Class98.aClass98_992, var2, var2, true, var9);
         } else {
            int[] var7;
            if(var6.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var6.aByte1986, 978258211)) {
               var7 = this.anInterface24_539.method127(var1, 0.7F, var2, var2, true, -1122500870);
            } else {
               var7 = this.anInterface24_539.method115(var1, 0.7F, var2, var2, false, (short)-9170);
            }

            var8 = this.aClass545_Sub2_538.method15040(var2, var2, true, var7);
         }

         var8.method187(var6.aBool1984, var6.aBool1974);
         this.aClass564_540.method11962(var8, var3, var2 * var2, (byte)-14);
         return var8;
      }
   }

   boolean method1268(int var1, int var2) {
      Class161 var3 = this.anInterface24_539.method113(var1, -2107080571);
      if(var2 == -1) {
         var2 = var3.anInt1989 * -836426007;
      }

      return var3.aBool2000 && this.aClass545_Sub2_538.method11588()?this.anInterface24_539.method119(var1, Class557.aClass557_7472, 0.7F, var2, var2, false, -1710342152):(var3.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var3.aByte1986, 1737318707)?this.anInterface24_539.method119(var1, Class557.aClass557_7470, 0.7F, var2, var2, true, 42211140):this.anInterface24_539.method119(var1, Class557.aClass557_7471, 0.7F, var2, var2, false, -2041200947));
   }

   Interface33 method1269(int var1) {
      return this.method1267(var1, -1);
   }

   Interface33 method1270(int var1) {
      return this.method1267(var1, -1);
   }

   void method1271() {
      this.aClass564_540.method11963(5, (byte)-6);
   }

   void method1272() {
      this.aClass564_540.method11976((byte)92);
   }

   Interface33 method1273(int var1) {
      return this.method1267(var1, -1);
   }

   Class58(Class545_Sub2 var1, Interface24 var2) {
      this.aClass545_Sub2_538 = var1;
      this.anInterface24_539 = var2;
   }

   Interface33 method1274(int var1, int var2) {
      long var3 = (long)(var2 << 16 | var1);
      Interface33 var5 = (Interface33)this.aClass564_540.method11959(var3);
      if(var5 != null) {
         return var5;
      } else if(!this.method1268(var1, var2)) {
         return null;
      } else {
         Class161 var6 = this.anInterface24_539.method113(var1, -1769113681);
         if(var2 == -1) {
            var2 = var6.anInt1989 * -836426007;
         }

         Interface33 var8;
         if(var6.aBool2000 && this.aClass545_Sub2_538.method11588()) {
            float[] var9 = this.anInterface24_539.method116(var1, 0.7F, var2, var2, false, (byte)-8);
            var8 = this.aClass545_Sub2_538.method15042(Class98.aClass98_992, var2, var2, true, var9);
         } else {
            int[] var7;
            if(var6.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var6.aByte1986, 1672262318)) {
               var7 = this.anInterface24_539.method127(var1, 0.7F, var2, var2, true, -1122500870);
            } else {
               var7 = this.anInterface24_539.method115(var1, 0.7F, var2, var2, false, (short)-2475);
            }

            var8 = this.aClass545_Sub2_538.method15040(var2, var2, true, var7);
         }

         var8.method187(var6.aBool1984, var6.aBool1974);
         this.aClass564_540.method11962(var8, var3, var2 * var2, (byte)-17);
         return var8;
      }
   }

   void method1275() {
      this.aClass564_540.method11963(5, (byte)-20);
   }

   boolean method1276(int var1, int var2) {
      Class161 var3 = this.anInterface24_539.method113(var1, 1026404880);
      if(var2 == -1) {
         var2 = var3.anInt1989 * -836426007;
      }

      return var3.aBool2000 && this.aClass545_Sub2_538.method11588()?this.anInterface24_539.method119(var1, Class557.aClass557_7472, 0.7F, var2, var2, false, -897695400):(var3.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var3.aByte1986, 2079114198)?this.anInterface24_539.method119(var1, Class557.aClass557_7470, 0.7F, var2, var2, true, 230395639):this.anInterface24_539.method119(var1, Class557.aClass557_7471, 0.7F, var2, var2, false, 271442739));
   }

   boolean method1277(int var1, int var2) {
      Class161 var3 = this.anInterface24_539.method113(var1, -1017320661);
      if(var2 == -1) {
         var2 = var3.anInt1989 * -836426007;
      }

      return var3.aBool2000 && this.aClass545_Sub2_538.method11588()?this.anInterface24_539.method119(var1, Class557.aClass557_7472, 0.7F, var2, var2, false, -964569656):(var3.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var3.aByte1986, 956192076)?this.anInterface24_539.method119(var1, Class557.aClass557_7470, 0.7F, var2, var2, true, -1554333832):this.anInterface24_539.method119(var1, Class557.aClass557_7471, 0.7F, var2, var2, false, 410501395));
   }

   void method1278() {
      this.aClass564_540.method11963(5, (byte)-14);
   }

   void method1279() {
      this.aClass564_540.method11976((byte)61);
   }

   Interface33 method1280(int var1, int var2) {
      long var3 = (long)(var2 << 16 | var1);
      Interface33 var5 = (Interface33)this.aClass564_540.method11959(var3);
      if(var5 != null) {
         return var5;
      } else if(!this.method1268(var1, var2)) {
         return null;
      } else {
         Class161 var6 = this.anInterface24_539.method113(var1, 410076222);
         if(var2 == -1) {
            var2 = var6.anInt1989 * -836426007;
         }

         Interface33 var8;
         if(var6.aBool2000 && this.aClass545_Sub2_538.method11588()) {
            float[] var9 = this.anInterface24_539.method116(var1, 0.7F, var2, var2, false, (byte)-22);
            var8 = this.aClass545_Sub2_538.method15042(Class98.aClass98_992, var2, var2, true, var9);
         } else {
            int[] var7;
            if(var6.aClass565_1987 != Class565.aClass565_7503 && Class463_Sub17.method12955(var6.aByte1986, 939876404)) {
               var7 = this.anInterface24_539.method127(var1, 0.7F, var2, var2, true, -1122500870);
            } else {
               var7 = this.anInterface24_539.method115(var1, 0.7F, var2, var2, false, (short)-18719);
            }

            var8 = this.aClass545_Sub2_538.method15040(var2, var2, true, var7);
         }

         var8.method187(var6.aBool1984, var6.aBool1974);
         this.aClass564_540.method11962(var8, var3, var2 * var2, (byte)46);
         return var8;
      }
   }
}
