From a0885c64946d2e8e93bf3fd1605deea63d581c1b Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Thu, 22 Feb 2024 23:27:37 +0700 Subject: [PATCH] Taskbar11: Updated the IME context menu patch to work with 26058 --- ExplorerPatcher/utility.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ExplorerPatcher/utility.h b/ExplorerPatcher/utility.h index 5cbbc6ebb..b3de9a430 100644 --- a/ExplorerPatcher/utility.h +++ b/ExplorerPatcher/utility.h @@ -600,13 +600,13 @@ inline BOOL WINAPI PatchContextMenuOfNewMicrosoftIME(BOOL* bFound) MODULEINFO mi; GetModuleInformation(GetCurrentProcess(), hInputSwitch, &mi, sizeof(mi)); - // 44 38 ?? ?? 74 ?? 48 8B CE E8 ?? ?? ?? ?? 85 C0 + // 44 38 ?? ?? 74 ?? ?? 8B CE E8 ?? ?? ?? ?? 85 C0 // ^^ Change jz into jmp PBYTE match = (PBYTE)FindPattern( hInputSwitch, mi.SizeOfImage, - "\x44\x38\x00\x00\x74\x00\x48\x8B\xCE\xE8\x00\x00\x00\x00\x85\xC0", - "xx??x?xxxx????xx" + "\x44\x38\x00\x00\x74\x00\x00\x8B\xCE\xE8\x00\x00\x00\x00\x85\xC0", + "xx??x??xxx????xx" ); if (!match) return FALSE;