{"type": "func", "start": 5373203472, "end": 5373203750, "name": "SetupSFXEditPopup::create", "pseudocode": "// \n// SetupSFXEditPopup::create from 0x140449410 to 0x140449526 (278 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d2a5\n// > <???> @ 0x1406da6dc\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\nSetupSFXEditPopup *SetupSFXEditPopup::create(SFXTriggerGameObject *a1, cocos2d::CCArray *a2, bool a3)\n{\n  SetupSFXEditPopup *v6; // r14\n\n  v6 = (SetupSFXEditPopup *)operator new(0x3B0u);\n  sub_140444F80(v6);\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSFXEditPopup_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  v6->SetupAudioTriggerPopup::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupSFXEditPopup::`vftable';\n  if ( SetupSFXEditPopup::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n    return v6;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupSFXEditPopup *, __int64))v6->~SetupSFXEditPopup)(v6, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupSFXEditPopup::create from 0x140449410 to 0x140449526 (278 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d2a5\n; > <???> @ 0x1406da6dc\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, 0x140449410\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140449415\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x14044941a\npush    r14                                                            ; +0xf, 0x14044941f\nsub     rsp, 20h                                                       ; +0x11, 0x140449421\nmovzx   ebx, r8b                                                       ; +0x15, 0x140449425\nmov     rdi, rdx                                                       ; +0x19, 0x140449429\nmov     rsi, rcx                                                       ; +0x1c, 0x14044942c\nmov     ecx, 3B0h; Size                                                ; +0x1f, 0x14044942f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x24, 0x140449434\nmov     r14, rax                                                       ; +0x29, 0x140449439\nmov     [rsp+28h+arg_18], rax                                          ; +0x2c, 0x14044943c\nmov     rcx, rax                                                       ; +0x31, 0x140449441\ncall    sub_140444F80                                                  ; +0x34, 0x140449444\nlea     rax, ??_7SetupSFXEditPopup@@6B@; const SetupSFXEditPopup::`vftable' ; +0x39, 0x140449449\nmov     [r14], rax                                                     ; +0x40, 0x140449450\nlea     rax, ??_7SetupSFXEditPopup@@6B@_0; const SetupSFXEditPopup::`vftable' ; +0x43, 0x140449453\nmov     [r14+140h], rax                                                ; +0x4a, 0x14044945a\nlea     rax, ??_7SetupSFXEditPopup@@6B@_1; const SetupSFXEditPopup::`vftable' ; +0x51, 0x140449461\nmov     [r14+148h], rax                                                ; +0x58, 0x140449468\nlea     rax, ??_7SetupSFXEditPopup@@6B@_2; const SetupSFXEditPopup::`vftable' ; +0x5f, 0x14044946f\nmov     [r14+150h], rax                                                ; +0x66, 0x140449476\nlea     rax, ??_7SetupSFXEditPopup@@6B@_3; const SetupSFXEditPopup::`vftable' ; +0x6d, 0x14044947d\nmov     [r14+158h], rax                                                ; +0x74, 0x140449484\nlea     rax, ??_7SetupSFXEditPopup@@6B@_4; const SetupSFXEditPopup::`vftable' ; +0x7b, 0x14044948b\nmov     [r14+160h], rax                                                ; +0x82, 0x140449492\nlea     rax, ??_7SetupSFXEditPopup@@6B@_5; const SetupSFXEditPopup::`vftable' ; +0x89, 0x140449499\nmov     [r14+198h], rax                                                ; +0x90, 0x1404494a0\nlea     rax, ??_7SetupSFXEditPopup@@6B@_6; const SetupSFXEditPopup::`vftable' ; +0x97, 0x1404494a7\nmov     [r14+1B0h], rax                                                ; +0x9e, 0x1404494ae\nlea     rax, ??_7SetupSFXEditPopup@@6B@_7; const SetupSFXEditPopup::`vftable' ; +0xa5, 0x1404494b5\nmov     [r14+278h], rax                                                ; +0xac, 0x1404494bc\nlea     rax, ??_7SetupSFXEditPopup@@6B@_8; const SetupSFXEditPopup::`vftable' ; +0xb3, 0x1404494c3\nmov     [r14+280h], rax                                                ; +0xba, 0x1404494ca\nlea     rax, ??_7SetupSFXEditPopup@@6B@_9; const SetupSFXEditPopup::`vftable' ; +0xc1, 0x1404494d1\nmov     [r14+288h], rax                                                ; +0xc8, 0x1404494d8\nmovzx   r9d, bl                                                        ; +0xcf, 0x1404494df\nmov     r8, rdi                                                        ; +0xd3, 0x1404494e3\nmov     rdx, rsi                                                       ; +0xd6, 0x1404494e6\nmov     rcx, r14                                                       ; +0xd9, 0x1404494e9\ncall    SetupSFXEditPopup__init                                        ; +0xdc, 0x1404494ec\nmov     rcx, r14                                                       ; +0xe1, 0x1404494f1\ntest    al, al                                                         ; +0xe4, 0x1404494f4\njz      short loc_140449503                                            ; +0xe6, 0x1404494f6\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe8, 0x1404494f8\nmov     rax, r14                                                       ; +0xee, 0x1404494fe\njmp     short loc_140449510                                            ; +0xf1, 0x140449501\nmov     rax, [r14]                                                     ; +0xf3, 0x140449503\nmov     edx, 1                                                         ; +0xf6, 0x140449506\ncall    qword ptr [rax+8]                                              ; +0xfb, 0x14044950b\nxor     eax, eax                                                       ; +0xfe, 0x14044950e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x100, 0x140449510\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x105, 0x140449515\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x10a, 0x14044951a\nadd     rsp, 20h                                                       ; +0x10f, 0x14044951f\npop     r14                                                            ; +0x113, 0x140449523\nretn                                                                   ; +0x115, 0x140449525", "xrefs": ["EditorUI::editObject @ 0x14011d2a5", "<???> @ 0x1406da6dc"], "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"}