//
// LocalLevelManager::firstLoad from 0x4329f0 to 0x432a3a (74 bytes)
//
// 0 xrefs:
//
// 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 LocalLevelManager::firstLoad(LocalLevelManager *a1)
{
cocos2d::CCArray *m_localLevels; // r0
cocos2d::CCArray *v3; // r5
cocos2d::CCArray *v4; // r0
cocos2d::CCArray *v5; // r5
cocos2d::CCArray *m_localLists; // r0
m_localLevels = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
v3 = m_localLevels;
if ( a1->m_localLevels != m_localLevels )
{
if ( m_localLevels )
cocos2d::CCObject::retain(m_localLevels);
m_localLevels = a1->m_localLevels;
if ( m_localLevels )
cocos2d::CCObject::release(m_localLevels);
a1->m_localLevels = v3;
}
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(m_localLevels);
v5 = v4;
if ( a1->m_localLists != v4 )
{
if ( v4 )
cocos2d::CCObject::retain(v4);
m_localLists = a1->m_localLists;
if ( m_localLists )
cocos2d::CCObject::release(m_localLists);
a1->m_localLists = v5;
}
}