{"type": "func", "start": 5373194528, "end": 5373194850, "name": "SetupSFXPopup::create", "pseudocode": "// \n// SetupSFXPopup::create from 0x140447120 to 0x140447262 (322 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d269\n// > <???> @ 0x1406da634\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\nSetupSFXPopup *SetupSFXPopup::create(SFXTriggerGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupSFXPopup *v4; // rsi\n\n  v4 = (SetupSFXPopup *)operator new(0x3D8u);\n  sub_140444F80(v4);\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSFXPopup_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->CustomSFXDelegate::__vftable = (CustomSFXDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->SFXBrowserDelegate::__vftable = (SFXBrowserDelegate_vtbl *)&SetupSFXPopup::`vftable';\n  v4->m_sfxID = 0;\n  v4->m_sfxWidget = nullptr;\n  if ( SetupSFXPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupSFXPopup *, __int64))v4->~SetupSFXPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupSFXPopup::create from 0x140447120 to 0x140447262 (322 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d269\n; > <???> @ 0x1406da634\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, 0x140447120\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140447125\npush    rdi                                                            ; +0xa, 0x14044712a\nsub     rsp, 20h                                                       ; +0xb, 0x14044712b\nmov     rbx, rdx                                                       ; +0xf, 0x14044712f\nmov     rdi, rcx                                                       ; +0x12, 0x140447132\nmov     ecx, 3D8h; Size                                                ; +0x15, 0x140447135\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14044713a\nmov     rsi, rax                                                       ; +0x1f, 0x14044713f\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x140447142\nmov     rcx, rax                                                       ; +0x27, 0x140447147\ncall    sub_140444F80                                                  ; +0x2a, 0x14044714a\nlea     rax, ??_7SetupSFXPopup@@6B@; const SetupSFXPopup::`vftable'    ; +0x2f, 0x14044714f\nmov     [rsi], rax                                                     ; +0x36, 0x140447156\nlea     rax, ??_7SetupSFXPopup@@6B@_0; const SetupSFXPopup::`vftable'  ; +0x39, 0x140447159\nmov     [rsi+140h], rax                                                ; +0x40, 0x140447160\nlea     rax, ??_7SetupSFXPopup@@6B@_1; const SetupSFXPopup::`vftable'  ; +0x47, 0x140447167\nmov     [rsi+148h], rax                                                ; +0x4e, 0x14044716e\nlea     rax, ??_7SetupSFXPopup@@6B@_2; const SetupSFXPopup::`vftable'  ; +0x55, 0x140447175\nmov     [rsi+150h], rax                                                ; +0x5c, 0x14044717c\nlea     rax, ??_7SetupSFXPopup@@6B@_3; const SetupSFXPopup::`vftable'  ; +0x63, 0x140447183\nmov     [rsi+158h], rax                                                ; +0x6a, 0x14044718a\nlea     rax, ??_7SetupSFXPopup@@6B@_4; const SetupSFXPopup::`vftable'  ; +0x71, 0x140447191\nmov     [rsi+160h], rax                                                ; +0x78, 0x140447198\nlea     rax, ??_7SetupSFXPopup@@6B@_5; const SetupSFXPopup::`vftable'  ; +0x7f, 0x14044719f\nmov     [rsi+198h], rax                                                ; +0x86, 0x1404471a6\nlea     rax, ??_7SetupSFXPopup@@6B@_6; const SetupSFXPopup::`vftable'  ; +0x8d, 0x1404471ad\nmov     [rsi+1B0h], rax                                                ; +0x94, 0x1404471b4\nlea     rax, ??_7SetupSFXPopup@@6B@_7; const SetupSFXPopup::`vftable'  ; +0x9b, 0x1404471bb\nmov     [rsi+278h], rax                                                ; +0xa2, 0x1404471c2\nlea     rax, ??_7SetupSFXPopup@@6B@_8; const SetupSFXPopup::`vftable'  ; +0xa9, 0x1404471c9\nmov     [rsi+280h], rax                                                ; +0xb0, 0x1404471d0\nlea     rax, ??_7SetupSFXPopup@@6B@_9; const SetupSFXPopup::`vftable'  ; +0xb7, 0x1404471d7\nmov     [rsi+288h], rax                                                ; +0xbe, 0x1404471de\nlea     rax, ??_7SetupSFXPopup@@6B@_10; const SetupSFXPopup::`vftable' ; +0xc5, 0x1404471e5\nmov     [rsi+3B0h], rax                                                ; +0xcc, 0x1404471ec\nlea     rax, ??_7SetupSFXPopup@@6B@_11; const SetupSFXPopup::`vftable' ; +0xd3, 0x1404471f3\nmov     [rsi+3B8h], rax                                                ; +0xda, 0x1404471fa\nmov     dword ptr [rsi+3C0h], 0                                        ; +0xe1, 0x140447201\nmov     qword ptr [rsi+3C8h], 0                                        ; +0xeb, 0x14044720b\nmov     r8, rbx                                                        ; +0xf6, 0x140447216\nmov     rdx, rdi                                                       ; +0xf9, 0x140447219\nmov     rcx, rsi; int                                                  ; +0xfc, 0x14044721c\ncall    SetupSFXPopup__init                                            ; +0xff, 0x14044721f\nmov     rcx, rsi                                                       ; +0x104, 0x140447224\ntest    al, al                                                         ; +0x107, 0x140447227\njz      short loc_140447244                                            ; +0x109, 0x140447229\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x10b, 0x14044722b\nmov     rax, rsi                                                       ; +0x111, 0x140447231\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x114, 0x140447234\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x119, 0x140447239\nadd     rsp, 20h                                                       ; +0x11e, 0x14044723e\npop     rdi                                                            ; +0x122, 0x140447242\nretn                                                                   ; +0x123, 0x140447243\nmov     r8, [rsi]                                                      ; +0x124, 0x140447244\nmov     edx, 1                                                         ; +0x127, 0x140447247\ncall    qword ptr [r8+8]                                               ; +0x12c, 0x14044724c\nxor     eax, eax                                                       ; +0x130, 0x140447250\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x132, 0x140447252\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x137, 0x140447257\nadd     rsp, 20h                                                       ; +0x13c, 0x14044725c\npop     rdi                                                            ; +0x140, 0x140447260\nretn                                                                   ; +0x141, 0x140447261", "xrefs": ["EditorUI::editObject @ 0x14011d269", "<???> @ 0x1406da634"], "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"}