DNF_DLL/test/hook.h

22 lines
293 B
C++

#pragma once
class hook
{
private:
public:
//HOOK_NUT的替换函数
static uint32_t H_Register_Nut(uint32_t v, void* f, int freeVarsCnt);
//HOOK_收包的替换函数
static void H_Register_Pack(void* Ecx);
//总HOOK
static int RegisterHook();
//插件执行Nut
static int InitGameScript();
};