//
// SetupTeleportPopup::create from 0x140460830 to 0x140460962 (306 bytes)
//
// 3 xrefs:
// > EditorUI::editObject @ 0x14011c726
// > EditorUI::editObjectSpecial @ 0x14011e87e
// > ??> @ 0x1406dae08
//
// 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
SetupTeleportPopup *SetupTeleportPopup::create(TeleportPortalObject *a1, cocos2d::CCArray *a2, int a3, bool a4)
{
SetupTeleportPopup *v8; // r14
v8 = (SetupTeleportPopup *)operator new(0x3B0u);
SetupTriggerPopup::SetupTriggerPopup(v8);
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupTeleportPopup_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupTeleportPopup::`vftable';
v8->m_teleportGravityToggles = nullptr;
if ( SetupTeleportPopup::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
else
{
((void (__fastcall *)(SetupTeleportPopup *, __int64))v8->~SetupTeleportPopup)(v8, 1);
return nullptr;
}
}