Decompile 4 functions in Source/UI/Text/NavigationLink.h, Source/UI/Text/NavigationLink.cpp, ...

Batch #16642 by eAthena: 0 byte-identical, 4 confirmed by peer review.

- fn_10419 FormatNavigationLink: logic confirmed by peer review
- fn_10455 CCreateLineInfo::BuildWindows: logic confirmed by peer review
- fn_12743 UIChangeNameWnd::SendMsg: logic confirmed by peer review
- fn_10026 UIRodexContentsWnd::SetMailContents: logic confirmed by peer review

Peer-reviewed-by: Yommy, alisonrag, br4yan
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-11-11 00:29:45 +00:00
commit 7d9539e833
3 changed files with 7 additions and 7 deletions

View file

@ -361,7 +361,7 @@ std::string FormatNavigationLink(std::string value, bool brackets) {
std::string name;
int x = 0;
int y = 0;
g_navigationLinkParser->ParseNavigationLink(std::move(value), name, x, y);
GetNavigationLinkParser()->ParseNavigationLink(std::move(value), name, x, y);
char text[128] = {};
if (brackets) {
@ -946,7 +946,7 @@ void CCreateLineInfo::BuildWindows() {
x = this->LayoutLink(x, text, segment->type, segment->style);
break;
case LINE_SEGMENT_MESSAGE:
x = this->LayoutText(x, g_navigationLinkParser->ExpandMessages(text), segment->style);
x = this->LayoutText(x, GetNavigationLinkParser()->ExpandMessages(text), segment->style);
break;
case LINE_SEGMENT_EMOTION:
x = this->LayoutEmotion(x, text);