REDIVIVUS

Proposals / #1484

Mac SEvtDestroy: BOOL __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

There are no incoming register or stack argument reads: ECX is always loaded from globals or nodes before use, and there are no [EBP+n] reads. Under the SEvt critical section (0x0030b354/0x0030b35a) it walks the handler hash table, unlinks and frees each node, then MOV EAX,1 (0x000111d2) / RET. This is the Storm subsystem Destroy contract; StormDestroy calls it at 0x0000970f.

Changes 1, applied together

  1. Set prototype mac 0x00011118

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