public static unsafe void Undetour(void *target, int level = -1) { Stack <NativeDetour> detours = _GetDetours((long)target); if (detours.Count == 0) { return; } NativeDetour detour = detours.Pop(); detour.Undo(); detour.Free(); }