If I remember correctly the hood switch on the grand prix is not a simple open and closed switch...It has resisters inside and depending weather it it latched or unlatched a switch inside switches different resistance.

All what would have to be done to bypass it is to get a resister equal to what the switches resistence would normally be when closed.

I will look for the resister value tonight and post back, I remember seeing it in my car service program when I was going to add oem remote start to an 04.