Make curve corner like bubble chat in messenger

I am trying to make a bubble chat for my visual chat game but to my surprise, making the curve corner in cocos is not easy. On top of that, I also want to custom the curve in each corner just like in messenger app chat. Can anyone show me a function in cocos that can achieve that or a way to do that with easy-to-do implementation. Any help is appreciated, here is the picture of the bubble chat to clarify my point:

Have a designer make you the pieces and use a Scale9Sprite

Thank you so much I don’t know there is a function that can scale just a part of the sprite, really appreciate your help!