Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
源码:
Animation * animation = Animation::create();
SpriteFrame * spriteFrame = G_cache->getSpriteFrameByName(“fireType1_1.png”);
animation->addSpriteFrame(spriteFrame);
spriteFrame = G_cache->getSpriteFrameByName(“fireType1_2.png”);
animation->addSpriteFrame(spriteFrame);
animation->setDelayPerUnit(0.2f);
Animate *animate = Animate::create(animation);
Node *node = Node::create();
addChild(node,1000);
node->runAction(RepeatForever::create(animate));
node->setPosition(100,100);
中断点:

