REDIVIVUS

Proposals / #1636

Type Mac BNCLIENT_InitState as void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

Mac body reads no args: zeroes three BNCLIENT state globals and initialises a critical section via the shim at 0x0002aeda; plain RET. Its caller BNCLIENT_GetCallbacks (0x0005ad3c) overwrites EAX right after the call, so the result is unused.

Changes 1, applied together

  1. Set prototype mac 0x000557ec

    signatureundefined BNCLIENT_InitState(void)→void BNCLIENT_InitState(void)
    conventionunknown→__cdecl