import java.nio.ByteBuffer;
import java.util.Vector;

public class Class345 {

   int anInt4388;
   Class545_Sub2 aClass545_Sub2_4389;
   Class151_Sub1 aClass151_Sub1_4390;
   Interface8 anInterface8_4391;
   Interface36 anInterface36_4392;
   Interface36 anInterface36_4393;
   Interface7 anInterface7_4394;
   Interface7 anInterface7_4395;
   int anInt4396;
   Interface7 anInterface7_4397;
   Interface8 anInterface8_4398;
   Interface7 anInterface7_4399;
   Class91 aClass91_4400;
   int anInt4401 = 0;
   Interface36 anInterface36_4402;
   boolean aBool4403;
   Vector aVector4404 = new Vector();
   Interface35 anInterface35_4405;
   Class341 aClass341_4406;
   int anInt4407 = 0;
   Class151_Sub1 aClass151_Sub1_4408;


   void method6299() {
      this.aClass545_Sub2_4389.method11462(true);
      this.aClass545_Sub2_4389.method15087();
      this.aClass545_Sub2_4389.method15173(0);
      this.aClass545_Sub2_4389.method15053(1);
      this.aClass545_Sub2_4389.L();
      this.aClass151_Sub1_4390.method14459((Interface8)null);
      this.aClass545_Sub2_4389.method14999(0, 0);
      int var1 = this.aVector4404.size();
      this.anInterface36_4393.method209();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         int var4 = var3.method6367();
         boolean var5 = var2 == var1 - 1;

         for(int var6 = 0; var6 < var4; ++var6) {
            if(var5 && var6 == var4 - 1) {
               this.aClass545_Sub2_4389.method11672(this.aClass151_Sub1_4390, (byte)105);
            } else {
               this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4395);
            }

            Interface36 var7 = this.anInterface36_4402;
            if(var6 == 0) {
               var7 = this.anInterface36_4393;
            }

            var3.method6365(var6, this.aClass151_Sub1_4390, var7, this.anInterface8_4398, this.anInterface36_4393);
            this.method6301();
            var3.method6366(var6);
            Interface36 var8 = this.anInterface36_4402;
            this.anInterface36_4402 = this.anInterface36_4392;
            this.anInterface36_4392 = var8;
            Interface7 var9 = this.anInterface7_4399;
            this.anInterface7_4399 = this.anInterface7_4395;
            this.anInterface7_4395 = var9;
         }
      }

      this.aClass545_Sub2_4389.method15173(1);
      this.aClass545_Sub2_4389.method15053(0);
      this.aClass545_Sub2_4389.method11462(false);
   }

   void method6300() {
      if(this.aClass151_Sub1_4408 != null) {
         this.aClass151_Sub1_4408.method10();
         this.aClass151_Sub1_4408 = null;
      }

      if(this.anInterface7_4397 != null) {
         this.anInterface7_4397.method10();
         this.anInterface7_4397 = null;
      }

      if(this.anInterface8_4391 != null) {
         this.anInterface8_4391.method10();
         this.anInterface8_4391 = null;
      }

      this.aClass151_Sub1_4390.method10();
      this.anInterface7_4399.method10();
      this.anInterface7_4395.method10();
      this.anInterface7_4394.method10();
      this.anInterface36_4402.method10();
      this.anInterface36_4392.method10();
      this.anInterface36_4393.method10();
      this.anInterface8_4398.method10();
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6364();
      }

   }

   void method6301() {
      this.aClass545_Sub2_4389.method15078(0, this.anInterface35_4405);
      this.aClass545_Sub2_4389.method14991(this.aClass341_4406);
      this.aClass545_Sub2_4389.method14993(Class374.aClass374_4670, 0, 1);
   }

   void method6302() {
      if(this.anInterface35_4405 == null) {
         this.anInterface35_4405 = this.aClass545_Sub2_4389.method15237(false);
         this.anInterface35_4405.method220(12, 4);
         ByteBuffer var1 = this.aClass545_Sub2_4389.aByteBuffer9763;
         var1.clear();
         var1.putFloat(0.0F);
         var1.putFloat(1.0F);
         var1.putFloat(2.0F);
         this.anInterface35_4405.method217(0, var1.position(), this.aClass545_Sub2_4389.aLong9730);
         this.aClass341_4406 = this.aClass545_Sub2_4389.method15076(new Class348[]{new Class348(Class347.aClass347_4439)});
      }
   }

   boolean method6303(Class352 var1) {
      return this.method6304(this.aVector4404.size(), var1);
   }

   boolean method6304(int var1, Class352 var2) {
      if(!var2.method6361() && !var2.method6372()) {
         this.method6305(var2);
         return true;
      } else {
         this.aVector4404.insertElementAt(var2, var1);
         var2.method6360(this.anInt4388, this.anInt4396);
         int var3 = var2.method6370();
         if(var3 > this.anInt4407) {
            this.anInt4407 = var3;
         }

         var2.aBool4461 = true;
         return true;
      }
   }

   void method6305(Class352 var1) {
      var1.method6364();
      var1.aBool4461 = false;
      this.aVector4404.removeElement(var1);
   }

   boolean method6306(Class352 var1) {
      return this.method6304(this.aVector4404.size(), var1);
   }

   void method6307() {
      if(this.aBool4403) {
         if(this.aClass151_Sub1_4408 != null) {
            this.aClass545_Sub2_4389.method11672(this.aClass151_Sub1_4408, (byte)96);
            this.aClass545_Sub2_4389.method11451(this.aClass151_Sub1_4390, -543666943);
            this.aClass151_Sub1_4408.method14458(0, 0, this.anInt4388, this.anInt4396, 0, 0, true, this.anInterface8_4398 != null);
         }

         this.method6308();
         this.aBool4403 = false;
      }

   }

   void method6308() {
      this.aClass545_Sub2_4389.method11462(true);
      this.aClass545_Sub2_4389.method15087();
      this.aClass545_Sub2_4389.method15173(0);
      this.aClass545_Sub2_4389.method15053(1);
      this.aClass545_Sub2_4389.L();
      this.aClass151_Sub1_4390.method14459((Interface8)null);
      this.aClass545_Sub2_4389.method14999(0, 0);
      int var1 = this.aVector4404.size();
      this.anInterface36_4393.method209();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         int var4 = var3.method6367();
         boolean var5 = var2 == var1 - 1;

         for(int var6 = 0; var6 < var4; ++var6) {
            if(var5 && var6 == var4 - 1) {
               this.aClass545_Sub2_4389.method11672(this.aClass151_Sub1_4390, (byte)120);
            } else {
               this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4395);
            }

            Interface36 var7 = this.anInterface36_4402;
            if(var6 == 0) {
               var7 = this.anInterface36_4393;
            }

            var3.method6365(var6, this.aClass151_Sub1_4390, var7, this.anInterface8_4398, this.anInterface36_4393);
            this.method6301();
            var3.method6366(var6);
            Interface36 var8 = this.anInterface36_4402;
            this.anInterface36_4402 = this.anInterface36_4392;
            this.anInterface36_4392 = var8;
            Interface7 var9 = this.anInterface7_4399;
            this.anInterface7_4399 = this.anInterface7_4395;
            this.anInterface7_4395 = var9;
         }
      }

      this.aClass545_Sub2_4389.method15173(1);
      this.aClass545_Sub2_4389.method15053(0);
      this.aClass545_Sub2_4389.method11462(false);
   }

   boolean method6309(int var1, int var2, int var3, int var4) {
      if(this.aVector4404.isEmpty()) {
         return false;
      } else {
         if(this.anInt4388 != var3 || this.anInt4396 != var4 || this.aClass545_Sub2_4389.anInt9757 != this.anInt4401) {
            this.anInt4401 = this.aClass545_Sub2_4389.anInt9757;
            this.anInt4388 = var3;
            this.anInt4396 = var4;
            this.method6317();
            this.method6321();
         }

         this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4394);
         if(this.anInterface8_4398 != null) {
            this.aClass151_Sub1_4390.method14459(this.anInterface8_4398);
         }

         if(this.aClass151_Sub1_4408 != null) {
            this.aClass151_Sub1_4408.method14460(0, this.anInterface7_4397);
            this.aClass151_Sub1_4408.method14459(this.anInterface8_4391);
            this.aClass545_Sub2_4389.method11451(this.aClass151_Sub1_4408, -543666943);
         } else {
            this.aClass545_Sub2_4389.method11451(this.aClass151_Sub1_4390, -543666943);
         }

         this.aClass545_Sub2_4389.ba(3, -16777216);
         this.aClass545_Sub2_4389.method15143(15);
         this.aClass545_Sub2_4389.method15068(0);
         if(!this.aClass151_Sub1_4390.method14461()) {
            throw new RuntimeException("");
         } else {
            this.aBool4403 = true;
            return true;
         }
      }
   }

   void method6310() {
      if(this.anInterface35_4405 == null) {
         this.anInterface35_4405 = this.aClass545_Sub2_4389.method15237(false);
         this.anInterface35_4405.method220(12, 4);
         ByteBuffer var1 = this.aClass545_Sub2_4389.aByteBuffer9763;
         var1.clear();
         var1.putFloat(0.0F);
         var1.putFloat(1.0F);
         var1.putFloat(2.0F);
         this.anInterface35_4405.method217(0, var1.position(), this.aClass545_Sub2_4389.aLong9730);
         this.aClass341_4406 = this.aClass545_Sub2_4389.method15076(new Class348[]{new Class348(Class347.aClass347_4439)});
      }
   }

   void method6311() {
      if(this.anInterface35_4405 == null) {
         this.anInterface35_4405 = this.aClass545_Sub2_4389.method15237(false);
         this.anInterface35_4405.method220(12, 4);
         ByteBuffer var1 = this.aClass545_Sub2_4389.aByteBuffer9763;
         var1.clear();
         var1.putFloat(0.0F);
         var1.putFloat(1.0F);
         var1.putFloat(2.0F);
         this.anInterface35_4405.method217(0, var1.position(), this.aClass545_Sub2_4389.aLong9730);
         this.aClass341_4406 = this.aClass545_Sub2_4389.method15076(new Class348[]{new Class348(Class347.aClass347_4439)});
      }
   }

   void method6312() {
      if(this.anInterface35_4405 == null) {
         this.anInterface35_4405 = this.aClass545_Sub2_4389.method15237(false);
         this.anInterface35_4405.method220(12, 4);
         ByteBuffer var1 = this.aClass545_Sub2_4389.aByteBuffer9763;
         var1.clear();
         var1.putFloat(0.0F);
         var1.putFloat(1.0F);
         var1.putFloat(2.0F);
         this.anInterface35_4405.method217(0, var1.position(), this.aClass545_Sub2_4389.aLong9730);
         this.aClass341_4406 = this.aClass545_Sub2_4389.method15076(new Class348[]{new Class348(Class347.aClass347_4439)});
      }
   }

   void method6313() {
      this.aClass545_Sub2_4389.method15078(0, this.anInterface35_4405);
      this.aClass545_Sub2_4389.method14991(this.aClass341_4406);
      this.aClass545_Sub2_4389.method14993(Class374.aClass374_4670, 0, 1);
   }

   void method6314() {
      this.method6302();
      switch(this.anInt4407) {
      case 0:
         this.aClass91_4400 = Class91.aClass91_897;
         break;
      case 1:
         this.aClass91_4400 = Class91.aClass91_903;
         break;
      case 2:
         this.aClass91_4400 = Class91.aClass91_902;
         break;
      default:
         throw new RuntimeException();
      }

      this.aClass151_Sub1_4390 = this.aClass545_Sub2_4389.method11454();
      if(this.aClass545_Sub2_4389.anInt9757 > 1 && this.aClass545_Sub2_4389.aBool9694 && this.aClass545_Sub2_4389.aBool9767) {
         this.aClass151_Sub1_4408 = this.aClass545_Sub2_4389.method11454();
         this.anInterface7_4397 = this.aClass545_Sub2_4389.method11455(this.anInt4388, this.anInt4396, Class98.aClass98_992, this.aClass91_4400, this.aClass545_Sub2_4389.anInt9757);
         this.anInterface8_4391 = this.aClass545_Sub2_4389.method11457(this.anInt4388, this.anInt4396, this.aClass545_Sub2_4389.anInt9757);
      }

      this.anInterface36_4402 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4399 = this.anInterface36_4402.method222(0);
      this.anInterface36_4392 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4395 = this.anInterface36_4392.method222(0);
      this.anInterface36_4393 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4394 = this.anInterface36_4393.method222(0);
      this.anInterface8_4398 = this.aClass545_Sub2_4389.method11456(this.anInt4388, this.anInt4396);
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6360(this.anInt4388, this.anInt4396);
      }

   }

   void method6315() {
      this.method6302();
      switch(this.anInt4407) {
      case 0:
         this.aClass91_4400 = Class91.aClass91_897;
         break;
      case 1:
         this.aClass91_4400 = Class91.aClass91_903;
         break;
      case 2:
         this.aClass91_4400 = Class91.aClass91_902;
         break;
      default:
         throw new RuntimeException();
      }

      this.aClass151_Sub1_4390 = this.aClass545_Sub2_4389.method11454();
      if(this.aClass545_Sub2_4389.anInt9757 > 1 && this.aClass545_Sub2_4389.aBool9694 && this.aClass545_Sub2_4389.aBool9767) {
         this.aClass151_Sub1_4408 = this.aClass545_Sub2_4389.method11454();
         this.anInterface7_4397 = this.aClass545_Sub2_4389.method11455(this.anInt4388, this.anInt4396, Class98.aClass98_992, this.aClass91_4400, this.aClass545_Sub2_4389.anInt9757);
         this.anInterface8_4391 = this.aClass545_Sub2_4389.method11457(this.anInt4388, this.anInt4396, this.aClass545_Sub2_4389.anInt9757);
      }

      this.anInterface36_4402 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4399 = this.anInterface36_4402.method222(0);
      this.anInterface36_4392 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4395 = this.anInterface36_4392.method222(0);
      this.anInterface36_4393 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4394 = this.anInterface36_4393.method222(0);
      this.anInterface8_4398 = this.aClass545_Sub2_4389.method11456(this.anInt4388, this.anInt4396);
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6360(this.anInt4388, this.anInt4396);
      }

   }

   void method6316() {
      this.method6302();
      switch(this.anInt4407) {
      case 0:
         this.aClass91_4400 = Class91.aClass91_897;
         break;
      case 1:
         this.aClass91_4400 = Class91.aClass91_903;
         break;
      case 2:
         this.aClass91_4400 = Class91.aClass91_902;
         break;
      default:
         throw new RuntimeException();
      }

      this.aClass151_Sub1_4390 = this.aClass545_Sub2_4389.method11454();
      if(this.aClass545_Sub2_4389.anInt9757 > 1 && this.aClass545_Sub2_4389.aBool9694 && this.aClass545_Sub2_4389.aBool9767) {
         this.aClass151_Sub1_4408 = this.aClass545_Sub2_4389.method11454();
         this.anInterface7_4397 = this.aClass545_Sub2_4389.method11455(this.anInt4388, this.anInt4396, Class98.aClass98_992, this.aClass91_4400, this.aClass545_Sub2_4389.anInt9757);
         this.anInterface8_4391 = this.aClass545_Sub2_4389.method11457(this.anInt4388, this.anInt4396, this.aClass545_Sub2_4389.anInt9757);
      }

      this.anInterface36_4402 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4399 = this.anInterface36_4402.method222(0);
      this.anInterface36_4392 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4395 = this.anInterface36_4392.method222(0);
      this.anInterface36_4393 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4394 = this.anInterface36_4393.method222(0);
      this.anInterface8_4398 = this.aClass545_Sub2_4389.method11456(this.anInt4388, this.anInt4396);
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6360(this.anInt4388, this.anInt4396);
      }

   }

   void method6317() {
      if(this.aClass151_Sub1_4408 != null) {
         this.aClass151_Sub1_4408.method10();
         this.aClass151_Sub1_4408 = null;
      }

      if(this.anInterface7_4397 != null) {
         this.anInterface7_4397.method10();
         this.anInterface7_4397 = null;
      }

      if(this.anInterface8_4391 != null) {
         this.anInterface8_4391.method10();
         this.anInterface8_4391 = null;
      }

      this.aClass151_Sub1_4390.method10();
      this.anInterface7_4399.method10();
      this.anInterface7_4395.method10();
      this.anInterface7_4394.method10();
      this.anInterface36_4402.method10();
      this.anInterface36_4392.method10();
      this.anInterface36_4393.method10();
      this.anInterface8_4398.method10();
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6364();
      }

   }

   boolean method6318(Class352 var1) {
      return this.method6304(this.aVector4404.size(), var1);
   }

   void method6319() {
      this.aClass545_Sub2_4389.method11462(true);
      this.aClass545_Sub2_4389.method15087();
      this.aClass545_Sub2_4389.method15173(0);
      this.aClass545_Sub2_4389.method15053(1);
      this.aClass545_Sub2_4389.L();
      this.aClass151_Sub1_4390.method14459((Interface8)null);
      this.aClass545_Sub2_4389.method14999(0, 0);
      int var1 = this.aVector4404.size();
      this.anInterface36_4393.method209();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         int var4 = var3.method6367();
         boolean var5 = var2 == var1 - 1;

         for(int var6 = 0; var6 < var4; ++var6) {
            if(var5 && var6 == var4 - 1) {
               this.aClass545_Sub2_4389.method11672(this.aClass151_Sub1_4390, (byte)92);
            } else {
               this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4395);
            }

            Interface36 var7 = this.anInterface36_4402;
            if(var6 == 0) {
               var7 = this.anInterface36_4393;
            }

            var3.method6365(var6, this.aClass151_Sub1_4390, var7, this.anInterface8_4398, this.anInterface36_4393);
            this.method6301();
            var3.method6366(var6);
            Interface36 var8 = this.anInterface36_4402;
            this.anInterface36_4402 = this.anInterface36_4392;
            this.anInterface36_4392 = var8;
            Interface7 var9 = this.anInterface7_4399;
            this.anInterface7_4399 = this.anInterface7_4395;
            this.anInterface7_4395 = var9;
         }
      }

      this.aClass545_Sub2_4389.method15173(1);
      this.aClass545_Sub2_4389.method15053(0);
      this.aClass545_Sub2_4389.method11462(false);
   }

   boolean method6320(int var1, int var2, int var3, int var4) {
      if(this.aVector4404.isEmpty()) {
         return false;
      } else {
         if(this.anInt4388 != var3 || this.anInt4396 != var4 || this.aClass545_Sub2_4389.anInt9757 != this.anInt4401) {
            this.anInt4401 = this.aClass545_Sub2_4389.anInt9757;
            this.anInt4388 = var3;
            this.anInt4396 = var4;
            this.method6317();
            this.method6321();
         }

         this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4394);
         if(this.anInterface8_4398 != null) {
            this.aClass151_Sub1_4390.method14459(this.anInterface8_4398);
         }

         if(this.aClass151_Sub1_4408 != null) {
            this.aClass151_Sub1_4408.method14460(0, this.anInterface7_4397);
            this.aClass151_Sub1_4408.method14459(this.anInterface8_4391);
            this.aClass545_Sub2_4389.method11451(this.aClass151_Sub1_4408, -543666943);
         } else {
            this.aClass545_Sub2_4389.method11451(this.aClass151_Sub1_4390, -543666943);
         }

         this.aClass545_Sub2_4389.ba(3, -16777216);
         this.aClass545_Sub2_4389.method15143(15);
         this.aClass545_Sub2_4389.method15068(0);
         if(!this.aClass151_Sub1_4390.method14461()) {
            throw new RuntimeException("");
         } else {
            this.aBool4403 = true;
            return true;
         }
      }
   }

   void method6321() {
      this.method6302();
      switch(this.anInt4407) {
      case 0:
         this.aClass91_4400 = Class91.aClass91_897;
         break;
      case 1:
         this.aClass91_4400 = Class91.aClass91_903;
         break;
      case 2:
         this.aClass91_4400 = Class91.aClass91_902;
         break;
      default:
         throw new RuntimeException();
      }

      this.aClass151_Sub1_4390 = this.aClass545_Sub2_4389.method11454();
      if(this.aClass545_Sub2_4389.anInt9757 > 1 && this.aClass545_Sub2_4389.aBool9694 && this.aClass545_Sub2_4389.aBool9767) {
         this.aClass151_Sub1_4408 = this.aClass545_Sub2_4389.method11454();
         this.anInterface7_4397 = this.aClass545_Sub2_4389.method11455(this.anInt4388, this.anInt4396, Class98.aClass98_992, this.aClass91_4400, this.aClass545_Sub2_4389.anInt9757);
         this.anInterface8_4391 = this.aClass545_Sub2_4389.method11457(this.anInt4388, this.anInt4396, this.aClass545_Sub2_4389.anInt9757);
      }

      this.anInterface36_4402 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4399 = this.anInterface36_4402.method222(0);
      this.anInterface36_4392 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4395 = this.anInterface36_4392.method222(0);
      this.anInterface36_4393 = this.aClass545_Sub2_4389.method15048(Class98.aClass98_992, this.aClass91_4400, this.anInt4388, this.anInt4396);
      this.anInterface7_4394 = this.anInterface36_4393.method222(0);
      this.anInterface8_4398 = this.aClass545_Sub2_4389.method11456(this.anInt4388, this.anInt4396);
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6360(this.anInt4388, this.anInt4396);
      }

   }

   void method6322() {
      this.aClass545_Sub2_4389.method11462(true);
      this.aClass545_Sub2_4389.method15087();
      this.aClass545_Sub2_4389.method15173(0);
      this.aClass545_Sub2_4389.method15053(1);
      this.aClass545_Sub2_4389.L();
      this.aClass151_Sub1_4390.method14459((Interface8)null);
      this.aClass545_Sub2_4389.method14999(0, 0);
      int var1 = this.aVector4404.size();
      this.anInterface36_4393.method209();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         int var4 = var3.method6367();
         boolean var5 = var2 == var1 - 1;

         for(int var6 = 0; var6 < var4; ++var6) {
            if(var5 && var6 == var4 - 1) {
               this.aClass545_Sub2_4389.method11672(this.aClass151_Sub1_4390, (byte)103);
            } else {
               this.aClass151_Sub1_4390.method14460(0, this.anInterface7_4395);
            }

            Interface36 var7 = this.anInterface36_4402;
            if(var6 == 0) {
               var7 = this.anInterface36_4393;
            }

            var3.method6365(var6, this.aClass151_Sub1_4390, var7, this.anInterface8_4398, this.anInterface36_4393);
            this.method6301();
            var3.method6366(var6);
            Interface36 var8 = this.anInterface36_4402;
            this.anInterface36_4402 = this.anInterface36_4392;
            this.anInterface36_4392 = var8;
            Interface7 var9 = this.anInterface7_4399;
            this.anInterface7_4399 = this.anInterface7_4395;
            this.anInterface7_4395 = var9;
         }
      }

      this.aClass545_Sub2_4389.method15173(1);
      this.aClass545_Sub2_4389.method15053(0);
      this.aClass545_Sub2_4389.method11462(false);
   }

   boolean method6323(Class352 var1) {
      return this.method6304(this.aVector4404.size(), var1);
   }

   void method6324() {
      if(this.aClass151_Sub1_4408 != null) {
         this.aClass151_Sub1_4408.method10();
         this.aClass151_Sub1_4408 = null;
      }

      if(this.anInterface7_4397 != null) {
         this.anInterface7_4397.method10();
         this.anInterface7_4397 = null;
      }

      if(this.anInterface8_4391 != null) {
         this.anInterface8_4391.method10();
         this.anInterface8_4391 = null;
      }

      this.aClass151_Sub1_4390.method10();
      this.anInterface7_4399.method10();
      this.anInterface7_4395.method10();
      this.anInterface7_4394.method10();
      this.anInterface36_4402.method10();
      this.anInterface36_4392.method10();
      this.anInterface36_4393.method10();
      this.anInterface8_4398.method10();
      int var1 = this.aVector4404.size();

      for(int var2 = 0; var2 < var1; ++var2) {
         Class352 var3 = (Class352)this.aVector4404.elementAt(var2);
         var3.method6364();
      }

   }

   Class345(Class545_Sub2 var1, int var2, int var3) {
      this.aClass545_Sub2_4389 = var1;
      this.aClass91_4400 = Class91.aClass91_897;
      this.anInt4388 = var2;
      this.anInt4396 = var3;
   }
}
