public CardSelectable GetSelectablePath(DF startPath, byte[] path, int offset) { if (offset == path.Length - 2) { var term = startPath.GetChildEForDF(Util.ToUShort(path, path.Length - 2)); return(term); } var childDF = startPath.GetChildDF(Util.ToUShort(path, offset)); if (childDF == null) { return(null); } return(GetSelectablePath(childDF, path, offset + 2)); }