Voltage regulator smoking?

OUCH!!!
Layson's has the piece in the firewall (installs from the inside) part# 316-46842... $119, but I presume that the wires in both sides are toasted too. The entire front wiring harness Headlights to the firewall is $392 and everything under the dash is $1120.