import java.util.Iterator;

public class Class280 {

   public static final int anInt3278 = 6;
   public static final int anInt3279 = 0;
   public static final int anInt3280 = 5;
   public static final int anInt3281 = 2;
   public static final int anInt3282 = 1;


   Class280() throws Throwable {
      throw new Error();
   }

   static final void method5059(Class508 var0, int var1) {
      var0.anInt6003 -= 196624946;
      int var2 = var0.anIntArray6027[-937710807 * var0.anInt6003];
      float var3 = Class312.method5556(var0.anIntArray6027[-937710807 * var0.anInt6003 + 1]);
      Class225_Sub14_Sub13 var4 = Class336.aClass35_Sub1_4206.method932(var2, 1904736253);
      if(null == var4) {
         throw new RuntimeException("");
      } else if(!(var4 instanceof Class225_Sub14_Sub13_Sub2)) {
         throw new RuntimeException("");
      } else {
         ((Class225_Sub14_Sub13_Sub2)var4).method16467(var3, -1946013766);
      }
   }

   static final void method5060(Class508 var0, int var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = ((Class515_Sub1)var0.anInterface20_6016).method13406(-1560058334);
   }

   static final void method5061(boolean var0, int var1) {
      client.anInt7721 = 0;
      client.anInt7698 = 0;
      client.anInt7880 += 1616098015;
      Class362_Sub1.method14318(1626331353);
      Class521.method11058(var0, -605575176);
      Class526.method11093(1665523755);
      boolean var2 = false;

      int var3;
      int var4;
      for(var3 = 0; var3 < client.anInt7721 * 601401573; ++var3) {
         var4 = client.anIntArray7702[var3];
         ObjectVar var5 = (ObjectVar)client.aClass423_7693.method7211((long)var4);
         Class515_Sub1_Sub4_Sub4_Sub2 var6 = (Class515_Sub1_Sub4_Sub4_Sub2)var5.object;
         if(var6.anInt10748 * 1037077547 != client.anInt7880 * 492603679) {
            if(Class2.aBool20 && Class334.method6177(var4, (short)1275)) {
               Class356.method6403(134222686);
            }

            if(var6.aClass411_10896.method7037(-526439295)) {
               Class274.method4856(var6, -1609804320);
            }

            var6.method16819((Class411)null, 1886966596);
            var5.method3857(-930950020);
            var2 = true;
         }
      }

      if(var2) {
         var3 = 955614209 * client.anInt7695;
         client.anInt7695 = client.aClass423_7693.method7230(1278055471) * 1931115521;
         var4 = 0;

         ObjectVar var9;
         for(Iterator var7 = client.aClass423_7693.iterator(); var7.hasNext(); client.aClass225_Sub7Array7694[var4++] = var9) {
            var9 = (ObjectVar)var7.next();
         }

         for(int var8 = client.anInt7695 * 955614209; var8 < var3; ++var8) {
            client.aClass225_Sub7Array7694[var8] = null;
         }
      }

      if(client.aClass180_7704.aClass225_Sub23_Sub1_2180.position * -543666943 != client.aClass180_7704.size * -342161915) {
         throw new RuntimeException(-543666943 * client.aClass180_7704.aClass225_Sub23_Sub1_2180.position + " " + client.aClass180_7704.size * -342161915);
      } else {
         for(var3 = 0; var3 < 1002221073 * client.anInt7922; ++var3) {
            if(client.aClass423_7693.method7211((long)client.anIntArray7697[var3]) == null) {
               throw new RuntimeException(var3 + " " + client.anInt7922 * 1002221073);
            }
         }

         if(955614209 * client.anInt7695 - client.anInt7922 * 1002221073 != 0) {
            throw new RuntimeException("" + (955614209 * client.anInt7695 - client.anInt7922 * 1002221073));
         } else {
            for(var3 = 0; var3 < client.anInt7695 * 955614209; ++var3) {
               if(((Class515_Sub1_Sub4_Sub4)client.aClass225_Sub7Array7694[var3].object).anInt10748 * 1037077547 != 492603679 * client.anInt7880) {
                  throw new RuntimeException("" + 1458531375 * ((Class515_Sub1_Sub4_Sub4)client.aClass225_Sub7Array7694[var3].object).anInt10729);
               }
            }

         }
      }
   }

