Decompile fn_17221 (UIWindowMgr::sub_AA35F0)
Batch #13013 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_17221 UIWindowMgr::sub_AA35F0: logic confirmed by peer review Peer-reviewed-by: aDw, cremane, codeplay 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
29229267f4
commit
fe737a352d
1 changed files with 12 additions and 12 deletions
|
|
@ -4295,6 +4295,11 @@ bool UIWindowMgr::sub_AA35F0(int action) {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 0x90:
|
||||
if (this->unknown_01DC && !g_windowMgr.CloseWindow(0xED)) {
|
||||
g_windowMgr.sub_A978D0(0xED);
|
||||
}
|
||||
break;
|
||||
case 0x6F:
|
||||
if (this->unknown_01DC && !g_windowMgr.CloseWindow(0x57)) {
|
||||
g_windowMgr.sub_A978D0(0x57);
|
||||
|
|
@ -4425,6 +4430,13 @@ bool UIWindowMgr::sub_AA35F0(int action) {
|
|||
g_windowMgr.sub_A978D0(0x35);
|
||||
}
|
||||
break;
|
||||
case 0x87: {
|
||||
int flag;
|
||||
std::memcpy(&flag, g_session.unknown_546C, sizeof(flag));
|
||||
flag = 1 - flag;
|
||||
std::memcpy(g_session.unknown_546C, &flag, sizeof(flag));
|
||||
break;
|
||||
}
|
||||
case 0x83:
|
||||
if (this->unknown_01DC && this->chatModeChanged && this->window_01C8 && (this->IsHoverOnWindow01C8Button() || this->hoverWindow == nullptr)) {
|
||||
static_cast<UINewChatWnd*>(this->window_01C8)->ToggleInput();
|
||||
|
|
@ -4438,13 +4450,6 @@ bool UIWindowMgr::sub_AA35F0(int action) {
|
|||
window->SendMsg(nullptr, 60, 0, 0, 0, 0);
|
||||
}
|
||||
break;
|
||||
case 0x87: {
|
||||
int flag;
|
||||
std::memcpy(&flag, g_session.unknown_546C, sizeof(flag));
|
||||
flag = 1 - flag;
|
||||
std::memcpy(g_session.unknown_546C, &flag, sizeof(flag));
|
||||
break;
|
||||
}
|
||||
case 0x89:
|
||||
if (this->unknown_01DC) {
|
||||
if (g_windowMgr.LookupWindow(0x13E) == nullptr) {
|
||||
|
|
@ -4484,11 +4489,6 @@ bool UIWindowMgr::sub_AA35F0(int action) {
|
|||
g_windowMgr.sub_A978D0(0xCB);
|
||||
}
|
||||
break;
|
||||
case 0x90:
|
||||
if (this->unknown_01DC && !g_windowMgr.CloseWindow(0xED)) {
|
||||
g_windowMgr.sub_A978D0(0xED);
|
||||
}
|
||||
break;
|
||||
case 0x92:
|
||||
if (g_windowMgr.window_0448) {
|
||||
g_windowMgr.CloseWindow(0x113);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue