Open nosoop opened 4 years ago
Confus. The dumper-reported values were actually off by -2. These should be correct now.
Same issue as #7; FindObjectOnBuildPoint
is indeed skipped on Windows (the dumper is correct on this one), but CanBeUpgraded
is overloaded, and there is a CBaseObject::CanBeUpgraded(void)
inserted at offset 374 (all the other entries are shifted one to the right).
Have to watch out for subclasses, though; CTFPlayer::ChangeTeam(int)
exists as an override for CBaseEntity
, but CTFPlayer
also implements its own CTFPlayer::ChangeTeam(int, bool, bool, bool)
exclusive to it and its subclasses. Can't make those contiguous.
As requested, here's the vtable dumper mismatch that was initially reported on Discord:
CBaseObject::CanBeUpgraded(CTFPlayer*)
is offset 375, dumper reports 374CBaseObject::StartUpgrading()
is offset 376, dumper reports 375CBaseObject::GetMaxUpgradeLevel()
is offset 380, dumper reports 379edit: mixed up the dumper results because of a copy/paste error, my bad