From 78498bfa34e862803bb1a0c6d0c692b20e297168 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 20:59:48 +0000 Subject: [PATCH] Decompile fn_02758 (ContainsText) Batch #11145 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_02758 ContainsText: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Utility/Text/StringUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utility/Text/StringUtil.cpp b/Source/Utility/Text/StringUtil.cpp index 60cc5ff6..6e35dda9 100644 --- a/Source/Utility/Text/StringUtil.cpp +++ b/Source/Utility/Text/StringUtil.cpp @@ -108,7 +108,7 @@ int CountCharacters(WORD codePage, const char* text, const char* end) { // OFFSET: 0x0058A620 // FUNCTION: fn_02758 bool ContainsText(const std::string& text, std::string_view pattern) { - return text.find(pattern.data(), 0, pattern.size()) != std::string::npos; + return text.find(pattern) != std::string::npos; } // OFFSET: 0x0058A8F0