//
// SetupArtSwitchPopup::create from 0x100410cf0 to 0x100410dcc (220 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1003e4de8
//
// 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
//
SetupArtSwitchPopup *__fastcall SetupArtSwitchPopup::create(ArtTriggerGameObject *a1, cocos2d::CCArray *a2, int a3)
{
SetupArtSwitchPopup *v6; // x19
v6 = (SetupArtSwitchPopup *)operator new(0x3C8u);
SetupTriggerPopup::SetupTriggerPopup(v6);
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupArtSwitchPopup_vtbl *)&off_10081CB28;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10081D100;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10081D170;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10081D188;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10081D1A8;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10081D1C8;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10081D1F0;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_10081D270;
v6->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_10081D290;
v6->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_10081D2D8;
v6->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_10081D2F0;
v6->SelectArtDelegate::__vftable = (SelectArtDelegate_vtbl *)&off_10081D310;
v6->m_artType = Background;
v6->m_artSprite = nullptr;
if ( SetupArtSwitchPopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(SetupArtSwitchPopup *))v6->~SetupArtSwitchPopup_0)(v6);
return nullptr;
}
return v6;
}