remove old stom hooks

This commit is contained in:
FunkyFr3sh 2020-10-15 01:17:40 +02:00
parent a17896d154
commit d45bf45895
3 changed files with 12 additions and 12 deletions

View file

@ -155,7 +155,6 @@ void hook_create(char *module_name, char *function_name, PROC new_function, PROC
if (g_hook_method == 1)
{
hook_patch_iat(GetModuleHandle(NULL), module_name, function_name, new_function);
hook_patch_iat(GetModuleHandle("storm.dll"), module_name, function_name, new_function);
}
}
@ -213,12 +212,6 @@ void hook_revert(char *module_name, char *function_name, PROC new_function, PROC
module_name,
function_name,
GetProcAddress(GetModuleHandle(module_name), function_name));
hook_patch_iat(
GetModuleHandle("storm.dll"),
module_name,
function_name,
GetProcAddress(GetModuleHandle(module_name), function_name));
}
}