I have a CCNode with a certain rotation. For the sake of simplicity lets say its rotated 45 degrees, size is 100*100 and position is 200,200.

I’m looking to find the 4 corner coordinates (marked as green) on this image. Is there any method in the framework that I can use for this or do I need to do it manually with trigonomery? In that case how can I do that the easiest way?
The best thing is if I could make this a method in the CCNode class so its easily accessible.
CCNode.h:
Example: