Advertisement
Guest User

Untitled

a guest
May 25th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.55 KB | None | 0 0
  1.     void method5602(Buffer buffer, int opcode, int i_3_) {
  2.         try {
  3.             if (opcode == 1) {
  4.                 int i_4_ = buffer.readUnsignedShort(989694058);
  5.  
  6.                 anIntArray4466 = new int[i_4_];
  7.  
  8.                 for (int i_5_ = 0; i_5_ < i_4_; i_5_++) {
  9.                     anIntArray4466[i_5_] = buffer.readUnsignedShort(972028286);
  10.                 }
  11.  
  12.                 anIntArray4471 = new int[i_4_];
  13.  
  14.                 for (int i_6_ = 0; i_6_ < i_4_; i_6_++) {
  15.                     anIntArray4471[i_6_] = buffer.readUnsignedShort(-57869157);
  16.                 }
  17.  
  18.                 for (int i_7_ = 0; i_7_ < i_4_; i_7_++) {
  19.                     anIntArray4471[i_7_] = ((buffer
  20.                             .readUnsignedShort(1770465606) << 16) + anIntArray4471[i_7_]);
  21.                 }
  22.             } else if (opcode == 2) {
  23.                 anInt4464 = buffer.readUnsignedShort(1902356571) * -1656603379;
  24.             } else if (opcode == 3) {
  25.                 aBooleanArray4465 = new boolean[256];
  26.  
  27.                 int i_8_ = buffer.readUnsignedByte();
  28.  
  29.                 for (int i_9_ = 0; i_9_ < i_8_; i_9_++) {
  30.                     aBooleanArray4465[buffer.readUnsignedByte()] = true;
  31.                 }
  32.             } else if (opcode == 5) {
  33.                 anInt4470 = buffer.readUnsignedByte() * -1138252645;
  34.             } else if (6 == opcode) {
  35.                 anInt4474 = buffer.readUnsignedShort(1897123831) * 581730223;
  36.             } else if (opcode == 7) {
  37.                 anInt4462 = buffer.readUnsignedShort(-67380386) * -966303783;
  38.             } else if (opcode == 8) {
  39.                 anInt4469 = buffer.readUnsignedByte() * 1853601525;
  40.             } else if (9 == opcode) {
  41.                 anInt4477 = buffer.readUnsignedByte() * -1545891995;
  42.             } else if (opcode == 10) {
  43.                 anInt4460 = buffer.readUnsignedByte() * 1004154137;
  44.             } else if (opcode == 11) {
  45.                 anInt4472 = buffer.readUnsignedByte() * 1793490937;
  46.             } else if (12 == opcode) {
  47.                 int i_10_ = buffer.readUnsignedByte();
  48.  
  49.                 anIntArray4461 = new int[i_10_];
  50.  
  51.                 for (int i_11_ = 0; i_11_ < i_10_; i_11_++) {
  52.                     anIntArray4461[i_11_] = buffer
  53.                             .readUnsignedShort(1681041407);
  54.                 }
  55.  
  56.                 for (int i_12_ = 0; i_12_ < i_10_; i_12_++) {
  57.                     anIntArray4461[i_12_] = ((buffer
  58.                             .readUnsignedShort(1188850609) << 16) + anIntArray4461[i_12_]);
  59.                 }
  60.             } else if (opcode == 13) {
  61.                 int i_13_ = buffer.readUnsignedShort(-43639832);
  62.  
  63.                 sounds = new int[i_13_][];
  64.  
  65.                 for (int i_14_ = 0; i_14_ < i_13_; i_14_++) {
  66.                     int i_15_ = buffer.readUnsignedByte();
  67.  
  68.                     if (i_15_ > 0) {
  69.                         sounds[i_14_] = new int[i_15_];
  70.                         sounds[i_14_][0] = buffer
  71.                                 .readUnsignedTriByte(-1401356047);
  72.  
  73.                         for (int i_16_ = 1; i_16_ < i_15_; i_16_++) {
  74.                             sounds[i_14_][i_16_] = buffer
  75.                                     .readUnsignedShort(1333908566);
  76.                         }
  77.                     }
  78.                 }
  79.             } else if (opcode == 14) {
  80.                 aBoolean4473 = true;
  81.             } else if (opcode == 15) {
  82.                 aBoolean4479 = true;
  83.             } else if (16 == opcode) {
  84.                 if (i_3_ <= 626970176) {
  85.  
  86.                     /* empty */
  87.                 }
  88.             } else if (opcode == 18) {
  89.                 aBoolean4475 = true;
  90.             } else if (opcode == 19) {
  91.                 if (null == anIntArray4476) {
  92.                     anIntArray4476 = new int[sounds.length];
  93.  
  94.                     for (int i_17_ = 0; i_17_ < sounds.length; i_17_++) {
  95.                         anIntArray4476[i_17_] = 255;
  96.                     }
  97.                 }
  98.  
  99.                 anIntArray4476[buffer.readUnsignedByte()] = buffer
  100.                         .readUnsignedByte();
  101.             } else if (opcode == 20) {
  102.                 if ((anIntArray4468 == null) || (anIntArray4478 == null)) {
  103.                     anIntArray4468 = new int[sounds.length];
  104.                     anIntArray4478 = new int[sounds.length];
  105.  
  106.                     for (int i_18_ = 0; i_18_ < sounds.length; i_18_++) {
  107.                         anIntArray4468[i_18_] = 256;
  108.                         anIntArray4478[i_18_] = 256;
  109.                     }
  110.                 }
  111.  
  112.                 int i_19_ = buffer.readUnsignedByte();
  113.  
  114.                 anIntArray4468[i_19_] = buffer.readUnsignedShort(621617751);
  115.                 anIntArray4478[i_19_] = buffer.readUnsignedShort(1404685210);
  116.             } else if (22 == opcode) {
  117.                 anInt4480 = buffer.readUnsignedByte() * 614995819;
  118.             } else if (249 == opcode) {
  119.                 int i_20_ = buffer.readUnsignedByte();
  120.  
  121.                 if (null == ((AnimationDefinition) this).aClass497_4467) {
  122.                     int i_21_ = Class136.method1594(i_20_, 2127338250);
  123.  
  124.                     ((AnimationDefinition) this).aClass497_4467 = new Class497(
  125.                             i_21_);
  126.                 }
  127.  
  128.                 for (int i_22_ = 0; i_22_ < i_20_; i_22_++) {
  129.                     boolean bool = buffer.readUnsignedByte() == 1;
  130.                     int i_23_ = buffer.readUnsignedTriByte(-1401356047);
  131.                     Linkable class330;
  132.  
  133.                     if (bool) {
  134.                         class330 = new Class330_Sub35(
  135.                                 buffer.readString(1374053223));
  136.                     } else {
  137.                         class330 = new Class330_Sub23(buffer.readInt());
  138.                     }
  139.  
  140.                     ((AnimationDefinition) this).aClass497_4467.method6097(
  141.                             class330, (long) i_23_);
  142.                 }
  143.             }
  144.         } catch (RuntimeException runtimeexception) {
  145.             throw SceneNodeType.method5964(runtimeexception,
  146.                     new StringBuilder().append("sf.j(").append(')').toString());
  147.         }
  148.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement