{"type": "func", "start": 5373020816, "end": 5373021115, "name": "SetupEndPopup::create", "pseudocode": "// \n// SetupEndPopup::create from 0x14041ca90 to 0x14041cbbb (299 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObject @ 0x14011d5e8\n// > <???> @ 0x1406d93a4\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\nSetupEndPopup *SetupEndPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  SetupEndPopup *v4; // rsi\n\n  v4 = (SetupEndPopup *)operator new(0x3C0u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupEndPopup_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&SetupEndPopup::`vftable';\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&SetupEndPopup::`vftable';\n  *(_WORD *)&v4->m_reversed = 0;\n  v4->m_groupID = 0;\n  v4->m_multiActivate = 0;\n  if ( SetupEndPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(SetupEndPopup *, __int64))v4->~SetupEndPopup)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; SetupEndPopup::create from 0x14041ca90 to 0x14041cbbb (299 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObject @ 0x14011d5e8\n; > <???> @ 0x1406d93a4\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, 0x14041ca90\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14041ca95\npush    rdi                                                            ; +0xa, 0x14041ca9a\nsub     rsp, 20h                                                       ; +0xb, 0x14041ca9b\nmov     rbx, rdx                                                       ; +0xf, 0x14041ca9f\nmov     rdi, rcx                                                       ; +0x12, 0x14041caa2\nmov     ecx, 3C0h; Size                                                ; +0x15, 0x14041caa5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x14041caaa\nmov     rsi, rax                                                       ; +0x1f, 0x14041caaf\nmov     [rsp+28h+arg_10], rax                                          ; +0x22, 0x14041cab2\nmov     rcx, rax                                                       ; +0x27, 0x14041cab7\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2a, 0x14041caba\nlea     rax, ??_7SetupEndPopup@@6B@; const SetupEndPopup::`vftable'    ; +0x2f, 0x14041cabf\nmov     [rsi], rax                                                     ; +0x36, 0x14041cac6\nlea     rax, ??_7SetupEndPopup@@6B@_0; const SetupEndPopup::`vftable'  ; +0x39, 0x14041cac9\nmov     [rsi+140h], rax                                                ; +0x40, 0x14041cad0\nlea     rax, ??_7SetupEndPopup@@6B@_1; const SetupEndPopup::`vftable'  ; +0x47, 0x14041cad7\nmov     [rsi+148h], rax                                                ; +0x4e, 0x14041cade\nlea     rax, ??_7SetupEndPopup@@6B@_2; const SetupEndPopup::`vftable'  ; +0x55, 0x14041cae5\nmov     [rsi+150h], rax                                                ; +0x5c, 0x14041caec\nlea     rax, ??_7SetupEndPopup@@6B@_3; const SetupEndPopup::`vftable'  ; +0x63, 0x14041caf3\nmov     [rsi+158h], rax                                                ; +0x6a, 0x14041cafa\nlea     rax, ??_7SetupEndPopup@@6B@_4; const SetupEndPopup::`vftable'  ; +0x71, 0x14041cb01\nmov     [rsi+160h], rax                                                ; +0x78, 0x14041cb08\nlea     rax, ??_7SetupEndPopup@@6B@_5; const SetupEndPopup::`vftable'  ; +0x7f, 0x14041cb0f\nmov     [rsi+198h], rax                                                ; +0x86, 0x14041cb16\nlea     rax, ??_7SetupEndPopup@@6B@_6; const SetupEndPopup::`vftable'  ; +0x8d, 0x14041cb1d\nmov     [rsi+1B0h], rax                                                ; +0x94, 0x14041cb24\nlea     rax, ??_7SetupEndPopup@@6B@_7; const SetupEndPopup::`vftable'  ; +0x9b, 0x14041cb2b\nmov     [rsi+278h], rax                                                ; +0xa2, 0x14041cb32\nlea     rax, ??_7SetupEndPopup@@6B@_8; const SetupEndPopup::`vftable'  ; +0xa9, 0x14041cb39\nmov     [rsi+280h], rax                                                ; +0xb0, 0x14041cb40\nlea     rax, ??_7SetupEndPopup@@6B@_9; const SetupEndPopup::`vftable'  ; +0xb7, 0x14041cb47\nmov     [rsi+288h], rax                                                ; +0xbe, 0x14041cb4e\nmov     word ptr [rsi+3B0h], 0                                         ; +0xc5, 0x14041cb55\nmov     dword ptr [rsi+3B4h], 0                                        ; +0xce, 0x14041cb5e\nmov     byte ptr [rsi+3B8h], 0                                         ; +0xd8, 0x14041cb68\nmov     r8, rbx                                                        ; +0xdf, 0x14041cb6f\nmov     rdx, rdi                                                       ; +0xe2, 0x14041cb72\nmov     rcx, rsi                                                       ; +0xe5, 0x14041cb75\ncall    SetupEndPopup__init                                            ; +0xe8, 0x14041cb78\nmov     rcx, rsi                                                       ; +0xed, 0x14041cb7d\ntest    al, al                                                         ; +0xf0, 0x14041cb80\njz      short loc_14041CB9D                                            ; +0xf2, 0x14041cb82\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf4, 0x14041cb84\nmov     rax, rsi                                                       ; +0xfa, 0x14041cb8a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xfd, 0x14041cb8d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x102, 0x14041cb92\nadd     rsp, 20h                                                       ; +0x107, 0x14041cb97\npop     rdi                                                            ; +0x10b, 0x14041cb9b\nretn                                                                   ; +0x10c, 0x14041cb9c\nmov     r8, [rsi]                                                      ; +0x10d, 0x14041cb9d\nmov     edx, 1                                                         ; +0x110, 0x14041cba0\ncall    qword ptr [r8+8]                                               ; +0x115, 0x14041cba5\nxor     eax, eax                                                       ; +0x119, 0x14041cba9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11b, 0x14041cbab\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x120, 0x14041cbb0\nadd     rsp, 20h                                                       ; +0x125, 0x14041cbb5\npop     rdi                                                            ; +0x129, 0x14041cbb9\nretn                                                                   ; +0x12a, 0x14041cbba", "xrefs": ["EditorUI::editObject @ 0x14011d5e8", "<???> @ 0x1406d93a4"], "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"}