From ed3d0eae02a02bb5d8af24601d8501be87af7cfd Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 01:24:22 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Buttons/UITextButton.cpp, Source/UI/Lists/UIScrollBar.cpp, ... Batch #6585 by System4z: 2 byte-identical, 0 confirmed by peer review. - fn_11301 UIChatHisBox2::Slot08: byte-identical - fn_11302 UIChatHisBox::Slot08: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UITextButton.cpp | 6 ++++++ Source/UI/Lists/UIChatHisBox.h | 1 + Source/UI/Lists/UIMemberListBox.h | 1 + Source/UI/Lists/UIScrollBar.cpp | 6 ++++++ 4 files changed, 14 insertions(+) diff --git a/Source/UI/Buttons/UITextButton.cpp b/Source/UI/Buttons/UITextButton.cpp index 6795ec49..18fcc651 100644 --- a/Source/UI/Buttons/UITextButton.cpp +++ b/Source/UI/Buttons/UITextButton.cpp @@ -1201,6 +1201,12 @@ void UIBitmapButton2::Slot33(int x, int y) { g_windowMgr.ReleaseCapture(); } +// OFFSET: 0x00882410 +// FUNCTION: fn_11301 +bool UIChatHisBox2::Slot08() { + return false; +} + // OFFSET: 0x0087B4B0 // FUNCTION: fn_11240 void UIChatHisBox2::Configure(int x, int y, int width, int height, unsigned char) { diff --git a/Source/UI/Lists/UIChatHisBox.h b/Source/UI/Lists/UIChatHisBox.h index cb5d719e..d985adc6 100644 --- a/Source/UI/Lists/UIChatHisBox.h +++ b/Source/UI/Lists/UIChatHisBox.h @@ -11,6 +11,7 @@ class UINaviLinkButton; class UIChatHisBox : public UIListBox { public: + bool Slot08() override; void Resize(int width, int height) override; void Show(int visible) override; void Slot15(int width, int height) override; diff --git a/Source/UI/Lists/UIMemberListBox.h b/Source/UI/Lists/UIMemberListBox.h index f870922e..91ad55f7 100644 --- a/Source/UI/Lists/UIMemberListBox.h +++ b/Source/UI/Lists/UIMemberListBox.h @@ -7,6 +7,7 @@ struct UIButtonContext; class UIChatHisBox2 : public UIChatHisBox { public: + bool Slot08() override; void Slot15(int width, int height) override; void Configure(int x, int y, int width, int height, unsigned char transparent) override; void Slot33(int x, int y) override; diff --git a/Source/UI/Lists/UIScrollBar.cpp b/Source/UI/Lists/UIScrollBar.cpp index 54e63dec..8ec70c45 100644 --- a/Source/UI/Lists/UIScrollBar.cpp +++ b/Source/UI/Lists/UIScrollBar.cpp @@ -474,6 +474,12 @@ const char* UIChatHisBox::HistoryText(unsigned int index) { return nullptr; } +// OFFSET: 0x00882420 +// FUNCTION: fn_11302 +bool UIChatHisBox::Slot08() { + return true; +} + // OFFSET: 0x00879F10 // FUNCTION: fn_11222 void UIChatHisBox::Clear() {