// // GameLevelManager::getLocalLevel from 0x10052c520 to 0x10052c584 (100 bytes) // // 0 xrefs: // // 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; // r15 GJGameLevel *v3; // r14 unsigned int v4; // r12d GJGameLevel *v5; // rax m_localLevels = LocalLevelManager::sharedState()->m_localLevels; v3 = nullptr; if ( (unsigned int)sub_100720070(m_localLevels) ) { v4 = 0; while ( 1 ) { v5 = (GJGameLevel *)sub_1007200C0(m_localLevels, v4); if ( v5->m_M_ID == a2 ) break; if ( ++v4 >= (unsigned int)sub_100720070(m_localLevels) ) return v3; } return v5; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source