//
// SetupCameraOffsetTrigger::valuePopupClosed from 0x502cc0 to 0x502d1c (92 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupCameraOffsetTrigger::valuePopupClosed @ 0x502d28
//
// 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 SetupCameraOffsetTrigger::valuePopupClosed(SetupCameraOffsetTrigger *a1, ConfigureValuePopup *a2, float a3)
{
cocos2d::CCString *v4; // r0
float v5; // r0
float v6; // s15
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", (const char *)a2, a3);
v5 = cocos2d::CCString::floatValue(v4);
v6 = v5;
if ( v5 >= 20.0 )
{
v6 = 20.0;
}
else if ( v5 <= 0.1 )
{
v6 = 0.1;
}
a1->m_cameraEasingRate = v6;
SetupCameraOffsetTrigger::updateMoveCommandEasingRate(a1);
SetupCameraOffsetTrigger::updateEasingRateLabel(a1);
}