//
// EditorUI::sliderChanged from 0x484980 to 0x4849ec (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:24 +0000
//
int __fastcall EditorUI::sliderChanged(EditorUI *this, cocos2d::CCObject *a2)
{
int Value; // r0
int v4; // r7
void (__fastcall *v5)(int, _BYTE *); // r8
float v6; // r9
int v7; // r0
_BYTE v9[8]; // [sp+4h] [bp-10h] BYREF
Value = SliderThumb::getValue(a2);
v4 = *(_DWORD *)(*((_DWORD *)this + 236) + 2436);
v5 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);
v6 = EditorUI::xPosFromValue((LevelEditorLayer **)this, *(float *)&Value);
v7 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 236) + 2436) + 96))(*(_DWORD *)(*((_DWORD *)this + 236) + 2436));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, COERCE_FLOAT(LODWORD(v6) ^ 0x80000000), *(float *)(v7 + 4));
v5(v4, v9);
return EditorUI::constrainGameLayerPosition(this);
}