def AddAutoStkPnt2(func_ea, ea, delta):
    pfn = idaapi.get_func(func_ea)
    if not pfn:
        return 0
    return idaapi.add_auto_stkpnt2(pfn, ea, delta)
Add automatical SP register change point
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/AddAutoStkPnt2