mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-22 05:35:43 +00:00
Update pointers
This commit is contained in:
parent
9ca07aca55
commit
1b65bda323
@ -5,13 +5,13 @@ 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*>(0x21000000);
|
const auto value = *reinterpret_cast<DWORD*>(0x21500000);
|
||||||
if (value != 0x7AC6)
|
if (value != 0x9C28D23B)
|
||||||
{
|
{
|
||||||
MessageBoxA(NULL,
|
MessageBoxA(NULL,
|
||||||
"This version of iw5-gsc-utils is outdated.\n" \
|
"This version of iw5-gsc-utils is outdated.\n" \
|
||||||
"Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases" \
|
"Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases",
|
||||||
, "ERROR", MB_ICONERROR);
|
"ERROR", MB_ICONERROR);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -83,11 +83,11 @@ namespace game
|
|||||||
|
|
||||||
namespace plutonium
|
namespace plutonium
|
||||||
{
|
{
|
||||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x206964D0};
|
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{0x206964F0};
|
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{0x20696530};
|
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x206B7840};
|
||||||
WEAK symbol<int(const char* fmt, ...)> printf{0x20887840};
|
WEAK symbol<int(const char* fmt, ...)> printf{0x208A9060};
|
||||||
WEAK symbol<void*> function_table{0x2068F210};
|
WEAK symbol<void*> function_table{0x206B0160};
|
||||||
WEAK symbol<void*> method_table{0x2068F9E0};
|
WEAK symbol<void*> method_table{0x206B0930};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user