benilla-re systems structs docs

ShowProspectCastFailure

function · spell · orchestration

Address
0x6e2a90 · 197 bytes, up to 0x6e2b54
Signature
void __fastcall (uint32_t item, uint32_t unused, uint32_t count, uint32_t found)
Meaning
Shows reason 0x84 once the item cache answers, with the count and the item's name or UNKNOWN
Confidence
verified, proof one
Finding
spell/failures#item-cache-redisplay

Finding: Item cache redisplay in spell: failures

0x6e29b0 is the item-cache callback of reasons 0x5c and 0x78. It looks the item record up again without a callback, formats the reason's key text with its +0x08 name, or UNKNOWN, and shows it under 0xd2 for 0x5c, 0xd1 for 0x78 and 0x2c otherwise. 0x6e2a90 does the same for 0x84 with the count it was given, the count first, under 0x2c, and 0 with UNKNOWN on a miss. Neither tries the _PET key, logs, fires an event or touches the cast.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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