//
// LocalLevelManager::moveLevelToTop from 0x1001c8efc to 0x1001c8f6c (112 bytes)
//
// 1 xrefs:
// > EditLevelLayer::FLAlert_Clicked @ 0x1000ec184
//
// 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)
{
if ( a2 )
{
if ( (unsigned int)sub_10024A420(a1->m_localLevels) )
{
cocos2d::CCObject::retain(a2);
sub_10024A444(a1->m_localLevels, a2, 1);
sub_10024A428(a1->m_localLevels, a2, 0);
cocos2d::CCObject::release(a2);
LocalLevelManager::updateLevelOrder(a1);
}
}
}