Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void method5602(Buffer buffer, int opcode, int i_3_) {
- try {
- if (opcode == 1) {
- int i_4_ = buffer.readUnsignedShort(989694058);
- anIntArray4466 = new int[i_4_];
- for (int i_5_ = 0; i_5_ < i_4_; i_5_++) {
- anIntArray4466[i_5_] = buffer.readUnsignedShort(972028286);
- }
- anIntArray4471 = new int[i_4_];
- for (int i_6_ = 0; i_6_ < i_4_; i_6_++) {
- anIntArray4471[i_6_] = buffer.readUnsignedShort(-57869157);
- }
- for (int i_7_ = 0; i_7_ < i_4_; i_7_++) {
- anIntArray4471[i_7_] = ((buffer
- .readUnsignedShort(1770465606) << 16) + anIntArray4471[i_7_]);
- }
- } else if (opcode == 2) {
- anInt4464 = buffer.readUnsignedShort(1902356571) * -1656603379;
- } else if (opcode == 3) {
- aBooleanArray4465 = new boolean[256];
- int i_8_ = buffer.readUnsignedByte();
- for (int i_9_ = 0; i_9_ < i_8_; i_9_++) {
- aBooleanArray4465[buffer.readUnsignedByte()] = true;
- }
- } else if (opcode == 5) {
- anInt4470 = buffer.readUnsignedByte() * -1138252645;
- } else if (6 == opcode) {
- anInt4474 = buffer.readUnsignedShort(1897123831) * 581730223;
- } else if (opcode == 7) {
- anInt4462 = buffer.readUnsignedShort(-67380386) * -966303783;
- } else if (opcode == 8) {
- anInt4469 = buffer.readUnsignedByte() * 1853601525;
- } else if (9 == opcode) {
- anInt4477 = buffer.readUnsignedByte() * -1545891995;
- } else if (opcode == 10) {
- anInt4460 = buffer.readUnsignedByte() * 1004154137;
- } else if (opcode == 11) {
- anInt4472 = buffer.readUnsignedByte() * 1793490937;
- } else if (12 == opcode) {
- int i_10_ = buffer.readUnsignedByte();
- anIntArray4461 = new int[i_10_];
- for (int i_11_ = 0; i_11_ < i_10_; i_11_++) {
- anIntArray4461[i_11_] = buffer
- .readUnsignedShort(1681041407);
- }
- for (int i_12_ = 0; i_12_ < i_10_; i_12_++) {
- anIntArray4461[i_12_] = ((buffer
- .readUnsignedShort(1188850609) << 16) + anIntArray4461[i_12_]);
- }
- } else if (opcode == 13) {
- int i_13_ = buffer.readUnsignedShort(-43639832);
- sounds = new int[i_13_][];
- for (int i_14_ = 0; i_14_ < i_13_; i_14_++) {
- int i_15_ = buffer.readUnsignedByte();
- if (i_15_ > 0) {
- sounds[i_14_] = new int[i_15_];
- sounds[i_14_][0] = buffer
- .readUnsignedTriByte(-1401356047);
- for (int i_16_ = 1; i_16_ < i_15_; i_16_++) {
- sounds[i_14_][i_16_] = buffer
- .readUnsignedShort(1333908566);
- }
- }
- }
- } else if (opcode == 14) {
- aBoolean4473 = true;
- } else if (opcode == 15) {
- aBoolean4479 = true;
- } else if (16 == opcode) {
- if (i_3_ <= 626970176) {
- /* empty */
- }
- } else if (opcode == 18) {
- aBoolean4475 = true;
- } else if (opcode == 19) {
- if (null == anIntArray4476) {
- anIntArray4476 = new int[sounds.length];
- for (int i_17_ = 0; i_17_ < sounds.length; i_17_++) {
- anIntArray4476[i_17_] = 255;
- }
- }
- anIntArray4476[buffer.readUnsignedByte()] = buffer
- .readUnsignedByte();
- } else if (opcode == 20) {
- if ((anIntArray4468 == null) || (anIntArray4478 == null)) {
- anIntArray4468 = new int[sounds.length];
- anIntArray4478 = new int[sounds.length];
- for (int i_18_ = 0; i_18_ < sounds.length; i_18_++) {
- anIntArray4468[i_18_] = 256;
- anIntArray4478[i_18_] = 256;
- }
- }
- int i_19_ = buffer.readUnsignedByte();
- anIntArray4468[i_19_] = buffer.readUnsignedShort(621617751);
- anIntArray4478[i_19_] = buffer.readUnsignedShort(1404685210);
- } else if (22 == opcode) {
- anInt4480 = buffer.readUnsignedByte() * 614995819;
- } else if (249 == opcode) {
- int i_20_ = buffer.readUnsignedByte();
- if (null == ((AnimationDefinition) this).aClass497_4467) {
- int i_21_ = Class136.method1594(i_20_, 2127338250);
- ((AnimationDefinition) this).aClass497_4467 = new Class497(
- i_21_);
- }
- for (int i_22_ = 0; i_22_ < i_20_; i_22_++) {
- boolean bool = buffer.readUnsignedByte() == 1;
- int i_23_ = buffer.readUnsignedTriByte(-1401356047);
- Linkable class330;
- if (bool) {
- class330 = new Class330_Sub35(
- buffer.readString(1374053223));
- } else {
- class330 = new Class330_Sub23(buffer.readInt());
- }
- ((AnimationDefinition) this).aClass497_4467.method6097(
- class330, (long) i_23_);
- }
- }
- } catch (RuntimeException runtimeexception) {
- throw SceneNodeType.method5964(runtimeexception,
- new StringBuilder().append("sf.j(").append(')').toString());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement