//
// GameObject::groupColor from 0x1002624c8 to 0x10026254c (132 bytes)
//
// 1 xrefs:
// > GameObject::colorForMode @ 0x10026228c
//
// 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
//
const cocos2d::ccColor3B *__fastcall GameObject::groupColor(GameObject *a1, const cocos2d::ccColor3B *a2, bool a3)
{
cocos2d::ccColor3B *p_m_groupColor; // x20
__int16 v4; // w8
__int64 v7; // x22
p_m_groupColor = &a1->m_groupColor;
v4 = *(_WORD *)&a2->r;
a1->m_groupColor.b = a2->b;
*(_WORD *)&a1->m_groupColor.r = v4;
if ( a1->m_colorGroupCount >= 1 )
{
v7 = 0;
do
*p_m_groupColor = GJEffectManager::colorForGroupID(
a1->m_goEffectManager,
a1->m_colorGroups->__elems_[v7++],
p_m_groupColor,
a3);
while ( v7 < a1->m_colorGroupCount );
}
return p_m_groupColor;
}