The fBase Tree

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.

Source
retail ROM, ARM9 + 103 overlays
Classes
429 named by the ROM
Edges
413 proven · 57 inferred
Deepest chain
5 levels
Generated
tools/rtti_hierarchy_page.py
Proven Inferred Contradicted
§1

What a line in this document is worth

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.

TierCountWhat makes it trueCan it be wrong?
Proven413 edgesThe 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 root24 classesA __class_type_info record — the ABI's own encoding for “no base”.No. The record kind is the statement.
Inferred57 classesNo 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.
Contradicted0 classesThe 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.
Unplaced3 classesKnown to the repo, no type_info, and no vptr chain placed it.Nothing is claimed, so nothing can be wrong.
The ROM stores 429 type_info records and 413 base pointers, and every one of those pointers resolves — 293 of them across an overlay boundary. Where this page is silent it is because the ROM is silent, not because the reading was hard.
§2

The spine

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.

fBase_c 337 below └─ dBase_c 336 below ├─ dActor_c 287 below │ ├─ dBgActor_c 132 below │ └─ dEnemyBase_c 60 below ├─ dScene_c 42 below │ └─ dScMgBase_c 32 below ├─ dView_c ├─ dEntObj_c ├─ dMap_c └─ dMeter_c
fBase_c is the framework root — the same name, in the same position, as in EAD's GameCube codebases. Everything the game draws, updates or scenes through descends from it, and the two great families below dActor_c account for 156 of its descendants.
§3

The families

Fan-out is extremely uneven. Twelve classes carry almost the whole game; the rest are leaves.

