Type Mac BNDOWNLOAD_StaticInitCritSect as void __cdecl (void)
Static initialiser: reads no args, constructs the BNDOWNLOAD 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
Set prototype
mac 0x00054860signatureundefined BNDOWNLOAD_StaticInitCritSect(void)→void BNDOWNLOAD_StaticInitCritSect(void)conventionunknown→__cdecl