//
// LocalLevelManager::moveLevelToBottom from 0x5426cc to 0x54270c (64 bytes)
//
// 1 xrefs:
// > EditLevelLayer::onMoveToBottom @ 0x49f590
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:20 +0000
//
unsigned int __fastcall LocalLevelManager::moveLevelToBottom(unsigned int this, GJGameLevel *a2)
{
cocos2d::CCArray **v2; // r4
v2 = (cocos2d::CCArray **)this;
if ( a2 )
{
this = cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(this + 284), a2);
if ( this )
{
cocos2d::CCObject::retain(a2);
cocos2d::CCArray::removeObject(v2[71], a2, 1);
cocos2d::CCArray::addObject(v2[71], a2);
cocos2d::CCObject::release(a2);
return LocalLevelManager::updateLevelOrder((LocalLevelManager *)v2);
}
}
return this;
}