
public class Class81 {

   static Class87[] aClass87Array827;
   static Class88[] aClass88Array828;
   static int anInt829 = 0;
   public static Class118[] aClass118Array830;
   public static Class423 aClass423_831 = new Class423(32);
   static int anInt832 = 817759993;
   static int anInt833 = -187162233;
   static int anInt834 = 0;
   static boolean aBool835 = false;
   static short aShort836;
   public static Class456 aClass456_837 = new Class456();
   static int anInt838 = -2094784043;
   public static Interface12 anInterface12_839 = new Class112();


   public static void method1647(boolean var0) {
      if(2106080509 * client.anInt7717 != 3 && 2106080509 * client.anInt7717 != 0) {
         if(!var0) {
            if(null != aClass118Array830) {
               Class118[] var1 = aClass118Array830;

               for(int var2 = 0; var2 < var1.length; ++var2) {
                  Class118 var3 = var1[var2];
                  var3.method2309((byte)-67);
               }
            }

            if(-1 != anInt832 * 236856503) {
               Class518.method10976(1328582890);
               Class226.anInt2621 = -1794711015;
               Class435.method7337(236856503 * anInt832, 255, 50, -919708449);
            }
         }

         client.anInt7717 = 1643921663;
         Class29.anIntArrayArray363 = (int[][])null;
         Class411.aClass225_Sub23_5094 = null;
         client.aBool7907 = false;
         if(anInt838 * 1008726147 > 0) {
            Class363.method6461(Class386.aClass386_4828, 1008726147 * anInt838, -1, (byte)43);
         }

         Class12.method717(1468510374);
         Class225_Sub15 var4 = Class543.method11415(OutgoingOpcode.aClass302_3772, client.aClass180_7704.aClass433_2184, (byte)1);
         var4.buffer.writeByte(var0?1:0, -765864773);
         client.aClass180_7704.method3191(var4, (byte)53);
      }
   }

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

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

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

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

         var4 = var2.readSmart(742687689);
         aClass88Array828 = new Class88[var4];

         int var5;
         for(var5 = 0; var5 < var4; ++var5) {
            aClass88Array828[var5] = new Class88(var2);
         }

         var5 = var2.readSmart(1773046798);
         Class543.aClass123Array7337 = new Class123[var5];

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

         var6 = var2.readSmart(1792598879);
         aClass87Array827 = new Class87[var6];

         int var7;
         for(var7 = 0; var7 < var6; ++var7) {
            aClass87Array827[var7] = new Class87(var2);
         }

         var7 = var2.readSmart(1129957707);
         Class108.aClass99Array1043 = new Class99[var7];

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

         var8 = var2.readSmart(2022089353);
         aClass118Array830 = new Class118[var8];

         for(int var9 = 0; var9 < var8; ++var9) {
            aClass118Array830[var9] = Class4.method546(var2, 466064460);
         }

