From e918bdf28f0ba3f956b86cb562d772fb96c74a21 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Thu, 2 Dec 2021 00:42:58 +0100 Subject: [PATCH] Update dllmain.cpp --- src/dllmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 7aa72f6..0ef4a9b 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -5,8 +5,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv { if (ul_reason_for_call == DLL_PROCESS_ATTACH) { - const auto value = *reinterpret_cast(0x20800000); - if (value != 0x2A6784ED) + const auto value = *reinterpret_cast(0x20900000); + if (value != 0xF0681B6A) { MessageBoxA(NULL, "This version of iw5-gsc-utils is outdated.\n" \