From caea6f8ebff55c45dc33d6d574360c199d5198cf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 01:23:38 +0000 Subject: [PATCH] Decompile fn_05351 (CCheckAttendanceMgr::GetReward) Batch #12830 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_05351 CCheckAttendanceMgr::GetReward: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/CheckAttendanceMgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Contents/CheckAttendanceMgr.cpp b/Source/Contents/CheckAttendanceMgr.cpp index 21ed103f..33ca1a97 100644 --- a/Source/Contents/CheckAttendanceMgr.cpp +++ b/Source/Contents/CheckAttendanceMgr.cpp @@ -58,11 +58,11 @@ void CCheckAttendanceMgr::Destroy() { // FUNCTION: fn_05351 std::pair CCheckAttendanceMgr::GetReward(int day) { const auto found = this->m_rewards.find(day); - if (found == this->m_rewards.end()) { - return std::pair(0, 0); + if (found != this->m_rewards.end()) { + return std::pair(found->second.m_item, found->second.m_count); } - return std::pair(found->second.m_item, found->second.m_count); + return std::pair(0, 0); } // OFFSET: 0x00671200