Mac ListBox_On_WM_LBUTTONDOWN: int32_t __fastcc (void* pWindow ECX, int32_t dwLParam EDX)
ECX -> ESI = the list box window (data via GetProp 0x00031618). EDX -> EBX = the mouse lParam: SAR EBX,0x10 takes the y coordinate for the hit test 0x0002895e. On a hit it selects the item (0x0002856e), sets focus (0x000304b5), captures the mouse (SetCapture 0x000282c0) and starts a 100 ms timer (SetTimer 0x000296ce). It returns [EBP-0x10]: 0 when handled, -1 otherwise. There are no stack args. This is the WM_LBUTTONDOWN handler of ListBox_WndProc.
Changes 1, applied together
Set prototype
mac 0x00028224signatureundefined ListBox_On_WM_LBUTTONDOWN(void)→int32_t ListBox_On_WM_LBUTTONDOWN(void* pWindow, int32_t dwLParam)conventionunknown→__fastcc