def _match_cc(self):
        arch = self._project.arch

        args = [ ]
        ret_vals = [ ]
        sp_delta = 0

        #
        # Determine how many arguments this function has.
        #
        reg_args, stack_args = self.arguments

        for arg in reg_args:
            a = simuvex.s_cc.SimRegArg(arch.register_names[arg])
            args.append(a)

        for arg in stack_args:
            a = simuvex.s_cc.SimStackArg(arg)
            args.append(a)

        sp_delta = self.sp_delta

        for c in simuvex.s_cc.CC:
            if c._match(arch, args, sp_delta):
                return c(arch, args, ret_vals, sp_delta)

        # We cannot determine the calling convention of this function.
        return simuvex.s_cc.SimCCUnknown(arch, args, ret_vals, sp_delta)
Try to decide the arguments to this function.
dataset/ETHPy150Open angr/angr/angr/knowledge/function.py/Function._match_cc