REDIVIVUS

Proposals / #1452

Mac SMemDestroy: BOOL __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

The Mac body clears a global byte flag ([EAX+0x3d7d0f] = 0), then MOV EAX,1 / RET. There are no register or stack argument reads. The return is an explicit constant 1, matching the Storm Destroy contract. Its Windows twin 0x00412240 SMemDestroy takes no arguments and returns a 4-byte value.

Changes 1, applied together

  1. Set prototype mac 0x00018c2d

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