//
// SetupCameraModePopup::sliderChanged from 0xa17118 to 0xa171d0 (184 bytes)
//
// 4 xrefs:
// > ??> @ 0x86d18
// > SetupCameraModePopup::init @ 0xa169a0
// > SetupCameraModePopup::init @ 0xa16b08
// > ??> @ 0x122c8c8
//
// 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; // s8
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);
}
}