From 6fc5c18d0a730823ea738d6bdfbb7cda3545a019 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 07:21:08 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/UIBartermarketWnd.cpp Batch #14012 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_10558 UIBarterItemPurchaseWnd::Slot28: logic confirmed by peer review - fn_10559 UIBartermarketWnd::Slot28: logic confirmed by peer review Peer-reviewed-by: secret, KWDev, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/UIBartermarketWnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/UIBartermarketWnd.cpp b/Source/UI/UIBartermarketWnd.cpp index 9f49e31c3..b159b5d45 100644 --- a/Source/UI/UIBartermarketWnd.cpp +++ b/Source/UI/UIBartermarketWnd.cpp @@ -961,7 +961,7 @@ void UIBarterItemPurchaseWnd::Slot28(int x, int y) { std::string text; BarterMarketItem item = found.second; ITEM_DESC description = FindItemDescription(item.field_2c); - text = FormatOwnedString(LookupMessage(3553), description.identifiedName, item.field_28 * item.value); + text = static_cast(FormatOwnedString(LookupMessage(3553), description.identifiedName, item.field_28 * item.value)); CMode* tooltip = g_modeMgr.gameMode; ITEM_INFO info = item.ToItemInfo(); if (tooltip) { @@ -980,7 +980,7 @@ void UIBartermarketWnd::Slot28(int x, int y) { this->ToScreen(tooltipX, tooltipY); std::string text; ITEM_DESC description = FindItemDescription(found.second.field_2c); - text = FormatOwnedString(LookupMessage(3553), description.identifiedName, found.second.field_28); + text = static_cast(FormatOwnedString(LookupMessage(3553), description.identifiedName, found.second.field_28)); CMode* tooltip = g_modeMgr.gameMode; ITEM_INFO info = found.second.ToItemInfo(); if (tooltip) {