From 31bd9d19524b1074cbab52ee77746751db43359d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 26 Oct 2026 22:07:49 +0000 Subject: [PATCH] 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 --- Source/Contents/Hotkeys/UserHotkeyScript.cpp | 4 ++-- Source/Contents/Hotkeys/UserHotkeyScript.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.cpp b/Source/Contents/Hotkeys/UserHotkeyScript.cpp index 8a58d27d..eb87da51 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.cpp +++ b/Source/Contents/Hotkeys/UserHotkeyScript.cpp @@ -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) { diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.h b/Source/Contents/Hotkeys/UserHotkeyScript.h index ae263b95..099d9f9a 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.h +++ b/Source/Contents/Hotkeys/UserHotkeyScript.h @@ -8,8 +8,8 @@ void ClearUserHotkeys(); void SaveUserHotkeys(); -void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); -void __stdcall LoadUserHotkeyTab(Json::Value& values, int tab); +void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); +void LoadUserHotkeyTab(Json::Value& values, int tab); inline void ClearUserHotkeys(LuaScript&) { ClearUserHotkeys();