import java.math.BigInteger;
import java.util.Queue;

public class RS2Buffer extends Class225 {

   public static final int anInt8608 = 100;
   public static final int anInt8609 = 5000;
   static final long aLong8610 = -3932672073523589310L;
   public int position;
   static int[] anIntArray8612 = new int[256];
   static final int anInt8613 = -306674912;
   public byte[] buffer;
   public static long[] aLongArray8615;


   public String method13699() {
      byte var1 = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      if(var1 != 0) {
         throw new IllegalStateException("");
      } else {
         int var2 = -543666943 * this.position;

         while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
            ;
         }

         int var3 = this.position * -543666943 - var2 - 1;
         return var3 == 0?"":Class452.method7588(this.buffer, var2, var3, -11960222);
      }
   }

   public static int method13700(byte[] var0, int var1) {
      return Class121.method2351(var0, 0, var1, 2134782005);
   }

   public void writeByteC(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(0 - var1);
   }

   public void writeByte(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13703(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13704(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13705(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void writeInt(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13707(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13708(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public long method13709(int var1) {
      long var2 = (long)this.method13727(1191566540) & 4294967295L;
      long var4 = (long)this.method13727(1660589324) & 4294967295L;
      return var2 + (var4 << 32);
   }

   public String method13710(int var1) {
      if(this.buffer[-543666943 * this.position] == 0) {
         this.position += 1385214721;
         return null;
      } else {
         return this.readString((byte)-12);
      }
   }

   public void writeString(String var1, byte var2) {
      int var3 = var1.indexOf(0);
      if(var3 >= 0) {
         if(var2 <= 16) {
            ;
         }

         throw new IllegalArgumentException("");
      } else {
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, this.position * -543666943, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public void method13712(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int method13713() {
      return this.buffer[this.position * -543666943] < 0?this.readInt_(1147828438) & Integer.MAX_VALUE:this.readUnsignedShort(-937710807);
   }

   public void method13714(byte[] var1, int var2, int var3, int var4) {
      for(int var5 = var2; var5 < var3 + var2; ++var5) {
         if(var4 >= -56063173) {
            ;
         }

         this.buffer[(this.position += 1385214721) * -543666943 - 1] = var1[var5];
      }

   }

   public void method13715(int var1, byte var2) {
      this.buffer[this.position * -543666943 - var1 - 4] = (byte)(var1 >> 24);
      this.buffer[-543666943 * this.position - var1 - 3] = (byte)(var1 >> 16);
      this.buffer[this.position * -543666943 - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13716(int var1, short var2) {
      this.buffer[-543666943 * this.position - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[-543666943 * this.position - var1 - 1] = (byte)var1;
   }

   public void method13717(int var1, int var2) {
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13718(int var1, byte var2) {
      if(var1 >= 0 && var1 < 128) {
         this.writeByte(var1, -765864773);
      } else if(var1 >= 0 && var1 < '\u8000') {
         this.writeShort(var1 + '\u8000', 631042229);
      } else {
         throw new IllegalArgumentException();
      }
   }

   public byte method13719() {
      return (byte)(0 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public int readUnsignedByte(int var1) {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public byte readByte(int var1) {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1];
   }

   public int readUnsignedShort(int var1) {
      this.position += -1524537854;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public byte readByteC(int var1) {
      return (byte)(0 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public int method13724() {
      int var1 = 0;

      int var2;
      for(var2 = this.readSmart(573730012); var2 == 32767; var2 = this.readSmart(303582508)) {
         var1 += 32767;
      }

      var1 += var2;
      return var1;
   }

   static int method13725(byte[] var0, int var1, int var2) {
      int var3 = -1;

      for(int var4 = var1; var4 < var2; ++var4) {
         var3 = var3 >>> 8 ^ anIntArray8612[(var3 ^ var0[var4]) & 255];
      }

      var3 = ~var3;
      return var3;
   }

   public int readInt_(int var1) {
      this.position += 1245891588;
      return ((this.buffer[-543666943 * this.position - 2] & 255) << 8) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 4] & 255) << 24) + (this.buffer[this.position * -543666943 - 1] & 255);
   }

   public int method13727(int var1) {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 4] & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 16) + ((this.buffer[this.position * -543666943 - 1] & 255) << 24) + ((this.buffer[-543666943 * this.position - 3] & 255) << 8);
   }

   public void writeInt1(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public long method13729(byte var1) {
      long var2 = (long)this.readInt_(1049324347) & 4294967295L;
      long var4 = (long)this.readInt_(-1614763853) & 4294967295L;
      return var4 + (var2 << 32);
   }

   public int method13730() {
      this.position += -1524537854;
      return ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
   }

   public long method13731(int var1, byte var2) {
      --var1;
      if(var1 >= 0 && var1 <= 7) {
         int var3 = var1 * 8;

         long var4;
         for(var4 = 0L; var3 >= 0; var3 -= 8) {
            var4 |= ((long)this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255L) << var3;
         }

         return var4;
      } else {
         throw new IllegalArgumentException();
      }
   }

   public int method13732(int var1) {
      this.position += -1524537854;
      int var2 = ((this.buffer[-543666943 * this.position - 2] & 255) << 8) + (this.buffer[-543666943 * this.position - 1] & 255);
      if(var2 > 32767) {
         var2 -= 65536;
      }

      return var2;
   }

   public int method13733() {
      int var1 = 0;

      int var2;
      for(var2 = this.readSmart(236758998); var2 == 32767; var2 = this.readSmart(350682110)) {
         var1 += 32767;
      }

      var1 += var2;
      return var1;
   }

   public int method13734(int var1) {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 2] & 255) + ((this.buffer[this.position * -543666943 - 1] & 255) << 8) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16);
   }

   public void method13735(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13736(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 - var1);
   }

   public void method13737(byte[] var1, int var2, int var3, int var4) {
      for(int var5 = var2; var5 < var2 + var3; ++var5) {
         var1[var5] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public int method13738(int var1) {
      int var2 = this.buffer[this.position * -543666943] & 255;
      if(var2 < 128) {
         if(var1 == 1612708750) {
            ;
         }

         return this.readUnsignedByte(-700559597) - 64;
      } else {
         return this.readUnsignedShort(-937710807) - '\uc000';
      }
   }

   public int readSmart(int var1) {
      int var2 = this.buffer[-543666943 * this.position] & 255;
      if(var2 < 128) {
         if(var1 <= -205434575) {
            ;
         }

         return this.readUnsignedByte(-700559597);
      } else {
         return this.readUnsignedShort(-937710807) - '\u8000';
      }
   }

   public int method13740(int var1) {
      int var2 = this.buffer[this.position * -543666943] & 255;
      return var2 < 128?this.readUnsignedByte(-700559597) - 1:this.readUnsignedShort(-937710807) - '\u8001';
   }

   public void method13741(long var1, int var3, int var4) {
      --var3;
      if(var3 >= 0 && var3 <= 7) {
         for(int var5 = var3 * 8; var5 >= 0; var5 -= 8) {
            this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> var5));
         }

      } else {
         throw new IllegalArgumentException();
      }
   }

   public int method13742(int var1) {
      return this.buffer[this.position * -543666943] < 0?this.readInt_(1619069979) & Integer.MAX_VALUE:this.readUnsignedShort(-937710807);
   }

   public void method13743(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
   }

   public int method13744(int var1) {
      byte var2 = this.buffer[(this.position += 1385214721) * -543666943 - 1];

      int var3;
      for(var3 = 0; var2 < 0; var2 = this.buffer[(this.position += 1385214721) * -543666943 - 1]) {
         var3 = (var3 | var2 & 127) << 7;
      }

      return var3 | var2;
   }

   public void method13745(int[] var1, int var2) {
      int var3 = -543666943 * this.position / 8;
      this.position = 0;

      for(int var4 = 0; var4 < var3; ++var4) {
         if(var2 == -1648987949) {
            ;
         }

         int var5 = this.readInt_(-952730457);
         int var6 = this.readInt_(1282035141);
         int var7 = -957401312;
         int var8 = -1640531527;

         for(int var9 = 32; var9-- > 0; var5 -= var6 + (var6 << 4 ^ var6 >>> 5) ^ var1[var7 & 3] + var7) {
            if(var2 == -1648987949) {
               ;
            }

            var6 -= var5 + (var5 << 4 ^ var5 >>> 5) ^ var1[var7 >>> 11 & 3] + var7;
            var7 -= var8;
         }

         this.position -= -1803184120;
         this.writeInt(var5, -658157039);
         this.writeInt(var6, -1389323913);
      }

   }

   public RS2Buffer(byte[] var1) {
      this.buffer = var1;
      this.position = 0;
   }

   public void method13746(int[] var1, int var2, int var3, byte var4) {
      int var5 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var6 = (var3 - var2) / 8;

      for(int var7 = 0; var7 < var6; ++var7) {
         int var8 = this.readInt_(-1808633234);
         int var9 = this.readInt_(-21259835);
         int var10 = -957401312;
         int var11 = -1640531527;

         for(int var12 = 32; var12-- > 0; var8 -= (var9 << 4 ^ var9 >>> 5) + var9 ^ var1[var10 & 3] + var10) {
            var9 -= (var8 << 4 ^ var8 >>> 5) + var8 ^ var1[var10 >>> 11 & 3] + var10;
            var10 -= var11;
         }

         this.position -= -1803184120;
         this.writeInt(var8, -1999967009);
         this.writeInt(var9, -1267620599);
      }

      this.position = 1385214721 * var5;
   }

   public void method13747(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public static int method13748(byte[] var0, int var1) {
      return Class121.method2351(var0, 0, var1, 2040125911);
   }

   public void method13749(CharSequence var1) {
      int var2 = Class207.method3545(var1, (byte)38);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      this.method13938(var2, 2118333813);
      this.position += Class260.method4664(this.buffer, -543666943 * this.position, var1, (byte)11) * 1385214721;
   }

   public long method13750(int var1) {
      long var2 = (long)this.readUnsignedByte(-700559597) & 4294967295L;
      long var4 = (long)this.readInt_(671392740) & 4294967295L;
      return (var2 << 32) + var4;
   }

   public String method13751() {
      byte var1 = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      if(var1 != 0) {
         throw new IllegalStateException("");
      } else {
         int var2 = -543666943 * this.position;

         while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
            ;
         }

         int var3 = this.position * -543666943 - var2 - 1;
         return var3 == 0?"":Class452.method7588(this.buffer, var2, var3, -11960222);
      }
   }

   public int method13752() {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public int readUnsignedByteA(int var1) {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128 & 255;
   }

   public void method13754(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int readUnsignedByteS(int var1) {
      return 128 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public byte readByteA(byte var1) {
      return (byte)(this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128);
   }

   public int method13757() {
      this.position += -139323133;
      int var1 = (this.buffer[-543666943 * this.position - 1] & 255) + ((this.buffer[-543666943 * this.position - 3] & 255) << 16) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var1 > 8388607) {
         var1 -= 16777216;
      }

      return var1;
   }

   public void method13758(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13759(byte var1) {
      if(null != this.buffer) {
         if(var1 >= 1) {
            return;
         }

         Class223.method3838(this.buffer, 2132551444);
      }

      this.buffer = null;
   }

   public void writeShortA(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public int method13761() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128 & 255;
   }

   public int readUnsignedLEShort(int var1) {
      this.position += -1524537854;
      return ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[-543666943 * this.position - 2] & 255);
   }

   public int readUnsignedShortA(byte var1) {
      this.position += -1524537854;
      return ((this.buffer[this.position * -543666943 - 2] & 255) << 8) + (this.buffer[this.position * -543666943 - 1] - 128 & 255);
   }

   public int readUnsignedLEShortA(int var1) {
      this.position += -1524537854;
      return ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
   }

   public int method13765(int var1, int var2) {
      int var3 = Class121.method2351(this.buffer, var1, -543666943 * this.position, 2069919434);
      this.writeInt(var3, -794798749);
      return var3;
   }

   public int method13766(int var1) {
      this.position += -1524537854;
      int var2 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var2 > 32767) {
         var2 -= 65536;
      }

      return var2;
   }

   public void method13767(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public void method13768(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int method13769(int var1) {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public int method13770(int var1) {
      this.position += -139323133;
      int var2 = (this.buffer[-543666943 * this.position - 1] & 255) + ((this.buffer[-543666943 * this.position - 3] & 255) << 16) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var2 > 8388607) {
         if(var1 <= 170913830) {
            ;
         }

         var2 -= 16777216;
      }

      return var2;
   }

   public void writeLEInt(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public byte readByteS(byte var1) {
      return (byte)(128 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public void writeInt2(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int readLEInt(byte var1) {
      this.position += 1245891588;
      return ((this.buffer[this.position * -543666943 - 3] & 255) << 8) + ((this.buffer[this.position * -543666943 - 2] & 255) << 16) + ((this.buffer[-543666943 * this.position - 1] & 255) << 24) + (this.buffer[-543666943 * this.position - 4] & 255);
   }

   public int readInt1(byte var1) {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 24) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[this.position * -543666943 - 4] & 255) << 8);
   }

   public int readInt2(byte var1) {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 2] & 255) + ((this.buffer[this.position * -543666943 - 1] & 255) << 8) + ((this.buffer[this.position * -543666943 - 4] & 255) << 16) + ((this.buffer[this.position * -543666943 - 3] & 255) << 24);
   }

   public void writeReversed(byte[] var1, int offset, int length, int var4) {
      for(int pos = length + offset - 1; pos >= offset; --pos) {
         var1[pos] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public void method13778(long var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 32));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 24));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 16));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 8));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)var1);
   }

   static int method13779(byte[] var0, int var1, int var2) {
      int var3 = -1;

      for(int var4 = var1; var4 < var2; ++var4) {
         var3 = var3 >>> 8 ^ anIntArray8612[(var3 ^ var0[var4]) & 255];
      }

      var3 = ~var3;
      return var3;
   }

   public void method13780(int var1) {
      if(var1 >= 0 && var1 < 128) {
         this.writeByte(var1, -765864773);
      } else if(var1 >= 0 && var1 < '\u8000') {
         this.writeShort(var1 + '\u8000', -379011123);
      } else {
         throw new IllegalArgumentException();
      }
   }

   static int method13781(byte[] var0, int var1, int var2) {
      int var3 = -1;

      for(int var4 = var1; var4 < var2; ++var4) {
         var3 = var3 >>> 8 ^ anIntArray8612[(var3 ^ var0[var4]) & 255];
      }

      var3 = ~var3;
      return var3;
   }

   public int method13782(int var1) {
      int var2 = Class121.method2351(this.buffer, var1, -543666943 * this.position, 1962860485);
      this.writeInt(var2, -1334037397);
      return var2;
   }

   public static int method13783(byte[] var0, int var1) {
      return Class121.method2351(var0, 0, var1, 2012386779);
   }

   public static int method13784(String var0) {
      return var0.length() + 1;
   }

   public void method13785() {
      if(null != this.buffer) {
         Class223.method3838(this.buffer, 2119438237);
      }

      this.buffer = null;
   }

   public void method13786() {
      if(null != this.buffer) {
         Class223.method3838(this.buffer, 2124359870);
      }

      this.buffer = null;
   }

   public void method13787() {
      if(null != this.buffer) {
         Class223.method3838(this.buffer, 2118942789);
      }

      this.buffer = null;
   }

   public int method13788() {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public void method13789(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13790(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13791(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13792(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public static int method13793(String var0) {
      return var0.length() + 1;
   }

   public void method13794(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13795(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13796(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void writeLEShortA(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int method13798() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public void method13799(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void writeShort(int var1, int var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13801(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13802(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13803(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13804(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13805(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 - var1);
   }

   public void method13806(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public void method13807(long var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 56));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 48));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 40));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 32));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 24));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 16));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 8));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)var1);
   }

   public void method13808(long var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 56));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 48));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 40));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 32));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 24));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 16));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 8));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)var1);
   }

   public void method13809(long var1, int var3) {
      --var3;
      if(var3 >= 0 && var3 <= 7) {
         for(int var4 = var3 * 8; var4 >= 0; var4 -= 8) {
            this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> var4));
         }

      } else {
         throw new IllegalArgumentException();
      }
   }

   public static int method13810(String var0) {
      return var0.length() + 1;
   }

   public int method13811() {
      byte var1 = this.buffer[(this.position += 1385214721) * -543666943 - 1];

      int var2;
      for(var2 = 0; var1 < 0; var1 = this.buffer[(this.position += 1385214721) * -543666943 - 1]) {
         var2 = (var2 | var1 & 127) << 7;
      }

      return var2 | var1;
   }

   public static int method13812(String var0) {
      return var0.length() + 1;
   }

   public int method13813() {
      int var1 = 0;

      int var2;
      for(var2 = this.readSmart(1012800732); var2 == 32767; var2 = this.readSmart(1735542627)) {
         var1 += 32767;
      }

      var1 += var2;
      return var1;
   }

   public void method13814(String var1) {
      int var2 = var1.indexOf(0);
      if(var2 >= 0) {
         throw new IllegalArgumentException("");
      } else {
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, this.position * -543666943, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public void method13815(String var1) {
      int var2 = var1.indexOf(0);
      if(var2 >= 0) {
         throw new IllegalArgumentException("");
      } else {
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, this.position * -543666943, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public void method13816(String var1) {
      int var2 = var1.indexOf(0);
      if(var2 >= 0) {
         throw new IllegalArgumentException("");
      } else {
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, -543666943 * this.position, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public String method13817(short var1) {
      byte var2 = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      if(var2 != 0) {
         throw new IllegalStateException("");
      } else {
         int var3 = this.method13744(113260868);
         if(-543666943 * this.position + var3 > this.buffer.length) {
            throw new IllegalStateException("");
         } else {
            String var4 = Class225_Sub50.method14253(this.buffer, this.position * -543666943, var3, -948723940);
            this.position += var3 * 1385214721;
            return var4;
         }
      }
   }

   public void writeLong(long var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 56));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 48));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 40));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 32));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 24));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 16));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 8));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)var1);
   }

   public void method13819(CharSequence var1) {
      int var2 = Class207.method3545(var1, (byte)66);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      this.method13938(var2, 1960946762);
      this.position += Class260.method4664(this.buffer, -543666943 * this.position, var1, (byte)44) * 1385214721;
   }

   public int method13820() {
      int var1 = this.buffer[-543666943 * this.position] & 255;
      return var1 < 128?this.readUnsignedByte(-700559597):this.readUnsignedShort(-937710807) - '\u8000';
   }

   public void method13821(byte[] var1, int var2, int var3) {
      for(int var4 = var2; var4 < var3 + var2; ++var4) {
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = var1[var4];
      }

   }

   public void method13822(byte[] var1, int var2, int var3) {
      for(int var4 = var2; var4 < var3 + var2; ++var4) {
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = var1[var4];
      }

   }

   public void method13823(int var1) {
      this.buffer[this.position * -543666943 - var1 - 4] = (byte)(var1 >> 24);
      this.buffer[-543666943 * this.position - var1 - 3] = (byte)(var1 >> 16);
      this.buffer[this.position * -543666943 - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13824(int var1) {
      this.buffer[this.position * -543666943 - var1 - 4] = (byte)(var1 >> 24);
      this.buffer[-543666943 * this.position - var1 - 3] = (byte)(var1 >> 16);
      this.buffer[this.position * -543666943 - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13825(int[] var1, int var2, int var3, int var4) {
      int var5 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var6 = (var3 - var2) / 8;

      for(int var7 = 0; var7 < var6; ++var7) {
         int var8 = this.readInt_(-1987282020);
         int var9 = this.readInt_(-1659371972);
         int var10 = 0;
         int var11 = -1640531527;

         for(int var12 = 32; var12-- > 0; var9 += var8 + (var8 << 4 ^ var8 >>> 5) ^ var10 + var1[var10 >>> 11 & 3]) {
            var8 += (var9 << 4 ^ var9 >>> 5) + var9 ^ var10 + var1[var10 & 3];
            var10 += var11;
         }

         this.position -= -1803184120;
         this.writeInt(var8, -82735996);
         this.writeInt(var9, -231966245);
      }

      this.position = 1385214721 * var5;
   }

   public void method13826(int var1) {
      this.buffer[this.position * -543666943 - var1 - 4] = (byte)(var1 >> 24);
      this.buffer[-543666943 * this.position - var1 - 3] = (byte)(var1 >> 16);
      this.buffer[this.position * -543666943 - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13827(int var1) {
      this.buffer[-543666943 * this.position - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[-543666943 * this.position - var1 - 1] = (byte)var1;
   }

   public void method13828(int var1) {
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13829(int var1) {
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public void method13830(int var1) {
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public int method13831() {
      this.position += -1524537854;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public void method13832(int var1) {
      if(var1 >= 0 && var1 < 128) {
         this.writeByte(var1, -765864773);
      } else if(var1 >= 0 && var1 < '\u8000') {
         this.writeShort(var1 + '\u8000', 471005660);
      } else {
         throw new IllegalArgumentException();
      }
   }

   public void method13833(int var1) {
      if((var1 & -128) != 0) {
         if(0 != (var1 & -16384)) {
            if((var1 & -2097152) != 0) {
               if(0 != (var1 & -268435456)) {
                  this.writeByte(var1 >>> 28 | 128, -765864773);
               }

               this.writeByte(var1 >>> 21 | 128, -765864773);
            }

            this.writeByte(var1 >>> 14 | 128, -765864773);
         }

         this.writeByte(var1 >>> 7 | 128, -765864773);
      }

      this.writeByte(var1 & 127, -765864773);
   }

   public void method13834(int var1) {
      if((var1 & -128) != 0) {
         if(0 != (var1 & -16384)) {
            if((var1 & -2097152) != 0) {
               if(0 != (var1 & -268435456)) {
                  this.writeByte(var1 >>> 28 | 128, -765864773);
               }

               this.writeByte(var1 >>> 21 | 128, -765864773);
            }

            this.writeByte(var1 >>> 14 | 128, -765864773);
         }

         this.writeByte(var1 >>> 7 | 128, -765864773);
      }

      this.writeByte(var1 & 127, -765864773);
   }

   public int method13835() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public float method13836(int var1) {
      return Float.intBitsToFloat(this.readInt_(-99793494));
   }

   public int method13837() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public void encryptRSA(BigInteger var1, BigInteger var2, int var3) {
      int var4 = -543666943 * this.position;
      this.position = 0;
      byte[] var5 = new byte[var4];
      this.method13737(var5, 0, var4, 1385214721);
      BigInteger var6 = new BigInteger(var5);
      BigInteger var7 = var6.modPow(var1, var2);
      byte[] var8 = var7.toByteArray();
      this.position = 0;
      this.writeShort(var8.length, -1407400271);
      this.method13714(var8, 0, var8.length, -828168828);
   }

   public byte method13839() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1];
   }

   public int method13840() {
      this.position += -1524537854;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public long method13841() {
      long var1 = (long)this.method13727(-1635320600) & 4294967295L;
      long var3 = (long)this.method13727(-1455429536) & 4294967295L;
      return var1 + (var3 << 32);
   }

   public int method13842() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 2] & 255) << 8) + (this.buffer[-543666943 * this.position - 1] & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13843() {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public void writeLEShort(int var1, byte var2) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int method13845() {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public int method13846() {
      this.position += -139323133;
      int var1 = (this.buffer[-543666943 * this.position - 1] & 255) + ((this.buffer[-543666943 * this.position - 3] & 255) << 16) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var1 > 8388607) {
         var1 -= 16777216;
      }

      return var1;
   }

   public int method13847() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 24) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[this.position * -543666943 - 4] & 255) << 8);
   }

   public int method13848() {
      this.position += -139323133;
      int var1 = (this.buffer[-543666943 * this.position - 1] & 255) + ((this.buffer[-543666943 * this.position - 3] & 255) << 16) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var1 > 8388607) {
         var1 -= 16777216;
      }

      return var1;
   }

   public int method13849() {
      this.position += 1245891588;
      return ((this.buffer[-543666943 * this.position - 2] & 255) << 8) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 4] & 255) << 24) + (this.buffer[this.position * -543666943 - 1] & 255);
   }

   public int method13850() {
      this.position += 1245891588;
      return ((this.buffer[-543666943 * this.position - 2] & 255) << 8) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 4] & 255) << 24) + (this.buffer[this.position * -543666943 - 1] & 255);
   }

   public int method13851() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 4] & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 16) + ((this.buffer[this.position * -543666943 - 1] & 255) << 24) + ((this.buffer[-543666943 * this.position - 3] & 255) << 8);
   }

   public int method13852() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 4] & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 16) + ((this.buffer[this.position * -543666943 - 1] & 255) << 24) + ((this.buffer[-543666943 * this.position - 3] & 255) << 8);
   }

   public int method13853() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 4] & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 16) + ((this.buffer[this.position * -543666943 - 1] & 255) << 24) + ((this.buffer[-543666943 * this.position - 3] & 255) << 8);
   }

   public long method13854() {
      long var1 = (long)this.readUnsignedByte(-700559597) & 4294967295L;
      long var3 = (long)this.readInt_(-1615480359) & 4294967295L;
      return (var1 << 32) + var3;
   }

   public long method13855() {
      long var1 = (long)this.readUnsignedByte(-700559597) & 4294967295L;
      long var3 = (long)this.readInt_(-457125135) & 4294967295L;
      return (var1 << 32) + var3;
   }

   public void method13856(int var1) {
      this.buffer[this.position * -543666943 - var1 - 4] = (byte)(var1 >> 24);
      this.buffer[-543666943 * this.position - var1 - 3] = (byte)(var1 >> 16);
      this.buffer[this.position * -543666943 - var1 - 2] = (byte)(var1 >> 8);
      this.buffer[this.position * -543666943 - var1 - 1] = (byte)var1;
   }

   public int readTriByte(int var1) {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 1] & 255) + ((this.buffer[this.position * -543666943 - 3] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public long method13858() {
      long var1 = (long)this.method13727(617738700) & 4294967295L;
      long var3 = (long)this.method13727(2084594961) & 4294967295L;
      return var1 + (var3 << 32);
   }

   public float method13859() {
      return Float.intBitsToFloat(this.readInt_(1561403131));
   }

   public float method13860() {
      return Float.intBitsToFloat(this.readInt_(1460009307));
   }

   public float method13861() {
      return Float.intBitsToFloat(this.readInt_(-140155592));
   }

   public float method13862() {
      return Float.intBitsToFloat(this.readInt_(1266186843));
   }

   public String readString(byte var1) {
      int var2 = this.position * -543666943;

      while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
         ;
      }

      int var3 = this.position * -543666943 - var2 - 1;
      String s = var3 == 0?"":Class452.method7588(this.buffer, var2, var3, -11960222);
      return s;
   }

   public String method13864() {
      if(this.buffer[-543666943 * this.position] == 0) {
         this.position += 1385214721;
         return null;
      } else {
         return this.readString((byte)-3);
      }
   }

   public RS2Buffer(int var1) {
      this.buffer = Class480.method8080(var1, -159168471);
      this.position = 0;
   }

   public String method13865() {
      if(this.buffer[-543666943 * this.position] == 0) {
         this.position += 1385214721;
         return null;
      } else {
         return this.readString((byte)-71);
      }
   }

   public String method13866() {
      int var1 = this.position * -543666943;

      while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
         ;
      }

      int var2 = this.position * -543666943 - var1 - 1;
      return var2 == 0?"":Class452.method7588(this.buffer, var1, var2, -11960222);
   }

   public String method13867() {
      if(this.buffer[-543666943 * this.position] == 0) {
         this.position += 1385214721;
         return null;
      } else {
         return this.readString((byte)86);
      }
   }

   public String method13868() {
      int var1 = this.position * -543666943;

      while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
         ;
      }

      int var2 = this.position * -543666943 - var1 - 1;
      return var2 == 0?"":Class452.method7588(this.buffer, var1, var2, -11960222);
   }

   public String method13869() {
      int var1 = this.position * -543666943;

      while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
         ;
      }

      int var2 = this.position * -543666943 - var1 - 1;
      return var2 == 0?"":Class452.method7588(this.buffer, var1, var2, -11960222);
   }

   public void method13870(String var1) {
      int var2 = var1.indexOf(0);
      if(var2 >= 0) {
         throw new IllegalArgumentException("");
      } else {
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, -543666943 * this.position, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public void method13871(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13872(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13873(byte[] var1, int var2, int var3) {
      for(int var4 = var2; var4 < var2 + var3; ++var4) {
         var1[var4] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public void method13874(byte[] var1, int var2, int var3) {
      for(int var4 = var2; var4 < var2 + var3; ++var4) {
         var1[var4] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public int method13875() {
      int var1 = this.buffer[this.position * -543666943] & 255;
      return var1 < 128?this.readUnsignedByte(-700559597) - 64:this.readUnsignedShort(-937710807) - '\uc000';
   }

   public void method13876(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public int method13877() {
      int var1 = this.buffer[-543666943 * this.position] & 255;
      return var1 < 128?this.readUnsignedByte(-700559597):this.readUnsignedShort(-937710807) - '\u8000';
   }

   public int method13878() {
      return this.buffer[this.position * -543666943] < 0?this.readInt_(116749148) & Integer.MAX_VALUE:this.readUnsignedShort(-937710807);
   }

   public void method13879(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public String method13880() {
      if(this.buffer[-543666943 * this.position] == 0) {
         this.position += 1385214721;
         return null;
      } else {
         return this.readString((byte)15);
      }
   }

   public long method13881() {
      long var1 = (long)this.method13727(-1489770647) & 4294967295L;
      long var3 = (long)this.method13727(-42107648) & 4294967295L;
      return var1 + (var3 << 32);
   }

   public void method13882(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public int readUnsignedByteC(int var1) {
      return 0 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int readLargeSmart(int var1) {
      if(this.buffer[-543666943 * this.position] < 0) {
         return this.readInt_(-667759788) & Integer.MAX_VALUE;
      } else {
         int var2 = this.readUnsignedShort(-937710807);
         return var2 == 32767?-1:var2;
      }
   }

   public int method13885() {
      return 128 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public void method13886(int[] var1, int var2, int var3) {
      int var4 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var5 = (var3 - var2) / 8;

      for(int var6 = 0; var6 < var5; ++var6) {
         int var7 = this.readInt_(1021094066);
         int var8 = this.readInt_(1336079979);
         int var9 = 0;
         int var10 = -1640531527;

         for(int var11 = 32; var11-- > 0; var8 += var7 + (var7 << 4 ^ var7 >>> 5) ^ var9 + var1[var9 >>> 11 & 3]) {
            var7 += (var8 << 4 ^ var8 >>> 5) + var8 ^ var9 + var1[var9 & 3];
            var9 += var10;
         }

         this.position -= -1803184120;
         this.writeInt(var7, -2074033385);
         this.writeInt(var8, -626416262);
      }

      this.position = 1385214721 * var4;
   }

   public boolean method13887(int var1) {
      this.position -= 1245891588;
      int var2 = Class121.method2351(this.buffer, 0, -543666943 * this.position, 2102669271);
      int var3 = this.readInt_(-243925355);
      return var3 == var2;
   }

   public void method13888(int[] var1, int var2, int var3) {
      int var4 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var5 = (var3 - var2) / 8;

      for(int var6 = 0; var6 < var5; ++var6) {
         int var7 = this.readInt_(-464327937);
         int var8 = this.readInt_(154452644);
         int var9 = -957401312;
         int var10 = -1640531527;

         for(int var11 = 32; var11-- > 0; var7 -= (var8 << 4 ^ var8 >>> 5) + var8 ^ var1[var9 & 3] + var9) {
            var8 -= (var7 << 4 ^ var7 >>> 5) + var7 ^ var1[var9 >>> 11 & 3] + var9;
            var9 -= var10;
         }

         this.position -= -1803184120;
         this.writeInt(var7, -375326048);
         this.writeInt(var8, -590265521);
      }

      this.position = 1385214721 * var4;
   }

   public void method13889(int[] var1, int var2, int var3) {
      int var4 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var5 = (var3 - var2) / 8;

      for(int var6 = 0; var6 < var5; ++var6) {
         int var7 = this.readInt_(1501087064);
         int var8 = this.readInt_(-716201935);
         int var9 = -957401312;
         int var10 = -1640531527;

         for(int var11 = 32; var11-- > 0; var7 -= (var8 << 4 ^ var8 >>> 5) + var8 ^ var1[var9 & 3] + var9) {
            var8 -= (var7 << 4 ^ var7 >>> 5) + var7 ^ var1[var9 >>> 11 & 3] + var9;
            var9 -= var10;
         }

         this.position -= -1803184120;
         this.writeInt(var7, -100293905);
         this.writeInt(var8, -1089154767);
      }

      this.position = 1385214721 * var4;
   }

   public void method13890(int[] var1, int var2, int var3) {
      int var4 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var5 = (var3 - var2) / 8;

      for(int var6 = 0; var6 < var5; ++var6) {
         int var7 = this.readInt_(685366866);
         int var8 = this.readInt_(-1103341875);
         int var9 = -957401312;
         int var10 = -1640531527;

         for(int var11 = 32; var11-- > 0; var7 -= (var8 << 4 ^ var8 >>> 5) + var8 ^ var1[var9 & 3] + var9) {
            var8 -= (var7 << 4 ^ var7 >>> 5) + var7 ^ var1[var9 >>> 11 & 3] + var9;
            var9 -= var10;
         }

         this.position -= -1803184120;
         this.writeInt(var7, -1836377441);
         this.writeInt(var8, -994011349);
      }

      this.position = 1385214721 * var4;
   }

   public void method13891(BigInteger var1, BigInteger var2) {
      int var3 = -543666943 * this.position;
      this.position = 0;
      byte[] var4 = new byte[var3];
      this.method13737(var4, 0, var3, 1385214721);
      BigInteger var5 = new BigInteger(var4);
      BigInteger var6 = var5.modPow(var1, var2);
      byte[] var7 = var6.toByteArray();
      this.position = 0;
      this.writeShort(var7.length, 1023519632);
      this.method13714(var7, 0, var7.length, -888752455);
   }

   public void method13892(String var1, byte var2) {
      int var3 = var1.indexOf(0);
      if(var3 >= 0) {
         throw new IllegalArgumentException("");
      } else {
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
         this.position += Class2.method464(var1, 0, var1.length(), this.buffer, -543666943 * this.position, 1008838364) * 1385214721;
         this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      }
   }

   public int method13893(int var1) {
      int var2 = Class121.method2351(this.buffer, var1, -543666943 * this.position, 1992546990);
      this.writeInt(var2, -725325530);
      return var2;
   }

   public boolean method13894() {
      this.position -= 1245891588;
      int var1 = Class121.method2351(this.buffer, 0, -543666943 * this.position, 1892041450);
      int var2 = this.readInt_(-1871453814);
      return var2 == var1;
   }

   public void method13895(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(0 - var1);
   }

   public void method13896(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(0 - var1);
   }

   static {
      int var2;
      for(int var0 = 0; var0 < 256; ++var0) {
         int var1 = var0;

         for(var2 = 0; var2 < 8; ++var2) {
            if((var1 & 1) == 1) {
               var1 = var1 >>> 1 ^ -306674912;
            } else {
               var1 >>>= 1;
            }
         }

         anIntArray8612[var0] = var1;
      }

      aLongArray8615 = new long[256];

      for(var2 = 0; var2 < 256; ++var2) {
         long var3 = (long)var2;

         for(int var5 = 0; var5 < 8; ++var5) {
            if((var3 & 1L) == 1L) {
               var3 = var3 >>> 1 ^ -3932672073523589310L;
            } else {
               var3 >>>= 1;
            }
         }

         aLongArray8615[var2] = var3;
      }

   }

   public int method13897() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128 & 255;
   }

   public void method13898(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
   }

   public int method13899() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128 & 255;
   }

   public int method13900() {
      return 0 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int method13901() {
      return 0 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int method13902() {
      return 0 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int method13903() {
      return 128 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int method13904() {
      int var1 = 0;

      int var2;
      for(var2 = this.readSmart(-16033045); var2 == 32767; var2 = this.readSmart(371834681)) {
         var1 += 32767;
      }

      var1 += var2;
      return var1;
   }

   public int method13905() {
      return 128 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public int method13906() {
      return 128 - this.buffer[(this.position += 1385214721) * -543666943 - 1] & 255;
   }

   public byte method13907() {
      return (byte)(this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128);
   }

   public byte method13908() {
      return (byte)(this.buffer[(this.position += 1385214721) * -543666943 - 1] - 128);
   }

   public byte method13909() {
      return (byte)(0 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public int method13910(int var1) {
      int var2 = 0;

      int var3;
      for(var3 = this.readSmart(224140588); var3 == 32767; var3 = this.readSmart(1177759268)) {
         var2 += 32767;
      }

      var2 += var3;
      return var2;
   }

   public byte method13911() {
      return (byte)(0 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public byte method13912() {
      return (byte)(128 - this.buffer[(this.position += 1385214721) * -543666943 - 1]);
   }

   public void method13913(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public void method13914(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public int method13915() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 24) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[this.position * -543666943 - 4] & 255) << 8);
   }

   public void method13916(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public void method13917(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public void method13918(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public void method13919(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 + 128);
   }

   public String method13920() {
      int var1 = this.position * -543666943;

      while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
         ;
      }

      int var2 = this.position * -543666943 - var1 - 1;
      return var2 == 0?"":Class452.method7588(this.buffer, var1, var2, -11960222);
   }

   public int method13921(int var1) {
      this.position += -1524537854;
      int var2 = (this.buffer[this.position * -543666943 - 1] - 128 & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var2 > 32767) {
         var2 -= 65536;
      }

      return var2;
   }

   public void method13922(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public void method13923(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(128 + var1);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public String method13924() {
      byte var1 = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      if(var1 != 0) {
         throw new IllegalStateException("");
      } else {
         int var2 = this.method13744(-522235345);
         if(-543666943 * this.position + var2 > this.buffer.length) {
            throw new IllegalStateException("");
         } else {
            String var3 = Class225_Sub50.method14253(this.buffer, this.position * -543666943, var2, -948723940);
            this.position += var2 * 1385214721;
            return var3;
         }
      }
   }

   public int method13925() {
      this.position += -1524537854;
      return ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[-543666943 * this.position - 2] & 255);
   }

   public int method13926() {
      this.position += -1524537854;
      return ((this.buffer[this.position * -543666943 - 2] & 255) << 8) + (this.buffer[this.position * -543666943 - 1] - 128 & 255);
   }

   public String method13927(short var1) {
      byte var2 = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      if(var2 != 0) {
         throw new IllegalStateException("");
      } else {
         int var3 = -543666943 * this.position;

         while(this.buffer[(this.position += 1385214721) * -543666943 - 1] != 0) {
            ;
         }

         int var4 = this.position * -543666943 - var3 - 1;
         return var4 == 0?"":Class452.method7588(this.buffer, var3, var4, -11960222);
      }
   }

   public int method13928() {
      this.position += -1524537854;
      int var1 = (this.buffer[this.position * -543666943 - 1] - 128 & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13929() {
      this.position += -1524537854;
      int var1 = (this.buffer[this.position * -543666943 - 1] - 128 & 255) + ((this.buffer[this.position * -543666943 - 2] & 255) << 8);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13930() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13931() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13932() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13933() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13934() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public int method13935() {
      this.position += -1524537854;
      int var1 = ((this.buffer[-543666943 * this.position - 1] & 255) << 8) + (this.buffer[this.position * -543666943 - 2] - 128 & 255);
      if(var1 > 32767) {
         var1 -= 65536;
      }

      return var1;
   }

   public void method13936(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public void method13937(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
   }

   public void method13938(int var1, int var2) {
      if((var1 & -128) != 0) {
         if(0 != (var1 & -16384)) {
            if((var1 & -2097152) != 0) {
               if(0 != (var1 & -268435456)) {
                  this.writeByte(var1 >>> 28 | 128, -765864773);
               }

               this.writeByte(var1 >>> 21 | 128, -765864773);
            }

            this.writeByte(var1 >>> 14 | 128, -765864773);
         }

         this.writeByte(var1 >>> 7 | 128, -765864773);
      }

      this.writeByte(var1 & 127, -765864773);
   }

   public void method13939(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13940(long var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 32));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 24));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 16));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)(var1 >> 8));
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)((int)var1);
   }

   public int method13941() {
      this.position += -139323133;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[-543666943 * this.position - 2] & 255) << 8);
   }

   public void method13942(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13943(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13944(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public byte method13945() {
      return this.buffer[(this.position += 1385214721) * -543666943 - 1];
   }

   public int method13946() {
      int var1 = this.buffer[this.position * -543666943] & 255;
      return var1 < 128?this.readUnsignedByte(-700559597) - 1:this.readUnsignedShort(-937710807) - '\u8001';
   }

   public void method13947(CharSequence var1, int var2) {
      int var3 = Class207.method3545(var1, (byte)30);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      this.method13938(var3, 2111626074);
      this.position += Class260.method4664(this.buffer, -543666943 * this.position, var1, (byte)35) * 1385214721;
   }

   public void method13948(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
   }

   public void method13949(int var1) {
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 16);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 24);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)var1;
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = (byte)(var1 >> 8);
   }

   public void method13950(int[] var1, int var2, int var3) {
      int var4 = this.position * -543666943;
      this.position = 1385214721 * var2;
      int var5 = (var3 - var2) / 8;

      for(int var6 = 0; var6 < var5; ++var6) {
         int var7 = this.readInt_(-122133924);
         int var8 = this.readInt_(-1962490868);
         int var9 = -957401312;
         int var10 = -1640531527;

         for(int var11 = 32; var11-- > 0; var7 -= (var8 << 4 ^ var8 >>> 5) + var8 ^ var1[var9 & 3] + var9) {
            var8 -= (var7 << 4 ^ var7 >>> 5) + var7 ^ var1[var9 >>> 11 & 3] + var9;
            var9 -= var10;
         }

         this.position -= -1803184120;
         this.writeInt(var7, -585898457);
         this.writeInt(var8, -1237730128);
      }

      this.position = 1385214721 * var4;
   }

   public void method13951(CharSequence var1) {
      int var2 = Class207.method3545(var1, (byte)94);
      this.buffer[(this.position += 1385214721) * -543666943 - 1] = 0;
      this.method13938(var2, 1953805616);
      this.position += Class260.method4664(this.buffer, -543666943 * this.position, var1, (byte)25) * 1385214721;
   }

   public int method13952() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 24) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[this.position * -543666943 - 4] & 255) << 8);
   }

   public int method13953() {
      this.position += 1245891588;
      return (this.buffer[this.position * -543666943 - 3] & 255) + ((this.buffer[-543666943 * this.position - 2] & 255) << 24) + ((this.buffer[this.position * -543666943 - 1] & 255) << 16) + ((this.buffer[this.position * -543666943 - 4] & 255) << 8);
   }

   public void method13954(byte[] var1, int var2, int var3) {
      for(int var4 = var3 + var2 - 1; var4 >= var2; --var4) {
         var1[var4] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public void method13955(byte[] var1, int var2, int var3) {
      for(int var4 = var3 + var2 - 1; var4 >= var2; --var4) {
         var1[var4] = this.buffer[(this.position += 1385214721) * -543666943 - 1];
      }

   }

   public static void method13956(String var0, String var1, byte var2) {
      if(var0.length() <= 320) {
         if(Class107.method2168((byte)16)) {
            Exception_Sub2.method15943(1703873949);
            Class3.aString81 = var0;
            Class3.aString61 = var1;
            Class332.method6157(4, -119564459);
         }
      }
   }

   public static void method13957(int var0) {
      Queue var1 = Class532.aQueue7220;
      synchronized(var1) {
         while(true) {
            Class225_Sub8_Sub2 var2 = (Class225_Sub8_Sub2)Class532.aQueue7220.poll();
            if(null == var2) {
               return;
            }

            var2.method13538(-12575461);
         }
      }
   }

   public static void method13958(Class214 var0, byte var1) {
      if(null != var0.aClass225_Sub12_Sub3_2512) {
         if(var1 != 60) {
            ;
         }

         Class118_Sub3.aClass225_Sub12_Sub5_8217.method16282(var0.aClass225_Sub12_Sub3_2512);
      } else {
         var0.anInt2505 = Integer.MIN_VALUE;
      }

   }

   static RS2Buffer method13959(int var0) {
      RS2Buffer var1 = new RS2Buffer(518);
      Class3.anIntArray84 = new int[4];
      Class3.anIntArray84[0] = (int)(Math.random() * 9.9999999E7D);
      Class3.anIntArray84[1] = (int)(Math.random() * 9.9999999E7D);
      Class3.anIntArray84[2] = (int)(Math.random() * 9.9999999E7D);
      Class3.anIntArray84[3] = (int)(Math.random() * 9.9999999E7D);
      var1.writeByte(10, -765864773);
      var1.writeInt(Class3.anIntArray84[0], -1938583345);
      var1.writeInt(Class3.anIntArray84[1], -1993710412);
      var1.writeInt(Class3.anIntArray84[2], -649775240);
      var1.writeInt(Class3.anIntArray84[3], -514362077);
      return var1;
   }
}
