private List<Address> getFunctionThunkAddresses(long functionId, boolean recursive) {
		List<Long> functionIds = manager.getThunkFunctionIds(functionId);
		if (functionIds == null) {
			return null;
		}
		SymbolTable symMgr = program.getSymbolTable();
		List<Address> thunkAddrList = new ArrayList<>();
		for (long id : functionIds) {
			Symbol s = symMgr.getSymbol(id);
			thunkAddrList.add(s.getAddress());
			if (recursive) {
				List<Address> thunkAddrs = getFunctionThunkAddresses(id, true);
				if (thunkAddrs != null) {
					thunkAddrList.addAll(thunkAddrs);
				}
			}
		}
		return thunkAddrList;
	}
Use of stack frame to compute parameter ordinals and validate stack offsets
should not be done while <code>validateEnabled</code> is false.  This may be
necessary during a language upgrade in which case a dummy compiler-spec
may be in-use.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java