{"type": "func", "start": 5373288320, "end": 5373288627, "name": "SetupSpawnPopup::create", "pseudocode": "// \n// SetupSpawnPopup::create from 0x14045df80 to 0x14045e0b3 (307 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011cf82\n// > <???> @ 0x1406dace8\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\nSetupSpawnPopup *SetupSpawnPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupSpawnPopup *v4; // rsi\n\n  v4 = (SetupSpawnPopup *)operator new(0x3D8u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSpawnPopup_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupSpawnPopup::`vftable';\n  v4->m_isBusy = 0;\n  v4->m_remapGroups._Mypair._Myval2._Myfirst = nullptr;\n  v4->m_remapGroups._Mypair._Myval2._Mylast = nullptr;\n  v4->m_remapGroups._Mypair._Myval2._Myend = nullptr;\n  *(_QWORD *)&v4->m_remapOriginalID = 0;\n  if ( SetupSpawnPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupSpawnPopup *, __int64))v4->~SetupSpawnPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupSpawnPopup::create from 0x14045df80 to 0x14045e0b3 (307 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011cf82\n; > <???> @ 0x1406dace8\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, 0x14045df80\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14045df85\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14045df8a\npush    rdi                                                            ; +0xf, 0x14045df8f\nsub     rsp, 20h                                                       ; +0x10, 0x14045df90\nmov     rbx, rdx                                                       ; +0x14, 0x14045df94\nmov     rdi, rcx                                                       ; +0x17, 0x14045df97\nmov     ecx, 3D8h; Size                                                ; +0x1a, 0x14045df9a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x14045df9f\nmov     rsi, rax                                                       ; +0x24, 0x14045dfa4\nmov     [rsp+28h+arg_10], rax                                          ; +0x27, 0x14045dfa7\nmov     rcx, rax                                                       ; +0x2c, 0x14045dfac\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2f, 0x14045dfaf\nlea     rax, ??_7SetupSpawnPopup@@6B@; const SetupSpawnPopup::`vftable' ; +0x34, 0x14045dfb4\nmov     [rsi], rax                                                     ; +0x3b, 0x14045dfbb\nlea     rax, ??_7SetupSpawnPopup@@6B@_0; const SetupSpawnPopup::`vftable' ; +0x3e, 0x14045dfbe\nmov     [rsi+140h], rax                                                ; +0x45, 0x14045dfc5\nlea     rax, ??_7SetupSpawnPopup@@6B@_1; const SetupSpawnPopup::`vftable' ; +0x4c, 0x14045dfcc\nmov     [rsi+148h], rax                                                ; +0x53, 0x14045dfd3\nlea     rax, ??_7SetupSpawnPopup@@6B@_2; const SetupSpawnPopup::`vftable' ; +0x5a, 0x14045dfda\nmov     [rsi+150h], rax                                                ; +0x61, 0x14045dfe1\nlea     rax, ??_7SetupSpawnPopup@@6B@_3; const SetupSpawnPopup::`vftable' ; +0x68, 0x14045dfe8\nmov     [rsi+158h], rax                                                ; +0x6f, 0x14045dfef\nlea     rax, ??_7SetupSpawnPopup@@6B@_4; const SetupSpawnPopup::`vftable' ; +0x76, 0x14045dff6\nmov     [rsi+160h], rax                                                ; +0x7d, 0x14045dffd\nlea     rax, ??_7SetupSpawnPopup@@6B@_5; const SetupSpawnPopup::`vftable' ; +0x84, 0x14045e004\nmov     [rsi+198h], rax                                                ; +0x8b, 0x14045e00b\nlea     rax, ??_7SetupSpawnPopup@@6B@_6; const SetupSpawnPopup::`vftable' ; +0x92, 0x14045e012\nmov     [rsi+1B0h], rax                                                ; +0x99, 0x14045e019\nlea     rax, ??_7SetupSpawnPopup@@6B@_7; const SetupSpawnPopup::`vftable' ; +0xa0, 0x14045e020\nmov     [rsi+278h], rax                                                ; +0xa7, 0x14045e027\nlea     rax, ??_7SetupSpawnPopup@@6B@_8; const SetupSpawnPopup::`vftable' ; +0xae, 0x14045e02e\nmov     [rsi+280h], rax                                                ; +0xb5, 0x14045e035\nlea     rax, ??_7SetupSpawnPopup@@6B@_9; const SetupSpawnPopup::`vftable' ; +0xbc, 0x14045e03c\nmov     [rsi+288h], rax                                                ; +0xc3, 0x14045e043\nmov     byte ptr [rsi+3A8h], 0                                         ; +0xca, 0x14045e04a\nxor     ebp, ebp                                                       ; +0xd1, 0x14045e051\nmov     [rsi+3B8h], rbp                                                ; +0xd3, 0x14045e053\nmov     [rsi+3C0h], rbp                                                ; +0xda, 0x14045e05a\nmov     [rsi+3C8h], rbp                                                ; +0xe1, 0x14045e061\nmov     [rsi+3D0h], rbp                                                ; +0xe8, 0x14045e068\nmov     r8, rbx                                                        ; +0xef, 0x14045e06f\nmov     rdx, rdi                                                       ; +0xf2, 0x14045e072\nmov     rcx, rsi                                                       ; +0xf5, 0x14045e075\ncall    SetupSpawnPopup__init                                          ; +0xf8, 0x14045e078\nmov     rcx, rsi                                                       ; +0xfd, 0x14045e07d\ntest    al, al                                                         ; +0x100, 0x14045e080\njz      short loc_14045E08F                                            ; +0x102, 0x14045e082\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x104, 0x14045e084\nmov     rax, rsi                                                       ; +0x10a, 0x14045e08a\njmp     short loc_14045E09E                                            ; +0x10d, 0x14045e08d\nmov     r8, [rsi]                                                      ; +0x10f, 0x14045e08f\nmov     edx, 1                                                         ; +0x112, 0x14045e092\ncall    qword ptr [r8+8]                                               ; +0x117, 0x14045e097\nmov     rax, rbp                                                       ; +0x11b, 0x14045e09b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11e, 0x14045e09e\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x123, 0x14045e0a3\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x128, 0x14045e0a8\nadd     rsp, 20h                                                       ; +0x12d, 0x14045e0ad\npop     rdi                                                            ; +0x131, 0x14045e0b1\nretn                                                                   ; +0x132, 0x14045e0b2", "xrefs": ["EditorUI::editObject @ 0x14011cf82", "<???> @ 0x1406dace8"], "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"}