From 5390b900cfddf538c9abe2af384f5d2a03cd3fe3 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 12:39:38 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/CashEmotionMgr.cpp Batch #14466 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_09446 UICashEmotionPack::Paint: logic confirmed by peer review - fn_09492 UICashEmotionScrollBar::Paint: logic confirmed by peer review Peer-reviewed-by: secret, Tanke, raiken Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/CashEmotionMgr.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Contents/CashEmotionMgr.cpp b/Source/Contents/CashEmotionMgr.cpp index 4f034a44b..b44e3af1d 100644 --- a/Source/Contents/CashEmotionMgr.cpp +++ b/Source/Contents/CashEmotionMgr.cpp @@ -3066,7 +3066,7 @@ void UICashEmotionPack::Paint() { if (!this->m_saleBadge.empty()) { auto* bitmap = static_cast(ResourceMgr::Instance().Load(this->m_saleBadge.c_str())); if (bitmap) { - this->DrawBitmap(171, 12, &bitmap->image, true); + this->DrawBitmap(171, 12, bitmap, true); } } @@ -3074,7 +3074,7 @@ void UICashEmotionPack::Paint() { auto* bitmap = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\cashemotion\\icon_limitemotion.bmp"))); if (bitmap) { - this->DrawBitmap(0, 0, &bitmap->image, true); + this->DrawBitmap(0, 0, bitmap, true); } } } @@ -3589,7 +3589,7 @@ void UICashEmotionScrollBar::Paint() { auto* up = static_cast(ResourceMgr::Instance().Load(Resolve(name))); if (up) { - this->DrawBitmap(0, -1, &up->image, false); + this->DrawBitmap(0, -1, up, false); } if (disabled) { @@ -3602,7 +3602,7 @@ void UICashEmotionScrollBar::Paint() { auto* down = static_cast(ResourceMgr::Instance().Load(Resolve(name))); if (down) { - this->DrawBitmap(0, height - this->arrowLength + 1, &down->image, false); + this->DrawBitmap(0, height - this->arrowLength + 1, down, false); } if (disabled) { @@ -3615,7 +3615,7 @@ void UICashEmotionScrollBar::Paint() { auto* topBar = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\cashemotion\\scrollbar_top.bmp"))); if (topBar) { topHeight = topBar->image.height; - this->DrawBitmap(0, top, &topBar->image, true); + this->DrawBitmap(0, top, topBar, true); } auto* middle = static_cast(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\cashemotion\\scrollbar_mid.bmp"))); @@ -3627,12 +3627,12 @@ void UICashEmotionScrollBar::Paint() { const int step = middle->image.height; end = (length + 4) + (top - bottomHeight); for (int y = top + topHeight; y < end; y += step) { - this->DrawBitmap(0, y, &middle->image, true); + this->DrawBitmap(0, y, middle, true); } } if (bottom) { - this->DrawBitmap(0, end, &bottom->image, true); + this->DrawBitmap(0, end, bottom, true); } }