pub unsafe fn object_move_to_index(obj: *mut Object, index: i32) -> Result<()>
This function is unsafe because it may dereference raw pointers.