//
// SetupAdvFollowPopup::create from 0x561310 to 0x5613b6 (166 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x3802c2
// > SetupAdvFollowPopup::updateMode @ 0x5613fe
//
// 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
//
SetupAdvFollowPopup *SetupAdvFollowPopup::create(AdvancedFollowTriggerObject *a1, cocos2d::CCArray *a2)
{
SetupAdvFollowPopup *v4; // r4
SetupAdvFollowPopup_vtbl *v5; // r3
SetupAdvFollowPopup *v6; // r0
v4 = (SetupAdvFollowPopup *)operator new(0x2ACu);
SetupTriggerPopup::SetupTriggerPopup(v4);
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupAdvFollowPopup_vtbl *)&off_A8BDE0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A8C0CC;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A8C104;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A8C110;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A8C120;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A8C130;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A8C144;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A8C184;
v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A8C194;
v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A8C1B8;
v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A8C1C4;
v4->SelectPremadeDelegate::__vftable = (SelectPremadeDelegate_vtbl *)&off_A8C1D4;
if ( SetupAdvFollowPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = v4;
v4 = nullptr;
v5->~SetupAdvFollowPopup_0(v6);
}
return v4;
}