benilla-re systems structs docs

CGGameUI::DisplayError

function · ui · orchestration

Address
0x496720 · 357 bytes, up to 0x496884
Signature
void __cdecl (uint32_t id, ...)
Meaning
Formats a catalogue message with its arguments, copies the text to 0xb4da40 and shows it by the message kind
Confidence
verified, proof one
Name from
the community database (idb)
Finding
spell/failures#display-log-and-events

Finding: Display, log and events in spell: failures

CGGameUI::DisplayError gets the message id and the text, the argument of the id's format. The combat-log formatter 0x62c360 gets the player, the spell and the text, or, when the text is empty, the text just displayed. If the spell is the in-flight spell 0xceca88, 0x6e4940 (cast) runs with 1, the from-server byte's negation and the reason, firing SPELLCAST_INTERRUPTED (340) for 0x23 and 0x24 and SPELLCAST_FAILED (339) for the rest when its caster is the player, and the reporter returns. Otherwise, with no spell in flight and a reason other than 0x61, it fires the same choice itself; no event carries arguments.

The derivation is in the doc.

Callers 157

Callees 12

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