blob: 40a619bbc319102075e5926cd931fb591cc82e52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "engine/r2engine.h"
#include "server/r2server.h"
#include "hoststate.h"
#include "server/serverpresence.h"
AUTOHOOK_INIT()
// clang-format off
AUTOHOOK(CEngine__Frame, engine.dll + 0x1C8650,
void, __fastcall, (R2::CEngine* self))
// clang-format on
{
CEngine__Frame(self);
}
ON_DLL_LOAD("engine.dll", RunFrame, (CModule module))
{
AUTOHOOK_DISPATCH()
}
|