// // GameLevelManager::getLocalLevel from 0x6f0818 to 0x6f087c (100 bytes) // // 3 xrefs: // > GameLevelManager::onUploadLevelCompleted @ 0x7019f4 // > GameLevelManager::onUploadLevelCompleted @ 0x701a68 // > @ 0xaf128 // // 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 // GJGameLevel *GameLevelManager::getLocalLevel(GameLevelManager *a1, int a2) { unsigned int v2; // w19 cocos2d::CCArray *m_localLevels; // x20 GJGameLevel *result; // x0 bool v6; // cf unsigned int v7; // w1 v2 = 0; m_localLevels = LocalLevelManager::sharedState()->m_localLevels; while ( 1 ) { v6 = v2 >= (unsigned int)cocos2d::CCArray::count(m_localLevels); v7 = v2++; if ( v6 ) break; result = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(m_localLevels, v7); if ( result->m_M_ID == a2 ) return result; } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source