//
// EditLevelLayer::dEditLevelLayer from 0x1000e8ba8 to 0x1000e8c64 (188 bytes)
//
// 4 xrefs:
// > j_EditLevelLayer::dEditLevelLayer @ 0x1000e8c68
// > sub_1000E8C6C @ 0x1000e8c70
// > sub_1000E8C74 @ 0x1000e8c7c
// > sub_1000E8C88 @ 0x1000e8c94
//
// 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 EditLevelLayer::dEditLevelLayer(__int64 a1)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
__int64 v4; // x8
*(_QWORD *)a1 = off_100782018;
*(_QWORD *)(a1 + 320) = off_1007824D8;
*(_QWORD *)(a1 + 328) = &off_100782548;
*(_QWORD *)(a1 + 336) = off_100782560;
*(_QWORD *)(a1 + 344) = off_100782580;
*(_QWORD *)(a1 + 352) = off_1007825A0;
*(_QWORD *)(a1 + 408) = &off_1007825C8;
*(_QWORD *)(a1 + 416) = &off_100782610;
*(_QWORD *)(a1 + 424) = off_100782628;
*(_QWORD *)(a1 + 432) = &off_100782648;
*(_QWORD *)(a1 + 440) = &off_100782660;
v2 = *(cocos2d::CCObject **)(a1 + 464);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 456);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(_QWORD *)(a1 + 512);
if ( v4 )
*(_QWORD *)(v4 + 632) = 0;
if ( GameLevelManager::sharedState()->m_uploadActionDelegate == (UploadActionDelegate *)(a1 + 424) )
GameLevelManager::sharedState()->m_uploadActionDelegate = nullptr;
if ( *(char *)(a1 + 511) < 0 )
operator delete(*(void **)(a1 + 488));
return cocos2d::CCLayer::dCCLayer(a1);
}