
public class Class387 implements Interface17 {

   Class253 aClass253_4832;
   Class564 aClass564_4833 = new Class564(64);


   public Class225_Sub14_Sub17 method6641(int var1) {
      Class564 var2 = this.aClass564_4833;
      Class225_Sub14_Sub17 var3;
      synchronized(var2) {
         var3 = (Class225_Sub14_Sub17)this.aClass564_4833.method11959((long)var1);
      }

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

         var3 = new Class225_Sub14_Sub17();
         if(var10 != null) {
            var3.method16329(new RS2Buffer(var10), (byte)-38);
         }

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

   public Class225_Sub14_Sub17 method6642(int var1, int var2) {
      Class564 var3 = this.aClass564_4833;
      Class225_Sub14_Sub17 var4;
      synchronized(var3) {
         var4 = (Class225_Sub14_Sub17)this.aClass564_4833.method11959((long)var1);
      }

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

         var4 = new Class225_Sub14_Sub17();
         if(var12 != null) {
            var4.method16329(new RS2Buffer(var12), (byte)123);
         }

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

   public Class387(Class481 var1, Class470 var2, Class253 var3) {
      this.aClass253_4832 = var3;
      this.aClass253_4832.method4514(2022937823 * Class115.aClass115_1178.anInt1177, 48152670);
   }

   public Class225_Sub14_Sub17 method6643(int var1) {
      Class564 var2 = this.aClass564_4833;
      Class225_Sub14_Sub17 var3;
      synchronized(var2) {
         var3 = (Class225_Sub14_Sub17)this.aClass564_4833.method11959((long)var1);
      }

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

         var3 = new Class225_Sub14_Sub17();
         if(var10 != null) {
            var3.method16329(new RS2Buffer(var10), (byte)-94);
         }

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

   static final void method6644(Class508 var0, int var1) {
      var0.anInt6003 -= 294937419;
      Class37.method1052(var0.anIntArray6027[-937710807 * var0.anInt6003], var0.anIntArray6027[1 + var0.anInt6003 * -937710807], var0.anIntArray6027[var0.anInt6003 * -937710807 + 2], 255, 256, 675636171);
   }

   static final void method6645(Class508 var0, short var1) {
      var0.anInt6003 -= 196624946;
   }
}
