From 015e5ac3f789f41c24a77c51b6f151e314011237 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 28 Jul 2024 23:05:23 +0800 Subject: [PATCH] [saco] Implement/match `RestoreMousePositionUpdate()` --- saco/game/game.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index d7f153f..7c70cee 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -195,6 +195,16 @@ void DisableMousePositionUpdate() *(DWORD*)0x53F4B3 = (DWORD)&dwDummyActiveMouseState; } +void RestoreMousePositionUpdate() +{ + UnFuck(0x53F47A,4); + UnFuck(0x53F49A,4); + UnFuck(0x53F4B3,4); + *(DWORD*)0x53F47A = 0xB73410; + *(DWORD*)0x53F49A = 0xB73414; + *(DWORD*)0x53F4B3 = 0xB7340C; +} + void CGame::InitGame() { // Create a buffer for game text.