//
// SetupCameraEdgePopup::create from 0x140412b60 to 0x140412c85 (293 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x14011d88a
// > ??> @ 0x1406d8d44
//
// 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
//
SetupCameraEdgePopup *SetupCameraEdgePopup::create(CameraTriggerGameObject *a1, cocos2d::CCArray *a2)
{
SetupCameraEdgePopup *v4; // rsi
v4 = (SetupCameraEdgePopup *)operator new(0x3C0u);
SetupTriggerPopup::SetupTriggerPopup(v4);
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupCameraEdgePopup_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';
v4->m_targetIDInput = nullptr;
*(_QWORD *)&v4->m_targetID = 0;
v4->m_directionToggles = nullptr;
if ( SetupCameraEdgePopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
((void (__fastcall *)(SetupCameraEdgePopup *, __int64))v4->~SetupCameraEdgePopup)(v4, 1);
return nullptr;
}
}