import java.awt.Component;

public class Class118_Sub18 extends Class118 {

   Class117 aClass117_8300;
   int anInt8301;
   int anInt8302;


   boolean method2307(int var1) {
      if(this.aClass117_8300 == null) {
         this.aClass117_8300 = new Class117(Class243.aClass253_2928, 1517066445 * this.anInt8302);
      }

      return this.aClass117_8300.method2296(1727107098);
   }

   Class118_Sub18(RS2Buffer var1) {
      super(var1);
      this.anInt8302 = var1.readUnsignedShort(-937710807) * -1816849403;
      this.anInt8301 = var1.readUnsignedByte(-700559597) * -758263711;
   }

   public void method2316() {
      Class283.method5210(this.aClass117_8300, 1540412321 * this.anInt8301, -6284709);
   }

   boolean method2312() {
      if(this.aClass117_8300 == null) {
         this.aClass117_8300 = new Class117(Class243.aClass253_2928, 1517066445 * this.anInt8302);
      }

      return this.aClass117_8300.method2296(2101043391);
   }

   public void method2311() {
      Class283.method5210(this.aClass117_8300, 1540412321 * this.anInt8301, 340650094);
   }

   public void method2308(int var1) {
      Class283.method5210(this.aClass117_8300, 1540412321 * this.anInt8301, -1624225173);
   }

   boolean method2310() {
      if(this.aClass117_8300 == null) {
         this.aClass117_8300 = new Class117(Class243.aClass253_2928, 1517066445 * this.anInt8302);
      }

      return this.aClass117_8300.method2296(1873109020);
   }

   boolean method2313() {
      if(this.aClass117_8300 == null) {
         this.aClass117_8300 = new Class117(Class243.aClass253_2928, 1517066445 * this.anInt8302);
      }

      return this.aClass117_8300.method2296(1537247322);
   }

   boolean method2315() {
      if(this.aClass117_8300 == null) {
         this.aClass117_8300 = new Class117(Class243.aClass253_2928, 1517066445 * this.anInt8302);
      }

      return this.aClass117_8300.method2296(1503061339);
   }

   static void method13224(int var0, int var1, int var2, int var3, int var4, int var5, int var6, Class225_Sub14_Sub3 var7, Class8 var8, Class405 var9, int var10, int var11, int var12) {
      if(var0 > var2 && var0 < var4 + var2 && var1 > var6 - 835794751 * var9.anInt4922 - 1 && var1 < var6 + var9.anInt4926 * -1710708437 && var7.aBool10020) {
         var10 = var11;
      }

      int[] var13 = Class97.method1898(var7, -2023671455);
      String var14 = Class383.method6628(var7, -1393718203);
      if(null != var13) {
         var14 = var14 + Class185.method3252(var13, (byte)11);
      }

      var8.method640(var14, 3 + var2, var6, var10, 0, client.aRandom7745, Class473.anInt5797 * 1677045061, OutputStream_Sub1.aClass171Array7958, Class84.anIntArray856, 263937478);
      if(var7.aBool10015) {
         Class44.aClass171_476.method2926(var2 + 5 + var9.method6839(var14, -1626037988), var6 - var9.anInt4922 * 835794751);
      }

   }

   public static String method13225(long var0) {
      if(var0 > 0L && var0 < 6582952005840035281L) {
         if(0L == var0 % 37L) {
            return null;
         } else {
            int var2 = 0;

            for(long var3 = var0; 0L != var3; var3 /= 37L) {
               ++var2;
            }

            StringBuilder var5;
            char var8;
            for(var5 = new StringBuilder(var2); 0L != var0; var5.append(var8)) {
               long var6 = var0;
               var0 /= 37L;
               var8 = Class483.aCharArray5862[(int)(var6 - var0 * 37L)];
               if(var8 == 95) {
                  int var9 = var5.length() - 1;
                  var5.setCharAt(var9, Character.toUpperCase(var5.charAt(var9)));
                  var8 = 160;
               }
            }

            var5.reverse();
            var5.setCharAt(0, Character.toUpperCase(var5.charAt(0)));
            return var5.toString();
         }
      } else {
         return null;
      }
   }

   static final void method13226(Class508 var0, int var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      Class124 var3 = var2.aClass124_5977;
      var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = var3.aString1438;
   }

   static final void method13227(Class124 var0, Class121 var1, Class508 var2, int var3) {
      boolean var4 = var2.anIntArray6027[(var2.anInt6003 -= 98312473) * -937710807] == 1;
      if(var0.aBool1387 != var4) {
         var0.aBool1387 = var4;
         Class460.method7767(var0, 2098016818);
      }

      if(-1 == var0.anInt1369 * -875927841 && !var1.aBool1206) {
         Class55.method1263(34646887 * var0.anInt1406, (byte)108);
      }

   }

   public static Class234 method13228(Component var0, int var1) {
      return new Class234_Sub1(var0);
   }
}
