//
// SetupGradientPopup::valueDidChange from 0xb30630 to 0xb30664 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0xed7c0
// > ??> @ 0x14b76f0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:43 +0000
//
SetupTriggerPopup *__fastcall SetupGradientPopup::valueDidChange(SetupTriggerPopup *this, int a2, float a3)
{
float v3; // s0
if ( a2 == 209 )
{
if ( a3 < 0.0 )
{
v3 = 0.0;
}
else
{
if ( a3 <= 999.0 )
return SetupTriggerPopup::updateEditorLabel(this);
v3 = 999.0;
}
return (SetupTriggerPopup *)SetupTriggerPopup::updateValue((cocos2d::CCDictionary **)this, 0xD1u, v3);
}
return this;
}