
public class Class47 {

   Interface2 anInterface2_489;
   Class423 aClass423_490;
   Class225_Sub36[] aClass225_Sub36Array491;
   static int anInt492;


   public Class47(int var1, Interface2 var2) {
      int var3;
      for(var3 = 1; var3 < var1; var3 += var3) {
         ;
      }

      this.aClass423_490 = new Class423(var3);
      this.aClass225_Sub36Array491 = new Class225_Sub36[var3];
      this.anInterface2_489 = var2;
   }

   public Class225_Sub36 method1162(int var1, int var2) {
      return var1 >= this.aClass225_Sub36Array491.length?null:this.aClass225_Sub36Array491[var1];
   }

   public Class225_Sub36 method1163(String var1, int var2) {
      long var3 = this.anInterface2_489.method7(var1, -2116210000);

      for(Class225_Sub36 var5 = (Class225_Sub36)this.aClass423_490.method7211(var3); var5 != null; var5 = (Class225_Sub36)this.aClass423_490.method7204(1319869918)) {
         if(var5.aString8706.equals(var1)) {
            return var5;
         }
      }

      return null;
   }

   public void method1164(int var1, String var2, Class225_Sub36 var3, byte var4) {
      Class225_Sub36 var5 = this.method1163(var2, -831703418);
      if(null != var5 && var5.anInt8705 * 448144129 != var1) {
         throw new IllegalArgumentException(var2);
      } else {
         this.method1175(var1, (byte)8);
         if(var1 >= this.aClass225_Sub36Array491.length) {
            int var6;
            for(var6 = this.aClass225_Sub36Array491.length; var1 >= var6; var6 += var6) {
               ;
            }

            this.aClass423_490 = new Class423(var6);

            for(int var7 = 0; var7 < this.aClass225_Sub36Array491.length; ++var7) {
               Class225_Sub36 var8 = this.aClass225_Sub36Array491[var7];
               if(null != var8) {
                  this.aClass423_490.method7206(var8, -7222396723785363401L * var8.aLong2606);
               }
            }

            Class225_Sub36[] var9 = new Class225_Sub36[var6];

            for(int var10 = 0; var10 < this.aClass225_Sub36Array491.length; ++var10) {
               var9[var10] = this.aClass225_Sub36Array491[var10];
            }

            this.aClass225_Sub36Array491 = var9;
         }

         var3.anInt8705 = 856874241 * var1;
         var3.aString8706 = var2;
         this.aClass423_490.method7206(var3, this.anInterface2_489.method7(var2, -1832289132));
         this.aClass225_Sub36Array491[var1] = var3;
      }
   }

   public Class225_Sub36 method1165(String var1) {
      long var2 = this.anInterface2_489.method7(var1, -1723027037);

      for(Class225_Sub36 var4 = (Class225_Sub36)this.aClass423_490.method7211(var2); var4 != null; var4 = (Class225_Sub36)this.aClass423_490.method7204(1319869918)) {
         if(var4.aString8706.equals(var1)) {
            return var4;
         }
      }

      return null;
   }

   public Class225_Sub36 method1166(int var1) {
      return var1 >= this.aClass225_Sub36Array491.length?null:this.aClass225_Sub36Array491[var1];
   }

   public Class225_Sub36 method1167(int var1) {
      return var1 >= this.aClass225_Sub36Array491.length?null:this.aClass225_Sub36Array491[var1];
   }

   public Class225_Sub36 method1168(int var1) {
      return var1 >= this.aClass225_Sub36Array491.length?null:this.aClass225_Sub36Array491[var1];
   }

   public void method1169(int var1, String var2, Class225_Sub36 var3) {
      Class225_Sub36 var4 = this.method1163(var2, -2044678646);
      if(null != var4 && var4.anInt8705 * 448144129 != var1) {
         throw new IllegalArgumentException(var2);
      } else {
         this.method1175(var1, (byte)8);
         if(var1 >= this.aClass225_Sub36Array491.length) {
            int var5;
            for(var5 = this.aClass225_Sub36Array491.length; var1 >= var5; var5 += var5) {
               ;
            }

            this.aClass423_490 = new Class423(var5);

            for(int var6 = 0; var6 < this.aClass225_Sub36Array491.length; ++var6) {
               Class225_Sub36 var7 = this.aClass225_Sub36Array491[var6];
               if(null != var7) {
                  this.aClass423_490.method7206(var7, -7222396723785363401L * var7.aLong2606);
               }
            }

            Class225_Sub36[] var8 = new Class225_Sub36[var5];

            for(int var9 = 0; var9 < this.aClass225_Sub36Array491.length; ++var9) {
               var8[var9] = this.aClass225_Sub36Array491[var9];
            }

            this.aClass225_Sub36Array491 = var8;
         }

         var3.anInt8705 = 856874241 * var1;
         var3.aString8706 = var2;
         this.aClass423_490.method7206(var3, this.anInterface2_489.method7(var2, -2108634811));
         this.aClass225_Sub36Array491[var1] = var3;
      }
   }

