{"type": "func", "start": 5373223056, "end": 5373223502, "name": "KeybindCapturePopup::create", "pseudocode": "// \n// KeybindCapturePopup::create from 0x14044e090 to 0x14044e24e (446 bytes)\n// \n// 3 xrefs:\n// > KeybindingsLayer::openBindingEditor @ 0x1403d8106\n// > LevelBindingsLayer::openBindingEditor @ 0x14044c93d\n// > <???> @ 0x1409275cc\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:32:26 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid *__fastcall KeybindCapturePopup::create(__int64 a1, int a2, int a3, __int64 a4, int a5)\n{\n  void *v9; // r14\n\n  v9 = operator new(0x468u);\n  memset(v9, 0, 0x468u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v9);\n  *(_QWORD *)v9 = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 40) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 41) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 42) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 43) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 44) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 51) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 54) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 68) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 83) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 84) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 125) = &KeybindCapturePopup::`vftable';\n  *((_QWORD *)v9 + 126) = 0;\n  *((_QWORD *)v9 + 127) = 0;\n  *((_QWORD *)v9 + 128) = 0;\n  *((_QWORD *)v9 + 129) = 0;\n  *((_BYTE *)v9 + 1040) = 0;\n  *((_QWORD *)v9 + 131) = 0;\n  *((_QWORD *)v9 + 132) = 0;\n  *((_QWORD *)v9 + 133) = 0;\n  *((_QWORD *)v9 + 134) = 0;\n  *((_QWORD *)v9 + 135) = 0;\n  *((_QWORD *)v9 + 136) = 0;\n  *((_QWORD *)v9 + 137) = 0;\n  *((_QWORD *)v9 + 138) = 0;\n  *((_QWORD *)v9 + 139) = 0;\n  *((_QWORD *)v9 + 140) = 0;\n  if ( KeybindCapturePopup::init((__int64)v9, a1, a2, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);\n    return v9;\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; KeybindCapturePopup::create from 0x14044e090 to 0x14044e24e (446 bytes)\n; \n; 3 xrefs:\n; > KeybindingsLayer::openBindingEditor @ 0x1403d8106\n; > LevelBindingsLayer::openBindingEditor @ 0x14044c93d\n; > <???> @ 0x1409275cc\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:32:26 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14044e090\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14044e095\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14044e09a\npush    rdi                                                            ; +0xf, 0x14044e09f\npush    r14                                                            ; +0x10, 0x14044e0a0\npush    r15                                                            ; +0x12, 0x14044e0a2\nsub     rsp, 40h                                                       ; +0x14, 0x14044e0a4\nmov     rbx, r9                                                        ; +0x18, 0x14044e0a8\nmov     edi, r8d                                                       ; +0x1b, 0x14044e0ab\nmov     esi, edx                                                       ; +0x1e, 0x14044e0ae\nmov     rbp, rcx                                                       ; +0x20, 0x14044e0b0\nmov     ecx, 468h; Size                                                ; +0x23, 0x14044e0b3\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x28, 0x14044e0b8\nmov     r14, rax                                                       ; +0x2d, 0x14044e0bd\nmov     [rsp+58h+var_28], rax                                          ; +0x30, 0x14044e0c0\nxor     edx, edx; Val                                                  ; +0x35, 0x14044e0c5\nmov     r8d, 468h; Size                                                ; +0x37, 0x14044e0c7\nmov     rcx, rax; void *                                               ; +0x3d, 0x14044e0cd\ncall    memset                                                         ; +0x40, 0x14044e0d0\nmov     rcx, r14                                                       ; +0x45, 0x14044e0d5\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x48, 0x14044e0d8\nlea     rax, ??_7KeybindCapturePopup@@6B@; const KeybindCapturePopup::`vftable' ; +0x4d, 0x14044e0dd\nmov     [r14], rax                                                     ; +0x54, 0x14044e0e4\nlea     rax, ??_7KeybindCapturePopup@@6B@_0; const KeybindCapturePopup::`vftable' ; +0x57, 0x14044e0e7\nmov     [r14+140h], rax                                                ; +0x5e, 0x14044e0ee\nlea     rax, ??_7KeybindCapturePopup@@6B@_1; const KeybindCapturePopup::`vftable' ; +0x65, 0x14044e0f5\nmov     [r14+148h], rax                                                ; +0x6c, 0x14044e0fc\nlea     rax, ??_7KeybindCapturePopup@@6B@_2; const KeybindCapturePopup::`vftable' ; +0x73, 0x14044e103\nmov     [r14+150h], rax                                                ; +0x7a, 0x14044e10a\nlea     rax, ??_7KeybindCapturePopup@@6B@_3; const KeybindCapturePopup::`vftable' ; +0x81, 0x14044e111\nmov     [r14+158h], rax                                                ; +0x88, 0x14044e118\nlea     rax, ??_7KeybindCapturePopup@@6B@_4; const KeybindCapturePopup::`vftable' ; +0x8f, 0x14044e11f\nmov     [r14+160h], rax                                                ; +0x96, 0x14044e126\nlea     rax, ??_7KeybindCapturePopup@@6B@_5; const KeybindCapturePopup::`vftable' ; +0x9d, 0x14044e12d\nmov     [r14+198h], rax                                                ; +0xa4, 0x14044e134\nlea     rax, ??_7KeybindCapturePopup@@6B@_6; const KeybindCapturePopup::`vftable' ; +0xab, 0x14044e13b\nmov     [r14+1B0h], rax                                                ; +0xb2, 0x14044e142\nlea     rax, ??_7KeybindCapturePopup@@6B@_7; const KeybindCapturePopup::`vftable' ; +0xb9, 0x14044e149\nmov     [r14+220h], rax                                                ; +0xc0, 0x14044e150\nlea     rax, ??_7KeybindCapturePopup@@6B@_8; const KeybindCapturePopup::`vftable' ; +0xc7, 0x14044e157\nmov     [r14+298h], rax                                                ; +0xce, 0x14044e15e\nlea     rax, ??_7KeybindCapturePopup@@6B@_9; const KeybindCapturePopup::`vftable' ; +0xd5, 0x14044e165\nmov     [r14+2A0h], rax                                                ; +0xdc, 0x14044e16c\nlea     rax, ??_7KeybindCapturePopup@@6B@_10; const KeybindCapturePopup::`vftable' ; +0xe3, 0x14044e173\nmov     [r14+3E8h], rax                                                ; +0xea, 0x14044e17a\nxor     r15d, r15d                                                     ; +0xf1, 0x14044e181\nmov     [r14+3F0h], r15                                                ; +0xf4, 0x14044e184\nmov     [r14+3F8h], r15                                                ; +0xfb, 0x14044e18b\nmov     [r14+400h], r15                                                ; +0x102, 0x14044e192\nmov     [r14+408h], r15                                                ; +0x109, 0x14044e199\nmov     [r14+410h], r15b                                               ; +0x110, 0x14044e1a0\nmov     [r14+418h], r15                                                ; +0x117, 0x14044e1a7\nmov     [r14+420h], r15                                                ; +0x11e, 0x14044e1ae\nmov     [r14+428h], r15                                                ; +0x125, 0x14044e1b5\nmov     [r14+430h], r15                                                ; +0x12c, 0x14044e1bc\nmov     [r14+438h], r15                                                ; +0x133, 0x14044e1c3\nmov     [r14+440h], r15                                                ; +0x13a, 0x14044e1ca\nmov     [r14+448h], r15                                                ; +0x141, 0x14044e1d1\nmov     [r14+450h], r15                                                ; +0x148, 0x14044e1d8\nmov     [r14+458h], r15                                                ; +0x14f, 0x14044e1df\nmov     [r14+460h], r15                                                ; +0x156, 0x14044e1e6\nmov     ecx, [rsp+58h+arg_20]                                          ; +0x15d, 0x14044e1ed\nmov     [rsp+58h+var_30], ecx                                          ; +0x164, 0x14044e1f4\nmov     [rsp+58h+var_38], rbx                                          ; +0x168, 0x14044e1f8\nmov     r9d, edi                                                       ; +0x16d, 0x14044e1fd\nmov     r8d, esi                                                       ; +0x170, 0x14044e200\nmov     rdx, rbp                                                       ; +0x173, 0x14044e203\nmov     rcx, r14                                                       ; +0x176, 0x14044e206\ncall    KeybindCapturePopup__init                                      ; +0x179, 0x14044e209\ntest    al, al                                                         ; +0x17e, 0x14044e20e\njz      short loc_14044E220                                            ; +0x180, 0x14044e210\nmov     rcx, r14                                                       ; +0x182, 0x14044e212\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x185, 0x14044e215\nmov     rax, r14                                                       ; +0x18b, 0x14044e21b\njmp     short loc_14044E235                                            ; +0x18e, 0x14044e21e\nmov     rcx, [r14]                                                     ; +0x190, 0x14044e220\nmov     r8, [rcx+8]                                                    ; +0x193, 0x14044e223\nmov     edx, 1                                                         ; +0x197, 0x14044e227\nmov     rcx, r14                                                       ; +0x19c, 0x14044e22c\ncall    r8                                                             ; +0x19f, 0x14044e22f\nmov     rax, r15                                                       ; +0x1a2, 0x14044e232\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x1a5, 0x14044e235\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x1aa, 0x14044e23a\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x1af, 0x14044e23f\nadd     rsp, 40h                                                       ; +0x1b4, 0x14044e244\npop     r15                                                            ; +0x1b8, 0x14044e248\npop     r14                                                            ; +0x1ba, 0x14044e24a\npop     rdi                                                            ; +0x1bc, 0x14044e24c\nretn                                                                   ; +0x1bd, 0x14044e24d", "xrefs": ["KeybindingsLayer::openBindingEditor @ 0x1403d8106", "LevelBindingsLayer::openBindingEditor @ 0x14044c93d", "<???> @ 0x1409275cc"], "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"}