I also thought it was wrong the first time I read it. It is either:
`We hook into X and listen for Y.` or
`We hook into blah by replacing X and listening for Y.`

I think the most obvious interpretation as you read it for the first time is `We hook into X and listening for Y.` Could we rewrite it to remove the ambiguity?