ScanStunAuras
function · spell · orchestration
- Address
0x6e9c80· 28 bytes, up to0x6e9c9b- Signature
uint8_t __fastcall (void *unit, const void *castRec, uint32_t *mechanic)- Meaning
- Clears the mechanic and scans the unit's auras of type 12 through 0x6e9ca0
- Confidence
- verified, proof one
- Finding
- spell/checks#crowd-control-aura-scans
Finding: Crowd-control aura scans in spell: checks
0x6e9ca0(unit, castRec, auraType, &mechanic) reads the 48 UNIT_FIELD_AURA slots and, for each
effect of each aura record whose aura type is auraType, asks 0x6e9d70(castRec, auraRec, effect).
The first refusal stores the effect's mechanic (+0x13c), else the aura's (+0x14) when nonzero,
and returns 0. It returns 1 when such an effect exists and every one is exempt, else 0. The
wrappers clear mechanic and try aura types in order, returning 1 on the first 1: 0x6e9c80 12;
0x6e9e60 27, 12, 60; 0x6e9ec0 25, 12, 60; 0x6e9f20 7; 0x6e9f40 5; 0x6e9f60 6, 177, 2.
The derivation is in the doc.
Callers 2
- CheckCasterStateForSpell objectlayer
- CGUnit_C::CanStartMeleeAttack objectlayer
Callees 1
- ScanAurasForImmunity spell
Calls and jumps by a bare address, from tables/calls.tsv.