// // LocalLevelManager::getCreatedLists from 0x1001c91e0 to 0x1001c926c (140 bytes) // // 1 xrefs: // > LevelBrowserLayer::loadPage @ 0x100417160 // // 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 // cocos2d::CCArray *__fastcall LocalLevelManager::getCreatedLists(LocalLevelManager *a1, int a2) { cocos2d::CCArray *v4; // x19 cocos2d::CCArray *m_localLists; // x8 cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x21 unsigned __int64 v9; // x22 cocos2d::CCObject *v10; // x1 if ( a2 <= 0 ) return a1->m_localLists; v4 = (cocos2d::CCArray *)sub_10024A15C(a1); m_localLists = a1->m_localLists; if ( m_localLists ) { data = m_localLists->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v9 = (unsigned __int64)&arr[num - 1]; do { v10 = *arr; if ( !*arr ) break; if ( v10[6].m_uIndexInArray == a2 ) sub_10024A2D0(v4, v10); ++arr; } while ( (unsigned __int64)arr <= v9 ); } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source