//
// GJEffectManager::updateColors from 0x499ad4 to 0x499b12 (62 bytes)
//
// 1 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x31ab66
//
// 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::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
cocos2d::CCDictionary *m_unkObject148; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
cocos2d::CCDictElement *v6; // r2
int v7; // [sp+0h] [bp-8h]
int v8; // [sp+4h] [bp-4h]
v8 = *(_DWORD *)&a2.r;
v7 = *(_DWORD *)&a3.r;
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 )
{
ColorAction::updateCustomColor(
(ColorAction *)m_pElements->m_pObject,
(cocos2d::ccColor3B)v8,
(cocos2d::ccColor3B)v7);
if ( next )
v6 = (cocos2d::CCDictElement *)next->hh.next;
else
v6 = nullptr;
m_pElements = next;
next = v6;
}
}
}