//
// EditLevelLayer::create from 0x3b7918 to 0x3b79dc (196 bytes)
//
// 1 xrefs:
// > EditLevelLayer::scene @ 0x3b79f6
//
// 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)
{
EditLevelLayer *v2; // r4
EditLevelLayer_vtbl *v3; // r3
int *v4; // r0
v2 = (EditLevelLayer *)operator new(0x170u);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EditLevelLayer_vtbl *)&off_A4EEA0;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A4F100;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A4F138;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4F144;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4F154;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4F164;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A4F178;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A4F19C;
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A4F1A8;
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A4F1B8;
v2->SetIDPopupDelegate::__vftable = (SetIDPopupDelegate_vtbl *)&off_A4F1C4;
v2->m_buttonMenu = nullptr;
v2->m_level = nullptr;
v2->m_textInputs = nullptr;
v2->m_folderLabel = nullptr;
v2->m_exiting = 0;
v2->m_levelType = 0;
v2->m_levelName.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v2->m_descriptionPopup = nullptr;
if ( EditLevelLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~EditLevelLayer_0((EditLevelLayer *)v4);
}
return v2;
}