The damage associated with data breaches apparently caused Equifax to lose $4 billion in value and Facebook to lose about $50 billion, and even if not every dollar of those losses was due to the breaches, it was a lot.
By contrast, have there been cases where companies were seriously hurt or lost market value because their source code was compromised? I heard about Windows source code leaking last summer but not about it affecting Microsoft's stock price or even hurting the company.
Maybe the reason is that even if an outsider stole the entire source code, they still wouldn't be able to sell it legally, so it wouldn't represent a competitive threat to the company. Possibly a thief could use the source code to determine how a competitor is doing something, but that just helps the thief make a product that does the same thing, at the same level of quality; that's not going to steal market share from an entrenched incumbent. There is the risk of attackers finding security holes in the source code, but they were probably already looking for security holes through reverse engineering anyway.
Regardless of speculation over the reasons, I'm just asking: have companies been hurt by a breach of their product's source code? How much?