ccspritescale9
A working version of CCSpriteScale9 for cocos2d v2.0 originally written by jpsarda http://jpsarda.tumblr.com/post/9162433577/scale9grid-for-cocos2d
There are a couple versions of this file floating around the web that are currently broken for retina devices. This copy fixes all the issues. Note that this only works for cocos2d v2.x