From aa01c8db9d6c0ed3ebf4768fb8db99267d3115f3 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 12:20:53 +0000 Subject: [PATCH] Decompile fn_24208 (CSession::ReadReplayEntryQueue) Batch #18267 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_24208 CSession::ReadReplayEntryQueue: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/ClientState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Contents/ClientState.cpp b/Source/Contents/ClientState.cpp index 7e74d0f11..35ef5fcbb 100644 --- a/Source/Contents/ClientState.cpp +++ b/Source/Contents/ClientState.cpp @@ -1058,7 +1058,8 @@ std::uint32_t CSession::ReadReplayEntryQueue(const std::vector& d int queueId = 0; std::memcpy(&queueId, data.data() + offset, header.bytes); offset += header.bytes; - for (std::map::iterator it = g_entryQueueList.begin(); it != g_entryQueueList.end(); ++it) { + const std::map::iterator end = g_entryQueueList.end(); + for (std::map::iterator it = g_entryQueueList.begin(); it != end; ++it) { if (queueId == it->second->id) { g_entryQueueMgr->current = it->second; }