code: def _split_cubic_into_two(p0, p1, p2, p3):
      mid = (p0 + 3 * (p1 + p2) + p3) * 0.125
      deriv3 = (p3 + p2 - p1 - p0) * 0.125
      return (
          (p0, (p0 + p1) * 0.5, mid - deriv3, mid),
          (mid, mid + deriv3, (p2 + p3) * 0.5, p3),
      )
  
imports: from fontTools.misc.arrayTools import calcBounds, sectRect, rectArea
  from fontTools.misc.transform import Identity
  import math
  from collections import namedtuple
  from math import sqrt, acos, cos, pi
label_desc: Use image node_id 2 for calling a global function with example usage: _split_cubic_into_two(p0, p1, p2, p3) and returns: p0,  unknown,  unknown,  mid,  mid,  unknown,  unknown,  p3