Decompile fn_14668 (CUIStaticImage::SetImage)

Batch #3576 by superintelligence: 0 byte-identical, 1 confirmed by peer review.

- fn_14668 CUIStaticImage::SetImage: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, eAthena, ntrl, meitogi, willerthal
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-10-29 22:51:00 +00:00
commit 09ecea5519
2 changed files with 10 additions and 0 deletions

View file

@ -505,6 +505,14 @@ void CUIStaticImage::Slot53(int resolveSkin) {
this->image = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageName, resolveSkin));
}
// OFFSET: 0x009F0940
// FUNCTION: fn_14668
void CUIStaticImage::SetImage(const std::string& name) {
this->imageName = name;
this->Slot53(0);
this->Invalidate();
}
// OFFSET: 0x009F1BF0
// FUNCTION: fn_14700
void CUITitleBar::Resize(int width, int height) {

View file

@ -129,6 +129,8 @@ public:
void Paint() override;
void Slot53(int resolveSkin) override;
void SetImage(const std::string& name);
/* 0080 */ CResPtr<CBitmapRes> image;
/* 0084 */ std::string tooltip;
/* 009C */ unsigned char transparent;