If you want to generate code for some CCB(cocosbuilder) files ,try this script. Hope it helps!