@Override
	DBRecord translateRecord(DBRecord record) {
		if (record == null) {
			return null;
		}
		long entryPointKey = record.getKey();
		DBRecord newRecord = FunctionAdapter.FUNCTION_SCHEMA.createRecord(entryPointKey);
		newRecord.setLongValue(FunctionAdapter.RETURN_DATA_TYPE_ID_COL,
			record.getLongValue(V0_RETURN_DATA_TYPE_ID_COL));
		newRecord.setIntValue(FunctionAdapter.STACK_PURGE_COL,
			record.getIntValue(V0_STACK_PURGE_COL));
//		newRecord.setIntValue(FunctionAdapter.STACK_PARAM_OFFSET_COL,
//			record.getIntValue(V0_STACK_PARAM_OFFSET_COL));
		newRecord.setIntValue(FunctionAdapter.STACK_RETURN_OFFSET_COL,
			record.getIntValue(V0_STACK_RETURN_OFFSET_COL));
		newRecord.setIntValue(FunctionAdapter.STACK_LOCAL_SIZE_COL,
			record.getIntValue(V0_STACK_LOCAL_SIZE_COL));
		newRecord.setByteValue(FunctionAdapter.FUNCTION_FLAGS_COL,
			FunctionAdapter.FUNCTION_CUSTOM_PARAM_STORAGE_FLAG);
		newRecord.setByteValue(FunctionAdapter.CALLING_CONVENTION_ID_COL, (byte) 0);
		newRecord.setString(FunctionAdapter.RETURN_STORAGE_COL, null);
		return newRecord;
	}
@see ghidra.program.database.function.FunctionAdapter#translateRecord(db.DBRecord)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionAdapterV0.java