//
// SetupTriggerPopup::valuePopupClosed from 0x67e844 to 0x67e8de (154 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupTriggerPopup::valuePopupClosed @ 0x67e8ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:00 +0000
//
int __fastcall SetupTriggerPopup::valuePopupClosed(SetupTriggerPopup *this, ConfigureValuePopup *a2, float a3)
{
cocos2d::CCString *v5; // r0
float v6; // r0
float v7; // s16
int v8; // r5
const char *v9; // r1
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", (const char *)a2, a3);
v6 = COERCE_FLOAT(cocos2d::CCString::floatValue(v5));
v7 = v6;
if ( v6 >= 20.0 )
{
v7 = 20.0;
}
else if ( v6 <= 0.1 )
{
v7 = 0.1;
}
v8 = (*(int (__fastcall **)(ConfigureValuePopup *))(*(_DWORD *)a2 + 32))(a2);
if ( v8 == 85 )
{
*((float *)this + 152) = v7;
SetupTriggerPopup::valueChanged((cocos2d::CCObject **)this, 85, v7);
return SetupTriggerPopup::updateEaseRateLabel(this, v9);
}
else
{
SetupTriggerPopup::valueChanged((cocos2d::CCObject **)this, v8, v7);
return SetupTriggerPopup::updateCustomEaseRateLabel((cocos2d::CCDictionary **)this, v8, v7);
}
}