{"type": "func", "start": 5373223856, "end": 5373224201, "name": "KeybindCapturePopup::updateChordDisplay", "pseudocode": "// \n// KeybindCapturePopup::updateChordDisplay from 0x14044e3b0 to 0x14044e509 (345 bytes)\n// \n// 6 xrefs:\n// > KeybindCapturePopup::init @ 0x14044e01d\n// > KeybindCapturePopup::inputKeySelected @ 0x14044e3a9\n// > KeybindCapturePopup::onToggleController @ 0x14044edec\n// > KeybindCapturePopup::keyDown @ 0x14044f004\n// > KeybindCapturePopup::keyUp @ 0x14044f0df\n// > <???> @ 0x1409275e4\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\n__int64 __fastcall KeybindCapturePopup::updateChordDisplay(__int64 a1)\n{\n  __int64 v2; // rcx\n  void (__fastcall ***v3)(_QWORD, const char *); // rcx\n  const char *v4; // rdx\n  signed int v5; // edx\n  void **v6; // rax\n  void *v7; // rdx\n  __int64 v8; // rdx\n  bool v9; // di\n  __int64 v10; // rcx\n  bool v11; // di\n  __int64 v12; // rcx\n  void *Src[4]; // [rsp+20h] [rbp-38h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 1080);\n  if ( v2 )\n  {\n    v3 = (void (__fastcall ***)(_QWORD, const char *))(v2 + 360);\n    v4 = \"Press Keys...\";\n    if ( *(_BYTE *)(a1 + 1037) )\n      v4 = \"Press again to set\";\n    (**v3)(v3, v4);\n  }\n  v5 = *(_DWORD *)(a1 + 1032);\n  if ( v5 )\n  {\n    v6 = GJKeybindManager::chordToString(Src, v5);\n    v7 = v6;\n    if ( (unsigned __int64)v6[3] > 0xF )\n      v7 = *v6;\n    (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 1072) + 360LL))(*(_QWORD *)(a1 + 1072) + 360LL, v7);\n    sub_14003D310((__int64)Src);\n    LOBYTE(v8) = 1;\n  }\n  else\n  {\n    (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 1072) + 360LL))(\n      *(_QWORD *)(a1 + 1072) + 360LL,\n      \" \");\n    v8 = 0;\n  }\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1072) + 336LL))(*(_QWORD *)(a1 + 1072), v8);\n  KeybindCapturePopup::updateConflictLabel(a1);\n  v9 = *(_DWORD *)(a1 + 1032) && !*(_BYTE *)(a1 + 1040);\n  v10 = *(_QWORD *)(a1 + 1096);\n  if ( v10 )\n    (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 936LL))(v10, v9);\n  KeybindCapturePopup::fadeButtonSprite(a1, *(_QWORD *)(a1 + 1112), v9);\n  v11 = *(_BYTE *)(a1 + 1036) == 0;\n  v12 = *(_QWORD *)(a1 + 1104);\n  if ( v12 )\n    (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v12 + 936LL))(v12, v11);\n  return KeybindCapturePopup::fadeButtonSprite(a1, *(_QWORD *)(a1 + 1120), v11);\n}", "assembly": "; \n; KeybindCapturePopup::updateChordDisplay from 0x14044e3b0 to 0x14044e509 (345 bytes)\n; \n; 6 xrefs:\n; > KeybindCapturePopup::init @ 0x14044e01d\n; > KeybindCapturePopup::inputKeySelected @ 0x14044e3a9\n; > KeybindCapturePopup::onToggleController @ 0x14044edec\n; > KeybindCapturePopup::keyDown @ 0x14044f004\n; > KeybindCapturePopup::keyUp @ 0x14044f0df\n; > <???> @ 0x1409275e4\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_8], rbx                                               ; +0x0, 0x14044e3b0\npush    rdi                                                            ; +0x5, 0x14044e3b5\nsub     rsp, 50h                                                       ; +0x6, 0x14044e3b6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x14044e3ba\nxor     rax, rsp                                                       ; +0x11, 0x14044e3c1\nmov     [rsp+58h+var_18], rax                                          ; +0x14, 0x14044e3c4\nmov     rbx, rcx                                                       ; +0x19, 0x14044e3c9\nmov     rcx, [rcx+438h]                                                ; +0x1c, 0x14044e3cc\ntest    rcx, rcx                                                       ; +0x23, 0x14044e3d3\njz      short loc_14044E3FD                                            ; +0x26, 0x14044e3d6\nadd     rcx, 168h                                                      ; +0x28, 0x14044e3d8\nlea     rax, aPressAgainToSe; \"Press again to set\"                     ; +0x2f, 0x14044e3df\nlea     rdx, aPressKeys; \"Press Keys...\"                               ; +0x36, 0x14044e3e6\ncmp     byte ptr [rbx+40Dh], 0                                         ; +0x3d, 0x14044e3ed\ncmovnz  rdx, rax                                                       ; +0x44, 0x14044e3f4\nmov     rax, [rcx]                                                     ; +0x48, 0x14044e3f8\ncall    qword ptr [rax]                                                ; +0x4b, 0x14044e3fb\nmov     edx, [rbx+408h]                                                ; +0x4d, 0x14044e3fd\ntest    edx, edx                                                       ; +0x53, 0x14044e403\njz      short loc_14044E440                                            ; +0x55, 0x14044e405\nlea     rcx, [rsp+58h+Src]; Src                                        ; +0x57, 0x14044e407\ncall    GJKeybindManager__chordToString                                ; +0x5c, 0x14044e40c\nmov     rdx, rax                                                       ; +0x61, 0x14044e411\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x64, 0x14044e414\njbe     short loc_14044E41E                                            ; +0x69, 0x14044e419\nmov     rdx, [rax]                                                     ; +0x6b, 0x14044e41b\nmov     rcx, [rbx+430h]                                                ; +0x6e, 0x14044e41e\nadd     rcx, 168h                                                      ; +0x75, 0x14044e425\nmov     rax, [rcx]                                                     ; +0x7c, 0x14044e42c\ncall    qword ptr [rax]                                                ; +0x7f, 0x14044e42f\nnop                                                                    ; +0x81, 0x14044e431\nlea     rcx, [rsp+58h+Src]                                             ; +0x82, 0x14044e432\ncall    sub_14003D310                                                  ; +0x87, 0x14044e437\nmov     dl, 1                                                          ; +0x8c, 0x14044e43c\njmp     short loc_14044E45C                                            ; +0x8e, 0x14044e43e\nmov     rcx, [rbx+430h]                                                ; +0x90, 0x14044e440\nadd     rcx, 168h                                                      ; +0x97, 0x14044e447\nmov     rax, [rcx]                                                     ; +0x9e, 0x14044e44e\nlea     rdx, asc_1406ED6E4; \" \"                                        ; +0xa1, 0x14044e451\ncall    qword ptr [rax]                                                ; +0xa8, 0x14044e458\nxor     edx, edx                                                       ; +0xaa, 0x14044e45a\nmov     rcx, [rbx+430h]                                                ; +0xac, 0x14044e45c\nmov     rax, [rcx]                                                     ; +0xb3, 0x14044e463\ncall    qword ptr [rax+150h]                                           ; +0xb6, 0x14044e466\nmov     rcx, rbx                                                       ; +0xbc, 0x14044e46c\ncall    KeybindCapturePopup__updateConflictLabel                       ; +0xbf, 0x14044e46f\ncmp     dword ptr [rbx+408h], 0                                        ; +0xc4, 0x14044e474\njz      short loc_14044E48B                                            ; +0xcb, 0x14044e47b\ncmp     byte ptr [rbx+410h], 0                                         ; +0xcd, 0x14044e47d\njnz     short loc_14044E48B                                            ; +0xd4, 0x14044e484\nmov     dil, 1                                                         ; +0xd6, 0x14044e486\njmp     short loc_14044E48E                                            ; +0xd9, 0x14044e489\nxor     dil, dil                                                       ; +0xdb, 0x14044e48b\nmov     rcx, [rbx+448h]                                                ; +0xde, 0x14044e48e\ntest    rcx, rcx                                                       ; +0xe5, 0x14044e495\njz      short loc_14044E4A7                                            ; +0xe8, 0x14044e498\nmov     rax, [rcx]                                                     ; +0xea, 0x14044e49a\nmovzx   edx, dil                                                       ; +0xed, 0x14044e49d\ncall    qword ptr [rax+3A8h]                                           ; +0xf1, 0x14044e4a1\nmovzx   r8d, dil                                                       ; +0xf7, 0x14044e4a7\nmov     rdx, [rbx+458h]                                                ; +0xfb, 0x14044e4ab\nmov     rcx, rbx                                                       ; +0x102, 0x14044e4b2\ncall    KeybindCapturePopup__fadeButtonSprite                          ; +0x105, 0x14044e4b5\ncmp     byte ptr [rbx+40Ch], 0                                         ; +0x10a, 0x14044e4ba\nsetz    dil                                                            ; +0x111, 0x14044e4c1\nmov     rcx, [rbx+450h]                                                ; +0x115, 0x14044e4c5\ntest    rcx, rcx                                                       ; +0x11c, 0x14044e4cc\njz      short loc_14044E4DE                                            ; +0x11f, 0x14044e4cf\nmov     rax, [rcx]                                                     ; +0x121, 0x14044e4d1\nmovzx   edx, dil                                                       ; +0x124, 0x14044e4d4\ncall    qword ptr [rax+3A8h]                                           ; +0x128, 0x14044e4d8\nmovzx   r8d, dil                                                       ; +0x12e, 0x14044e4de\nmov     rdx, [rbx+460h]                                                ; +0x132, 0x14044e4e2\nmov     rcx, rbx                                                       ; +0x139, 0x14044e4e9\ncall    KeybindCapturePopup__fadeButtonSprite                          ; +0x13c, 0x14044e4ec\nmov     rcx, [rsp+58h+var_18]                                          ; +0x141, 0x14044e4f1\nxor     rcx, rsp; StackCookie                                          ; +0x146, 0x14044e4f6\ncall    __security_check_cookie                                        ; +0x149, 0x14044e4f9\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x14e, 0x14044e4fe\nadd     rsp, 50h                                                       ; +0x153, 0x14044e503\npop     rdi                                                            ; +0x157, 0x14044e507\nretn                                                                   ; +0x158, 0x14044e508", "xrefs": ["KeybindCapturePopup::init @ 0x14044e01d", "KeybindCapturePopup::inputKeySelected @ 0x14044e3a9", "KeybindCapturePopup::onToggleController @ 0x14044edec", "KeybindCapturePopup::keyDown @ 0x14044f004", "KeybindCapturePopup::keyUp @ 0x14044f0df", "<???> @ 0x1409275e4"], "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"}