Donetsk/hook_lib/devgui.cpp

10 lines
378 B
C++
Raw Permalink Normal View History

#include "addr_utils.hpp"
2023-10-24 10:16:45 -04:00
#include "devgui.h"
void CL_CreateDevGui_Detour(int fsMenuEntries, const char* modeCfg)
{
auto DevGui_AddCommand = reinterpret_cast<void(*)(const char* path, const char* command)>(0x1417E58B0_g);
auto DevGui_AddDvar = reinterpret_cast<void(*)(const char* path, uintptr_t dvar)>(0x1417E5940_g);
cl_createdevgui.stub<void>(fsMenuEntries, modeCfg);
}