Update dllhook.c

This commit is contained in:
DavidXanatos 2021-12-15 23:35:41 +01:00
parent 96135876d6
commit 73ccda58c0
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ skip_e9_rewrite: ;
diff = (UCHAR *)DetourFunc - (func + 5);
func[0] = 0xE9; // JMP DetourFunc
*(ULONG *)(&func[1]) = (ULONG)diff;
UsedCount = 1 + 4;
//UsedCount = 1 + 4;
#endif
// just in case nop out the rest of the code we moved to the trampoline