//
// GJEffectManager::addAllInheritedColorActions from 0x499bf0 to 0x499c3a (74 bytes)
//
// 0 xrefs:
//
// 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 GJEffectManager::addAllInheritedColorActions(GJEffectManager *a1, cocos2d::CCArray *a2)
{
cocos2d::CCDictionary *m_unkObject148; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
cocos2d::CCObject *m_pObject; // r6
cocos2d::CCDictElement *v7; // r2
m_unkObject148 = a1->m_unkObject148;
if ( m_unkObject148 )
{
m_pElements = m_unkObject148->m_pElements;
if ( m_pElements )
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
else
next = nullptr;
while ( m_pElements )
{
m_pObject = m_pElements->m_pObject;
if ( m_pObject[2].m_nTag > 0 )
{
if ( !a2 )
a2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
a1 = (GJEffectManager *)cocos2d::CCArray::addObject(a2, m_pObject);
}
if ( next )
v7 = (cocos2d::CCDictElement *)next->hh.next;
else
v7 = nullptr;
m_pElements = next;
next = v7;
}
}
}