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).
This commit is contained in:
ragnarok-clanker 2026-11-01 07:47:54 +00:00
commit 0b7bdefb0d

View file

@ -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<UIButtonContext*>(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<UIButtonContext*>(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);