Decompile fn_04200 (UILapineUpgradeBoxWnd::Paint)

Batch #17529 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_04200 UILapineUpgradeBoxWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane, bibinir
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-12 00:29:56 +00:00
commit f86f01ac49

View file

@ -151,10 +151,9 @@ void UILapineUpgradeBox_IngredientInfoWnd::Paint() {
// OFFSET: 0x00603B60
// FUNCTION: fn_04200
void UILapineUpgradeBoxWnd::Paint() {
CBitmapRes* background = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\lapine\\bg_lapineUpgrade.bmp")));
this->DrawBitmap(0, 0, background, true);
this->DrawBitmap(0, 0, static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\lapine\\bg_lapineUpgrade.bmp"))), true);
if (this->title.size() != 0) {
if (this->title.size() > 0) {
this->DrawTitleBar(false, this->title.c_str(), 0);
}
@ -165,9 +164,8 @@ void UILapineUpgradeBoxWnd::Paint() {
DrawItemIcon(*this, ResourceMgr::Instance(), 101, 165, this->item, 0);
}
if (timeGetTime() < this->noticeTick + this->noticeDuration) {
CBitmapRes* icon = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\lapine\\icon_notify.bmp")));
this->DrawBitmap(6, 229, icon, true);
if (this->noticeTick + this->noticeDuration > timeGetTime()) {
this->DrawBitmap(6, 229, static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\lapine\\icon_notify.bmp"))), true);
this->DrawTextAt(25, 230, this->notice.c_str(), 0, 0, 12, 0xFF0000, 0, 0);
}
}