REDIVIVUS

Proposals / #918

Mac INPUT_ConfigToggleLeft: __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. Windows twin INPUT_ConfigToggleLeft 0x004a5b30 is void (D2UIMouseMsgStrc * pMsg).

Changes 1, applied together

  1. Set prototype mac 0x000cdead

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