How to create a UProperty out of a UPROPERTY() ?

Im trying to create a wildcard blueprint node, but I dont know how to call the function within CPP. It works well in BP, but im kinda stumped on how to convert a property to the CLASS type UProperty. Its like messing with a trick question. I couldnt find any conversion methods within the object itself.

Basically, im trying to call this:

UPROPERTY()
bool TestProperty;
UFUNCTION()
void TestFunction(UProperty* Property);

how do i, in c++, call TestFunction and pass the TestProperty through it?