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