{"type": "func", "start": 5372985376, "end": 5372985655, "name": "SetupCameraModePopup::create", "pseudocode": "// \n// SetupCameraModePopup::create from 0x140414020 to 0x140414137 (279 bytes)\n// \n// 3 xrefs:\n// > EditorUI::editObject @ 0x14011cf2a\n// > EditorUI::editObject @ 0x14011d949\n// > <???> @ 0x1406d8df8\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\nSetupCameraModePopup *SetupCameraModePopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupCameraModePopup *v4; // rsi\n\n  v4 = (SetupCameraModePopup *)operator new(0x3E8u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupCameraModePopup_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupCameraModePopup::`vftable';\n  v4->m_cameraModeObjects = 0;\n  if ( SetupCameraModePopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupCameraModePopup *, __int64))v4->~SetupCameraModePopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupCameraModePopup::create from 0x140414020 to 0x140414137 (279 bytes)\n; \n; 3 xrefs:\n; > EditorUI::editObject @ 0x14011cf2a\n; > EditorUI::editObject @ 0x14011d949\n; > <???> @ 0x1406d8df8\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, 0x140414020\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140414025\npush    rdi                                                            ; +0xa, 0x14041402a\nsub     rsp, 20h                                                       ; +0xb, 0x14041402b\nmov     rbx, rdx                                                       ; +0xf, 0x14041402f\nmov     rdi, rcx                                                       ; +0x12, 0x140414032\nmov     ecx, 3E8h; Size                                                ; +0x15, 0x140414035\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14041403a\nmov     rsi, rax                                                       ; +0x1f, 0x14041403f\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x140414042\nmov     rcx, rax                                                       ; +0x27, 0x140414047\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2a, 0x14041404a\nlea     rax, ??_7SetupCameraModePopup@@6B@; const SetupCameraModePopup::`vftable' ; +0x2f, 0x14041404f\nmov     [rsi], rax                                                     ; +0x36, 0x140414056\nlea     rax, ??_7SetupCameraModePopup@@6B@_0; const SetupCameraModePopup::`vftable' ; +0x39, 0x140414059\nmov     [rsi+140h], rax                                                ; +0x40, 0x140414060\nlea     rax, ??_7SetupCameraModePopup@@6B@_1; const SetupCameraModePopup::`vftable' ; +0x47, 0x140414067\nmov     [rsi+148h], rax                                                ; +0x4e, 0x14041406e\nlea     rax, ??_7SetupCameraModePopup@@6B@_2; const SetupCameraModePopup::`vftable' ; +0x55, 0x140414075\nmov     [rsi+150h], rax                                                ; +0x5c, 0x14041407c\nlea     rax, ??_7SetupCameraModePopup@@6B@_3; const SetupCameraModePopup::`vftable' ; +0x63, 0x140414083\nmov     [rsi+158h], rax                                                ; +0x6a, 0x14041408a\nlea     rax, ??_7SetupCameraModePopup@@6B@_4; const SetupCameraModePopup::`vftable' ; +0x71, 0x140414091\nmov     [rsi+160h], rax                                                ; +0x78, 0x140414098\nlea     rax, ??_7SetupCameraModePopup@@6B@_5; const SetupCameraModePopup::`vftable' ; +0x7f, 0x14041409f\nmov     [rsi+198h], rax                                                ; +0x86, 0x1404140a6\nlea     rax, ??_7SetupCameraModePopup@@6B@_6; const SetupCameraModePopup::`vftable' ; +0x8d, 0x1404140ad\nmov     [rsi+1B0h], rax                                                ; +0x94, 0x1404140b4\nlea     rax, ??_7SetupCameraModePopup@@6B@_7; const SetupCameraModePopup::`vftable' ; +0x9b, 0x1404140bb\nmov     [rsi+278h], rax                                                ; +0xa2, 0x1404140c2\nlea     rax, ??_7SetupCameraModePopup@@6B@_8; const SetupCameraModePopup::`vftable' ; +0xa9, 0x1404140c9\nmov     [rsi+280h], rax                                                ; +0xb0, 0x1404140d0\nlea     rax, ??_7SetupCameraModePopup@@6B@_9; const SetupCameraModePopup::`vftable' ; +0xb7, 0x1404140d7\nmov     [rsi+288h], rax                                                ; +0xbe, 0x1404140de\nmov     byte ptr [rsi+3E6h], 0                                         ; +0xc5, 0x1404140e5\nmov     r8, rbx                                                        ; +0xcc, 0x1404140ec\nmov     rdx, rdi                                                       ; +0xcf, 0x1404140ef\nmov     rcx, rsi                                                       ; +0xd2, 0x1404140f2\ncall    SetupCameraModePopup__init                                     ; +0xd5, 0x1404140f5\nmov     rcx, rsi                                                       ; +0xda, 0x1404140fa\ntest    al, al                                                         ; +0xdd, 0x1404140fd\njz      short loc_14041411A                                            ; +0xdf, 0x1404140ff\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe1, 0x140414101\nmov     rax, rsi                                                       ; +0xe7, 0x140414107\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xea, 0x14041410a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xef, 0x14041410f\nadd     rsp, 20h                                                       ; +0xf4, 0x140414114\npop     rdi                                                            ; +0xf8, 0x140414118\nretn                                                                   ; +0xf9, 0x140414119\nmov     rax, [rsi]                                                     ; +0xfa, 0x14041411a\nmov     edx, 1                                                         ; +0xfd, 0x14041411d\ncall    qword ptr [rax+8]                                              ; +0x102, 0x140414122\nxor     eax, eax                                                       ; +0x105, 0x140414125\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x107, 0x140414127\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x10c, 0x14041412c\nadd     rsp, 20h                                                       ; +0x111, 0x140414131\npop     rdi                                                            ; +0x115, 0x140414135\nretn                                                                   ; +0x116, 0x140414136", "xrefs": ["EditorUI::editObject @ 0x14011cf2a", "EditorUI::editObject @ 0x14011d949", "<???> @ 0x1406d8df8"], "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"}