//
// SetupTriggerPopup::triggerSliderChanged from 0xb248cc to 0xb249d4 (264 bytes)
//
// 3 xrefs:
// > ??> @ 0xae448
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb201fc
// > ??> @ 0x1544f60
//
// 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::triggerSliderChanged(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
char v3; // w22
unsigned int v4; // w20
float Value; // s0
float v6; // s0
float TruncatedValueByTag; // s0
cocos2d::CCDictionary *v8; // x23
float v9; // s8
cocos2d::CCObject *v10; // x21
__int64 result; // x0
v3 = *((_BYTE *)this + 744);
*((_BYTE *)this + 744) = 1;
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
Value = SliderThumb::getValue(a2);
v6 = (*(float (__fastcall **)(SetupTriggerPopup *, _QWORD, float))(*(_QWORD *)this + 1472LL))(this, v4, Value);
TruncatedValueByTag = SetupTriggerPopup::getTruncatedValueByTag((cocos2d::CCDictionary **)this, v4, v6);
v8 = *((cocos2d::CCDictionary **)this + 104);
v9 = TruncatedValueByTag;
v10 = (cocos2d::CCObject *)operator new(0x40u);
cocos2d::CCObject::CCObject(v10);
*((float *)v10 + 14) = v9;
*(_QWORD *)v10 = &off_14AF5B0;
cocos2d::CCObject::autorelease(v10);
cocos2d::CCDictionary::setObject(v8, v10, (int)v4);
SetupTriggerPopup::valueChanged(this, v4, v9);
result = (*(__int64 (__fastcall **)(SetupTriggerPopup *, _QWORD, float))(*(_QWORD *)this + 1440LL))(this, v4, v9);
*((_BYTE *)this + 744) = v3;
return result;
}