This is generally a tropical species, mainly northwards from the far north coast of NSW. I do not know it naturalised south of Sydney - was this plant naturalised?
Possibly from dumped garden waste. https://apps.lucidcentral.org/plants_se_nsw/text/entities/asclepias_curassavica.htm The app is almost at the beta testing stage. Not long now, I hope.