//
// SetupTriggerPopup::updateValueControls from 0x10021e770 to 0x10021e83f (207 bytes)
//
// 14 xrefs:
// > SetupTriggerPopup::valueChanged @ 0x10021bb2b
// > SetupTriggerPopup::triggerArrowChanged @ 0x10021e456
// > SetupTriggerPopup::onDisableValue @ 0x10021fbae
// > SetupTriggerPopup::updateValue @ 0x10021fc23
// > SetupTriggerPopup::resetDisabledValues @ 0x10021fc79
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x100220d36
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x100220e51
// > EasingSelectPopup::valueDidChange @ 0x1008dd87c
// > sub_100908B60 @ 0x100908b98
// > sub_100908BD0 @ 0x100908c0b
// > sub_100908C40 @ 0x100908c78
// > sub_100908D80 @ 0x100908da2
// > TouchControlEditLayer::refreshHud @ 0x10097935b
// > TouchControlEditLayer::refreshHud @ 0x100979370
//
// This function is hookable on this platform (idp: pc, 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 12:27:02 +0000
//
__int64 __fastcall SetupTriggerPopup::updateValueControls(_QWORD *a1, unsigned int a2, float a3)
{
__int64 v4; // r15
float *v5; // r14
__int64 result; // rax
float v7; // [rsp+Ch] [rbp-24h]
v4 = a1[104];
v5 = (float *)operator new(0x40u);
cocos2d::CCObject::CCObject(v5);
*(_QWORD *)v5 = off_100AE75B8;
v5[14] = a3;
cocos2d::CCObject::autorelease(v5);
cocos2d::CCDictionary::setObject_1(v4, v5, (int)a2);
(*(void (__fastcall **)(_QWORD *, _QWORD, float))(*a1 + 1440LL))(a1, a2, a3);
v7 = (*(float (__fastcall **)(_QWORD *, _QWORD, float))(*a1 + 1480LL))(a1, a2, a3);
result = cocos2d::CCDictionary::objectForKey_1(a1[96]);
if ( result )
return Slider::setValue(result, COERCE_DOUBLE((unsigned __int64)LODWORD(v7)));
return result;
}