From 73ccda58c06486ad72d87a52eba0e6342422581c Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Wed, 15 Dec 2021 23:35:41 +0100 Subject: [PATCH] Update dllhook.c --- Sandboxie/core/dll/dllhook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sandboxie/core/dll/dllhook.c b/Sandboxie/core/dll/dllhook.c index 2d0d1ca4..d76d5be1 100644 --- a/Sandboxie/core/dll/dllhook.c +++ b/Sandboxie/core/dll/dllhook.c @@ -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