From 6f9c068680f583eb1ab63d45905ecd58b727c4dc Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 17:51:40 +0000 Subject: [PATCH] Decompile fn_04064 (ChangeUserHotkey) Batch #13460 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_04064 ChangeUserHotkey: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Hotkeys/UserHotkeyScript.cpp | 4 ++-- Source/Contents/Hotkeys/UserHotkeyScript.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.cpp b/Source/Contents/Hotkeys/UserHotkeyScript.cpp index 5e9fee7d2..329204715 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.cpp +++ b/Source/Contents/Hotkeys/UserHotkeyScript.cpp @@ -26,11 +26,11 @@ void SaveUserHotkeys() { } } -__declspec(noinline) void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); +__declspec(noinline) void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); // OFFSET: 0x005F8B20 // FUNCTION: fn_04064 -void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description) { +void __stdcall 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); } diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.h b/Source/Contents/Hotkeys/UserHotkeyScript.h index 47edf0653..91cd196ff 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.h +++ b/Source/Contents/Hotkeys/UserHotkeyScript.h @@ -8,7 +8,7 @@ void ClearUserHotkeys(); void SaveUserHotkeys(); -void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); +void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); void LoadUserHotkeyTab(Json::Value& values, int tab); // INLINED