private DecompInterface setUpDecompiler(Program program) {

		DecompileOptions options = DecompilerUtils.getDecompileOptions(state.getTool(), program);

		DecompInterface decompiler = new DecompInterface();

		decompiler.setOptions(options);

		decompiler.toggleCCode(true);
		decompiler.toggleSyntaxTree(true);
		decompiler.setSimplificationStyle("decompile");

		decompiler.openProgram(program);

		return decompiler;
	}
Finds the parameter passed into the resource function call
@param constUse - Key value pairs of the resource function calls
@param defUseList
@param highFunction
@param vnode
@param doneSet
Ghidra/Features/Decompiler/ghidra_scripts/WindowsResourceReference.java