//
// SetupObjectOptions2Popup::create from 0x50d1c4 to 0x50d324 (352 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::onExtra2 @ 0x50d334
//
// 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
//
SetupObjectOptions2Popup *SetupObjectOptions2Popup::create(GameObject *a1, cocos2d::CCArray *a2)
{
SetupObjectOptions2Popup *v4; // r4
SetupObjectOptions2Popup_vtbl *v5; // r3
int *v6; // r0
v4 = (SetupObjectOptions2Popup *)operator new(0x2A8u);
FLAlertLayer::FLAlertLayer(v4);
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_width = 0.0;
v4->m_height = 0.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_easingType = 0;
v4->m_easingRate = 0.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_disableSliderDelegate = 0;
v4->m_effectObjects = 0;
v4->m_pageContainers = nullptr;
v4->m_page = 0;
v4->m_groupContainers = nullptr;
v4->m_customEasingTags = nullptr;
v4->m_customEasingLabels = nullptr;
v4->m_customEasingButtons = nullptr;
v4->m_customEasingScales = nullptr;
v4->m_disabledEasingButtons = nullptr;
v4->m_prevButton = nullptr;
v4->m_nextButton = nullptr;
v4->m_hideAll = 0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupObjectOptions2Popup_vtbl *)&off_A82870;
v4->m_shouldLimitValues.m_header.m_left = &v4->m_shouldLimitValues.m_header;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A82B58;
v4->m_shouldLimitValues.m_header.m_right = &v4->m_shouldLimitValues.m_header;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A82B90;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A82B9C;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A82BAC;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A82BBC;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A82BD0;
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A82C10;
v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A82C20;
v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A82C44;
v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A82C50;
if ( SetupObjectOptions2Popup::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->~SetupObjectOptions2Popup_0((SetupObjectOptions2Popup *)v6);
}
return v4;
}