CompareFormSpells
function · ui · primitive
- Address
0x4b2bb0· 152 bytes, up to0x4b2c47- Signature
int __cdecl (uint32_t *a, uint32_t *b)- Meaning
- Orders two form bar spells by their stance bar order word, -1 last, then by id
- Confidence
- verified, proof one
- Finding
- ui/petbar#form-list
Finding: Form list in ui: the pet bar and the form bar
The form bar is a sorted list of spell ids at 0xb71108 (count 0xb71104). 0x4b25b0 adds a learned
spell unless its AttributesEx2 has bit 1 (0x2); the spell needs a shapeshift aura effect (aura 36) or
AttributesEx2 bit 4 (0x10). The sort 0x4b2bb0 orders by the word at +0x298, ascending, entries of -1
last and entries below 0 by spell id. Unlearning removes the entry (0x4b2c50). Both signal
UPDATE_SHAPESHIFT_FORMS (387). GetNumShapeshiftForms pushes the count.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.