Removed junk files. Updated safetyhook library version. Added library MinHook. Reviewed comments.

This commit is contained in:
2025-07-31 10:27:54 +02:00
parent e593734cb6
commit e3cd840911
43 changed files with 3070 additions and 161 deletions

14
external/Hooking/InjectHook.h vendored Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
namespace HookLib {
// Enum for different jump types. Additional jump types can be added as needed by the user.
enum HookType {
JMP_LONG
};
// Installs a hook on a specific function.
bool InstallHook(void* targetFunction, void* hookAddress, HookType type);
// Removes the hook.
bool RemoveHook(void* targetFunction);
}