From b60aee2974bbf8a7fdeee47a37f4b11f4112edb5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:49:23 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Lists/UIChatHisBox.cpp Batch #11787 by SapitoSucio: 0 byte-identical, 2 confirmed by peer review. - fn_11300 UIChatHisBox::ResolvePlayerTags: logic confirmed by peer review (already on main) - fn_11581 UIChatHisBox::sub_89C080: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, cremane, StrawberrysherbetIX, Lumen Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIChatHisBox.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/UI/Lists/UIChatHisBox.cpp b/Source/UI/Lists/UIChatHisBox.cpp index f14dae11..81df6343 100644 --- a/Source/UI/Lists/UIChatHisBox.cpp +++ b/Source/UI/Lists/UIChatHisBox.cpp @@ -3,6 +3,7 @@ #include "Contents/Configuration/ServiceConfiguration.h" #include "Contents/Items/ItemDescription.h" #include "Contents/Items/ItemInfo.h" +#include "Contents/Items/ItemLink.h" #include "Contents/Items/ItemNaming.h" #include "Contents/MessageTable.h" #include "Contents/PlayerNameDictionary.h" @@ -71,12 +72,12 @@ std::string UIChatHisBox::ResolvePlayerTags(const char* name) { // OFFSET: 0x0089C080 // FUNCTION: fn_11581 -void UIChatHisBox::sub_89C080() { +__declspec(noinline) void UIChatHisBox::sub_89C080() { this->Clear(); this->ClearNaviLinks(); for (unsigned int index = 0; index < this->unknown_0100.size(); ++index) { - if (this->unknown_0100[index].find("") == std::string::npos) { + if (this->unknown_0100[index].find(g_itemLinkTagBegin) == std::string::npos) { this->AddTextWrapped(this->unknown_0100[index].c_str(), this->unknown_010C[index], this->unknown_0118[index].c_str()); } else { this->AddText(this->unknown_0100[index].c_str(), this->unknown_010C[index], this->unknown_0118[index].c_str());