Sorry to dissapoint you but editing functions.php (either) is no different than editing any other vbulletin file.
I really dont have any idea why you encountered many problems, but it's a PHP script, just like showthread.php or private.php so I can guarantee there is no curse on it..
Maybe it's the program you use..Maybe switching back to good old Notepad can help..