From 9bcb240a60b37d683083baef9bb5c8f8bf75b28d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 22:24:09 +0000 Subject: [PATCH] Decompile fn_23624 (CSession::SetUnknown16EC) Batch #13759 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_23624 CSession::SetUnknown16EC: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Session.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Source/Client/Session.cpp b/Source/Client/Session.cpp index 2e228ee9b..ccb277342 100644 --- a/Source/Client/Session.cpp +++ b/Source/Client/Session.cpp @@ -2165,12 +2165,9 @@ void CSession::SetUnknown16EC(std::uint32_t value) { return; } - auto it = g_activeSkillEffects.begin(); - for (; it != g_activeSkillEffects.end(); ++it) { - if (it->id == 0x2B7) { - break; - } - } + std::vector::iterator it = std::find_if( + g_activeSkillEffects.begin(), g_activeSkillEffects.end(), + [](const ActiveSkillEffect& effect) { return effect.id == 0x2B7; }); if (it == g_activeSkillEffects.end()) { if (value) {