Mac INPUT_DialogEnterKey: __cdecl void (D2UIMouseMsgStrc * pMsg) (from Windows twin)
Ghidra vmac 111 · 3c6740e
Mac body reads [EBP+8], writes its result fields (+0x18 = 1, +0x1c = 0) and passes it to the message-done call, then runs the active dialog's selected-line callback; no ECX/EDX input, RET / tail JMP. Windows twin INPUT_DialogEnterKey 0x004b79d0 is void (D2UIMouseMsgStrc * pMsg).
Changes 1, applied together
Set prototype
mac 0x000a47d2signatureundefined INPUT_DialogEnterKey(void)→void INPUT_DialogEnterKey(D2UIMouseMsgStrc * pMsg)conventionunknown→__cdecl