//
// EditLevelLayer::create from 0x6e1b80 to 0x6e1c90 (272 bytes)
//
// 2 xrefs:
// > EditLevelLayer::scene @ 0x6e1cb4
// > ??> @ 0x54198
//
// 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
//
EditLevelLayer *EditLevelLayer::create(GJGameLevel *a1)
{
__int64 v2; // x19
v2 = operator new(0x1F8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_QWORD *)(v2 + 448) = 0;
*(_QWORD *)v2 = &off_115B990;
*(_QWORD *)(v2 + 320) = off_115BE50;
*(_QWORD *)(v2 + 328) = &off_115BEC0;
*(_QWORD *)(v2 + 336) = &off_115BED8;
*(_QWORD *)(v2 + 344) = &off_115BEF8;
*(_QWORD *)(v2 + 352) = off_115BF18;
*(_QWORD *)(v2 + 408) = off_115BF40;
*(_QWORD *)(v2 + 416) = &off_115BF88;
*(_QWORD *)(v2 + 440) = &off_115BFD8;
*(_QWORD *)(v2 + 424) = off_115BFA0;
*(_QWORD *)(v2 + 432) = &off_115BFC0;
*(_QWORD *)(v2 + 456) = 0;
*(_QWORD *)(v2 + 464) = 0;
*(_QWORD *)(v2 + 472) = 0;
*(_BYTE *)(v2 + 480) = 0;
*(_DWORD *)(v2 + 484) = 0;
*(_QWORD *)(v2 + 496) = 0;
*(_QWORD *)(v2 + 488) = &byte_124B6C8;
if ( EditLevelLayer::init((EditLevelLayer *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (EditLevelLayer *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}