AmongUsMenu
AmongUsMenu copied to clipboard
Rare crash when unhooking
there is bug: https://github.com/BitCrackers/AmongUsMenu/blob/main/hooks/_hooks.cpp#L169 look at impl: https://github.com/BitCrackers/AmongUsMenu/blob/main/includes/detours/detours.cpp#L1937 if thread is within patched bytes when unhooking occurs then it'll crash. need to suspend every other thread and relocate instruction ptr if in trampoline. the detours library does this but only if you call DetourUpdateThread for each other thread.