From 2eb61f8667f063409ca63a6285d7ab3f7447e633 Mon Sep 17 00:00:00 2001 From: zeffy Date: Fri, 30 Jun 2017 19:20:02 -0700 Subject: [PATCH] Ctrl+R,R has failed me :thinking: --- wufuc/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wufuc/core.c b/wufuc/core.c index 7c0fe73..38e9853 100644 --- a/wufuc/core.c +++ b/wufuc/core.c @@ -105,8 +105,8 @@ BOOL PatchWUAgentHMODULE(HMODULE hModule) { lpbFirstRun = (LPBOOL)(lpfnIsDeviceServiceable + offset00 + sizeof(uint32_t) + *(uint32_t *)(lpfnIsDeviceServiceable + offset00)); lpbIsCPUSupportedResult = (LPBOOL)(lpfnIsDeviceServiceable + offset01 + sizeof(uint32_t) + *(uint32_t *)(lpfnIsDeviceServiceable + offset01)); #elif defined(_X86_) - lpbFirstRun = (LPBOOL)(*(uintptr_t *)(fpIsDeviceServiceable + offset00)); - lpbIsCPUSupportedResult = (LPBOOL)(*(uintptr_t *)(fpIsDeviceServiceable + offset01)); + lpbFirstRun = (LPBOOL)(*(uintptr_t *)(lpfnIsDeviceServiceable + offset00)); + lpbIsCPUSupportedResult = (LPBOOL)(*(uintptr_t *)(lpfnIsDeviceServiceable + offset01)); #endif if (*lpbFirstRun) {