spAtlas* atlas = spAtlas_createFromFile("spine/M/M.atlas", 0);
spSkeletonJson* json = spSkeletonJson_create(atlas);
spSkeletonData* skeletonData = spSkeletonJson_readSkeletonDataFile(json, "spine/M/M.json");
spSkeletonJson_dispose(json);
auto skeleton1 = SkeletonAnimation::createWithData(skeletonData);
this->addChild(skeleton1);
If you write this, it will go wrong
In the old version it is right, but in the new version is wrong!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!