From e1eb654c991a9b4e60493d5e4cf4b442df800f87 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:34:32 +0000 Subject: [PATCH] Decompile fn_11353 (UIComboBoxEx2::Paint) Batch #11455 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_11353 UIComboBoxEx2::Paint: logic confirmed by peer review Peer-reviewed-by: Yommy, dori, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIComboBoxEx.cpp | 2 +- Source/UI/Lists/UIComboBoxEx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/Lists/UIComboBoxEx.cpp b/Source/UI/Lists/UIComboBoxEx.cpp index 82322e43..3a4c8e30 100644 --- a/Source/UI/Lists/UIComboBoxEx.cpp +++ b/Source/UI/Lists/UIComboBoxEx.cpp @@ -314,7 +314,7 @@ void UIComboBoxEx2::Resize(int width, int height) { // OFFSET: 0x00889E50 // FUNCTION: fn_11353 void UIComboBoxEx2::Paint() { - this->geometry.surface->Fill(nullptr, 0xC59582u); + this->ClearSurface(0xC59582u); this->FillRegion(1, 1, (this->geometry.width - 2), (this->geometry.height - 2), 0xFCF4F0u); const unsigned end = std::min( static_cast(this->lines.size()), static_cast((this->topLine + (this->geometry.height / this->lineHeight - this->bottomMargin))) diff --git a/Source/UI/Lists/UIComboBoxEx.h b/Source/UI/Lists/UIComboBoxEx.h index 21405952..cd936bb0 100644 --- a/Source/UI/Lists/UIComboBoxEx.h +++ b/Source/UI/Lists/UIComboBoxEx.h @@ -1,6 +1,7 @@ #ifndef RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H #define RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H +#include "Resource/TextureNames.h" #include "UI/Lists/UIListBoxEx.h" class UIComboBoxEx : public UIListBoxEx {