Rotated Collision?

Last time I tried to look through the code for something I had no idea what I was looking for, I was rather unsucessful, so I though I could just skip that part and ask for help. Where in the Box2D code can I find the code related to rotated polygon objects (and possibly their collision detection)? I'm not having any problems with it, I just want to study it. Specifically I'm trying to figure out how to rotate my vector positions.
There are multiple coordinate systems to be aware of. There's the World coordinate system, and then each b2Body has its own Local coordinate system. The vertices of a polygon shape are stored in a Local coordinate system, and are never rotated into the World coordinate system except for the purposes of drawing them to the screen if you're using the debug draw functions. Instead, a Locally Oriented Bounding Box (OBB) of the polygon is rotated into the World coordinate system, and from that a World Axis-Aligned Bounding Box (AABB) is generated (b2PolygonShape.ComputeSweptAABB()). When two AABBs collide, the polygon that created one of the AABBs is rotated into the other polygon's Local coordinate system for the final collision detection. The precise manner in which this last step happens eludes me, but it's probably somewhere in Collision/b2CollidePoly.cpp.

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