//
// GJLevelList::updateLevelsString from 0x4d8c3c to 0x4d8cd4 (152 bytes)
//
// 3 xrefs:
// > GJLevelList::addLevelToList @ 0x4d8d3e
// > GJLevelList::removeLevelFromList @ 0x4d8e14
// > GJLevelList::reorderLevel @ 0x4d8eaa
//
// 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:50:54 +0000
//
void __fastcall GJLevelList::updateLevelsString(GJLevelList *this)
{
int *v1; // r7
int v2; // r5
int *v4; // r2
char *v5; // r0
int *v6; // [sp+4h] [bp-218h]
unsigned int v7[3]; // [sp+14h] [bp-208h] BYREF
char v8; // [sp+20h] [bp-1FCh] BYREF
v1 = *((int **)this + 66);
v2 = 0;
v7[1] = 500;
v7[2] = (unsigned int)&v8;
v4 = *((int **)this + 67);
v7[0] = 0;
v6 = v4;
while ( v1 != v6 )
{
if ( v2 )
fmt::BasicWriter::operator<<(v7, ",", 0);
fmt::BasicWriter::operator<<(v7, *v1);
++v2;
++v1;
}
v5 = (char *)fmt::BasicWriter::c_str((int *)v7);
std::string::assign((int *)this + 93, v5);
fmt::internal::Array::free((int)v7);
}