58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
// pch.h: 这是预编译标头文件。
|
|
// 下方列出的文件仅编译一次,提高了将来生成的生成性能。
|
|
// 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
|
|
// 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
|
|
// 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
|
|
|
|
#ifndef PCH_H
|
|
#define PCH_H
|
|
|
|
// 添加要在此处预编译的标头
|
|
#include "framework.h"
|
|
|
|
|
|
|
|
|
|
|
|
//获取EXE使用头 号位数据
|
|
int GetExeNutWrtNum(int Pos);
|
|
|
|
//写EXE使用头 号位数据
|
|
void SetExeNutWrtNum(int Pos, int num);
|
|
|
|
//获取Nut头 号位数据
|
|
int GetNutArrNum(int Nut头地址, int Pos);
|
|
|
|
//写Nut头 号位数据
|
|
void SetNutArrNum(int Nut头地址, int Pos, int num);
|
|
|
|
//读内存偏移地址
|
|
int GetHook(int Addr, std::string 地址);
|
|
|
|
|
|
//发包函数 地址
|
|
typedef DWORD SendPacks();
|
|
static SendPacks* _SendPacks = (SendPacks*)0x1127EC0;
|
|
|
|
//发包Class this地址
|
|
typedef DWORD SendClass;
|
|
static SendClass* _SendClass = (SendClass*)0x1AEB6E4;
|
|
|
|
//发包类型 地址
|
|
typedef int(__fastcall* SendPacksType)(DWORD thisc, int Seat, int Parm);
|
|
static SendPacksType _SendpacksType = (SendPacksType)0x1127D60;
|
|
|
|
//发包参数 BYTE
|
|
typedef int(__fastcall* SendPacksByte)(DWORD thisc, int Seat, int Parm);
|
|
static SendPacksByte _SendPacksByte = (SendPacksByte)0x1128550;
|
|
|
|
//发包参数 WORD
|
|
typedef int(__fastcall* SendPacksWORD)(DWORD thisc, int Seat, int Parm);
|
|
static SendPacksWORD _SendPacksWord = (SendPacksWORD)0x1128580;
|
|
|
|
//发包参数 DWORD
|
|
typedef int(__fastcall* SendPacksDWORD)(DWORD thisc, int Seat, int Parm);
|
|
static SendPacksDWORD _SendPacksDWord = (SendPacksDWORD)0x11285B0;
|
|
|
|
#endif //PCH_H
|