Type Mac WINMAIN_GetGameIP as char* __cdecl (void)
Mac body reads no args: loads the client game-info global and returns &info[0x37] when that string is non-empty, else NULL (same shape as the typed sibling WINMAIN_GetGameName, char* (void)). Plain RET. AUTOMAP_Draw (0x00099fbe) uses the result.
Changes 1, applied together
Set prototype
mac 0x0005dbe3signatureundefined WINMAIN_GetGameIP(void)→char* WINMAIN_GetGameIP(void)conventionunknown→__cdecl