From a2673ddd75e1a3ef9c166c9da122e8a1dc54e823 Mon Sep 17 00:00:00 2001 From: Vauff Date: Sat, 24 Jan 2026 20:49:15 -0500 Subject: [PATCH] Update patches for 2026-01-21 CS2 update --- MovementUnlocker.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MovementUnlocker.cpp b/MovementUnlocker.cpp index b25d820..f4eef7d 100644 --- a/MovementUnlocker.cpp +++ b/MovementUnlocker.cpp @@ -29,11 +29,11 @@ MovementUnlocker g_MovementUnlocker; #ifdef _WIN32 -const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xB0\x2A\x2A\x2A\xF3\x0F\x58\xD3"; -const char *pPatchPattern = "xxx???xxxx"; +const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xAF\x2A\x2A\x2A\x0F\x57\xC0\x0F\x2E\xC2"; +const char *pPatchPattern = "xxx???xxxxxx"; int PatchLen = 6; #elif __linux__ -const unsigned char * pPatchSignature = (unsigned char *)"\x0F\x87\x2A\x2A\x2A\x2A\xF3\x0F\x10\x35\x2A\x2A\x2A\x2A\xF3\x0F\x11\xB5\x2A\x2A\x2A\x2A\x4C\x89\xEE"; +const unsigned char * pPatchSignature = (unsigned char *)"\x0F\x87\x2A\x2A\x2A\x2A\xF3\x0F\x10\x3D\x2A\x2A\x2A\x2A\xF3\x0F\x11\xBD\x2A\x2A\x2A\x2A\x48\x89\xDE"; const char* pPatchPattern = "xx????xxxx????xxxx????xxx"; int PatchLen = 6; #endif @@ -113,7 +113,7 @@ bool MovementUnlocker::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxl SourceHook::SetMemAccess((void*)pPatchAddress, PatchLen, SH_MEM_READ | SH_MEM_WRITE | SH_MEM_EXEC); #ifdef _WIN32 - const char* patchBytes[] = {"\xE9", "\xB1", "\x00", "\x00", "\x00", "\x90"}; + const char* patchBytes[] = {"\xE9", "\xB0", "\x00", "\x00", "\x00", "\x90"}; for (int i = 0; i < PatchLen; i++) *(unsigned char*)(pPatchAddress + i) = ((unsigned char*)patchBytes[i])[0]; @@ -154,7 +154,7 @@ const char *MovementUnlocker::GetLicense() const char *MovementUnlocker::GetVersion() { - return "1.9"; + return "1.10"; } const char *MovementUnlocker::GetDate()