mirror of
https://github.com/mgeeky/ThreadStackSpoofer
synced 2026-06-06 16:14:32 +00:00
update
This commit is contained in:
@@ -134,7 +134,7 @@ bool hookSleep()
|
|||||||
|
|
||||||
g_hookedSleep.origSleep = reinterpret_cast<typeSleep>(Sleep);
|
g_hookedSleep.origSleep = reinterpret_cast<typeSleep>(Sleep);
|
||||||
|
|
||||||
if (!fastTrampoline(true, (BYTE*)::Sleep, &MySleep, &buffers))
|
if (!fastTrampoline(true, (BYTE*)::Sleep, (void*)&MySleep, &buffers))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user