//
// LevelEditorLayer::create from 0x1000dae60 to 0x1000daebb (91 bytes)
//
// 1 xrefs:
// > MapSelectLayer::init @ 0x1002684d4
//
// 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 *v2; // rbx
v2 = (LevelEditorLayer *)operator new(0x38E8u);
LevelEditorLayer::LevelEditorLayer(v2);
if ( LevelEditorLayer::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(LevelEditorLayer *))v2->~LevelEditorLayer_0)(v2);
return nullptr;
}
return v2;
}