Mac Mem_DestroyMasterPointer: void __cdecl (void)
It reads no register or stack args. It walks the global master-pointer block chain (next at +0x3c) and frees each block through the allocator (0x0001e374 with [ESP]=block, [ESP+4]=0). Plain RET; EAX is only the loop variable. It is reached by tail JMP from WinDestroy 0x0001ed64.
Changes 1, applied together
Set prototype
mac 0x000289b8signatureundefined Mem_DestroyMasterPointer(void)→void Mem_DestroyMasterPointer(void)conventionunknown→__cdecl