{"type": "func", "start": 5373282320, "end": 5373282632, "name": "SetupSongTriggerPopup::create", "pseudocode": "// \n// SetupSongTriggerPopup::create from 0x14045c810 to 0x14045c948 (312 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d23d\n// > <???> @ 0x1406dac7c\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\nSetupSongTriggerPopup *SetupSongTriggerPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupSongTriggerPopup *v4; // rsi\n\n  v4 = (SetupSongTriggerPopup *)operator new(0x3C8u);\n  sub_140444F80(v4);\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSongTriggerPopup_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SetupAudioTriggerPopup::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->MusicDownloadDelegate::__vftable = (MusicDownloadDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->SongPlaybackDelegate::__vftable = (SongPlaybackDelegate_vtbl *)&SetupSongTriggerPopup::`vftable';\n  v4->m_selectNode = nullptr;\n  if ( SetupSongTriggerPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupSongTriggerPopup *, __int64))v4->~SetupSongTriggerPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupSongTriggerPopup::create from 0x14045c810 to 0x14045c948 (312 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d23d\n; > <???> @ 0x1406dac7c\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, 0x14045c810\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14045c815\npush    rdi                                                            ; +0xa, 0x14045c81a\nsub     rsp, 20h                                                       ; +0xb, 0x14045c81b\nmov     rbx, rdx                                                       ; +0xf, 0x14045c81f\nmov     rdi, rcx                                                       ; +0x12, 0x14045c822\nmov     ecx, 3C8h; Size                                                ; +0x15, 0x14045c825\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14045c82a\nmov     rsi, rax                                                       ; +0x1f, 0x14045c82f\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x14045c832\nmov     rcx, rax                                                       ; +0x27, 0x14045c837\ncall    sub_140444F80                                                  ; +0x2a, 0x14045c83a\nlea     rax, ??_7SetupSongTriggerPopup@@6B@; const SetupSongTriggerPopup::`vftable' ; +0x2f, 0x14045c83f\nmov     [rsi], rax                                                     ; +0x36, 0x14045c846\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_0; const SetupSongTriggerPopup::`vftable' ; +0x39, 0x14045c849\nmov     [rsi+140h], rax                                                ; +0x40, 0x14045c850\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_1; const SetupSongTriggerPopup::`vftable' ; +0x47, 0x14045c857\nmov     [rsi+148h], rax                                                ; +0x4e, 0x14045c85e\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_2; const SetupSongTriggerPopup::`vftable' ; +0x55, 0x14045c865\nmov     [rsi+150h], rax                                                ; +0x5c, 0x14045c86c\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_3; const SetupSongTriggerPopup::`vftable' ; +0x63, 0x14045c873\nmov     [rsi+158h], rax                                                ; +0x6a, 0x14045c87a\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_4; const SetupSongTriggerPopup::`vftable' ; +0x71, 0x14045c881\nmov     [rsi+160h], rax                                                ; +0x78, 0x14045c888\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_5; const SetupSongTriggerPopup::`vftable' ; +0x7f, 0x14045c88f\nmov     [rsi+198h], rax                                                ; +0x86, 0x14045c896\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_6; const SetupSongTriggerPopup::`vftable' ; +0x8d, 0x14045c89d\nmov     [rsi+1B0h], rax                                                ; +0x94, 0x14045c8a4\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_7; const SetupSongTriggerPopup::`vftable' ; +0x9b, 0x14045c8ab\nmov     [rsi+278h], rax                                                ; +0xa2, 0x14045c8b2\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_8; const SetupSongTriggerPopup::`vftable' ; +0xa9, 0x14045c8b9\nmov     [rsi+280h], rax                                                ; +0xb0, 0x14045c8c0\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_9; const SetupSongTriggerPopup::`vftable' ; +0xb7, 0x14045c8c7\nmov     [rsi+288h], rax                                                ; +0xbe, 0x14045c8ce\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_10; const SetupSongTriggerPopup::`vftable' ; +0xc5, 0x14045c8d5\nmov     [rsi+3B0h], rax                                                ; +0xcc, 0x14045c8dc\nlea     rax, ??_7SetupSongTriggerPopup@@6B@_11; const SetupSongTriggerPopup::`vftable' ; +0xd3, 0x14045c8e3\nmov     [rsi+3B8h], rax                                                ; +0xda, 0x14045c8ea\nmov     qword ptr [rsi+3C0h], 0                                        ; +0xe1, 0x14045c8f1\nmov     r8, rbx                                                        ; +0xec, 0x14045c8fc\nmov     rdx, rdi                                                       ; +0xef, 0x14045c8ff\nmov     rcx, rsi                                                       ; +0xf2, 0x14045c902\ncall    SetupSongTriggerPopup__init                                    ; +0xf5, 0x14045c905\nmov     rcx, rsi                                                       ; +0xfa, 0x14045c90a\ntest    al, al                                                         ; +0xfd, 0x14045c90d\njz      short loc_14045C92A                                            ; +0xff, 0x14045c90f\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x101, 0x14045c911\nmov     rax, rsi                                                       ; +0x107, 0x14045c917\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x10a, 0x14045c91a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x10f, 0x14045c91f\nadd     rsp, 20h                                                       ; +0x114, 0x14045c924\npop     rdi                                                            ; +0x118, 0x14045c928\nretn                                                                   ; +0x119, 0x14045c929\nmov     r8, [rsi]                                                      ; +0x11a, 0x14045c92a\nmov     edx, 1                                                         ; +0x11d, 0x14045c92d\ncall    qword ptr [r8+8]                                               ; +0x122, 0x14045c932\nxor     eax, eax                                                       ; +0x126, 0x14045c936\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x128, 0x14045c938\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x12d, 0x14045c93d\nadd     rsp, 20h                                                       ; +0x132, 0x14045c942\npop     rdi                                                            ; +0x136, 0x14045c946\nretn                                                                   ; +0x137, 0x14045c947", "xrefs": ["EditorUI::editObject @ 0x14011d23d", "<???> @ 0x1406dac7c"], "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"}