{"type": "func", "start": 5372980064, "end": 5372980357, "name": "SetupCameraEdgePopup::create", "pseudocode": "// \n// SetupCameraEdgePopup::create from 0x140412b60 to 0x140412c85 (293 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d88a\n// > <???> @ 0x1406d8d44\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\nSetupCameraEdgePopup *SetupCameraEdgePopup::create(CameraTriggerGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupCameraEdgePopup *v4; // rsi\n\n  v4 = (SetupCameraEdgePopup *)operator new(0x3C0u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupCameraEdgePopup_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupCameraEdgePopup::`vftable';\n  v4->m_targetIDInput = nullptr;\n  *(_QWORD *)&v4->m_targetID = 0;\n  v4->m_directionToggles = nullptr;\n  if ( SetupCameraEdgePopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupCameraEdgePopup *, __int64))v4->~SetupCameraEdgePopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupCameraEdgePopup::create from 0x140412b60 to 0x140412c85 (293 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d88a\n; > <???> @ 0x1406d8d44\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, 0x140412b60\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140412b65\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x140412b6a\npush    rdi                                                            ; +0xf, 0x140412b6f\nsub     rsp, 20h                                                       ; +0x10, 0x140412b70\nmov     rbx, rdx                                                       ; +0x14, 0x140412b74\nmov     rdi, rcx                                                       ; +0x17, 0x140412b77\nmov     ecx, 3C0h; Size                                                ; +0x1a, 0x140412b7a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x140412b7f\nmov     rsi, rax                                                       ; +0x24, 0x140412b84\nmov     [rsp+28h+arg_10], rax                                          ; +0x27, 0x140412b87\nmov     rcx, rax                                                       ; +0x2c, 0x140412b8c\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2f, 0x140412b8f\nlea     rax, ??_7SetupCameraEdgePopup@@6B@; const SetupCameraEdgePopup::`vftable' ; +0x34, 0x140412b94\nmov     [rsi], rax                                                     ; +0x3b, 0x140412b9b\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_0; const SetupCameraEdgePopup::`vftable' ; +0x3e, 0x140412b9e\nmov     [rsi+140h], rax                                                ; +0x45, 0x140412ba5\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_1; const SetupCameraEdgePopup::`vftable' ; +0x4c, 0x140412bac\nmov     [rsi+148h], rax                                                ; +0x53, 0x140412bb3\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_2; const SetupCameraEdgePopup::`vftable' ; +0x5a, 0x140412bba\nmov     [rsi+150h], rax                                                ; +0x61, 0x140412bc1\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_3; const SetupCameraEdgePopup::`vftable' ; +0x68, 0x140412bc8\nmov     [rsi+158h], rax                                                ; +0x6f, 0x140412bcf\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_4; const SetupCameraEdgePopup::`vftable' ; +0x76, 0x140412bd6\nmov     [rsi+160h], rax                                                ; +0x7d, 0x140412bdd\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_5; const SetupCameraEdgePopup::`vftable' ; +0x84, 0x140412be4\nmov     [rsi+198h], rax                                                ; +0x8b, 0x140412beb\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_6; const SetupCameraEdgePopup::`vftable' ; +0x92, 0x140412bf2\nmov     [rsi+1B0h], rax                                                ; +0x99, 0x140412bf9\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_7; const SetupCameraEdgePopup::`vftable' ; +0xa0, 0x140412c00\nmov     [rsi+278h], rax                                                ; +0xa7, 0x140412c07\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_8; const SetupCameraEdgePopup::`vftable' ; +0xae, 0x140412c0e\nmov     [rsi+280h], rax                                                ; +0xb5, 0x140412c15\nlea     rax, ??_7SetupCameraEdgePopup@@6B@_9; const SetupCameraEdgePopup::`vftable' ; +0xbc, 0x140412c1c\nmov     [rsi+288h], rax                                                ; +0xc3, 0x140412c23\nxor     ebp, ebp                                                       ; +0xca, 0x140412c2a\nmov     [rsi+3A8h], rbp                                                ; +0xcc, 0x140412c2c\nmov     [rsi+3B0h], rbp                                                ; +0xd3, 0x140412c33\nmov     [rsi+3B8h], rbp                                                ; +0xda, 0x140412c3a\nmov     r8, rbx                                                        ; +0xe1, 0x140412c41\nmov     rdx, rdi                                                       ; +0xe4, 0x140412c44\nmov     rcx, rsi                                                       ; +0xe7, 0x140412c47\ncall    SetupCameraEdgePopup__init                                     ; +0xea, 0x140412c4a\nmov     rcx, rsi                                                       ; +0xef, 0x140412c4f\ntest    al, al                                                         ; +0xf2, 0x140412c52\njz      short loc_140412C61                                            ; +0xf4, 0x140412c54\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf6, 0x140412c56\nmov     rax, rsi                                                       ; +0xfc, 0x140412c5c\njmp     short loc_140412C70                                            ; +0xff, 0x140412c5f\nmov     r8, [rsi]                                                      ; +0x101, 0x140412c61\nmov     edx, 1                                                         ; +0x104, 0x140412c64\ncall    qword ptr [r8+8]                                               ; +0x109, 0x140412c69\nmov     rax, rbp                                                       ; +0x10d, 0x140412c6d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x110, 0x140412c70\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x115, 0x140412c75\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x11a, 0x140412c7a\nadd     rsp, 20h                                                       ; +0x11f, 0x140412c7f\npop     rdi                                                            ; +0x123, 0x140412c83\nretn                                                                   ; +0x124, 0x140412c84", "xrefs": ["EditorUI::editObject @ 0x14011d88a", "<???> @ 0x1406d8d44"], "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"}