This commit is contained in:
FunkyFr3sh 2020-10-13 21:58:04 +02:00
parent be79bb8c8b
commit dc93ff735f
18 changed files with 127 additions and 31 deletions

View file

@ -24,6 +24,7 @@ static PROC hook_func(PROC *org_func, PROC new_func)
{
*org_func = new_func;
VirtualProtect(org_func, sizeof(PROC), old_protect, &old_protect);
return org;
}