//
// SetupRandTriggerPopup::create from 0x14043f9f0 to 0x14043fb29 (313 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x14011d7ff
// > ??> @ 0x1406da2ec
//
// 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
//
// Hidden C++ exception states: #wind=1
SetupRandTriggerPopup *SetupRandTriggerPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)
{
SetupRandTriggerPopup *v4; // rsi
v4 = (SetupRandTriggerPopup *)operator new(0x3D8u);
SetupTriggerPopup::SetupTriggerPopup(v4);
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupRandTriggerPopup_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupRandTriggerPopup::`vftable';
v4->m_chanceInput = nullptr;
v4->m_chanceSlider = nullptr;
v4->m_chancePercent = 0.0;
v4->m_groupID1Input = nullptr;
v4->m_groupID2Input = nullptr;
*(_QWORD *)&v4->m_groupID1 = 0;
if ( SetupRandTriggerPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
((void (__fastcall *)(SetupRandTriggerPopup *, __int64))v4->~SetupRandTriggerPopup)(v4, 1);
return nullptr;
}
}