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