Feat ptr cache continued (#1227)

This commit is contained in:
Quentin E. / iDeath
2023-04-14 18:54:07 +02:00
committed by GitHub
parent a3b8e780ec
commit 5a4dc03121
133 changed files with 2488 additions and 1622 deletions

View File

@ -66,7 +66,7 @@ namespace big
auto native = replacement_hash;
map_native(&native);
auto og_handler = g_pointers->m_get_native_handler(g_pointers->m_native_registration_table, native);
auto og_handler = g_pointers->m_gta.m_get_native_handler(g_pointers->m_gta.m_native_registration_table, native);
if (!og_handler)
continue;
@ -149,7 +149,7 @@ namespace big
add_native_detour(RAGE_JOAAT("fm_lts_creator"), 0x3D3D8B3BE5A83D35, creator::GET_USED_CREATOR_BUDGET);
add_native_detour(RAGE_JOAAT("fm_survival_creator"), 0x3D3D8B3BE5A83D35, creator::GET_USED_CREATOR_BUDGET);
for (auto& entry : *g_pointers->m_script_program_table)
for (auto& entry : *g_pointers->m_gta.m_script_program_table)
if (entry.m_program)
hook_program(entry.m_program);