Hazard Warning Switch Circuit: Description
WARNING: This page is about a different car, the 2008 Toyota Yaris. However, it is still accessible from the selected car via links, so may be relevant.
When the hazard warning signal switch is turned on, the turn signal flasher relay in the main body ECU turns on to flash the hazard warning signal lights.