//
// Slider::setRotated from 0x140071da0 to 0x140071e36 (150 bytes)
//
// 5 xrefs:
// > ColorSelectLiveOverlay::init @ 0x14008c42f
// > ColorSelectLiveOverlay::init @ 0x14008c51e
// > ColorSelectLiveOverlay::init @ 0x14008c606
// > ColorSelectLiveOverlay::init @ 0x14008c6ee
// > ??> @ 0x1406c62b8
//
// 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 Slider::setRotated(Slider *a1, bool a2)
{
SliderTouchLogic *m_touchLogic; // rax
SliderThumb *m_thumb; // rdi
float Value; // xmm0_4
SliderThumb_vtbl *v6; // rbx
float v7; // xmm6_4
const cocos2d::CCPoint *v8; // rax
cocos2d::CCPoint v9; // [rsp+40h] [rbp+8h] BYREF
m_touchLogic = a1->m_touchLogic;
m_thumb = m_touchLogic->m_thumb;
m_touchLogic->m_rotated = 1;
Value = SliderThumb::getValue(m_thumb);
v6 = m_thumb->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
BYTE4(m_thumb->m_pDisabledImage) = 1;
v7 = Value;
cocos2d::CCPoint::CCPoint(&v9, 0.0, 0.0);
v6->setPosition_0(m_thumb, v8);
SliderThumb::setValue(m_thumb, v7);
((void (__fastcall *)(cocos2d::CCSprite *))a1->m_groove->setRotation)(a1->m_groove);
}