Indeed the publisher model for games was copied straight from Hollywood's playbook, so this link is right on the money.
In general, the accounting system works great if the distributor is also the developer (because tax) but really badly if the developer is external (because "net" is a fiction).
This is also why powerful people negotiate for a percentage of gross vs. net.
It's also how record labels do their accounting (and why most musicians make more money from touring than LP/CD/... sales).
Based on my experience (I was involved in several contract negotiations with major game publishers), of the $40 that the publisher is paid by the retailer for a $60 AAA title before it starts getting discounted, at most $14* goes to the developer (and that assumes you deliver boxed media with instructions, etc.) -- if not the publisher will be happy to deduct those costs from your $14. This is assuming the developer created the entire product on their own dime. If the publisher does QA and packaging, that's coming out of your $14.
* Probably more if you're a Brand Name. I imagine that if you've got brand recognition then, like Alec Guinness in Star Wars, you can negotiate a percentage of gross, and it's a whole different ballgame.