Example #1
0
 ObjectLoader(
     GameMode class230, int i, boolean bool, IndexLoader class45, IndexLoader class45_29_) {
   aClass60_3350 = new Cache(64);
   ((ObjectLoader) this).aClass60_3360 = new Cache(500);
   ((ObjectLoader) this).aClass60_3361 = new Cache(30);
   ((ObjectLoader) this).aClass60_3362 = new Cache(50);
   do {
     try {
       ((ObjectLoader) this).aBoolean3359 = bool;
       ((ObjectLoader) this).aClass45_3345 = class45_29_;
       aClass45_3343 = class45;
       if (aClass45_3343 == null) break;
       int i_30_ = aClass45_3343.getAmountChildren() + -1;
       aClass45_3343.getAmountChildEntries(i_30_);
     } catch (RuntimeException runtimeexception) {
       throw Class348_Sub17.method2929(
           runtimeexception,
           ("uha.<init>("
               + (class230 != null ? "{...}" : "null")
               + ','
               + i
               + ','
               + bool
               + ','
               + (class45 != null ? "{...}" : "null")
               + ','
               + (class45_29_ != null ? "{...}" : "null")
               + ')'));
     }
     break;
   } while (false);
 }
Example #2
0
 AnimationLoader(
     GameMode class230,
     int i,
     IndexLoader animLoader,
     IndexLoader skeletonLoader,
     IndexLoader skinLoader) {
   try {
     animIndexLoader = animLoader;
     if (animIndexLoader != null) {
       int i_8_ = animIndexLoader.getAmountChildren() - 1;
       animIndexLoader.getAmountChildEntries(i_8_);
     }
     Class239.method1711(7, skeletonLoader, 2, skinLoader);
   } catch (RuntimeException runtimeexception) {
     throw Class348_Sub17.method2929(
         runtimeexception,
         ("lfa.<init>("
             + (class230 != null ? "{...}" : "null")
             + ','
             + i
             + ','
             + (animLoader != null ? "{...}" : "null")
             + ','
             + (skeletonLoader != null ? "{...}" : "null")
             + ','
             + (skinLoader != null ? "{...}" : "null")
             + ')'));
   }
 }
Example #3
0
 final ObjectDefinition getObject(int i, int i_0_) {
   anInt3351++;
   ObjectDefinition class51;
   synchronized (aClass60_3350) {
     class51 = (ObjectDefinition) aClass60_3350.method583((long) i_0_, i ^ 0x32);
   }
   if (class51 != null) return class51;
   byte[] is;
   synchronized (aClass45_3343) {
     is =
         aClass45_3343.getChildArchive(
             Class239_Sub29.method1850(i_0_, 111), Class5_Sub1.method185(i_0_, (byte) -90));
   }
   class51 = new ObjectDefinition();
   ((ObjectDefinition) class51).anInt941 = i_0_;
   ((ObjectDefinition) class51).aClass263_933 = this;
   if (is != null) class51.method479((byte) 0, new ByteBuffer(is));
   class51.method488(-105);
   if (i != 0) ((ObjectLoader) this).aClass60_3361 = null;
   if (!((ObjectLoader) this).aBoolean3359 && ((ObjectDefinition) class51).aBoolean942) {
     ((ObjectDefinition) class51).anIntArray917 = null;
     ((ObjectDefinition) class51).aStringArray913 = null;
   }
   if (((ObjectDefinition) class51).aBoolean876) {
     ((ObjectDefinition) class51).anInt920 = 0;
     ((ObjectDefinition) class51).aBoolean896 = false;
   }
   synchronized (aClass60_3350) {
     aClass60_3350.method582(class51, (long) i_0_, (byte) -109);
   }
   return class51;
 }
Example #4
0
 final AnimationDefinition method835(int i, int i_0_) {
   anInt1483++;
   AnimationDefinition class17;
   synchronized (aClass60_1487) {
     class17 = (AnimationDefinition) aClass60_1487.method583((long) i, i_0_ + -68);
   }
   if (i_0_ != 7) aClass60_1491 = null;
   if (class17 != null) return class17;
   byte[] is;
   synchronized (animIndexLoader) {
     is =
         animIndexLoader.getChildArchive(
             Class15.method256(i, (byte) 125), ColorNode.method494(i_0_ ^ 0x55, i));
   }
   class17 = new AnimationDefinition();
   ((AnimationDefinition) class17).anInt269 = i;
   ((AnimationDefinition) class17).aClass87_251 = this;
   if (is != null) class17.method267(new ByteBuffer(is), false);
   class17.method270((byte) 124);
   synchronized (aClass60_1487) {
     aClass60_1487.method582(class17, (long) i, (byte) -126);
   }
   return class17;
 }