sprite filled radial effect

Hi, I wanted to do a sort of loading circle in cocos2dx but found nothing except for this

how can i make it cocos2dx? do i need a shader for it or is it in the engine?
thanks!

I would checkout cocos2d-x/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UILoadingBarTest at v4 · cocos2d/cocos2d-x · GitHub and see what you can derive from it.