Type Mac WINMAIN_SetCharDiedFlag as void __cdecl (void)
Mac body reads no args: ORs 8 into the word flags at +0x1ef of the client game-info global (the char-died bit); plain RET, EAX is a leftover pointer. The one caller UI_SetUIState (0x000f4f55) ignores EAX.
Changes 1, applied together
Set prototype
mac 0x0005dc23signatureundefined WINMAIN_SetCharDiedFlag(void)→void WINMAIN_SetCharDiedFlag(void)conventionunknown→__cdecl