Mac SMemDestroy: BOOL __cdecl (void)
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
Set prototype
mac 0x00018c2dsignatureundefined SMemDestroy(void)→BOOL SMemDestroy(void)conventionunknown→__cdecl