Skip to content

Commit 850d144

Browse files
Vauffxen-000
andcommitted
Update Windows patch for 2025-09-25 CS2 update
Co-authored-by: xen <[email protected]>
1 parent b5807e2 commit 850d144

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

MovementUnlocker.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
MovementUnlocker g_MovementUnlocker;
3030

3131
#ifdef _WIN32
32-
const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xB7\x2A\x2A\x2A\xF3\x0F\x58\xD4";
32+
const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xB0\x2A\x2A\x2A\xF3\x0F\x58\xD4";
3333
const char *pPatchPattern = "xxx???xxxx";
3434
int PatchLen = 6;
3535
#elif __linux__
@@ -113,7 +113,7 @@ bool MovementUnlocker::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxl
113113
SourceHook::SetMemAccess((void*)pPatchAddress, PatchLen, SH_MEM_READ | SH_MEM_WRITE | SH_MEM_EXEC);
114114

115115
#ifdef _WIN32
116-
const char* patchBytes[] = {"\xE9", "\xB8", "\x00", "\x00", "\x00", "\x90"};
116+
const char* patchBytes[] = {"\xE9", "\xB1", "\x00", "\x00", "\x00", "\x90"};
117117

118118
for (int i = 0; i < PatchLen; i++)
119119
*(unsigned char*)(pPatchAddress + i) = ((unsigned char*)patchBytes[i])[0];
@@ -154,7 +154,7 @@ const char *MovementUnlocker::GetLicense()
154154

155155
const char *MovementUnlocker::GetVersion()
156156
{
157-
return "1.7";
157+
return "1.8";
158158
}
159159

160160
const char *MovementUnlocker::GetDate()

0 commit comments

Comments
 (0)