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
329 B
C++
Raw Normal View History

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