
public class Class201 {

   int anInt2378;
   int[] anIntArray2379 = new int[2];
   int[] anIntArray2380 = new int[2];
   int anInt2381;
   int anInt2382 = 2;
   int anInt2383;
   int anInt2384;
   int anInt2385;
   int anInt2386;
   int anInt2387;
   int anInt2388;


   final int method3433(int var1) {
      if(this.anInt2378 >= this.anInt2384) {
         this.anInt2387 = this.anIntArray2380[this.anInt2385++] << 15;
         if(this.anInt2385 >= this.anInt2382) {
            this.anInt2385 = this.anInt2382 - 1;
         }

         this.anInt2384 = (int)((double)this.anIntArray2379[this.anInt2385] / 65536.0D * (double)var1);
         if(this.anInt2384 > this.anInt2378) {
            this.anInt2386 = ((this.anIntArray2380[this.anInt2385] << 15) - this.anInt2387) / (this.anInt2384 - this.anInt2378);
         }
      }

      this.anInt2387 += this.anInt2386;
      ++this.anInt2378;
      return this.anInt2387 - this.anInt2386 >> 15;
   }

   final void method3434(RS2Buffer var1) {
      this.anInt2383 = var1.readUnsignedByte(-700559597);
      this.anInt2381 = var1.readInt_(-984651130);
      this.anInt2388 = var1.readInt_(-1743759677);
      this.method3435(var1);
   }

   final void method3435(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   final int method3436(int var1) {
      if(this.anInt2378 >= this.anInt2384) {
         this.anInt2387 = this.anIntArray2380[this.anInt2385++] << 15;
         if(this.anInt2385 >= this.anInt2382) {
            this.anInt2385 = this.anInt2382 - 1;
         }

         this.anInt2384 = (int)((double)this.anIntArray2379[this.anInt2385] / 65536.0D * (double)var1);
         if(this.anInt2384 > this.anInt2378) {
            this.anInt2386 = ((this.anIntArray2380[this.anInt2385] << 15) - this.anInt2387) / (this.anInt2384 - this.anInt2378);
         }
      }

      this.anInt2387 += this.anInt2386;
      ++this.anInt2378;
      return this.anInt2387 - this.anInt2386 >> 15;
   }

   final int method3437(int var1) {
      if(this.anInt2378 >= this.anInt2384) {
         this.anInt2387 = this.anIntArray2380[this.anInt2385++] << 15;
         if(this.anInt2385 >= this.anInt2382) {
            this.anInt2385 = this.anInt2382 - 1;
         }

         this.anInt2384 = (int)((double)this.anIntArray2379[this.anInt2385] / 65536.0D * (double)var1);
         if(this.anInt2384 > this.anInt2378) {
            this.anInt2386 = ((this.anIntArray2380[this.anInt2385] << 15) - this.anInt2387) / (this.anInt2384 - this.anInt2378);
         }
      }

      this.anInt2387 += this.anInt2386;
      ++this.anInt2378;
      return this.anInt2387 - this.anInt2386 >> 15;
   }

   final void method3438(RS2Buffer var1) {
      this.anInt2383 = var1.readUnsignedByte(-700559597);
      this.anInt2381 = var1.readInt_(-1243293268);
      this.anInt2388 = var1.readInt_(-1929564608);
      this.method3435(var1);
   }

   final void method3439() {
      this.anInt2384 = 0;
      this.anInt2385 = 0;
      this.anInt2386 = 0;
      this.anInt2387 = 0;
      this.anInt2378 = 0;
   }

   final void method3440(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   final void method3441(RS2Buffer var1) {
      this.anInt2383 = var1.readUnsignedByte(-700559597);
      this.anInt2381 = var1.readInt_(-751197804);
      this.anInt2388 = var1.readInt_(334121519);
      this.method3435(var1);
   }

   final void method3442(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   final void method3443(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   final void method3444(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   final void method3445(RS2Buffer var1) {
      this.anInt2382 = var1.readUnsignedByte(-700559597);
      this.anIntArray2379 = new int[this.anInt2382];
      this.anIntArray2380 = new int[this.anInt2382];

      for(int var2 = 0; var2 < this.anInt2382; ++var2) {
         this.anIntArray2379[var2] = var1.readUnsignedShort(-937710807);
         this.anIntArray2380[var2] = var1.readUnsignedShort(-937710807);
      }

   }

   Class201() {
      this.anIntArray2379[0] = 0;
      this.anIntArray2379[1] = '\uffff';
      this.anIntArray2380[0] = 0;
      this.anIntArray2380[1] = '\uffff';
   }

   final int method3446(int var1) {
      if(this.anInt2378 >= this.anInt2384) {
         this.anInt2387 = this.anIntArray2380[this.anInt2385++] << 15;
         if(this.anInt2385 >= this.anInt2382) {
            this.anInt2385 = this.anInt2382 - 1;
         }

         this.anInt2384 = (int)((double)this.anIntArray2379[this.anInt2385] / 65536.0D * (double)var1);
         if(this.anInt2384 > this.anInt2378) {
            this.anInt2386 = ((this.anIntArray2380[this.anInt2385] << 15) - this.anInt2387) / (this.anInt2384 - this.anInt2378);
         }
      }

      this.anInt2387 += this.anInt2386;
      ++this.anInt2378;
      return this.anInt2387 - this.anInt2386 >> 15;
   }
}
