Decompile fn_10415 (SplitMessageArguments)

Batch #14782 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_10415 SplitMessageArguments: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay
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-07 18:09:43 +00:00
commit 9a80eaf6ec

View file

@ -490,13 +490,13 @@ static void SplitMessageArguments(const char* text, std::vector<std::string>& ar
while (separator != std::string::npos) {
std::string argument = remaining.substr(0, separator);
arguments.emplace_back(argument.data(), argument.size());
arguments.push_back(argument);
remaining = remaining.substr(separator + 1);
separator = remaining.find(',');
}
if (!remaining.empty()) {
arguments.emplace_back(remaining.data(), remaining.size());
arguments.push_back(remaining);
}
}