// // GameLevelManager::getLocalLevel from 0x1000924e4 to 0x100092550 (108 bytes) // // 2 xrefs: // > GameLevelManager::onUploadLevelCompleted @ 0x10008a49c // > GameLevelManager::onUploadLevelCompleted @ 0x10008a4dc // // 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 *__fastcall GameLevelManager::getLocalLevel(GameLevelManager *a1, int a2) { cocos2d::CCArray *m_localLevels; // x20 __int64 v4; // x21 GJGameLevel *result; // x0 m_localLevels = LocalLevelManager::sharedState()->m_localLevels; if ( !(unsigned int)sub_10024A36C(m_localLevels) ) return nullptr; v4 = 0; while ( 1 ) { result = (GJGameLevel *)sub_10024A388(m_localLevels, v4); if ( result->m_M_ID == a2 ) break; v4 = (unsigned int)(v4 + 1); if ( (unsigned int)v4 >= (unsigned int)sub_10024A36C(m_localLevels) ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source