//
// KeybindingsLayer::nameForAction from 0x1403d80a0 to 0x1403d80ed (77 bytes)
//
// 3 xrefs:
// > ??> @ 0x140786658
// > ??> @ 0x140793c60
// > ??> @ 0x140924a88
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:31:37 +0000
//
_QWORD *__fastcall KeybindingsLayer::nameForAction(__int64 a1, _QWORD *a2, int a3)
{
const char *v4; // rax
__int64 v5; // rdx
size_t v6; // r8
v4 = GJKeybindManager::actionToString(a3);
v6 = -1;
*(_OWORD *)a2 = 0;
a2[2] = v5;
a2[3] = v5;
do
++v6;
while ( v4[v6] != (_BYTE)v5 );
sub_14003D230(a2, v4, v6);
return a2;
}