REDIVIVUS

Proposals / #1563

Mac SVidDestroy: BOOL __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no incoming register or stack args (ECX/EDX are only written; there are no [EBP+n] reads). It ends every playing video (SVidPlayEnd 0x0001dea5) and frees the four SVid buffers (0x0000e610) and their table (SMemFree 0x00018c44, line 0x272). It then frees a global handle (0x00029fec) and returns MOV EAX,1 (0x0001df5d). This is the Storm subsystem Destroy contract; StormDestroy calls it at 0x000096f6.

Changes 1, applied together

  1. Set prototype mac 0x0001de67

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