//
// GJLevelList::updateLevelsString from 0x140177760 to 0x140177864 (260 bytes)
//
// 4 xrefs:
// > GJLevelList::addLevelToList @ 0x140176f7e
// > GJLevelList::reorderLevel @ 0x140177165
// > LevelListLayer::cellPerformedAction @ 0x140306ee8
// > ??> @ 0x1406cafe0
//
// 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
//
// Hidden C++ exception states: #wind=1
void GJLevelList::updateLevelsString(GJLevelList *a1)
{
int v2; // edi
std::_Vector_val>::pointer Mylast; // rsi
std::_Vector_val>::pointer i; // rbx
_BYTE *v5; // rax
size_t v6; // r8
__int128 v7; // [rsp+30h] [rbp-248h] BYREF
_BYTE v8[528]; // [rsp+40h] [rbp-238h] BYREF
fmt::BasicWriter::BasicWriter(v8);
v2 = 0;
Mylast = a1->m_levels._Mypair._Myval2._Mylast;
for ( i = a1->m_levels._Mypair._Myval2._Myfirst; i != Mylast; ++i )
{
if ( v2 )
{
v7 = (unsigned __int64)",";
fmt::BasicWriter::operator<<(v8, &v7);
}
fmt::BasicWriter::operator<<(v8, (unsigned int)*i);
++v2;
}
v5 = (_BYTE *)fmt::BasicWriter::c_str(v8);
v6 = -1;
do
++v6;
while ( v5[v6] );
sub_14003CCE0((void **)&a1->m_levelsString, v5, v6);
fmt::BasicWriter::~BasicWriter(v8);
}