SpellTargetWantsFriendlyCorpse
function · spell · primitive
- Address
0x6e6240· 11 bytes, up to0x6e624a- Signature
uint32_t __cdecl (void)- Meaning
- Returns bit 15 (0x8000) of the flag word
- Confidence
- verified, proof one
- Finding
- spell/targeting#flag-word-predicates
Finding: Flag word predicates in spell: targeting
Eleven live predicates return 1 when the flag word, read whole, shares a bit with a mask; two
return a single bit. 0x6e61a0 also requires that the pending spell lack AttributesEx 0x80000
(record +0x1c); it reads the record without a null check, so an invalid spell id faults.
| function | test |
|---|---|
0x6e6180 | word & 0x878e |
0x6e61a0 | word & 0x850e, and record +0x1c & 0x80000 clear |
0x6e61e0 | word & 0x040c |
0x6e6200 | word & 0x0500 |
0x6e6210 | word & 0x0480 |
0x6e6230 | word & 0x8600 |
0x6e6240 | bit 15 (0x8000), as 0 or 1 |
0x6e6250 | bit 9 (0x200), as 0 or 1 |
0x6e62d0 | word & 0x4800 |
0x6e6320 | word & 0x60 |
0x6e6330 | word & 0x4010 |
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.