//
// EditLevelLayer::create from 0x1000e8cec to 0x1000e8db0 (196 bytes)
//
// 1 xrefs:
// > EditLevelLayer::scene @ 0x1000e8cc4
//
// 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 *__fastcall EditLevelLayer::create(GJGameLevel *a1)
{
char *v2; // x19
v2 = (char *)operator new(0x208u);
cocos2d::CCLayer::CCLayer(v2);
*(_QWORD *)v2 = off_100782018;
*((_QWORD *)v2 + 40) = off_1007824D8;
*((_QWORD *)v2 + 41) = &off_100782548;
*((_QWORD *)v2 + 42) = off_100782560;
*((_QWORD *)v2 + 43) = off_100782580;
*((_QWORD *)v2 + 44) = off_1007825A0;
*((_QWORD *)v2 + 51) = &off_1007825C8;
*((_QWORD *)v2 + 52) = &off_100782610;
*((_QWORD *)v2 + 53) = off_100782628;
*((_QWORD *)v2 + 54) = &off_100782648;
*((_QWORD *)v2 + 55) = &off_100782660;
*((_OWORD *)v2 + 28) = 0u;
*((_OWORD *)v2 + 29) = 0u;
v2[480] = 0;
*((_DWORD *)v2 + 129) = 0;
*(_OWORD *)(v2 + 484) = 0u;
*(_OWORD *)(v2 + 500) = 0u;
if ( EditLevelLayer::init((EditLevelLayer *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (EditLevelLayer *)v2;
}