//
// SliderThumb::setRotated from 0x593d44 to 0x593ddc (152 bytes)
//
// 2 xrefs:
// > SliderTouchLogic::setRotated @ 0x594170
// > ??> @ 0x45300
//
// 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 SliderThumb::setRotated(SliderThumb *a1, bool a2)
{
float Value; // s0
float v5; // s8
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21
cocos2d::CCPoint v7; // [xsp+50h] [xbp+50h] BYREF
Value = SliderThumb::getValue(a1);
a1->m_vertical = a2;
v5 = Value;
setPosition = a1->setPosition;
cocos2d::CCPoint::CCPoint(&v7, 0.0, 0.0);
setPosition(a1, &v7);
SliderThumb::setValue(a1, v5);
}