Justin Theroux wrote Tropic Thunder.
Justin Theroux . He is also known as a screenwriter for films such as Tropic Thunder , Iron Man 2 , Rock of Ages , and Zoolander 2 . Tropic Thunder . Stiller 's idea for the film originated while playing a minor role in Empire of the Sun , and he later enlisted Theroux and Cohen to help complete the script .