From e43b101ec96af1dad1cf94be679de7cccfe4fbfb Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 2 Nov 2026 16:07:18 +0000 Subject: [PATCH] Decompile fn_10248 (CSignBoardMgr::LoadList) Batch #10098 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10248 CSignBoardMgr::LoadList: logic confirmed by peer review Peer-reviewed-by: Montyla, cremane, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/SignBoard/SignBoard.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Contents/SignBoard/SignBoard.cpp b/Source/Contents/SignBoard/SignBoard.cpp index 07bb6747..2b087c4f 100644 --- a/Source/Contents/SignBoard/SignBoard.cpp +++ b/Source/Contents/SignBoard/SignBoard.cpp @@ -1,6 +1,7 @@ #include "Contents/SignBoard/SignBoard.h" #include "Client/Mode/CGameMode.h" #include "Client/Mode/ModeMgr.h" +#include "Client/Session.h" #include "Contents/Ground/TerrainHeight.h" #include "Contents/World/World.h" #include "Network/TextEncoding.h" @@ -135,16 +136,16 @@ void CSignBoardMgr::Initialize() { // FUNCTION: fn_10248 void CSignBoardMgr::LoadList() { SignBoardInfo defaults; - g_luaScript->Call( + g_session.m_hotkeyScript->Call( "GetSignBoardListTable", "d>sddddsss", 1, &defaults.map, &defaults.column, &defaults.row, &defaults.offset, &defaults.type, &defaults.image, &defaults.unknown_0014, &defaults.unknown_001C ); int count = 0; - g_luaScript->Call("GetTableSizeForC", "s>d", "SignBoardList", &count); + g_session.m_hotkeyScript->Call("GetTableSizeForC", "s>d", "SignBoardList", &count); for (int index = 2; index < count + 1; ++index) { SignBoardInfo info; - g_luaScript->Call( + g_session.m_hotkeyScript->Call( "GetSignBoardListTable", "d>sddddsss", index, &info.map, &info.column, &info.row, &info.offset, &info.type, &info.image, &info.unknown_0014, &info.unknown_001C );