//
// SetupTeleportPopup::create from 0x10000b254 to 0x10000b334 (224 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x1003e4c2c
// > EditorUI::editObjectSpecial @ 0x1003f5764
//
// 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 *__fastcall SetupTeleportPopup::create(
TeleportPortalObject *a1,
cocos2d::CCArray *a2,
int a3,
bool a4)
{
SetupTeleportPopup *v8; // x19
v8 = (SetupTeleportPopup *)operator new(0x3B8u);
SetupTriggerPopup::SetupTriggerPopup(v8);
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupTeleportPopup_vtbl *)off_100762528;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100762AF8;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100762B68;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100762B80;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100762BA0;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100762BC0;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100762BE8;
v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100762C68;
v8->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_100762C88;
v8->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_100762CD0;
v8->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_100762CE8;
v8->m_teleportGravityToggles = nullptr;
if ( SetupTeleportPopup::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
}
else
{
((void (__fastcall *)(SetupTeleportPopup *))v8->~SetupTeleportPopup_0)(v8);
return nullptr;
}
return v8;
}