to add the release pointer and register pointer in the hook class of routine.cpp