Prototype a small Cocos2d-x scene with input, animation, collision, audio, and a menu. Build it on the target platforms and inspect performance and package size on real devices. Have a second developer pull the source and reproduce the build.
A game framework's long-term cost includes native toolchains, dependencies, and asset workflow. Test one upgrade or dependency change before migrating a large project. Choose it when the team can reliably ship and maintain builds, not only run a local sample.