//
// GameObject::getGroupString from 0x45ca50 to 0x45cafc (172 bytes)
//
// 1 xrefs:
// > GameObject::getSaveString @ 0x45d594
//
// 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:50 +0000
//
GameObject *__fastcall GameObject::getGroupString(GameObject *this, int a2)
{
int v4; // r2
int v5; // r5
int v6; // r9
const char *v7; // r0
const char *v8; // r5
size_t v9; // r0
unsigned int v11[3]; // [sp+Ch] [bp-208h] BYREF
char v12; // [sp+18h] [bp-1FCh] BYREF
v11[1] = 500;
v11[2] = (unsigned int)&v12;
v4 = 1;
v5 = 0;
v11[0] = 0;
do
{
v6 = *(__int16 *)(*(_DWORD *)(a2 + 1016) + v5);
if ( v6 > 0 )
{
if ( !v4 )
fmt::BasicWriter::operator<<(v11, ".", 0);
fmt::BasicWriter::operator<<(v11, v6);
v4 = 0;
}
v5 += 2;
}
while ( v5 != 20 );
v7 = (const char *)fmt::BasicWriter::c_str((int *)v11);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v8 = v7;
*((_DWORD *)this + 2) = 0;
v9 = strlen(v7);
std::string::__init((int *)this, v8, v9);
fmt::internal::Array::free((int)v11);
return this;
}