//
// GJLevelList::duplicateListLevels from 0x7366e8 to 0x736750 (104 bytes)
//
// 2 xrefs:
// > LevelListLayer::cloneList @ 0xa77ce0
// > ??> @ 0xc8610
//
// 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
//
void GJLevelList::duplicateListLevels(GJLevelList *a1)
{
GJLevelList *v1; // x1
unsigned int v3; // w19
cocos2d::CCArray *ListLevelsArray; // x20
GJGameLevel *v5; // x0
bool v6; // cf
unsigned int v7; // w1
v3 = 0;
ListLevelsArray = GJLevelList::getListLevelsArray(v1, nullptr);
while ( 1 )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(ListLevelsArray);
v7 = v3++;
if ( v6 )
break;
v5 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(ListLevelsArray, v7);
GJLevelList::addLevelToList(a1, v5);
}
}