{"type": "func", "start": 5373055520, "end": 5373055827, "name": "SetupKeyframePopup::create", "pseudocode": "// \n// SetupKeyframePopup::create from 0x140425220 to 0x140425353 (307 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d085\n// > <???> @ 0x1406d971c\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\nSetupKeyframePopup *SetupKeyframePopup::create(KeyframeGameObject *a1, cocos2d::CCArray *a2, LevelEditorLayer *a3)\n{\n  SetupKeyframePopup *v6; // r14\n\n  v6 = (SetupKeyframePopup *)operator new(0x3C0u);\n  SetupTriggerPopup::SetupTriggerPopup(v6);\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupKeyframePopup_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupKeyframePopup::`vftable';\n  v6->m_timeModeToggles = nullptr;\n  v6->m_editorLayer = nullptr;\n  v6->m_groupIDChanged = 0;\n  if ( SetupKeyframePopup::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n    return v6;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupKeyframePopup *, __int64))v6->~SetupKeyframePopup)(v6, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupKeyframePopup::create from 0x140425220 to 0x140425353 (307 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d085\n; > <???> @ 0x1406d971c\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, 0x140425220\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140425225\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x14042522a\npush    r14                                                            ; +0xf, 0x14042522f\nsub     rsp, 20h                                                       ; +0x11, 0x140425231\nmov     rbx, r8                                                        ; +0x15, 0x140425235\nmov     rdi, rdx                                                       ; +0x18, 0x140425238\nmov     rsi, rcx                                                       ; +0x1b, 0x14042523b\nmov     ecx, 3C0h; Size                                                ; +0x1e, 0x14042523e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23, 0x140425243\nmov     r14, rax                                                       ; +0x28, 0x140425248\nmov     [rsp+28h+arg_18], rax                                          ; +0x2b, 0x14042524b\nmov     rcx, rax                                                       ; +0x30, 0x140425250\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x33, 0x140425253\nlea     rax, ??_7SetupKeyframePopup@@6B@; const SetupKeyframePopup::`vftable' ; +0x38, 0x140425258\nmov     [r14], rax                                                     ; +0x3f, 0x14042525f\nlea     rax, ??_7SetupKeyframePopup@@6B@_0; const SetupKeyframePopup::`vftable' ; +0x42, 0x140425262\nmov     [r14+140h], rax                                                ; +0x49, 0x140425269\nlea     rax, ??_7SetupKeyframePopup@@6B@_1; const SetupKeyframePopup::`vftable' ; +0x50, 0x140425270\nmov     [r14+148h], rax                                                ; +0x57, 0x140425277\nlea     rax, ??_7SetupKeyframePopup@@6B@_2; const SetupKeyframePopup::`vftable' ; +0x5e, 0x14042527e\nmov     [r14+150h], rax                                                ; +0x65, 0x140425285\nlea     rax, ??_7SetupKeyframePopup@@6B@_3; const SetupKeyframePopup::`vftable' ; +0x6c, 0x14042528c\nmov     [r14+158h], rax                                                ; +0x73, 0x140425293\nlea     rax, ??_7SetupKeyframePopup@@6B@_4; const SetupKeyframePopup::`vftable' ; +0x7a, 0x14042529a\nmov     [r14+160h], rax                                                ; +0x81, 0x1404252a1\nlea     rax, ??_7SetupKeyframePopup@@6B@_5; const SetupKeyframePopup::`vftable' ; +0x88, 0x1404252a8\nmov     [r14+198h], rax                                                ; +0x8f, 0x1404252af\nlea     rax, ??_7SetupKeyframePopup@@6B@_6; const SetupKeyframePopup::`vftable' ; +0x96, 0x1404252b6\nmov     [r14+1B0h], rax                                                ; +0x9d, 0x1404252bd\nlea     rax, ??_7SetupKeyframePopup@@6B@_7; const SetupKeyframePopup::`vftable' ; +0xa4, 0x1404252c4\nmov     [r14+278h], rax                                                ; +0xab, 0x1404252cb\nlea     rax, ??_7SetupKeyframePopup@@6B@_8; const SetupKeyframePopup::`vftable' ; +0xb2, 0x1404252d2\nmov     [r14+280h], rax                                                ; +0xb9, 0x1404252d9\nlea     rax, ??_7SetupKeyframePopup@@6B@_9; const SetupKeyframePopup::`vftable' ; +0xc0, 0x1404252e0\nmov     [r14+288h], rax                                                ; +0xc7, 0x1404252e7\nmov     qword ptr [r14+3A8h], 0                                        ; +0xce, 0x1404252ee\nmov     qword ptr [r14+3B0h], 0                                        ; +0xd9, 0x1404252f9\nmov     byte ptr [r14+3B8h], 0                                         ; +0xe4, 0x140425304\nmov     r9, rbx                                                        ; +0xec, 0x14042530c\nmov     r8, rdi                                                        ; +0xef, 0x14042530f\nmov     rdx, rsi                                                       ; +0xf2, 0x140425312\nmov     rcx, r14                                                       ; +0xf5, 0x140425315\ncall    SetupKeyframePopup__init                                       ; +0xf8, 0x140425318\nmov     rcx, r14                                                       ; +0xfd, 0x14042531d\ntest    al, al                                                         ; +0x100, 0x140425320\njz      short loc_14042532F                                            ; +0x102, 0x140425322\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x104, 0x140425324\nmov     rax, r14                                                       ; +0x10a, 0x14042532a\njmp     short loc_14042533D                                            ; +0x10d, 0x14042532d\nmov     r8, [r14]                                                      ; +0x10f, 0x14042532f\nmov     edx, 1                                                         ; +0x112, 0x140425332\ncall    qword ptr [r8+8]                                               ; +0x117, 0x140425337\nxor     eax, eax                                                       ; +0x11b, 0x14042533b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11d, 0x14042533d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x122, 0x140425342\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x127, 0x140425347\nadd     rsp, 20h                                                       ; +0x12c, 0x14042534c\npop     r14                                                            ; +0x130, 0x140425350\nretn                                                                   ; +0x132, 0x140425352", "xrefs": ["EditorUI::editObject @ 0x14011d085", "<???> @ 0x1406d971c"], "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"}