//
// GJEffectManager::updateColors from 0x10000f04c to 0x10000f094 (72 bytes)
//
// 1 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x10011631c
//
// 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 __fastcall GJEffectManager::updateColors(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
cocos2d::CCDictionary *m_unkObject148; // x8
cocos2d::CCDictElement *m_pElements; // x8
cocos2d::CCObject *m_pObject; // x9
int m_uIndexInArray; // w11
int v7; // w10
m_unkObject148 = a1->m_unkObject148;
if ( m_unkObject148 )
{
m_pElements = m_unkObject148->m_pElements;
if ( m_pElements )
{
while ( 1 )
{
m_pObject = m_pElements->m_pObject;
m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;
m_uIndexInArray = m_pObject[1].m_uIndexInArray;
v7 = *(_DWORD *)&a2.r;
if ( m_uIndexInArray == 1 )
goto LABEL_6;
if ( m_uIndexInArray == 2 )
break;
LABEL_7:
if ( !m_pElements )
return;
}
v7 = *(_DWORD *)&a3.r;
LABEL_6:
LOWORD(m_pObject[1].m_nTag) = v7;
BYTE2(m_pObject[1].m_nTag) = BYTE2(v7);
goto LABEL_7;
}
}
}