def METHOD_NAME() -> None:
    """Breaks at next return-like instruction by 'stepping' to it"""
    while (
        pwndbg.gdblib.proc.alive
        and not pwndbg.gdblib.next.break_next_ret()
        and pwndbg.gdblib.next.break_next_branch()
    ):
        # Here we are e.g. on a CALL instruction (temporarily breakpointed by `break_next_branch`)
        # We need to step so that we take this branch instead of ignoring it
        gdb.execute("si")
        continue
    if pwndbg.gdblib.proc.alive:
        pwndbg.commands.context.context()