REDIVIVUS

Proposals / #1517

Mac SFILE_InitStatics: void __cdecl (void) static initializer

checked · by KierTaylor · submitted 2026-11-08

This is a static-init function with no direct callers. It reads no register or stack args (there are no [EBP+n] reads and no incoming ECX/EDX use in 0x00017700-0x00017885). It sets up the SFile static TSList heads and critical sections and registers each destructor with __cxa_atexit 0x0030b0cc (seven calls, 0x0001774b..0x00017879). Plain RET with no meaningful return.

Changes 1, applied together

  1. Set prototype mac 0x00017700

    signatureundefined SFILE_InitStatics(void)→void SFILE_InitStatics(void)
    conventionunknown→__cdecl