//
// SetupObjectTogglePopup::create from 0x4bbc50 to 0x4bbdf4 (420 bytes)
//
// 2 xrefs:
// > EditorUI::editObjectSpecial @ 0x37f8e4
// > EditorUI::editObject @ 0x380626
//
// 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
//
SetupObjectTogglePopup *SetupObjectTogglePopup::create(EffectGameObject *a1, cocos2d::CCArray *a2, bool a3)
{
SetupObjectTogglePopup *v6; // r4
SetupObjectTogglePopup_vtbl *v7; // r3
int *v8; // r0
v6 = (SetupObjectTogglePopup *)operator new(0x2A8u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_buttonMenu = nullptr;
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_controlConnected = -1;
v6->m_containsBorder = 0;
v6->m_noAction = 0;
v6->m_joystickConnected = -1;
v6->m_forcePrioRegistered = 0;
v6->m_width = 0.0;
v6->m_height = 0.0;
v6->m_gameObject = nullptr;
v6->m_gameObjects = nullptr;
v6->m_touchTriggered = 0;
v6->m_spawnTriggered = 0;
v6->m_touchToggle = nullptr;
v6->m_spawnToggle = nullptr;
v6->m_multiTriggerContainer = nullptr;
v6->m_multiTriggered = 0;
v6->m_disableTextDelegate = 0;
v6->m_valueToggles = nullptr;
v6->m_inputNodes = nullptr;
v6->m_valueControls = nullptr;
v6->m_customValueToggles = nullptr;
v6->m_disableButtons = nullptr;
v6->m_easingLabel = nullptr;
v6->m_easingRateLabel = nullptr;
v6->m_easingRateButton = nullptr;
v6->m_easingType = 0;
v6->m_easingRate = 0.0;
v6->m_inputLabels = nullptr;
v6->m_triggerValues = nullptr;
v6->m_minSliderValues = nullptr;
v6->m_maxSliderValues = nullptr;
memset(&v6->m_shouldLimitValues.m_header, 0, sizeof(v6->m_shouldLimitValues.m_header));
v6->m_easingControlScale = 1.0;
v6->m_shouldLimitValues.m_nodecount = 0;
v6->m_disableSliderDelegate = 0;
v6->m_effectObjects = 0;
v6->m_pageContainers = nullptr;
v6->m_page = 0;
v6->m_groupContainers = nullptr;
v6->m_customEasingTags = nullptr;
v6->m_customEasingLabels = nullptr;
v6->m_customEasingButtons = nullptr;
v6->m_customEasingScales = nullptr;
v6->m_disabledEasingButtons = nullptr;
v6->m_prevButton = nullptr;
v6->m_nextButton = nullptr;
v6->m_hideAll = 0;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupObjectTogglePopup_vtbl *)&off_A72BF8;
v6->m_shouldLimitValues.m_header.m_left = &v6->m_shouldLimitValues.m_header;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A72EE0;
v6->m_shouldLimitValues.m_header.m_right = &v6->m_shouldLimitValues.m_header;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A72F18;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A72F24;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A72F34;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A72F44;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A72F58;
v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A72F98;
v6->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A72FA8;
v6->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A72FCC;
v6->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A72FD8;
if ( SetupObjectTogglePopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
v7 = v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = (int *)v6;
v6 = nullptr;
v7->~SetupObjectTogglePopup_0((SetupObjectTogglePopup *)v8);
}
return v6;
}