REDIVIVUS

Proposals / #1649

Type Mac WINMAIN_SetCharDiedFlag as void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

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

  1. Set prototype mac 0x0005dc23

    signatureundefined WINMAIN_SetCharDiedFlag(void)→void WINMAIN_SetCharDiedFlag(void)
    conventionunknown→__cdecl