sourcesdk-minimal
sourcesdk-minimal copied to clipboard
C_BaseEntity struct is wrong.
C_BaseEntity seems to be wrongly aligned, no idea where though.
Its potentially the inherited classes that are wrong, going to take a look at that.
Did a little digging and it seems that the virtual function table for C_BaseEntity is wrong, has no longer used functions and the order is messed up.
It looks like that its just the vtable order that is wrong, vtable size and the size of the struct in total is seemingly correct. vfuncs could have been replaced or just moved around.