//
// GameObject::createGroupContainer from 0x356458 to 0x35648a (50 bytes)
//
// 2 xrefs:
// > GameObject::addToGroup @ 0x3564a4
// > GameObject::loadGroupsFromString @ 0x3569b6
//
// 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 GameObject::createGroupContainer(GameObject *a1, int a2)
{
unsigned int v4; // r0
std::array *v5; // r0
int v6; // r3
if ( !a1->m_groups )
{
if ( (unsigned int)a2 > 0x3F800000 )
v4 = -1;
else
v4 = 2 * a2;
v5 = (std::array *)operator new[](v4);
v6 = 0;
a1->m_groups = v5;
while ( v6 < a2 )
v5->__elems_[v6++] = 0;
}
}