cocos2dx3.0 找到cocostuido场景中的UI中的控件

我想对场景中的UI层中的背景进行操作,但是cocos2dx3.0写的代码总有问题。
请大侠看看

bool Welcome::init()
{
auto node = cocostudio::SceneReader::getInstance()->createNodeWithSceneFile(“Welcome.json”);

if(node)
{
addChild(node);
}

auto child = node->getChildByTag(10003);//场景中UI的node的tag
auto reader = (cocostudio::ComRender*)child->getComponent(“GUIComponent”); //场景中UI的GUIComponent
auto layer = (Layer*)reader->getNode();
auto mlayout = (gui::Layout*)layer->getChildByTag(1);//UI中Panel
auto background = mlayout->getChildByTag(4);//这个是背景TAG,是个PNG,释掉这行没问题,能正常运行能显示出来效果,如果加上这个找到背景图到这行就出错。
//想对background 进行操作比如移动位置等。
return true;
}
怎么取得场景中的UI层里面的资源?

问一下,这个background是什么类型,是否是因为类型转换失败而报错的?希望将报错信息提供一下。