//
// EditorUI::sliderChanged from 0x100470ac8 to 0x100470b5c (148 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x10046e618
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:05:38 +0000
//
__int64 __fastcall EditorUI::sliderChanged(__int64 a1, float *a2)
{
float Value; // s0
__int64 v4; // x20
float v5; // s8
__int64 v6; // x0
float v8; // [xsp+8h] [xbp-28h] BYREF
Value = SliderThumb::getValue(a2);
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);
v5 = -EditorUI::xPosFromValue(a1, Value);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL));
sub_1000262BC(&v8, v5, *(float *)(v6 + 4));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v8);
return EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);
}