mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-14 03:02:22 +01:00
aa
This commit is contained in:
@@ -198,6 +198,9 @@ namespace Hooking
|
||||
|
||||
static bool Hook(UObject* DefaultClass, UFunction* Function, void* Detour, void** Original = nullptr, bool bUseSecondMethod = true, bool bHookExec = false) // Native hook
|
||||
{
|
||||
if (!Function)
|
||||
return false;
|
||||
|
||||
auto Exec = Function->GetFunc();
|
||||
|
||||
if (bHookExec)
|
||||
|
||||
Reference in New Issue
Block a user