REDIVIVUS

Proposals / #1643

Type Mac BNET_StaticInitLogCritSect as void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

Static initialiser: reads no args, constructs the Bnet log critical-section global (call 0x000176a0) and registers its destructor with __cxa_atexit (0x0030b0cc); plain RET, EAX is a leftover nobody reads.

Changes 1, applied together

  1. Set prototype mac 0x0005ad60

    signatureundefined BNET_StaticInitLogCritSect(void)→void BNET_StaticInitLogCritSect(void)
    conventionunknown→__cdecl