
public final class Class253 {

   Class333 aClass333_2986 = null;
   boolean aBool2987;
   static final int anInt2988 = 0;
   static Class390 aClass390_2989 = new Class390();
   static final int anInt2990 = 1;
   static final int anInt2991 = 0;
   public static final int anInt2992 = 1;
   public static final int anInt2993 = 2;
   int anInt2994;
   Class250 aClass250_2995;
   static boolean aBool2996 = false;
   static int anInt2997 = 0;
   Object[] anObjectArray2998;
   Object[][] anObjectArrayArray2999;


   public int method4497(String var1) {
      if(!this.method4498((short)13226)) {
         return 0;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)50);
         return this.method4510(var2, 2006354648);
      }
   }

   synchronized boolean method4498(short var1) {
      if(this.aClass333_2986 == null) {
         this.aClass333_2986 = this.aClass250_2995.method4464(1520850706);
         if(this.aClass333_2986 == null) {
            return false;
         }

         this.anObjectArray2998 = new Object[1038147303 * this.aClass333_2986.anInt4190];
         this.anObjectArrayArray2999 = new Object[1038147303 * this.aClass333_2986.anInt4190][];
      }

      return true;
   }

   synchronized boolean method4499(int var1) {
      if(!this.method4498((short)9064)) {
         return false;
      } else if(var1 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && 0 != this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(Integer.toString(var1));
      } else {
         return false;
      }
   }

   public int method4500(int var1) {
      if(!this.method4498((short)26372)) {
         if(var1 <= -117624451) {
            ;
         }

         throw new IllegalStateException("");
      } else {
         return -1337795655 * this.aClass333_2986.anInt4185;
      }
   }

   synchronized boolean method4501(int var1, int var2, short var3) {
      if(!this.method4498((short)2284)) {
         return false;
      } else if(var1 >= 0 && var2 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && var2 < this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(var1 + " " + var2);
      } else {
         return false;
      }
   }

   synchronized void method4502(int var1, int var2) {
      if(this.aBool2987) {
         this.anObjectArray2998[var1] = this.aClass250_2995.method4465(var1, -344685100);
      } else {
         this.anObjectArray2998[var1] = Class225.method3869(this.aClass250_2995.method4465(var1, -898325866), false, (byte)124);
      }

   }

   void method4503(int var1, byte var2) {
      this.aClass250_2995.method4463(var1, (byte)-2);
   }

   public synchronized boolean method4504(int var1, byte var2) {
      if(!this.method4522(var1, -796355340)) {
         return false;
      } else if(this.anObjectArray2998[var1] != null) {
         return true;
      } else {
         this.method4502(var1, -250547694);
         return this.anObjectArray2998[var1] != null;
      }
   }

   public synchronized byte[] method4505(int var1, int var2, int[] var3, byte var4) {
      if(!this.method4501(var1, var2, (short)-13752)) {
         return null;
      } else {
         byte[] var5 = null;
         if(this.anObjectArrayArray2999[var1] == null || this.anObjectArrayArray2999[var1][var2] == null) {
            boolean var6 = this.method4517(var1, var2, var3, (byte)-23);
            if(!var6) {
               this.method4502(var1, -263101500);
               var6 = this.method4517(var1, var2, var3, (byte)39);
               if(!var6) {
                  return null;
               }
            }
         }

         if(this.anObjectArrayArray2999[var1] == null) {
            throw new RuntimeException("");
         } else {
            if(this.anObjectArrayArray2999[var1][var2] != null) {
               var5 = Class120.method2333(this.anObjectArrayArray2999[var1][var2], false, 1309883174);
               if(null == var5) {
                  throw new RuntimeException("");
               }
            }

            if(null != var5) {
               if(1 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1][var2] = null;
                  if(1 == this.aClass333_2986.anIntArray4193[var1]) {
                     this.anObjectArrayArray2999[var1] = null;
                  }
               } else if(2 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1] = null;
               }
            }

            return var5;
         }
      }
   }

   public synchronized boolean method4506(int var1, int var2, byte var3) {
      if(!this.method4501(var1, var2, (short)10006)) {
         return false;
      } else if(null != this.anObjectArrayArray2999[var1] && this.anObjectArrayArray2999[var1][var2] != null) {
         return true;
      } else if(null != this.anObjectArray2998[var1]) {
         return true;
      } else {
         this.method4502(var1, 186788644);
         return this.anObjectArray2998[var1] != null;
      }
   }

   public synchronized boolean method4507(int var1, int var2) {
      if(!this.method4498((short)13179)) {
         return false;
      } else if(1 == this.aClass333_2986.anIntArray4193.length) {
         return this.method4506(0, var1, (byte)18);
      } else if(!this.method4522(var1, -283708840)) {
         return false;
      } else if(this.aClass333_2986.anIntArray4193[var1] == 1) {
         return this.method4506(var1, 0, (byte)7);
      } else {
         throw new RuntimeException();
      }
   }

   static final byte[] method4508(byte[] var0) {
      RS2Buffer var1 = new RS2Buffer(var0);
      int var2 = var1.readUnsignedByte(-700559597);
      int var3 = var1.readInt_(1573843732);
      if(var3 >= 0 && (-1343155703 * anInt2997 == 0 || var3 <= -1343155703 * anInt2997)) {
         if(0 == var2) {
            byte[] var9 = new byte[var3];
            var1.method13737(var9, 0, var3, 1385214721);
            return var9;
         } else {
            int var4 = var1.readInt_(1504605943);
            if(var4 >= 0 && (-1343155703 * anInt2997 == 0 || var4 <= anInt2997 * -1343155703)) {
               byte[] var5 = new byte[var4];
               if(var2 == 1) {
                  Class476.method7961(var5, var4, var0, var3, 9);
               } else {
                  Class390 var6 = aClass390_2989;
                  synchronized(var6) {
                     aClass390_2989.method6695(var1, var5, -174097712);
                  }
               }

               return var5;
            } else {
               throw new RuntimeException();
            }
         }
      } else {
         throw new RuntimeException();
      }
   }

   public synchronized boolean method4509(byte var1) {
      if(!this.method4498((short)15652)) {
         return false;
      } else {
         boolean var2 = true;

         for(int var3 = 0; var3 < this.aClass333_2986.anIntArray4187.length; ++var3) {
            int var4 = this.aClass333_2986.anIntArray4187[var3];
            if(null == this.anObjectArray2998[var4]) {
               this.method4502(var4, 2008899214);
               if(null == this.anObjectArray2998[var4]) {
                  var2 = false;
               }
            }
         }

         return var2;
      }
   }

   synchronized int method4510(int var1, int var2) {
      return !this.method4522(var1, -1860879350)?0:(null != this.anObjectArray2998[var1]?100:this.aClass250_2995.method4468(var1, -264208554));
   }

   public synchronized int method4511(int var1) {
      if(!this.method4498((short)11311)) {
         return 0;
      } else {
         int var2 = 0;
         int var3 = 0;

         int var4;
         for(var4 = 0; var4 < this.anObjectArray2998.length; ++var4) {
            if(this.aClass333_2986.anIntArray4198[var4] > 0) {
               var2 += 100;
               var3 += this.method4510(var4, 2006354648);
            }
         }

         if(var2 == 0) {
            return 100;
         } else {
            var4 = var3 * 100 / var2;
            return var4;
         }
      }
   }

   public synchronized byte[] method4512(int var1, int var2) {
      if(!this.method4498((short)20670)) {
         return null;
      } else if(this.aClass333_2986.anIntArray4193.length == 1) {
         return this.method4547(0, var1, (byte)29);
      } else if(!this.method4522(var1, 14535623)) {
         return null;
      } else if(this.aClass333_2986.anIntArray4193[var1] == 1) {
         return this.method4547(var1, 0, (byte)-14);
      } else {
         throw new RuntimeException();
      }
   }

   public synchronized int[] method4513(int var1, int var2) {
      if(!this.method4522(var1, -3024762)) {
         return null;
      } else {
         int[] var3 = this.aClass333_2986.anIntArrayArray4195[var1];
         if(var3 == null) {
            var3 = new int[this.aClass333_2986.anIntArray4198[var1]];

            for(int var4 = 0; var4 < var3.length; var3[var4] = var4++) {
               ;
            }
         }

         return var3;
      }
   }

   public int method4514(int var1, int var2) {
      return !this.method4522(var1, -333857724)?0:this.aClass333_2986.anIntArray4193[var1];
   }

   public int method4515(int var1) {
      return !this.method4498((short)19187)?-1:this.aClass333_2986.anIntArray4193.length;
   }

   public void method4516(boolean var1, boolean var2, int var3) {
      if(this.method4498((short)15083)) {
         if(var1) {
            this.aClass333_2986.anIntArray4188 = null;
            this.aClass333_2986.aClass105_4183 = null;
         }

         if(var2) {
            this.aClass333_2986.anIntArrayArray4196 = (int[][])null;
            this.aClass333_2986.aClass105Array4197 = null;
         }

      }
   }

   synchronized boolean method4517(int var1, int var2, int[] var3, byte var4) {
      if(!this.method4522(var1, -546887839)) {
         return false;
      } else if(null == this.anObjectArray2998[var1]) {
         return false;
      } else {
         int var5 = this.aClass333_2986.anIntArray4198[var1];
         int[] var6 = this.aClass333_2986.anIntArrayArray4195[var1];
         if(null == this.anObjectArrayArray2999[var1]) {
            this.anObjectArrayArray2999[var1] = new Object[this.aClass333_2986.anIntArray4193[var1]];
         }

         Object[] var7 = this.anObjectArrayArray2999[var1];
         boolean var8 = true;

         for(int var9 = 0; var9 < var5; ++var9) {
            int var10;
            if(var6 == null) {
               var10 = var9;
            } else {
               var10 = var6[var9];
            }

            if(var7[var10] == null) {
               var8 = false;
               break;
            }
         }

         if(var8) {
            return true;
         } else {
            byte[] var22;
            if(null != var3 && (0 != var3[0] || var3[1] != 0 || 0 != var3[2] || var3[3] != 0)) {
               var22 = Class120.method2333(this.anObjectArray2998[var1], true, -118213856);
               RS2Buffer var23 = new RS2Buffer(var22);
               var23.method13746(var3, 5, var23.buffer.length, (byte)118);
            } else {
               var22 = Class120.method2333(this.anObjectArray2998[var1], false, 966751570);
            }

            byte[] var24 = Class49.method1194(var22, 591898104);
            if(this.aBool2987) {
               this.anObjectArray2998[var1] = null;
            }
       

            int var11;
            if(var5 > 1) {
               int var12;
               RS2Buffer var13;
               int var15;
               int var17;
               int var16;
               int var19;
               int var18;
               if(2 != this.anInt2994 * 1638712827) {
                  var11 = var24.length;
                  --var11;
                  var12 = var24[var11] & 255;
                  var11 -= var12 * var5 * 4;
                  var13 = new RS2Buffer(var24);
                  int[] var14 = new int[var5];
                  var13.position = 1385214721 * var11;

                  for(var15 = 0; var15 < var12; ++var15) {
                     var16 = 0;

                     for(var17 = 0; var17 < var5; ++var17) {
                        var16 += var13.readInt_(-1602655269);
                        var14[var17] += var16;
                     }
                  }

                  byte[][] var26 = new byte[var5][];

                  for(var16 = 0; var16 < var5; ++var16) {
                     var26[var16] = new byte[var14[var16]];
                     var14[var16] = 0;
                  }

                  var13.position = var11 * 1385214721;
                  var16 = 0;

                  for(var17 = 0; var17 < var12; ++var17) {
                     var18 = 0;

                     for(var19 = 0; var19 < var5; ++var19) {
                        var18 += var13.readInt_(1632066439);
                        System.arraycopy(var24, var16, var26[var19], var14[var19], var18);
                        var14[var19] += var18;
                        var16 += var18;
                     }
                  }

                  for(var17 = 0; var17 < var5; ++var17) {
                     if(var6 == null) {
                        var18 = var17;
                     } else {
                        var18 = var6[var17];
                     }

                     if(0 == 1638712827 * this.anInt2994) {
                        var7[var18] = Class225.method3869(var26[var17], false, (byte)109);
                     } else {
                        var7[var18] = var26[var17];
                     }
                  }
               } else {
                  var11 = var24.length;
                  --var11;
                  var12 = var24[var11] & 255;
                  var11 -= 4 * var12 * var5;
                  var13 = new RS2Buffer(var24);
                  int var25 = 0;
                  var15 = 0;
                  var13.position = 1385214721 * var11;

                  for(var16 = 0; var16 < var12; ++var16) {
                     var17 = 0;

                     for(var18 = 0; var18 < var5; ++var18) {
                        var17 += var13.readInt_(1090221016);
                        if(null == var6) {
                           var19 = var18;
                        } else {
                           var19 = var6[var18];
                        }

                        if(var19 == var2) {
                           var25 += var17;
                           var15 = var19;
                        }
                     }
                  }

                  if(0 == var25) {
                     return true;
                  }

                  byte[] var27 = new byte[var25];
                  var25 = 0;
                  var13.position = var11 * 1385214721;
                  var17 = 0;

                  for(var18 = 0; var18 < var12; ++var18) {
                     var19 = 0;

                     for(int var20 = 0; var20 < var5; ++var20) {
                        var19 += var13.readInt_(453331092);
                        int var21;
                        if(var6 == null) {
                           var21 = var20;
                        } else {
                           var21 = var6[var20];
                        }

                        if(var2 == var21) {
                           System.arraycopy(var24, var17, var27, var25, var19);
                           var25 += var19;
                        }

                        var17 += var19;
                     }
                  }

                  var7[var15] = var27;
               }
            } else {
               if(null == var6) {
                  var11 = 0;
               } else {
                  var11 = var6[0];
               }

               if(this.anInt2994 * 1638712827 == 0) {
                  var7[var11] = Class225.method3869(var24, false, (byte)69);
               } else {
                  var7[var11] = var24;
               }
            }

            return true;
         }
      }
   }

   public boolean method4518(String var1, String var2) {
      if(!this.method4498((short)9069)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)83);
         if(var3 < 0) {
            return false;
         } else {
            int var4 = this.aClass333_2986.aClass105Array4197[var3].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)104);
            return var4 >= 0;
         }
      }
   }

   public int method4519(int var1, int var2) {
      if(!this.method4498((short)19938)) {
         return -1;
      } else {
         int var3 = this.aClass333_2986.aClass105_4183.method2153(var1, (byte)10);
         return !this.method4522(var3, -1777260827)?-1:var3;
      }
   }

   public synchronized int method4520() {
      if(!this.method4498((short)31800)) {
         return 0;
      } else {
         int var1 = 0;
         int var2 = 0;

         int var3;
         for(var3 = 0; var3 < this.anObjectArray2998.length; ++var3) {
            if(this.aClass333_2986.anIntArray4198[var3] > 0) {
               var1 += 100;
               var2 += this.method4510(var3, 2006354648);
            }
         }

         if(var1 == 0) {
            return 100;
         } else {
            var3 = var2 * 100 / var1;
            return var3;
         }
      }
   }

   public synchronized byte[] method4521(String var1, String var2) {
      if(!this.method4498((short)2341)) {
         return null;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)88);
         if(!this.method4522(var3, -759934523)) {
            return null;
         } else {
            int var4 = this.aClass333_2986.aClass105Array4197[var3].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)96);
            return this.method4547(var3, var4, (byte)25);
         }
      }
   }

   synchronized boolean method4522(int var1, int var2) {
      if(!this.method4498((short)26860)) {
         return false;
      } else if(var1 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && 0 != this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(Integer.toString(var1));
      } else {
         return false;
      }
   }

   synchronized void method4523(int var1) {
      if(this.aBool2987) {
         this.anObjectArray2998[var1] = this.aClass250_2995.method4465(var1, -1540976595);
      } else {
         this.anObjectArray2998[var1] = Class225.method3869(this.aClass250_2995.method4465(var1, -536345668), false, (byte)11);
      }

   }

   public boolean method4524(String var1, short var2) {
      int var3 = this.method4557("", (byte)-110);
      return var3 != -1?this.method4542("", var1, -1003844875):this.method4542(var1, "", -177516239);
   }

   public boolean method4525(String var1, int var2) {
      if(!this.method4498((short)23894)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)110);
         return var3 >= 0;
      }
   }

   public void method4526(String var1, int var2) {
      if(this.method4498((short)11565)) {
         var1 = var1.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)90);
         this.method4503(var3, (byte)-44);
      }
   }

   public int method4527(String var1, byte var2) {
      if(!this.method4498((short)22839)) {
         if(var2 != 0) {
            ;
         }

         return 0;
      } else {
         var1 = var1.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)79);
         return this.method4510(var3, 2006354648);
      }
   }

   public boolean method4528(String var1) {
      if(!this.method4498((short)16180)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)43);
         return this.method4504(var2, (byte)-3);
      }
   }

   synchronized boolean method4529() {
      if(this.aClass333_2986 == null) {
         this.aClass333_2986 = this.aClass250_2995.method4464(824484044);
         if(this.aClass333_2986 == null) {
            return false;
         }

         this.anObjectArray2998 = new Object[1038147303 * this.aClass333_2986.anInt4190];
         this.anObjectArrayArray2999 = new Object[1038147303 * this.aClass333_2986.anInt4190][];
      }

      return true;
   }

   public boolean method4530(String var1, byte var2) {
      if(!this.method4498((short)10836)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)111);
         return this.method4504(var3, (byte)-58);
      }
   }

   public int method4531() {
      if(!this.method4498((short)32535)) {
         throw new IllegalStateException("");
      } else {
         return -1337795655 * this.aClass333_2986.anInt4185;
      }
   }

   public synchronized int[] method4532(int var1) {
      if(!this.method4522(var1, -928085280)) {
         return null;
      } else {
         int[] var2 = this.aClass333_2986.anIntArrayArray4195[var1];
         if(var2 == null) {
            var2 = new int[this.aClass333_2986.anIntArray4198[var1]];

            for(int var3 = 0; var3 < var2.length; var2[var3] = var3++) {
               ;
            }
         }

         return var2;
      }
   }

   synchronized boolean method4533(int var1) {
      if(!this.method4498((short)8278)) {
         return false;
      } else if(var1 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && 0 != this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(Integer.toString(var1));
      } else {
         return false;
      }
   }

   public synchronized void method4534(int var1) {
      if(this.method4522(var1, -41346995)) {
         if(this.anObjectArrayArray2999 != null) {
            this.anObjectArrayArray2999[var1] = null;
         }

      }
   }

   synchronized boolean method4535(int var1) {
      if(!this.method4498((short)10476)) {
         return false;
      } else if(var1 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && 0 != this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(Integer.toString(var1));
      } else {
         return false;
      }
   }

   synchronized boolean method4536(int var1, int var2) {
      if(!this.method4498((short)20253)) {
         return false;
      } else if(var1 >= 0 && var2 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && var2 < this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(var1 + " " + var2);
      } else {
         return false;
      }
   }

   synchronized boolean method4537(int var1, int var2) {
      if(!this.method4498((short)21809)) {
         return false;
      } else if(var1 >= 0 && var2 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && var2 < this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(var1 + " " + var2);
      } else {
         return false;
      }
   }

   synchronized void method4538(int var1) {
      if(this.aBool2987) {
         this.anObjectArray2998[var1] = this.aClass250_2995.method4465(var1, -1649953795);
      } else {
         this.anObjectArray2998[var1] = Class225.method3869(this.aClass250_2995.method4465(var1, -1394409424), false, (byte)65);
      }

   }

   synchronized void method4539(int var1) {
      if(this.aBool2987) {
         this.anObjectArray2998[var1] = this.aClass250_2995.method4465(var1, -2095119112);
      } else {
         this.anObjectArray2998[var1] = Class225.method3869(this.aClass250_2995.method4465(var1, -521063943), false, (byte)79);
      }

   }

   synchronized void method4540(int var1) {
      if(this.aBool2987) {
         this.anObjectArray2998[var1] = this.aClass250_2995.method4465(var1, -922966506);
      } else {
         this.anObjectArray2998[var1] = Class225.method3869(this.aClass250_2995.method4465(var1, -953764508), false, (byte)11);
      }

   }

   public boolean method4541(String var1) {
      int var2 = this.method4557("", (byte)-52);
      return var2 != -1?this.method4542("", var1, -1203474935):this.method4542(var1, "", -1269834515);
   }

   boolean method4542(String var1, String var2, int var3) {
      if(!this.method4498((short)17848)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var4 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)100);
         if(!this.method4522(var4, -976258812)) {
            return false;
         } else {
            int var5 = this.aClass333_2986.aClass105Array4197[var4].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)62);
            return this.method4506(var4, var5, (byte)-63);
         }
      }
   }

   public byte[] method4543(int var1, int var2) {
      return this.method4505(var1, var2, (int[])null, (byte)-106);
   }

   public synchronized boolean method4544() {
      if(!this.method4498((short)15928)) {
         return false;
      } else {
         boolean var1 = true;

         for(int var2 = 0; var2 < this.aClass333_2986.anIntArray4187.length; ++var2) {
            int var3 = this.aClass333_2986.anIntArray4187[var2];
            if(null == this.anObjectArray2998[var3]) {
               this.method4502(var3, 1600260205);
               if(null == this.anObjectArray2998[var3]) {
                  var1 = false;
               }
            }
         }

         return var1;
      }
   }

   public synchronized byte[] method4545(int var1, int var2, int[] var3) {
      if(!this.method4501(var1, var2, (short)-11019)) {
         return null;
      } else {
         byte[] var4 = null;
         if(this.anObjectArrayArray2999[var1] == null || this.anObjectArrayArray2999[var1][var2] == null) {
            boolean var5 = this.method4517(var1, var2, var3, (byte)-11);
            if(!var5) {
               this.method4502(var1, 1020418359);
               var5 = this.method4517(var1, var2, var3, (byte)-73);
               if(!var5) {
                  return null;
               }
            }
         }

         if(this.anObjectArrayArray2999[var1] == null) {
            throw new RuntimeException("");
         } else {
            if(this.anObjectArrayArray2999[var1][var2] != null) {
               var4 = Class120.method2333(this.anObjectArrayArray2999[var1][var2], false, 1419674605);
               if(null == var4) {
                  throw new RuntimeException("");
               }
            }

            if(null != var4) {
               if(1 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1][var2] = null;
                  if(1 == this.aClass333_2986.anIntArray4193[var1]) {
                     this.anObjectArrayArray2999[var1] = null;
                  }
               } else if(2 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1] = null;
               }
            }

            return var4;
         }
      }
   }

   public void method4546(boolean var1, boolean var2) {
      if(this.method4498((short)1174)) {
         if(var1) {
            this.aClass333_2986.anIntArray4188 = null;
            this.aClass333_2986.aClass105_4183 = null;
         }

         if(var2) {
            this.aClass333_2986.anIntArrayArray4196 = (int[][])null;
            this.aClass333_2986.aClass105Array4197 = null;
         }

      }
   }

   public byte[] method4547(int var1, int var2, byte var3) {
      return this.method4505(var1, var2, (int[])null, (byte)-13);
   }

   public boolean method4548(String var1, String var2, byte var3) {
      if(!this.method4498((short)14699)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var4 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)101);
         if(var4 < 0) {
            return false;
         } else {
            int var5 = this.aClass333_2986.aClass105Array4197[var4].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)115);
            return var5 >= 0;
         }
      }
   }

   public synchronized boolean method4549(int var1) {
      if(!this.method4522(var1, -1951634965)) {
         return false;
      } else if(this.anObjectArray2998[var1] != null) {
         return true;
      } else {
         this.method4502(var1, 1350447777);
         return this.anObjectArray2998[var1] != null;
      }
   }

   public synchronized boolean method4550(int var1) {
      if(!this.method4522(var1, -81566386)) {
         return false;
      } else if(this.anObjectArray2998[var1] != null) {
         return true;
      } else {
         this.method4502(var1, 1021379891);
         return this.anObjectArray2998[var1] != null;
      }
   }

   synchronized boolean method4551(int var1, int var2, int[] var3) {
      if(!this.method4522(var1, -1195062072)) {
         return false;
      } else if(null == this.anObjectArray2998[var1]) {
         return false;
      } else {
         int var4 = this.aClass333_2986.anIntArray4198[var1];
         int[] var5 = this.aClass333_2986.anIntArrayArray4195[var1];
         if(null == this.anObjectArrayArray2999[var1]) {
            this.anObjectArrayArray2999[var1] = new Object[this.aClass333_2986.anIntArray4193[var1]];
         }

         Object[] var6 = this.anObjectArrayArray2999[var1];
         boolean var7 = true;

         for(int var8 = 0; var8 < var4; ++var8) {
            int var9;
            if(var5 == null) {
               var9 = var8;
            } else {
               var9 = var5[var8];
            }

            if(var6[var9] == null) {
               var7 = false;
               break;
            }
         }

         if(var7) {
            return true;
         } else {
            byte[] var21;
            if(null != var3 && (0 != var3[0] || var3[1] != 0 || 0 != var3[2] || var3[3] != 0)) {
               var21 = Class120.method2333(this.anObjectArray2998[var1], true, -623069332);
               RS2Buffer var22 = new RS2Buffer(var21);
               var22.method13746(var3, 5, var22.buffer.length, (byte)100);
            } else {
               var21 = Class120.method2333(this.anObjectArray2998[var1], false, 1123489977);
            }

            byte[] var23 = Class49.method1194(var21, 1755144141);
            if(this.aBool2987) {
               this.anObjectArray2998[var1] = null;
            }

            int var10;
            if(var4 > 1) {
               int var11;
               RS2Buffer var12;
               int var14;
               int var15;
               int var17;
               int var16;
               int var18;
               if(2 != this.anInt2994 * 1638712827) {
                  var10 = var23.length;
                  --var10;
                  var11 = var23[var10] & 255;
                  var10 -= var11 * var4 * 4;
                  var12 = new RS2Buffer(var23);
                  int[] var13 = new int[var4];
                  var12.position = 1385214721 * var10;

                  for(var14 = 0; var14 < var11; ++var14) {
                     var15 = 0;

                     for(var16 = 0; var16 < var4; ++var16) {
                        var15 += var12.readInt_(1305961601);
                        var13[var16] += var15;
                     }
                  }

                  byte[][] var25 = new byte[var4][];

                  for(var15 = 0; var15 < var4; ++var15) {
                     var25[var15] = new byte[var13[var15]];
                     var13[var15] = 0;
                  }

                  var12.position = var10 * 1385214721;
                  var15 = 0;

                  for(var16 = 0; var16 < var11; ++var16) {
                     var17 = 0;

                     for(var18 = 0; var18 < var4; ++var18) {
                        var17 += var12.readInt_(-713364766);
                        System.arraycopy(var23, var15, var25[var18], var13[var18], var17);
                        var13[var18] += var17;
                        var15 += var17;
                     }
                  }

                  for(var16 = 0; var16 < var4; ++var16) {
                     if(var5 == null) {
                        var17 = var16;
                     } else {
                        var17 = var5[var16];
                     }

                     if(0 == 1638712827 * this.anInt2994) {
                        var6[var17] = Class225.method3869(var25[var16], false, (byte)34);
                     } else {
                        var6[var17] = var25[var16];
                     }
                  }
               } else {
                  var10 = var23.length;
                  --var10;
                  var11 = var23[var10] & 255;
                  var10 -= 4 * var11 * var4;
                  var12 = new RS2Buffer(var23);
                  int var24 = 0;
                  var14 = 0;
                  var12.position = 1385214721 * var10;

                  for(var15 = 0; var15 < var11; ++var15) {
                     var16 = 0;

                     for(var17 = 0; var17 < var4; ++var17) {
                        var16 += var12.readInt_(-1654595213);
                        if(null == var5) {
                           var18 = var17;
                        } else {
                           var18 = var5[var17];
                        }

                        if(var18 == var2) {
                           var24 += var16;
                           var14 = var18;
                        }
                     }
                  }

                  if(0 == var24) {
                     return true;
                  }

                  byte[] var26 = new byte[var24];
                  var24 = 0;
                  var12.position = var10 * 1385214721;
                  var16 = 0;

                  for(var17 = 0; var17 < var11; ++var17) {
                     var18 = 0;

                     for(int var19 = 0; var19 < var4; ++var19) {
                        var18 += var12.readInt_(-877008028);
                        int var20;
                        if(var5 == null) {
                           var20 = var19;
                        } else {
                           var20 = var5[var19];
                        }

                        if(var2 == var20) {
                           System.arraycopy(var23, var16, var26, var24, var18);
                           var24 += var18;
                        }

                        var16 += var18;
                     }
                  }

                  var6[var14] = var26;
               }
            } else {
               if(null == var5) {
                  var10 = 0;
               } else {
                  var10 = var5[0];
               }

               if(this.anInt2994 * 1638712827 == 0) {
                  var6[var10] = Class225.method3869(var23, false, (byte)27);
               } else {
                  var6[var10] = var23;
               }
            }

            return true;
         }
      }
   }

   public synchronized boolean method4552() {
      if(!this.method4498((short)29442)) {
         return false;
      } else {
         boolean var1 = true;

         for(int var2 = 0; var2 < this.aClass333_2986.anIntArray4187.length; ++var2) {
            int var3 = this.aClass333_2986.anIntArray4187[var2];
            if(null == this.anObjectArray2998[var3]) {
               this.method4502(var3, 761654872);
               if(null == this.anObjectArray2998[var3]) {
                  var1 = false;
               }
            }
         }

         return var1;
      }
   }

   public synchronized int method4553() {
      if(!this.method4498((short)27576)) {
         return 0;
      } else {
         int var1 = 0;
         int var2 = 0;

         int var3;
         for(var3 = 0; var3 < this.anObjectArray2998.length; ++var3) {
            if(this.aClass333_2986.anIntArray4198[var3] > 0) {
               var1 += 100;
               var2 += this.method4510(var3, 2006354648);
            }
         }

         if(var1 == 0) {
            return 100;
         } else {
            var3 = var2 * 100 / var1;
            return var3;
         }
      }
   }

   public int method4554(int var1) {
      if(!this.method4498((short)13591)) {
         return -1;
      } else {
         int var2 = this.aClass333_2986.aClass105_4183.method2153(var1, (byte)32);
         return !this.method4522(var2, -1755650634)?-1:var2;
      }
   }

   public boolean method4555(String var1, String var2) {
      if(!this.method4498((short)31919)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)60);
         if(var3 < 0) {
            return false;
         } else {
            int var4 = this.aClass333_2986.aClass105Array4197[var3].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)88);
            return var4 >= 0;
         }
      }
   }

   public int method4556(int var1) {
      return !this.method4522(var1, -1348738914)?0:this.aClass333_2986.anIntArray4193[var1];
   }

   public int method4557(String var1, byte var2) {
      if(!this.method4498((short)29410)) {
         return -1;
      } else {
         var1 = var1.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)97);
         return !this.method4522(var3, -1294488673)?-1:var3;
      }
   }

   public synchronized void method4558(int var1) {
      if(this.method4522(var1, -107763351)) {
         if(this.anObjectArrayArray2999 != null) {
            this.anObjectArrayArray2999[var1] = null;
         }

      }
   }

   public byte[] method4559(int var1, int var2) {
      return this.method4505(var1, var2, (int[])null, (byte)-66);
   }

   public void method4560(boolean var1, boolean var2) {
      if(this.method4498((short)32722)) {
         if(var1) {
            this.aClass333_2986.anIntArray4188 = null;
            this.aClass333_2986.aClass105_4183 = null;
         }

         if(var2) {
            this.aClass333_2986.anIntArrayArray4196 = (int[][])null;
            this.aClass333_2986.aClass105Array4197 = null;
         }

      }
   }

   public int method4561(String var1) {
      if(!this.method4498((short)9904)) {
         return 0;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)75);
         return this.method4510(var2, 2006354648);
      }
   }

   public void method4562(boolean var1, boolean var2) {
      if(this.method4498((short)20218)) {
         if(var1) {
            this.aClass333_2986.anIntArray4188 = null;
            this.aClass333_2986.aClass105_4183 = null;
         }

         if(var2) {
            this.aClass333_2986.anIntArrayArray4196 = (int[][])null;
            this.aClass333_2986.aClass105Array4197 = null;
         }

      }
   }

   synchronized boolean method4563(int var1, int var2, int[] var3) {
      if(!this.method4522(var1, -2100321556)) {
         return false;
      } else if(null == this.anObjectArray2998[var1]) {
         return false;
      } else {
         int var4 = this.aClass333_2986.anIntArray4198[var1];
         int[] var5 = this.aClass333_2986.anIntArrayArray4195[var1];
         if(null == this.anObjectArrayArray2999[var1]) {
            this.anObjectArrayArray2999[var1] = new Object[this.aClass333_2986.anIntArray4193[var1]];
         }

         Object[] var6 = this.anObjectArrayArray2999[var1];
         boolean var7 = true;

         for(int var8 = 0; var8 < var4; ++var8) {
            int var9;
            if(var5 == null) {
               var9 = var8;
            } else {
               var9 = var5[var8];
            }

            if(var6[var9] == null) {
               var7 = false;
               break;
            }
         }

         if(var7) {
            return true;
         } else {
            byte[] var21;
            if(null != var3 && (0 != var3[0] || var3[1] != 0 || 0 != var3[2] || var3[3] != 0)) {
               var21 = Class120.method2333(this.anObjectArray2998[var1], true, -1206835097);
               RS2Buffer var22 = new RS2Buffer(var21);
               var22.method13746(var3, 5, var22.buffer.length, (byte)55);
            } else {
               var21 = Class120.method2333(this.anObjectArray2998[var1], false, -835091007);
            }

            byte[] var23 = Class49.method1194(var21, 2073457846);
            if(this.aBool2987) {
               this.anObjectArray2998[var1] = null;
            }

            int var10;
            if(var4 > 1) {
               int var11;
               RS2Buffer var12;
               int var14;
               int var15;
               int var17;
               int var16;
               int var18;
               if(2 != this.anInt2994 * 1638712827) {
                  var10 = var23.length;
                  --var10;
                  var11 = var23[var10] & 255;
                  var10 -= var11 * var4 * 4;
                  var12 = new RS2Buffer(var23);
                  int[] var13 = new int[var4];
                  var12.position = 1385214721 * var10;

                  for(var14 = 0; var14 < var11; ++var14) {
                     var15 = 0;

                     for(var16 = 0; var16 < var4; ++var16) {
                        var15 += var12.readInt_(-727940978);
                        var13[var16] += var15;
                     }
                  }

                  byte[][] var25 = new byte[var4][];

                  for(var15 = 0; var15 < var4; ++var15) {
                     var25[var15] = new byte[var13[var15]];
                     var13[var15] = 0;
                  }

                  var12.position = var10 * 1385214721;
                  var15 = 0;

                  for(var16 = 0; var16 < var11; ++var16) {
                     var17 = 0;

                     for(var18 = 0; var18 < var4; ++var18) {
                        var17 += var12.readInt_(-294303756);
                        System.arraycopy(var23, var15, var25[var18], var13[var18], var17);
                        var13[var18] += var17;
                        var15 += var17;
                     }
                  }

                  for(var16 = 0; var16 < var4; ++var16) {
                     if(var5 == null) {
                        var17 = var16;
                     } else {
                        var17 = var5[var16];
                     }

                     if(0 == 1638712827 * this.anInt2994) {
                        var6[var17] = Class225.method3869(var25[var16], false, (byte)70);
                     } else {
                        var6[var17] = var25[var16];
                     }
                  }
               } else {
                  var10 = var23.length;
                  --var10;
                  var11 = var23[var10] & 255;
                  var10 -= 4 * var11 * var4;
                  var12 = new RS2Buffer(var23);
                  int var24 = 0;
                  var14 = 0;
                  var12.position = 1385214721 * var10;

                  for(var15 = 0; var15 < var11; ++var15) {
                     var16 = 0;

                     for(var17 = 0; var17 < var4; ++var17) {
                        var16 += var12.readInt_(-794621216);
                        if(null == var5) {
                           var18 = var17;
                        } else {
                           var18 = var5[var17];
                        }

                        if(var18 == var2) {
                           var24 += var16;
                           var14 = var18;
                        }
                     }
                  }

                  if(0 == var24) {
                     return true;
                  }

                  byte[] var26 = new byte[var24];
                  var24 = 0;
                  var12.position = var10 * 1385214721;
                  var16 = 0;

                  for(var17 = 0; var17 < var11; ++var17) {
                     var18 = 0;

                     for(int var19 = 0; var19 < var4; ++var19) {
                        var18 += var12.readInt_(714952945);
                        int var20;
                        if(var5 == null) {
                           var20 = var19;
                        } else {
                           var20 = var5[var19];
                        }

                        if(var2 == var20) {
                           System.arraycopy(var23, var16, var26, var24, var18);
                           var24 += var18;
                        }

                        var16 += var18;
                     }
                  }

                  var6[var14] = var26;
               }
            } else {
               if(null == var5) {
                  var10 = 0;
               } else {
                  var10 = var5[0];
               }

               if(this.anInt2994 * 1638712827 == 0) {
                  var6[var10] = Class225.method3869(var23, false, (byte)45);
               } else {
                  var6[var10] = var23;
               }
            }

            return true;
         }
      }
   }

   void method4564(int var1) {
      this.aClass250_2995.method4463(var1, (byte)-67);
   }

   public int method4565(String var1) {
      if(!this.method4498((short)22217)) {
         return -1;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)28);
         return !this.method4522(var2, -1431562558)?-1:var2;
      }
   }

   public int method4566(String var1) {
      if(!this.method4498((short)20518)) {
         return -1;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)12);
         return !this.method4522(var2, -1759615321)?-1:var2;
      }
   }

   synchronized boolean method4567(int var1) {
      if(!this.method4498((short)11849)) {
         return false;
      } else if(var1 >= 0 && var1 < this.aClass333_2986.anIntArray4193.length && 0 != this.aClass333_2986.anIntArray4193[var1]) {
         return true;
      } else if(aBool2996) {
         throw new IllegalArgumentException(Integer.toString(var1));
      } else {
         return false;
      }
   }

   public int method4568(String var1) {
      if(!this.method4498((short)10800)) {
         return 0;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)47);
         return this.method4510(var2, 2006354648);
      }
   }

   public boolean method4569(String var1) {
      if(!this.method4498((short)14489)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)105);
         return var2 >= 0;
      }
   }

   public boolean method4570(String var1) {
      if(!this.method4498((short)10796)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)76);
         return var2 >= 0;
      }
   }

   public boolean method4571(String var1) {
      if(!this.method4498((short)26952)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)47);
         return var2 >= 0;
      }
   }

   public int method4572() {
      return !this.method4498((short)21654)?-1:this.aClass333_2986.anIntArray4193.length;
   }

   public synchronized byte[] method4573(String var1, String var2, byte var3) {
      if(!this.method4498((short)7385)) {
         return null;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var4 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)45);
         if(!this.method4522(var4, -1116292529)) {
            return null;
         } else {
            int var5 = this.aClass333_2986.aClass105Array4197[var4].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)6);
            return this.method4547(var4, var5, (byte)-59);
         }
      }
   }

   public Class253(Class250 var1, boolean var2, int var3) {
      if(var3 >= 0 && var3 <= 2) {
         this.aClass250_2995 = var1;
         this.aBool2987 = var2;
         this.anInt2994 = -362054349 * var3;
      } else {
         throw new IllegalArgumentException("");
      }
   }

   public synchronized byte[] method4574(String var1, String var2) {
      if(!this.method4498((short)9202)) {
         return null;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)77);
         if(!this.method4522(var3, -1081822364)) {
            return null;
         } else {
            int var4 = this.aClass333_2986.aClass105Array4197[var3].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)78);
            return this.method4547(var3, var4, (byte)-33);
         }
      }
   }

   boolean method4575(String var1, String var2) {
      if(!this.method4498((short)22786)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         var2 = var2.toLowerCase();
         int var3 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)79);
         if(!this.method4522(var3, -1762205256)) {
            return false;
         } else {
            int var4 = this.aClass333_2986.aClass105Array4197[var3].method2153(Class151_Sub2_Sub3.method15841(var2, 459426302), (byte)94);
            return this.method4506(var3, var4, (byte)26);
         }
      }
   }

   public boolean method4576(String var1) {
      if(!this.method4498((short)22559)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)97);
         return var2 >= 0;
      }
   }

   public boolean method4577(String var1) {
      int var2 = this.method4557("", (byte)-45);
      return var2 != -1?this.method4542("", var1, -853349567):this.method4542(var1, "", 66643221);
   }

   public boolean method4578(String var1) {
      int var2 = this.method4557("", (byte)-65);
      return var2 != -1?this.method4542("", var1, -744262367):this.method4542(var1, "", 798067979);
   }

   public synchronized boolean method4579(int var1, int var2) {
      if(!this.method4501(var1, var2, (short)-635)) {
         return false;
      } else if(null != this.anObjectArrayArray2999[var1] && this.anObjectArrayArray2999[var1][var2] != null) {
         return true;
      } else if(null != this.anObjectArray2998[var1]) {
         return true;
      } else {
         this.method4502(var1, -589727488);
         return this.anObjectArray2998[var1] != null;
      }
   }

   public boolean method4580(String var1) {
      if(!this.method4498((short)15497)) {
         return false;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)25);
         return this.method4504(var2, (byte)-48);
      }
   }

   public void method4581(String var1) {
      if(this.method4498((short)7673)) {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)58);
         this.method4503(var2, (byte)-109);
      }
   }

   public void method4582(String var1) {
      if(this.method4498((short)12850)) {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)22);
         this.method4503(var2, (byte)-28);
      }
   }

   public void method4583(String var1) {
      if(this.method4498((short)16518)) {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)78);
         this.method4503(var2, (byte)-60);
      }
   }

   public synchronized void method4584(int var1, byte var2) {
      if(this.method4522(var1, -57969059)) {
         if(this.anObjectArrayArray2999 != null) {
            this.anObjectArrayArray2999[var1] = null;
         }

      }
   }

   synchronized boolean method4585() {
      if(this.aClass333_2986 == null) {
         this.aClass333_2986 = this.aClass250_2995.method4464(770271992);
         if(this.aClass333_2986 == null) {
            return false;
         }

         this.anObjectArray2998 = new Object[1038147303 * this.aClass333_2986.anInt4190];
         this.anObjectArrayArray2999 = new Object[1038147303 * this.aClass333_2986.anInt4190][];
      }

      return true;
   }

   public synchronized boolean method4586(int var1, int var2) {
      if(!this.method4501(var1, var2, (short)20355)) {
         return false;
      } else if(null != this.anObjectArrayArray2999[var1] && this.anObjectArrayArray2999[var1][var2] != null) {
         return true;
      } else if(null != this.anObjectArray2998[var1]) {
         return true;
      } else {
         this.method4502(var1, 2062446038);
         return this.anObjectArray2998[var1] != null;
      }
   }

   public int method4587(String var1) {
      if(!this.method4498((short)5333)) {
         return 0;
      } else {
         var1 = var1.toLowerCase();
         int var2 = this.aClass333_2986.aClass105_4183.method2153(Class151_Sub2_Sub3.method15841(var1, 459426302), (byte)65);
         return this.method4510(var2, 2006354648);
      }
   }

   static final byte[] method4588(byte[] var0) {
      RS2Buffer var1 = new RS2Buffer(var0);
      int var2 = var1.readUnsignedByte(-700559597);
      int var3 = var1.readInt_(-1954646257);
      if(var3 >= 0 && (-1343155703 * anInt2997 == 0 || var3 <= -1343155703 * anInt2997)) {
         if(0 == var2) {
            byte[] var9 = new byte[var3];
            var1.method13737(var9, 0, var3, 1385214721);
            return var9;
         } else {
            int var4 = var1.readInt_(556589601);
            if(var4 >= 0 && (-1343155703 * anInt2997 == 0 || var4 <= anInt2997 * -1343155703)) {
               byte[] var5 = new byte[var4];
               if(var2 == 1) {
                  Class476.method7961(var5, var4, var0, var3, 9);
               } else {
                  Class390 var6 = aClass390_2989;
                  synchronized(var6) {
                     aClass390_2989.method6695(var1, var5, -1416821640);
                  }
               }

               return var5;
            } else {
               throw new RuntimeException();
            }
         }
      } else {
         throw new RuntimeException();
      }
   }

   static final byte[] method4589(byte[] var0) {
      RS2Buffer var1 = new RS2Buffer(var0);
      int var2 = var1.readUnsignedByte(-700559597);
      int var3 = var1.readInt_(997353183);
      if(var3 >= 0 && (-1343155703 * anInt2997 == 0 || var3 <= -1343155703 * anInt2997)) {
         if(0 == var2) {
            byte[] var9 = new byte[var3];
            var1.method13737(var9, 0, var3, 1385214721);
            return var9;
         } else {
            int var4 = var1.readInt_(-874399017);
            if(var4 >= 0 && (-1343155703 * anInt2997 == 0 || var4 <= anInt2997 * -1343155703)) {
               byte[] var5 = new byte[var4];
               if(var2 == 1) {
                  Class476.method7961(var5, var4, var0, var3, 9);
               } else {
                  Class390 var6 = aClass390_2989;
                  synchronized(var6) {
                     aClass390_2989.method6695(var1, var5, 1298244124);
                  }
               }

               return var5;
            } else {
               throw new RuntimeException();
            }
         }
      } else {
         throw new RuntimeException();
      }
   }

   static final byte[] method4590(byte[] var0) {
      RS2Buffer var1 = new RS2Buffer(var0);
      int var2 = var1.readUnsignedByte(-700559597);
      int var3 = var1.readInt_(156304007);
      if(var3 >= 0 && (-1343155703 * anInt2997 == 0 || var3 <= -1343155703 * anInt2997)) {
         if(0 == var2) {
            byte[] var9 = new byte[var3];
            var1.method13737(var9, 0, var3, 1385214721);
            return var9;
         } else {
            int var4 = var1.readInt_(-1094834083);
            if(var4 >= 0 && (-1343155703 * anInt2997 == 0 || var4 <= anInt2997 * -1343155703)) {
               byte[] var5 = new byte[var4];
               if(var2 == 1) {
                  Class476.method7961(var5, var4, var0, var3, 9);
               } else {
                  Class390 var6 = aClass390_2989;
                  synchronized(var6) {
                     aClass390_2989.method6695(var1, var5, -1569753856);
                  }
               }

               return var5;
            } else {
               throw new RuntimeException();
            }
         }
      } else {
         throw new RuntimeException();
      }
   }

   public synchronized byte[] method4591(int var1, int var2, int[] var3) {
      if(!this.method4501(var1, var2, (short)-18063)) {
         return null;
      } else {
         byte[] var4 = null;
         if(this.anObjectArrayArray2999[var1] == null || this.anObjectArrayArray2999[var1][var2] == null) {
            boolean var5 = this.method4517(var1, var2, var3, (byte)-27);
            if(!var5) {
               this.method4502(var1, 2042186275);
               var5 = this.method4517(var1, var2, var3, (byte)-48);
               if(!var5) {
                  return null;
               }
            }
         }

         if(this.anObjectArrayArray2999[var1] == null) {
            throw new RuntimeException("");
         } else {
            if(this.anObjectArrayArray2999[var1][var2] != null) {
               var4 = Class120.method2333(this.anObjectArrayArray2999[var1][var2], false, -1052998504);
               if(null == var4) {
                  throw new RuntimeException("");
               }
            }

            if(null != var4) {
               if(1 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1][var2] = null;
                  if(1 == this.aClass333_2986.anIntArray4193[var1]) {
                     this.anObjectArrayArray2999[var1] = null;
                  }
               } else if(2 == this.anInt2994 * 1638712827) {
                  this.anObjectArrayArray2999[var1] = null;
               }
            }

            return var4;
         }
      }
   }

   static Class560[] method4592(int var0) {
      return new Class560[]{Class560.aClass560_7478, Class560.aClass560_7480, Class560.aClass560_7479};
   }

   static final void method4593(Class508 var0, short var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      String var3 = (String)var0.anObjectArray6004[(var0.anInt6005 -= -46848683) * 639741949];
      if(-1 == var2) {
         throw new RuntimeException();
      } else {
         Class450 var4 = Class470.aClass429_5785.method7285(var2, -281256263);
         if(115 != var4.aChar5635) {
            throw new RuntimeException();
         } else {
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var4.method7527(var3, 755096508)?1:0;
         }
      }
   }

   static final void method4594(Class508 var0, byte var1) {
      var0.anInt6003 -= 294937419;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      int var3 = var0.anIntArray6027[1 + var0.anInt6003 * -937710807];
      int var4 = var0.anIntArray6027[var0.anInt6003 * -937710807 + 2];
      String var5 = (String)var0.anObjectArray6004[(var0.anInt6005 -= -46848683) * 639741949];
      if(-1 == var3) {
         throw new RuntimeException();
      } else {
         Class450 var6 = Class470.aClass429_5785.method7285(var3, -281256263);
         if(var2 != var6.aChar5640) {
            throw new RuntimeException();
         } else if(115 != var6.aChar5635) {
            throw new RuntimeException();
         } else {
            int[] var7 = var6.method7525(var5, (byte)90);
            if(var4 >= 0 && var7 != null && var7.length > var4) {
               var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var7[var4];
            } else {
               throw new RuntimeException();
            }
         }
      }
   }

   public static void method4595(String var0, boolean var1, int var2, String var3, int var4) {
      Class293.method5311(var0, var1, var2, -1, var3, true, (byte)88);
   }

   static final void method4596(long var0) {
      int var2 = -1963101035 * client.anInt7947;
      int var3 = 1434877845 * client.anInt7748;
      int var4;
      int var5;
      if(var2 != Class224.anInt2605 * 1230511155) {
         var4 = var2 - 1230511155 * Class224.anInt2605;
         var5 = (int)(var0 * (long)var4 / 320L);
         if(var4 > 0) {
            if(var5 == 0) {
               var5 = 1;
            } else if(var5 > var4) {
               var5 = var4;
            }
         } else if(var5 == 0) {
            var5 = -1;
         } else if(var5 < var4) {
            var5 = var4;
         }

         Class224.anInt2605 += 2031632123 * var5;
      }

      if(var3 != 1373106371 * Class522.anInt7145) {
         var4 = var3 - Class522.anInt7145 * 1373106371;
         var5 = (int)(var0 * (long)var4 / 320L);
         if(var4 > 0) {
            if(var5 == 0) {
               var5 = 1;
            } else if(var5 > var4) {
               var5 = var4;
            }
         } else if(var5 == 0) {
            var5 = -1;
         } else if(var5 < var4) {
            var5 = var4;
         }

         Class522.anInt7145 += var5 * 855785451;
      }

      client.aFloat7750 += client.aFloat7785 * (float)var0 / 40.0F * 8.0F;
      client.aFloat7749 += 8.0F * ((float)var0 * client.aFloat7747 / 40.0F);
      Class424.method7250(-1246925432);
   }

   static final void method4597(Class508 var0, int var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 1460564215 * Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.anInt10863;
   }
}
