//
// SetupGradientPopup::valueDidChange from 0x686f34 to 0x686f66 (50 bytes)
//
// 0 xrefs:
//
// 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:05 +0000
//
cocos2d::CCDictionary **__fastcall SetupGradientPopup::valueDidChange(cocos2d::CCDictionary **this, int a2, float a3)
{
float v3; // r2
if ( a2 == 209 )
{
if ( a3 < 0.0 )
{
v3 = 0.0;
return (cocos2d::CCDictionary **)SetupTriggerPopup::updateValue(this, 209, v3);
}
if ( a3 > 999.0 )
{
v3 = 999.0;
return (cocos2d::CCDictionary **)SetupTriggerPopup::updateValue(this, 209, v3);
}
return SetupTriggerPopup::updateEditorLabel(this);
}
return this;
}