//
// SetupCameraModePopup::sliderChanged from 0x140414fe0 to 0x140415085 (165 bytes)
//
// 3 xrefs:
// > SetupCameraModePopup::init @ 0x140414854
// > SetupCameraModePopup::init @ 0x140414a55
// > ??> @ 0x1406d8e88
//
// 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 SetupCameraModePopup::sliderChanged(SetupCameraModePopup *a1, cocos2d::CCObject *a2)
{
float Value; // xmm0_4
Value = SliderThumb::getValue((SliderThumb *)a2);
if ( a2->getTag(a2) )
{
if ( a2->getTag(a2) == 1 )
{
a1->m_cameraPadding = Value;
SetupCameraModePopup::updateCameraPadding(a1);
SetupCameraModePopup::updateCameraPaddingLabel(a1);
}
}
else
{
a1->m_cameraEasing = (int)(float)(roundf(Value * 39.0) + 1.0);
SetupCameraModePopup::updateCameraEasing(a1);
SetupCameraModePopup::updateCameraEasingLabel(a1);
}
}