//
// GJLevelList::duplicateListLevels from 0x100561f80 to 0x100561fe1 (97 bytes)
//
// 1 xrefs:
// > LevelListLayer::cloneList @ 0x100360089
//
// 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 __fastcall GJLevelList::duplicateListLevels(GJLevelList *a1)
{
GJLevelList *v1; // rsi
unsigned int v2; // r14d
cocos2d::CCArray *ListLevelsArray; // r15
GJGameLevel *v4; // rax
v2 = 0;
ListLevelsArray = GJLevelList::getListLevelsArray(v1, nullptr);
if ( (unsigned int)sub_100720070(ListLevelsArray) )
{
do
{
v4 = (GJGameLevel *)sub_1007200C0(ListLevelsArray, v2);
GJLevelList::addLevelToList(a1, v4);
++v2;
}
while ( v2 < (unsigned int)sub_100720070(ListLevelsArray) );
}
}