1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "pch.h" #include "r2engine.h" #include "r2server.h" #include "hoststate.h" #include "serverpresence.h" AUTOHOOK_INIT() AUTOHOOK(CEngine__Frame, engine.dll + 0x1C8650, void, __fastcall, (R2::CEngine* self)) { CEngine__Frame(self); } ON_DLL_LOAD("engine.dll", RunFrame, (CModule module)) { AUTOHOOK_DISPATCH() }