REDIVIVUS

Proposals / #1487

Mac SErrDestroy: BOOL __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

There are no register or stack argument reads. It deletes the SErr critical section (0x00010eec), clears the init flag, frees every node of the error-string list (HeapFree via 0x00028c89), releases the TLS slot if one is allocated, then MOV EAX,1 (0x0000ff50) / RET. This is the Storm subsystem Destroy contract, called from MyRuntimeTerminate.

Changes 1, applied together

  1. Set prototype mac 0x0000fed5

    signatureundefined SErrDestroy(void)→BOOL SErrDestroy(void)
    conventionunknown→__cdecl