Decompile 2 functions in Source/Contents/Hotkeys/UserHotkeyScript.cpp, Source/Contents/Hotkeys/UserHotkeyScript.h

Batch #910 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_04064 ChangeUserHotkey: logic confirmed by peer review
- fn_03473 LoadUserHotkeyTab: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-26 22:07:49 +00:00
commit 31bd9d1952
2 changed files with 4 additions and 4 deletions

View file

@ -28,13 +28,13 @@ void SaveUserHotkeys() {
// OFFSET: 0x005F8B20
// FUNCTION: fn_04064
void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description) {
void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description) {
g_session.m_hotkeyScript->Call("ChangeUserHotKey", "ddsdd", tab + 1, index, description.c_str(), key1, key2);
}
// OFFSET: 0x005BD660
// FUNCTION: fn_03473
void __stdcall LoadUserHotkeyTab(Json::Value& values, int tab) {
void LoadUserHotkeyTab(Json::Value& values, int tab) {
Json::Value entries = values;
for (auto item = entries.begin(); item != entries.end(); ++item) {