From f84375a5139fa93149cb2f4b6f3bf7bf587b2af1 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 3 Sep 2021 02:18:22 +0300 Subject: [PATCH] Fix for ARM64 offset patcher --- ExplorerPatcher/dllmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 7f4e99e..48e2a04 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -3326,7 +3326,8 @@ __declspec(dllexport) DWORD WINAPI main( ); instruction <<= 8; instruction >>= 13; - instruction &= 0b00010100000000000000000000000000; + instruction &= 0b00010111111111111111111111111111; + instruction |= 0b00010100000000000000000000000000; memcpy( (LPVOID)dwInjectedAddr, &instruction,