// // SetupTriggerPopup::toggleDisableButtons from 0x542384 to 0x542404 (128 bytes) // // 4 xrefs: // > SetupShaderEffectPopup::toggleGroup @ 0x551af2 // > SetupShaderEffectPopup::valueDidChange @ 0x551b74 // > SetupShaderEffectPopup::setupShockWave @ 0x552ccc // > SetupShaderEffectPopup::setupShockLine @ 0x5536b4 // // 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::toggleDisableButtons(SetupTriggerPopup *a1, bool a2) { cocos2d::CCDictionary *m_disableButtons; // r3 _BOOL4 v4; // r7 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCObject *m_pObject; // r5 _BOOL4 v8; // r6 cocos2d::CCDictElement *v9; // r2 cocos2d::CCDictionary *m_inputNodes; // r6 intptr_t v11; // r0 cocos2d::CCObject *v12; // r0 m_disableButtons = a1->m_disableButtons; v4 = a2; if ( m_disableButtons ) { m_pElements = m_disableButtons->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; v8 = v4 && ((m_inputNodes = a1->m_inputNodes, v11 = m_pObject->getTag(m_pElements->m_pObject), (v12 = cocos2d::CCDictionary::objectForKey(m_inputNodes, v11)) == nullptr) || ((int (__fastcall *)(cocos2d::CCObject *))v12->__vftable[4].~CCObject_0)(v12)) && v4; ((void (__fastcall *)(cocos2d::CCObject *, _BOOL4))m_pObject->__vftable[4].~CCObject)(m_pObject, v8); m_pObject->__vftable[13].copyWithZone(m_pObject, (cocos2d::CCZone *)v8); if ( next ) v9 = (cocos2d::CCDictElement *)next->hh.next; else v9 = nullptr; m_pElements = next; next = v9; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source