This technique starts out the same, but your partner is in combat base, with their right foot forward, down on their left knee. The initial inversion is the same, but as you try to creep under, you encounter resistance. Changing gears slightly, right as you hit 180 degrees with your partner, use your underhooking arm to take your partner's foot off of the ground. This "banana peel" position will be tough for them to keep balance and will allow you to keep spinning through to a single-leg X-guard type position, but with their foot on the other side of your head.

Key detail: make sure your right knee opens up and comes in front of your partner's leg, lest they simply drop their weight and pass your guard! Once you have established the position, the sweep is simple and virtually inevitable. Just push your knees to the left. From here, you can once again finish the leglock, or pass the guard and take the back.