We are working at multiple removes, here, since we have deliberately incomplete information.
Layoffs are common in the game industry, having been laid off is certainly no bar to anything. And while in the initial round of job hunting, all those laid off are competing with each other, as years go by, the people you worked with previously should be your best path in to new jobs -- if they are at a company looking to hire, then "I worked with this person at Studio X, would love to work with them again" is the fast path to an in-person interview. If that is not happening, then the problem is more likely to be the applicant than the industry. I say more likely because if relocation is out of the question, or there is simply bad luck on hiring cycles, then that is not going to apply.
The rest of high tech is absolutely hiring, and is so desperate to hire that it will hire people whose programming background is "spent three months in a bootcamp". Someone with an extensive professional programming history in the game industry (a field which is held in unreasoned respect by the rest of technology, who presume it is more technically demanding than it actually is) should be able to easily move over. It is certainly not the case that the rest of high tech is *more* prone to ageism than the game industry is -- the game industry skews remarkably young in staff demographics.
So, as we said when your friend was posting here in person, the reported incidents don't match our experiences of how the software industry (in and out of games) works. Without more details, that makes the claims less credible.