getWritableStructPointer