RaceClassMasksAdmit
function · spell · primitive
- Address
0x6dddd0· 85 bytes, up to0x6dde24- Signature
uint8_t __fastcall (uint32_t race, uint32_t cls, uint32_t raceMask, uint32_t classMask, uint32_t notRace, uint32_t notClass)- Meaning
- Returns 1 when the optionally complemented race and class masks are zero or hold bit race-1 and class-1
- Confidence
- verified, proof one
- Finding
- spell/tables#race-and-class-mask-test
Finding: Race and class mask test in spell: tables
0x6dddd0 admits a race and a class against a race mask and a class mask, each optionally
complemented first. A mask admits when, after the complement, it is zero or has bit race - 1
(class - 1) set; both must admit. The shift count is taken mod 32, so race or class 0 tests bit 31.
The derivation is in the doc.
Callers 2
- AddSkillLineRec spell
- FindSkillRaceClassInfo spell
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.