getSyszOpMemStruct :: IO SysZOpMemStruct
getSyszOpMemStruct = do
    ptr <- mallocArray (sizeOf syszOpMemStruct) :: IO (Ptr Word8)
    poke (castPtr ptr) (0x1 :: Word8)
    poke (plusPtr ptr 1) (0x2 :: Word8)
    poke (plusPtr ptr 8) (0x0123456789abcdef :: Word64)
    poke (plusPtr ptr 16) (0x1032547698badcfe :: Word64)
    peek (castPtr ptr) <* free ptr
getSyszOpMemStruct :: IO SysZOpMemStruct
getSyszOpMemStruct = do
    ptr <- mallocArray (sizeOf syszOpMemStruct) :: IO (Ptr Word8)
    poke (castPtr ptr) (0x1 :: Word8)
    poke (plusPtr ptr 1) (0x2 :: Word8)
    poke (plusPtr ptr 8) (0x0123456789abcdef :: Word64)
    poke (plusPtr ptr 16) (0x1032547698badcfe :: Word64)
    peek (castPtr ptr) <* free ptr
getSyszOpMemStruct = do
    ptr <- mallocArray (sizeOf syszOpMemStruct) :: IO (Ptr Word8)
    poke (castPtr ptr) (0x1 :: Word8)
    poke (plusPtr ptr 1) (0x2 :: Word8)
    poke (plusPtr ptr 8) (0x0123456789abcdef :: Word64)
    poke (plusPtr ptr 16) (0x1032547698badcfe :: Word64)
    peek (castPtr ptr) <* free ptr