Rename arg

This commit is contained in:
de4dot 2012-08-02 21:57:47 +02:00
parent 4800755e47
commit b333cc32da

View File

@ -103,12 +103,12 @@ namespace de4dot.code.deobfuscators.Confuser {
return modified; return modified;
} }
public static byte[] decryptCompressedInt32Data(Arg64ConstantsReader constReader, int exprStart, int expEnd, BinaryReader reader, byte[] decrypted) { public static byte[] decryptCompressedInt32Data(Arg64ConstantsReader constReader, int exprStart, int exprEnd, BinaryReader reader, byte[] decrypted) {
for (int i = 0; i < decrypted.Length; i++) { for (int i = 0; i < decrypted.Length; i++) {
constReader.Arg = Utils.readEncodedInt32(reader); constReader.Arg = Utils.readEncodedInt32(reader);
int index = exprStart; int index = exprStart;
long result; long result;
if (!constReader.getInt64(ref index, out result) || index != expEnd) if (!constReader.getInt64(ref index, out result) || index != exprEnd)
throw new ApplicationException("Could not decrypt integer"); throw new ApplicationException("Could not decrypt integer");
decrypted[i] = (byte)result; decrypted[i] = (byte)result;
} }