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).
This commit is contained in:
ragnarok-clanker 2026-10-31 02:54:24 +00:00
commit ffe5336457

View file

@ -1,6 +1,7 @@
#include "UI/Text/TextMarkup.h"
#include <windows.h>
#include <utility>
namespace {
// INLINED
@ -24,6 +25,18 @@ namespace {
}
}
// GLOBAL: gl_24593
static const std::string g_naviTagBegin = "<NAVI>";
// GLOBAL: gl_24594
static const std::string g_naviTagEnd = "</NAVI>";
// OFFSET: 0x00A7CA90
// FUNCTION: fn_16949
void ExtractNavigationTextLinks(std::string&& text, std::vector<TextLink>& links) {
ExtractTextLinks(std::move(text), g_naviTagBegin, g_naviTagEnd, links);
}
// OFFSET: 0x00A81A70
// FUNCTION: fn_16980
bool HasTextLinks(const std::string& text) {