Mac VirtualUnlock: BOOL __cdecl (void* pAddress, uint32_t dwSize) Win32 shim
This is the Mac Win32-shim VirtualUnlock. The body ignores its args and returns MOV EAX,1. The only caller, SpiDestroy 0x00019abb, stores [ESP]=the buffer and [ESP+4]=0x2000 (two args, as in Win32 BOOL VirtualUnlock(LPVOID, SIZE_T)). The slots are kept because the caller passes them.
Changes 1, applied together
Set prototype
mac 0x00028d67signatureundefined VirtualUnlock(void)→BOOL VirtualUnlock(void* pAddress, uint32_t dwSize)conventionunknown→__cdecl