//
// SetLevelOrderPopup::create from 0xa788ac to 0xa78a04 (344 bytes)
//
// 2 xrefs:
// > LevelListLayer::cellPerformedAction @ 0xa78b94
// > ??> @ 0x3fae0
//
// 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
//
SetLevelOrderPopup *SetLevelOrderPopup::create(int a1, int a2, int a3)
{
SetLevelOrderPopup *v6; // x19
v6 = (SetLevelOrderPopup *)operator new(0x2B0u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_buttonMenu = nullptr;
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
v6->m_maximum = 1000;
v6->m_alertProtocol = nullptr;
v6->m_scene = nullptr;
v6->m_reverseKeyBack = 0;
v6->m_mainLayer = nullptr;
v6->m_ZOrder = 0;
v6->m_noElasticity = 0;
v6->m_button1 = nullptr;
v6->m_button2 = nullptr;
v6->m_scrollingLayer = nullptr;
v6->m_containsBorder = 0;
v6->m_noAction = 0;
v6->m_forcePrioRegistered = 0;
v6->m_inputNode = nullptr;
v6->m_value = 0;
v6->m_disableDelegate = 0;
v6->m_cancelled = 0;
v6->m_minimum = 0;
v6->m_default = 0;
v6->m_delegate = nullptr;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetLevelOrderPopup_vtbl *)&off_11EEF10;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11EF448;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11EF4B8;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11EF4D0;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11EF4F0;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11EF510;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11EF538;
v6->SetIDPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11EF5B8;
v6->SetIDPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_11EF5D8;
v6->m_levelID = 0;
if ( SetLevelOrderPopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~SetLevelOrderPopup_0(v6);
return nullptr;
}
}