Decompile fn_45472 (CUISkillDelayInfo::OnClose)

Batch #8627 by dori: 0 byte-identical, 1 confirmed by peer review.

- fn_45472 CUISkillDelayInfo::OnClose: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, aDw
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-31 20:00:00 +00:00
commit b4241e653f
2 changed files with 8 additions and 0 deletions

View file

@ -61,6 +61,7 @@ public:
virtual void Slot53();
void OnButtonClick();
void OnClose();
void OnSelectItem(SkillDelayInfo::CUIDelayItem* item, const SkillDelayInfo::CDelayItemData& data);
void OnUpdateItem(SkillDelayInfo::CUIDelayItem* item, const SkillDelayInfo::CDelayItemData& data);
void SetSkill(int skillId);

View file

@ -9,6 +9,7 @@
#include "UI/Text/UIStaticTextControl.h"
#include "UI/Text/UITextViewerControl.h"
#include "UI/Window/WindowBorder.h"
#include "UI/Window/UIWindowMgr.h"
#include <algorithm>
#include <cstring>
#include <iterator>
@ -431,6 +432,12 @@ CUITime::~CUITime() = default;
void CUISkillDelayInfo::OnButtonClick() {
}
// OFFSET: 0x00A77B00
// FUNCTION: fn_45472
void CUISkillDelayInfo::OnClose() {
g_windowMgr.CloseWindow(0x272E);
}
// OFFSET: 0x00A77B10
// FUNCTION: fn_16880
void CUISkillDelayInfo::OnSelectItem(SkillDelayInfo::CUIDelayItem*, const SkillDelayInfo::CDelayItemData&) {