/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageReload.h
Get the old package pointer (the original package that was replaced).
const [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * GetOldPackage() const