SAN FRANCISCO — Reece Hirsch saw it coming: Intrusion, the latest legal thriller by the Morgan, Lewis & Bockius partner, is all about state-sponsored hacking.

In the novel, data privacy attorney Chris Bruen travels to China seeking evidence that the country’s government may be responsible for stealing search algorithms from the world’s most popular search engine.