This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/hooks/misc/queue_dependency.cpp

16 lines
335 B
C++
Raw Normal View History

#include "hooking.hpp"
#include "pointers.hpp"
namespace big
{
void hooks::queue_dependency(void* dependency)
{
2023-04-14 18:54:07 +02:00
if (dependency == g_pointers->m_gta.m_interval_check_func)
{
//LOG(INFO) << "Prevent attempt to queue a report to R*.";
return;
}
return g_hooking->get_original<hooks::queue_dependency>()(dependency);
}
}