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