I don't see it the same way. You don't HAVE to kick the FG. Both situations are very unlikely. Philly had a 4th down with 57 seconds left from the 36 (a 53 yard attempt) and a 4th on the 22 with 24 seconds left (39 yard attempt). Which one are you in reference to? If you really mean 36 seconds left, they had a 2 and 10 from the 22 which is not a FG situation and wouldn't ever be considered unless it was a game-tying or game-winning kick.
Assuming you mean the decision at 57 seconds left...
1. If you kick the FG AND get the onside kick, you still have to drive approximately 50-55 yards for a TD in about 50 seconds against a dime/prevent defense that will give the middle of the field only with NO timeouts.
2. If you go for it and eventually score AND get the onside kick, you still have to drive approximately 25-30 yards in less than 50 seconds, depending on how long it takes to get the TD, against a nickel or dime coverage that will force everything in front, but leave the middle of the field somewhat open, with NO timeouts.
Plus, if take the TD first and still have time left, a lucky play can win the game for you without the need of a 2-point conversion. If you kick the FG and then get the TD, you have to decide to go for the tie or the win, which leaves the coach open to more second-guessing. The other way, the point is moot because 13 points wins it.
Plus I would bet the most people would say that you have to get the 'harder' score first, which would have been the TD.
In the NFL, teams don't come back from these situations very often. I'm scared of someone who bases football arguments on Madden. It's pretty a realistic game, but come on... 10 points down with less than a minute is rarely overcome in the NFL.