//
// SliderThumb::getValue from 0x1400712e0 to 0x140071363 (131 bytes)
//
// 47 xrefs:
// > Slider::setValue @ 0x140071c5e
// > Slider::updateBar @ 0x140071cdb
// > Slider::setRotated @ 0x140071dcf
// > Slider::setMaxOffset @ 0x140071e84
// > ColorSelectLiveOverlay::sliderChanged @ 0x14008ce15
// > ColorSelectPopup::init @ 0x14008e61a
// > ColorSelectPopup::sliderChanged @ 0x140091208
// > ConfigureHSVWidget::sliderChanged @ 0x1400979c8
// > ConfigureValuePopup::sliderChanged @ 0x1400990b3
// > CustomizeObjectLayer::sliderChanged @ 0x1400a7ecc
// > EditorUI::sliderChanged @ 0x1400e2a65
// > GJScaleControl::sliderChanged @ 0x14012a553
// > GJScaleControl::ccTouchBegan @ 0x14012a5ec
// > GJScaleControl::ccTouchBegan @ 0x14012a694
// > GJScaleControl::ccTouchMoved @ 0x14012a7ea
// > GJScaleControl::ccTouchMoved @ 0x14012a814
// > GJScaleControl::ccTouchEnded @ 0x14012abd2
// > GJScaleControl::ccTouchEnded @ 0x14012ac34
// > GJFollowCommandLayer::sliderChanged @ 0x140271d2c
// > GJFollowCommandLayer::sliderXModChanged @ 0x140271ebc
// > GJFollowCommandLayer::sliderYModChanged @ 0x140271efc
// > GJPFollowCommandLayer::sliderXModChanged @ 0x14028c45c
// > GJPFollowCommandLayer::sliderYModChanged @ 0x14028c48c
// > MusicBrowser::sliderEnded @ 0x140339b26
// > OptionsLayer::musicSliderChanged @ 0x1403729a7
// > OptionsLayer::sfxSliderChanged @ 0x140372a9c
// > PauseLayer::musicSliderChanged @ 0x14037e13c
// > SetupCameraModePopup::init @ 0x140414946
// > SetupCameraModePopup::init @ 0x140414b32
// > SetupCameraModePopup::sliderChanged @ 0x140414ff8
// > SetupCameraOffsetTrigger::sliderXChanged @ 0x1404170ec
// > SetupCameraOffsetTrigger::sliderYChanged @ 0x14041713c
// > SetupMGTrigger::sliderYChanged @ 0x1404284bc
// > SetupOpacityPopup::init @ 0x14042b327
// > SetupOpacityPopup::sliderChanged @ 0x14042b5d8
// > CreateParticlePopup::sliderChanged @ 0x140434aa8
// > SetupPulsePopup::init @ 0x140437dd7
// > SetupPulsePopup::init @ 0x140438247
// > SetupPulsePopup::init @ 0x1404386cf
// > SetupPulsePopup::sliderChanged @ 0x14043bba8
// > SetupRandTriggerPopup::sliderChanged @ 0x140440a0c
// > SetupShakePopup::init @ 0x14045589d
// > SetupShakePopup::init @ 0x14045592e
// > SetupShakePopup::sliderChanged @ 0x140455c58
// > SetupTimeWarpPopup::sliderChanged @ 0x1404639ec
// > SetupTriggerPopup::triggerSliderChanged @ 0x140475d5c
// > ??> @ 0x1406c61ec
//
// 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
//
float SliderThumb::getValue(SliderThumb *a1)
{
SliderThumb_vtbl *v2; // rax
float *v3; // rax
float v4; // xmm6_4
double v5; // xmm0_8
float v6; // xmm7_4
v2 = a1->cocos2d::CCMenuItemImage::cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
if ( BYTE4(a1->m_pDisabledImage) )
v3 = (float *)(((__int64 (*)(void))v2->getPosition_0)() + 4);
else
v3 = (float *)((__int64 (*)(void))v2->getPosition_0)();
v4 = *v3;
v5 = ((double (__fastcall *)(SliderThumb *))a1->getScale)(a1);
v6 = (float)((float)(*(float *)&v5 * *(float *)&a1->m_pDisabledImage) * 0.5) + v4;
return v6 / (float)(a1->getScale(a1) * *(float *)&a1->m_pDisabledImage);
}