set some arguments to const
tmp, ready to update to cocos2dx-3.0 formal