Mac INPUT_ConfigToggleLeft: __cdecl void (D2UIMouseMsgStrc * pMsg) (from Windows twin)
Ghidra vmac 111 · 3c6740e
Mac body reads [EBP+8] into ESI and writes the message's result fields (+0x18 = 0/1, +0x1c = 0); no ECX/EDX input; it ends with RET or a tail JMP. This is the UI message-handler shape. Windows twin INPUT_ConfigToggleLeft 0x004a5b30 is void (D2UIMouseMsgStrc * pMsg).
Changes 1, applied together
Set prototype
mac 0x000cdeadsignatureundefined INPUT_ConfigToggleLeft(void)→void INPUT_ConfigToggleLeft(D2UIMouseMsgStrc * pMsg)conventionunknown→__cdecl