//
// GameObject::createGroupContainer from 0x44db2c to 0x44db62 (54 bytes)
//
// 2 xrefs:
// > GameObject::addToGroup @ 0x44db7c
// > GameObject::loadGroupsFromString @ 0x4530b4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
int __fastcall GameObject::createGroupContainer(int this, unsigned int a2)
{
int v2; // r5
unsigned int v4; // r0
signed int v5; // r3
v2 = this;
if ( !*(_DWORD *)(this + 1016) )
{
if ( a2 > 0x3F800000 )
v4 = -1;
else
v4 = 2 * a2;
this = operator new[](v4);
v5 = 0;
*(_DWORD *)(v2 + 1016) = this;
while ( v5 < (int)a2 )
*(_WORD *)(*(_DWORD *)(v2 + 1016) + 2 * v5++) = 0;
}
return this;
}