The fallout from the 38 Studios bankruptcy has already cost the state $840,000 in legal fees and related costs and the resulting lawsuit could end up costing taxpayers millions more, according to documents provided in response to a public records request.