mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-19 07:28:04 +08:00
11 lines
277 B
C++
11 lines
277 B
C++
#include "hooking.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void hooks::invalid_mods_crash_detour(int64_t a1, int64_t a2, int a3, char a4)
|
|
{
|
|
if(!*(int64_t*)(a1 + 0xD8))
|
|
return;
|
|
g_hooking->get_original<hooks::invalid_mods_crash_detour>()(a1, a2, a3, a4);
|
|
}
|
|
} |