//
// SetupOptionsTriggerPopup::create from 0x5408a4 to 0x540a58 (436 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x380026
//
// 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
//
SetupOptionsTriggerPopup *SetupOptionsTriggerPopup::create(GameOptionsTrigger *a1, cocos2d::CCArray *a2)
{
SetupOptionsTriggerPopup *v4; // r4
SetupOptionsTriggerPopup_vtbl *v5; // r3
int *v6; // r0
v4 = (SetupOptionsTriggerPopup *)operator new(0x2B4u);
cocos2d::CCLayerColor::CCLayerColor(v4);
v4->m_controlConnected = -1;
v4->m_joystickConnected = -1;
v4->m_buttonMenu = nullptr;
v4->m_width = 0.0;
v4->m_height = 0.0;
v4->m_alertProtocol = nullptr;
v4->m_scene = nullptr;
v4->m_reverseKeyBack = 0;
v4->m_mainLayer = nullptr;
v4->m_ZOrder = 0;
v4->m_noElasticity = 0;
v4->m_button1 = nullptr;
v4->m_button2 = nullptr;
v4->m_scrollingLayer = nullptr;
v4->m_containsBorder = 0;
v4->m_noAction = 0;
v4->m_forcePrioRegistered = 0;
v4->m_gameObject = nullptr;
v4->m_gameObjects = nullptr;
v4->m_touchTriggered = 0;
v4->m_spawnTriggered = 0;
v4->m_touchToggle = nullptr;
v4->m_spawnToggle = nullptr;
v4->m_multiTriggerContainer = nullptr;
v4->m_multiTriggered = 0;
v4->m_disableTextDelegate = 0;
v4->m_valueToggles = nullptr;
v4->m_inputNodes = nullptr;
v4->m_valueControls = nullptr;
v4->m_customValueToggles = nullptr;
v4->m_disableButtons = nullptr;
v4->m_easingLabel = nullptr;
v4->m_easingRateLabel = nullptr;
v4->m_easingRateButton = nullptr;
v4->m_easingRate = 0.0;
v4->m_easingType = 0;
v4->m_inputLabels = nullptr;
v4->m_triggerValues = nullptr;
v4->m_minSliderValues = nullptr;
v4->m_maxSliderValues = nullptr;
memset(&v4->m_shouldLimitValues.m_header, 0, sizeof(v4->m_shouldLimitValues.m_header));
v4->m_easingControlScale = 1.0;
v4->m_shouldLimitValues.m_nodecount = 0;
v4->m_shouldLimitValues.m_header.m_left = &v4->m_shouldLimitValues.m_header;
v4->m_shouldLimitValues.m_header.m_right = &v4->m_shouldLimitValues.m_header;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupOptionsTriggerPopup_vtbl *)&off_A87308;
v4->m_disableSliderDelegate = 0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A875F0;
v4->m_effectObjects = 0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A87628;
v4->m_pageContainers = nullptr;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A87634;
v4->m_page = 0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A87644;
v4->m_groupContainers = nullptr;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A87654;
v4->m_customEasingTags = nullptr;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A87668;
v4->m_customEasingLabels = nullptr;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A876A8;
v4->m_customEasingButtons = nullptr;
v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A876B8;
v4->m_customEasingScales = nullptr;
v4->m_disabledEasingButtons = nullptr;
v4->m_prevButton = nullptr;
v4->m_nextButton = nullptr;
v4->m_hideAll = 0;
v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A876DC;
v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A876E8;
cocos2d::CCPoint::CCPoint(&v4->m_togglePosition);
v4->m_togglePage = 0;
if ( SetupOptionsTriggerPopup::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 = (int *)v4;
v4 = nullptr;
v5->~SetupOptionsTriggerPopup_0((SetupOptionsTriggerPopup *)v6);
}
return v4;
}