
final class Class251_Sub2 extends Class251 {

   public static Class253 aClass253_8928;
   public static int anInt8929;


   public Object method4477(Class337 var1) {
      return var1 == Class337.aClass337_4208?Integer.valueOf(-1):var1.method6212((byte)-79);
   }

   public Object method4482(Class337 var1, byte var2) {
      return var1 == Class337.aClass337_4208?Integer.valueOf(-1):var1.method6212((byte)-85);
   }

   Class251_Sub2(Class115 var1, int var2, boolean var3, boolean var4) {
      super(var1, var2, var3, var4, (Class251_Sub2)null);
   }

   public Object method4481(Class337 var1) {
      return var1 == Class337.aClass337_4208?Integer.valueOf(-1):var1.method6212((byte)-128);
   }

   static void method14311(int var0, int var1, int var2, Class225_Sub37 var3, short var4) {
      long var5 = (long)(var0 << 28 | var2 << 14 | var1);
      Class225_Sub32 var7 = (Class225_Sub32)client.aClass423_7817.method7211(var5);
      if(var7 == null) {
         var7 = new Class225_Sub32();
         client.aClass423_7817.method7206(var7, var5);
         var7.aClass456_8669.method7712(var3, (byte)108);
      } else {
         ItemDefinition var8 = Class277.aClass410_3220.method7007(-393176903 * var3.anInt8707, -1957162130);
         int var9 = 218917967 * var8.anInt4954;
         if(-1124420131 * var8.anInt4952 == 1) {
            var9 *= 1 + 830127609 * var3.anInt8708;
         }

         for(Class225_Sub37 var10 = (Class225_Sub37)var7.aClass456_8669.method7682((byte)24); var10 != null; var10 = (Class225_Sub37)var7.aClass456_8669.method7666(-1417560967)) {
            var8 = Class277.aClass410_3220.method7007(var10.anInt8707 * -393176903, -1957162130);
            int var11 = 218917967 * var8.anInt4954;
            if(-1124420131 * var8.anInt4952 == 1) {
               var11 *= 830127609 * var10.anInt8708 + 1;
            }

            if(var9 > var11) {
               Class552.method11826(var3, var10, -60636834);
               return;
            }
         }

         var7.aClass456_8669.method7712(var3, (byte)89);
      }
   }

   static String method14312(Class124 var0, int var1) {
      return client.method12284(var0).method14237(-1508031121) == 0?null:(null != var0.aString1515 && var0.aString1515.trim().length() != 0?var0.aString1515:(client.aBool7660?"Hidden-use":null));
   }

   static final void method14313(Class508 var0, int var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      Class124 var3 = var2.aClass124_5977;
      Class121 var4 = var2.aClass121_5978;
      Class67.method1434(var3, var4, var0, 1480129476);
   }
}
