//
// GJEffectManager::addAllInheritedColorActions from 0x8a41d8 to 0x8a4248 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x38eb0
//
// 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; // x0
cocos2d::CCDictElement *m_pElements; // x0
cocos2d::CCDictElement *i; // x19
cocos2d::CCObject *m_pObject; // x1
cocos2d::CCArray *m_uID; // x0
cocos2d::CCArray *v8; // x0
cocos2d::CCObject *v9; // [xsp+28h] [xbp+28h]
m_unkObject148 = a1->m_unkObject148;
if ( m_unkObject148 )
{
m_pElements = m_unkObject148->m_pElements;
if ( m_pElements )
{
for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )
{
m_pObject = m_pElements->m_pObject;
m_uID = (cocos2d::CCArray *)m_pObject[2].m_uID;
if ( (int)m_uID > 0 )
{
if ( !a2 )
{
v9 = m_pObject;
v8 = (cocos2d::CCArray *)cocos2d::CCArray::create(m_uID);
m_pObject = v9;
a2 = v8;
}
cocos2d::CCArray::addObject(a2, m_pObject);
}
if ( !i )
break;
m_pElements = i;
}
}
}
}