REDIVIVUS

Proposals / #1485

Mac SGdiDestroy: BOOL __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

There are no incoming register or stack argument reads: ECX/EDX are only written (SETcc/MOVZX/XOR/LEA) before use, and there are no [EBP+n] reads. It walks the SGdi object list and frees each entry, then MOV EAX,1 (0x000179d3) / RET. This is the Storm subsystem Destroy contract; StormDestroy calls it at 0x000096f1.

Changes 1, applied together

  1. Set prototype mac 0x0001790c

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