//
// GameObject::createGroupContainer from 0x1005be490 to 0x1005be4ed (93 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
//
void __fastcall GameObject::createGroupContainer(GameObject *a1, int a2)
{
size_t v3; // rdi
std::array *v4; // rax
if ( !a1->m_groups )
{
v3 = -1;
if ( a2 >= 0 )
v3 = 2LL * (unsigned int)a2;
v4 = (std::array *)operator new[](v3);
a1->m_groups = v4;
if ( a2 > 0 )
__bzero(v4, 2LL * (unsigned int)a2);
}
}