Custom Material Function help

I’m trying to follow this Stylized paint shader breakdown/blog/tutorial. Unfortunately, a lot of details have been omitted from this resource. I’ve tried my best to recreate this, but have come to an impasse. There seems to be what I can only assume is a custom material function named “Threewaylerp” used multiple times in this material. 2 confirmed instances of this node are shown, but the all-encompassing image (at the end of the breakdown) makes me believe there’s 5 uses of this node.

(instance of node)

The tutorial/breakdown can be found here

I am hoping someone can help me understand what threewaylerp might do and how I could go about recreating it. Or maybe Gabriel de Laubier can find this post and also tell me what the missing nodes are in the giant blurry image at the end of the breakdown.
For extra context, here are some previous forum questions associated with this tutorial:

For special extra context, I will also include what chatgpt told me to do, but I’m here because I don’t trust what it told me (it’s coming up with “theories”…)
here

any help would be appreciated, thanks.

I’m guessing it’s probably supposed to use an rgb mask to add brush strokes or grain to the lerp it’s feeding. Function could have a texture sample feeding default values to the math if it has no input. No way to know really without seeing what’s inside function. That it has no input in screenshot doesn’t help either lol.