public static FunctionDefinition unwrapFunctionDefinitionPtrs(DataType dt) {
		return dt != null && dt instanceof Pointer ptrDT &&
			ptrDT.getDataType() instanceof Structure closureStructDT &&
			closureStructDT.getNumComponents() > 1 &&
			closureStructDT.getComponent(0).getDataType() instanceof Pointer funcdefPtr &&
			funcdefPtr.getDataType() instanceof FunctionDefinition funcdef ? funcdef : null;
	}
Converts a ptr-to-ptr-to-funcdef to the base funcdef type.

@param dt ghidra {@link DataType}
@return {@link FunctionDefinition} that was pointed to by specified data type, or null
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoFuncType.java