Code cleaning

This commit is contained in:
Blu3train 2023-04-30 12:19:42 +02:00
parent 681f5fba40
commit 6967cca05c

View File

@ -21834,7 +21834,6 @@ bool InsertSystemNNN2Hook()
0x03, 0xC5, // add eax,ebp 0x03, 0xC5, // add eax,ebp
0x33, 0xDB // xor ebx,ebx 0x33, 0xDB // xor ebx,ebx
}; };
range = min(processStopAddress - processStartAddress, MAX_REL_ADDR);
addr = MemDbg::findBytes(bytes2, sizeof(bytes2), processStartAddress, processStartAddress + range); addr = MemDbg::findBytes(bytes2, sizeof(bytes2), processStartAddress, processStartAddress + range);
if (addr) { if (addr) {
HookParam hp = {}; HookParam hp = {};