benilla-re systems structs docs

CGTooltip::AddTalentRequirements

function · ui · primitive

Address
0x52b390 · 695 bytes, up to 0x52b646
Signature
uint32_t __thiscall (CGTooltip *this, void *talent)
Meaning
Adds the red lines for the prerequisites a talent lacks and returns 1 when none is missing
Confidence
verified, proof one
Finding
ui/tooltipspell#the-talent-lines

Finding: The talent lines in ui: The spell tooltip

With a talent record (p6) and a fresh build, TOOLTIP_TALENT_RANK gives the current and maximum rank, white. The record has nine rank spells from +0x10: the maximum is the last nonzero one, the current rank the highest the player knows. A talent not yet learned then lists, in red, each prerequisite talent below its rank, the tab points still needed for its tier and a spell it needs. A learnable talent, for the active player with free talent points, ends with TOOLTIP_TALENT_LEARN in green.

The derivation is in the doc.

Callers 2

Callees 7

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