//
// LocalLevelManager::moveLevelToTop from 0x10025eb68 to 0x10025ebd8 (112 bytes)
//
// 1 xrefs:
// > EditLevelLayer::FLAlert_Clicked @ 0x1001122ac
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:01:37 +0000
//
__int64 __fastcall LocalLevelManager::moveLevelToTop(__int64 result, _DWORD *a2)
{
__int64 v3; // x19
if ( a2 )
{
v3 = result;
result = sub_1002E7638(*(_QWORD *)(result + 360));
if ( (_DWORD)result )
{
cocos2d::CCObject::retain((__int64)a2);
sub_1002E765C(*(_QWORD *)(v3 + 360), a2, 1);
sub_1002E7640(*(_QWORD *)(v3 + 360), a2, 0);
cocos2d::CCObject::release(a2);
return LocalLevelManager::updateLevelOrder(v3);
}
}
return result;
}