I was going to bring up the same thing.
In one of Elmore Leonard’s pulp novels the main character is a writer and one of the people interested in his latest story is Dustin Hoffman. I suspect that there was a lot of actual events in it. He really threw some shade on Dustin.