mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-20 21:05:44 +00:00
Update pointers
This commit is contained in:
parent
10b45027d0
commit
9ca07aca55
@ -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*>(0x20900000);
|
||||
if (value != 0xF0681B6A)
|
||||
const auto value = *reinterpret_cast<DWORD*>(0x21000000);
|
||||
if (value != 0x7AC6)
|
||||
{
|
||||
MessageBoxA(NULL,
|
||||
"This version of iw5-gsc-utils is outdated.\n" \
|
||||
|
@ -83,11 +83,11 @@ namespace game
|
||||
|
||||
namespace plutonium
|
||||
{
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x20693038};
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x20693058};
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x20693098};
|
||||
WEAK symbol<int(const char* fmt, ...)> printf{0x208879B0};
|
||||
WEAK symbol<void*> function_table{0x2068BCF0};
|
||||
WEAK symbol<void*> method_table{0x2068C4C0};
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x206964D0};
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x206964F0};
|
||||
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x20696530};
|
||||
WEAK symbol<int(const char* fmt, ...)> printf{0x20887840};
|
||||
WEAK symbol<void*> function_table{0x2068F210};
|
||||
WEAK symbol<void*> method_table{0x2068F9E0};
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user