From 0b7bdefb0ddb8294efbc621b45ed3050a67ac6b2 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sun, 1 Nov 2026 07:47:54 +0000 Subject: [PATCH] Decompile fn_12178 (UIItemIdentifyWnd::Slot15) Batch #9309 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_12178 UIItemIdentifyWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, KWDev, Bielhp Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Acceptance/UIChooseSellBuyWnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index aa795daf..da7c0a1d 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -2421,7 +2421,7 @@ void UIItemIdentifyWnd::Slot15(int, int) { int positions[1][2] = {{this->geometry.width - 92, this->geometry.height - 24}}; int ids[1] = {184}; for (int i = 0; i < 1; ++i) { - auto* button = new UIBitmapButton(*this->m_context, *reinterpret_cast(nullptr)); + auto* button = new UIBitmapButton(); button->SetBitmap((prefix + names[i][0] + ".bmp").c_str(), 0, 0); button->SetBitmap((prefix + names[i][1] + ".bmp").c_str(), 1, 0); button->SetBitmap((prefix + names[i][2] + ".bmp").c_str(), 2, 0); @@ -2439,7 +2439,7 @@ void UIItemIdentifyWnd::Slot15(int, int) { int positions[1][2] = {{this->geometry.width - 46, this->geometry.height - 24}}; int ids[1] = {185}; for (int i = 0; i < 1; ++i) { - auto* button = new UIBitmapButton(*this->m_context, *reinterpret_cast(nullptr)); + auto* button = new UIBitmapButton(); button->SetBitmap((prefix + names[i][0] + ".bmp").c_str(), 0, 0); button->SetBitmap((prefix + names[i][1] + ".bmp").c_str(), 1, 0); button->SetBitmap((prefix + names[i][2] + ".bmp").c_str(), 2, 0);