From c1223b263dc8f7035fdfaab6641b1de7e81eaa3a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 07:48:12 +0000 Subject: [PATCH] Decompile fn_03877 (UIChangeMaterialWnd_List::CreateScrollBar) Batch #13150 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_03877 UIChangeMaterialWnd_List::CreateScrollBar: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/UIChangeMaterialWnd.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/UI/UIChangeMaterialWnd.cpp b/Source/UI/UIChangeMaterialWnd.cpp index b2da8a9d..f8ad4b1b 100644 --- a/Source/UI/UIChangeMaterialWnd.cpp +++ b/Source/UI/UIChangeMaterialWnd.cpp @@ -80,12 +80,10 @@ UIChangeMaterialWnd_ScrollBar::UIChangeMaterialWnd_ScrollBar() : UIScrollBar() { // OFFSET: 0x005E1B30 // FUNCTION: fn_03877 void UIChangeMaterialWnd_List::CreateScrollBar(int width, int height) { - auto* bar = new UIChangeMaterialWnd_ScrollBar(); - *reinterpret_cast(reinterpret_cast(bar) + 0xA4) = 0x10; - this->m_scrollBar = bar; - bar->Configure(width - this->unknown_00B8, 0, 1, height); - bar->Show(0); - this->AddChild(bar); + this->m_scrollBar = new UIChangeMaterialWnd_ScrollBar(); + this->m_scrollBar->Configure(width - this->unknown_00B8, 0, 1, height); + this->m_scrollBar->Show(0); + this->AddChild(this->m_scrollBar); this->m_pageSize = height / this->unknown_00B4; this->sub_5E2A70(); }