//
// LevelListLayer::create from 0x5919cc to 0x591b78 (428 bytes)
//
// 1 xrefs:
// > LevelListLayer::scene @ 0x591b92
//
// 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
//
LevelListLayer *LevelListLayer::create(GJLevelList *a1)
{
LevelListLayer *v2; // r4
LevelListLayer_vtbl *v3; // r3
int *v4; // r0
v2 = (LevelListLayer *)operator new(0x290u);
cocos2d::CCLayerColor::CCLayerColor(v2);
v2->m_unkFloat = 0.0;
v2->m_initialListViewY = 0.0;
v2->m_unk = 0;
v2->m_allSelected = 0;
v2->m_noInternet = nullptr;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelListLayer_vtbl *)&off_A98E38;
v2->m_list = nullptr;
v2->m_rightArrow = nullptr;
v2->m_leftArrow = nullptr;
v2->m_lastBtn = nullptr;
v2->m_cancelSearchBtn = nullptr;
v2->m_refreshBtn = nullptr;
v2->m_levels = nullptr;
v2->m_searchObject = nullptr;
v2->m_countText = nullptr;
v2->m_pageText = nullptr;
v2->m_pageBtn = nullptr;
v2->m_folderText = nullptr;
v2->m_folderBtn = nullptr;
v2->m_allObjectsToggler = nullptr;
v2->m_itemCount = 0;
v2->m_pageStartIdx = 0;
v2->m_pageEndIdx = 0;
v2->m_circle = nullptr;
v2->m_lastPage = 0;
v2->m_isOverlay = 0;
v2->m_scene = nullptr;
v2->m_zOffset = 0;
v2->m_unk2 = 0;
v2->m_listHeight = 0;
v2->m_delegate = nullptr;
v2->m_cached = 0;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A99108;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A99140;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9914C;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9915C;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9916C;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A99180;
v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A991C0;
v2->LevelBrowserLayer::LevelManagerDelegate::__vftable = (LevelManagerDelegate_vtbl *)&off_A991D0;
v2->LevelBrowserLayer::FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A991EC;
v2->LevelBrowserLayer::SetIDPopupDelegate::__vftable = (SetIDPopupDelegate_vtbl *)&off_A991F8;
v2->LevelBrowserLayer::SetTextPopupDelegate::__vftable = (SetTextPopupDelegate_vtbl *)&off_A99204;
v2->LevelBrowserLayer::TableViewCellDelegate::__vftable = (TableViewCellDelegate_vtbl *)&off_A99210;
v2->LevelBrowserLayer::ShareCommentDelegate::__vftable = (ShareCommentDelegate_vtbl *)&off_A99228;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A99234;
v2->SelectListIconDelegate::__vftable = (SelectListIconDelegate_vtbl *)&off_A99258;
v2->LevelListDeleteDelegate::__vftable = (LevelListDeleteDelegate_vtbl *)&off_A99270;
v2->LikeItemDelegate::__vftable = (LikeItemDelegate_vtbl *)&off_A99264;
v2->m_buttonMenu = nullptr;
v2->m_levelList = nullptr;
v2->m_searchKey1.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v2->m_searchKey2.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v2->m_likeButton = nullptr;
v2->m_exiting = 0;
v2->m_titleInput = nullptr;
v2->m_editMode = 0;
v2->m_objects = nullptr;
v2->m_diffSprite = nullptr;
v2->m_featureSprite = nullptr;
cocos2d::CCPoint::CCPoint(&v2->m_rewardPosition);
v2->m_exited = 0;
if ( LevelListLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->LevelBrowserLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~LevelListLayer_0((LevelListLayer *)v4);
}
return v2;
}