From ffe53364573e50cd0d59acc960be87c99ac47924 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 02:54:24 +0000 Subject: [PATCH] Decompile fn_16949 (ExtractNavigationTextLinks) Batch #6957 by System4z: 0 byte-identical, 1 confirmed by peer review. - fn_16949 ExtractNavigationTextLinks: logic confirmed by peer review Peer-reviewed-by: alisonrag, superintelligence, Snow, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Text/TextMarkup.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Source/UI/Text/TextMarkup.cpp b/Source/UI/Text/TextMarkup.cpp index 47f74821..6ebf353e 100644 --- a/Source/UI/Text/TextMarkup.cpp +++ b/Source/UI/Text/TextMarkup.cpp @@ -1,6 +1,7 @@ #include "UI/Text/TextMarkup.h" #include +#include namespace { // INLINED @@ -24,6 +25,18 @@ namespace { } } +// GLOBAL: gl_24593 +static const std::string g_naviTagBegin = ""; + +// GLOBAL: gl_24594 +static const std::string g_naviTagEnd = ""; + +// OFFSET: 0x00A7CA90 +// FUNCTION: fn_16949 +void ExtractNavigationTextLinks(std::string&& text, std::vector& links) { + ExtractTextLinks(std::move(text), g_naviTagBegin, g_naviTagEnd, links); +} + // OFFSET: 0x00A81A70 // FUNCTION: fn_16980 bool HasTextLinks(const std::string& text) {