Every class in Super Mario 64 DS that the ROM itself can name, how they descend from one another, and — edge by edge — what makes each relationship true.
The three tiers are not degrees of confidence in the same kind of claim. They are different kinds of claim, and collapsing them into a single score would be the one mistake this page exists to avoid.
| Tier | Count | What makes it true | Can it be wrong? |
|---|---|---|---|
| Proven | 413 edges | The class's type_info record holds a pointer to its base's record. The compiler wrote it; this is read, not inferred. | Only if the pointer was misread. 0 of 413 are unresolved. |
| Proven root | 24 classes | A __class_type_info record — the ABI's own encoding for “no base”. | No. The record kind is the statement. |
| Inferred | 57 classes | No type_info exists, so the base comes from vptr stores in the constructor/destructor chain. | Yes. A shim or an inlined base constructor can mislead it. |
| Contradicted | 0 classes | The repo's header names a real ancestor, but not the immediate base. The ROM names the immediate one. | The ROM is right by construction; the header is the error. |
| Unplaced | 3 classes | Known to the repo, no type_info, and no vptr chain placed it. | Nothing is claimed, so nothing can be wrong. |
Of the 429 classes, 338 hang off a single root. Strip out everything with fewer than two children and the framework EAD actually built is four levels deep and fits on a screen.
dActor_c account for 156 of its descendants.Fan-out is extremely uneven. Twelve classes carry almost the whole game; the rest are leaves.
| Base class | Direct | Whole subtree | Module | |
|---|---|---|---|---|
| dBgActor_c | 101 | 132 | ov002 | |
| dActor_c | 95 | 287 | arm9 | |
| dEnemyBase_c | 55 | 60 | ov002 | |
| dScMgBase_c | 15 | 32 | ov004 | |
| dScMgSingle3DBase_c | 13 | 13 | ov006 | |
| cMgSmartball_object_c | 11 | 11 | ov006 | |
| dScene_c | 10 | 42 | arm9 | |
| dBase_c | 6 | 336 | arm9 | |
| dPa_c::level_c::callback_c | 6 | 12 | arm9 | |
| dPa_c::level_c::simpleCallback_c | 6 | 6 | arm9 | |
| dGraph_c::callback_c | 5 | 5 | arm9 | |
| daObjKaitendai_c | 5 | 5 | ov002 |
Exactly 6 classes use multiple inheritance, and the ROM records the byte offset of each base subobject. The base at +0x0 is the primary — and it is not always the first one listed, which is a trap that has already cost this project one wrong reading.
dExtAnmModel_c lists dExtFrameCtrl_c (+0x50) before dExtSimpleModel_c (+0x0): list order is not offset order.Nowhere. Every class the repo both names and holds a belief about names the immediate base the ROM records. Not one header names a class absent from the ROM's ancestor chain, and — the weaker failure this section was built to catch — not one names a genuine ancestor further up the chain than the real parent.
The chain-flattening this section reports comes from modelling a class's grandparent as its parent, which happens when the intermediate has no header and the evidence for the edge is a destructor vptr store that skips it. It is therefore retired by writing the intermediate down, not by correcting the children.
struct D : B in a de-bannered header rather than by a base pointer the ROM supplied, and those are the only rows that can disagree with the ROM. None does.60 classes the repo knows have no type_info record at all. They are not polymorphic, or their vtable was never emitted, so RTTI cannot speak to them and their placement rests entirely on constructor evidence. 57 of them have an inferred base; 3 have none.
| Status | Count | Classes |
|---|---|---|
| Inferred base | 57 | BlueFlame, BooCage, BowserFireSeaArena, Bullet, Chuckya, Clam, ClockPaintingHandShort, Cloud, EnemySwitchTag, Fireball, Flag, FlyGuy, Fwoosh, HugeWater, IceBlock, JetStream, Key, LakituBro, LightBeam, MansionSteps, MegaMushroomCreateTag, MetalNet, MontyMole, MotherPenguin, Number, OneUpLogo, PoleLift, PowerStar, RabbitKey, RacingPenguin, RotatingUpDownPlatform, RotatingUpDownPlatformUtm, ShipWater, ShipWing, SignPost, SlideDecorationSilverStar, Snowball, Snufit, Spindrift, StarDoor, SwitchActivatedPlank, Swoop, Toad, TowerStep, TreasureChest, TtcConveyorBeltLarge, WDW_Water, WallSign, WaterBomb, WaterRing, Whirlpool, dScEntry_c, daDsnBase_c, daObjFallBlock_c, daObjMaruta_c, daObjPathLift_c, daOts_c |
| No placement | 3 | FaderBrightness, FaderColor, dWipe_c |
Separately, 54 ROM classes have no name in the repo at all — the ROM knows them, the project has never given them a header. They are proven within this graph and invisible outside it.
The ROM's RTTI carries class names and base pointers. That is all it carries. Specifically:
| Not available | Why |
|---|---|
| Method names | No symbol table survives in a retail ROM. Zero _Z-prefixed strings exist anywhere in the image. |
| Parameter types | The type_info kinds that encode a signature (__function_type_info, __pointer_type_info) were never linked in — this program never does typeid on a function type. |
| Field names or layouts | RTTI records a base's offset, never its members. Sizes come from the operator new literal at each call site instead. |
| Original filenames | Exactly one __FILE__ string survives ROM-wide — isdoverlay.c, Nintendo's debugger SDK. Game code was built with asserts stripped. |
| Non-polymorphic classes | A class with no virtual function gets no vtable and no record. The 60 inferred classes in §6 are exactly this population. |