From 7e57abdef5af096c682d5de35cd50fff920abd9c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:51:57 +0000 Subject: [PATCH] Confirm fn_13883 (StripColorTokens) Batch #11794 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review. - fn_13883 StripColorTokens: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Utility/Text/TextTokens.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Utility/Text/TextTokens.h b/Source/Utility/Text/TextTokens.h index b5abd3e7..21b33333 100644 --- a/Source/Utility/Text/TextTokens.h +++ b/Source/Utility/Text/TextTokens.h @@ -7,8 +7,8 @@ extern const unsigned char g_colorHexDigit[256]; extern unsigned char g_inlineCharset; -bool IsPipeColorToken(const char* text); -bool IsHexColorToken(const char* text, const char* end); +__declspec(noinline) bool IsPipeColorToken(const char* text); +__declspec(noinline) bool IsHexColorToken(const char* text, const char* end); int ParseItemIdTag(const char* text, const char* end, int& length, int& itemId); std::string __stdcall StripColorTokens(const char* text, std::uint32_t length);