How to retrieve stored procedures from raw data
Stored Procedures are physically stored in the mysql.proc table as a MyISAM table

Simply copy

/var/lib/mysql/mysql/proc.frm
/var/lib/mysql/mysql/proc.MYD
/var/lib/mysql/mysql/proc.MYI


If the new installation is the same major version of mysql, copying should do it for you

It would be safer to go back to the old setup, start mysql, and dump the stored procedures.

See my old post Dump only the Stored Procedures in MySQL