From 09ea9ac79dcfaf5d70117f8b9dd876d322980dd4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 12:31:44 +0000 Subject: [PATCH] Decompile fn_13846 (UITagButton::GetString) Batch #12210 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_13846 UITagButton::GetString: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UITagButton.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Buttons/UITagButton.cpp b/Source/UI/Buttons/UITagButton.cpp index 8b8afc9b..c086cf68 100644 --- a/Source/UI/Buttons/UITagButton.cpp +++ b/Source/UI/Buttons/UITagButton.cpp @@ -54,11 +54,11 @@ void UITagButton::AddString(std::string text) { // OFFSET: 0x009B5600 // FUNCTION: fn_13846 std::string UITagButton::GetString(std::size_t index) { - if (index < this->m_strings.size()) { - return this->m_strings[index]; + if (index >= this->m_strings.size()) { + return std::string(); } - return std::string(); + return this->m_strings[index]; } // OFFSET: 0x009B56C0