//
// LocalLevelManager::firstLoad from 0x140330910 to 0x14033099a (138 bytes)
//
// 3 xrefs:
// > ??> @ 0x1405aa688
// > ??> @ 0x1406d5024
// > ??> @ 0x1406d5030
//
// 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 *v2; // rax
cocos2d::CCArray *m_localLevels; // rcx
cocos2d::CCArray *v4; // rdi
cocos2d::CCArray *v5; // rax
cocos2d::CCArray *v6; // rdi
cocos2d::CCArray *m_localLists; // rcx
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1);
v4 = v2;
if ( a1->m_localLevels != v2 )
{
if ( v2 )
cocos2d::CCObject::retain(v2);
m_localLevels = a1->m_localLevels;
if ( m_localLevels )
cocos2d::CCObject::release(m_localLevels);
a1->m_localLevels = v4;
}
v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(m_localLevels);
v6 = v5;
if ( a1->m_localLists != v5 )
{
if ( v5 )
cocos2d::CCObject::retain(v5);
m_localLists = a1->m_localLists;
if ( m_localLists )
cocos2d::CCObject::release(m_localLists);
a1->m_localLists = v6;
}
}