// // GameLevelManager::getLocalLevelList from 0x1401452b0 to 0x140145314 (100 bytes) // // 3 xrefs: // > GameLevelManager::handleIt @ 0x140143d3c // > GameLevelManager::handleIt @ 0x140143d55 // > @ 0x1406ca560 // // 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 // GJLevelList *GameLevelManager::getLocalLevelList(GameLevelManager *a1, int a2) { unsigned int v3; // ebx cocos2d::CCArray *m_localLists; // rdi GJLevelList *result; // rax v3 = 0; m_localLists = LocalLevelManager::sharedState()->m_localLists; if ( !cocos2d::CCArray::count(m_localLists) ) return nullptr; while ( 1 ) { result = (GJLevelList *)cocos2d::CCArray::objectAtIndex(m_localLists, v3); if ( result->m_M_ID == a2 ) break; if ( ++v3 >= cocos2d::CCArray::count(m_localLists) ) return nullptr; } return result; }