code: def CreateNestedStruct(builder, a, b, c, d):
      builder.Prep(8, 32)
      for _idx0 in range(2, 0, -1):
          builder.PrependInt64(d[_idx0 - 1])
      builder.Pad(5)
      for _idx0 in range(2, 0, -1):
          builder.PrependInt8(c[_idx0 - 1])
      builder.PrependInt8(b)
      for _idx0 in range(2, 0, -1):
          builder.PrependInt32(a[_idx0 - 1])
      return builder.Offset()
  
imports: import flatbuffers
  from flatbuffers.compat import import_numpy
  from typing import Any
label_desc: Use image node_id 1 for calling a global function with example usage: CreateNestedStruct(builder, a, b, c, d) and returns: builder