Update pointers

This commit is contained in:
Federico Cecchetto 2021-10-21 18:55:01 +02:00
parent 739ea2a7f0
commit a19c2761c8
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ 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*>(0x20700000); const auto value = *reinterpret_cast<DWORD*>(0x20700000);
if (value != 0x6FD5F7FB) if (value != 0x2A6784ED)
{ {
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{0x2059AB70}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2059B080};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2059AB90}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2059B0A0};
} }
} }