
public class Class512 {

   public int anInt6044 = 407840567;
   int[] anIntArray6045;
   public String aString6046;
   int[][] anIntArrayArray6047;
   public int anInt6048 = 0;
   Class511 aClass511_6049;
   public int anInt6050;
   public int anInt6051 = 0;
   public int anInt6052;
   public boolean aBool6053 = false;
   public int[] anIntArray6054;
   public int[][] anIntArrayArray6055;
   int[] anIntArray6056;
   public int[] anIntArray6057;
   int[] anIntArray6058;
   int[] anIntArray6059;
   public String[] aStringArray6060;
   public int[] anIntArray6061;
   int[] anIntArray6062;
   public String aString6063;
   public String[] aStringArray6064;
   Class423 aClass423_6065;
   int[][] anIntArrayArray6066;


   public boolean method10852(Interface12 var1, byte var2) {
      return this.aClass511_6049.method10844(var1, (byte)-71) >= 1021005299 * this.anInt6050;
   }

   void method10853(RS2Buffer var1, int var2) {
      while(true) {
         int var3 = var1.readUnsignedByte(-700559597);
         if(0 == var3) {
            if(var2 != -369086663) {
               ;
            }

            return;
         }

         this.method10854(var1, var3, (byte)-19);
      }
   }

   void method10854(RS2Buffer var1, int var2, byte var3) {
      if(var2 == 1) {
         this.aString6063 = var1.method13927((short)-24451);
      } else if(2 == var2) {
         this.aString6046 = var1.method13927((short)-1239);
      } else {
         int var4;
         int var5;
         if(var2 == 3) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6047 = new int[var4][3];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArrayArray6047[var5][0] = var1.readUnsignedShort(-937710807);
               this.anIntArrayArray6047[var5][1] = var1.readInt_(815284977);
               this.anIntArrayArray6047[var5][2] = var1.readInt_(-669684569);
            }
         } else if(4 == var2) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6066 = new int[var4][3];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArrayArray6066[var5][0] = var1.readUnsignedShort(-937710807);
               this.anIntArrayArray6066[var5][1] = var1.readInt_(772066380);
               this.anIntArrayArray6066[var5][2] = var1.readInt_(-2031398674);
            }
         } else if(var2 == 5) {
            var1.readUnsignedShort(-937710807);
         } else if(var2 == 6) {
            this.anInt6048 = var1.readUnsignedByte(-700559597) * -943056063;
         } else if(var2 == 7) {
            this.anInt6051 = var1.readUnsignedByte(-700559597) * -1193309267;
         } else if(8 == var2) {
            this.aBool6053 = true;
         } else if(9 == var2) {
            this.anInt6052 = var1.readUnsignedByte(-700559597) * 1667654473;
         } else if(var2 == 10) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArray6056 = new int[var4];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArray6056[var5] = var1.readInt_(-337626461);
            }
         } else if(12 == var2) {
            var1.readInt_(1550676721);
         } else if(var2 == 13) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArray6054 = new int[var4];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArray6054[var5] = var1.readUnsignedShort(-937710807);
            }
         } else if(var2 == 14) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6055 = new int[var4][2];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArrayArray6055[var5][0] = var1.readUnsignedByte(-700559597);
               this.anIntArrayArray6055[var5][1] = var1.readUnsignedByte(-700559597);
            }
         } else if(var2 == 15) {
            this.anInt6050 = var1.readUnsignedShort(-937710807) * -240905413;
         } else if(var2 == 17) {
            this.anInt6044 = var1.readLargeSmart(1584258897) * -407840567;
         } else if(var2 == 18) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArray6057 = new int[var4];
            this.anIntArray6058 = new int[var4];
            this.anIntArray6059 = new int[var4];
            this.aStringArray6060 = new String[var4];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArray6057[var5] = var1.readInt_(732036349);
               this.anIntArray6058[var5] = var1.readInt_(-408035418);
               this.anIntArray6059[var5] = var1.readInt_(-205440699);
               this.aStringArray6060[var5] = var1.readString((byte)19);
            }
         } else if(19 == var2) {
            var4 = var1.readUnsignedByte(-700559597);
            this.anIntArray6061 = new int[var4];
            this.anIntArray6062 = new int[var4];
            this.anIntArray6045 = new int[var4];
            this.aStringArray6064 = new String[var4];

            for(var5 = 0; var5 < var4; ++var5) {
               this.anIntArray6061[var5] = var1.readInt_(-418210882);
               this.anIntArray6062[var5] = var1.readInt_(1274817139);
               this.anIntArray6045[var5] = var1.readInt_(-1776532497);
               this.aStringArray6064[var5] = var1.readString((byte)20);
            }
         } else if(249 == var2) {
            var4 = var1.readUnsignedByte(-700559597);
            if(null == this.aClass423_6065) {
               var5 = Class468.method7880(var4, (byte)-101);
               this.aClass423_6065 = new Class423(var5);
            }

            for(var5 = 0; var5 < var4; ++var5) {
               boolean var6 = var1.readUnsignedByte(-700559597) == 1;
               int var7 = var1.readTriByte(1061247608);
               Object var8;
               if(var6) {
                  var8 = new ObjectVar(var1.readString((byte)-42));
               } else {
                  var8 = new IntVar(var1.readInt_(-1728077643));
               }

               this.aClass423_6065.method7206((Class225)var8, (long)var7);
            }
         }
      }

   }

   void method10855(byte var1) {
      if(null == this.aString6046) {
         this.aString6046 = this.aString6063;
      }

   }

   public int method10856(int var1, int var2, byte var3) {
      if(null == this.aClass423_6065) {
         return var2;
      } else {
         IntVar var4 = (IntVar)this.aClass423_6065.method7211((long)var1);
         return var4 == null?var2:442885445 * var4.integer;
      }
   }

   public String method10857(int var1, String var2, byte var3) {
      if(null == this.aClass423_6065) {
         return var2;
      } else {
         ObjectVar var4 = (ObjectVar)this.aClass423_6065.method7211((long)var1);
         return var4 == null?var2:(String)var4.object;
      }
   }

   public boolean method10858(Interface12 var1, byte var2) {
      if(this.aClass511_6049.method10844(var1, (byte)-106) < 1021005299 * this.anInt6050) {
         return false;
      } else {
         int var3;
         if(null != this.anIntArrayArray6055) {
            for(var3 = 0; var3 < this.anIntArrayArray6055.length; ++var3) {
               if(((Interface53)var1).method278(this.anIntArrayArray6055[var3][0], 1738206007) < this.anIntArrayArray6055[var3][1]) {
                  return false;
               }
            }
         }

         if(null != this.anIntArray6054) {
            for(var3 = 0; var3 < this.anIntArray6054.length; ++var3) {
               if(!this.aClass511_6049.method10849(this.anIntArray6054[var3], -91954675).method10859(var1, -823586638)) {
                  return false;
               }
            }
         }

         int var5;
         if(null != this.anIntArray6057) {
            for(var3 = 0; var3 < this.anIntArray6057.length; ++var3) {
               Class169 var4 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var3], (byte)-88);
               var5 = var1.method50(var4, 599909290);
               if(var5 < this.anIntArray6058[var3] || var5 > this.anIntArray6059[var3]) {
                  return false;
               }
            }
         }

         if(this.anIntArray6061 != null) {
            for(var3 = 0; var3 < this.anIntArray6061.length; ++var3) {
               Class295 var6 = ((Interface13)var1).method52(this.anIntArray6061[var3], 2000090104);
               var5 = var1.method49(var6, (byte)-49);
               if(var5 < this.anIntArray6062[var3] || var5 > this.anIntArray6045[var3]) {
                  return false;
               }
            }
         }

         return true;
      }
   }

   public boolean method10859(Interface12 var1, int var2) {
      int var3;
      if(null != this.anIntArrayArray6047) {
         for(var3 = 0; var3 < this.anIntArrayArray6047.length; ++var3) {
            Class169 var4 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var3][0], (byte)-91);
            if(var1.method50(var4, 270533727) >= this.anIntArrayArray6047[var3][2]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var3 = 0; var3 < this.anIntArrayArray6066.length; ++var3) {
            Class295 var5 = ((Interface13)var1).method52(this.anIntArrayArray6066[var3][0], 1772550497);
            if(var1.method49(var5, (byte)-58) >= this.anIntArrayArray6066[var3][2]) {
               return true;
            }
         }
      }

      return false;
   }

   public int method10860(int var1, int var2) {
      if(null == this.aClass423_6065) {
         return var2;
      } else {
         IntVar var3 = (IntVar)this.aClass423_6065.method7211((long)var1);
         return var3 == null?var2:442885445 * var3.integer;
      }
   }

   public boolean method10861(Interface12 var1, int var2, int var3) {
      return null != this.anIntArrayArray6055 && var2 >= 0 && var2 < this.anIntArrayArray6055.length?((Interface53)var1).method278(this.anIntArrayArray6055[var2][0], 1102262659) >= this.anIntArrayArray6055[var2][1]:false;
   }

   public boolean method10862(Interface12 var1) {
      int var2;
      if(this.anIntArrayArray6047 != null) {
         for(var2 = 0; var2 < this.anIntArrayArray6047.length; ++var2) {
            Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var2][0], (byte)-47);
            if(var1.method50(var3, 1708461212) >= this.anIntArrayArray6047[var2][1]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var2 = 0; var2 < this.anIntArrayArray6066.length; ++var2) {
            Class295 var4 = ((Interface13)var1).method52(this.anIntArrayArray6066[var2][0], 2065167737);
            if(var1.method49(var4, (byte)-13) >= this.anIntArrayArray6066[var2][1]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10863(Interface12 var1, int var2, int var3) {
      return null != this.anIntArray6054 && var2 >= 0 && var2 < this.anIntArray6054.length?this.aClass511_6049.method10849(this.anIntArray6054[var2], 1175367342).method10859(var1, -1541939922):false;
   }

   public boolean method10864(Interface12 var1) {
      if(this.aClass511_6049.method10844(var1, (byte)-52) < 1021005299 * this.anInt6050) {
         return false;
      } else {
         int var2;
         if(null != this.anIntArrayArray6055) {
            for(var2 = 0; var2 < this.anIntArrayArray6055.length; ++var2) {
               if(((Interface53)var1).method278(this.anIntArrayArray6055[var2][0], 839248920) < this.anIntArrayArray6055[var2][1]) {
                  return false;
               }
            }
         }

         if(null != this.anIntArray6054) {
            for(var2 = 0; var2 < this.anIntArray6054.length; ++var2) {
               if(!this.aClass511_6049.method10849(this.anIntArray6054[var2], 679957648).method10859(var1, -469858687)) {
                  return false;
               }
            }
         }

         int var4;
         if(null != this.anIntArray6057) {
            for(var2 = 0; var2 < this.anIntArray6057.length; ++var2) {
               Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)5);
               var4 = var1.method50(var3, 1946099974);
               if(var4 < this.anIntArray6058[var2] || var4 > this.anIntArray6059[var2]) {
                  return false;
               }
            }
         }

         if(this.anIntArray6061 != null) {
            for(var2 = 0; var2 < this.anIntArray6061.length; ++var2) {
               Class295 var5 = ((Interface13)var1).method52(this.anIntArray6061[var2], 1803413840);
               var4 = var1.method49(var5, (byte)10);
               if(var4 < this.anIntArray6062[var2] || var4 > this.anIntArray6045[var2]) {
                  return false;
               }
            }
         }

         return true;
      }
   }

   public boolean method10865(Interface12 var1, int var2, byte var3) {
      if(null != this.anIntArray6061 && var2 >= 0 && var2 < this.anIntArray6061.length) {
         Class295 var4 = ((Interface13)var1).method52(this.anIntArray6061[var2], 2076533390);
         int var5 = var1.method49(var4, (byte)48);
         return var5 >= this.anIntArray6062[var2] && var5 <= this.anIntArray6045[var2];
      } else {
         return false;
      }
   }

   void method10866(RS2Buffer var1) {
      while(true) {
         int var2 = var1.readUnsignedByte(-700559597);
         if(0 == var2) {
            return;
         }

         this.method10854(var1, var2, (byte)-42);
      }
   }

   void method10867(RS2Buffer var1, int var2) {
      if(var2 == 1) {
         this.aString6063 = var1.method13927((short)-18519);
      } else if(2 == var2) {
         this.aString6046 = var1.method13927((short)-25158);
      } else {
         int var3;
         int var4;
         if(var2 == 3) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6047 = new int[var3][3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArrayArray6047[var4][0] = var1.readUnsignedShort(-937710807);
               this.anIntArrayArray6047[var4][1] = var1.readInt_(-270502139);
               this.anIntArrayArray6047[var4][2] = var1.readInt_(1156453744);
            }
         } else if(4 == var2) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6066 = new int[var3][3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArrayArray6066[var4][0] = var1.readUnsignedShort(-937710807);
               this.anIntArrayArray6066[var4][1] = var1.readInt_(1699116887);
               this.anIntArrayArray6066[var4][2] = var1.readInt_(-1760487764);
            }
         } else if(var2 == 5) {
            var1.readUnsignedShort(-937710807);
         } else if(var2 == 6) {
            this.anInt6048 = var1.readUnsignedByte(-700559597) * -943056063;
         } else if(var2 == 7) {
            this.anInt6051 = var1.readUnsignedByte(-700559597) * -1193309267;
         } else if(8 == var2) {
            this.aBool6053 = true;
         } else if(9 == var2) {
            this.anInt6052 = var1.readUnsignedByte(-700559597) * 1667654473;
         } else if(var2 == 10) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArray6056 = new int[var3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArray6056[var4] = var1.readInt_(-141162012);
            }
         } else if(12 == var2) {
            var1.readInt_(334118777);
         } else if(var2 == 13) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArray6054 = new int[var3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArray6054[var4] = var1.readUnsignedShort(-937710807);
            }
         } else if(var2 == 14) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArrayArray6055 = new int[var3][2];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArrayArray6055[var4][0] = var1.readUnsignedByte(-700559597);
               this.anIntArrayArray6055[var4][1] = var1.readUnsignedByte(-700559597);
            }
         } else if(var2 == 15) {
            this.anInt6050 = var1.readUnsignedShort(-937710807) * -240905413;
         } else if(var2 == 17) {
            this.anInt6044 = var1.readLargeSmart(1586062990) * -407840567;
         } else if(var2 == 18) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArray6057 = new int[var3];
            this.anIntArray6058 = new int[var3];
            this.anIntArray6059 = new int[var3];
            this.aStringArray6060 = new String[var3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArray6057[var4] = var1.readInt_(1556303010);
               this.anIntArray6058[var4] = var1.readInt_(665996571);
               this.anIntArray6059[var4] = var1.readInt_(-935214070);
               this.aStringArray6060[var4] = var1.readString((byte)41);
            }
         } else if(19 == var2) {
            var3 = var1.readUnsignedByte(-700559597);
            this.anIntArray6061 = new int[var3];
            this.anIntArray6062 = new int[var3];
            this.anIntArray6045 = new int[var3];
            this.aStringArray6064 = new String[var3];

            for(var4 = 0; var4 < var3; ++var4) {
               this.anIntArray6061[var4] = var1.readInt_(-782087464);
               this.anIntArray6062[var4] = var1.readInt_(-283308509);
               this.anIntArray6045[var4] = var1.readInt_(-1805930279);
               this.aStringArray6064[var4] = var1.readString((byte)28);
            }
         } else if(249 == var2) {
            var3 = var1.readUnsignedByte(-700559597);
            if(null == this.aClass423_6065) {
               var4 = Class468.method7880(var3, (byte)-19);
               this.aClass423_6065 = new Class423(var4);
            }

            for(var4 = 0; var4 < var3; ++var4) {
               boolean var5 = var1.readUnsignedByte(-700559597) == 1;
               int var6 = var1.readTriByte(1403132207);
               Object var7;
               if(var5) {
                  var7 = new ObjectVar(var1.readString((byte)-24));
               } else {
                  var7 = new IntVar(var1.readInt_(-1390228817));
               }

               this.aClass423_6065.method7206((Class225)var7, (long)var6);
            }
         }
      }

   }

   void method10868() {
      if(null == this.aString6046) {
         this.aString6046 = this.aString6063;
      }

   }

   public int method10869(int var1, int var2) {
      if(null == this.aClass423_6065) {
         return var2;
      } else {
         IntVar var3 = (IntVar)this.aClass423_6065.method7211((long)var1);
         return var3 == null?var2:442885445 * var3.integer;
      }
   }

   public int method10870(int var1, int var2) {
      if(null == this.aClass423_6065) {
         return var2;
      } else {
         IntVar var3 = (IntVar)this.aClass423_6065.method7211((long)var1);
         return var3 == null?var2:442885445 * var3.integer;
      }
   }

   public boolean method10871(Interface12 var1, int var2) {
      return null != this.anIntArrayArray6055 && var2 >= 0 && var2 < this.anIntArrayArray6055.length?((Interface53)var1).method278(this.anIntArrayArray6055[var2][0], 1845195363) >= this.anIntArrayArray6055[var2][1]:false;
   }

   public boolean method10872(Interface12 var1) {
      int var2;
      if(this.anIntArrayArray6047 != null) {
         for(var2 = 0; var2 < this.anIntArrayArray6047.length; ++var2) {
            Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var2][0], (byte)19);
            if(var1.method50(var3, 1588569612) >= this.anIntArrayArray6047[var2][1]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var2 = 0; var2 < this.anIntArrayArray6066.length; ++var2) {
            Class295 var4 = ((Interface13)var1).method52(this.anIntArrayArray6066[var2][0], 2086954729);
            if(var1.method49(var4, (byte)-43) >= this.anIntArrayArray6066[var2][1]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10873(Interface12 var1) {
      int var2;
      if(null != this.anIntArrayArray6047) {
         for(var2 = 0; var2 < this.anIntArrayArray6047.length; ++var2) {
            Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var2][0], (byte)-47);
            if(var1.method50(var3, 437455721) >= this.anIntArrayArray6047[var2][2]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var2 = 0; var2 < this.anIntArrayArray6066.length; ++var2) {
            Class295 var4 = ((Interface13)var1).method52(this.anIntArrayArray6066[var2][0], 2051711247);
            if(var1.method49(var4, (byte)89) >= this.anIntArrayArray6066[var2][2]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10874(Interface12 var1) {
      int var2;
      if(null != this.anIntArrayArray6047) {
         for(var2 = 0; var2 < this.anIntArrayArray6047.length; ++var2) {
            Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var2][0], (byte)-21);
            if(var1.method50(var3, 492258655) >= this.anIntArrayArray6047[var2][2]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var2 = 0; var2 < this.anIntArrayArray6066.length; ++var2) {
            Class295 var4 = ((Interface13)var1).method52(this.anIntArrayArray6066[var2][0], 1741119496);
            if(var1.method49(var4, (byte)-5) >= this.anIntArrayArray6066[var2][2]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10875(Interface12 var1) {
      int var2;
      if(null != this.anIntArrayArray6047) {
         for(var2 = 0; var2 < this.anIntArrayArray6047.length; ++var2) {
            Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var2][0], (byte)-19);
            if(var1.method50(var3, 630027157) >= this.anIntArrayArray6047[var2][2]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var2 = 0; var2 < this.anIntArrayArray6066.length; ++var2) {
            Class295 var4 = ((Interface13)var1).method52(this.anIntArrayArray6066[var2][0], 1816682981);
            if(var1.method49(var4, (byte)35) >= this.anIntArrayArray6066[var2][2]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10876(Interface12 var1) {
      if(this.aClass511_6049.method10844(var1, (byte)-114) < 1021005299 * this.anInt6050) {
         return false;
      } else {
         int var2;
         if(null != this.anIntArrayArray6055) {
            for(var2 = 0; var2 < this.anIntArrayArray6055.length; ++var2) {
               if(((Interface53)var1).method278(this.anIntArrayArray6055[var2][0], 1977184886) < this.anIntArrayArray6055[var2][1]) {
                  return false;
               }
            }
         }

         if(null != this.anIntArray6054) {
            for(var2 = 0; var2 < this.anIntArray6054.length; ++var2) {
               if(!this.aClass511_6049.method10849(this.anIntArray6054[var2], 390809981).method10859(var1, -700955132)) {
                  return false;
               }
            }
         }

         int var4;
         if(null != this.anIntArray6057) {
            for(var2 = 0; var2 < this.anIntArray6057.length; ++var2) {
               Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-6);
               var4 = var1.method50(var3, 1542890294);
               if(var4 < this.anIntArray6058[var2] || var4 > this.anIntArray6059[var2]) {
                  return false;
               }
            }
         }

         if(this.anIntArray6061 != null) {
            for(var2 = 0; var2 < this.anIntArray6061.length; ++var2) {
               Class295 var5 = ((Interface13)var1).method52(this.anIntArray6061[var2], 2091626517);
               var4 = var1.method49(var5, (byte)5);
               if(var4 < this.anIntArray6062[var2] || var4 > this.anIntArray6045[var2]) {
                  return false;
               }
            }
         }

         return true;
      }
   }

   public boolean method10877(Interface12 var1, int var2) {
      if(null != this.anIntArray6057 && var2 >= 0 && var2 < this.anIntArray6057.length) {
         Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-109);
         int var4 = var1.method50(var3, 1772612678);
         return var4 >= this.anIntArray6058[var2] && var4 <= this.anIntArray6059[var2];
      } else {
         return false;
      }
   }

   public boolean method10878(Interface12 var1) {
      return this.aClass511_6049.method10844(var1, (byte)-128) >= 1021005299 * this.anInt6050;
   }

   public boolean method10879(Interface12 var1, byte var2) {
      int var3;
      if(this.anIntArrayArray6047 != null) {
         for(var3 = 0; var3 < this.anIntArrayArray6047.length; ++var3) {
            Class169 var4 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArrayArray6047[var3][0], (byte)-37);
            if(var1.method50(var4, 837883508) >= this.anIntArrayArray6047[var3][1]) {
               return true;
            }
         }
      }

      if(null != this.anIntArrayArray6066) {
         for(var3 = 0; var3 < this.anIntArrayArray6066.length; ++var3) {
            Class295 var5 = ((Interface13)var1).method52(this.anIntArrayArray6066[var3][0], 1828394252);
            if(var1.method49(var5, (byte)-5) >= this.anIntArrayArray6066[var3][1]) {
               return true;
            }
         }
      }

      return false;
   }

   public boolean method10880(Interface12 var1, int var2) {
      if(null != this.anIntArray6057 && var2 >= 0 && var2 < this.anIntArray6057.length) {
         Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-70);
         int var4 = var1.method50(var3, 621875754);
         return var4 >= this.anIntArray6058[var2] && var4 <= this.anIntArray6059[var2];
      } else {
         return false;
      }
   }

   public boolean method10881(Interface12 var1, int var2) {
      if(null != this.anIntArray6057 && var2 >= 0 && var2 < this.anIntArray6057.length) {
         Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-88);
         int var4 = var1.method50(var3, 1790572442);
         return var4 >= this.anIntArray6058[var2] && var4 <= this.anIntArray6059[var2];
      } else {
         return false;
      }
   }

   public boolean method10882(Interface12 var1, int var2, int var3) {
      if(null != this.anIntArray6057 && var2 >= 0 && var2 < this.anIntArray6057.length) {
         Class169 var4 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-66);
         int var5 = var1.method50(var4, 363640449);
         return var5 >= this.anIntArray6058[var2] && var5 <= this.anIntArray6059[var2];
      } else {
         return false;
      }
   }

   public boolean method10883(Interface12 var1, int var2) {
      if(null != this.anIntArray6057 && var2 >= 0 && var2 < this.anIntArray6057.length) {
         Class169 var3 = ((Interface13)var1).method53(Class251.aClass251_2983, this.anIntArray6057[var2], (byte)-46);
         int var4 = var1.method50(var3, 854729665);
         return var4 >= this.anIntArray6058[var2] && var4 <= this.anIntArray6059[var2];
      } else {
         return false;
      }
   }

   static Class225_Sub14_Sub6 method10884(byte[] var0, int var1) {
      return new Class225_Sub14_Sub6(new RS2Buffer(var0), Class485.anInterface13_5891);
   }

   static final void method10885(Class508 var0, byte var1) {
      var0.anInt6003 -= 393249892;
      Class257.method4639(var0.anIntArray6027[-937710807 * var0.anInt6003], var0.anIntArray6027[var0.anInt6003 * -937710807 + 1], var0.anIntArray6027[2 + -937710807 * var0.anInt6003], var0.anIntArray6027[-937710807 * var0.anInt6003 + 3], false, 256, 679559737);
   }

   static final void method10886(Class508 var0, byte var1) {
      var0.anInt6005 -= -93697366;
      String var2 = (String)var0.anObjectArray6004[var0.anInt6005 * 639741949];
      String var3 = (String)var0.anObjectArray6004[1 + var0.anInt6005 * 639741949];
      int var4 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var2.indexOf(var3, var4);
   }

   static final void method10887(Class508 var0, int var1) {
      String var2 = (String)var0.anObjectArray6004[(var0.anInt6005 -= -46848683) * 639741949];
      if(var2.startsWith(Class357.method6410(0, (byte)1)) || var2.startsWith(Class357.method6410(1, (byte)1))) {
         var2 = var2.substring(7);
      }

      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class331_Sub1.method14297(var2, -1412399538);
   }

   static final void method10888(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, -520616297);
      Class121 var4 = Class18.aClass121Array188[var2 >> 16];
      Class185.method3249(var3, var4, var0, (short)20947);
   }

   static final void method10889(Class508 var0, byte var1) {
      Class505 var10000;
      if(var0.aBool6014) {
         if(var1 <= 1) {
            ;
         }

         var10000 = var0.aClass505_6011;
      } else {
         var10000 = var0.aClass505_6010;
      }

      Class505 var2 = var10000;
      Class124 var3 = var2.aClass124_5977;
      Class422.method7198(var3, var0, 1555219864);
   }

   static void method10890(int var0, int var1, Class124 var2, Class496 var3, int var4, int var5, int var6) {
      int var7 = -583589671 * Class184.anInt2209;
      int[] var8 = Class184.anIntArray2204;

      for(int var9 = 0; var9 < var7; ++var9) {
         Class515_Sub1_Sub4_Sub4_Sub1 var10 = client.aClass515_Sub1_Sub4_Sub4_Sub1Array7799[var8[var9]];
         if(null != var10 && var10.method16793(-881903710) && !var10.aBool10868 && var10 != Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113 && Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.aByte8443 == var10.aByte8443) {
            Class326 var11 = var10.method10913().aClass326_4031;
            int var12 = (int)var11.aFloat4036 / 128 - var0 / 128;
            int var13 = (int)var11.aFloat4033 / 128 - var1 / 128;
            boolean var14 = false;

            for(int var15 = 0; var15 < 1907362565 * client.anInt7651; ++var15) {
               Class13 var16 = client.aClass13Array7931[var15];
               if(var10.aString10856.equals(var16.aString169) && 407771937 * var16.anInt166 != 0) {
                  var14 = true;
                  break;
               }
            }

            boolean var18 = false;

            for(int var17 = 0; var17 < 845314169 * Class397.anInt4901; ++var17) {
               if(var10.aString10856.equals(Class56_Sub2.aClass173Array8155[var17].aString2078)) {
                  var18 = true;
                  break;
               }
            }

            boolean var19 = false;
            if(-881251569 * Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.anInt10882 != 0 && -881251569 * var10.anInt10882 != 0 && -881251569 * var10.anInt10882 == -881251569 * Class5.aClass515_Sub1_Sub4_Sub4_Sub1_113.anInt10882) {
               var19 = true;
            }

            if(var10.aBool10869) {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[6], 1747518075);
            } else if(var19) {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[4], 1951810686);
            } else if(var10.aBool10883) {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[7], 1984549236);
            } else if(var14) {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[3], 2084217007);
            } else if(var18) {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[5], 1655091457);
            } else {
               Class443_Sub1.method13370(var2, var3, var4, var5, var12, var13, Class569.aClass171Array7563[2], 1971647658);
            }
         }
      }

   }
}
