/Engine/Source/Editor/KismetCompiler/Public/KismetCompiledFunctionContext.h
Looks for a pin of the given name, erroring if the pin is not found or if the direction doesn't match (doesn't verify the pin type)
[UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * FindRequiredPinByName ( const [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * Node, const [FName](API\Runtime\Core\UObject\FName) PinName, EEdGraphPinDirection RequiredDirection )