mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Edit Bug fix + cheat ckd thingf
This commit is contained in:
@@ -337,6 +337,8 @@ static inline void StaticUI()
|
||||
if (ImGui::Checkbox("Log ProcessEvent", &Globals::bLogProcessEvent))
|
||||
{
|
||||
// todo toggle hook
|
||||
// this is lowkey highkey a race.. so i hope this below will fix ? idk im confused
|
||||
UObject::ProcessEventOriginal = decltype(UObject::ProcessEventOriginal)(Addresses::ProcessEvent);
|
||||
Hooking::MinHook::Hook((PVOID)Addresses::ProcessEvent, ProcessEventHook, (PVOID*)&UObject::ProcessEventOriginal);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user