REDIVIVUS

Proposals / #1571

Mac PATHCACHE_Initialize: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no register or stack args. It allocates and zeroes the 16-byte path-cache header (SMemAlloc 0x00018b0b), lazily creates the handler UPP (a guarded static set to PATHCACHE_FlushEventHandler), and installs it on the application event target (GetApplicationEventTarget 0x0030aa18; InstallEventHandler 0x0030aaae with 2 event types and the handler-ref out global). EAX is only InstallEventHandler's ignored status. Caller: WIN32MAC_Initialize.

Changes 1, applied together

  1. Set prototype mac 0x0002d24c

    signatureundefined PATHCACHE_Initialize(void)→void PATHCACHE_Initialize(void)
    conventionunknown→__cdecl