In 32-bit Delphi we've used the Tag field of TElXTreeItem to store a pointer. Because 64-bit pointer won't fit in 32-bit int, this isn't possible for 64-bit builds.
TComponent:Tag is of type NativeInt, to allow safe typecasting to/from pointers. TElXTreeItem should do the same.
Possibly other components are affected?