From 4a80de7608ad2dd088df736bfaaa314b15490eb4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 07:39:47 +0000 Subject: [PATCH] Decompile fn_10433 (CCreateLineInfo::CCreateLineInfo) Batch #7467 by gordaoprogramas: 0 byte-identical, 1 confirmed by peer review. - fn_10433 CCreateLineInfo::CCreateLineInfo: logic confirmed by peer review Peer-reviewed-by: eAthena, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Text/CreateLineInfo.h | 2 +- Source/UI/Text/NavigationLink.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/UI/Text/CreateLineInfo.h b/Source/UI/Text/CreateLineInfo.h index 9eda57a7..44577f2c 100644 --- a/Source/UI/Text/CreateLineInfo.h +++ b/Source/UI/Text/CreateLineInfo.h @@ -116,7 +116,7 @@ public: int ParseTag(int index); void ArrangeLines(); void BuildWindows(); - void Rebuild(); + void Rebuild(int unused); int LayoutEmotion(int x, const std::string& text); int LayoutLink(int x, std::string text, int type, LineTextStyle style); int LayoutItemImage(int x, const std::string& text); diff --git a/Source/UI/Text/NavigationLink.cpp b/Source/UI/Text/NavigationLink.cpp index 46517e81..d646b708 100644 --- a/Source/UI/Text/NavigationLink.cpp +++ b/Source/UI/Text/NavigationLink.cpp @@ -688,7 +688,7 @@ CCreateLineInfo::CCreateLineInfo( this->m_fontStack.swap(s_fontStackCache); } - this->Rebuild(); + this->Rebuild(0); } } @@ -940,6 +940,8 @@ void CCreateLineInfo::BuildWindows() { // OFFSET: 0x008392C0 +// OFFSET: 0x008392C0 + // OFFSET: 0x00839310 // FUNCTION: fn_10457 std::size_t CCreateLineInfo::FindTag(std::string text, std::string keyword, bool caseSensitive) {