Update pointers

This commit is contained in:
Federico Cecchetto 2021-10-01 03:04:08 +02:00
parent 6c99991429
commit 739ea2a7f0
2 changed files with 4 additions and 4 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) if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{ {
const auto value = *reinterpret_cast<DWORD*>(0x20600000); const auto value = *reinterpret_cast<DWORD*>(0x20700000);
if (value != 0x77E0B164) if (value != 0x6FD5F7FB)
{ {
printf("\x1b[31m\n**************************************************************************************\n\n"); printf("\x1b[31m\n**************************************************************************************\n\n");
printf("This version of \x1b[33miw5-gsc-utils\x1b[31m is outdated.\n"); printf("This version of \x1b[33miw5-gsc-utils\x1b[31m is outdated.\n");

View File

@ -79,7 +79,7 @@ namespace game
namespace plutonium namespace plutonium
{ {
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2059A610}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2059AB70};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2059A630}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2059AB90};
} }
} }