replace c function return address