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:
parent
4b87351041
commit
ffe5336457
1 changed files with 13 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue