//
// GJEffectManager::getAllColorActions from 0x499a54 to 0x499a94 (64 bytes)
//
// 4 xrefs:
// > PlayLayer::loadDefaultColors @ 0x31af00
// > PlayLayer::loadDefaultColors @ 0x31af42
// > PlayLayer::loadDefaultColors @ 0x31afa2
// > LevelEditorLayer::transferDefaultColors @ 0x367b94
//
// 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
//
cocos2d::CCArray *GJEffectManager::getAllColorActions(GJEffectManager *a1)
{
cocos2d::CCArray *v2; // r0
cocos2d::CCDictionary *m_unkObject148; // r3
cocos2d::CCArray *v4; // r5
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
cocos2d::CCDictElement *v7; // r2
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
m_unkObject148 = a1->m_unkObject148;
v4 = v2;
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 )
{
cocos2d::CCArray::addObject(v4, m_pElements->m_pObject);
if ( next )
v7 = (cocos2d::CCDictElement *)next->hh.next;
else
v7 = nullptr;
m_pElements = next;
next = v7;
}
}
return v4;
}