From 51ccea2fbcc60fc0f1e989f8ee17c9cd72248f71 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 04:10:53 +0000 Subject: [PATCH] Decompile fn_05454 (CRenewQuestMgr::IsInFilter) Batch #17826 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_05454 CRenewQuestMgr::IsInFilter: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Quest/RenewQuestMgr.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Contents/Quest/RenewQuestMgr.cpp b/Source/Contents/Quest/RenewQuestMgr.cpp index 6082ea268..bd54bdcd8 100644 --- a/Source/Contents/Quest/RenewQuestMgr.cpp +++ b/Source/Contents/Quest/RenewQuestMgr.cpp @@ -28,6 +28,9 @@ extern "C" { #include #include +template __declspec(noinline) bool std::string_view::_Equal(const std::string_view) const noexcept; +template __declspec(noinline) std::list::const_iterator std::find::const_iterator, std::string_view>(std::list::const_iterator, const std::list::const_iterator, const std::string_view&); + #pragma pack(push, 1) struct RenewQuestOngoingRecord { /* 0000 */ unsigned int questId; @@ -588,8 +591,8 @@ bool CRenewQuestMgr::IsInFilter(int filter, std::string_view icon) { case 0: return true; case 1: - for (const auto& entry : this->m_filters) { - const std::list& icons = entry.second.m_icons; + for (auto& entry : this->m_filters) { + std::list& icons = entry.second.m_icons; if (icons.end() != std::find(icons.begin(), icons.end(), icon)) { return false; }