//
// SetupTriggerPopup::onDisableValue from 0x10021fb60 to 0x10021fbca (106 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f80f
//
// 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:03 +0000
//
__int64 __fastcall SetupTriggerPopup::onDisableValue(_QWORD *a1, __int64 a2)
{
unsigned int v2; // r14d
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( cocos2d::CCDictionary::objectForKey_1(a1[94]) )
(*(void (__fastcall **)(_QWORD *, _QWORD, __int64))(*a1 + 1448LL))(a1, v2, 1);
else
SetupTriggerPopup::updateValueControls(a1, v2, -909190.0);
return SetupTriggerPopup::valueChanged(a1, v2, -909190.0);
}