REDIVIVUS

Proposals / #1637

Type Mac BNCLIENT_StaticInitSRP as void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

Static initialiser: reads no args, constructs the SRP global (call 0x002f9330) and registers its destructor with __cxa_atexit (0x0030b0cc); plain RET, EAX is the atexit leftover and nobody reads it (it runs from the module init list).

Changes 1, applied together

  1. Set prototype mac 0x00058b50

    signatureundefined BNCLIENT_StaticInitSRP(void)→void BNCLIENT_StaticInitSRP(void)
    conventionunknown→__cdecl