After some time trying it out, realized there is also a [FONT=courier new]P_GET_TMAP_REF(KeyType,ValueType,ParamName) macro. However it does require known types of key and value, while the node should work with any value/key type, so I am not sure it it’s possible to use it in a wildcard node - there seems to not ever be a complete type in the function defintion for the native [FONT=courier new]Map_Find, instead they are passed as [FONT=courier new]int32& and somehow evaluated later with [FONT=courier new]Cast<UMapProperty>.
Plus another question I can’t find an answer to: Is there also a way to return a value by ref in a K2 node? Can’t seem to figure it out, any [FONT=courier new]& parameters in the function definition seem to be returned by value - the pin is circular and modifying that value doesn’t update it in the map.