subclass cc.Follow and CCFollow(.cpp) using jsb

I subclassed cc.Follow in javascript to override the method step. I had to do that because the sprite I have to follow is within a scaled layer.
How can I subclass the CCFollow.cpp and make my .js code use it?