//
// EditorUI::sliderChanged from 0x7c6be0 to 0x7c6c9c (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x60b80
// > EditorUI::init @ 0x7cedbc
// > ??> @ 0x1542488
//
// 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 12:54:09 +0000
//
__int64 __fastcall EditorUI::sliderChanged(EditorUI *this, cocos2d::CCObject *a2)
{
float Value; // s0
__int64 v4; // x22
void (__fastcall *v5)(__int64, _BYTE *); // x23
__int64 v6; // x0
float v8; // [xsp+40h] [xbp+40h]
_BYTE v9[8]; // [xsp+60h] [xbp+60h] BYREF
Value = SliderThumb::getValue(a2);
v4 = *(_QWORD *)(*((_QWORD *)this + 180) + 3920LL);
v5 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 184LL);
v8 = EditorUI::xPosFromValue((LevelEditorLayer **)this, Value);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL) + 192LL))(*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -v8, *(float *)(v6 + 4));
v5(v4, v9);
EditorUI::constrainGameLayerPosition(this);
return _stack_chk_guard;
}