//
// LevelPage::create from 0x79dad8 to 0x79dbc8 (240 bytes)
//
// 2 xrefs:
// > LevelSelectLayer::init @ 0x79dfdc
// > ??> @ 0x33cc0
//
// 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
//
LevelPage *LevelPage::create(GJGameLevel *a1)
{
LevelPage *v2; // x19
v2 = (LevelPage *)operator new(0x240u);
cocos2d::CCLayer::CCLayer(v2);
v2->m_isBusy = 0;
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelPage_vtbl *)&off_117AC20;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_117B0A8;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_117B118;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_117B130;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_117B150;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_117B170;
v2->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_117B198;
v2->m_level = nullptr;
v2->m_levelMenu = nullptr;
cocos2d::CCSize::CCSize(&v2->m_levelDisplaySize);
v2->m_coinObject = nullptr;
v2->m_secretDoor = nullptr;
if ( LevelPage::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~LevelPage_0(v2);
return nullptr;
}
}