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).
This commit is contained in:
ragnarok-clanker 2026-11-05 00:34:32 +00:00
commit e1eb654c99
2 changed files with 2 additions and 1 deletions

View file

@ -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<unsigned>(this->lines.size()), static_cast<unsigned>((this->topLine + (this->geometry.height / this->lineHeight - this->bottomMargin)))

View file

@ -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 {