//
// GJEffectManager::updateColorEffects from 0x10000fc3c to 0x10000fcc8 (140 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x10000fc14
//
// 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 __fastcall GJEffectManager::updateColorEffects(GJEffectManager *a1, float a2)
{
cocos2d::CCDictionary *m_unkObject148; // x8
cocos2d::CCDictElement *i; // x20
cocos2d::CCObject *m_pObject; // x19
__int64 v6; // x8
__int16 v7; // w9
m_unkObject148 = a1->m_unkObject148;
if ( m_unkObject148 )
{
for ( i = m_unkObject148->m_pElements; i; *(float *)(v6 + 316) = *(float *)&m_pObject[1].m_uID * 255.0 )
{
while ( 1 )
{
m_pObject = i->m_pObject;
i = (cocos2d::CCDictElement *)i->hh.next;
ColorAction::step((ColorAction *)m_pObject, a2);
if ( !m_pObject[2].m_uID )
break;
if ( !i )
return;
}
v6 = *(_QWORD *)&m_pObject[2].m_uIndexInArray;
v7 = WORD1(m_pObject[1].__vftable);
*(_BYTE *)(v6 + 322) = BYTE4(m_pObject[1].__vftable);
*(_WORD *)(v6 + 320) = v7;
}
}
}