// // GameLevelManager::getSavedLevelLists from 0x7ff7a4 to 0x7ff868 (196 bytes) // // 4 xrefs: // > LevelBrowserLayer::loadPage @ 0x7f8f9c // > LevelBrowserLayer::FLAlert_Clicked @ 0x7fc7ac // > LevelPickerPopup::savedIndex @ 0xc73294 // > @ 0xd7de8 // // 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:54:43 +0000 // cocos2d::CCArray *__fastcall GameLevelManager::getSavedLevelLists(GameLevelManager *this, int a2) { cocos2d::CCArray *v4; // x21 __int64 v5; // x0 __int64 v6; // x1 __int64 v7; // x19 cocos2d::CCArray *v8; // x0 cocos2d::CCObject *v9; // x1 __int64 v10; // x1 v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(this); v5 = *((_QWORD *)this + 98); if ( v5 ) { v6 = *(_QWORD *)(v5 + 56); if ( v6 ) { v7 = *(_QWORD *)(v6 + 288); v8 = v4; v9 = *(cocos2d::CCObject **)(v6 + 264); if ( a2 <= 0 ) goto LABEL_7; LABEL_4: if ( a2 == *((_DWORD *)v9 + 92) ) { LABEL_7: while ( 1 ) { cocos2d::CCArray::addObject(v8, v9); if ( !v7 ) break; LABEL_6: v10 = v7; v7 = *(_QWORD *)(v7 + 288); v8 = v4; v9 = *(cocos2d::CCObject **)(v10 + 264); if ( a2 > 0 ) goto LABEL_4; } } else if ( v7 ) { goto LABEL_6; } } } if ( (unsigned int)cocos2d::CCArray::count(v4) ) qsort( *(void **)(*((_QWORD *)v4 + 7) + 16LL), **((unsigned int **)v4 + 7), 8u, (int (*)(const void *, const void *))savedListCompare); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source