//
// GJLevelList::duplicateListLevels from 0x3d7d58 to 0x3d7d88 (48 bytes)
//
// 1 xrefs:
// > LevelListLayer::cloneList @ 0x591cfc
//
// 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; // r1
unsigned int v3; // r4
cocos2d::CCArray *ListLevelsArray; // r5
GJGameLevel *v5; // r0
v3 = 0;
ListLevelsArray = GJLevelList::getListLevelsArray(v1, nullptr);
while ( v3 < cocos2d::CCArray::count(ListLevelsArray) )
{
v5 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(ListLevelsArray, v3++);
GJLevelList::addLevelToList(a1, v5);
}
}