//
// SetupTriggerPopup::resetDisabledValues from 0x10021fc40 to 0x10021fcff (191 bytes)
//
// 1 xrefs:
// > SetupShaderEffectPopup::valueDidChange @ 0x1002bd376
//
// 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
//
float __fastcall SetupTriggerPopup::resetDisabledValues(_QWORD *a1)
{
__int64 v1; // rax
__int64 v2; // r15
float result; // xmm0_4
__int64 v4; // r14
unsigned int v5; // eax
unsigned int v6; // r14d
v1 = a1[95];
if ( v1 )
{
v2 = *(_QWORD *)(v1 + 56);
while ( v2 )
{
v4 = *(_QWORD *)(v2 + 264);
v2 = *(_QWORD *)(v2 + 288);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4);
result = (*(float (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1464LL))(a1, v5);
if ( result == -909190.0 )
{
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4);
if ( cocos2d::CCDictionary::objectForKey_1(a1[94]) )
(*(void (__fastcall **)(_QWORD *, _QWORD, _QWORD))(*a1 + 1448LL))(a1, v6, 0);
else
SetupTriggerPopup::updateValueControls(a1, v6, 0.0);
result = 0.0;
SetupTriggerPopup::valueChanged(a1, v6, 0.0);
}
}
}
return result;
}