From 55763593634c8afb7faa975593fa22f516dc53a8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 07:10:14 +0000 Subject: [PATCH] Decompile fn_08152 (CRuneSystemMgr::SendRequest) Batch #14288 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_08152 CRuneSystemMgr::SendRequest: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Items/RuneSystem.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index 432f73dca..b02a32005 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -655,7 +655,7 @@ int CRuneSystemMgr::SendRequest(int packetId, RuneData* rune, int value) { packet.runeId = static_cast(rune->m_id); packet.value = static_cast(value); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); - return 1; + break; } case 0x0BCB: { CTagData* tag = this->GetTag(value); @@ -671,7 +671,7 @@ int CRuneSystemMgr::SendRequest(int packetId, RuneData* rune, int value) { packet.id = static_cast(packetId); packet.tagId = static_cast(tag->m_id); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); - return 1; + break; } case 0x0BCE: case 0x0BD0: { @@ -685,7 +685,7 @@ int CRuneSystemMgr::SendRequest(int packetId, RuneData* rune, int value) { packet.runeId = static_cast(rune->m_id); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); this->m_requestPending = true; - return 1; + break; } case 0x0BD2: { if (!this->HasRequiredItems(static_cast(rune)->GetGradeValue())) { @@ -698,24 +698,23 @@ int CRuneSystemMgr::SendRequest(int packetId, RuneData* rune, int value) { packet.runeId = static_cast(rune->m_id); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); this->m_requestPending = true; - return 1; + break; } case 0x0BD4: { RuneHeaderPacket packet; packet.id = static_cast(packetId); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); - return 1; + break; } case 0x0BD6: { RuneIdPacket packet; packet.id = static_cast(packetId); packet.runeId = static_cast(rune->m_id); GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packetId), &packet); - return 1; + break; } - default: - return 1; } + return 1; } // OFFSET: 0x007684C0