mirror of
https://github.com/Source2ZE/MovementUnlocker.git
synced 2026-09-27 20:57:04 +02:00
Update MovementUnlocker.cpp
This commit is contained in:
parent
3e7176fe75
commit
12d186098f
1 changed files with 2 additions and 2 deletions
|
|
@ -29,11 +29,11 @@
|
||||||
MovementUnlocker g_MovementUnlocker;
|
MovementUnlocker g_MovementUnlocker;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
const unsigned char *pPatchSignature = (unsigned char *)"\x76\x2A\xF2\x0F\x10\x4E\x2A\x41\x0F\x28\xD2\x0F\x28\xC1";
|
const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xB8\x2A\x2A\x2A\xF3\x0F\x58\xD4";
|
||||||
const char *pPatchPattern = "x?xxxx?xxxxxxx";
|
const char *pPatchPattern = "x?xxxx?xxxxxxx";
|
||||||
int PatchLen = 1;
|
int PatchLen = 1;
|
||||||
#elif __linux__
|
#elif __linux__
|
||||||
const unsigned char * pPatchSignature = (unsigned char *)"\x0F\x87\x2A\x2A\x2A\x2A\x49\x8B\x7C\x24\x2A\x48\x85\xFF";
|
const unsigned char * pPatchSignature = (unsigned char *)"\x0F\x87\x2A\x2A\x2A\x2A\xF3\x0F\x10\x3D\x2A\x2A\x2A\x2A\xF3\x0F\x11\xBD";
|
||||||
const char* pPatchPattern = "xx????xxxx?xxx";
|
const char* pPatchPattern = "xx????xxxx?xxx";
|
||||||
int PatchLen = 6;
|
int PatchLen = 6;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue