//
// SetupTriggerPopup::toggleDisableButtons from 0x100131b40 to 0x100131bfc (188 bytes)
//
// 4 xrefs:
// > SetupShaderEffectPopup::setupShockWave @ 0x100182d48
// > SetupShaderEffectPopup::setupShockLine @ 0x100183c00
// > SetupShaderEffectPopup::valueDidChange @ 0x100189e00
// > SetupShaderEffectPopup::toggleGroup @ 0x10018a0a0
//
// 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 __fastcall SetupTriggerPopup::toggleDisableButtons(SetupTriggerPopup *a1, bool a2)
{
cocos2d::CCDictionary *m_disableButtons; // x8
cocos2d::CCDictElement *m_pElements; // x23
_BOOL4 v4; // w19
cocos2d::CCObject *m_pObject; // x21
cocos2d::CCDictionary *m_inputNodes; // x22
int v8; // w0
cocos2d::CCObject *v9; // x0
__int64 v10; // x22
m_disableButtons = a1->m_disableButtons;
if ( m_disableButtons )
{
m_pElements = m_disableButtons->m_pElements;
if ( m_pElements )
{
v4 = a2;
do
{
m_pObject = m_pElements->m_pObject;
m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;
if ( v4 )
{
m_inputNodes = a1->m_inputNodes;
v8 = ((__int64 (__fastcall *)(cocos2d::CCObject *))m_pObject->getTag)(m_pObject);
v9 = cocos2d::CCDictionary::objectForKey(m_inputNodes, v8);
if ( v9 )
v10 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v9->__vftable[4].~CCObject_0)(v9);
else
v10 = 1;
}
else
{
v10 = 0;
}
((void (__fastcall *)(cocos2d::CCObject *, __int64))m_pObject->__vftable[4].~CCObject)(m_pObject, v10);
((void (__fastcall *)(cocos2d::CCObject *, __int64))m_pObject->__vftable[13].copyWithZone)(m_pObject, v10);
}
while ( m_pElements );
}
}
}