would it not still call IKSerializable::deserialize?
Or IKSerializable::deserialize does literally nothing that the compiler just removes the call during optimization.
suppose if it was an inlined function it would probably do that?
i do think IKSerializable::deserialize either returns void or 1
It's possible, but depending on the compiler it might just get optimized out
It is still present on the Wii version?
wii binaries i know used MWCC. PC builds *i think* used MSVC
From what I could see, function on wii is roughly the same as the rtti pc build. From the very little wii decomp i've done so far, i know there is inlining present on some functions
I'm confused why would IKSerializable::deserialize be called? It's not a pure virtual function overriden by CMaterial?
It's definitely virtual, so IKSerializable::deserialize wouldn't ever be called (maybe if not pure by IKSerializable).
In the wii decomp, the override keyword isnt present so every function is pure virtual so the funcs there do always call the base classes
Unless i've set something up wrong? I just can't use the keyword override
C#? Is that the language you write the decomp in?
Note that in c++ the override keyword doesn't actually do anything and is just an indicator
If you redeclare a virtual function in a subclass it will override it without the override keyword
Okay :D For a second I was confused...
Ah ok. Thats how i have it setup atm
Listen to this man here
