From 928f6779b5d5cdbfda0288d8ce3e4720ada6a5bc Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:04:31 +0000 Subject: [PATCH] Decompile fn_05374 (CPetEvolutionMgr::IsAutoFeeding) Batch #12915 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_05374 CPetEvolutionMgr::IsAutoFeeding: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/PetEvolutionMgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Contents/PetEvolutionMgr.cpp b/Source/Contents/PetEvolutionMgr.cpp index 4a787d76..8482e03d 100644 --- a/Source/Contents/PetEvolutionMgr.cpp +++ b/Source/Contents/PetEvolutionMgr.cpp @@ -160,11 +160,11 @@ std::pair CPetEvolutionMgr::InsertRecipe(int petEgg, int targ // OFFSET: 0x006737C0 // FUNCTION: fn_05374 bool CPetEvolutionMgr::IsAutoFeeding(int petEgg) { - for (auto it = this->m_autoFeeding.begin(); it != this->m_autoFeeding.end(); ++it) { - if (*it == petEgg) { - return true; - } + auto it = std::find(this->m_autoFeeding.begin(), this->m_autoFeeding.end(), petEgg); + if (it != this->m_autoFeeding.end()) { + return true; } + return false; }