rodecomp/Source/UI/Dialogs/UIEmailAddressWnd.cpp
ragnarok-clanker a3e49b95e0 Decompile 2 functions in Source/UI/Dialogs/UIEmailAddressWnd.cpp, Source/UI/Dialogs/UIEmailAddressWnd.h, ...
Batch #8051 by secret: 0 byte-identical, 2 confirmed by peer review.

- fn_11939 UIEmailAddressWnd::UIEmailAddressWnd: logic confirmed by peer review
- fn_11942 UIGraffiStrboxWnd::UIGraffiStrboxWnd: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 13:44:30 +00:00

25 lines
864 B
C++

#include "UI/Dialogs/UIEmailAddressWnd.h"
#include "Client/Mode/ModeMgr.h"
#include "UI/Edit/UIEditCtrl.h"
#include "UI/Window/UIWindowMgr.h"
// OFFSET: 0x008F9820
// FUNCTION: fn_12341
int UIEmailAddressWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
if (message == 6) {
g_windowMgr.unknown_0474 = static_cast<int>(a);
if (a == 184) {
g_modeMgr.gameMode->SendMsg(10012, reinterpret_cast<int>(this->m_edit->Text()), 0, 0, 0);
}
return 0;
}
return UIFrameWnd::SendMsg(sender, message, a, b, c, d);
}
// OFFSET: 0x008C7800
// FUNCTION: fn_11939
UIEmailAddressWnd::UIEmailAddressWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UIEditContext& edits)
: UIFrameWnd(windows, frames, 0), m_controls(&controls), m_editContext(&edits) {
}