//
// SetupTeleportPopup::create from 0x54b084 to 0x54b234 (432 bytes)
//
// 2 xrefs:
// > EditorUI::editObjectSpecial @ 0x37f8a6
// > EditorUI::editObject @ 0x38005c
//
// 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
//
SetupTeleportPopup *SetupTeleportPopup::create(TeleportPortalObject *a1, cocos2d::CCArray *a2, int a3, bool a4)
{
SetupTeleportPopup *v8; // r4
SetupTeleportPopup_vtbl *v9; // r3
int *v10; // r0
v8 = (SetupTeleportPopup *)operator new(0x2ACu);
cocos2d::CCLayerColor::CCLayerColor(v8);
v8->m_buttonMenu = nullptr;
v8->m_alertProtocol = nullptr;
v8->m_scene = nullptr;
v8->m_reverseKeyBack = 0;
v8->m_mainLayer = nullptr;
v8->m_ZOrder = 0;
v8->m_noElasticity = 0;
v8->m_button1 = nullptr;
v8->m_button2 = nullptr;
v8->m_scrollingLayer = nullptr;
v8->m_controlConnected = -1;
v8->m_containsBorder = 0;
v8->m_noAction = 0;
v8->m_joystickConnected = -1;
v8->m_forcePrioRegistered = 0;
v8->m_width = 0.0;
v8->m_height = 0.0;
v8->m_gameObject = nullptr;
v8->m_gameObjects = nullptr;
v8->m_touchTriggered = 0;
v8->m_spawnTriggered = 0;
v8->m_touchToggle = nullptr;
v8->m_spawnToggle = nullptr;
v8->m_multiTriggerContainer = nullptr;
v8->m_multiTriggered = 0;
v8->m_disableTextDelegate = 0;
v8->m_valueToggles = nullptr;
v8->m_inputNodes = nullptr;
v8->m_valueControls = nullptr;
v8->m_customValueToggles = nullptr;
v8->m_disableButtons = nullptr;
v8->m_easingLabel = nullptr;
v8->m_easingRateLabel = nullptr;
v8->m_easingRateButton = nullptr;
v8->m_easingType = 0;
v8->m_easingRate = 0.0;
v8->m_inputLabels = nullptr;
v8->m_triggerValues = nullptr;
v8->m_minSliderValues = nullptr;
v8->m_maxSliderValues = nullptr;
memset(&v8->m_shouldLimitValues.m_header, 0, sizeof(v8->m_shouldLimitValues.m_header));
v8->m_easingControlScale = 1.0;
v8->m_shouldLimitValues.m_nodecount = 0;
v8->m_disableSliderDelegate = 0;
v8->m_effectObjects = 0;
v8->m_pageContainers = nullptr;
v8->m_page = 0;
v8->m_groupContainers = nullptr;
v8->m_customEasingTags = nullptr;
v8->m_customEasingLabels = nullptr;
v8->m_customEasingButtons = nullptr;
v8->m_customEasingScales = nullptr;
v8->m_disabledEasingButtons = nullptr;
v8->m_prevButton = nullptr;
v8->m_nextButton = nullptr;
v8->m_hideAll = 0;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupTeleportPopup_vtbl *)&off_A88720;
v8->m_teleportGravityToggles = nullptr;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A88A08;
v8->m_shouldLimitValues.m_header.m_left = &v8->m_shouldLimitValues.m_header;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A88A40;
v8->m_shouldLimitValues.m_header.m_right = &v8->m_shouldLimitValues.m_header;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A88A4C;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A88A5C;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A88A6C;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A88A80;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A88AC0;
v8->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A88AD0;
v8->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A88AF4;
v8->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A88B00;
if ( SetupTeleportPopup::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
}
else
{
v9 = v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v10 = (int *)v8;
v8 = nullptr;
v9->~SetupTeleportPopup_0((SetupTeleportPopup *)v10);
}
return v8;
}