//
// GJEffectManager::updateColors from 0x1002de240 to 0x1002de296 (86 bytes)
//
// 1 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x1000ad24b
//
// 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; // rax
cocos2d::CCDictElement *m_pElements; // rax
int v5; // edi
cocos2d::CCObject *m_pObject; // rcx
int m_uIndexInArray; // r8d
m_unkObject148 = a1->m_unkObject148;
if ( m_unkObject148 )
{
m_pElements = m_unkObject148->m_pElements;
while ( 1 )
{
while ( 1 )
{
if ( !m_pElements )
return;
m_pObject = m_pElements->m_pObject;
m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;
m_uIndexInArray = m_pObject[1].m_uIndexInArray;
v5 = *(_DWORD *)&a2.r;
if ( m_uIndexInArray != 1 )
break;
LABEL_4:
LOWORD(m_pObject[1].m_nTag) = v5;
BYTE2(m_pObject[1].m_nTag) = BYTE2(v5);
}
if ( m_uIndexInArray == 2 )
{
v5 = *(_DWORD *)&a3.r;
goto LABEL_4;
}
}
}
}