//
// GameObject::resetColorGroups from 0x1005be800 to 0x1005be841 (65 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::calculateColorGroups @ 0x10011ddad
//
// 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
//
void __fastcall GameObject::resetColorGroups(GameObject *a1)
{
std::array *m_colorGroups; // rax
__int64 v2; // rcx
if ( a1->m_colorGroupCount > 0 )
{
m_colorGroups = a1->m_colorGroups;
v2 = 0;
do
m_colorGroups->__elems_[v2++] = 0;
while ( v2 < a1->m_colorGroupCount );
}
a1->m_colorGroupCount = 0;
}