Mac SOUNDHDR_ShutdownCleanup: __cdecl void (void) (from Windows twin)
Ghidra vmac 111 · 3c6740e
Mac body reads no ECX/EDX/[EBP+n]: if sound is initialised it calls the stop/cleanup routines, frees the two sound tables (lines 0x181, 0x18e), releases each channel and zeroes the globals; EAX is not set to a meaningful value before the plain RET. Windows twin SOUNDHDR_ShutdownCleanup 0x00482940 is void (void).
Changes 1, applied together
Set prototype
mac 0x0009525asignatureundefined4 SOUNDHDR_ShutdownCleanup(void)→void SOUNDHDR_ShutdownCleanup(void)convention__cdecl