Type Mac BNMESSQUEUE_DeleteCritSect as void __cdecl (void)
Mac body reads no args: passes the address of the message-queue critical section global to the DeleteCriticalSection shim at 0x0002af4c; plain RET, EAX is a leftover. Its only users (BNMESSQUEUE_Shutdown tail JMP) ignore EAX.
Changes 1, applied together
Set prototype
mac 0x00055829signatureundefined BNMESSQUEUE_DeleteCritSect(void)→void BNMESSQUEUE_DeleteCritSect(void)conventionunknown→__cdecl