benilla-re systems structs docs

TestSpellAttributesAndFlags

function · spell · orchestration

Address
0x6e4870 · 42 bytes, up to 0x6e4899
Signature
uint8_t __fastcall (const void *rec, uint32_t flags)
Meaning
Returns a bit from AttributesEx, AttributesEx2 and a flags word that gates the chain-target fill
Confidence
verified, proof one
Finding
spell/checks#chain-fill-predicate

Finding: Chain fill predicate in spell: checks

0x6e4870(rec, flags) returns 1 for AttributesEx2 & 0x40000000; else 0 for AttributesEx & 0x400 or AttributesEx2 & 0x10000000; else 1 when flags & 1 is clear or flags & 0x1000 is set; else 0. Its one caller, the handler 0x6e7a70 (handlers), passes the first value it reads from the packet, into a zeroed dword, as flags; the result gates its chain-target fill at 0x6e800d and is an argument of the caster call before it.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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