If we assume that 100 of those worked full time for 2 years on a game, at a salary of $33k USD per year (Game designers in Poland are CHEAP!!)... That works out to $6.6M.
So a price of $1M seems pretty reasonable for a copyright-ignoring competing game house to buy all that code to have something to work from. It's a bit on the high side considering any resulting game would never be able to be sold anywhere in Europe/the US.