//
// SetupSFXPopup::create from 0x140447120 to 0x140447262 (322 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x14011d269
// > ??> @ 0x1406da634
//
// 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
SetupSFXPopup *SetupSFXPopup::create(SFXTriggerGameObject *a1, cocos2d::CCArray *a2)
{
SetupSFXPopup *v4; // rsi
v4 = (SetupSFXPopup *)operator new(0x3D8u);
sub_140444F80(v4);
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSFXPopup_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SetupAudioTriggerPopup::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->CustomSFXDelegate::__vftable = (CustomSFXDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->SFXBrowserDelegate::__vftable = (SFXBrowserDelegate_vtbl *)&SetupSFXPopup::`vftable';
v4->m_sfxID = 0;
v4->m_sfxWidget = nullptr;
if ( SetupSFXPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
((void (__fastcall *)(SetupSFXPopup *, __int64))v4->~SetupSFXPopup)(v4, 1);
return nullptr;
}
}