code: def main(inputPath, outputPath, varDict):
      define = (
          "#define"
          if os.path.splitext(outputPath)[1] != ".asm"
          else "%define"
      )
      with open(outputPath, "w") as output:
          with open(inputPath, "r") as input:
              for l in input:
                  output.write(replaceLine(l, varDict, define))
  
imports: import sys
  import os.path
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: main(inputPath, outputPath, varDict) without return types