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.
This commit is contained in:
ragnarok-clanker 2026-11-06 01:23:38 +00:00
commit caea6f8ebf

View file

@ -58,11 +58,11 @@ void CCheckAttendanceMgr::Destroy() {
// FUNCTION: fn_05351
std::pair<int, int> CCheckAttendanceMgr::GetReward(int day) {
const auto found = this->m_rewards.find(day);
if (found == this->m_rewards.end()) {
return std::pair<int, int>(0, 0);
if (found != this->m_rewards.end()) {
return std::pair<int, int>(found->second.m_item, found->second.m_count);
}
return std::pair<int, int>(found->second.m_item, found->second.m_count);
return std::pair<int, int>(0, 0);
}
// OFFSET: 0x00671200