//
// LevelInfoLayer::dLevelInfoLayer from 0x1002bd020 to 0x1002bd1b1 (401 bytes)
//
// 4 xrefs:
// > sub_1002BD1C0 @ 0x1002bd1c5
// > sub_1002BD1D0 @ 0x1002bd1dc
// > sub_1002BD1F0 @ 0x1002bd1f9
// > sub_1002BD210 @ 0x1002bd223
//
// 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
//
__int64 __fastcall LevelInfoLayer::dLevelInfoLayer(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
cocos2d::CCObject *v5; // rdi
*(_QWORD *)a1 = off_100906828;
*(_QWORD *)(a1 + 320) = off_100906D08;
*(_QWORD *)(a1 + 328) = &off_100906D78;
*(_QWORD *)(a1 + 336) = off_100906D90;
*(_QWORD *)(a1 + 344) = off_100906DB0;
*(_QWORD *)(a1 + 352) = off_100906DD0;
*(_QWORD *)(a1 + 408) = off_100906DF8;
*(_QWORD *)(a1 + 416) = off_100906E18;
*(_QWORD *)(a1 + 424) = &off_100906E38;
*(_QWORD *)(a1 + 432) = &off_100906E50;
*(_QWORD *)(a1 + 440) = &off_100906E68;
*(_QWORD *)(a1 + 448) = off_100906E80;
*(_QWORD *)(a1 + 456) = &off_100906EA0;
*(_QWORD *)(a1 + 464) = &off_100906EB8;
*(_QWORD *)(a1 + 472) = off_100906ED0;
v2 = *(cocos2d::CCObject **)(a1 + 496);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 632);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(cocos2d::CCObject **)(a1 + 504);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(cocos2d::CCObject **)(a1 + 664);
if ( v5 )
cocos2d::CCObject::release(v5);
if ( GameLevelManager::sharedState()->m_levelDownloadDelegate
&& GameLevelManager::sharedState()->m_levelDownloadDelegate == (LevelDownloadDelegate *)(a1 + 408) )
{
GameLevelManager::sharedState()->m_levelDownloadDelegate = nullptr;
}
if ( GameLevelManager::sharedState()->m_levelUpdateDelegate
&& GameLevelManager::sharedState()->m_levelUpdateDelegate == (LevelUpdateDelegate *)(a1 + 416) )
{
GameLevelManager::sharedState()->m_levelUpdateDelegate = nullptr;
}
return cocos2d::CCLayer::dCCLayer(a1);
}