当前位置: 首页>>代码示例>>C++>>正文


C++ Memory::FindPatternArr方法代码示例

本文整理汇总了C++中Memory::FindPatternArr方法的典型用法代码示例。如果您正苦于以下问题:C++ Memory::FindPatternArr方法的具体用法?C++ Memory::FindPatternArr怎么用?C++ Memory::FindPatternArr使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Memory的用法示例。


在下文中一共展示了Memory::FindPatternArr方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: PatternScan

/* Offset Scan */
void PatternScan()
{
	/* LocalPlayer */
	DWORD LocalPlayerArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "xxx????xx????xxxxx?", 19, 0x8D, 0x34, 0x85, 0x0, 0x0, 0x0, 0x0, 0x89, 0x15, 0x0, 0x0, 0x0, 0x0, 0x8B, 0x41, 0x8, 0x8B, 0x48, 0x0);
	LocalPlayer = (MManager.Read<DWORD>(LocalPlayerArray + 3) + MManager.Read<BYTE>(LocalPlayerArray + 18)) - Client.dwBase;

	/* EntityList */
	DWORD EntityListArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "x????xx?xxx", 11, 0x5, 0x0, 0x0, 0x0, 0x0, 0xC1, 0xE9, 0x0, 0x39, 0x48, 0x4);
	EntityList = (MManager.Read<DWORD>(EntityListArray + 1) + MManager.Read<BYTE>(EntityListArray + 7)) - Client.dwBase;

	/* Vector Punch */
	DWORD VectorPunchArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "xxx????xx????xxxxxx", 19, 0x0F, 0x7E, 0x82, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x82, 0x00, 0x00, 0x00, 0x00, 0x66, 0x0F, 0xD6, 0x45, 0xD0, 0xF3);
	VectorPunch = MManager.Read<DWORD>(VectorPunchArray + 3);

	/* CrosshairID */
	DWORD CrosshairIDArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "xxxxxx????????xx????xx????xxx????xx", 35, 0x56, 0x57, 0x8B, 0xF9, 0xC7, 0x87, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x0D, 0x00, 0x00, 0x00, 0x0, 0x81, 0xF9, 0x00, 0x00, 0x00, 0x0, 0x75, 0x07, 0xA1, 0x00, 0x00, 0x00, 0x00, 0xEB, 0x07);
	CrosshairID = MManager.Read<DWORD>(CrosshairIDArray + 6);

	/* Sensitivity */
	DWORD SensitivityArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "xxxx????xx????xxxxxx????xxxxxx?xx", 33, 0x7A, 0x2C, 0x8B, 0x0D, 0, 0, 0, 0, 0x81, 0xF9, 0, 0, 0, 0, 0x75, 0x0A, 0xF3, 0x0F, 0x10, 0x05, 0, 0, 0, 0, 0xEB, 0x0F, 0x8B, 0x01, 0x8B, 0x40, 0, 0xFF, 0xD0);
	Sensitivity = MManager.Read<DWORD>(SensitivityArray + 20) - Client.dwBase;

	/* Glow Object */
	DWORD GlowObjectArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "x????xxxxxxxx?", 14, 0xB8, 0, 0, 0, 0, 0xC3, 0xCC, 0xCC, 0xCC, 0x55, 0x8B, 0xEC, 0xA1, 0);
	GlowObject = MManager.Read<DWORD>(GlowObjectArray + 1) - Client.dwBase;

	/* View Angle */
	DWORD ViewAngleArray = MManager.FindPatternArr(Engine.dwBase, Engine.dwSize, "xx????xxxxx????xxxx????xxx", 26, 0x8B, 0x15, 0x00, 0x00, 0x00, 0x00, 0x8B, 0x4D, 0x08, 0x8B, 0x82, 0x00, 0x00, 0x00, 0x00, 0x89, 0x01, 0x8B, 0x82, 0x00, 0x00, 0x00, 0x00, 0x89, 0x41, 0x04);
	ViewAngle = MManager.Read<DWORD>(ViewAngleArray + 11);

	/* EnginePointer */
	DWORD EnginePointerArray = MManager.FindPatternArr(Engine.dwBase, Engine.dwSize, "xxxxxxxx????xxxxxxxxxx????xxxx????xxx", 37, 0xF3, 0x0F, 0x5C, 0xC1, 0xF3, 0x0F, 0x10, 0x15, 0x0, 0x0, 0x0, 0x0, 0x0F, 0x2F, 0xD0, 0x76, 0x04, 0xF3, 0x0F, 0x58, 0xC1, 0xA1, 0x0, 0x0, 0x0, 0x0, 0xF3, 0x0F, 0x11, 0x80, 0x0, 0x0, 0x0, 0x0, 0xD9, 0x46, 0x04);
	EnginePointer = MManager.Read<DWORD>(EnginePointerArray + 22) - Engine.dwBase;

	/* ForceJump */
	DWORD ForceJumpArray = MManager.FindPatternArr(Client.dwBase, Client.dwSize, "xx????xx????xxxxxxxxxxx", 23, 0x89, 0x15, 0x0, 0x0, 0x0, 0x0, 0x8B, 0x15, 0x0, 0x0, 0x0, 0x0, 0xF6, 0xC2, 0x3, 0x74, 0x3, 0x83, 0xCE, 0x8, 0xA8, 0x8, 0xBF);
	ForceJump = MManager.Read<DWORD>(ForceJumpArray + 2) - Client.dwBase;
}
开发者ID:XToolsXYZ,项目名称:MultiTool,代码行数:39,代码来源:main.cpp


注:本文中的Memory::FindPatternArr方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。