#ifndef __CCANIMATEDSPRITE_H__ #define __CCANIMATEDSPRITE_H__ #include namespace gd { class GDH_DLL CCAnimatedSprite : public cocos2d::CCSprite { protected: std::string m_sUnknown1; std::string m_sUnknown2; PAD(20); std::string m_sUnknown3; PAD(4); public: static CCAnimatedSprite* create(const char* file) { return reinterpret_cast( base + 0x14540 )(file); } //own vtable virtual void animationFinished(const char*) {} virtual void animationFinishedO(cocos2d::CCObject*) {} void runAnimation(std::string name) { reinterpret_cast(base + 0x14f60)(this, name); } }; class GDH_DLL AnimatedSpriteDelegate { virtual void animationFinished(const char*) {} }; } #endif