//
// SetupTriggerPopup::valuePopupClosed from 0x548824 to 0x5488be (154 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupTriggerPopup::valuePopupClosed @ 0x5488cc
//
// 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 SetupTriggerPopup::valuePopupClosed(SetupTriggerPopup *a1, ConfigureValuePopup *a2, float a3)
{
cocos2d::CCString *v5; // r0
float v6; // r0
float v7; // s16
int v8; // r5
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", (const char *)a2, a3);
v6 = cocos2d::CCString::floatValue(v5);
v7 = v6;
if ( v6 >= 20.0 )
{
v7 = 20.0;
}
else if ( v6 <= 0.1 )
{
v7 = 0.1;
}
v8 = a2->getTag(a2);
if ( v8 == 85 )
{
a1->m_easingRate = v7;
SetupTriggerPopup::valueChanged(a1, 85, v7);
SetupTriggerPopup::updateEaseRateLabel(a1);
}
else
{
SetupTriggerPopup::valueChanged(a1, v8, v7);
SetupTriggerPopup::updateCustomEaseRateLabel(a1, v8, v7);
}
}