// // GameLevelManager::getLocalLevelByName from 0x3bef60 to 0x3befcc (108 bytes) // // 1 xrefs: // > MapSelectLayer::init @ 0x50f9da // // 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 // int __fastcall GameLevelManager::getLocalLevelByName(int a1, int a2) { unsigned int v3; // r5 cocos2d::CCArray *m_localLevels; // r8 int v5; // r4 _BOOL4 v6; // r10 _DWORD v8[2]; // [sp+0h] [bp+0h] BYREF v8[0] = a1; v8[1] = a2; v3 = 0; m_localLevels = LocalLevelManager::sharedState()->m_localLevels; while ( 1 ) { if ( v3 >= cocos2d::CCArray::count(m_localLevels) ) return 0; v5 = cocos2d::CCArray::objectAtIndex(m_localLevels, v3); sub_775C20(v8, v5 + 280); v6 = sub_3BE0D8((int)v8, a2); sub_774008(v8); if ( v6 ) break; ++v3; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source