// // LocalLevelManager::moveLevelToTop from 0x1005f7980 to 0x1005f7a42 (194 bytes) // // 2 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x1001fe1e4 // > EditLevelLayer::onMoveToTop @ 0x1001fe4ce // // 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 // void __fastcall LocalLevelManager::moveLevelToTop(LocalLevelManager *a1, GJGameLevel *a2) { unsigned int v2; // r15d int v3; // r12d cocos2d::CCArray *m_localLevels; // r14 int v5; // eax if ( a2 ) { if ( (unsigned __int8)sub_100720160(a1->m_localLevels, a2) ) { cocos2d::CCObject::retain(a2); sub_100720220(a1->m_localLevels, a2, 1); v2 = 0; sub_1007201F0(a1->m_localLevels, a2, 0); cocos2d::CCObject::release(a2); if ( (unsigned int)sub_100720070(a1->m_localLevels) ) { v3 = -1; do { m_localLevels = a1->m_localLevels; v5 = sub_100720070(m_localLevels); *(_DWORD *)(sub_1007200C0(m_localLevels, (unsigned int)(v5 + v3--)) + 624) = v2++; } while ( v2 < (unsigned int)sub_100720070(a1->m_localLevels) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source