Fixed invoke to consider dereference operators as targets for mem-ptrs