mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-20 21:05:44 +00:00
Small fix
This commit is contained in:
parent
24b3a9369e
commit
2ded4c6a2a
@ -71,14 +71,6 @@ namespace signatures
|
||||
|
||||
const auto map_ptr = *reinterpret_cast<size_t*>(string_ref - 0x2B);
|
||||
game::plutonium::function_map_rev.set(map_ptr);
|
||||
printf("%p\n", map_ptr);
|
||||
|
||||
|
||||
auto& map = *game::plutonium::function_map_rev;
|
||||
for (const auto& [k, v] : map)
|
||||
{
|
||||
printf("%s %i\n", k.data(), v);
|
||||
}
|
||||
game::plutonium::method_map_rev.set(map_ptr + 0x20);
|
||||
game::plutonium::token_map_rev.set(map_ptr + 0xBC);
|
||||
return true;
|
||||
@ -94,7 +86,6 @@ namespace signatures
|
||||
|
||||
const auto offset = *reinterpret_cast<size_t*>(string_ref + 5);
|
||||
game::plutonium::printf.set(string_ref + 4 + 5 + offset);
|
||||
utils::hook::jump(reinterpret_cast<uintptr_t>(&printf), game::plutonium::printf);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -102,7 +93,6 @@ namespace signatures
|
||||
bool process()
|
||||
{
|
||||
load_function_tables();
|
||||
process_printf();
|
||||
return process_maps();
|
||||
return process_printf() && process_maps();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user