//
// SetupTriggerPopup::valueChanged from 0xb22a64 to 0xb24740 (7388 bytes)
//
// 27 xrefs:
// > SetupTriggerPopup::textChanged @ 0xb2486c
// > SetupTriggerPopup::triggerSliderChanged @ 0xb24988
// > SetupTriggerPopup::onToggleTriggerValue @ 0xb24a3c
// > SetupTriggerPopup::updateValue @ 0xb24ab4
// > SetupTriggerPopup::updateValue @ 0xb24ae0
// > SetupTriggerPopup::onEase @ 0xb24c20
// > SetupTriggerPopup::valuePopupClosed @ 0xb24cbc
// > SetupTriggerPopup::valuePopupClosed @ 0xb24ce8
// > SetupTriggerPopup::onCustomEaseArrow @ 0xb24d68
// > SetupTriggerPopup::triggerArrowChanged @ 0xb24f88
// > SetupTeleportPopup::onTeleportGravity @ 0xb27d68
// > SetupShaderEffectPopup::onZLayer @ 0xb31df8
// > SetupShaderEffectPopup::onZLayer @ 0xb31e24
// > SetupShaderEffectPopup::onZLayer @ 0xb31e58
// > SetupShaderEffectPopup::valueDidChange @ 0xb3b01c
// > SetupAreaMoveTriggerPopup::onMode @ 0xb3bd08
// > SetupAreaMoveTriggerPopup::onMode @ 0xb3bd1c
// > SetupAreaMoveTriggerPopup::onMode @ 0xb3bd30
// > SetupAreaMoveTriggerPopup::onSpecialTarget @ 0xb433b4
// > SetupAdvFollowPopup::valueDidChange @ 0xb4c634
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0xb4ce40
// > SetupKeyframePopup::onTimeMode @ 0xb693f8
// > MoveStepPopup::textChanged @ 0xc60c70
// > EasingSelectPopup::valueDidChange @ 0xcbade8
// > EasingSelectPopup::valueDidChange @ 0xcbadec
// > EasingSelectPopup::onCell @ 0xcbb45c
// > ??> @ 0x8f470
//
// 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:37 +0000
//
__int64 __fastcall SetupTriggerPopup::valueChanged(SetupTriggerPopup *this, int a2, float a3)
{
cocos2d::CCArray *v5; // x0
cocos2d::CCArray *v7; // x20
unsigned int v8; // w19
unsigned int v9; // w21
float v11; // s0
v5 = *((cocos2d::CCArray **)this + 85);
if ( v5 )
{
v7 = (cocos2d::CCArray *)cocos2d::CCArray::create(v5);
cocos2d::CCArray::addObject(v7, *((cocos2d::CCObject **)this + 85));
}
else
{
v7 = *((cocos2d::CCArray **)this + 86);
}
if ( v7 && (unsigned int)cocos2d::CCArray::count(v7) )
{
v8 = 0;
v9 = a2 - 10;
while ( v8 < (unsigned int)cocos2d::CCArray::count(v7) )
{
cocos2d::CCArray::objectAtIndex(v7, v8);
if ( v9 <= 0x253 )
__asm { BR X1 }
++v8;
}
}
if ( (unsigned __int8)SetupTriggerPopup::shouldLimitValue((__int64 **)this, a2)
&& (cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 105), a2)
&& (v11 = *(float *)(cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 105), a2) + 56),
a3 < v11)
|| cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 106), a2)
&& (v11 = *(float *)(cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 106), a2) + 56),
a3 > v11)) )
{
return SetupTriggerPopup::updateValue(this, a2, v11);
}
else
{
return (*(__int64 (__fastcall **)(SetupTriggerPopup *, _QWORD, float))(*(_QWORD *)this + 1456LL))(
this,
(unsigned int)a2,
a3);
}
}