How do you retrieve the wallet puzzle hash that is wrapped by CATs?

This question was asked at chia_network.public on Keybase.

You need to find the reveal for the parent of one of the coins sent to the puzzle. The wallet puzzle hash will be in a CREATE_COIN condition. The memo is also the 4th argument.