//
// GameObject::resetColorGroups from 0x10068feb0 to 0x10068fef1 (65 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::calculateColorGroups @ 0x1000fa0bd
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:07 +0000
//
void __fastcall GameObject::resetColorGroups(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rcx
if ( *(__int16 *)(a1 + 1184) > 0 )
{
v1 = *(_QWORD *)(a1 + 1176);
v2 = 0;
do
*(_WORD *)(v1 + 2 * v2++) = 0;
while ( v2 < *(__int16 *)(a1 + 1184) );
}
*(_WORD *)(a1 + 1184) = 0;
}