Mac MACDISPLAY_Shutdown: BOOL __cdecl (void) display-driver slot
It reads no register or stack args. It clears the driver-active flag and two driver globals, calls the restore hook through a global pointer (0x0003695f), and returns MOV EAX,1. It is the +0x38 "shutdown" slot of the display-driver table (data ref 0x00397a18), called with no args by MACDISPLAY_SelectDriver 0x00036d2a (CALL [EAX+0x38]) before switching drivers.
Changes 1, applied together
Set prototype
mac 0x00036938signatureundefined MACDISPLAY_Shutdown(void)→BOOL MACDISPLAY_Shutdown(void)conventionunknown→__cdecl