diff --git a/de4dot.code/deobfuscators/DeobUtils.cs b/de4dot.code/deobfuscators/DeobUtils.cs index b83a17ec..77b8f8b5 100644 --- a/de4dot.code/deobfuscators/DeobUtils.cs +++ b/de4dot.code/deobfuscators/DeobUtils.cs @@ -189,19 +189,6 @@ namespace de4dot.code.deobfuscators { return null; } - //TODO: Remove this method - public static int readVariableLengthInt32(BinaryReader reader) { - byte b = reader.ReadByte(); - if ((b & 0x80) == 0) - return b; - if ((b & 0x40) == 0) - return (((int)b & 0x3F) << 8) + reader.ReadByte(); - return (((int)b & 0x3F) << 24) + - ((int)reader.ReadByte() << 16) + - ((int)reader.ReadByte() << 8) + - reader.ReadByte(); - } - public static int readVariableLengthInt32(byte[] data, ref int index) { byte b = data[index++]; if ((b & 0x80) == 0)