benilla-re systems structs docs

CGUnit_C::GetCreatureRank

function · objectlayer · orchestration

Address
0x605620 · 33 bytes, up to 0x605640
Meaning
Returns the creature record's rank +0x20 for a unit without a pet number, else 0
Confidence
verified, proof one
Finding
objectlayer/units#creature-records

Finding: Creature records in objectlayer: units

A creature's CreatureCache record at +0xb30 gives its subname +0x10, type flags +0x14, type +0x18, family +0x1c, rank +0x20, the +0x24 its pet info reads, civilian +0x30 and racial leader +0x31. 0x605570 gives a unit's creature type: its form's, else its record's, else its race's.

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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