
public class Class570 {

   Class253 aClass253_7564;
   Class564 aClass564_7565 = new Class564(16);


   Class574 method12161(int var1) {
      Class564 var2 = this.aClass564_7565;
      Class574 var3;
      synchronized(var2) {
         var3 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var3) {
         return var3;
      } else {
         Class253 var4 = this.aClass253_7564;
         byte[] var10;
         synchronized(var4) {
            var10 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)14);
         }

         var3 = new Class574();
         if(null != var10) {
            var3.method12196(new RS2Buffer(var10), -1780383270);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var3, (long)var1);
            return var3;
         }
      }
   }

   Class574 method12162(int var1, int var2) {
      Class564 var3 = this.aClass564_7565;
      Class574 var4;
      synchronized(var3) {
         var4 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var4) {
         return var4;
      } else {
         Class253 var5 = this.aClass253_7564;
         byte[] var12;
         synchronized(var5) {
            var12 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)66);
         }

         var4 = new Class574();
         if(null != var12) {
            var4.method12196(new RS2Buffer(var12), -1024246882);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var4, (long)var1);
            return var4;
         }
      }
   }

   public Class264 method12163(int var1, int var2, int var3, int var4, Class39 var5, byte var6) {
      Class286[] var7 = null;
      Class574 var8 = this.method12162(var1, -1802010293);
      if(null != var8.anIntArray7598) {
         var7 = new Class286[var8.anIntArray7598.length];

         for(int var9 = 0; var9 < var7.length; ++var9) {
            Class29 var10 = var5.method1084(var8.anIntArray7598[var9], -629811902);
            var7[var9] = new Class286(1243414231 * var10.anInt361, var10.anInt357 * 199325185, 477627779 * var10.anInt354, -675972743 * var10.anInt355, -720605345 * var10.anInt356, 843194705 * var10.anInt353, -1858133545 * var10.anInt362, var10.aBool352, -1206624741 * var10.anInt360, var10.anInt358 * -2017220135, 2127572075 * var10.anInt359);
         }
      }

      return new Class264(var8.anInt7596 * 685849647, var7, 1494634401 * var8.anInt7597, var2, var3, var4, var8.aClass577_7599, var8.anInt7600 * -1868733505);
   }

   public void method12164(int var1) {
      Class564 var2 = this.aClass564_7565;
      synchronized(var2) {
         this.aClass564_7565.method11976((byte)76);
      }
   }

   Class574 method12165(int var1) {
      Class564 var2 = this.aClass564_7565;
      Class574 var3;
      synchronized(var2) {
         var3 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var3) {
         return var3;
      } else {
         Class253 var4 = this.aClass253_7564;
         byte[] var10;
         synchronized(var4) {
            var10 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)5);
         }

         var3 = new Class574();
         if(null != var10) {
            var3.method12196(new RS2Buffer(var10), 510010812);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var3, (long)var1);
            return var3;
         }
      }
   }

   public void method12166(byte var1) {
      Class564 var2 = this.aClass564_7565;
      synchronized(var2) {
         this.aClass564_7565.method11968((short)-15198);
      }
   }

   public void method12167() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11968((short)-4964);
      }
   }

   Class574 method12168(int var1) {
      Class564 var2 = this.aClass564_7565;
      Class574 var3;
      synchronized(var2) {
         var3 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var3) {
         return var3;
      } else {
         Class253 var4 = this.aClass253_7564;
         byte[] var10;
         synchronized(var4) {
            var10 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)12);
         }

         var3 = new Class574();
         if(null != var10) {
            var3.method12196(new RS2Buffer(var10), -658999454);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var3, (long)var1);
            return var3;
         }
      }
   }

   public void method12169(int var1, int var2) {
      Class564 var3 = this.aClass564_7565;
      synchronized(var3) {
         this.aClass564_7565.method11963(var1, (byte)-25);
      }
   }

   Class574 method12170(int var1) {
      Class564 var2 = this.aClass564_7565;
      Class574 var3;
      synchronized(var2) {
         var3 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var3) {
         return var3;
      } else {
         Class253 var4 = this.aClass253_7564;
         byte[] var10;
         synchronized(var4) {
            var10 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)-15);
         }

         var3 = new Class574();
         if(null != var10) {
            var3.method12196(new RS2Buffer(var10), -1550718496);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var3, (long)var1);
            return var3;
         }
      }
   }

   public Class570(Class481 var1, Class470 var2, Class253 var3) {
      this.aClass253_7564 = var3;
      this.aClass253_7564.method4514(2022937823 * Class115.aClass115_1138.anInt1177, 1840090444);
   }

   public Class264 method12171(int var1, int var2, int var3, int var4, Class39 var5) {
      Class286[] var6 = null;
      Class574 var7 = this.method12162(var1, 443640059);
      if(null != var7.anIntArray7598) {
         var6 = new Class286[var7.anIntArray7598.length];

         for(int var8 = 0; var8 < var6.length; ++var8) {
            Class29 var9 = var5.method1084(var7.anIntArray7598[var8], -629811902);
            var6[var8] = new Class286(1243414231 * var9.anInt361, var9.anInt357 * 199325185, 477627779 * var9.anInt354, -675972743 * var9.anInt355, -720605345 * var9.anInt356, 843194705 * var9.anInt353, -1858133545 * var9.anInt362, var9.aBool352, -1206624741 * var9.anInt360, var9.anInt358 * -2017220135, 2127572075 * var9.anInt359);
         }
      }

      return new Class264(var7.anInt7596 * 685849647, var6, 1494634401 * var7.anInt7597, var2, var3, var4, var7.aClass577_7599, var7.anInt7600 * -1868733505);
   }

   public void method12172() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11976((byte)112);
      }
   }

   public void method12173() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11976((byte)54);
      }
   }

   Class574 method12174(int var1) {
      Class564 var2 = this.aClass564_7565;
      Class574 var3;
      synchronized(var2) {
         var3 = (Class574)this.aClass564_7565.method11959((long)var1);
      }

      if(null != var3) {
         return var3;
      } else {
         Class253 var4 = this.aClass253_7564;
         byte[] var10;
         synchronized(var4) {
            var10 = this.aClass253_7564.method4547(Class115.aClass115_1138.anInt1177 * 2022937823, var1, (byte)73);
         }

         var3 = new Class574();
         if(null != var10) {
            var3.method12196(new RS2Buffer(var10), -1657086116);
         }

         Class564 var11 = this.aClass564_7565;
         synchronized(var11) {
            this.aClass564_7565.method11958(var3, (long)var1);
            return var3;
         }
      }
   }

   public void method12175() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11976((byte)10);
      }
   }

   public void method12176() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11976((byte)90);
      }
   }

   public void method12177(int var1) {
      Class564 var2 = this.aClass564_7565;
      synchronized(var2) {
         this.aClass564_7565.method11963(var1, (byte)-86);
      }
   }

   public void method12178(int var1) {
      Class564 var2 = this.aClass564_7565;
      synchronized(var2) {
         this.aClass564_7565.method11963(var1, (byte)-102);
      }
   }

   public void method12179(int var1) {
      Class564 var2 = this.aClass564_7565;
      synchronized(var2) {
         this.aClass564_7565.method11963(var1, (byte)-33);
      }
   }

   public void method12180() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11976((byte)32);
      }
   }

   public void method12181() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11968((short)-1966);
      }
   }

   public void method12182() {
      Class564 var1 = this.aClass564_7565;
      synchronized(var1) {
         this.aClass564_7565.method11968((short)-1543);
      }
   }

   static final void method12183(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      if(var2 >= 1 && var2 <= 2) {
         Class298.method5373(var2, -1, -1, false, -795568071);
      }
   }

   static final void method12184(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class225_Sub14_Sub11 var3 = Class193.method3354(-1325063850);
      if(var3 != null) {
         boolean var4 = var3.method16193(var2 >> 28 & 3, var2 >> 14 & 16383, var2 & 16383, Class506.anIntArray5982, (byte)21);
         if(var4) {
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class506.anIntArray5982[1];
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class506.anIntArray5982[2];
         } else {
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1;
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1;
         }
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1;
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1;
      }

   }
}
