From 76e5be4c0f8d3058176bd4e7266cf5c60b522216 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 13:03:24 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Edit/UIEditCtrl.cpp Batch #15844 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_10899 UIEditCtrl3::DecodeLinkOptions: logic confirmed by peer review - fn_10900 UIEditCtrl3::DecodeLinkCards: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, alisonrag Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Edit/UIEditCtrl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/Edit/UIEditCtrl.cpp b/Source/UI/Edit/UIEditCtrl.cpp index a0eaf5709..03cb7f265 100644 --- a/Source/UI/Edit/UIEditCtrl.cpp +++ b/Source/UI/Edit/UIEditCtrl.cpp @@ -4294,10 +4294,10 @@ void UIEditCtrl3::DecodeLinkOptions(std::vector& options, const char* text, value += byte; } else if (separator != byte && alternate != byte) { --position; - options.push_back(this->DecodeLinkNumber(std::move(value))); + options.push_back(this->DecodeLinkNumber(value)); break; } else { - options.push_back(this->DecodeLinkNumber(std::move(value))); + options.push_back(this->DecodeLinkNumber(value)); value.clear(); } } @@ -4315,11 +4315,11 @@ int UIEditCtrl3::DecodeLinkCards(std::vector& fields, const char* text, int value += byte; } else if (separator == byte) { ++count; - cards.push_back(this->DecodeLinkNumber(std::move(value))); + cards.push_back(this->DecodeLinkNumber(value)); value.clear(); } else { --position; - cards.push_back(this->DecodeLinkNumber(std::move(value))); + cards.push_back(this->DecodeLinkNumber(value)); fields[index] = count; for (unsigned int i = 0; i < cards.size(); ++i) { fields[index + 1 + i] = cards[i];