Per a longtime Iranian American friend of mine, who does NOT like Trump at all, this general was an enemy even to most of the Iranian citizenry as he had many of them killed over the years. So, he was considered evil by many of his countrymen. Therefore, folks shouldn’t be fooled by the enormous crowd at his funeral (my friend thinks most were forced to attend as they hated him with a passion). Though not Trump supporters for the most part, most of the Iranian citizenry has never been outrightly anti-US and, if anything, this assassination may help improve feelings toward the US from the bulk of the citizens.
In a related manner that occurred after the funeral, note that Iranian students intentionally avoided disrespecting the US and Israel by avoiding stepping on their flags per this:
https://www.google.com/amp/s/www.rferl.org/amp/30377074.html