Rotation question

I have a body that is composed of a number of shapes. At the moment it's all set up to work for when the main body is not rotated...
But, I'm pretty sure I'll want to change that at some point.
I'm fully capable of calculating where all the "child" shapes should move to, but it occurred to me that I should probably be able to do this with the mathematical functions available - I think this would be more efficient in every way - except that I couldn't work out how to do it.
So if someone could point me in the right direction about how to rotate b2Vec2[1] around b2Vec2[2] by theta - I'd be really grateful.
There isn't a single call for this. It'd be something like:

Rotate v2 theta about v1 .
var d1 = b2Math.SubtractVV(v2,v1);
var d2 = b2Math.MulMV(new b2Mat22(theta), d1);
var result = b2Math.AddVV(d2,v1);

Extra credit: Find the b2Transform that does the whole process in once step.
Thanks!

Obviously I looked into the b2transform... Guess what? I was working with an incomplete (or old) version of the code - so no b2transform class.

Have now 'upgraded' and will investigate further...

Original thread: https://box2d.org/forum/viewtopic.php?t=4905