No, as some portion of the $2.5b goes to Windsurf investors.

Basically, Google bought the top talent from the company. This cash was used (according to articles I read this morning) in part to pay directly out to shareholders, and in exchange Google got the top talent from the company and a license for the software (probably mostly so their new talent didn't have to worry about NDA, non-compete, and patent challenges).

Since this money went to shareholders, not to the company bank, and since top talent fleeing the company reduces the value of the company the overall value of Windsurf likely went down as part of the Google deal. This in turn likely made it cheap enough for the remainder to be purchased by Cognition.