// // GJLevelList::duplicateListLevels from 0x857844 to 0x8578ac (104 bytes) // // 2 xrefs: // > LevelListLayer::cloneList @ 0xbb0dac // > @ 0x1048f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:55:30 +0000 // cocos2d::CCArray *__fastcall GJLevelList::duplicateListLevels(GJLevelList *this, GJLevelList *a2) { unsigned int v3; // w19 cocos2d::CCArray *ListLevelsArray; // x20 GJGameLevel *v5; // x0 bool v6; // cf unsigned int v7; // w1 cocos2d::CCArray *result; // x0 v3 = 0; ListLevelsArray = GJLevelList::getListLevelsArray(a2, nullptr); while ( 1 ) { v6 = v3 >= (unsigned int)cocos2d::CCArray::count(ListLevelsArray); v7 = v3; result = ListLevelsArray; ++v3; if ( v6 ) break; v5 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(ListLevelsArray, v7); GJLevelList::addLevelToList(this, v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source