REDIVIVUS

Proposals / #1502

Mac SCOMP_InitStatics: void __cdecl (void) static initializer

checked · by KierTaylor · submitted 2026-11-08

This is a static-init function with no callers. It reads no register or stack args (there are no [EBP+n] reads and no incoming ECX/EDX use in 0x0000fe80-0x0000febe). It constructs the static SComp critical section (0x000176a0 with [ESP] = LEA global, 0x0000fe97) and registers its destructor with __cxa_atexit 0x0030b0cc (0x0000feb3). Plain RET with no meaningful return.

Changes 1, applied together

  1. Set prototype mac 0x0000fe80

    signatureundefined SCOMP_InitStatics(void)→void SCOMP_InitStatics(void)
    conventionunknown→__cdecl