//
// GJEffectManager::updateColorEffects from 0x8a481c to 0x8a48a0 (132 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateEffects @ 0x8b6328
// > ??> @ 0x69660
//
// 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::updateColorEffects(GJEffectManager *a1, float a2)
{
cocos2d::CCDictionary *m_unkObject148; // x0
cocos2d::CCDictElement *m_pElements; // x0
cocos2d::CCDictElement *i; // x20
cocos2d::CCObject *m_pObject; // x19
__int64 v7; // x1
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;
ColorAction::step((ColorAction *)m_pObject, a2);
m_pElements = i;
if ( !m_pObject[2].m_uID )
{
v7 = *(_QWORD *)&m_pObject[2].m_uIndexInArray;
*(_WORD *)(v7 + 320) = WORD1(m_pObject[1].__vftable);
*(_BYTE *)(v7 + 322) = BYTE4(m_pObject[1].__vftable);
*(float *)(v7 + 316) = *(float *)&m_pObject[1].m_uID * 255.0;
}
if ( !i )
break;
}
}
}
}