Base classDirectWhole subtreeModule
dBgActor_c101132
ov002
dActor_c95287
arm9
dEnemyBase_c5560
ov002
dScMgBase_c1532
ov004
dScMgSingle3DBase_c1313
ov006
cMgSmartball_object_c1111
ov006
dScene_c1042
arm9
dBase_c6336
arm9
dPa_c::level_c::callback_c612
arm9
dPa_c::level_c::simpleCallback_c66
arm9
dGraph_c::callback_c55
arm9
daObjKaitendai_c55
ov002
dBgActor_c — 101 direct children, 132 in the subtree
dBgActor_c 132 below ├─ daObjKaitendai_c 5 below │ ├─ daObjBk_Ukisima_c │ ├─ daObjFl_Koma_D_c │ ├─ daObjKm3_Kaitendai_c │ ├─ daObjRc_Kaitendai_c │ └─ daObjWc_Obj07_c ├─ daObjFallBlock_c 4 below │ ├─ daObjBk_Fall_Block_c │ ├─ daObjFl_Fall_Block_c │ ├─ daObjKm2_Fall_Block_c │ └─ daObjTh_Fall_Block_c ├─ daObjDorifu_c 3 below │ ├─ daObjKm1_Dorifu_c │ ├─ daObjKm3_Dorifu_c │ └─ daObjRc_Dorifu_c ├─ daObjFloatBoard_c 3 below │ ├─ daObjKi_Ita_c │ ├─ daObjWcObj01_c │ └─ daObjWcObj06_c ├─ dPathLiftActor_c 2 below │ ├─ daObjPathLift_c │ └─ daObjRcCarpet_c │ └┈ daObjPathLift_c inferred · high ├─ daDsnBase_c 2 below │ ├─ daDkk_c │ └─ daDsn_c ├─ daObjGuragura_c 2 below │ ├─ daObjFl_Gura_c │ └─ daObjKm2_Gura_c ├─ daObjKuruma_c 2 below │ ├─ daObjKm1_Kuruma_c │ └─ daObjKm3_Kuruma_c ├─ daObjKurumajiku_c 2 below │ ├─ daObjKm1_Kurumajiku_c │ └─ daObjKm3_Kurumajiku_c ├─ daObjMaruta_c 2 below │ ├─ daObjFlMaruta_c │ └─ daObjHmMaruta_c ├─ daObjSwdoor_c 2 below │ ├─ daObjBSwdoor_c │ └─ daObjCvShutter_c ├─ daObjUkiyuka_c 2 below │ ├─ daObjFl_Ukiyuka_c │ └─ daObjKm2_Ukishima_c ├─ daDgr_c ├─ daDpLift_c ├─ daIwante_c ├─ daKpa2Bg_c ├─ daKpa3Bg_c ├─ daLinelift2_c ├─ daObjBC_Switch_c ├─ daObjBkKillerdai_c ├─ daObjBk_Botaosi_c ├─ daObjBk_Dossunbar_c ├─ daObjBk_Kabe_c ├─ daObjBk_Lift_c ├─ daObjBk_Rotebar_c ├─ daObjBlockL_c ├─ daObjBlockS_c ├─ daObjC0Water_c ├─ daObjC0_Switch_c ├─ daObjC1_Trap_c ├─ daObjCannonShutter_c ├─ daObjCasket_c ├─ daObjCtKaitendai_c ├─ daObjCtMecha03_c ├─ daObjCtMecha04_c ├─ daObjCtMecha05_c ├─ daObjCtMecha08_c ├─ daObjCtMecha09_c ├─ daObjCtMecha10_c ├─ daObjCtMecha11_c ├─ daObjCtRotateBlock_c ├─ daObjCvNewsLift_c ├─ daObjDlPyramid_c ├─ daObjDpBrock_c ├─ daObjEmmLog_c ├─ daObjEmmYuka_c ├─ daObjEwbIce_c ├─ daObjEwmIceBlock_c ├─ daObjFl_Amilift_c ├─ daObjFl_Block_c ├─ daObjFl_KomaU_c ├─ daObjFl_London_c ├─ daObjFl_Puzzle_c ├─ daObjFl_Ring_c ├─ daObjFl_Seesaw_c ├─ daObjFl_UkiKi_c ├─ daObjFm_Battan_c ├─ daObjHatenaBlock_c ├─ daObjHatenaSwitch_c ├─ daObjHmBskt_c ├─ daObjIceBlock_c ├─ daObjIceBoard_c ├─ daObjKanban_c ├─ daObjKi_Fune_c ├─ daObjKi_Hasira_c ├─ daObjKm1_Ukishima_c ├─ daObjKm2_Agaru_c ├─ daObjKm2_Ami_Bou_c ├─ daObjKsWater_c ├─ daObjMcWater_c ├─ daObjMc_Metalnet_c ├─ daObjPile_c ├─ daObjPushblock_c ├─ daObjRcBuranko_c ├─ daObjRc_Guruguru_c ├─ daObjRc_Tikuwa_c ├─ daObjRotateUpdownLift_c ├─ daObjSeesaw_c ├─ daObjSimpleBg_c ├─ daObjSimpleLift_c ├─ daObjSlIceBlock_c ├─ daObjSm_Lift_c ├─ daObjSwitch_c ├─ daObjTatefuda_c ├─ daObjTdFuta_c ├─ daObjTdWater_c ├─ daObjTtFuta_c ├─ daObjTtWater_c ├─ daObjWanwanShutter_c ├─ daObjWc_Mizu_c ├─ daObjWc_Obj02_c ├─ daObjWc_Obj04_c ├─ daObjWc_Obj05_c ├─ daObjWlKoopaShutter_c ├─ daObjWlSubmarine_c ├─ daObjYajirusi_c ├─ daOnms_c ├─ daPgDfdr_c ├─ daPiano_c ├─ daSlide_Box_c └─ daUdlift_c ├┈ BowserFireSeaArena inferred · high ├┈ HugeWater inferred · high ├┈ IceBlock inferred · high ├┈ MetalNet inferred · high ├┈ PoleLift inferred · high ├┈ RotatingUpDownPlatform inferred · high ├┈ RotatingUpDownPlatformUtm inferred · high ├┈ ShipWater inferred · high ├┈ SignPost inferred · high ├┈ SwitchActivatedPlank inferred · high ├┈ TowerStep inferred · high ├┈ TtcConveyorBeltLarge inferred · high ├┈ WDW_Water inferred · high ├┈ WallSign inferred · high ├┈ daDsnBase_c inferred · high ├┈ daObjFallBlock_c inferred · high └┈ daObjMaruta_c inferred · high
dEnemyBase_c — 55 direct children, 60 in the subtree
dEnemyBase_c 60 below ├─ daOts_c 3 below │ ├─ daBDonketu_c │ ├─ daDonketu_c │ └─ daIDonketu_c ├─ dCapEnemy_c 2 below │ ├─ daKrb_c │ └─ daTrs_c ├─ da1up_c ├─ daBakubaku_c ├─ daBasabasa_c ├─ daBbl_c ├─ daBmb_c ├─ daBombking_c ├─ daBook_c ├─ daBtn_c ├─ daC_Jugem_c ├─ daChoro_Rock_c ├─ daFPknBall_c ├─ daFPkn_c ├─ daGrock_c ├─ daHanachan_c ├─ daHolhei_c ├─ daHuwa_c ├─ daHyuhyu_c ├─ daIbl_c ├─ daJango_c ├─ daKing_Donketu_c ├─ daKlr_c ├─ daKpaFire_c ├─ daKuriKing_c ├─ daManta_c ├─ daMenbo_c ├─ daMip_c ├─ daMoray_c ├─ daNknk_c ├─ daObjKey_c ├─ daObjMarioCap_c ├─ daObj_Mip_Key_c ├─ daOwl_c ├─ daPkn_c ├─ daPopoi_c ├─ daPropeller_Heyho_Fire_c ├─ daPropeller_Heyho_c ├─ daPukupuku_c ├─ daRNk_c ├─ daShark_c ├─ daShl_c ├─ daSnowball_c ├─ daSnowman_c ├─ daStar_c ├─ daTBasket_c ├─ daWanwan2_c ├─ daWanwan_c ├─ daWater_Hakidasi_c ├─ daWater_Ring_c ├─ daWater_Suikomi_c ├─ daWater_Tatumaki_c ├─ daWbm_c ├─ daYegg_c └─ daYurei_Mucho_c ├┈ BooCage inferred · high ├┈ Bullet inferred · high ├┈ Chuckya inferred · high ├┈ Fireball inferred · high ├┈ FlyGuy inferred · high ├┈ Fwoosh inferred · high ├┈ JetStream inferred · high ├┈ Key inferred · high ├┈ LakituBro inferred · high ├┈ PowerStar inferred · high ├┈ RabbitKey inferred · high ├┈ Snowball inferred · high ├┈ Snufit inferred · high ├┈ Spindrift inferred · high ├┈ Swoop inferred · high ├┈ WaterBomb inferred · high ├┈ WaterRing inferred · high ├┈ Whirlpool inferred · high └┈ daOts_c inferred · high
dScMgBase_c — 15 direct children, 32 in the subtree
dScMgBase_c 32 below ├─ dScMgSingle3DBase_c 13 below │ ├─ dScMg3DEsp_c │ ├─ dScMgBSC_c │ ├─ dScMgCard_c │ ├─ dScMgCup_c │ ├─ dScMgFlower_c │ ├─ dScMgMCarlo2_c │ ├─ dScMgMCarlo_c │ ├─ dScMgMemory2_c │ ├─ dScMgMemory_c │ ├─ dScMgRoulette_c │ ├─ dScMgSlot3_c │ ├─ dScMgSnowball_c │ └─ dScMgSound_c ├─ dScMgD3DBase_c 4 below │ ├─ dScMgJump2_c │ ├─ dScMgJump_c │ ├─ dScMgTrampoline2_c │ └─ dScMgTrampoline_c ├─ dScMgAmida_c ├─ dScMgBomroom_c ├─ dScMgCoin_c ├─ dScMgCurling2_c ├─ dScMgCurling_c ├─ dScMgHanachan_c ├─ dScMgLuigi_c ├─ dScMgPachinko2_c ├─ dScMgPachinko_c ├─ dScMgPanel_c ├─ dScMgSlot1_c ├─ dScMgSmartball_c └─ dScMgTeresa_c
§4

