Decompile fn_09641 (UICheckAttendanceWnd_Banner::Paint)

Batch #4161 by youko: 0 byte-identical, 1 confirmed by peer review.

- fn_09641 UICheckAttendanceWnd_Banner::Paint: logic confirmed by peer review

Peer-reviewed-by: superintelligence, KWDev, zindokar
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-30 01:38:13 +00:00
commit 427a5393e4
2 changed files with 17 additions and 0 deletions

View file

@ -6,6 +6,8 @@
#include "Render/TextureQuad.h"
#include "Render/Textures/Texture.h"
#include "Render/Textures/TextureCache.h"
#include "Resource/ResourceMgr.h"
#include "Resource/TextureNames.h"
#include <windows.h>
#include <timeapi.h>
@ -56,6 +58,20 @@ int UICheckAttendanceWnd::SlotAt(int x, int y) {
return -1;
}
// OFFSET: 0x007DDA90
// FUNCTION: fn_09641
void UICheckAttendanceWnd_Banner::Paint() {
if (this->m_entries.size() != 0) {
this->DrawBitmap(
0, 0,
reinterpret_cast<const BitmapImage*>(
ResourceMgr::Instance().Load(Resolve(("유저인터페이스\\check_attendance\\" + this->m_entries[this->m_current].image).c_str()))
),
false
);
}
}
// OFFSET: 0x007DDBB0
// FUNCTION: fn_09642
void UICheckAttendanceWnd::Slot25(int x, int y) {

View file

@ -18,6 +18,7 @@ class UICheckAttendanceWnd_Banner : public UIWindow {
public:
~UICheckAttendanceWnd_Banner() override;
void Slot19() override;
void Paint() override;
void ResetCursor(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
void AddBanner(std::string image, std::string url, int action, int argument);