{"type": "func", "start": 5372936592, "end": 5372936864, "name": "SetupAdvFollowRetargetPopup::create", "pseudocode": "// \n// SetupAdvFollowRetargetPopup::create from 0x140408190 to 0x1404082a0 (272 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d1e5\n// > <???> @ 0x1406d89cc\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\nSetupAdvFollowRetargetPopup *SetupAdvFollowRetargetPopup::create(AdvancedFollowEditObject *a1, cocos2d::CCArray *a2)\n{\n  SetupAdvFollowRetargetPopup *v4; // rsi\n\n  v4 = (SetupAdvFollowRetargetPopup *)operator new(0x3A8u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupAdvFollowRetargetPopup_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupAdvFollowRetargetPopup::`vftable';\n  if ( SetupAdvFollowRetargetPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupAdvFollowRetargetPopup *, __int64))v4->~SetupAdvFollowRetargetPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupAdvFollowRetargetPopup::create from 0x140408190 to 0x1404082a0 (272 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d1e5\n; > <???> @ 0x1406d89cc\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, 0x140408190\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140408195\npush    rdi                                                            ; +0xa, 0x14040819a\nsub     rsp, 20h                                                       ; +0xb, 0x14040819b\nmov     rbx, rdx                                                       ; +0xf, 0x14040819f\nmov     rdi, rcx                                                       ; +0x12, 0x1404081a2\nmov     ecx, 3A8h; Size                                                ; +0x15, 0x1404081a5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1404081aa\nmov     rsi, rax                                                       ; +0x1f, 0x1404081af\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x1404081b2\nmov     rcx, rax                                                       ; +0x27, 0x1404081b7\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2a, 0x1404081ba\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@; const SetupAdvFollowRetargetPopup::`vftable' ; +0x2f, 0x1404081bf\nmov     [rsi], rax                                                     ; +0x36, 0x1404081c6\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_0; const SetupAdvFollowRetargetPopup::`vftable' ; +0x39, 0x1404081c9\nmov     [rsi+140h], rax                                                ; +0x40, 0x1404081d0\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_1; const SetupAdvFollowRetargetPopup::`vftable' ; +0x47, 0x1404081d7\nmov     [rsi+148h], rax                                                ; +0x4e, 0x1404081de\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_2; const SetupAdvFollowRetargetPopup::`vftable' ; +0x55, 0x1404081e5\nmov     [rsi+150h], rax                                                ; +0x5c, 0x1404081ec\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_3; const SetupAdvFollowRetargetPopup::`vftable' ; +0x63, 0x1404081f3\nmov     [rsi+158h], rax                                                ; +0x6a, 0x1404081fa\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_4; const SetupAdvFollowRetargetPopup::`vftable' ; +0x71, 0x140408201\nmov     [rsi+160h], rax                                                ; +0x78, 0x140408208\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_5; const SetupAdvFollowRetargetPopup::`vftable' ; +0x7f, 0x14040820f\nmov     [rsi+198h], rax                                                ; +0x86, 0x140408216\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_6; const SetupAdvFollowRetargetPopup::`vftable' ; +0x8d, 0x14040821d\nmov     [rsi+1B0h], rax                                                ; +0x94, 0x140408224\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_7; const SetupAdvFollowRetargetPopup::`vftable' ; +0x9b, 0x14040822b\nmov     [rsi+278h], rax                                                ; +0xa2, 0x140408232\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_8; const SetupAdvFollowRetargetPopup::`vftable' ; +0xa9, 0x140408239\nmov     [rsi+280h], rax                                                ; +0xb0, 0x140408240\nlea     rax, ??_7SetupAdvFollowRetargetPopup@@6B@_9; const SetupAdvFollowRetargetPopup::`vftable' ; +0xb7, 0x140408247\nmov     [rsi+288h], rax                                                ; +0xbe, 0x14040824e\nmov     r8, rbx                                                        ; +0xc5, 0x140408255\nmov     rdx, rdi                                                       ; +0xc8, 0x140408258\nmov     rcx, rsi                                                       ; +0xcb, 0x14040825b\ncall    SetupAdvFollowRetargetPopup__init                              ; +0xce, 0x14040825e\nmov     rcx, rsi                                                       ; +0xd3, 0x140408263\ntest    al, al                                                         ; +0xd6, 0x140408266\njz      short loc_140408283                                            ; +0xd8, 0x140408268\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xda, 0x14040826a\nmov     rax, rsi                                                       ; +0xe0, 0x140408270\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xe3, 0x140408273\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xe8, 0x140408278\nadd     rsp, 20h                                                       ; +0xed, 0x14040827d\npop     rdi                                                            ; +0xf1, 0x140408281\nretn                                                                   ; +0xf2, 0x140408282\nmov     rax, [rsi]                                                     ; +0xf3, 0x140408283\nmov     edx, 1                                                         ; +0xf6, 0x140408286\ncall    qword ptr [rax+8]                                              ; +0xfb, 0x14040828b\nxor     eax, eax                                                       ; +0xfe, 0x14040828e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x100, 0x140408290\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x105, 0x140408295\nadd     rsp, 20h                                                       ; +0x10a, 0x14040829a\npop     rdi                                                            ; +0x10e, 0x14040829e\nretn                                                                   ; +0x10f, 0x14040829f", "xrefs": ["EditorUI::editObject @ 0x14011d1e5", "<???> @ 0x1406d89cc"], "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"}