   void method1170(int var1) {
      Class225_Sub36 var2 = this.method1162(var1, '\uff00');
      if(null != var2) {
         var2.method3857(-89404549);
         this.aClass225_Sub36Array491[448144129 * var2.anInt8705] = null;
      }

   }

   public Class225_Sub36 method1171(String var1) {
      long var2 = this.anInterface2_489.method7(var1, -1631552898);

      for(Class225_Sub36 var4 = (Class225_Sub36)this.aClass423_490.method7211(var2); var4 != null; var4 = (Class225_Sub36)this.aClass423_490.method7204(1319869918)) {
         if(var4.aString8706.equals(var1)) {
            return var4;
         }
      }

      return null;
   }

   void method1172(int var1) {
      Class225_Sub36 var2 = this.method1162(var1, '\uff00');
      if(null != var2) {
         var2.method3857(-461446180);
         this.aClass225_Sub36Array491[448144129 * var2.anInt8705] = null;
      }

   }

   public void method1173(int var1, String var2, Class225_Sub36 var3) {
      Class225_Sub36 var4 = this.method1163(var2, -726408401);
      if(null != var4 && var4.anInt8705 * 448144129 != var1) {
         throw new IllegalArgumentException(var2);
      } else {
         this.method1175(var1, (byte)8);
         if(var1 >= this.aClass225_Sub36Array491.length) {
            int var5;
            for(var5 = this.aClass225_Sub36Array491.length; var1 >= var5; var5 += var5) {
               ;
            }

            this.aClass423_490 = new Class423(var5);

            for(int var6 = 0; var6 < this.aClass225_Sub36Array491.length; ++var6) {
               Class225_Sub36 var7 = this.aClass225_Sub36Array491[var6];
               if(null != var7) {
                  this.aClass423_490.method7206(var7, -7222396723785363401L * var7.aLong2606);
               }
            }

            Class225_Sub36[] var8 = new Class225_Sub36[var5];

            for(int var9 = 0; var9 < this.aClass225_Sub36Array491.length; ++var9) {
               var8[var9] = this.aClass225_Sub36Array491[var9];
            }

            this.aClass225_Sub36Array491 = var8;
         }

         var3.anInt8705 = 856874241 * var1;
         var3.aString8706 = var2;
         this.aClass423_490.method7206(var3, this.anInterface2_489.method7(var2, -1783676550));
         this.aClass225_Sub36Array491[var1] = var3;
      }
   }

   public Class225_Sub36 method1174(int var1) {
      return var1 >= this.aClass225_Sub36Array491.length?null:this.aClass225_Sub36Array491[var1];
   }

   void method1175(int var1, byte var2) {
      Class225_Sub36 var3 = this.method1162(var1, '\uff00');
      if(null != var3) {
         if(var2 != 8) {
            return;
         }

         var3.method3857(821739343);
         this.aClass225_Sub36Array491[448144129 * var3.anInt8705] = null;
      }

   }

   static final void method1176(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var0.aClass64_5997.anIntArray615[var2];
   }

   public static String method1177(Class225_Sub14_Sub3 var0, byte var1) {
      return !Class2.aBool20 && null != var0?((null == var0.aString10021 || var0.aString10021.length() == 0) && var0.aString10019 != null && var0.aString10019.length() > 0?var0.aString10019:var0.aString10021):"";
   }

   public static int method1178(Class225_Sub14_Sub3 var0, int var1) {
      if(Class2.aBool20) {
         return 6;
      } else if(null == var0) {
         return 0;
      } else {
         int var2 = 1158601069 * var0.anInt10024;
         return Class463_Sub6.method12845(var2, (byte)-1)?1:(Class554.method11832(var2, -1026248630)?2:(Class11.method715(var2, (byte)80)?3:(Class225_Sub36.method14063(var2, 653648500)?4:(Class273.method4847(var2, (byte)123)?7:(16 == var2?8:5)))));
      }
   }

   public static LocSubOpcode[] method1179(int var0) {
      return new LocSubOpcode[]{LocSubOpcode.aClass379_4710, LocSubOpcode.aClass379_4706, LocSubOpcode.aClass379_4707, LocSubOpcode.aClass379_4709, LocSubOpcode.aClass379_4708, LocSubOpcode.aClass379_4717, LocSubOpcode.aClass379_4711, LocSubOpcode.aClass379_4712, LocSubOpcode.aClass379_4713, LocSubOpcode.aClass379_4714, LocSubOpcode.aClass379_4715, LocSubOpcode.aClass379_4716, LocSubOpcode.aClass379_4718, LocSubOpcode.aClass379_4705, LocSubOpcode.aClass379_4719};
   }

   public static final void method1180(short var0) {
      Class3.anInt93 = 850426731;
      Class3.anInt100 = 570682322;
      Class3.anInt75 = 1839457614;
   }
}
