
public class Class79_Sub1_Sub2 extends Class79_Sub1 {

   int anInt10273;
   Class147_Sub1 aClass147_Sub1_10274;
   int anInt10275;
   int anInt10276;
   int anInt10277;
   int anInt10278;
   Class545_Sub1 aClass545_Sub1_10279;
   int anInt10280;
   static int[] anIntArray10281 = new int[6];
   static int[][] anIntArrayArray10282 = new int[6][];


   Class147_Sub1 method14525() {
      if(this.aClass147_Sub1_10274 == null) {
         Interface24 var1 = this.aClass545_Sub1_10279.anInterface24_7370;
         anIntArray10281[0] = this.anInt10277;
         anIntArray10281[1] = this.anInt10276;
         anIntArray10281[2] = this.anInt10273;
         anIntArray10281[3] = this.anInt10278;
         anIntArray10281[4] = this.anInt10275;
         anIntArray10281[5] = this.anInt10280;
         boolean var2 = false;
         int var3 = 0;

         int var4;
         Class161 var5;
         int var6;
         for(var4 = 0; var4 < 6; ++var4) {
            if(anIntArray10281[var4] < 0) {
               return null;
            }

            var5 = var1.method113(anIntArray10281[var4], -1403063759);
            var6 = var5.anInt1989 * -836426007;
            if(var6 > var3) {
               var3 = var6;
            }

            if(!var1.method119(anIntArray10281[var4], Class557.aClass557_7470, 1.0F, var3, var3, false, -2123631297)) {
               return null;
            }

            if(var5.aByte1998 > 0) {
               var2 = true;
            }
         }

         for(var4 = 0; var4 < 6; ++var4) {
            anIntArrayArray10282[var4] = var1.method127(anIntArray10281[var4], 1.0F, var3, var3, false, -1122500870);
            if(anIntArrayArray10282[var4].length != var3 * var3) {
               var5 = var1.method113(anIntArray10281[var4], -426915874);
               var6 = var3 / (var5.anInt1989 * -836426007);
               int[] var7 = new int[var3 * var3];

               for(int var8 = 0; var8 < var5.anInt1989 * -836426007; ++var8) {
                  for(int var9 = 0; var9 < var5.anInt1989 * -836426007; ++var9) {
                     int var10 = var8 + var9 * var5.anInt1989 * -836426007;
                     int var11 = var6 * (var8 + var9 * var3);

                     for(int var12 = 0; var12 < var6; ++var12) {
                        for(int var13 = 0; var13 < var6; ++var13) {
                           var7[var11 + var12 + var13 * var6] = anIntArrayArray10282[var4][var10];
                        }
                     }
                  }
               }

               anIntArrayArray10282[var4] = var7;
            }
         }

         this.aClass147_Sub1_10274 = new Class147_Sub1(this.aClass545_Sub1_10279, Class98.aClass98_994, Class91.aClass91_897, var3, var2, anIntArrayArray10282);
      }

      return this.aClass147_Sub1_10274;
   }

   Class147_Sub1 method14524() {
      if(this.aClass147_Sub1_10274 == null) {
         Interface24 var1 = this.aClass545_Sub1_10279.anInterface24_7370;
         anIntArray10281[0] = this.anInt10277;
         anIntArray10281[1] = this.anInt10276;
         anIntArray10281[2] = this.anInt10273;
         anIntArray10281[3] = this.anInt10278;
         anIntArray10281[4] = this.anInt10275;
         anIntArray10281[5] = this.anInt10280;
         boolean var2 = false;
         int var3 = 0;

         int var4;
         Class161 var5;
         int var6;
         for(var4 = 0; var4 < 6; ++var4) {
            if(anIntArray10281[var4] < 0) {
               return null;
            }

            var5 = var1.method113(anIntArray10281[var4], -1836144979);
            var6 = var5.anInt1989 * -836426007;
            if(var6 > var3) {
               var3 = var6;
            }

            if(!var1.method119(anIntArray10281[var4], Class557.aClass557_7470, 1.0F, var3, var3, false, 181632636)) {
               return null;
            }

            if(var5.aByte1998 > 0) {
               var2 = true;
            }
         }

         for(var4 = 0; var4 < 6; ++var4) {
            anIntArrayArray10282[var4] = var1.method127(anIntArray10281[var4], 1.0F, var3, var3, false, -1122500870);
            if(anIntArrayArray10282[var4].length != var3 * var3) {
               var5 = var1.method113(anIntArray10281[var4], -1116886681);
               var6 = var3 / (var5.anInt1989 * -836426007);
               int[] var7 = new int[var3 * var3];

               for(int var8 = 0; var8 < var5.anInt1989 * -836426007; ++var8) {
                  for(int var9 = 0; var9 < var5.anInt1989 * -836426007; ++var9) {
                     int var10 = var8 + var9 * var5.anInt1989 * -836426007;
                     int var11 = var6 * (var8 + var9 * var3);

                     for(int var12 = 0; var12 < var6; ++var12) {
                        for(int var13 = 0; var13 < var6; ++var13) {
                           var7[var11 + var12 + var13 * var6] = anIntArrayArray10282[var4][var10];
                        }
                     }
                  }
               }

               anIntArrayArray10282[var4] = var7;
            }
         }

         this.aClass147_Sub1_10274 = new Class147_Sub1(this.aClass545_Sub1_10279, Class98.aClass98_994, Class91.aClass91_897, var3, var2, anIntArrayArray10282);
      }

      return this.aClass147_Sub1_10274;
   }

   Class79_Sub1_Sub2(Class545_Sub1 var1, int var2, int var3, int var4, int var5, int var6, int var7) {
      this.aClass545_Sub1_10279 = var1;
      this.anInt10273 = var4;
      this.anInt10278 = var5;
      this.anInt10275 = var6;
      this.anInt10280 = var7;
      this.anInt10277 = var2;
      this.anInt10276 = var3;
   }
}