Where a class has two parents

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.

DERIVED CLASSBASE SUBOBJECTS, PLACED AT THEIR RECORDED OFFSETdBgCh_LindBgCh+0x0dBgPi+0x10dM3dGLin+0x38dBgCh_SphCrrdBgCh+0x0dBgPi+0x10dM3dGSph+0x38dBgCh_GnddBgCh+0x0dBgPi+0x10dExtAnmModel_cdExtSimpleModel_c+0x0dExtFrameCtrl_c+0x50daDemo_c::anmModel_cdExtAnmModel_c+0x0daDemo_c::param_c+0x64daDemo_c::simpleModel_cdExtSimpleModel_c+0x0daDemo_c::param_c+0x50
Base subobjects drawn at their recorded offsets. The filled box is the primary base at offset 0. dExtAnmModel_c lists dExtFrameCtrl_c (+0x50) before dExtSimpleModel_c (+0x0): list order is not offset order.
§5

Where the repo's headers are wrong

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.

Empty because the finding was acted on, not because the test was relaxed: the same comparison still runs against all 429 records. 260 of them are parented by a hand-written 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.
§6

What is still guessed

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.

StatusCountClasses
Inferred base57BlueFlame, 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 placement3FaderBrightness, 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.

§7

What this document cannot tell you

The ROM's RTTI carries class names and base pointers. That is all it carries. Specifically:

Not availableWhy
Method namesNo symbol table survives in a retail ROM. Zero _Z-prefixed strings exist anywhere in the image.
Parameter typesThe 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 layoutsRTTI records a base's offset, never its members. Sizes come from the operator new literal at each call site instead.
Original filenamesExactly one __FILE__ string survives ROM-wide — isdoverlay.c, Nintendo's debugger SDK. Game code was built with asserts stripped.
Non-polymorphic classesA class with no virtual function gets no vtable and no record. The 60 inferred classes in §6 are exactly this population.