@Override
	boolean apply(AbstractMsType type) throws CancelledException, PdbException {

		if (!precheckOrScheduleDependencies(type)) {
			return false;
		}

		FunctionDefinitionDataType functionDefinition = new FunctionDefinitionDataType(
			applicator.getAnonymousFunctionsCategory(), "_func", applicator.getDataTypeManager());

		processContainingType(type);
		setReturnType(functionDefinition, type);
		setArguments(functionDefinition, type);
		Pointer thisPointer = getThisPointer(type);

		CallingConvention convention = getCallingConvention(type);
		setCallingConvention(functionDefinition, convention, thisPointer);

		DataTypeNamingUtil.setMangledAnonymousFunctionName(functionDefinition);
		DataType dataType = functionDefinition;

		applicator.putDataType(type, dataType);
		return true;
	}
Returns the {@link RecordNumber} of the function arguments list
@param type the PDB type being inspected
@return the record number
Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.java