From b474415a11eef80ab30d7bfeab84b725bede9bcf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 04:25:27 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Items/RuneSystem.cpp Batch #13034 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_08132 CRuneSystemMgr::GetItemListEntry: byte-identical - fn_08133 CRuneSystemMgr::GetItemListCount: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Items/RuneSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index 10af8443..c45794c3 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -314,7 +314,7 @@ bool RuneData::IsActive() const { // FUNCTION: fn_08132 const std::pair& CRuneSystemMgr::GetItemListEntry(int listId, unsigned int index) { const auto found = this->m_itemLists.find(listId); - if (found == this->m_itemLists.end() || index >= found->second.size()) { + if (this->m_itemLists.end() == found || index >= found->second.size()) { return this->m_emptyItem; } @@ -325,7 +325,7 @@ const std::pair& CRuneSystemMgr::GetItemListEntry(int listId, unsigned // FUNCTION: fn_08133 int CRuneSystemMgr::GetItemListCount(int listId) { const auto found = this->m_itemLists.find(listId); - if (found != this->m_itemLists.end()) { + if (this->m_itemLists.end() != found) { return static_cast(found->second.size()); }