//
// SetupTriggerPopup::resetDisabledValues from 0x548764 to 0x5487d2 (110 bytes)
//
// 1 xrefs:
// > SetupShaderEffectPopup::valueDidChange @ 0x551b84
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupTriggerPopup::resetDisabledValues(SetupTriggerPopup *a1)
{
cocos2d::CCDictionary *m_inputNodes; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
cocos2d::CCObject *m_pObject; // r6
float (__fastcall *getValue)(SetupTriggerPopup *__hidden, int); // r7
int v7; // r0
int v8; // r0
cocos2d::CCDictElement *v9; // r2
m_inputNodes = a1->m_inputNodes;
if ( m_inputNodes )
{
m_pElements = m_inputNodes->m_pElements;
if ( m_pElements )
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
else
next = nullptr;
while ( m_pElements )
{
m_pObject = m_pElements->m_pObject;
getValue = a1->getValue;
v7 = m_pObject->getTag(m_pObject);
if ( getValue(a1, v7) == -909190.0 )
{
v8 = m_pObject->getTag(m_pObject);
SetupTriggerPopup::updateValue(a1, v8, 0.0);
}
if ( next )
v9 = (cocos2d::CCDictElement *)next->hh.next;
else
v9 = nullptr;
m_pElements = next;
next = v9;
}
}
}