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/BigBaseV2/src/hooks/is_dlc_present.cpp
2021-12-06 16:39:46 +01:00

17 lines
297 B
C++

#include "gta/joaat.hpp"
#include "hooking.hpp"
#include "natives.hpp"
namespace big
{
bool hooks::is_dlc_present(Hash dlc_hash)
{
switch (dlc_hash)
{
case 0x96F02EE6:
return true;
}
return g_hooking->m_is_dlc_present_hook.get_original<decltype(&is_dlc_present)>()(dlc_hash);
}
}