From d092d0a479b0aec148b483b05f0b2a29e2fb223e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:17:11 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/Chat/UISubChatHisWnd.cpp Batch #11671 by cremane: 4 byte-identical, 0 confirmed by peer review. - fn_12700 UISubChatHisWnd::Slot25: byte-identical - fn_12690 UISubChatHisWnd::Slot26: byte-identical - fn_12706 UISubChatHisWnd::Slot31: byte-identical - fn_12529 UISubChatHisWnd::UISubChatHisWnd: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Chat/UISubChatHisWnd.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/UI/Chat/UISubChatHisWnd.cpp b/Source/UI/Chat/UISubChatHisWnd.cpp index 57180d911..0cf9ad813 100644 --- a/Source/UI/Chat/UISubChatHisWnd.cpp +++ b/Source/UI/Chat/UISubChatHisWnd.cpp @@ -21,7 +21,7 @@ // OFFSET: 0x009312E0 // FUNCTION: fn_12700 void UISubChatHisWnd::Slot25(int x, int y) { - if (g_chatInputFlag) { + if (g_session.m_canDragWnd) { if (UIWindow* window = g_windowMgr.LookupWindow(132)) { window->SendMsg(this, 6, 193, this->m_index, 0, 2); } @@ -32,7 +32,7 @@ void UISubChatHisWnd::Slot25(int x, int y) { // OFFSET: 0x009309B0 // FUNCTION: fn_12690 void UISubChatHisWnd::Slot26(int x, int y) { - if (g_chatInputFlag && x > 0 && x < this->m_inputWidth && y > 0 && y < this->m_inputHeight) { + if (g_session.m_canDragWnd && x > 0 && x < this->m_inputWidth && y > 0 && y < this->m_inputHeight) { this->m_edit->SetText(""); this->m_edit->Resize(this->m_inputWidth - 10, this->m_inputHeight - 2); this->m_edit->Move(5, 2); @@ -52,7 +52,7 @@ void UISubChatHisWnd::Slot27(int x, int y) { // FUNCTION: fn_12706 void UISubChatHisWnd::Slot31(int x, int y) { this->UIFrameWnd::Slot31(x, y); - if (g_chatInputFlag) { + if (g_session.m_canDragWnd) { int screenX = 0; int screenY = 0; this->ToScreen(screenX, screenY); @@ -212,16 +212,16 @@ UISubChatHisWnd::UISubChatHisWnd() this->m_inputWidth = 71; this->unknown_00F0 = 15; switch (g_serviceType) { - case 1: - case 7: - case 11: - this->m_inputWidth = 110; - break; case 10: this->m_inputWidth = 71; break; case 18: this->m_inputWidth = 90; break; + case 1: + case 7: + case 11: + this->m_inputWidth = 110; + break; } }