import java.io.IOException;

public class Class7 {

   static int anInt119;
   static int anInt120;
   static int anInt121;
   static int anInt122;
   static int anInt123;
   static int anInt124;
   static int anInt125;
   static int anInt126;
   static int anInt127;
   static Class405 aClass405_128;
   static String aString129;


   public static int method593() {
      return 12;
   }

   public static void method594(Class545 var0, Class253 var1) {
      Class86[] var2 = Class152.method2757(var1, anInt122 * 1453020761, 0);
      Class203.aClass171Array2413 = new Class171[var2.length];

      int var3;
      for(var3 = 0; var3 < var2.length; ++var3) {
         Class203.aClass171Array2413[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 1515582615 * anInt123, 0);
      GameEngine.aClass171Array3328 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         GameEngine.aClass171Array3328[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, -255904219 * anInt125, 0);
      Class186.aClass171Array2239 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Class186.aClass171Array2239[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 434840143 * Class479.anInt5842, 0);
      Exception_Sub2.aClass171Array10362 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Exception_Sub2.aClass171Array10362[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, Class235.anInt2795 * 633744761, 0);
      Class110.aClass171Array1090 = new Class171[var2.length];
      byte var5 = 25;

      int var4;
      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class110.aClass171Array1090[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 197762193 * anInt120, 0);
      Class572.aClass171Array7589 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class572.aClass171Array7589[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, anInt126 * 1447246855, 0);
      Class569.aClass171Array7563 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class569.aClass171Array7563[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 752799833 * Class192.anInt2283, 0);
      Class181.aClass171Array2198 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class181.aClass171Array2198[var4] = var0.method11483(var2[var4], true);
      }

      Class565.aClass171_7504 = var0.method11483(Class152.method2765(var1, 1061621115 * anInt127, 0), true);
      Class44.aClass171_476 = var0.method11483(Class152.method2765(var1, -1573480443 * Class507.anInt5996, 0), true);
      var2 = Class152.method2757(var1, 463310123 * Class90.anInt893, 0);
      Class390.aClass171Array4853 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class390.aClass171Array4853[var4] = var0.method11483(var2[var4], true);
      }

   }

   public static void method595(Class253 var0) {
      anInt119 = var0.method4557("p11_full", (byte)-125) * -1537949173;
      anInt124 = var0.method4557("p12_full", (byte)-118) * 965380195;
      anInt121 = var0.method4557("b12_full", (byte)-16) * -719892123;
   }

   public static int[] method596() {
      return new int[]{anInt119 * -184796765, -209438389 * anInt124, 705656941 * anInt121};
   }

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

   public static int method597(Class253 var0) {
      int var1 = 0;
      if(var0.method4507(anInt122 * 1453020761, 423558487)) {
         ++var1;
      }

      if(var0.method4507(1515582615 * anInt123, 292979962)) {
         ++var1;
      }

      if(var0.method4507(-255904219 * anInt125, -345076082)) {
         ++var1;
      }

      if(var0.method4507(434840143 * Class479.anInt5842, 1768740907)) {
         ++var1;
      }

      if(var0.method4507(Class235.anInt2795 * 633744761, -1301344612)) {
         ++var1;
      }

      if(var0.method4507(anInt120 * 197762193, -1718821173)) {
         ++var1;
      }

      if(var0.method4507(1447246855 * anInt126, -2133921766)) {
         ++var1;
      }

      if(var0.method4507(Class192.anInt2283 * 752799833, -1047291528)) {
         ++var1;
      }

      if(var0.method4507(1843664271 * Class114.anInt1108, -1293972566)) {
         ++var1;
      }

      if(var0.method4507(anInt127 * 1061621115, 1988803711)) {
         ++var1;
      }

      if(var0.method4507(-1573480443 * Class507.anInt5996, -1764960377)) {
         ++var1;
      }

      if(var0.method4507(Class90.anInt893 * 463310123, -1213294098)) {
         ++var1;
      }

      return var1;
   }

   public static void method598(Class253 var0) {
      anInt122 = var0.method4557("headicons_pk", (byte)-115) * 1806078441;
      anInt123 = var0.method4557("headicons_prayer", (byte)-98) * -2043884761;
      anInt125 = var0.method4557("hint_headicons", (byte)-38) * 1827403181;
      Class479.anInt5842 = var0.method4557("hint_mapmarkers", (byte)-107) * 882685103;
      Class235.anInt2795 = var0.method4557("mapflag", (byte)-98) * 643935433;
      anInt120 = var0.method4557("cross", (byte)-63) * 921019505;
      anInt126 = var0.method4557("mapdots", (byte)-36) * 1237807543;
      Class192.anInt2283 = var0.method4557("name_icons", (byte)-125) * 634615785;
      Class114.anInt1108 = var0.method4557("floorshadows", (byte)-47) * 2064476527;
      anInt127 = var0.method4557("compass", (byte)-50) * -730543693;
      Class507.anInt5996 = var0.method4557("otherlevel", (byte)-26) * 44987597;
      Class90.anInt893 = var0.method4557("hint_mapedge", (byte)-31) * 513722755;
   }

   public static int method599() {
      return 12;
   }

   public static int method600() {
      return 12;
   }

   public static void method601(Class545 var0, Class253 var1) {
      Class86[] var2 = Class152.method2757(var1, anInt122 * 1453020761, 0);
      Class203.aClass171Array2413 = new Class171[var2.length];

      int var3;
      for(var3 = 0; var3 < var2.length; ++var3) {
         Class203.aClass171Array2413[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 1515582615 * anInt123, 0);
      GameEngine.aClass171Array3328 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         GameEngine.aClass171Array3328[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, -255904219 * anInt125, 0);
      Class186.aClass171Array2239 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Class186.aClass171Array2239[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 434840143 * Class479.anInt5842, 0);
      Exception_Sub2.aClass171Array10362 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Exception_Sub2.aClass171Array10362[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, Class235.anInt2795 * 633744761, 0);
      Class110.aClass171Array1090 = new Class171[var2.length];
      byte var5 = 25;

      int var4;
      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class110.aClass171Array1090[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 197762193 * anInt120, 0);
      Class572.aClass171Array7589 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class572.aClass171Array7589[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, anInt126 * 1447246855, 0);
      Class569.aClass171Array7563 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class569.aClass171Array7563[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 752799833 * Class192.anInt2283, 0);
      Class181.aClass171Array2198 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class181.aClass171Array2198[var4] = var0.method11483(var2[var4], true);
      }

      Class565.aClass171_7504 = var0.method11483(Class152.method2765(var1, 1061621115 * anInt127, 0), true);
      Class44.aClass171_476 = var0.method11483(Class152.method2765(var1, -1573480443 * Class507.anInt5996, 0), true);
      var2 = Class152.method2757(var1, 463310123 * Class90.anInt893, 0);
      Class390.aClass171Array4853 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class390.aClass171Array4853[var4] = var0.method11483(var2[var4], true);
      }

   }

   public static void method602(Class545 var0) {
      Class20.aClass8_197 = (Class8)Class472.aClass304_5793.method5400(client.anInterface31_7691, -184796765 * anInt119, true, true, (byte)23);
      aClass405_128 = Class472.aClass304_5793.method5401(client.anInterface31_7691, anInt119 * -184796765, 590131024);
      Class574.aClass8_7601 = (Class8)Class472.aClass304_5793.method5400(client.anInterface31_7691, anInt124 * -209438389, true, true, (byte)77);
      Class578.aClass405_7616 = Class472.aClass304_5793.method5401(client.anInterface31_7691, anInt124 * -209438389, 29304547);
      Class388.aClass8_4844 = (Class8)Class472.aClass304_5793.method5400(client.anInterface31_7691, 705656941 * anInt121, true, true, (byte)100);
      Class4.aClass405_111 = Class472.aClass304_5793.method5401(client.anInterface31_7691, anInt121 * 705656941, 831918363);
   }

   public static void method603(Class545 var0, Class253 var1) {
      Class86[] var2 = Class152.method2757(var1, anInt122 * 1453020761, 0);
      Class203.aClass171Array2413 = new Class171[var2.length];

      int var3;
      for(var3 = 0; var3 < var2.length; ++var3) {
         Class203.aClass171Array2413[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 1515582615 * anInt123, 0);
      GameEngine.aClass171Array3328 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         GameEngine.aClass171Array3328[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, -255904219 * anInt125, 0);
      Class186.aClass171Array2239 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Class186.aClass171Array2239[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, 434840143 * Class479.anInt5842, 0);
      Exception_Sub2.aClass171Array10362 = new Class171[var2.length];

      for(var3 = 0; var3 < var2.length; ++var3) {
         Exception_Sub2.aClass171Array10362[var3] = var0.method11483(var2[var3], true);
      }

      var2 = Class152.method2757(var1, Class235.anInt2795 * 633744761, 0);
      Class110.aClass171Array1090 = new Class171[var2.length];
      byte var5 = 25;

      int var4;
      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class110.aClass171Array1090[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 197762193 * anInt120, 0);
      Class572.aClass171Array7589 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class572.aClass171Array7589[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, anInt126 * 1447246855, 0);
      Class569.aClass171Array7563 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class569.aClass171Array7563[var4] = var0.method11483(var2[var4], true);
      }

      var2 = Class152.method2757(var1, 752799833 * Class192.anInt2283, 0);
      Class181.aClass171Array2198 = new Class171[var2.length];
      var5 = 12;

      for(var4 = 0; var4 < var2.length; ++var4) {
         var2[var4].method1707(-var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D), -var5 + (int)(Math.random() * (double)var5 * 2.0D));
         Class181.aClass171Array2198[var4] = var0.method11483(var2[var4], true);
      }

      Class565.aClass171_7504 = var0.method11483(Class152.method2765(var1, 1061621115 * anInt127, 0), true);
      Class44.aClass171_476 = var0.method11483(Class152.method2765(var1, -1573480443 * Class507.anInt5996, 0), true);
      var2 = Class152.method2757(var1, 463310123 * Class90.anInt893, 0);
      Class390.aClass171Array4853 = new Class171[var2.length];

      for(var4 = 0; var4 < var2.length; ++var4) {
         Class390.aClass171Array4853[var4] = var0.method11483(var2[var4], true);
      }

   }

   static void method604() {
      Class20.aClass8_197 = null;
      Class574.aClass8_7601 = null;
      Class388.aClass8_4844 = null;
      Class203.aClass171Array2413 = null;
      GameEngine.aClass171Array3328 = null;
      Class186.aClass171Array2239 = null;
      Exception_Sub2.aClass171Array10362 = null;
      Class110.aClass171Array1090 = null;
      Class572.aClass171Array7589 = null;
      Class569.aClass171Array7563 = null;
      Class181.aClass171Array2198 = null;
      Class565.aClass171_7504 = null;
      Class44.aClass171_476 = null;
      Class390.aClass171Array4853 = null;
   }

   public static void method605(int var0) {
      Class431 var1 = null;

      try {
         var1 = Class197.method3391("", client.aClass481_7742.aString5857, true, 32475452);
         RS2Buffer var2 = Class500.aClass225_Sub6_5953.method13500(-689710331);
         var1.method7296(var2.buffer, 0, -543666943 * var2.position, (byte)0);
      } catch (Exception var4) {
         ;
      }

      try {
         if(null != var1) {
            var1.method7297(-56138397);
         }
      } catch (Exception var3) {
         ;
      }

   }

   public static void method606(byte var0) {
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub10_8480, 1, 611929928);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub10_8483, 1, 1876112145);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub8_8476, 1, 1807759046);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub27_8475, 1, 1136991740);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub28_8477, 0, -1176859686);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub13_8473, 0, -1358316411);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub19_8486, 0, 2057469008);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub20_8490, 0, 976601846);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub26_8487, 0, -467724849);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub18_8478, 0, 1910790471);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub30_8493, 0, 1969309356);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub16_8474, 0, 526684257);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub12_8497, 0, 977148856);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub12_8481, 0, -997794703);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub14_8467, 0, -1218639085);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub7_8468, Class50.aClass50_504.anInt509 * -969519945, 1248191546);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub11_8469, 0, 1890458616);
      if(null != Class428.aClass545_5383 && Class428.aClass545_5383.method11712() && Class428.aClass545_5383.method11588()) {
         Class428.aClass545_5383.method11510();
      }

      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub29_8485, 0, -211094170);
      Class225_Sub12_Sub4.method16256((byte)33);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub25_8505, 2, 935902096);
      Class500.aClass225_Sub6_5953.method13522(Class500.aClass225_Sub6_5953.aClass463_Sub23_8488, 2, 1115909586);
      Class203.method3454(-26552762);
      client.aClass279_7807.method4921(-1965107479).method11240((byte)1);
      client.aBool7670 = true;
   }

   static final void method607(byte var0) {
      Class560.method11918(Class428.aClass545_5383, (long)(-1255739433 * client.anInt7659));
      if(1231941283 * client.anInt7831 != -1) {
         Class181.method3220(1231941283 * client.anInt7831, 207346071);
      }

      int var1;
      for(var1 = 0; var1 < client.anInt7885 * -2118728095; ++var1) {
         client.aBoolArray7888[var1] = client.aBoolArray7951[var1];
         client.aBoolArray7951[var1] = false;
      }

      client.anInt7676 = client.anInt7659 * 2134430149;
      if(client.anInt7831 * 1231941283 != -1) {
         client.anInt7885 = 0;
         Class509.method10806(446063995);
      }

      Class428.aClass545_5383.L();
      Class491.method8209(Class428.aClass545_5383, -1975807186);
      var1 = Class19.method795((byte)18);
      if(var1 == -1) {
         var1 = -1653817873 * client.anInt7823;
      }

      if(var1 == -1) {
         var1 = -83917463 * client.anInt7822;
      }

      Class550.method11797(var1, 1044377915);
      client.anInt7746 = 0;
   }

   public static boolean method608(String var0, int var1) {
      if(null == var0) {
         return false;
      } else {
         for(int var2 = 0; var2 < client.anInt7933 * -356989129; ++var2) {
            Class9 var3 = client.aClass9Array7935[var2];
            if(var0.equalsIgnoreCase(var3.aString146)) {
               return true;
            }

            if(var0.equalsIgnoreCase(var3.aString144)) {
               return true;
            }
         }

         return false;
      }
   }

   static final void method609(Class508 var0, int var1) {
      String var2 = (String)var0.anObjectArray6004[(var0.anInt6005 -= -46848683) * 639741949];
      int var3 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class285.method5240(var2, var3, (byte)10);
   }

   static final boolean method610(PacketContext var0, int var1) {
      try {
         return PacketParser.parsePacket(var0, (byte)-16);
      } catch (IOException var6) {
         if(18 == client.anInt7734 * 1881519639) {
            var0.method3195(98312473);
            return false;
         } else {
            Class457.method7727(103160245);
            return true;
         }
      } catch (Exception var7) {
         Class548 var3 = client.aClass279_7807.method4909(1577765472);
         String var4 = (var0.opcode != null?-170280963 * var0.opcode.anInt3558:-1) + Class12.aString157 + (null != var0.aClass296_2192?var0.aClass296_2192.anInt3558 * -170280963:-1) + Class12.aString157 + (null != var0.aClass296_2188?-170280963 * var0.aClass296_2188.anInt3558:-1) + " " + var0.size * -342161915 + Class12.aString157 + (var3.anInt7419 * -843659437 + Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.anIntArray10770[0]) + Class12.aString157 + (var3.anInt7420 * -1518942839 + Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.anIntArray10779[0]) + " ";

         for(int var5 = 0; var5 < var0.size * -342161915 && var5 < 50; ++var5) {
            var4 = var4 + var0.aClass225_Sub23_Sub1_2180.buffer[var5] + Class12.aString157;
         }

         Class109.method2190(var4, var7, 1513281376);
         Class393.method6730(false, -351299954);
         return true;
      }
   }

   static void method611(byte var0) {
      Class225_Sub14_Sub2.aClass423_10009.method7212(1358560303);
      Class225_Sub14_Sub2.aClass455_10008.method7614((byte)-125);
      Class225_Sub14_Sub2.aClass455_10007.method7614((byte)-101);
   }
}
