//
// GameObject::groupColor from 0x1005caf40 to 0x1005cafcc (140 bytes)
//
// 0 xrefs:
//
// 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)
{
__int64 v3; // r12
a1->m_groupColor = *a2;
if ( a1->m_colorGroupCount > 0 )
{
v3 = 0;
do
a1->m_groupColor = GJEffectManager::colorForGroupID(
a1->m_goEffectManager,
a1->m_colorGroups->__elems_[v3++],
&a1->m_groupColor,
a3);
while ( v3 < a1->m_colorGroupCount );
}
return &a1->m_groupColor;
}