//
// GJEffectManager::getAllColorSprites from 0x499a94 to 0x499ad4 (64 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
//
cocos2d::CCArray *GJEffectManager::getAllColorSprites(GJEffectManager *a1)
{
cocos2d::CCArray *v2; // r0
cocos2d::CCDictionary *m_unkDict150; // 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_unkDict150 = a1->m_unkDict150;
v4 = v2;
if ( m_unkDict150 )
{
m_pElements = m_unkDict150->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;
}