Mac SOUNDHDR_GetGlobal3: __cdecl int (void) (from Windows twin)
Ghidra vmac 111 · 3c6740e
Mac body is CALL/POP EAX; MOV EAX,[EAX+0x3b1147]; RET: no arguments, returns a dword global. Windows twin SOUNDHDR_GetGlobal3 0x00481820 is int (void).
Changes 1, applied together
Set prototype
mac 0x000959f5signatureundefined4 SOUNDHDR_GetGlobal3(void)→int SOUNDHDR_GetGlobal3(void)convention__cdecl