From cf11c34eb6ec293f5a42ca63aa7a554b5be3e9ab Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 03:16:13 +0000 Subject: [PATCH] Confirm 5 functions in Source/UI/Lists/UIVScrollBar.h, Source/UI/Window/UIControl.cpp, ... Batch #13837 by eAthena: 0 byte-identical, 5 confirmed by peer review. - fn_15034 CUIListBoxEx,std::allocator > >::Slot15: logic confirmed by peer review (already on main) - fn_15190 CUIListBoxEx::Slot15: logic confirmed by peer review (already on main) - fn_16117 CUIListBoxEx::Slot15: logic confirmed by peer review (already on main) - fn_16433 CUIListBoxEx::Slot15: logic confirmed by peer review (already on main) - fn_16808 CUIListBoxEx::Slot15: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, aDw, codeplay, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIVScrollBar.h | 7 +++++++ Source/UI/Window/UIControl.cpp | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/UI/Lists/UIVScrollBar.h b/Source/UI/Lists/UIVScrollBar.h index c5de4bc0c..46c61be78 100644 --- a/Source/UI/Lists/UIVScrollBar.h +++ b/Source/UI/Lists/UIVScrollBar.h @@ -77,4 +77,11 @@ static_assert(offsetof(CUIVScrollBar, backgroundName) == 0xAC); static_assert(offsetof(CUIVScrollBar, onChange) == 0xC8); #endif +// OFFSET: 0x009BE480 +// FUNCTION: fn_13948 +inline CUIVScrollBar::CUIVScrollBar() + : CUIControl(), downButton(nullptr), thumb(nullptr), total(1), visible(1), step(1), position(0), maximum(0), trackLength(1), dragging(0), + hidden(0), transparent(0), upButton(nullptr) { +} + #endif diff --git a/Source/UI/Window/UIControl.cpp b/Source/UI/Window/UIControl.cpp index 785e6ae05..b37ddb1e8 100644 --- a/Source/UI/Window/UIControl.cpp +++ b/Source/UI/Window/UIControl.cpp @@ -236,13 +236,6 @@ __forceinline CUIButton::CUIButton() : CUIControl(), state(0), disabled(0), tool __forceinline CUIImageButton::CUIImageButton() : CUIButton(), images(), disabledImage(), transparent(0), imageNames(), disabledName() { } -// OFFSET: 0x009BE480 -// FUNCTION: fn_13948 -CUIVScrollBar::CUIVScrollBar() - : CUIControl(), downButton(nullptr), thumb(nullptr), total(1), visible(1), step(1), position(0), maximum(0), trackLength(1), dragging(0), - hidden(0), transparent(0), upButton(nullptr) { -} - CUIControl::~CUIControl() = default; // OFFSET: 0x009D5490