From bc4d6f9b94f9560f7faeefe2cecfda0eb8a823d7 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 17:15:30 +0000 Subject: [PATCH] Decompile fn_13752 (UIParaResultWnd::Paint) Batch #14495 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_13752 UIParaResultWnd::Paint: logic confirmed by peer review Peer-reviewed-by: secret, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Item/UIParaItemShopWnd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/UI/Item/UIParaItemShopWnd.cpp b/Source/UI/Item/UIParaItemShopWnd.cpp index 37b9d1bad..70d32de4e 100644 --- a/Source/UI/Item/UIParaItemShopWnd.cpp +++ b/Source/UI/Item/UIParaItemShopWnd.cpp @@ -790,14 +790,14 @@ void UIParaResultWnd::Paint() { int rows = (this->geometry.height - this->unknown_00FC - 17) / 8 + ((this->geometry.height - this->unknown_00FC - 17) % 8 != 0); for (int y = 17; rows > 0; --rows, y += 8) { - const auto* left = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\basic_interface\\itemwin_left.bmp"))); - this->DrawBitmap(0, y, &left->image, false); + auto* left = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\basic_interface\\itemwin_left.bmp"))); + this->DrawBitmap(0, y, left, false); } rows = (this->geometry.height - this->unknown_00FC - 17) / 8 + ((this->geometry.height - this->unknown_00FC - 17) % 8 != 0); for (int y = 17; rows > 0; --rows, y += 8) { - const auto* right = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\basic_interface\\itemwin_right.bmp"))); - this->DrawBitmap(this->geometry.width - right->image.width, y, &right->image, false); + auto* right = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\basic_interface\\itemwin_right.bmp"))); + this->DrawBitmap(this->geometry.width - right->image.width, y, right, false); } { @@ -848,9 +848,9 @@ void UIParaResultWnd::Paint() { if (it->unknown_0088 > 0) { this->DrawBitmap( x, top + 33, - &static_cast( + static_cast( ResourceMgr::Instance().Load(Resolve(FormatOwnedString("유저인터페이스\\grade_enchant\\grade_icon%d.bmp", it->unknown_0088).c_str())) - )->image, + ), true ); }