{"type": "func", "start": 5373298736, "end": 5373299042, "name": "SetupTeleportPopup::create", "pseudocode": "// \n// SetupTeleportPopup::create from 0x140460830 to 0x140460962 (306 bytes)\n// \n// 3 xrefs:\n// > EditorUI::editObject @ 0x14011c726\n// > EditorUI::editObjectSpecial @ 0x14011e87e\n// > <???> @ 0x1406dae08\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nSetupTeleportPopup *SetupTeleportPopup::create(TeleportPortalObject *a1, cocos2d::CCArray *a2, int a3, bool a4)\n{\n  SetupTeleportPopup *v8; // r14\n\n  v8 = (SetupTeleportPopup *)operator new(0x3B0u);\n  SetupTriggerPopup::SetupTriggerPopup(v8);\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupTeleportPopup_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupTeleportPopup::`vftable';\n  v8->m_teleportGravityToggles = nullptr;\n  if ( SetupTeleportPopup::init(v8, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease(v8);\n    return v8;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupTeleportPopup *, __int64))v8->~SetupTeleportPopup)(v8, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupTeleportPopup::create from 0x140460830 to 0x140460962 (306 bytes)\n; \n; 3 xrefs:\n; > EditorUI::editObject @ 0x14011c726\n; > EditorUI::editObjectSpecial @ 0x14011e87e\n; > <???> @ 0x1406dae08\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140460830\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140460835\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14046083a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x14046083f\npush    r14                                                            ; +0x14, 0x140460844\nsub     rsp, 40h                                                       ; +0x16, 0x140460846\nmovzx   ebx, r9b                                                       ; +0x1a, 0x14046084a\nmov     edi, r8d                                                       ; +0x1e, 0x14046084e\nmov     rsi, rdx                                                       ; +0x21, 0x140460851\nmov     rbp, rcx                                                       ; +0x24, 0x140460854\nmov     ecx, 3B0h; Size                                                ; +0x27, 0x140460857\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x14046085c\nmov     r14, rax                                                       ; +0x31, 0x140460861\nmov     [rsp+48h+var_18], rax                                          ; +0x34, 0x140460864\nmov     rcx, rax                                                       ; +0x39, 0x140460869\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x3c, 0x14046086c\nlea     rax, ??_7SetupTeleportPopup@@6B@; const SetupTeleportPopup::`vftable' ; +0x41, 0x140460871\nmov     [r14], rax                                                     ; +0x48, 0x140460878\nlea     rax, ??_7SetupTeleportPopup@@6B@_0; const SetupTeleportPopup::`vftable' ; +0x4b, 0x14046087b\nmov     [r14+140h], rax                                                ; +0x52, 0x140460882\nlea     rax, ??_7SetupTeleportPopup@@6B@_1; const SetupTeleportPopup::`vftable' ; +0x59, 0x140460889\nmov     [r14+148h], rax                                                ; +0x60, 0x140460890\nlea     rax, ??_7SetupTeleportPopup@@6B@_2; const SetupTeleportPopup::`vftable' ; +0x67, 0x140460897\nmov     [r14+150h], rax                                                ; +0x6e, 0x14046089e\nlea     rax, ??_7SetupTeleportPopup@@6B@_3; const SetupTeleportPopup::`vftable' ; +0x75, 0x1404608a5\nmov     [r14+158h], rax                                                ; +0x7c, 0x1404608ac\nlea     rax, ??_7SetupTeleportPopup@@6B@_4; const SetupTeleportPopup::`vftable' ; +0x83, 0x1404608b3\nmov     [r14+160h], rax                                                ; +0x8a, 0x1404608ba\nlea     rax, ??_7SetupTeleportPopup@@6B@_5; const SetupTeleportPopup::`vftable' ; +0x91, 0x1404608c1\nmov     [r14+198h], rax                                                ; +0x98, 0x1404608c8\nlea     rax, ??_7SetupTeleportPopup@@6B@_6; const SetupTeleportPopup::`vftable' ; +0x9f, 0x1404608cf\nmov     [r14+1B0h], rax                                                ; +0xa6, 0x1404608d6\nlea     rax, ??_7SetupTeleportPopup@@6B@_7; const SetupTeleportPopup::`vftable' ; +0xad, 0x1404608dd\nmov     [r14+278h], rax                                                ; +0xb4, 0x1404608e4\nlea     rax, ??_7SetupTeleportPopup@@6B@_8; const SetupTeleportPopup::`vftable' ; +0xbb, 0x1404608eb\nmov     [r14+280h], rax                                                ; +0xc2, 0x1404608f2\nlea     rax, ??_7SetupTeleportPopup@@6B@_9; const SetupTeleportPopup::`vftable' ; +0xc9, 0x1404608f9\nmov     [r14+288h], rax                                                ; +0xd0, 0x140460900\nmov     qword ptr [r14+3A8h], 0                                        ; +0xd7, 0x140460907\nmov     [rsp+48h+var_28], bl                                           ; +0xe2, 0x140460912\nmov     r9d, edi                                                       ; +0xe6, 0x140460916\nmov     r8, rsi                                                        ; +0xe9, 0x140460919\nmov     rdx, rbp                                                       ; +0xec, 0x14046091c\nmov     rcx, r14                                                       ; +0xef, 0x14046091f\ncall    SetupTeleportPopup__init                                       ; +0xf2, 0x140460922\nmov     rcx, r14                                                       ; +0xf7, 0x140460927\ntest    al, al                                                         ; +0xfa, 0x14046092a\njz      short loc_140460939                                            ; +0xfc, 0x14046092c\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfe, 0x14046092e\nmov     rax, r14                                                       ; +0x104, 0x140460934\njmp     short loc_140460947                                            ; +0x107, 0x140460937\nmov     r8, [r14]                                                      ; +0x109, 0x140460939\nmov     edx, 1                                                         ; +0x10c, 0x14046093c\ncall    qword ptr [r8+8]                                               ; +0x111, 0x140460941\nxor     eax, eax                                                       ; +0x115, 0x140460945\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x117, 0x140460947\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x11c, 0x14046094c\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x121, 0x140460951\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x126, 0x140460956\nadd     rsp, 40h                                                       ; +0x12b, 0x14046095b\npop     r14                                                            ; +0x12f, 0x14046095f\nretn                                                                   ; +0x131, 0x140460961", "xrefs": ["EditorUI::editObject @ 0x14011c726", "EditorUI::editObjectSpecial @ 0x14011e87e", "<???> @ 0x1406dae08"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}