Edit Bug fix + cheat ckd thingf

This commit is contained in:
Gray
2025-06-06 17:08:16 -04:00
parent 24068d8648
commit 3aab2efb9f
4 changed files with 52 additions and 6 deletions

View File

@@ -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);
}
}