Mac CMD_GetKeyNameForCommand: __cdecl WCHAR * (int32_t nCmdIndex, int32_t nSlot)
Ghidra vmac 111 · 3c6740e
Mac body: [EBP+8] is compared with each 10-byte key-binding entry's command field and [EBP+0xc] with its slot field over 0x72 entries; the matched key code selects a string-table index whose localized string is returned in EAX (fallback string 0xeb2 when unbound). No ECX/EDX input, plain RET. Windows twin CMD_GetKeyNameForCommand 0x00469de0 is WCHAR * (int32_t nCmdIndex, int32_t nSlot).
Changes 1, applied together
Set prototype
mac 0x000a2209signatureundefined CMD_GetKeyNameForCommand(void)→WCHAR * CMD_GetKeyNameForCommand(int32_t nCmdIndex, int32_t nSlot)conventionunknown→__cdecl