REDIVIVUS

Proposals / #1570

Mac Rgn_DestroyAllRegions: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no incoming register or stack args: ECX/EDX are loaded from globals before use, and there are no [EBP+n] reads. It frees every non-NULL entry of the global region table (0x0001e374 per entry), frees the table itself (0x0001e39a), and zeroes the table pointer and count. Plain RET with no return value. Caller: WinDestroy 0x0001ed5a.

Changes 1, applied together

  1. Set prototype mac 0x000329b1

    signatureundefined Rgn_DestroyAllRegions(void)→void Rgn_DestroyAllRegions(void)
    conventionunknown→__cdecl