// // LocalLevelManager::getCreatedLevels from 0x1005f7b70 to 0x1005f7bf7 (135 bytes) // // 1 xrefs: // > LevelBrowserLayer::loadPage @ 0x10048e5c6 // // 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 // // local variable allocation has failed, the output may be wrong! cocos2d::CCArray *__fastcall LocalLevelManager::getCreatedLevels(LocalLevelManager *a1, int a2) { cocos2d::CCArray *v3; // rbx cocos2d::CCArray *m_localLevels; // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // r15 unsigned __int64 v7; // r12 cocos2d::CCObject *v8; // rsi if ( a2 <= 0 ) return a1->m_localLevels; v3 = (cocos2d::CCArray *)sub_10071F9E0(a1, *(_QWORD *)&a2); m_localLevels = a1->m_localLevels; if ( m_localLevels ) { data = m_localLevels->data; if ( data->num ) { arr = data->arr; v7 = (unsigned __int64)&arr[data->num - 1]; do { v8 = *arr; if ( !*arr ) break; if ( v8[14].m_nTag == a2 ) sub_10071FCD0(v3, v8); ++arr; } while ( (unsigned __int64)arr <= v7 ); } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source