add cocos2d function
cpp watchdogs setting