benilla-re systems structs docs

CGTooltip::BuildPassiveTalent

function · ui · primitive

Address
0x52b0a0 · 752 bytes, up to 0x52b38f
Signature
void __thiscall (CGTooltip *this, void *talent)
Meaning
Adds a talent tooltip with the current and next rank descriptions, without the spell builder
Confidence
verified, proof one
Finding
ui/tooltipspell#talent-tooltips

Finding: Talent tooltips in ui: The spell tooltip

SetTalent(tab, index) finds the talent at tabs[tab − 1].talents[index − 1] (0x54 bytes each). A talent whose flags (+0x4c) have bit 0 uses the spell builder: for a talent the player knows, the current rank's spell with p6 set, then, if it is not the last rank, the next rank's spell as an incremental block; for one not known, the first rank's spell. A talent without that flag is built by 0x52b0a0: the name in white, the rank line, the prerequisites, then the current rank's description in gold and the next rank's below it behind the next-rank header.

The derivation is in the doc.

Callers 1

Callees 11

Calls and jumps by a bare address, from tables/calls.tsv.