Update pointers

This commit is contained in:
Federico Cecchetto 2022-03-17 19:23:52 +01:00
parent e2960bc895
commit df23604b1e
2 changed files with 8 additions and 8 deletions

View File

@ -5,8 +5,8 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*lp
{ {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{ {
const auto value = *reinterpret_cast<DWORD*>(0x21600000); const auto value = *reinterpret_cast<DWORD*>(0x21B00000);
if (value != 0x8A94852) if (value != 0x64AA1902)
{ {
MessageBoxA(NULL, MessageBoxA(NULL,
"This version of iw5-gsc-utils is outdated.\n" \ "This version of iw5-gsc-utils is outdated.\n" \

View File

@ -86,11 +86,11 @@ namespace game
namespace plutonium namespace plutonium
{ {
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2074C520}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x20802D34};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2074C540}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x20802D54};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x2074C580}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x20802D94};
WEAK symbol<int(const char* fmt, ...)> printf{0x2093E120}; WEAK symbol<int(const char* fmt, ...)> printf{0x209F30F0};
WEAK symbol<void*> function_table{0x206FAA70}; WEAK symbol<void*> function_table{0x20762008};
WEAK symbol<void*> method_table{0x206FB240}; WEAK symbol<void*> method_table{0x207627D8};
} }
} }