//
// LevelSearchLayer::create from 0x6d302c to 0x6d3120 (244 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::scene @ 0x6d3144
// > ??> @ 0xa42e0
//
// 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
//
LevelSearchLayer *LevelSearchLayer::create(int a1)
{
LevelSearchLayer *v2; // x19
v2 = (LevelSearchLayer *)operator new(0x1F0u);
cocos2d::CCLayer::CCLayer(v2);
v2->m_type = 0;
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelSearchLayer_vtbl *)&off_1159CB0;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_115A158;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_115A1C8;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_115A1E0;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_115A200;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_115A220;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_115A248;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_115A290;
v2->DemonFilterDelegate::__vftable = (DemonFilterDelegate_vtbl *)&off_115A2A8;
v2->m_searchInput = nullptr;
v2->m_starsSprite = nullptr;
v2->m_difficultySprites = nullptr;
v2->m_lengthSprites = nullptr;
v2->m_difficultyDict = nullptr;
v2->m_lastDifficultySprite = nullptr;
v2->m_demonTypeButton = nullptr;
if ( LevelSearchLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~LevelSearchLayer_0(v2);
return nullptr;
}
}