Decompile fn_23797 (HotkeyCount)

Batch #8976 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_23797 HotkeyCount: logic confirmed by peer review

Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 23:21:59 +00:00
commit bd3189adbd
4 changed files with 27 additions and 22 deletions

View file

@ -8,9 +8,12 @@
#include "Contents/Effects/EmitterEffect.h"
#include "Contents/Effects/EvilsPawEffect.h"
#include "Contents/Effects/WindEffect.h"
#include "Contents/Hotkeys/HotkeyInfo.h"
#include "File/File.h"
#include "File/ResourcePath.h"
#include "Script/LuaFileOperations.h"
#include "UI/Chat/ChatSuggestions.h"
#include "UI/Window/UIWindow.h"
#include "UI/UICheckAttendanceWnd.h"
#include "UI/UILapineScrollBar.h"
#include "UI/UILapineUpgradeBoxWnd.h"
@ -38,9 +41,6 @@ struct MiniMapPosition {
/* 0004 */ float y;
};
// GLOBAL: gl_24791
LuaScript* g_luaScript;
// GLOBAL: gl_24913
std::map<std::string, MiniMapPosition> g_exceptionMiniMapPosList;
@ -1249,3 +1249,5 @@ int LuaScript::TableInteger(std::string table, int keyType, std::intptr_t key) {
void LuaScript::Register(std::string name, int (*function)(lua_State*)) {
lua_register(this->m_state, name.c_str(), function);
}
// OFFSET: 0x00A91200