Fixed the generated assembly for the call hook