(n, abi=None)
return int(pwndbg.memory.poi(pwndbg.typeinfo.ppvoid, sp))
Returns the nth argument, as if $pc were a 'call' or 'bl' type
    instruction.
    Works only for ABIs that use registers for arguments.
Returns the nth argument, as if $pc were a 'call' or 'bl' type
    instruction.
    Works only for ABIs that use registers for arguments.
Returns the nth argument as if $pc were a call or bl type instruction . Works only for ABIs that use registers for arguments .
def argument(n, abi=None):
    """
    Returns the nth argument, as if $pc were a 'call' or 'bl' type
    instruction.
    Works only for ABIs that use registers for arguments.
    """
    abi  = abi or pwndbg.abi.ABI.default()
    regs = abi.register_arguments

    if n < len(regs):
        return getattr(pwndbg.regs, regs[n])

    n -= len(regs)

    sp = pwndbg.regs.sp + (n * pwndbg.arch.ptrsize)

    return int(pwndbg.memory.poi(pwndbg.typeinfo.ppvoid, sp))
def argument ( n , abi = None ) : abi = abi or pwndbg . abi . ABI . default ( ) regs = abi . register_arguments if n < len ( regs ) : return getattr ( pwndbg . regs , regs [ n ] ) n -= len ( regs ) sp = pwndbg . regs . sp + ( n * pwndbg . arch . ptrsize ) return int ( pwndbg . memory . poi ( pwndbg . typeinfo . ppvoid , sp ) )