benilla-re systems structs docs

CGObject_C::vftable

global · objectlayer

Address
0x803640 · 124 bytes, up to 0x8036bb
Type
void *[31]
Meaning
Holds the base object vtable, 31 slots
Confidence
verified, proof one
Finding
objectlayer/classes#constructors-and-final-vtables

Finding: Constructors and final vtables in objectlayer: classes

Every subclass constructor runs its parent's first, then its own members, then stores its vtable over the parent's. The container and player constructors start from the item and unit constructors. The vtable each stores last, with its slot count:

typeconstructorvtableslots
object0x6139a00x80364031
item0x5d81f00x80ada8, +0x110: 0x80ada031, 1
container0x5d77300x80ac88, +0x110: 0x80ac8431, 1
unit0x5fad500x80c4f846
player0x5dd2e00x80af7847
game object0x5f6f300x80c33034
dynamic object0x5d51400x80aa8031
corpse0x5d60500x80ab8031

The derivation is in the doc.