Untitled diff

Created Diff never expires
86 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
65 lines
89 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
68 lines
private void readValues(Stream stream) {
void method4777(Buffer var1, int var2) {
int i;
int var3;
while ((i = stream.readUnsignedByte()) != 0) {
int var4;
if (i == 1) {
if(var2 == 1) {
anInt352 = stream.readUnsignedWord();
var3 = var1.readUShort();
anIntArray353 = new int[anInt352];
this.frameLengths = new int[var3];
anIntArray354 = new int[anInt352];

anIntArray355 = new int[anInt352];
for(var4 = 0; var4 < var3; ++var4) {
for (int j = 0; j < anInt352; j++) {
this.frameLengths[var4] = var1.readUShort();
anIntArray353[j] = stream.readDWord();
}
anIntArray354[j] = -1;

}
this.frameIDs = new int[var3];
for (int j = 0; j < anInt352; j++)

anIntArray355[j] = stream.readUnsignedByte();
for(var4 = 0; var4 < var3; ++var4) {
} else if (i == 2)
this.frameIDs[var4] = var1.readUShort();
anInt356 = stream.readUnsignedWord();
}
else if (i == 3) {

int k = stream.readUnsignedByte();
for(var4 = 0; var4 < var3; ++var4) {
anIntArray357 = new int[k + 1];
this.frameIDs[var4] += var1.readUShort() << 16;
for (int l = 0; l < k; l++)
}
anIntArray357[l] = stream.readUnsignedByte();
} else if(var2 == 2) {
anIntArray357[k] = 9999999;
this.frameStep = var1.readUShort();
} else if (i == 4)
} else if(var2 == 3) {
aBoolean358 = true;
var3 = var1.readUByte();
else if (i == 5)
this.interleaveLeave = new int[var3 + 1];
anInt359 = stream.readUnsignedByte();

else if (i == 6)
for(var4 = 0; var4 < var3; ++var4) {
anInt360 = stream.readUnsignedWord();
this.interleaveLeave[var4] = var1.readUByte();
else if (i == 7)
}
anInt361 = stream.readUnsignedWord();

else if (i == 8)
this.interleaveLeave[var3] = 9999999;
anInt362 = stream.readUnsignedByte();
} else if(var2 == 4) {
else if (i == 9)
this.stretches = true;
anInt363 = stream.readUnsignedByte();
} else if(var2 == 5) {
else if (i == 10)
this.forcedPriority = var1.readUByte();
anInt364 = stream.readUnsignedByte();
} else if(var2 == 6) {
else if (i == 11)
this.leftHandItem = var1.readUShort();
anInt365 = stream.readUnsignedByte();
} else if(var2 == 7) {
else if (i == 12)
this.rightHandItem = var1.readUShort();
stream.readDWord();
} else if(var2 == 8) {
else
this.maxLoops = var1.readUByte();
System.out.println("Error unrecognised seq config code: " + i);
} else if(var2 == 9) {
}
this.precedenceAnimating = var1.readUByte();
if (anInt352 == 0) {
} else if(var2 == 10) {
anInt352 = 1;
this.priority = var1.readUByte();
anIntArray353 = new int[1];
} else if(var2 == 11) {
anIntArray353[0] = -1;
this.replyMode = var1.readUByte();
anIntArray354 = new int[1];
} else if(var2 == 12) {
anIntArray354[0] = -1;
var3 = var1.readUByte();
anIntArray355 = new int[1];
this.field3621 = new int[var3];
anIntArray355[0] = -1;

}
for(var4 = 0; var4 < var3; ++var4) {
if (anInt363 == -1)
this.field3621[var4] = var1.readUShort();
if (anIntArray357 != null)
}
anInt363 = 2;

else
for(var4 = 0; var4 < var3; ++var4) {
anInt363 = 0;
this.field3621[var4] += var1.readUShort() << 16;
if (anInt364 == -1) {
}
if (anIntArray357 != null) {
} else if(var2 == 13) {
anInt364 = 2;
var3 = var1.readUByte();
return;
this.field3620 = new int[var3];
}

anInt364 = 0;
for(var4 = 0; var4 < var3; ++var4) {
}
this.field3620[var4] = var1.readMedium();
}
}
}

}