//
// SetupAreaTintTriggerPopup::valueDidChange from 0x68e9bc to 0x68ea4a (142 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:10 +0000
//
int __fastcall SetupAreaTintTriggerPopup::valueDidChange(SetupAreaTintTriggerPopup *this, int a2, float a3)
{
int result; // r0
cocos2d::CCDictionary **v7; // r0
int v8; // r1
result = SetupAreaMoveTriggerPopup::valueDidChange((int)this, a2, a3);
if ( a2 == 66 )
{
if ( a3 == 0.0 )
return result;
v7 = (cocos2d::CCDictionary **)this;
v8 = 65;
return SetupTriggerPopup::updateValue(v7, v8, 0.0);
}
if ( a2 == 278 )
{
(*(void (__fastcall **)(SetupAreaTintTriggerPopup *, int, bool))(*(_DWORD *)this + 676))(this, 1, a3 == 0.0);
return (*(int (__fastcall **)(SetupAreaTintTriggerPopup *, int, bool))(*(_DWORD *)this + 676))(this, 2, a3 != 0.0);
}
else if ( a2 == 65 && a3 != 0.0 )
{
v7 = (cocos2d::CCDictionary **)this;
v8 = 66;
return SetupTriggerPopup::updateValue(v7, v8, 0.0);
}
return result;
}