REDIVIVUS

Proposals / #1642

Type Mac CACHE_StaticInitCritSect as void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

Static initialiser: reads no args, constructs the CACHE 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 0x0005aa90

    signatureundefined CACHE_StaticInitCritSect(void)→void CACHE_StaticInitCritSect(void)
    conventionunknown→__cdecl