REDIVIVUS

Proposals / #919

Mac INPUT_ConfigToggleRight: __cdecl void (D2UIMouseMsgStrc * pMsg) (from Windows twin)

applied · by KierTaylor · submitted 2026-11-02, applied 2026-11-02

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 (mirror of INPUT_ConfigToggleLeft). Windows twin INPUT_ConfigToggleRight 0x004a5b90 is void (D2UIMouseMsgStrc * pMsg).

Changes 1, applied together

  1. Set prototype mac 0x000cdf30

    signatureundefined INPUT_ConfigToggleRight(void)→void INPUT_ConfigToggleRight(D2UIMouseMsgStrc * pMsg)
    conventionunknown→__cdecl