REDIVIVUS

Proposals / #1503

Mac SERR_InitStatics: void __cdecl (void) static initializer

checked · by KierTaylor · submitted 2026-11-08

This is a static-init function with no callers, and it reads no register or stack args. It sets up the static SErr TSList head (self-linked, |1 sentinel), constructs the SErr critical section (0x000176a0 at 0x00011099), and registers both destructors with __cxa_atexit 0x0030b0cc (0x0001108b, 0x000110af). Plain RET with no meaningful return.

Changes 1, applied together

  1. Set prototype mac 0x00011040

    signatureundefined SERR_InitStatics(void)→void SERR_InitStatics(void)
    conventionunknown→__cdecl