//
// LevelEditorLayer::create from 0x100356b30 to 0x100356ba0 (112 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::scene @ 0x100356afc
//
// 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
//
LevelEditorLayer *__fastcall LevelEditorLayer::create(GJGameLevel *a1, bool a2)
{
LevelEditorLayer *v4; // x19
v4 = (LevelEditorLayer *)operator new(0x3918u);
LevelEditorLayer::LevelEditorLayer(v4);
if ( LevelEditorLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(LevelEditorLayer *))v4->~LevelEditorLayer_0)(v4);
return nullptr;
}
return v4;
}