Mac MSG_PostAltF4Keys: void __cdecl (void)
It reads no register or stack args. It posts the synthetic Alt+F4 sequence through MSG_EnqueueMessage 0x000297df (regparm: ECX=msg, EDX=wParam, [ESP]=lParam 0): WM_KEYDOWN VK_MENU|0x80000000, WM_KEYDOWN VK_F4, WM_KEYUP VK_F4, WM_KEYUP VK_MENU. Plain RET; EAX is only the last enqueue result. The caller MAC_HandleMenuCommand 0x0019bcc2 JMPs on without reading EAX.
Changes 1, applied together
Set prototype
mac 0x000298e3signatureundefined MSG_PostAltF4Keys(void)→void MSG_PostAltF4Keys(void)conventionunknown→__cdecl