//
// GameObject::getGroupString from 0x363254 to 0x3632ec (152 bytes)
//
// 1 xrefs:
// > GameObject::getSaveString @ 0x363d6c
//
// 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
//
GameObject *__fastcall GameObject::getGroupString(GameObject *this, int a2)
{
int v4; // r2
int v5; // r5
int v6; // r9
char *v7; // r0
unsigned int v9[3]; // [sp+Ch] [bp+8h] BYREF
char v10; // [sp+18h] [bp+14h] BYREF
v9[1] = 500;
v9[2] = (unsigned int)&v10;
v4 = 1;
v5 = 0;
v9[0] = 0;
do
{
v6 = *(__int16 *)(*(_DWORD *)(a2 + 1008) + v5);
if ( v6 > 0 )
{
if ( !v4 )
fmt::BasicWriter::operator<<(v9, ".", 0);
fmt::BasicWriter::operator<<(v9, v6);
v4 = 0;
}
v5 += 2;
}
while ( v5 != 20 );
v7 = (char *)fmt::BasicWriter::c_str((int *)v9);
sub_776584((int)this, v7);
fmt::internal::Array::free((int)v9);
return this;
}