   static void method5062(Class545 var0, Class225_Sub11 var1, Class567 var2, byte var3) {
      Class171 var4 = var2.method12044(var0, -968873471);
      if(null != var4) {
         int var5 = var4.method2944();
         if(var4.method2921() > var5) {
            var5 = var4.method2921();
         }

         byte var6 = 10;
         int var7 = var1.anInt8532 * 449317387;
         int var8 = -1357162317 * var1.anInt8533;
         int var9 = 0;
         int var10 = 0;
         int var11 = 0;
         int var12;
         int var14;
         if(var2.aString7515 != null) {
            var9 = Class7.aClass405_128.method6842(var2.aString7515, (int[])null, Class215_Sub1.aStringArray8347, (Interface45[])null, 310271670);

            for(var12 = 0; var12 < var9; ++var12) {
               String var13 = Class215_Sub1.aStringArray8347[var12];
               if(var12 < var9 - 1) {
                  var13 = var13.substring(0, var13.length() - 4);
               }

               var14 = Class463_Sub15.aClass179_8019.method3171(var13);
               if(var14 > var10) {
                  var10 = var14;
               }
            }

            var11 = Class463_Sub15.aClass179_8019.method3170() * var9 + Class463_Sub15.aClass179_8019.method3169() / 2;
         }

         var12 = var5 / 2 + 449317387 * var1.anInt8532;
         int var21 = -1357162317 * var1.anInt8533;
         if(var7 < var5 + Class215_Sub1.anInt2553) {
            var7 = Class215_Sub1.anInt2553;
            var12 = var10 / 2 + var5 / 2 + Class215_Sub1.anInt2553 + var6 + 5;
         } else if(var7 > Class215_Sub1.anInt2552 - var5) {
            var7 = Class215_Sub1.anInt2552 - var5;
            var12 = Class215_Sub1.anInt2552 - var5 / 2 - var6 - var10 / 2 - 5;
         }

         if(var8 < Class215_Sub1.anInt2554 + var5) {
            var8 = Class215_Sub1.anInt2554;
            var21 = var5 / 2 + var6 + Class215_Sub1.anInt2554;
         } else if(var8 > Class215_Sub1.anInt2525 - var5) {
            var8 = Class215_Sub1.anInt2525 - var5;
            var21 = Class215_Sub1.anInt2525 - var5 / 2 - var6 - var11;
         }

         var14 = (int)(Math.atan2((double)(var7 - var1.anInt8532 * 449317387), (double)(var8 - var1.anInt8533 * -1357162317)) / 3.141592653589793D * 32767.0D) & '\uffff';
         var4.method2934((float)var5 / 2.0F + (float)var7, (float)var5 / 2.0F + (float)var8, 4096, var14);
         int var15 = -2;
         int var16 = -2;
         int var17 = -2;
         int var18 = -2;
         if(null != var2.aString7515) {
            var15 = var12 - var10 / 2 - 5;
            var16 = var21;
            var17 = 10 + var10 + var15;
            var18 = var21 + Class463_Sub15.aClass179_8019.method3170() * var9 + 3;
            if(0 != var2.anInt7522 * 1503895133) {
               var0.method11465(var15, var21, var17 - var15, var18 - var21, 1503895133 * var2.anInt7522, -1554828013);
            }

            if(0 != -674939355 * var2.anInt7532) {
               var0.method11464(var15, var21, var17 - var15, var18 - var21, var2.anInt7532 * -674939355, (byte)-51);
            }

            for(int var19 = 0; var19 < var9; ++var19) {
               String var20 = Class215_Sub1.aStringArray8347[var19];
               if(var19 < var9 - 1) {
                  var20 = var20.substring(0, var20.length() - 4);
               }

               Class463_Sub15.aClass179_8019.method3177(var0, var20, var12, var21, -2130627869 * var2.anInt7546, true);
               var21 += Class463_Sub15.aClass179_8019.method3170();
            }
         }

         if(-1 != var2.anInt7513 * 478735571 || var2.aString7515 != null) {
            Class225_Sub51 var22 = new Class225_Sub51(var1);
            var5 >>= 1;
            var22.anInt8891 = -519030947 * (var7 - var5);
            var22.anInt8883 = (var5 + var7) * -109264869;
            var22.anInt8884 = (var8 - var5) * -971426595;
            var22.anInt8885 = (var5 + var8) * 154484173;
            var22.anInt8886 = 1740192145 * var15;
            var22.anInt8887 = var17 * -427250157;
            var22.anInt8888 = var16 * 836131799;
            var22.anInt8889 = var18 * 1103986465;
            Class99.aClass456_1001.method7712(var22, (byte)69);
         }

      }
   }
}
