
public class Class64 {

   long[] aLongArray593;
   boolean aBool594;
   boolean aBool595;
   long aLong596;
   int anInt597 = 0;
   public String aString598 = null;
   long[] aLongArray599;
   public boolean aBool600;
   public byte aByte601;
   int anInt602 = 0;
   public byte aByte603;
   public byte aByte604;
   public int anInt605;
   public static final byte aByte606 = -1;
   public byte[] aByteArray607;
   public String[] aStringArray608;
   public byte aByte609;
   public int anInt610;
   static final int anInt611 = 6;
   public int anInt612 = -659249749;
   public int anInt613 = -1712980877;
   boolean[] aBoolArray614;
   public int[] anIntArray615;
   int[] anIntArray616;
   public String[] aStringArray617;
   Class423 aClass423_618;
   static final byte aByte619 = 127;
   static final byte aByte620 = 126;
   static final byte aByte621 = 125;
   static final byte aByte622 = 0;
   int[] anIntArray623;


   public String method1318(int var1, int var2) {
      if(this.aClass423_618 == null) {
         return null;
      } else {
         Class225 var3 = this.aClass423_618.method7211((long)var1);
         return null != var3 && var3 instanceof ObjectVar?(String)((ObjectVar)var3).object:null;
      }
   }

   public int method1319(String var1) {
      if(var1 != null && var1.length() != 0) {
         for(int var2 = 0; var2 < this.anInt605 * 663460431; ++var2) {
            if(this.aStringArray608[var2].equals(var1)) {
               return var2;
            }
         }

         return -1;
      } else {
         return -1;
      }
   }

   public String method1320(int var1) {
      if(this.aClass423_618 == null) {
         return null;
      } else {
         Class225 var2 = this.aClass423_618.method7211((long)var1);
         return null != var2 && var2 instanceof ObjectVar?(String)((ObjectVar)var2).object:null;
      }
   }

   public int method1321(String var1, int var2) {
      if(var1 != null && var1.length() != 0) {
         for(int var3 = 0; var3 < this.anInt605 * 663460431; ++var3) {
            if(this.aStringArray608[var3].equals(var1)) {
               return var3;
            }
         }

         return -1;
      } else {
         return -1;
      }
   }

   public int method1322(int var1, int var2, int var3, int var4) {
      int var5 = var3 == 31?-1:(1 << var3 + 1) - 1;
      return (this.anIntArray623[var1] & var5) >>> var2;
   }

