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