diff --git a/src/dllmain.cpp b/src/dllmain.cpp index e6657cd..a402edc 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -5,13 +5,13 @@ 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(0x21000000); - if (value != 0x7AC6) + const auto value = *reinterpret_cast(0x21500000); + if (value != 0x9C28D23B) { MessageBoxA(NULL, "This version of iw5-gsc-utils is outdated.\n" \ - "Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases" \ - , "ERROR", MB_ICONERROR); + "Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases", + "ERROR", MB_ICONERROR); return FALSE; } diff --git a/src/game/symbols.hpp b/src/game/symbols.hpp index 734cc75..83c7ada 100644 --- a/src/game/symbols.hpp +++ b/src/game/symbols.hpp @@ -83,11 +83,11 @@ namespace game namespace plutonium { - WEAK symbol> function_map_rev{0x206964D0}; - WEAK symbol> method_map_rev{0x206964F0}; - WEAK symbol> token_map_rev{0x20696530}; - WEAK symbol printf{0x20887840}; - WEAK symbol function_table{0x2068F210}; - WEAK symbol method_table{0x2068F9E0}; + WEAK symbol> function_map_rev{0x206B77E0}; + WEAK symbol> method_map_rev{0x206B7800}; + WEAK symbol> token_map_rev{0x206B7840}; + WEAK symbol printf{0x208A9060}; + WEAK symbol function_table{0x206B0160}; + WEAK symbol method_table{0x206B0930}; } } \ No newline at end of file