{"type": "func", "start": 5369893872, "end": 5369894316, "name": "DropdownListPopup::create", "pseudocode": "// \n// DropdownListPopup::create from 0x1401213f0 to 0x1401215ac (444 bytes)\n// \n// 3 xrefs:\n// > Dropdown::openList @ 0x140121229\n// > IDNameInput::updateAutocomplete @ 0x1403c9dda\n// > <???> @ 0x140916610\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:56 +0000\n// \n\n// Hidden C++ exception states: #wind=5\n_QWORD *__fastcall DropdownListPopup::create(int a1, const struct cocos2d::CCPoint *a2, int a3, __int64 a4, __int64 a5)\n{\n  _QWORD *v9; // r14\n  int v10; // eax\n  _QWORD *v12; // [rsp+30h] [rbp-28h] BYREF\n\n  v9 = operator new(0x3B8u);\n  v12 = v9;\n  FLAlertLayer::FLAlertLayer((__int64)v9);\n  *v9 = &DropdownListPopup::`vftable';\n  v9[40] = &DropdownListPopup::`vftable';\n  v9[41] = &DropdownListPopup::`vftable';\n  v9[42] = &DropdownListPopup::`vftable';\n  v9[43] = &DropdownListPopup::`vftable';\n  v9[44] = &DropdownListPopup::`vftable';\n  v9[51] = &DropdownListPopup::`vftable';\n  v9[54] = &DropdownListPopup::`vftable';\n  v9[68] = &DropdownListPopup::`vftable';\n  v9[83] = 0;\n  v9[84] = 0;\n  v9[85] = 0;\n  v9[86] = 0;\n  v9[87] = 0;\n  v9[88] = 0;\n  v9[89] = 0;\n  v9[90] = 0;\n  *((_BYTE *)v9 + 728) = 0;\n  sub_1401203B0((__int64)(v9 + 92));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 110));\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v9 + 111));\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v9 + 113));\n  *((_BYTE *)v9 + 920) = 0;\n  v9[116] = 0;\n  v9[117] = 0;\n  v9[118] = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, a2);\n  if ( (unsigned __int8)DropdownListPopup::init((_DWORD)v9, a1, v10, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);\n    return v9;\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v9 + 8LL))(v9, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; DropdownListPopup::create from 0x1401213f0 to 0x1401215ac (444 bytes)\n; \n; 3 xrefs:\n; > Dropdown::openList @ 0x140121229\n; > IDNameInput::updateAutocomplete @ 0x1403c9dda\n; > <???> @ 0x140916610\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:56 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401213f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1401213f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1401213fa\npush    rdi                                                            ; +0xf, 0x1401213ff\npush    r14                                                            ; +0x10, 0x140121400\npush    r15                                                            ; +0x12, 0x140121402\nsub     rsp, 40h                                                       ; +0x14, 0x140121404\nmov     rsi, r9                                                        ; +0x18, 0x140121408\nmov     rbp, r8                                                        ; +0x1b, 0x14012140b\nmov     rbx, rdx                                                       ; +0x1e, 0x14012140e\nmov     rdi, rcx                                                       ; +0x21, 0x140121411\nmov     ecx, 3B8h; Size                                                ; +0x24, 0x140121414\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x140121419\nmov     r14, rax                                                       ; +0x2e, 0x14012141e\nmov     [rsp+58h+var_28], rax                                          ; +0x31, 0x140121421\nmov     rcx, rax                                                       ; +0x36, 0x140121426\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x39, 0x140121429\nnop                                                                    ; +0x3e, 0x14012142e\nlea     rax, ??_7DropdownListPopup@@6B@; const DropdownListPopup::`vftable' ; +0x3f, 0x14012142f\nmov     [r14], rax                                                     ; +0x46, 0x140121436\nlea     rax, ??_7DropdownListPopup@@6B@_0; const DropdownListPopup::`vftable' ; +0x49, 0x140121439\nmov     [r14+140h], rax                                                ; +0x50, 0x140121440\nlea     rax, ??_7DropdownListPopup@@6B@_1; const DropdownListPopup::`vftable' ; +0x57, 0x140121447\nmov     [r14+148h], rax                                                ; +0x5e, 0x14012144e\nlea     rax, ??_7DropdownListPopup@@6B@_2; const DropdownListPopup::`vftable' ; +0x65, 0x140121455\nmov     [r14+150h], rax                                                ; +0x6c, 0x14012145c\nlea     rax, ??_7DropdownListPopup@@6B@_3; const DropdownListPopup::`vftable' ; +0x73, 0x140121463\nmov     [r14+158h], rax                                                ; +0x7a, 0x14012146a\nlea     rax, ??_7DropdownListPopup@@6B@_4; const DropdownListPopup::`vftable' ; +0x81, 0x140121471\nmov     [r14+160h], rax                                                ; +0x88, 0x140121478\nlea     rax, ??_7DropdownListPopup@@6B@_5; const DropdownListPopup::`vftable' ; +0x8f, 0x14012147f\nmov     [r14+198h], rax                                                ; +0x96, 0x140121486\nlea     rax, ??_7DropdownListPopup@@6B@_6; const DropdownListPopup::`vftable' ; +0x9d, 0x14012148d\nmov     [r14+1B0h], rax                                                ; +0xa4, 0x140121494\nlea     rax, ??_7DropdownListPopup@@6B@_7; const DropdownListPopup::`vftable' ; +0xab, 0x14012149b\nmov     [r14+220h], rax                                                ; +0xb2, 0x1401214a2\nxor     r15d, r15d                                                     ; +0xb9, 0x1401214a9\nmov     [r14+298h], r15                                                ; +0xbc, 0x1401214ac\nmov     [r14+2A0h], r15                                                ; +0xc3, 0x1401214b3\nmov     [r14+2A8h], r15                                                ; +0xca, 0x1401214ba\nmov     [r14+2B0h], r15                                                ; +0xd1, 0x1401214c1\nmov     [r14+2B8h], r15                                                ; +0xd8, 0x1401214c8\nmov     [r14+2C0h], r15                                                ; +0xdf, 0x1401214cf\nmov     [r14+2C8h], r15                                                ; +0xe6, 0x1401214d6\nmov     [r14+2D0h], r15                                                ; +0xed, 0x1401214dd\nmov     [r14+2D8h], r15b                                               ; +0xf4, 0x1401214e4\nlea     rcx, [r14+2E0h]                                                ; +0xfb, 0x1401214eb\ncall    sub_1401203B0                                                  ; +0x102, 0x1401214f2\nnop                                                                    ; +0x107, 0x1401214f7\nlea     rcx, [r14+370h]                                                ; +0x108, 0x1401214f8\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x10f, 0x1401214ff\nlea     rcx, [r14+378h]                                                ; +0x115, 0x140121505\ncall    cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void)   ; +0x11c, 0x14012150c\nlea     rcx, [r14+388h]                                                ; +0x122, 0x140121512\ncall    cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void)   ; +0x129, 0x140121519\nmov     [r14+398h], r15b                                               ; +0x12f, 0x14012151f\nmov     [r14+3A0h], r15                                                ; +0x136, 0x140121526\nmov     [r14+3A8h], r15                                                ; +0x13d, 0x14012152d\nmov     [r14+3B0h], r15                                                ; +0x144, 0x140121534\nmov     rdx, rbx                                                       ; +0x14b, 0x14012153b\nlea     rcx, [rsp+58h+var_28]                                          ; +0x14e, 0x14012153e\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x153, 0x140121543\nmov     r8, rax                                                        ; +0x159, 0x140121549\nmov     rcx, [rsp+58h+arg_20]                                          ; +0x15c, 0x14012154c\nmov     [rsp+58h+var_30], rcx                                          ; +0x164, 0x140121554\nmov     [rsp+58h+var_38], rsi                                          ; +0x169, 0x140121559\nmov     r9, rbp                                                        ; +0x16e, 0x14012155e\nmov     rdx, rdi                                                       ; +0x171, 0x140121561\nmov     rcx, r14                                                       ; +0x174, 0x140121564\ncall    DropdownListPopup__init                                        ; +0x177, 0x140121567\ntest    al, al                                                         ; +0x17c, 0x14012156c\njz      short loc_14012157E                                            ; +0x17e, 0x14012156e\nmov     rcx, r14                                                       ; +0x180, 0x140121570\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x183, 0x140121573\nmov     rax, r14                                                       ; +0x189, 0x140121579\njmp     short loc_140121593                                            ; +0x18c, 0x14012157c\nmov     rcx, [r14]                                                     ; +0x18e, 0x14012157e\nmov     r8, [rcx+8]                                                    ; +0x191, 0x140121581\nmov     edx, 1                                                         ; +0x195, 0x140121585\nmov     rcx, r14                                                       ; +0x19a, 0x14012158a\ncall    r8                                                             ; +0x19d, 0x14012158d\nmov     rax, r15                                                       ; +0x1a0, 0x140121590\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x1a3, 0x140121593\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x1a8, 0x140121598\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x1ad, 0x14012159d\nadd     rsp, 40h                                                       ; +0x1b2, 0x1401215a2\npop     r15                                                            ; +0x1b6, 0x1401215a6\npop     r14                                                            ; +0x1b8, 0x1401215a8\npop     rdi                                                            ; +0x1ba, 0x1401215aa\nretn                                                                   ; +0x1bb, 0x1401215ab", "xrefs": ["Dropdown::openList @ 0x140121229", "IDNameInput::updateAutocomplete @ 0x1403c9dda", "<???> @ 0x140916610"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}