From 019a2d0f001bfa6d930f64059ed5913f0ea04878 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 20:25:01 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/RuneSystem/UIRuneSystemWnd.cpp Batch #17289 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_10183 UIRuneSetinfoList::Paint: byte-identical - fn_10196 UIRuneSet_Info::OnLBtnDblClk: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/RuneSystem/UIRuneSystemWnd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/UI/RuneSystem/UIRuneSystemWnd.cpp b/Source/UI/RuneSystem/UIRuneSystemWnd.cpp index 5e998c769..f9f33db26 100644 --- a/Source/UI/RuneSystem/UIRuneSystemWnd.cpp +++ b/Source/UI/RuneSystem/UIRuneSystemWnd.cpp @@ -218,7 +218,8 @@ void UIRuneSet_Info::OnLBtnDblClk(int x, int y) { } if (slot != -1 && runeSet->m_slots.size() > static_cast(slot) && runeSet->m_slots[slot]) { - if (CRuneSystemMgr::GetInstance()->GetSelectTag() != runeSet->GetTagId()) { + const int tagId = runeSet->GetTagId(); + if (tagId != CRuneSystemMgr::GetInstance()->GetSelectTag()) { CRuneSystemMgr::GetInstance()->SetSelectTag(this->m_runeSet->GetTagId()); CRuneSystemMgr::GetInstance()->SendRequest(0xBCB, nullptr, -1); } @@ -670,8 +671,8 @@ void UIRuneSetinfoList::ClearLines() { void UIRuneSetinfoList::Paint() { this->DrawBitmap(0, 0, static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\runesystem\\bg_runeset_desc.bmp"))), true); for (int row = 0; row < this->visible; ++row) { - const int y = this->m_itemHeight * row + 30; const int index = this->position + row; + const int y = this->m_itemHeight * row + 30; if (index >= 0 && this->m_lines.size() > static_cast(index)) { const RuneSetInfoLine& line = this->m_lines[index]; this->DrawTextAt(line.x, y, line.text.c_str(), 0, 0, 12, line.color, line.bold, 0