//
// LevelInfoLayer::create from 0x1402f7110 to 0x1402f7338 (552 bytes)
//
// 3 xrefs:
// > GameManager::returnToLastScene @ 0x14018a0e0
// > LevelInfoLayer::scene @ 0x1402f70e8
// > ??> @ 0x1406d40c4
//
// 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
//
// Hidden C++ exception states: #wind=2
LevelInfoLayer *LevelInfoLayer::create(GJGameLevel *a1, bool a2)
{
LevelInfoLayer *v4; // rsi
v4 = (LevelInfoLayer *)operator new(0x2D8u);
cocos2d::CCLayer::CCLayer(v4);
v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelInfoLayer_vtbl *)&LevelInfoLayer::`vftable';
v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->LevelDownloadDelegate::__vftable = (LevelDownloadDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->LevelUpdateDelegate::__vftable = (LevelUpdateDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->RateLevelDelegate::__vftable = (RateLevelDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->LikeItemDelegate::__vftable = (LikeItemDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&LevelInfoLayer::`vftable';
v4->LevelDeleteDelegate::__vftable = (LevelDeleteDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->NumberInputDelegate::__vftable = (NumberInputDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->SetIDPopupDelegate::__vftable = (SetIDPopupDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->TableViewCellDelegate::__vftable = (TableViewCellDelegate_vtbl *)&LevelInfoLayer::`vftable';
v4->m_isBusy = 0;
v4->m_playBtnMenu = nullptr;
v4->m_level = nullptr;
v4->m_coins = nullptr;
v4->m_likeBtn = nullptr;
v4->m_starRateBtn = nullptr;
v4->m_demonRateBtn = nullptr;
v4->m_unk2 = nullptr;
v4->m_lengthLabel = nullptr;
v4->m_exactLengthLabel = nullptr;
v4->m_downloadsLabel = nullptr;
v4->m_likesLabel = nullptr;
v4->m_folderLabel = nullptr;
v4->m_cloneBtn = nullptr;
v4->m_unk3 = nullptr;
v4->m_likesIcon = nullptr;
v4->m_orbsIcon = nullptr;
v4->m_levelType = 0;
*(_WORD *)&v4->m_noUpdateAlert = 0;
v4->m_circle = nullptr;
v4->m_difficultySprite = nullptr;
v4->m_starsIcon = nullptr;
v4->m_starsLabel = nullptr;
v4->m_icons = nullptr;
v4->m_iconOffset = 0.0;
cocos2d::CCPoint::CCPoint(&v4->m_basePosition);
v4->m_challenge = 0;
v4->m_playScene = nullptr;
v4->m_playSprite = nullptr;
v4->m_progressTimer = nullptr;
v4->m_songWidget = nullptr;
if ( LevelInfoLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
((void (__fastcall *)(LevelInfoLayer *, __int64))v4->~LevelInfoLayer)(v4, 1);
return nullptr;
}
}