
public final class Class519 {

   volatile String aString7131;
   public volatile int anInt7132 = -755628833;


   Class519(String var1) {
      this.aString7131 = var1;
   }

   static final void method10978(Class508 var0, int var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      Class124 var3 = var2.aClass124_5977;
      Class121 var4 = var2.aClass121_5978;
      Class154.method2785(var3, var4, var0, (byte)21);
   }

   static final void method10979(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      if(Class336.aClass35_Sub1_4206.method914(1971898354) == Class106.aClass106_1034 && Class336.aClass35_Sub1_4206.method913(1017208849) == Class32.aClass32_375) {
         Class66_Sub2 var3 = (Class66_Sub2)Class336.aClass35_Sub1_4206.method953(-1483988756);
         Class461_Sub3 var4 = (Class461_Sub3)Class336.aClass35_Sub1_4206.method952(9840805);
         Class326 var5 = var3.method13076(-176371356);
         Class326 var6 = Class326.method5922(var5);
         var6.aFloat4037 += (float)var2;
         Class326 var7 = Class326.method5884(var4.method7771(243128136), var6);
         var7.method5976();
         float var8 = var3.method13077(-662332967).method5889();
         Class308.method5477(var4.method7771(243128136), var7, var5, var8, Class506.aClass326Array5984);
         Class326 var9 = null;
         if(null == Class506.aClass326Array5984[0]) {
            throw new RuntimeException("");
         } else {
            if(Class506.aClass326Array5984[1] == null) {
               var9 = Class506.aClass326Array5984[0];
            } else if(Class326.method5884(var4.method7771(243128136), Class506.aClass326Array5984[0]).method5889() < Class326.method5884(var4.method7771(243128136), Class506.aClass326Array5984[1]).method5889()) {
               var9 = Class506.aClass326Array5984[1];
            } else {
               var9 = Class506.aClass326Array5984[0];
            }

            float var10 = Class259.method4661(var5.aFloat4036 - var9.aFloat4036, var5.aFloat4033 - var9.aFloat4033, (byte)1);
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 0;
            var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = (int)(2607.5945876176133D * (double)var10) & 16383;
         }
      } else {
         throw new RuntimeException();
      }
   }

   static final void method10980(Class124 var0, Class121 var1, Class508 var2, byte var3) {
      String var4 = (String)var2.anObjectArray6004[(var2.anInt6005 -= -46848683) * 639741949];
      if(Class245.method4382(var4, var2, (byte)27) != null) {
         var4 = var4.substring(0, var4.length() - 1);
      }

      var0.anObjectArray1471 = Class193.method3350(var4, var2, 1207505773);
      var0.aBool1520 = true;
   }

   static final void method10981(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      ItemDefinition var3 = Class277.aClass410_3220.method7007(var2, -1957162130);
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var3.anInt4984 * 1055132099;
   }

   static final void method10982(Class508 var0, byte var1) {
      var0.anInt6003 -= 196624946;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      int var3 = var0.anIntArray6027[-937710807 * var0.anInt6003 + 1];
      Class40.method1103(var2, new Class225_Sub4(var3, 3), (int[])null, true, -1812382114);
   }

   static final void method10983(Class508 var0, int var1) {
      var0.anInt6003 -= 196624946;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      int var3 = var0.anIntArray6027[var0.anInt6003 * -937710807 + 1];
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = Class304.aClass243_3879.method4370(var2, (short)-28442).anIntArray10570[var3];
   }
}
