Please add `PlatformDependent.objectFieldOffset(...)` and use it instead.