EventAssetsManagerEx needs to be allocated on heap since it's the subclass of `cocos2d::Ref`.
cocos2d::Ref