Scale/Rotate decal based on center material node setup plz?

Hi, anyone have a node setup to position scale and rotate an image based on the center point?

This tutorial shows how to scale based on center but not rotate:

This tutorial goes into an advanced way of using decals: https://www.youtube.com/watch?v=rUP8aAG4AQ8

I am posting these because they are very useful videos, but the first one is incomplete.