The iran war - for all it was a bad idea eliminated a lot of iran's war capacity which seems to be the real goal - near as anyone can tell what they were. Regime change would be nice, but needs more than the us was ever gave indication they would do.
the followon effects like the closing of the straight were obvious which is why few Iran hatehs thought it was a good idea
The estimates I’ve seen say they lost/used 33% of their conventional capacity, 33% was rendered inoperable but recoverable.
I’d guess with the ceasefire, they’re probably back to 40-50% online.
The nuclear capability story is even worse: they were mostly mothballed prewar, suffered partial refinement damage and minimal stockpile loss. Refinement will be back online sometime in the next few years (unless this is a forever war), with weapons following shortly after that.