//
// GameObject::groupColor from 0x358a36 to 0x358a84 (78 bytes)
//
// 1 xrefs:
// > GameObject::colorForMode @ 0x358bda
//
// 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 *GameObject::groupColor(GameObject *a1, const cocos2d::ccColor3B *a2, bool a3)
{
cocos2d::ccColor3B *p_m_groupColor; // r6
int v6; // r5
int v7; // r0
p_m_groupColor = &a1->m_groupColor;
v6 = 0;
a1->m_groupColor = *a2;
while ( v6 < a1->m_colorGroupCount )
{
*(cocos2d::ccColor3B *)&v7 = GJEffectManager::colorForGroupID(
a1->m_goEffectManager,
a1->m_colorGroups->__elems_[v6++],
p_m_groupColor,
a3);
*(_WORD *)&a1->m_groupColor.r = v7;
a1->m_groupColor.b = BYTE2(v7);
}
return p_m_groupColor;
}