   void method1323(long var1, String var3, int var4) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (var3 != null)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray593 || 663460431 * this.anInt605 >= this.aLongArray593.length) || var3 != null && (null == this.aStringArray608 || 663460431 * this.anInt605 >= this.aStringArray608.length)) {
            this.method1340(this.anInt605 * 663460431 + 5, -504149259);
         }

         if(this.aLongArray593 != null) {
            this.aLongArray593[663460431 * this.anInt605] = var1;
         }

         if(this.aStringArray608 != null) {
            this.aStringArray608[663460431 * this.anInt605] = var3;
         }

         if(this.anInt612 * -1699294467 == -1) {
            this.anInt612 = 1941897787 * this.anInt605;
            this.aByteArray607[this.anInt605 * 663460431] = 126;
         } else {
            this.aByteArray607[663460431 * this.anInt605] = 0;
         }

         this.anIntArray623[663460431 * this.anInt605] = 0;
         this.anIntArray615[663460431 * this.anInt605] = var4;
         this.aBoolArray614[this.anInt605 * 663460431] = false;
         this.anInt605 += 2070494383;
         this.anIntArray616 = null;
      }
   }

   public Long method1324(int var1, int var2) {
      if(null == this.aClass423_618) {
         return null;
      } else {
         Class225 var3 = this.aClass423_618.method7211((long)var1);
         return var3 != null && var3 instanceof Class225_Sub27?new Long(((Class225_Sub27)var3).aLong8632 * 1315363211092247227L):null;
      }
   }

   boolean method1325(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(579940055);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   public int[] method1326(int var1) {
      if(null == this.anIntArray616) {
         String[] var2 = new String[663460431 * this.anInt605];
         this.anIntArray616 = new int[663460431 * this.anInt605];

         for(int var3 = 0; var3 < 663460431 * this.anInt605; this.anIntArray616[var3] = var3++) {
            var2[var3] = this.aStringArray608[var3];
         }

         Class102.method1995(var2, this.anIntArray616, 264587051);
      }

      return this.anIntArray616;
   }

   void method1327(long var1, String var3, int var4, byte var5) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (var3 != null)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray593 || 663460431 * this.anInt605 >= this.aLongArray593.length) || var3 != null && (null == this.aStringArray608 || 663460431 * this.anInt605 >= this.aStringArray608.length)) {
            this.method1340(this.anInt605 * 663460431 + 5, -930621917);
         }

         if(this.aLongArray593 != null) {
            this.aLongArray593[663460431 * this.anInt605] = var1;
         }

         if(this.aStringArray608 != null) {
            this.aStringArray608[663460431 * this.anInt605] = var3;
         }

         if(this.anInt612 * -1699294467 == -1) {
            this.anInt612 = 1941897787 * this.anInt605;
            this.aByteArray607[this.anInt605 * 663460431] = 126;
         } else {
            this.aByteArray607[663460431 * this.anInt605] = 0;
         }

         this.anIntArray623[663460431 * this.anInt605] = 0;
         this.anIntArray615[663460431 * this.anInt605] = var4;
         this.aBoolArray614[this.anInt605 * 663460431] = false;
         this.anInt605 += 2070494383;
         this.anIntArray616 = null;
      }
   }

   void method1328(int var1, int var2) {
      if(var1 >= 0 && var1 < 663460431 * this.anInt605) {
         this.anInt605 -= 2070494383;
         this.anIntArray616 = null;
         if(0 == this.anInt605 * 663460431) {
            this.aLongArray593 = null;
            this.aStringArray608 = null;
            this.aByteArray607 = null;
            this.anIntArray623 = null;
            this.anIntArray615 = null;
            this.aBoolArray614 = null;
            this.anInt612 = -659249749;
            this.anInt613 = -1712980877;
         } else {
            System.arraycopy(this.aByteArray607, var1 + 1, this.aByteArray607, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray623, var1 + 1, this.anIntArray623, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray615, var1 + 1, this.anIntArray615, var1, 663460431 * this.anInt605 - var1);
            System.arraycopy(this.aBoolArray614, 1 + var1, this.aBoolArray614, var1, this.anInt605 * 663460431 - var1);
            if(this.aLongArray593 != null) {
               System.arraycopy(this.aLongArray593, var1 + 1, this.aLongArray593, var1, 663460431 * this.anInt605 - var1);
            }

            if(null != this.aStringArray608) {
               System.arraycopy(this.aStringArray608, var1 + 1, this.aStringArray608, var1, this.anInt605 * 663460431 - var1);
            }

            if(var1 == this.anInt612 * -1699294467 || var1 == 1003550533 * this.anInt613) {
               this.method1376(-413049468);
            }
         }

      } else {
         throw new RuntimeException("");
      }
   }

   void method1329(int var1) {
      this.anInt610 -= -2075132491;
      if(0 == this.anInt610 * -1085486947) {
         this.aLongArray599 = null;
         this.aStringArray617 = null;
      } else {
         if(null != this.aLongArray599) {
            System.arraycopy(this.aLongArray599, 1 + var1, this.aLongArray599, var1, this.anInt610 * -1085486947 - var1);
         }

         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 1 + var1, this.aStringArray617, var1, this.anInt610 * -1085486947 - var1);
         }
      }

   }

   int method1330(int var1, boolean var2) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   void method1331(int var1, int var2) {
      this.anInt610 -= -2075132491;
      if(0 == this.anInt610 * -1085486947) {
         this.aLongArray599 = null;
         this.aStringArray617 = null;
      } else {
         if(null != this.aLongArray599) {
            System.arraycopy(this.aLongArray599, 1 + var1, this.aLongArray599, var1, this.anInt610 * -1085486947 - var1);
         }

         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 1 + var1, this.aStringArray617, var1, this.anInt610 * -1085486947 - var1);
         }
      }

   }

   int method1332(int var1, byte var2, byte var3) {
      if(var2 != 126 && var2 != 127) {
         if(var1 == -1699294467 * this.anInt612 && (this.anInt613 * 1003550533 == -1 || this.aByteArray607[this.anInt613 * 1003550533] < 125)) {
            return -1;
         } else if(this.aByteArray607[var1] == var2) {
            return -1;
         } else {
            this.aByteArray607[var1] = var2;
            this.method1376(-1156901879);
            return var1;
         }
      } else {
         return -1;
      }
   }

   boolean method1333(int var1, int var2, int var3, int var4, int var5) {
      int var6 = (1 << var3) - 1;
      int var7 = 31 == var4?-1:(1 << var4 + 1) - 1;
      int var8 = var7 ^ var6;
      var2 <<= var3;
      var2 &= var8;
      if(this.aClass423_618 != null) {
         Class225 var9 = this.aClass423_618.method7211((long)var1);
         if(null != var9) {
            if(var9 instanceof IntVar) {
               IntVar var10 = (IntVar)var9;
               if(var2 == (442885445 * var10.integer & var8)) {
                  return false;
               }

               var10.integer = (var10.integer * 442885445 & ~var8) * -1539119731;
               var10.integer = (442885445 * var10.integer | var2) * -1539119731;
               return true;
            }

            var9.method3857(-414551621);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new IntVar(var2), (long)var1);
      return true;
   }

   int method1334(int var1, int var2, int var3, int var4, int var5) {
      int var6 = (1 << var3) - 1;
      int var7 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var8 = var7 ^ var6;
      var2 <<= var3;
      var2 &= var8;
      int var9 = this.anIntArray623[var1];
      if((var9 & var8) == var2) {
         return -1;
      } else {
         var9 &= ~var8;
         this.anIntArray623[var1] = var9 | var2;
         return var1;
      }
   }

   boolean method1335(int var1, int var2, int var3) {
      if(this.aClass423_618 != null) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof IntVar) {
               IntVar var5 = (IntVar)var4;
               if(var2 == var5.integer * 442885445) {
                  return false;
               }

               var5.integer = -1539119731 * var2;
               return true;
            }

            var4.method3857(-874727819);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new IntVar(var2), (long)var1);
      return true;
   }

   int method1336(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      int var8 = this.anIntArray623[var1];
      if((var8 & var7) == var2) {
         return -1;
      } else {
         var8 &= ~var7;
         this.anIntArray623[var1] = var8 | var2;
         return var1;
      }
   }

   boolean method1337(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(1152334597);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   void method1338(int var1) {
      if(var1 >= 0 && var1 < 663460431 * this.anInt605) {
         this.anInt605 -= 2070494383;
         this.anIntArray616 = null;
         if(0 == this.anInt605 * 663460431) {
            this.aLongArray593 = null;
            this.aStringArray608 = null;
            this.aByteArray607 = null;
            this.anIntArray623 = null;
            this.anIntArray615 = null;
            this.aBoolArray614 = null;
            this.anInt612 = -659249749;
            this.anInt613 = -1712980877;
         } else {
            System.arraycopy(this.aByteArray607, var1 + 1, this.aByteArray607, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray623, var1 + 1, this.anIntArray623, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray615, var1 + 1, this.anIntArray615, var1, 663460431 * this.anInt605 - var1);
            System.arraycopy(this.aBoolArray614, 1 + var1, this.aBoolArray614, var1, this.anInt605 * 663460431 - var1);
            if(this.aLongArray593 != null) {
               System.arraycopy(this.aLongArray593, var1 + 1, this.aLongArray593, var1, 663460431 * this.anInt605 - var1);
            }

            if(null != this.aStringArray608) {
               System.arraycopy(this.aStringArray608, var1 + 1, this.aStringArray608, var1, this.anInt605 * 663460431 - var1);
            }

            if(var1 == this.anInt612 * -1699294467 || var1 == 1003550533 * this.anInt613) {
               this.method1376(-880849223);
            }
         }

      } else {
         throw new RuntimeException("");
      }
   }

   void method1339(RS2Buffer var1, int var2) {
      int var3 = var1.readUnsignedByte(-700559597);
      if(var3 >= 1 && var3 <= 6) {
         int var4 = var1.readUnsignedByte(-700559597);
         if((var4 & 1) != 0) {
            this.aBool594 = true;
         }

         if((var4 & 2) != 0) {
            this.aBool595 = true;
         }

         if(!this.aBool594) {
            this.aLongArray593 = null;
            this.aLongArray599 = null;
         }

         if(!this.aBool595) {
            this.aStringArray608 = null;
            this.aStringArray617 = null;
         }

         this.anInt597 = var1.readInt_(-499782664) * 741748435;
         this.anInt602 = var1.readInt_(552313102) * -1705929461;
         if(var3 <= 3 && 0 != 828804771 * this.anInt602) {
            this.anInt602 += 318300640;
         }

         this.anInt605 = var1.readUnsignedShort(-937710807) * 2070494383;
         this.anInt610 = var1.readUnsignedByte(-700559597) * -2075132491;
         this.aString598 = var1.readString((byte)44);
         if(var3 >= 4) {
            var1.readInt_(-2036967307);
         }

         this.aBool600 = var1.readUnsignedByte(-700559597) == 1;
         this.aByte601 = var1.readByte(-1262336435);
         this.aByte609 = var1.readByte(1915246168);
         this.aByte603 = var1.readByte(-128986118);
         this.aByte604 = var1.readByte(693915333);
         int var5;
         if(663460431 * this.anInt605 > 0) {
            if(this.aBool594 && (this.aLongArray593 == null || this.aLongArray593.length < 663460431 * this.anInt605)) {
               this.aLongArray593 = new long[663460431 * this.anInt605];
            }

            if(this.aBool595 && (this.aStringArray608 == null || this.aStringArray608.length < 663460431 * this.anInt605)) {
               this.aStringArray608 = new String[663460431 * this.anInt605];
            }

            if(null == this.aByteArray607 || this.aByteArray607.length < this.anInt605 * 663460431) {
               this.aByteArray607 = new byte[663460431 * this.anInt605];
            }

            if(null == this.anIntArray623 || this.anIntArray623.length < 663460431 * this.anInt605) {
               this.anIntArray623 = new int[663460431 * this.anInt605];
            }

            if(this.anIntArray615 == null || this.anIntArray615.length < 663460431 * this.anInt605) {
               this.anIntArray615 = new int[this.anInt605 * 663460431];
            }

            if(null == this.aBoolArray614 || this.aBoolArray614.length < this.anInt605 * 663460431) {
               this.aBoolArray614 = new boolean[663460431 * this.anInt605];
            }

            for(var5 = 0; var5 < this.anInt605 * 663460431; ++var5) {
               if(this.aBool594) {
                  this.aLongArray593[var5] = var1.method13729((byte)50);
               }

               if(this.aBool595) {
                  this.aStringArray608[var5] = var1.method13710(-2049614512);
               }

               this.aByteArray607[var5] = var1.readByte(-1182661720);
               if(var3 >= 2) {
                  this.anIntArray623[var5] = var1.readInt_(-1119483503);
               }

               if(var3 >= 5) {
                  this.anIntArray615[var5] = var1.readUnsignedShort(-937710807);
               } else {
                  this.anIntArray615[var5] = 0;
               }

               if(var3 >= 6) {
                  this.aBoolArray614[var5] = var1.readUnsignedByte(-700559597) == 1;
               } else {
                  this.aBoolArray614[var5] = false;
               }
            }

            this.method1376(-1387340724);
         }

         if(this.anInt610 * -1085486947 > 0) {
            if(this.aBool594 && (null == this.aLongArray599 || this.aLongArray599.length < -1085486947 * this.anInt610)) {
               this.aLongArray599 = new long[-1085486947 * this.anInt610];
            }

            if(this.aBool595 && (this.aStringArray617 == null || this.aStringArray617.length < -1085486947 * this.anInt610)) {
               this.aStringArray617 = new String[-1085486947 * this.anInt610];
            }

            for(var5 = 0; var5 < -1085486947 * this.anInt610; ++var5) {
               if(this.aBool594) {
                  this.aLongArray599[var5] = var1.method13729((byte)118);
               }

               if(this.aBool595) {
                  this.aStringArray617[var5] = var1.method13710(-1937476724);
               }
            }
         }

         if(var3 >= 3) {
            var5 = var1.readUnsignedShort(-937710807);
            if(var5 > 0) {
               this.aClass423_618 = new Class423(var5 < 16?Class468.method7880(var5, (byte)-102):16);

               while(var5-- > 0) {
                  int var6 = var1.readInt_(-961389267);
                  int var7 = var6 & 1073741823;
                  int var8 = var6 >>> 30;
                  if(var8 == 0) {
                     int var9 = var1.readInt_(-1020822219);
                     this.aClass423_618.method7206(new IntVar(var9), (long)var7);
                  } else if(1 == var8) {
                     long var10 = var1.method13729((byte)47);
                     this.aClass423_618.method7206(new Class225_Sub27(var10), (long)var7);
                  } else if(2 == var8) {
                     String var12 = var1.readString((byte)-11);
                     this.aClass423_618.method7206(new ObjectVar(var12), (long)var7);
                  }
               }
            }
         }

      } else {
         throw new RuntimeException("" + var3);
      }
   }

   void method1340(int var1, int var2) {
      if(this.aBool594) {
         if(null != this.aLongArray593) {
            System.arraycopy(this.aLongArray593, 0, this.aLongArray593 = new long[var1], 0, 663460431 * this.anInt605);
         } else {
            this.aLongArray593 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(null != this.aStringArray608) {
            System.arraycopy(this.aStringArray608, 0, this.aStringArray608 = new String[var1], 0, this.anInt605 * 663460431);
         } else {
            this.aStringArray608 = new String[var1];
         }
      }

      if(null != this.aByteArray607) {
         System.arraycopy(this.aByteArray607, 0, this.aByteArray607 = new byte[var1], 0, 663460431 * this.anInt605);
      } else {
         this.aByteArray607 = new byte[var1];
      }

      if(null != this.anIntArray623) {
         System.arraycopy(this.anIntArray623, 0, this.anIntArray623 = new int[var1], 0, 663460431 * this.anInt605);
      } else {
         this.anIntArray623 = new int[var1];
      }

      if(null != this.anIntArray615) {
         System.arraycopy(this.anIntArray615, 0, this.anIntArray615 = new int[var1], 0, 663460431 * this.anInt605);
      } else {
         this.anIntArray615 = new int[var1];
      }

      if(null != this.aBoolArray614) {
         System.arraycopy(this.aBoolArray614, 0, this.aBoolArray614 = new boolean[var1], 0, 663460431 * this.anInt605);
      } else {
         this.aBoolArray614 = new boolean[var1];
      }

   }

   void method1341(RS2Buffer var1) {
      int var2 = var1.readUnsignedByte(-700559597);
      if(var2 >= 1 && var2 <= 6) {
         int var3 = var1.readUnsignedByte(-700559597);
         if((var3 & 1) != 0) {
            this.aBool594 = true;
         }

         if((var3 & 2) != 0) {
            this.aBool595 = true;
         }

         if(!this.aBool594) {
            this.aLongArray593 = null;
            this.aLongArray599 = null;
         }

         if(!this.aBool595) {
            this.aStringArray608 = null;
            this.aStringArray617 = null;
         }

         this.anInt597 = var1.readInt_(-2071456760) * 741748435;
         this.anInt602 = var1.readInt_(-111111964) * -1705929461;
         if(var2 <= 3 && 0 != 828804771 * this.anInt602) {
            this.anInt602 += 318300640;
         }

         this.anInt605 = var1.readUnsignedShort(-937710807) * 2070494383;
         this.anInt610 = var1.readUnsignedByte(-700559597) * -2075132491;
         this.aString598 = var1.readString((byte)6);
         if(var2 >= 4) {
            var1.readInt_(375320460);
         }

         this.aBool600 = var1.readUnsignedByte(-700559597) == 1;
         this.aByte601 = var1.readByte(-466160901);
         this.aByte609 = var1.readByte(543883916);
         this.aByte603 = var1.readByte(-192079797);
         this.aByte604 = var1.readByte(-604185465);
         int var4;
         if(663460431 * this.anInt605 > 0) {
            if(this.aBool594 && (this.aLongArray593 == null || this.aLongArray593.length < 663460431 * this.anInt605)) {
               this.aLongArray593 = new long[663460431 * this.anInt605];
            }

            if(this.aBool595 && (this.aStringArray608 == null || this.aStringArray608.length < 663460431 * this.anInt605)) {
               this.aStringArray608 = new String[663460431 * this.anInt605];
            }

            if(null == this.aByteArray607 || this.aByteArray607.length < this.anInt605 * 663460431) {
               this.aByteArray607 = new byte[663460431 * this.anInt605];
            }

            if(null == this.anIntArray623 || this.anIntArray623.length < 663460431 * this.anInt605) {
               this.anIntArray623 = new int[663460431 * this.anInt605];
            }

            if(this.anIntArray615 == null || this.anIntArray615.length < 663460431 * this.anInt605) {
               this.anIntArray615 = new int[this.anInt605 * 663460431];
            }

            if(null == this.aBoolArray614 || this.aBoolArray614.length < this.anInt605 * 663460431) {
               this.aBoolArray614 = new boolean[663460431 * this.anInt605];
            }

            for(var4 = 0; var4 < this.anInt605 * 663460431; ++var4) {
               if(this.aBool594) {
                  this.aLongArray593[var4] = var1.method13729((byte)85);
               }

               if(this.aBool595) {
                  this.aStringArray608[var4] = var1.method13710(-2112744991);
               }

               this.aByteArray607[var4] = var1.readByte(1652047683);
               if(var2 >= 2) {
                  this.anIntArray623[var4] = var1.readInt_(1633871252);
               }

               if(var2 >= 5) {
                  this.anIntArray615[var4] = var1.readUnsignedShort(-937710807);
               } else {
                  this.anIntArray615[var4] = 0;
               }

               if(var2 >= 6) {
                  this.aBoolArray614[var4] = var1.readUnsignedByte(-700559597) == 1;
               } else {
                  this.aBoolArray614[var4] = false;
               }
            }

            this.method1376(-1950047359);
         }

         if(this.anInt610 * -1085486947 > 0) {
            if(this.aBool594 && (null == this.aLongArray599 || this.aLongArray599.length < -1085486947 * this.anInt610)) {
               this.aLongArray599 = new long[-1085486947 * this.anInt610];
            }

            if(this.aBool595 && (this.aStringArray617 == null || this.aStringArray617.length < -1085486947 * this.anInt610)) {
               this.aStringArray617 = new String[-1085486947 * this.anInt610];
            }

            for(var4 = 0; var4 < -1085486947 * this.anInt610; ++var4) {
               if(this.aBool594) {
                  this.aLongArray599[var4] = var1.method13729((byte)118);
               }

               if(this.aBool595) {
                  this.aStringArray617[var4] = var1.method13710(-1899220142);
               }
            }
         }

         if(var2 >= 3) {
            var4 = var1.readUnsignedShort(-937710807);
            if(var4 > 0) {
               this.aClass423_618 = new Class423(var4 < 16?Class468.method7880(var4, (byte)-30):16);

               while(var4-- > 0) {
                  int var5 = var1.readInt_(1088829730);
                  int var6 = var5 & 1073741823;
                  int var7 = var5 >>> 30;
                  if(var7 == 0) {
                     int var8 = var1.readInt_(-1492499264);
                     this.aClass423_618.method7206(new IntVar(var8), (long)var6);
                  } else if(1 == var7) {
                     long var9 = var1.method13729((byte)36);
                     this.aClass423_618.method7206(new Class225_Sub27(var9), (long)var6);
                  } else if(2 == var7) {
                     String var11 = var1.readString((byte)-13);
                     this.aClass423_618.method7206(new ObjectVar(var11), (long)var6);
                  }
               }
            }
         }

      } else {
         throw new RuntimeException("" + var2);
      }
   }

   void method1342(int var1) {
      if(this.aBool594) {
         if(this.aLongArray599 != null) {
            System.arraycopy(this.aLongArray599, 0, this.aLongArray599 = new long[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aLongArray599 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 0, this.aStringArray617 = new String[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aStringArray617 = new String[var1];
         }
      }

   }

   void method1343(int var1) {
      if(this.aBool594) {
         if(this.aLongArray599 != null) {
            System.arraycopy(this.aLongArray599, 0, this.aLongArray599 = new long[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aLongArray599 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 0, this.aStringArray617 = new String[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aStringArray617 = new String[var1];
         }
      }

   }

   public Class64(RS2Buffer var1) {
      this.method1339(var1, -96448304);
   }

   public int method1344(String var1) {
      if(var1 != null && var1.length() != 0) {
         for(int var2 = 0; var2 < this.anInt605 * 663460431; ++var2) {
            if(this.aStringArray608[var2].equals(var1)) {
               return var2;
            }
         }

         return -1;
      } else {
         return -1;
      }
   }

   void method1345(int var1) {
      if(this.aBool594) {
         if(this.aLongArray599 != null) {
            System.arraycopy(this.aLongArray599, 0, this.aLongArray599 = new long[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aLongArray599 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 0, this.aStringArray617 = new String[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aStringArray617 = new String[var1];
         }
      }

   }

   public Long method1346(int var1) {
      if(null == this.aClass423_618) {
         return null;
      } else {
         Class225 var2 = this.aClass423_618.method7211((long)var1);
         return var2 != null && var2 instanceof Class225_Sub27?new Long(((Class225_Sub27)var2).aLong8632 * 1315363211092247227L):null;
      }
   }

   public Long method1347(int var1) {
      if(null == this.aClass423_618) {
         return null;
      } else {
         Class225 var2 = this.aClass423_618.method7211((long)var1);
         return var2 != null && var2 instanceof Class225_Sub27?new Long(((Class225_Sub27)var2).aLong8632 * 1315363211092247227L):null;
      }
   }

   public String method1348(int var1) {
      if(this.aClass423_618 == null) {
         return null;
      } else {
         Class225 var2 = this.aClass423_618.method7211((long)var1);
         return null != var2 && var2 instanceof ObjectVar?(String)((ObjectVar)var2).object:null;
      }
   }

   void method1349(int var1) {
      if(this.aBool594) {
         if(null != this.aLongArray593) {
            System.arraycopy(this.aLongArray593, 0, this.aLongArray593 = new long[var1], 0, 663460431 * this.anInt605);
         } else {
            this.aLongArray593 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(null != this.aStringArray608) {
            System.arraycopy(this.aStringArray608, 0, this.aStringArray608 = new String[var1], 0, this.anInt605 * 663460431);
         } else {
            this.aStringArray608 = new String[var1];
         }
      }

      if(null != this.aByteArray607) {
         System.arraycopy(this.aByteArray607, 0, this.aByteArray607 = new byte[var1], 0, 663460431 * this.anInt605);
      } else {
         this.aByteArray607 = new byte[var1];
      }

      if(null != this.anIntArray623) {
         System.arraycopy(this.anIntArray623, 0, this.anIntArray623 = new int[var1], 0, 663460431 * this.anInt605);
      } else {
         this.anIntArray623 = new int[var1];
      }

      if(null != this.anIntArray615) {
         System.arraycopy(this.anIntArray615, 0, this.anIntArray615 = new int[var1], 0, 663460431 * this.anInt605);
      } else {
         this.anIntArray615 = new int[var1];
      }

      if(null != this.aBoolArray614) {
         System.arraycopy(this.aBoolArray614, 0, this.aBoolArray614 = new boolean[var1], 0, 663460431 * this.anInt605);
      } else {
         this.aBoolArray614 = new boolean[var1];
      }

   }

   public String method1350(int var1) {
      if(this.aClass423_618 == null) {
         return null;
      } else {
         Class225 var2 = this.aClass423_618.method7211((long)var1);
         return null != var2 && var2 instanceof ObjectVar?(String)((ObjectVar)var2).object:null;
      }
   }

   boolean method1351(int var1, String var2, int var3) {
      if(null == var2) {
         var2 = "";
      } else if(var2.length() > 80) {
         var2 = var2.substring(0, 80);
      }

      if(this.aClass423_618 != null) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(var4 != null) {
            if(var4 instanceof ObjectVar) {
               ObjectVar var5 = (ObjectVar)var4;
               if(var5.object instanceof String) {
                  if(var2.equals(var5.object)) {
                     return false;
                  }

                  var5.method3857(-718808950);
                  this.aClass423_618.method7206(new ObjectVar(var2), var5.aLong2606 * -7222396723785363401L);
                  return true;
               }
            }

            var4.method3857(-564699309);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new ObjectVar(var2), (long)var1);
      return true;
   }

   public int[] method1352() {
      if(null == this.anIntArray616) {
         String[] var1 = new String[663460431 * this.anInt605];
         this.anIntArray616 = new int[663460431 * this.anInt605];

         for(int var2 = 0; var2 < 663460431 * this.anInt605; this.anIntArray616[var2] = var2++) {
            var1[var2] = this.aStringArray608[var2];
         }

         Class102.method1995(var1, this.anIntArray616, 264587051);
      }

      return this.anIntArray616;
   }

   public int[] method1353() {
      if(null == this.anIntArray616) {
         String[] var1 = new String[663460431 * this.anInt605];
         this.anIntArray616 = new int[663460431 * this.anInt605];

         for(int var2 = 0; var2 < 663460431 * this.anInt605; this.anIntArray616[var2] = var2++) {
            var1[var2] = this.aStringArray608[var2];
         }

         Class102.method1995(var1, this.anIntArray616, 264587051);
      }

      return this.anIntArray616;
   }

   void method1354(int var1, int var2) {
      if(this.aBool594) {
         if(this.aLongArray599 != null) {
            System.arraycopy(this.aLongArray599, 0, this.aLongArray599 = new long[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aLongArray599 = new long[var1];
         }
      }

      if(this.aBool595) {
         if(this.aStringArray617 != null) {
            System.arraycopy(this.aStringArray617, 0, this.aStringArray617 = new String[var1], 0, -1085486947 * this.anInt610);
         } else {
            this.aStringArray617 = new String[var1];
         }
      }

   }

   void method1355(long var1, String var3, int var4) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (var3 != null)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray593 || 663460431 * this.anInt605 >= this.aLongArray593.length) || var3 != null && (null == this.aStringArray608 || 663460431 * this.anInt605 >= this.aStringArray608.length)) {
            this.method1340(this.anInt605 * 663460431 + 5, 214863242);
         }

         if(this.aLongArray593 != null) {
            this.aLongArray593[663460431 * this.anInt605] = var1;
         }

         if(this.aStringArray608 != null) {
            this.aStringArray608[663460431 * this.anInt605] = var3;
         }

         if(this.anInt612 * -1699294467 == -1) {
            this.anInt612 = 1941897787 * this.anInt605;
            this.aByteArray607[this.anInt605 * 663460431] = 126;
         } else {
            this.aByteArray607[663460431 * this.anInt605] = 0;
         }

         this.anIntArray623[663460431 * this.anInt605] = 0;
         this.anIntArray615[663460431 * this.anInt605] = var4;
         this.aBoolArray614[this.anInt605 * 663460431] = false;
         this.anInt605 += 2070494383;
         this.anIntArray616 = null;
      }
   }

   void method1356(long var1, String var3, int var4) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (var3 != null)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray593 || 663460431 * this.anInt605 >= this.aLongArray593.length) || var3 != null && (null == this.aStringArray608 || 663460431 * this.anInt605 >= this.aStringArray608.length)) {
            this.method1340(this.anInt605 * 663460431 + 5, 194880739);
         }

         if(this.aLongArray593 != null) {
            this.aLongArray593[663460431 * this.anInt605] = var1;
         }

         if(this.aStringArray608 != null) {
            this.aStringArray608[663460431 * this.anInt605] = var3;
         }

         if(this.anInt612 * -1699294467 == -1) {
            this.anInt612 = 1941897787 * this.anInt605;
            this.aByteArray607[this.anInt605 * 663460431] = 126;
         } else {
            this.aByteArray607[663460431 * this.anInt605] = 0;
         }

         this.anIntArray623[663460431 * this.anInt605] = 0;
         this.anIntArray615[663460431 * this.anInt605] = var4;
         this.aBoolArray614[this.anInt605 * 663460431] = false;
         this.anInt605 += 2070494383;
         this.anIntArray616 = null;
      }
   }

   void method1357(long var1, String var3, int var4) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (null != var3)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray599 || -1085486947 * this.anInt610 >= this.aLongArray599.length) || null != var3 && (null == this.aStringArray617 || -1085486947 * this.anInt610 >= this.aStringArray617.length)) {
            this.method1354(this.anInt610 * -1085486947 + 5, -144580947);
         }

         if(this.aLongArray599 != null) {
            this.aLongArray599[-1085486947 * this.anInt610] = var1;
         }

         if(null != this.aStringArray617) {
            this.aStringArray617[-1085486947 * this.anInt610] = var3;
         }

         this.anInt610 += -2075132491;
      }
   }

   void method1358(int var1) {
      if(var1 >= 0 && var1 < 663460431 * this.anInt605) {
         this.anInt605 -= 2070494383;
         this.anIntArray616 = null;
         if(0 == this.anInt605 * 663460431) {
            this.aLongArray593 = null;
            this.aStringArray608 = null;
            this.aByteArray607 = null;
            this.anIntArray623 = null;
            this.anIntArray615 = null;
            this.aBoolArray614 = null;
            this.anInt612 = -659249749;
            this.anInt613 = -1712980877;
         } else {
            System.arraycopy(this.aByteArray607, var1 + 1, this.aByteArray607, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray623, var1 + 1, this.anIntArray623, var1, this.anInt605 * 663460431 - var1);
            System.arraycopy(this.anIntArray615, var1 + 1, this.anIntArray615, var1, 663460431 * this.anInt605 - var1);
            System.arraycopy(this.aBoolArray614, 1 + var1, this.aBoolArray614, var1, this.anInt605 * 663460431 - var1);
            if(this.aLongArray593 != null) {
               System.arraycopy(this.aLongArray593, var1 + 1, this.aLongArray593, var1, 663460431 * this.anInt605 - var1);
            }

            if(null != this.aStringArray608) {
               System.arraycopy(this.aStringArray608, var1 + 1, this.aStringArray608, var1, this.anInt605 * 663460431 - var1);
            }

            if(var1 == this.anInt612 * -1699294467 || var1 == 1003550533 * this.anInt613) {
               this.method1376(-1104285490);
            }
         }

      } else {
         throw new RuntimeException("");
      }
   }

   public int[] method1359() {
      if(null == this.anIntArray616) {
         String[] var1 = new String[663460431 * this.anInt605];
         this.anIntArray616 = new int[663460431 * this.anInt605];

         for(int var2 = 0; var2 < 663460431 * this.anInt605; this.anIntArray616[var2] = var2++) {
            var1[var2] = this.aStringArray608[var2];
         }

         Class102.method1995(var1, this.anIntArray616, 264587051);
      }

      return this.anIntArray616;
   }

   void method1360(long var1, String var3) {
      if(null != var3 && var3.length() == 0) {
         var3 = null;
      }

      if(this.aBool594 != var1 > 0L) {
         throw new RuntimeException("");
      } else if(this.aBool595 != (null != var3)) {
         throw new RuntimeException("");
      } else {
         if(var1 > 0L && (null == this.aLongArray599 || -1085486947 * this.anInt610 >= this.aLongArray599.length) || null != var3 && (null == this.aStringArray617 || -1085486947 * this.anInt610 >= this.aStringArray617.length)) {
            this.method1354(this.anInt610 * -1085486947 + 5, 727200662);
         }

         if(this.aLongArray599 != null) {
            this.aLongArray599[-1085486947 * this.anInt610] = var1;
         }

         if(null != this.aStringArray617) {
            this.aStringArray617[-1085486947 * this.anInt610] = var3;
         }

         this.anInt610 += -2075132491;
      }
   }

   boolean method1361(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(-706593594);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   int method1362(int var1, byte var2) {
      if(var2 != 126 && var2 != 127) {
         if(var1 == -1699294467 * this.anInt612 && (this.anInt613 * 1003550533 == -1 || this.aByteArray607[this.anInt613 * 1003550533] < 125)) {
            return -1;
         } else if(this.aByteArray607[var1] == var2) {
            return -1;
         } else {
            this.aByteArray607[var1] = var2;
            this.method1376(1412178340);
            return var1;
         }
      } else {
         return -1;
      }
   }

   int method1363(int var1, byte var2) {
      if(var2 != 126 && var2 != 127) {
         if(var1 == -1699294467 * this.anInt612 && (this.anInt613 * 1003550533 == -1 || this.aByteArray607[this.anInt613 * 1003550533] < 125)) {
            return -1;
         } else if(this.aByteArray607[var1] == var2) {
            return -1;
         } else {
            this.aByteArray607[var1] = var2;
            this.method1376(232365200);
            return var1;
         }
      } else {
         return -1;
      }
   }

   int method1364(int var1, boolean var2) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   int method1365(int var1, boolean var2) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   void method1366(RS2Buffer var1) {
      int var2 = var1.readUnsignedByte(-700559597);
      if(var2 >= 1 && var2 <= 6) {
         int var3 = var1.readUnsignedByte(-700559597);
         if((var3 & 1) != 0) {
            this.aBool594 = true;
         }

         if((var3 & 2) != 0) {
            this.aBool595 = true;
         }

         if(!this.aBool594) {
            this.aLongArray593 = null;
            this.aLongArray599 = null;
         }

         if(!this.aBool595) {
            this.aStringArray608 = null;
            this.aStringArray617 = null;
         }

         this.anInt597 = var1.readInt_(1266927270) * 741748435;
         this.anInt602 = var1.readInt_(1385111742) * -1705929461;
         if(var2 <= 3 && 0 != 828804771 * this.anInt602) {
            this.anInt602 += 318300640;
         }

         this.anInt605 = var1.readUnsignedShort(-937710807) * 2070494383;
         this.anInt610 = var1.readUnsignedByte(-700559597) * -2075132491;
         this.aString598 = var1.readString((byte)-78);
         if(var2 >= 4) {
            var1.readInt_(-84186813);
         }

         this.aBool600 = var1.readUnsignedByte(-700559597) == 1;
         this.aByte601 = var1.readByte(1668345143);
         this.aByte609 = var1.readByte(529487547);
         this.aByte603 = var1.readByte(117783249);
         this.aByte604 = var1.readByte(1847728218);
         int var4;
         if(663460431 * this.anInt605 > 0) {
            if(this.aBool594 && (this.aLongArray593 == null || this.aLongArray593.length < 663460431 * this.anInt605)) {
               this.aLongArray593 = new long[663460431 * this.anInt605];
            }

            if(this.aBool595 && (this.aStringArray608 == null || this.aStringArray608.length < 663460431 * this.anInt605)) {
               this.aStringArray608 = new String[663460431 * this.anInt605];
            }

            if(null == this.aByteArray607 || this.aByteArray607.length < this.anInt605 * 663460431) {
               this.aByteArray607 = new byte[663460431 * this.anInt605];
            }

            if(null == this.anIntArray623 || this.anIntArray623.length < 663460431 * this.anInt605) {
               this.anIntArray623 = new int[663460431 * this.anInt605];
            }

            if(this.anIntArray615 == null || this.anIntArray615.length < 663460431 * this.anInt605) {
               this.anIntArray615 = new int[this.anInt605 * 663460431];
            }

            if(null == this.aBoolArray614 || this.aBoolArray614.length < this.anInt605 * 663460431) {
               this.aBoolArray614 = new boolean[663460431 * this.anInt605];
            }

            for(var4 = 0; var4 < this.anInt605 * 663460431; ++var4) {
               if(this.aBool594) {
                  this.aLongArray593[var4] = var1.method13729((byte)69);
               }

               if(this.aBool595) {
                  this.aStringArray608[var4] = var1.method13710(-2031870775);
               }

               this.aByteArray607[var4] = var1.readByte(-33465781);
               if(var2 >= 2) {
                  this.anIntArray623[var4] = var1.readInt_(-84134970);
               }

               if(var2 >= 5) {
                  this.anIntArray615[var4] = var1.readUnsignedShort(-937710807);
               } else {
                  this.anIntArray615[var4] = 0;
               }

               if(var2 >= 6) {
                  this.aBoolArray614[var4] = var1.readUnsignedByte(-700559597) == 1;
               } else {
                  this.aBoolArray614[var4] = false;
               }
            }

            this.method1376(-1003903585);
         }

         if(this.anInt610 * -1085486947 > 0) {
            if(this.aBool594 && (null == this.aLongArray599 || this.aLongArray599.length < -1085486947 * this.anInt610)) {
               this.aLongArray599 = new long[-1085486947 * this.anInt610];
            }

            if(this.aBool595 && (this.aStringArray617 == null || this.aStringArray617.length < -1085486947 * this.anInt610)) {
               this.aStringArray617 = new String[-1085486947 * this.anInt610];
            }

            for(var4 = 0; var4 < -1085486947 * this.anInt610; ++var4) {
               if(this.aBool594) {
                  this.aLongArray599[var4] = var1.method13729((byte)12);
               }

               if(this.aBool595) {
                  this.aStringArray617[var4] = var1.method13710(-2032337829);
               }
            }
         }

         if(var2 >= 3) {
            var4 = var1.readUnsignedShort(-937710807);
            if(var4 > 0) {
               this.aClass423_618 = new Class423(var4 < 16?Class468.method7880(var4, (byte)-85):16);

               while(var4-- > 0) {
                  int var5 = var1.readInt_(1090956698);
                  int var6 = var5 & 1073741823;
                  int var7 = var5 >>> 30;
                  if(var7 == 0) {
                     int var8 = var1.readInt_(1430440724);
                     this.aClass423_618.method7206(new IntVar(var8), (long)var6);
                  } else if(1 == var7) {
                     long var9 = var1.method13729((byte)95);
                     this.aClass423_618.method7206(new Class225_Sub27(var9), (long)var6);
                  } else if(2 == var7) {
                     String var11 = var1.readString((byte)-49);
                     this.aClass423_618.method7206(new ObjectVar(var11), (long)var6);
                  }
               }
            }
         }

      } else {
         throw new RuntimeException("" + var2);
      }
   }

   int method1367(int var1, boolean var2) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   int method1368(int var1, boolean var2) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   int method1369(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      int var8 = this.anIntArray623[var1];
      if((var8 & var7) == var2) {
         return -1;
      } else {
         var8 &= ~var7;
         this.anIntArray623[var1] = var8 | var2;
         return var1;
      }
   }

   public int method1370(String var1) {
      if(var1 != null && var1.length() != 0) {
         for(int var2 = 0; var2 < this.anInt605 * 663460431; ++var2) {
            if(this.aStringArray608[var2].equals(var1)) {
               return var2;
            }
         }

         return -1;
      } else {
         return -1;
      }
   }

   int method1371(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      int var8 = this.anIntArray623[var1];
      if((var8 & var7) == var2) {
         return -1;
      } else {
         var8 &= ~var7;
         this.anIntArray623[var1] = var8 | var2;
         return var1;
      }
   }

   int method1372(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      int var8 = this.anIntArray623[var1];
      if((var8 & var7) == var2) {
         return -1;
      } else {
         var8 &= ~var7;
         this.anIntArray623[var1] = var8 | var2;
         return var1;
      }
   }

   int method1373(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = var4 == 31?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      int var8 = this.anIntArray623[var1];
      if((var8 & var7) == var2) {
         return -1;
      } else {
         var8 &= ~var7;
         this.anIntArray623[var1] = var8 | var2;
         return var1;
      }
   }

   boolean method1374(int var1, int var2) {
      if(this.aClass423_618 != null) {
         Class225 var3 = this.aClass423_618.method7211((long)var1);
         if(null != var3) {
            if(var3 instanceof IntVar) {
               IntVar var4 = (IntVar)var3;
               if(var2 == var4.integer * 442885445) {
                  return false;
               }

               var4.integer = -1539119731 * var2;
               return true;
            }

            var3.method3857(-281965460);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new IntVar(var2), (long)var1);
      return true;
   }

   boolean method1375(int var1, int var2, int var3, int var4) {
      int var5 = (1 << var3) - 1;
      int var6 = 31 == var4?-1:(1 << var4 + 1) - 1;
      int var7 = var6 ^ var5;
      var2 <<= var3;
      var2 &= var7;
      if(this.aClass423_618 != null) {
         Class225 var8 = this.aClass423_618.method7211((long)var1);
         if(null != var8) {
            if(var8 instanceof IntVar) {
               IntVar var9 = (IntVar)var8;
               if(var2 == (442885445 * var9.integer & var7)) {
                  return false;
               }

               var9.integer = (var9.integer * 442885445 & ~var7) * -1539119731;
               var9.integer = (442885445 * var9.integer | var2) * -1539119731;
               return true;
            }

            var8.method3857(1373972984);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new IntVar(var2), (long)var1);
      return true;
   }

   void method1376(int var1) {
      if(this.anInt605 * 663460431 == 0) {
         this.anInt612 = -659249749;
         this.anInt613 = -1712980877;
      } else {
         this.anInt612 = -659249749;
         this.anInt613 = -1712980877;
         int var2 = 0;
         byte var3 = this.aByteArray607[0];

         for(int var4 = 1; var4 < 663460431 * this.anInt605; ++var4) {
            if(this.aByteArray607[var4] > var3) {
               if(125 == var3) {
                  this.anInt613 = var2 * 1712980877;
               }

               var2 = var4;
               var3 = this.aByteArray607[var4];
            } else if(-1 == this.anInt613 * 1003550533 && 125 == this.aByteArray607[var4]) {
               this.anInt613 = var4 * 1712980877;
            }
         }

         this.anInt612 = 659249749 * var2;
         if(-1 != this.anInt612 * -1699294467) {
            this.aByteArray607[-1699294467 * this.anInt612] = 126;
         }

      }
   }

   boolean method1377(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(-728066035);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   boolean method1378(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(842251753);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   boolean method1379(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(-1162812354);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   boolean method1380(int var1, long var2) {
      if(null != this.aClass423_618) {
         Class225 var4 = this.aClass423_618.method7211((long)var1);
         if(null != var4) {
            if(var4 instanceof Class225_Sub27) {
               Class225_Sub27 var5 = (Class225_Sub27)var4;
               if(var2 == var5.aLong8632 * 1315363211092247227L) {
                  return false;
               }

               var5.aLong8632 = var2 * -77815730348248461L;
               return true;
            }

            var4.method3857(323997343);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new Class225_Sub27(var2), (long)var1);
      return true;
   }

   public Integer method1381(int var1, byte var2) {
      if(this.aClass423_618 == null) {
         return null;
      } else {
         Class225 var3 = this.aClass423_618.method7211((long)var1);
         return var3 != null && var3 instanceof IntVar?new Integer(((IntVar)var3).integer * 442885445):null;
      }
   }

   boolean method1382(int var1, String var2) {
      if(null == var2) {
         var2 = "";
      } else if(var2.length() > 80) {
         var2 = var2.substring(0, 80);
      }

      if(this.aClass423_618 != null) {
         Class225 var3 = this.aClass423_618.method7211((long)var1);
         if(var3 != null) {
            if(var3 instanceof ObjectVar) {
               ObjectVar var4 = (ObjectVar)var3;
               if(var4.object instanceof String) {
                  if(var2.equals(var4.object)) {
                     return false;
                  }

                  var4.method3857(-1520589126);
                  this.aClass423_618.method7206(new ObjectVar(var2), var4.aLong2606 * -7222396723785363401L);
                  return true;
               }
            }

            var3.method3857(-1397385515);
         }
      } else {
         this.aClass423_618 = new Class423(4);
      }

      this.aClass423_618.method7206(new ObjectVar(var2), (long)var1);
      return true;
   }

   void method1383(RS2Buffer var1) {
      int var2 = var1.readUnsignedByte(-700559597);
      if(var2 >= 1 && var2 <= 6) {
         int var3 = var1.readUnsignedByte(-700559597);
         if((var3 & 1) != 0) {
            this.aBool594 = true;
         }

         if((var3 & 2) != 0) {
            this.aBool595 = true;
         }

         if(!this.aBool594) {
            this.aLongArray593 = null;
            this.aLongArray599 = null;
         }

         if(!this.aBool595) {
            this.aStringArray608 = null;
            this.aStringArray617 = null;
         }

         this.anInt597 = var1.readInt_(658544859) * 741748435;
         this.anInt602 = var1.readInt_(940492096) * -1705929461;
         if(var2 <= 3 && 0 != 828804771 * this.anInt602) {
            this.anInt602 += 318300640;
         }

         this.anInt605 = var1.readUnsignedShort(-937710807) * 2070494383;
         this.anInt610 = var1.readUnsignedByte(-700559597) * -2075132491;
         this.aString598 = var1.readString((byte)-89);
         if(var2 >= 4) {
            var1.readInt_(680690015);
         }

         this.aBool600 = var1.readUnsignedByte(-700559597) == 1;
         this.aByte601 = var1.readByte(65958503);
         this.aByte609 = var1.readByte(102008286);
         this.aByte603 = var1.readByte(238784360);
         this.aByte604 = var1.readByte(56206411);
         int var4;
         if(663460431 * this.anInt605 > 0) {
            if(this.aBool594 && (this.aLongArray593 == null || this.aLongArray593.length < 663460431 * this.anInt605)) {
               this.aLongArray593 = new long[663460431 * this.anInt605];
            }

            if(this.aBool595 && (this.aStringArray608 == null || this.aStringArray608.length < 663460431 * this.anInt605)) {
               this.aStringArray608 = new String[663460431 * this.anInt605];
            }

            if(null == this.aByteArray607 || this.aByteArray607.length < this.anInt605 * 663460431) {
               this.aByteArray607 = new byte[663460431 * this.anInt605];
            }

            if(null == this.anIntArray623 || this.anIntArray623.length < 663460431 * this.anInt605) {
               this.anIntArray623 = new int[663460431 * this.anInt605];
            }

            if(this.anIntArray615 == null || this.anIntArray615.length < 663460431 * this.anInt605) {
               this.anIntArray615 = new int[this.anInt605 * 663460431];
            }

            if(null == this.aBoolArray614 || this.aBoolArray614.length < this.anInt605 * 663460431) {
               this.aBoolArray614 = new boolean[663460431 * this.anInt605];
            }

            for(var4 = 0; var4 < this.anInt605 * 663460431; ++var4) {
               if(this.aBool594) {
                  this.aLongArray593[var4] = var1.method13729((byte)126);
               }

               if(this.aBool595) {
                  this.aStringArray608[var4] = var1.method13710(-2059692335);
               }

               this.aByteArray607[var4] = var1.readByte(-85046155);
               if(var2 >= 2) {
                  this.anIntArray623[var4] = var1.readInt_(-1317227061);
               }

               if(var2 >= 5) {
                  this.anIntArray615[var4] = var1.readUnsignedShort(-937710807);
               } else {
                  this.anIntArray615[var4] = 0;
               }

               if(var2 >= 6) {
                  this.aBoolArray614[var4] = var1.readUnsignedByte(-700559597) == 1;
               } else {
                  this.aBoolArray614[var4] = false;
               }
            }

            this.method1376(664949242);
         }

         if(this.anInt610 * -1085486947 > 0) {
            if(this.aBool594 && (null == this.aLongArray599 || this.aLongArray599.length < -1085486947 * this.anInt610)) {
               this.aLongArray599 = new long[-1085486947 * this.anInt610];
            }

            if(this.aBool595 && (this.aStringArray617 == null || this.aStringArray617.length < -1085486947 * this.anInt610)) {
               this.aStringArray617 = new String[-1085486947 * this.anInt610];
            }

            for(var4 = 0; var4 < -1085486947 * this.anInt610; ++var4) {
               if(this.aBool594) {
                  this.aLongArray599[var4] = var1.method13729((byte)54);
               }

               if(this.aBool595) {
                  this.aStringArray617[var4] = var1.method13710(-1977601366);
               }
            }
         }

         if(var2 >= 3) {
            var4 = var1.readUnsignedShort(-937710807);
            if(var4 > 0) {
               this.aClass423_618 = new Class423(var4 < 16?Class468.method7880(var4, (byte)-76):16);

               while(var4-- > 0) {
                  int var5 = var1.readInt_(173863184);
                  int var6 = var5 & 1073741823;
                  int var7 = var5 >>> 30;
                  if(var7 == 0) {
                     int var8 = var1.readInt_(-1102534618);
                     this.aClass423_618.method7206(new IntVar(var8), (long)var6);
                  } else if(1 == var7) {
                     long var9 = var1.method13729((byte)5);
                     this.aClass423_618.method7206(new Class225_Sub27(var9), (long)var6);
                  } else if(2 == var7) {
                     String var11 = var1.readString((byte)-6);
                     this.aClass423_618.method7206(new ObjectVar(var11), (long)var6);
                  }
               }
            }
         }

      } else {
         throw new RuntimeException("" + var2);
      }
   }

   void method1384() {
      if(this.anInt605 * 663460431 == 0) {
         this.anInt612 = -659249749;
         this.anInt613 = -1712980877;
      } else {
         this.anInt612 = -659249749;
         this.anInt613 = -1712980877;
         int var1 = 0;
         byte var2 = this.aByteArray607[0];

         for(int var3 = 1; var3 < 663460431 * this.anInt605; ++var3) {
            if(this.aByteArray607[var3] > var2) {
               if(125 == var2) {
                  this.anInt613 = var1 * 1712980877;
               }

               var1 = var3;
               var2 = this.aByteArray607[var3];
            } else if(-1 == this.anInt613 * 1003550533 && 125 == this.aByteArray607[var3]) {
               this.anInt613 = var3 * 1712980877;
            }
         }

         this.anInt612 = 659249749 * var1;
         if(-1 != this.anInt612 * -1699294467) {
            this.aByteArray607[-1699294467 * this.anInt612] = 126;
         }

      }
   }

   int method1385(int var1, boolean var2, int var3) {
      if(this.aBoolArray614[var1] == var2) {
         return -1;
      } else {
         this.aBoolArray614[var1] = var2;
         return var1;
      }
   }

   static final void method1386(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, 2090516525);
      Class121 var4 = Class18.aClass121Array188[var2 >> 16];
      Class118_Sub18.method13227(var3, var4, var0, 327663483);
   }

   static final void method1387(Class508 var0, byte var1) {
      if(Class446.aBool5570 && Class254.aFrame3020 != null) {
         Class298.method5373(Class500.aClass225_Sub6_5953.aClass463_Sub17_8491.method12946((byte)3), -1, -1, false, 790150562);
      }

      if(Class178.method3161(-1939532347) == Class283.aClass283_3329) {
         Class390.method6699(-1997729252);
         System.exit(0);
      } else {
         Class533.method11225(-314763653);
      }

   }

   static final void method1388(Class508 var0, int var1) {
      var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = var0.aClass64_5997.aString598;
   }

   public static Class51 method1389(int var0, int var1) {
      return -651682503 * Class51.aClass51_513.anInt515 == var0?Class51.aClass51_513:(Class51.aClass51_514.anInt515 * -651682503 == var0?Class51.aClass51_514:null);
   }

   static final void method1390(Class508 var0, int var1) {
      var0.anInt6005 -= -46848683;
   }

   static final void method1391(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class567 var3 = Class225_Sub21_Sub2.aClass555_10072.method11836(var2, 906433430);
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var3.anInt7513 * 478735571;
   }

   static final void method1392(Class508 var0, byte var1) {
      var0.anInt6003 -= 196624946;
      client.aShort7915 = (short)var0.anIntArray6027[var0.anInt6003 * -937710807];
      if(client.aShort7915 <= 0) {
         client.aShort7915 = 256;
      }

      client.aShort7916 = (short)var0.anIntArray6027[-937710807 * var0.anInt6003 + 1];
      if(client.aShort7916 <= 0) {
         client.aShort7916 = 205;
      }

   }

   public static boolean method1393(int var0) {
      return Class313.aBool3965;
   }
}
