boolean isStackParameterOffset(long offset) {
		// if there is no offset, then input is not passed on the stack
		if (paramBaseStackOffset == null) {
			return false;
		}
		return (stackGrowsNegative && offset >= paramBaseStackOffset) ||
			(!stackGrowsNegative && offset <= paramBaseStackOffset);
	}
Returns the set of registers which were modified
Ghidra/Features/Base/src/main/java/ghidra/util/state/ResultsState.java