Update pointers

This commit is contained in:
Federico Cecchetto 2022-02-07 02:00:15 +01:00
parent aa1ae8c574
commit 3060df1f05
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 lpReserv
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
const auto value = *reinterpret_cast<DWORD*>(0x21500000);
if (value != 0x9C28D23B)
const auto value = *reinterpret_cast<DWORD*>(0x21600000);
if (value != 0x9730166E)
{
MessageBoxA(NULL,
"This version of iw5-gsc-utils is outdated.\n" \

View File

@ -86,11 +86,11 @@ namespace game
namespace plutonium
{
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x206B77E0};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x206B7800};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x206B7840};
WEAK symbol<int(const char* fmt, ...)> printf{0x208A9060};
WEAK symbol<void*> function_table{0x206B0160};
WEAK symbol<void*> method_table{0x206B0930};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2074C520};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2074C540};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x2074C580};
WEAK symbol<int(const char* fmt, ...)> printf{0x2093E120};
WEAK symbol<void*> function_table{0x206FAA70};
WEAK symbol<void*> method_table{0x206FB240};
}
}