benilla-re systems structs docs

ExpandPluralToken

function · ui · primitive

Address
0x5082a0 · 247 bytes, up to 0x508396
Signature
uint32_t __fastcall (char *out, uint32_t size, uint32_t key)
Meaning
Appends the singular or plural form of a dollar l token by the plural index of the key
Confidence
verified, proof one
Finding
ui/spelltokens#plural-text

Finding: Plural text in ui: Spell description tokens

$lSingular:Plural; has the same shape and no player, and skips the spaces after the letter first (0x5082c0 to 0x5082c5). It asks the interface's plural function for the plural index of the key and takes the first form when the index is 1, the second otherwise, so the first form is used only for a key of 1: a key of 0 reads plural. It cannot fail.

The derivation is in the doc.

Callers 1

Callees 4

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