The USSR would've simply directly funded and/or militarily supported Hamas, Hezbollah, etc. And they did do so with with the PFLP until the USSR was overthrown.
Though ig two superpowers militarily supporting opposide sides has the risk of just turning the place into a warzone like what happened with Afghanistan.
"What would happen if capital succeeded in smashing the Republic of Soviets? There would set in an era of the blackest reaction in all the capitalist and colonial countries, the working class and the oppressed peoples would be seized by the throat, the positions of international communism would be lost."
The GDR called western govs' habit of pinkwashing their imperialism — only possible because non-imperial core countries are the victims of colonialism are thus less economically stable, which is generally correlated with LGBT rights — the "political misuse of homosexuals" and had started improving LGBT rights and protections in the 80s.
If the Soviet bloc wasn't overthrown afterwards, I'm sure the rest of the Soviet states would've followed suit. Probably part of why Cuba did so too.