
public class LocSubOpcode {

   public static LocSubOpcode aClass379_4705 = new LocSubOpcode(5);
   public static LocSubOpcode aClass379_4706 = new LocSubOpcode(-1);
   public static LocSubOpcode aClass379_4707 = new LocSubOpcode(-1);
   public static LocSubOpcode aClass379_4708 = new LocSubOpcode(6);
   public static LocSubOpcode aClass379_4709 = new LocSubOpcode(9);
   public static LocSubOpcode aClass379_4710 = new LocSubOpcode(8);
   public static LocSubOpcode aClass379_4711 = new LocSubOpcode(2);
   public static LocSubOpcode aClass379_4712 = new LocSubOpcode(7);
   public static LocSubOpcode aClass379_4713 = new LocSubOpcode(21);
   public static LocSubOpcode aClass379_4714 = new LocSubOpcode(7);
   public static LocSubOpcode aClass379_4715 = new LocSubOpcode(18);
   public static LocSubOpcode aClass379_4716 = new LocSubOpcode(6);
   public static LocSubOpcode aClass379_4717 = new LocSubOpcode(10);
   public static LocSubOpcode aClass379_4718 = new LocSubOpcode(3);
   public static LocSubOpcode aClass379_4719 = new LocSubOpcode(5);


   public static LocSubOpcode[] method6581() {
      return new LocSubOpcode[]{aClass379_4710, aClass379_4706, aClass379_4707, aClass379_4709, aClass379_4708, aClass379_4717, aClass379_4711, aClass379_4712, aClass379_4713, aClass379_4714, aClass379_4715, aClass379_4716, aClass379_4718, aClass379_4705, aClass379_4719};
   }

   public static LocSubOpcode[] method6582() {
      return new LocSubOpcode[]{aClass379_4710, aClass379_4706, aClass379_4707, aClass379_4709, aClass379_4708, aClass379_4717, aClass379_4711, aClass379_4712, aClass379_4713, aClass379_4714, aClass379_4715, aClass379_4716, aClass379_4718, aClass379_4705, aClass379_4719};
   }

   LocSubOpcode(int var1) {}

   static final int method6583(int var0, int var1, int var2, int var3) {
      int var4 = var0 / var2;
      int var5 = var0 & var2 - 1;
      int var6 = var1 / var2;
      int var7 = var1 & var2 - 1;
      int var8 = Class375.method6549(var4, var6, -223562718);
      int var9 = Class375.method6549(var4 + 1, var6, 561950853);
      int var10 = Class375.method6549(var4, var6 + 1, -1756674415);
      int var11 = Class375.method6549(1 + var4, var6 + 1, -1364731086);
      int var12 = PacketContext.method3211(var8, var9, var5, var2, (short)2171);
      int var13 = PacketContext.method3211(var10, var11, var5, var2, (short)-8950);
      return PacketContext.method3211(var12, var13, var7, var2, (short)-19819);
   }

   public static boolean method6584(int var0, int var1) {
      if(var0 != 1008726147 * Class81.anInt838 || null == Class463_Sub26.aClass94_8449) {
         Class12.method717(1468510374);
         Class463_Sub26.aClass94_8449 = Class94.aClass94_921;
         Class81.anInt838 = var0 * 2094784043;
      }

      int var4;
      if(Class94.aClass94_921 == Class463_Sub26.aClass94_8449) {
         byte[] var2 = Class187.aClass253_2251.method4512(var0, 749605384);
         if(var2 == null) {
            return false;
         }

         RS2Buffer var3 = new RS2Buffer(var2);
         Class20.method805(var3, (short)20510);
         var4 = var3.readUnsignedByte(-700559597);

         int var5;
         for(var5 = 0; var5 < var4; ++var5) {
            Class81.aClass456_837.method7712(new Class225_Sub44(var3), (byte)49);
         }

         var5 = var3.readSmart(761303392);
         Class81.aClass88Array828 = new Class88[var5];

         int var6;
         for(var6 = 0; var6 < var5; ++var6) {
            Class81.aClass88Array828[var6] = new Class88(var3);
         }

         var6 = var3.readSmart(1417251988);
         Class543.aClass123Array7337 = new Class123[var6];

         int var7;
         for(var7 = 0; var7 < var6; ++var7) {
            Class543.aClass123Array7337[var7] = new Class123(var3, var7);
         }

         var7 = var3.readSmart(647989918);
         Class81.aClass87Array827 = new Class87[var7];

         int var8;
         for(var8 = 0; var8 < var7; ++var8) {
            Class81.aClass87Array827[var8] = new Class87(var3);
         }

         var8 = var3.readSmart(1402636587);
         Class108.aClass99Array1043 = new Class99[var8];

         int var9;
         for(var9 = 0; var9 < var8; ++var9) {
            Class108.aClass99Array1043[var9] = new Class99(var3);
         }

         var9 = var3.readSmart(319955548);
         Class81.aClass118Array830 = new Class118[var9];

         for(int var10 = 0; var10 < var9; ++var10) {
            Class81.aClass118Array830[var10] = Class4.method546(var3, 381670588);
         }

         Class463_Sub26.aClass94_8449 = Class94.aClass94_920;
      }

      if(Class94.aClass94_920 == Class463_Sub26.aClass94_8449) {
         boolean var11 = true;
         Class123[] var12 = Class543.aClass123Array7337;

         for(var4 = 0; var4 < var12.length; ++var4) {
            Class123 var15 = var12[var4];
            if(!var15.method2373(1987113488)) {
               var11 = false;
            }
         }

         Class118[] var13 = Class81.aClass118Array830;

         for(var4 = 0; var4 < var13.length; ++var4) {
            Class118 var17 = var13[var4];
            if(!var17.method2307(630701490)) {
               var11 = false;
            }
         }

         Class87[] var14 = Class81.aClass87Array827;

         for(var4 = 0; var4 < var14.length; ++var4) {
            Class87 var16 = var14[var4];
            if(!var16.method1762(1261520001)) {
               var11 = false;
            }
         }

         if(!var11) {
            return false;
         }

         Class463_Sub26.aClass94_8449 = Class94.aClass94_922;
      }

      return true;
   }

   static final void method6585(Class508 var0, short var1) {
      if(1760366209 * client.anInt7803 >= 2) {
         if(var1 >= 3352) {
            return;
         }

         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 1760366209 * client.anInt7803;
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 0;
      }

   }

   static final void method6586(Class508 var0, byte var1) {
      var0.anInt6003 -= 196624946;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      int var3 = var0.anIntArray6027[var0.anInt6003 * -937710807 + 1];
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var2 & var3;
   }

   static final void method6587(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class42 var3 = Class94.method1841(var2, (byte)-72);
      String var4 = "";
      if(null != var3) {
         if(var1 <= 11) {
            return;
         }

         if(null != var3.aString449) {
            if(var1 <= 11) {
               return;
            }

            var4 = var3.aString449;
         }
      }

      var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = var4;
   }

   static final void method6588(Class508 var0, int var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class3.anInt106 * -1597751369;
   }

   static final void method6589(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, 1009833874);
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var3.anInt1528 * -969041715;
   }
}
