rodecomp/Source/UI/UIGradeEnchantWnd.cpp
ragnarok-clanker 27986a614e Decompile 5 functions in Source/UI/UIGradeEnchantWnd.cpp, Source/UI/UIGradeEnchantWnd.h, ...
Batch #3123 by youko: 0 byte-identical, 5 confirmed by peer review.

- fn_09768 UIGradeEnchant_BtnEnhancedDown::Enable: logic confirmed by peer review
- fn_09769 UIGradeEnchant_BtnEnhancedUp::Enable: logic confirmed by peer review
- fn_09770 UIGradeEnchant_BtnStart::Enable: logic confirmed by peer review
- fn_09789 UICaptchaRegisterWnd::Paint: logic confirmed by peer review
- fn_09794 UIMacroBlackListCheckWnd::Slot15: logic confirmed by peer review

Peer-reviewed-by: eAthena, meitogi, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 20:33:24 +00:00

83 lines
1.6 KiB
C++

#include "UI/UIGradeEnchantWnd.h"
#include "Client/Mode/CGameMode.h"
#include "Client/Mode/ModeMgr.h"
#include "Client/Session.h"
#include "Contents/Items/ItemDescription.h"
#include "Contents/MessageTable.h"
#include "UI/Window/UIWindowMgr.h"
#include "Utility/Text/FormatString.h"
#include <windows.h>
#include <timeapi.h>
// OFFSET: 0x007E8960
// FUNCTION: fn_09755
void UIGradeEnchant_BtnEnhancedDown::Paint() {
UIBitmapButton::Paint();
}
// OFFSET: 0x007E8970
// FUNCTION: fn_09756
void UIGradeEnchant_BtnEnhancedUp::Paint() {
UIBitmapButton::Paint();
}
// OFFSET: 0x007E8980
// FUNCTION: fn_09757
void UIGradeEnchant_BtnStart::Paint() {
UIBitmapButton::Paint();
}
// OFFSET: 0x007E89C0
// OFFSET: 0x007E8A30
// OFFSET: 0x007E8B30
// OFFSET: 0x007E8BB0
// OFFSET: 0x007E8FA0
// FUNCTION: fn_09764
void UIGradeEnchantWnd::Slot32(int x, int y) {
}
// OFFSET: 0x007E9650
// OFFSET: 0x007E9910
// FUNCTION: fn_09768
void UIGradeEnchant_BtnEnhancedDown::Enable(unsigned char value) {
if (value == 0) {
g_windowMgr.ReleaseCapture();
}
this->m_disabled = value ^ 1;
this->Invalidate();
this->geometry.visible = value;
}
// OFFSET: 0x007E9950
// FUNCTION: fn_09769
void UIGradeEnchant_BtnEnhancedUp::Enable(unsigned char value) {
if (value == 0) {
g_windowMgr.ReleaseCapture();
}
this->m_disabled = value ^ 1;
this->Invalidate();
this->geometry.visible = value;
}
// OFFSET: 0x007E9990
// FUNCTION: fn_09770
void UIGradeEnchant_BtnStart::Enable(unsigned char value) {
if (value == 0) {
g_windowMgr.ReleaseCapture();
}
this->m_disabled = value ^ 1;
this->Invalidate();
this->geometry.visible = value;
}
// OFFSET: 0x007E99D0