2022-03-08 12:57:35 +08:00
|
|
|
|
#pragma once
|
2022-04-24 02:31:42 +08:00
|
|
|
|
#include "MinHook.h"
|
|
|
|
|
|
#pragma comment(lib, "libMinHook.x86.lib")
|
2022-03-08 12:57:35 +08:00
|
|
|
|
|
2022-09-06 00:08:26 +08:00
|
|
|
|
extern std::vector< DrawCodestruct>DrawCodeT1_STL;
|
|
|
|
|
|
extern std::vector< DrawCodestruct>DrawCodeT2_STL;
|
2022-11-06 23:12:18 +08:00
|
|
|
|
extern std::vector< DrawCodestruct>DrawCodeT3_STL;
|
2022-09-06 00:08:26 +08:00
|
|
|
|
|
2022-03-08 12:57:35 +08:00
|
|
|
|
class hook
|
|
|
|
|
|
{
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
//HOOK_NUT<55><54><EFBFBD>滻<EFBFBD><E6BBBB><EFBFBD><EFBFBD>
|
|
|
|
|
|
static uint32_t H_Register_Nut(uint32_t v, void* f, int freeVarsCnt);
|
|
|
|
|
|
//HOOK_<4B>հ<EFBFBD><D5B0><EFBFBD><EFBFBD>滻<EFBFBD><E6BBBB><EFBFBD><EFBFBD>
|
|
|
|
|
|
static void H_Register_Pack(void* Ecx);
|
2022-04-24 02:31:42 +08:00
|
|
|
|
//HOOK_<4B><5F><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>滻<EFBFBD><E6BBBB><EFBFBD><EFBFBD>
|
|
|
|
|
|
static void _fastcall H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4, int a5, int a6);
|
2022-03-08 12:57:35 +08:00
|
|
|
|
//<2F><>HOOK
|
|
|
|
|
|
static int RegisterHook();
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|