//
// cocos2d::extension::CCControlSlider::setValue from 0x5a37d4 to 0x5a381e (74 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::extension::CCControlSlider::setValue(cocos2d::extension::CCControlSlider *a1, float a2)
{
unsigned int m_uID; // s15
void (*needsLayout)(void); // r3
*(float *)&m_uID = a2;
needsLayout = (void (*)(void))a1->needsLayout;
if ( a2 < *(float *)&a1[1].m_uID )
m_uID = a1[1].m_uID;
if ( *(float *)&m_uID > *(float *)&a1[1].m_nLuaID )
m_uID = a1[1].m_nLuaID;
a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::extension::CCControlSlider_vtbl *)m_uID;
needsLayout();
a1->sendActionsForControlEvents(a1, 256);
}