PhysicsSprite* PhysicsSprite::createWithSpriteFrameName(const char *pszSpriteFrameName) { PhysicsSprite* pRet = new (std::nothrow) PhysicsSprite(); if (pRet && pRet->initWithSpriteFrameName(pszSpriteFrameName)) { pRet->autorelease(); } else { CC_SAFE_DELETE(pRet); } return pRet; }