Decompile fn_11804 (UILoginOTPWnd::SendMsg)
Batch #13606 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_11804 UILoginOTPWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, 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:
parent
483c66a4a5
commit
22ae45003d
1 changed files with 7 additions and 2 deletions
|
|
@ -3353,7 +3353,8 @@ quit:
|
|||
// OFFSET: 0x008BE200
|
||||
// FUNCTION: fn_11804
|
||||
int UILoginOTPWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
|
||||
if (message == 6) {
|
||||
switch (message) {
|
||||
case 6: {
|
||||
if (a == 185) {
|
||||
if (g_windowMgr.Confirm(LookupMessage(17), 2, true, false, 0, "Message", 280, 120, 0) == 187) {
|
||||
g_modeMgr.gameMode->SendMsg(2, 0, 0, 0, 0);
|
||||
|
|
@ -3371,10 +3372,14 @@ int UILoginOTPWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::
|
|||
g_windowMgr.Confirm(LookupMessage(3249), 0, true, false, 0, "Message", 280, 120, 0);
|
||||
}
|
||||
}
|
||||
} else if (message == 60) {
|
||||
|
||||
break;
|
||||
}
|
||||
case 60: {
|
||||
this->unknown_00B4->SetText("");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return UIFrameWnd::SendMsg(sender, message, a, b, c, d);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue