{"type": "func", "start": 5372739744, "end": 5372739821, "name": "KeybindingsLayer::nameForAction", "pseudocode": "// \n// KeybindingsLayer::nameForAction from 0x1403d80a0 to 0x1403d80ed (77 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140786658\n// > <???> @ 0x140793c60\n// > <???> @ 0x140924a88\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:31:37 +0000\n// \n\n_QWORD *__fastcall KeybindingsLayer::nameForAction(__int64 a1, _QWORD *a2, int a3)\n{\n  const char *v4; // rax\n  __int64 v5; // rdx\n  size_t v6; // r8\n\n  v4 = GJKeybindManager::actionToString(a3);\n  v6 = -1;\n  *(_OWORD *)a2 = 0;\n  a2[2] = v5;\n  a2[3] = v5;\n  do\n    ++v6;\n  while ( v4[v6] != (_BYTE)v5 );\n  sub_14003D230(a2, v4, v6);\n  return a2;\n}", "assembly": "; \n; KeybindingsLayer::nameForAction from 0x1403d80a0 to 0x1403d80ed (77 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140786658\n; > <???> @ 0x140793c60\n; > <???> @ 0x140924a88\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:31:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403d80a0\nsub     rsp, 30h                                                       ; +0x2, 0x1403d80a2\nmov     rbx, rdx                                                       ; +0x6, 0x1403d80a6\nmov     ecx, r8d                                                       ; +0x9, 0x1403d80a9\nxor     edx, edx                                                       ; +0xc, 0x1403d80ac\ncall    GJKeybindManager__actionToString                               ; +0xe, 0x1403d80ae\nxorps   xmm0, xmm0                                                     ; +0x13, 0x1403d80b3\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x16, 0x1403d80b6\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x1d, 0x1403d80bd\nmov     [rbx+10h], rdx                                                 ; +0x20, 0x1403d80c0\nmov     [rbx+18h], rdx                                                 ; +0x24, 0x1403d80c4\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x1403d80c8\ninc     r8                                                             ; +0x30, 0x1403d80d0\ncmp     [rax+r8], dl                                                   ; +0x33, 0x1403d80d3\njnz     short loc_1403D80D0                                            ; +0x37, 0x1403d80d7\nmov     rdx, rax                                                       ; +0x39, 0x1403d80d9\nmov     rcx, rbx                                                       ; +0x3c, 0x1403d80dc\ncall    sub_14003D230                                                  ; +0x3f, 0x1403d80df\nmov     rax, rbx                                                       ; +0x44, 0x1403d80e4\nadd     rsp, 30h                                                       ; +0x47, 0x1403d80e7\npop     rbx                                                            ; +0x4b, 0x1403d80eb\nretn                                                                   ; +0x4c, 0x1403d80ec", "xrefs": ["<???> @ 0x140786658", "<???> @ 0x140793c60", "<???> @ 0x140924a88"], "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"}