REDIVIVUS

Proposals / #1500

Mac SCMD_InitStaticLists: void __cdecl (void) static initializer

checked · by KierTaylor · submitted 2026-11-08

This is a static-init function with no callers (it is reached from the module init table). It reads no register or stack args. It sets up two empty TSList heads (self-linked, |1 sentinel) and registers their destructors with __cxa_atexit 0x0030b0cc (0x0000e58b, 0x0000e5c0). Plain RET; EAX is __cxa_atexit's ignored result.

Changes 1, applied together

  1. Set prototype mac 0x0000e540

    signatureundefined SCMD_InitStaticLists(void)→void SCMD_InitStaticLists(void)
    conventionunknown→__cdecl