{"type": "func", "start": 5372939312, "end": 5372939605, "name": "SetupAnimationPopup::create", "pseudocode": "// \n// SetupAnimationPopup::create from 0x140408c30 to 0x140408d55 (293 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d026\n// > <???> @ 0x1406d89fc\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\nSetupAnimationPopup *SetupAnimationPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupAnimationPopup *v4; // rsi\n\n  v4 = (SetupAnimationPopup *)operator new(0x3C0u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupAnimationPopup_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupAnimationPopup::`vftable';\n  v4->m_targetIDInput = nullptr;\n  v4->m_animationIDInput = nullptr;\n  *(_QWORD *)&v4->m_targetID = 0;\n  if ( SetupAnimationPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupAnimationPopup *, __int64))v4->~SetupAnimationPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupAnimationPopup::create from 0x140408c30 to 0x140408d55 (293 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d026\n; > <???> @ 0x1406d89fc\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, 0x140408c30\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140408c35\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x140408c3a\npush    rdi                                                            ; +0xf, 0x140408c3f\nsub     rsp, 20h                                                       ; +0x10, 0x140408c40\nmov     rbx, rdx                                                       ; +0x14, 0x140408c44\nmov     rdi, rcx                                                       ; +0x17, 0x140408c47\nmov     ecx, 3C0h; Size                                                ; +0x1a, 0x140408c4a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x140408c4f\nmov     rsi, rax                                                       ; +0x24, 0x140408c54\nmov     [rsp+28h+arg_10], rax                                          ; +0x27, 0x140408c57\nmov     rcx, rax                                                       ; +0x2c, 0x140408c5c\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2f, 0x140408c5f\nlea     rax, ??_7SetupAnimationPopup@@6B@; const SetupAnimationPopup::`vftable' ; +0x34, 0x140408c64\nmov     [rsi], rax                                                     ; +0x3b, 0x140408c6b\nlea     rax, ??_7SetupAnimationPopup@@6B@_0; const SetupAnimationPopup::`vftable' ; +0x3e, 0x140408c6e\nmov     [rsi+140h], rax                                                ; +0x45, 0x140408c75\nlea     rax, ??_7SetupAnimationPopup@@6B@_1; const SetupAnimationPopup::`vftable' ; +0x4c, 0x140408c7c\nmov     [rsi+148h], rax                                                ; +0x53, 0x140408c83\nlea     rax, ??_7SetupAnimationPopup@@6B@_2; const SetupAnimationPopup::`vftable' ; +0x5a, 0x140408c8a\nmov     [rsi+150h], rax                                                ; +0x61, 0x140408c91\nlea     rax, ??_7SetupAnimationPopup@@6B@_3; const SetupAnimationPopup::`vftable' ; +0x68, 0x140408c98\nmov     [rsi+158h], rax                                                ; +0x6f, 0x140408c9f\nlea     rax, ??_7SetupAnimationPopup@@6B@_4; const SetupAnimationPopup::`vftable' ; +0x76, 0x140408ca6\nmov     [rsi+160h], rax                                                ; +0x7d, 0x140408cad\nlea     rax, ??_7SetupAnimationPopup@@6B@_5; const SetupAnimationPopup::`vftable' ; +0x84, 0x140408cb4\nmov     [rsi+198h], rax                                                ; +0x8b, 0x140408cbb\nlea     rax, ??_7SetupAnimationPopup@@6B@_6; const SetupAnimationPopup::`vftable' ; +0x92, 0x140408cc2\nmov     [rsi+1B0h], rax                                                ; +0x99, 0x140408cc9\nlea     rax, ??_7SetupAnimationPopup@@6B@_7; const SetupAnimationPopup::`vftable' ; +0xa0, 0x140408cd0\nmov     [rsi+278h], rax                                                ; +0xa7, 0x140408cd7\nlea     rax, ??_7SetupAnimationPopup@@6B@_8; const SetupAnimationPopup::`vftable' ; +0xae, 0x140408cde\nmov     [rsi+280h], rax                                                ; +0xb5, 0x140408ce5\nlea     rax, ??_7SetupAnimationPopup@@6B@_9; const SetupAnimationPopup::`vftable' ; +0xbc, 0x140408cec\nmov     [rsi+288h], rax                                                ; +0xc3, 0x140408cf3\nxor     ebp, ebp                                                       ; +0xca, 0x140408cfa\nmov     [rsi+3A8h], rbp                                                ; +0xcc, 0x140408cfc\nmov     [rsi+3B0h], rbp                                                ; +0xd3, 0x140408d03\nmov     [rsi+3B8h], rbp                                                ; +0xda, 0x140408d0a\nmov     r8, rbx                                                        ; +0xe1, 0x140408d11\nmov     rdx, rdi                                                       ; +0xe4, 0x140408d14\nmov     rcx, rsi                                                       ; +0xe7, 0x140408d17\ncall    SetupAnimationPopup__init                                      ; +0xea, 0x140408d1a\nmov     rcx, rsi                                                       ; +0xef, 0x140408d1f\ntest    al, al                                                         ; +0xf2, 0x140408d22\njz      short loc_140408D31                                            ; +0xf4, 0x140408d24\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf6, 0x140408d26\nmov     rax, rsi                                                       ; +0xfc, 0x140408d2c\njmp     short loc_140408D40                                            ; +0xff, 0x140408d2f\nmov     r8, [rsi]                                                      ; +0x101, 0x140408d31\nmov     edx, 1                                                         ; +0x104, 0x140408d34\ncall    qword ptr [r8+8]                                               ; +0x109, 0x140408d39\nmov     rax, rbp                                                       ; +0x10d, 0x140408d3d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x110, 0x140408d40\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x115, 0x140408d45\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x11a, 0x140408d4a\nadd     rsp, 20h                                                       ; +0x11f, 0x140408d4f\npop     rdi                                                            ; +0x123, 0x140408d53\nretn                                                                   ; +0x124, 0x140408d54", "xrefs": ["EditorUI::editObject @ 0x14011d026", "<???> @ 0x1406d89fc"], "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"}