
public class Class500 {

   int anInt5949;
   int anInt5950;
   Class548 aClass548_5951;
   static Class225_Sub43 aClass225_Sub43_5952;
   public static Class225_Sub6 aClass225_Sub6_5953;


   int method8353(int var1) {
      return client.anIntArray7715[this.anInt5950 * -824522115];
   }

   public Class500(Class548 var1, int var2, int var3, int var4) {
      this.aClass548_5951 = var1;
      this.anInt5950 = -348356907 * var2;
      this.anInt5949 = -1108069089 * var4;
   }

   public Interface20 method8354(int var1) {
      Interface20 var2 = this.method8359((byte)-21);
      return var2 == null?null:(var2.method99(1373792989) != -2129066273 * this.anInt5949?null:var2);
   }

   Interface20 method8355() {
      int var1 = this.aClass548_5951.anInt7421 * -1328746957;
      Class548 var2 = client.aClass279_7807.method4909(1259466218);
      int var3 = -843659437 * this.aClass548_5951.anInt7419 - var2.anInt7419 * -843659437;
      int var4 = this.aClass548_5951.anInt7420 * -1518942839 - var2.anInt7420 * -1518942839;
      if(var3 >= 0 && var4 >= 0 && var3 < client.aClass279_7807.method4910(1676998261) && var4 < client.aClass279_7807.method4911((byte)-58)) {
         switch(this.method8353(-1162848785)) {
         case 0:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4230(var1, var3, var4, (byte)-33);
         case 1:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4202(var1, var3, var4, (byte)72);
         case 2:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4309(var1, var3, var4, client.anInterface23_7662, 1842053729);
         case 3:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4206(var1, var3, var4, (byte)6);
         default:
            return null;
         }
      } else {
         return null;
      }
   }

   int method8356() {
      return client.anIntArray7715[this.anInt5950 * -824522115];
   }

   int method8357() {
      return client.anIntArray7715[this.anInt5950 * -824522115];
   }

   public Interface20 method8358() {
      Interface20 var1 = this.method8359((byte)-40);
      return var1 == null?null:(var1.method99(1373792989) != -2129066273 * this.anInt5949?null:var1);
   }

   Interface20 method8359(byte var1) {
      int var2 = this.aClass548_5951.anInt7421 * -1328746957;
      Class548 var3 = client.aClass279_7807.method4909(1035029910);
      int var4 = -843659437 * this.aClass548_5951.anInt7419 - var3.anInt7419 * -843659437;
      int var5 = this.aClass548_5951.anInt7420 * -1518942839 - var3.anInt7420 * -1518942839;
      if(var4 >= 0 && var5 >= 0 && var4 < client.aClass279_7807.method4910(1437297092) && var5 < client.aClass279_7807.method4911((byte)-64)) {
         switch(this.method8353(-410430832)) {
         case 0:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4230(var2, var4, var5, (byte)-2);
         case 1:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4202(var2, var4, var5, (byte)112);
         case 2:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4309(var2, var4, var5, client.anInterface23_7662, -1566509025);
         case 3:
            return (Interface20)client.aClass279_7807.method4917(-2045526760).method4206(var2, var4, var5, (byte)6);
         default:
            return null;
         }
      } else {
         return null;
      }
   }

   static final void method8360(Class508 var0, int var1) {
      aClass225_Sub6_5953.method13522(aClass225_Sub6_5953.aClass463_Sub1_8501, var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807] != 0?1:0, -1744455470);
      Class7.method605(-1358477367);
   }

   static void method8361(Class508 var0, byte var1) {
      var0.anIntArray6027[-937710807 * var0.anInt6003 - 1] = Class453.aClass511_5677.method10849(var0.anIntArray6027[-937710807 * var0.anInt6003 - 1], 632039018).anInt6052 * -55574791;
   }

   public static final Class124 method8362(Class121 var0, Class124 var1, byte var2) {
      if(-1 != var1.anInt1481 * -1029733319) {
         return var0.method2338(-1029733319 * var1.anInt1481, 2045388593);
      } else {
         if(!var0.aBool1206) {
            int var3 = 34646887 * var1.anInt1406 >>> 16;
            Class441 var4 = new Class441(client.aClass423_7832);

            for(Class225_Sub4 var5 = (Class225_Sub4)var4.method7397((byte)32); var5 != null; var5 = (Class225_Sub4)var4.next()) {
               if(var3 == -165881631 * var5.anInt8385) {
                  return Class97.method1903((int)(-7222396723785363401L * var5.aLong2606), -1114121449);
               }
            }
         }

         return null;
      }
   }

   static final void method8363(Class508 var0, byte var1) {
      Class505 var10000;
      if(var0.aBool6014) {
         if(var1 >= 2) {
            ;
         }

         var10000 = var0.aClass505_6011;
      } else {
         var10000 = var0.aClass505_6010;
      }

      Class505 var2 = var10000;
      Class124 var3 = var2.aClass124_5977;
      Class121 var4 = var2.aClass121_5978;
      Class520.method10987(var3, var4, var0, (short)255);
   }
}
