//
// SetupPortalPopup::sliderChanged from 0x96aabc to 0x96ab74 (184 bytes)
//
// 4 xrefs:
// > ??> @ 0x73530
// > SetupPortalPopup::init @ 0x96a434
// > SetupPortalPopup::init @ 0x96a59c
// > ??> @ 0x122bd10
//
// 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 SetupPortalPopup::sliderChanged(SetupPortalPopup *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;
SetupPortalPopup::updateCameraPadding(a1);
SetupPortalPopup::updateCameraPaddingLabel(a1);
}
}
else
{
a1->m_cameraEasing = (int)(float)(roundf(Value * 39.0) + 1.0);
SetupPortalPopup::updateCameraEasing(a1);
SetupPortalPopup::updateCameraEasingLabel(a1);
}
}