def GetStrucNextOff(sid, offset):
    s = idaapi.get_struc(sid)
    return -1 if not s else idaapi.get_struc_next_offset(s, offset)
Replace a top-level package's dependencies with their repository URLs.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetStrucNextOff--crossover with--dataset/ETHPy150Open zsck/npm-to-git/n2g.py/replace_dependencies