Decompile fn_14419 (CUIDropDownBox::Paint)

Batch #11710 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_14419 CUIDropDownBox::Paint: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev
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 04:29:02 +00:00
commit ef68cf0fb5

View file

@ -54,11 +54,11 @@ void CUIDropDownBox::Attach(UIWindow* value, UIWindow* child) {
// OFFSET: 0x009E34D0
// FUNCTION: fn_14419
void CUIDropDownBox::Paint() {
if (this->geometry.surface) {
this->geometry.surface->Fill(nullptr, 0xFFFFFFFFu);
}
const std::uint32_t background = 0xFFFFFFFFu;
this->ClearSurface(background);
DrawRectangleBorder(*this, 0, 0, this->geometry.width, this->geometry.height, 0x00C6C6C6u);
const std::uint32_t border = 0x00C6C6C6u;
DrawRectangleBorder(*this, 0, 0, this->geometry.width, this->geometry.height, border);
}
// OFFSET: 0x00AA27B0