         Class463_Sub26.aClass94_8449 = Class94.aClass94_920;
      }

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

         for(var3 = 0; var3 < var11.length; ++var3) {
            Class123 var15 = var11[var3];
            if(!var15.method2373(1735516804)) {
               var10 = false;
            }
         }

         Class118[] var12 = aClass118Array830;

         for(var3 = 0; var3 < var12.length; ++var3) {
            Class118 var14 = var12[var3];
            if(!var14.method2307(1043164893)) {
               var10 = false;
            }
         }

         Class87[] var13 = aClass87Array827;

         for(var3 = 0; var3 < var13.length; ++var3) {
            Class87 var16 = var13[var3];
            if(!var16.method1762(1261520001)) {
               var10 = false;
            }
         }

         if(!var10) {
            return false;
         }

         Class463_Sub26.aClass94_8449 = Class94.aClass94_922;
      }

      return true;
   }

   static void method1649(RS2Buffer var0) {
      while(true) {
         int var1 = var0.readUnsignedByte(-700559597);
         switch(var1) {
         case 0:
            anInt829 = var0.readUnsignedShort(-937710807) * 93496535;
            anInt834 = var0.readUnsignedShort(-937710807) * 335982951;
            break;
         case 255:
            return;
         }
      }
   }

   static void method1650(RS2Buffer var0) {
      while(true) {
         int var1 = var0.readUnsignedByte(-700559597);
         switch(var1) {
         case 0:
            anInt829 = var0.readUnsignedShort(-937710807) * 93496535;
            anInt834 = var0.readUnsignedShort(-937710807) * 335982951;
            break;
         case 255:
            return;
         }
      }
   }

   static void method1651(RS2Buffer var0) {
      while(true) {
         int var1 = var0.readUnsignedByte(-700559597);
         switch(var1) {
         case 0:
            anInt829 = var0.readUnsignedShort(-937710807) * 93496535;
            anInt834 = var0.readUnsignedShort(-937710807) * 335982951;
            break;
         case 255:
            return;
         }
      }
   }

   public static void method1652(boolean var0) {
      if(2106080509 * client.anInt7717 != 3 && 2106080509 * client.anInt7717 != 0) {
         if(!var0) {
            if(null != aClass118Array830) {
               Class118[] var1 = aClass118Array830;

               for(int var2 = 0; var2 < var1.length; ++var2) {
                  Class118 var3 = var1[var2];
                  var3.method2309((byte)-65);
               }
            }

            if(-1 != anInt832 * 236856503) {
               Class518.method10976(-204757866);
               Class226.anInt2621 = -1794711015;
               Class435.method7337(236856503 * anInt832, 255, 50, -1021791099);
            }
         }

         client.anInt7717 = 1643921663;
         Class29.anIntArrayArray363 = (int[][])null;
         Class411.aClass225_Sub23_5094 = null;
         client.aBool7907 = false;
         if(anInt838 * 1008726147 > 0) {
            Class363.method6461(Class386.aClass386_4828, 1008726147 * anInt838, -1, (byte)41);
         }

         Class12.method717(1468510374);
         Class225_Sub15 var4 = Class543.method11415(OutgoingOpcode.aClass302_3772, client.aClass180_7704.aClass433_2184, (byte)1);
         var4.buffer.writeByte(var0?1:0, -765864773);
         client.aClass180_7704.method3191(var4, (byte)46);
      }
   }

   public static void method1653() {
      Class225_Sub10.aShort8527 = client.aShort7756;
      Class20.aShort199 = client.aShort7701;
      aShort836 = client.aShort7919;
      Class495.aShort5918 = client.aShort7920;
      aBool835 = true;
      anInt832 = 1848354785 * Class226.anInt2621;
      if(0 != anInt834 * 454613591 && 0 != -487420185 * anInt829) {
         client.aShort7919 = 334;
         client.aShort7920 = 334;
         client.aShort7701 = client.aShort7756 = (short)(833924608 * anInt834 / (-487420185 * anInt829));
      }

   }

   public static void method1654() {
      Class225_Sub10.aShort8527 = client.aShort7756;
      Class20.aShort199 = client.aShort7701;
      aShort836 = client.aShort7919;
      Class495.aShort5918 = client.aShort7920;
      aBool835 = true;
      anInt832 = 1848354785 * Class226.anInt2621;
      if(0 != anInt834 * 454613591 && 0 != -487420185 * anInt829) {
         client.aShort7919 = 334;
         client.aShort7920 = 334;
         client.aShort7701 = client.aShort7756 = (short)(833924608 * anInt834 / (-487420185 * anInt829));
      }

   }

   public static void method1655() {
      Class225_Sub10.aShort8527 = client.aShort7756;
      Class20.aShort199 = client.aShort7701;
      aShort836 = client.aShort7919;
      Class495.aShort5918 = client.aShort7920;
      aBool835 = true;
      anInt832 = 1848354785 * Class226.anInt2621;
      if(0 != anInt834 * 454613591 && 0 != -487420185 * anInt829) {
         client.aShort7919 = 334;
         client.aShort7920 = 334;
         client.aShort7701 = client.aShort7756 = (short)(833924608 * anInt834 / (-487420185 * anInt829));
      }

   }

   Class81() throws Throwable {
      throw new Error();
   }

   public static void method1656() {
      Class225_Sub10.aShort8527 = client.aShort7756;
      Class20.aShort199 = client.aShort7701;
      aShort836 = client.aShort7919;
      Class495.aShort5918 = client.aShort7920;
      aBool835 = true;
      anInt832 = 1848354785 * Class226.anInt2621;
      if(0 != anInt834 * 454613591 && 0 != -487420185 * anInt829) {
         client.aShort7919 = 334;
         client.aShort7920 = 334;
         client.aShort7701 = client.aShort7756 = (short)(833924608 * anInt834 / (-487420185 * anInt829));
      }

   }

   public static void method1657(boolean var0) {
      if(2106080509 * client.anInt7717 != 3 && 2106080509 * client.anInt7717 != 0) {
         if(!var0) {
            if(null != aClass118Array830) {
               Class118[] var1 = aClass118Array830;

               for(int var2 = 0; var2 < var1.length; ++var2) {
                  Class118 var3 = var1[var2];
                  var3.method2309((byte)-110);
               }
            }

            if(-1 != anInt832 * 236856503) {
               Class518.method10976(-26733435);
               Class226.anInt2621 = -1794711015;
               Class435.method7337(236856503 * anInt832, 255, 50, -1148006269);
            }
         }

         client.anInt7717 = 1643921663;
         Class29.anIntArrayArray363 = (int[][])null;
         Class411.aClass225_Sub23_5094 = null;
         client.aBool7907 = false;
         if(anInt838 * 1008726147 > 0) {
            Class363.method6461(Class386.aClass386_4828, 1008726147 * anInt838, -1, (byte)-31);
         }

         Class12.method717(1468510374);
         Class225_Sub15 var4 = Class543.method11415(OutgoingOpcode.aClass302_3772, client.aClass180_7704.aClass433_2184, (byte)1);
         var4.buffer.writeByte(var0?1:0, -765864773);
         client.aClass180_7704.method3191(var4, (byte)52);
      }
   }

   public static void method1658(boolean var0) {
      if(2106080509 * client.anInt7717 != 3 && 2106080509 * client.anInt7717 != 0) {
         if(!var0) {
            if(null != aClass118Array830) {
               Class118[] var1 = aClass118Array830;

               for(int var2 = 0; var2 < var1.length; ++var2) {
                  Class118 var3 = var1[var2];
                  var3.method2309((byte)-55);
               }
            }

            if(-1 != anInt832 * 236856503) {
               Class518.method10976(-995420378);
               Class226.anInt2621 = -1794711015;
               Class435.method7337(236856503 * anInt832, 255, 50, -765276599);
            }
         }

         client.anInt7717 = 1643921663;
         Class29.anIntArrayArray363 = (int[][])null;
         Class411.aClass225_Sub23_5094 = null;
         client.aBool7907 = false;
         if(anInt838 * 1008726147 > 0) {
            Class363.method6461(Class386.aClass386_4828, 1008726147 * anInt838, -1, (byte)-79);
         }

         Class12.method717(1468510374);
         Class225_Sub15 var4 = Class543.method11415(OutgoingOpcode.aClass302_3772, client.aClass180_7704.aClass433_2184, (byte)1);
         var4.buffer.writeByte(var0?1:0, -765864773);
         client.aClass180_7704.method3191(var4, (byte)16);
      }
   }

   static void method1659(int var0) {
      Class335.aClass1_4205 = Class1.aClass1_10;
      Class11.aClass475_153 = Class475.aClass475_5806;
      Class11.aClass468_154 = Class468.aClass468_5761;
      Class11.aClass447_155 = Class447.aClass447_5577;
   }

   static final void method1660(Class508 var0, int var1) {
      var0.anInt6003 -= 196624946;
      int var2 = var0.anIntArray6027[var0.anInt6003 * -937710807];
      int var3 = var0.anIntArray6027[1 + -937710807 * var0.anInt6003];
      Class401 var4 = Class30.aClass389_367.method6674(var3, -1737472087);
      if(var4.method6815(-1447782207)) {
         var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = Class40.aClass388_439.method6647(var2, 1329294720).method7044(var3, var4.aString4913, -1340850938);
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class40.aClass388_439.method6647(var2, 1651576211).method7043(var3, 1326753823 * var4.anInt4914, -1679714790);
      }

   }

   static final void method1661(Class508 var0, byte var1) {
      var0.anInt6003 -= 294937419;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      int var3 = var0.anIntArray6027[-937710807 * var0.anInt6003 + 1];
      int var4 = var0.anIntArray6027[var0.anInt6003 * -937710807 + 2];
      Class225_Sub14_Sub5 var5 = Class255.aClass434_3029.method7328(var2, 342774626);
      if(var5.method15626(var3, -397014652).anInt7175 * -602422471 != 0) {
         throw new RuntimeException("");
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var5.method15612(var3, var4, (byte)29);
      }
   }

   public static final void method1662(Class225_Sub4 var0, boolean var1, boolean var2, int var3) {
      int var4 = var0.anInt8385 * -165881631;
      int var5 = (int)(var0.aLong2606 * -7222396723785363401L);
      var0.method3857(543967075);
      if(var1) {
         Class85.method1682(var4, (byte)1);
      }

      Class499.method8351(var4, -195411914);
      Class124 var6 = Class97.method1903(var5, -722391019);
      if(var6 != null) {
         Class460.method7767(var6, -1608789521);
      }

      Class574.method12200(1442542894);
      if(!var2 && 1231941283 * client.anInt7831 != -1) {
         Class118_Sub10.method13194(1231941283 * client.anInt7831, 1, (short)23428);
      }

      Class441 var7 = new Class441(client.aClass423_7832);

      for(Class225_Sub4 var8 = (Class225_Sub4)var7.method7397((byte)53); null != var8; var8 = (Class225_Sub4)var7.next()) {
         if(!var8.method3858(1790230812)) {
            var8 = (Class225_Sub4)var7.method7397((byte)30);
            if(null == var8) {
               break;
            }
         }

         if(3 == var8.anInt8384 * 1797784371) {
            int var9 = (int)(-7222396723785363401L * var8.aLong2606);
            if(var9 >>> 16 == var4) {
               method1662(var8, true, var2, 1375675140);
            }
         }
      }

   }

   static final void method1663(Class508 var0, int var1) {
      String var2 = (String)var0.anObjectArray6004[(var0.anInt6005 -= -46848683) * 639741949];
      Class362.method6446(var2, true, -901209187);
   }

   static void method1664(byte var0) {
      if(6 == 1881519639 * client.anInt7734) {
         Class436.method7354((byte)0);
      }

      Class314.method5604(1817989777);
      client.aClass180_7703.method3194(-278435449);
      Class541.aBool7320 = true;
      Class50.method1203(-1339461247);

      int var1;
      for(var1 = 0; var1 < client.aClass186Array7855.length; ++var1) {
         client.aClass186Array7855[var1] = null;
      }

      client.aBool7669 = false;
      Class543.method11413((byte)-4);
      client.anInt7656 = ((int)(Math.random() * 100.0D) - 50) * -477029419;
      client.anInt7735 = ((int)(Math.random() * 110.0D) - 55) * -1358220529;
      client.anInt7925 = ((int)(Math.random() * 80.0D) - 40) * -597686751;
      client.anInt7754 = ((int)(Math.random() * 120.0D) - 60) * -340905149;
      client.anInt7912 = ((int)(Math.random() * 30.0D) - 20) * 470634613;
      client.aFloat7750 = (float)((int)(Math.random() * 160.0D) - 80 & 16383);
      Class278.method4898(1228087408);

      for(var1 = 0; var1 < 2048; ++var1) {
         client.aClass515_Sub1_Sub4_Sub4_Sub1Array7799[var1] = null;
      }

      Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113 = null;
      client.anInt7922 = 0;
      client.anInt7695 = 0;
      client.aClass423_7693.method7212(1001545311);
      client.aClass456_7725.method7627((byte)16);
      client.aClass423_7819.method7212(748403883);
      client.aClass462_7675.method7799((byte)29);
      client.aClass423_7817.method7212(246898803);
      Class225_Sub33.aClass456_8681 = new Class456();
      Class225_Sub33.aClass456_8686 = new Class456();
      Class118_Sub1.aClass175_8204.aClass569_2131.method12152((byte)0);
      Class7.method611((byte)2);
      Class337.anInt4355 = 0;
      Class214.anInt2515 = 0;
      Class470.anInt5786 = 0;
      Class474.anInt5803 = 0;
      Class247_Sub1.anInt8990 = 0;
      Class251_Sub2.anInt8929 = 0;
      Class428.anInt5384 = 0;
      Class389.anInt4849 = 0;
      Class554.anInt7440 = 0;
      Class355.anInt4476 = 0;
      Class498.aClass167_Sub1_5945.method14820(-1106830511);
      if(1231941283 * client.anInt7831 != -1) {
         Class85.method1682(client.anInt7831 * 1231941283, (byte)1);
      }

      for(Class225_Sub4 var2 = (Class225_Sub4)client.aClass423_7832.method7208(-405853513); null != var2; var2 = (Class225_Sub4)client.aClass423_7832.method7226(1928914530)) {
         if(!var2.method3858(1507217346)) {
            var2 = (Class225_Sub4)client.aClass423_7832.method7208(-405853513);
            if(null == var2) {
               break;
            }
         }

         method1662(var2, true, false, 2133100464);
      }

      client.anInt7831 = -462763275;
      client.aClass423_7832 = new Class423(8);
      Class554.method11834((byte)-1);
      client.aClass124_7834 = null;

      for(var1 = 0; var1 < 8; ++var1) {
         client.aStringArray7814[var1] = null;
         client.aBoolArray7936[var1] = false;
         client.anIntArray7813[var1] = -1;
      }

      Class225_Sub34.method14036((byte)45);
      client.aBool7657 = true;

      for(var1 = 0; var1 < 111; ++var1) {
         client.aBoolArray7951[var1] = true;
      }

      for(var1 = 0; var1 < 6; ++var1) {
         client.aClass273Array7653[var1] = new Class273();
      }

      client.aClass279_7807.method4921(-2003992574).method11240((byte)2);
      client.aBool7928 = true;
      Class225_Sub44.aShortArray8773 = Class445.aShortArray5562 = Class411.aShortArray5026 = ItemDefinition.aShortArray4994 = new short[256];
      Class246.aString2942 = Class418.aClass418_5259.method7137(Class498.aClass470_5944, (byte)-126);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub10_8483, Class500.aClass225_Sub6_5953.aClass463_Sub10_8480.method12877((byte)-8), -1087561492);
      client.anInt7706 = 0;
      Class541.method11370((byte)0);
      Class42.method1124((byte)79);
      Class327.aClass519_4064 = null;
      Class356_Sub2.aLong8915 = 0L;
   }

   static final void method1665(Class508 var0, int var1) {
      var0.anInt6003 -= 491562365;
      int var2 = var0.anIntArray6027[var0.anInt6003 * -937710807];
      int var3 = var0.anIntArray6027[-937710807 * var0.anInt6003 + 1];
      int var4 = var0.anIntArray6027[-937710807 * var0.anInt6003 + 2];
      int var5 = var0.anIntArray6027[3 + -937710807 * var0.anInt6003];
      int var6 = var0.anIntArray6027[4 + var0.anInt6003 * -937710807];
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var2 + (var3 - var2) * (var6 - var4) / (var5 - var4);
   }

   static final void method1666(Class508 var0, int var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class215_Sub1.aBool8345?1:0;
   }
}
