//
// EditorUI::sliderChanged from 0x68f7bc to 0x68f878 (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x43d70
// > EditorUI::init @ 0x6bbfec
// > ??> @ 0x122a268
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::sliderChanged(EditorUI *a1, cocos2d::CCObject *a2)
{
float Value; // s0
cocos2d::CCLayer *m_objectLayer; // x22
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23
const cocos2d::CCPoint *v6; // x0
float v7; // [xsp+40h] [xbp+40h]
cocos2d::CCPoint v8; // [xsp+60h] [xbp+60h] BYREF
Value = SliderThumb::getValue((SliderThumb *)a2);
m_objectLayer = a1->m_editorLayer->m_objectLayer;
setPosition = m_objectLayer->setPosition;
v7 = EditorUI::xPosFromValue(a1, Value);
v6 = a1->m_editorLayer->m_objectLayer->getPosition(a1->m_editorLayer->m_objectLayer);
cocos2d::CCPoint::CCPoint(&v8, -v7, v6->y);
setPosition(m_objectLayer, &v8);
EditorUI::constrainGameLayerPosition(a1);
}