private LinkedList<Node> parseNode(String name, int offset) throws IOException {
		LinkedList<Node> children = new LinkedList<>();
		reader.setPointerIndex(base + offset);
		ulebOffsets.add(reader.getPointerIndex() - base);
		int terminalSize = reader.readNextUnsignedVarIntExact(LEB128::unsigned);
		long childrenIndex = reader.getPointerIndex() + terminalSize;
		if (terminalSize != 0) {
			ulebOffsets.add(reader.getPointerIndex() - base);
			long flags = reader.readNext(LEB128::unsigned);
			long address = 0;
			long other = 0;
			String importName = null;
			if ((flags & EXPORT_SYMBOL_FLAGS_REEXPORT) != 0) {
				ulebOffsets.add(reader.getPointerIndex() - base);
				other = reader.readNext(LEB128::unsigned); // dylib ordinal
				stringOffsets.add(reader.getPointerIndex() - base);
				importName = reader.readNextAsciiString();
			}
			else {
				ulebOffsets.add(reader.getPointerIndex() - base);
				address = reader.readNext(LEB128::unsigned);
				if ((flags & EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER) != 0) {
					ulebOffsets.add(reader.getPointerIndex() - base);
					other = reader.readNext(LEB128::unsigned);
				}
			}
			ExportEntry export = new ExportEntry(name, address, flags, other, importName);
			exports.add(export);
		}
		reader.setPointerIndex(childrenIndex);
		ulebOffsets.add(reader.getPointerIndex() - base);
		int numChildren = reader.readNextUnsignedVarIntExact(LEB128::unsigned);
		for (int i = 0; i < numChildren; i++) {
			stringOffsets.add(reader.getPointerIndex() - base);
			String childName = reader.readNextAsciiString();
			ulebOffsets.add(reader.getPointerIndex() - base);
			int childOffset = reader.readNextUnsignedVarIntExact(LEB128::unsigned);
			children.add(new Node(childName, childOffset));
		}
		return children;
	}
Parses a node of the export trie

@param name The node edge (symbol name substring)
@param offset An offset from the data base where the node starts
@return A {@link LinkedList list} of child {@link Node nodes}
@throws IOException if there was an IO-related error
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/commands/ExportTrie.java