//
// GJEffectManager::updateColors from 0x8a401c to 0x8a4080 (100 bytes)
//
// 2 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x5d5eb4
// > ??> @ 0xbd318
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void GJEffectManager::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
cocos2d::CCDictionary *m_unkObject148; // x0
cocos2d::CCDictElement *m_pElements; // x0
cocos2d::CCDictElement *i; // x19
int v6; // [xsp+30h] [xbp+30h]
int v7; // [xsp+38h] [xbp+38h]
v7 = *(_DWORD *)&a2.r;
v6 = *(_DWORD *)&a3.r;
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 )
{
ColorAction::updateCustomColor(
(ColorAction *)m_pElements->m_pObject,
(cocos2d::ccColor3B)v7,
(cocos2d::ccColor3B)v6);
m_pElements = i;
if ( !i )
break;
}
}
}
}