Updated function symbols and references.

Replaced all occurrences of 0x0 with 0 for consistency.
This commit is contained in:
Caball
2024-12-31 00:12:38 +01:00
parent 3553cd49ff
commit 7954966c60
4 changed files with 59 additions and 31 deletions
+1 -2
View File
@@ -41,8 +41,7 @@ namespace branding
localized_strings::override("LUA_MENU_LEGAL_COPYRIGHT", "iw6-mod: " VERSION " by AlterWare.\n");
utils::hook::call(SELECT_VALUE(0x1403BDABA, 0x140414424), dvar_set_string_stub);
ui_get_formatted_build_number_hook.create(
SELECT_VALUE(0x140415FD0, 0x1404D7C00), ui_get_formatted_build_number_stub);
ui_get_formatted_build_number_hook.create(game::LiveStorage_FetchFFotD, ui_get_formatted_build_number_stub);
scheduler::loop([]()
{
+2 -2
View File
@@ -50,8 +50,8 @@ namespace input
return;
}
cl_char_event_hook.create(SELECT_VALUE(0x14023CE50, 0x1402C2AE0), cl_char_event_stub);
cl_key_event_hook.create(SELECT_VALUE(0x14023D070, 0x1402C2CE0), cl_key_event_stub);
cl_char_event_hook.create(game::CL_CharEvent, cl_char_event_stub);
cl_key_event_hook.create(game::CL_KeyEvent, cl_key_event_stub);
}
};
}
+1 -1
View File
@@ -66,7 +66,7 @@ namespace slowmotion
utils::hook::jump(0x1403B4A10, scr_cmd_set_slow_motion);
// Detour used here instead of call hook because Com_TimeScaleMsec is called from arxan encrypted function
com_timescale_msec_hook.create(0x140415D50, com_timescale_msec);
com_timescale_msec_hook.create(game::Com_TimeScaleMsec, com_timescale_msec);
}
};
}