benilla-re systems structs docs

CGCorpse_C::GetRaceTemplate

function · objectlayer · primitive

Address
0x5d7120 · 42 bytes, up to 0x5d7149
Signature
uint32_t __thiscall (CGCorpse_C *this)
Meaning
Returns the faction template of the corpse's race, or 0
Confidence
verified, proof one
Finding
objectlayer/corpses#members-and-fields

Finding: Members and fields in objectlayer: corpses

A corpse's field block starts at field 6, so a field's offset in [+0x110] is 4·(index − 6): the owner GUID +0x0, the facing +0x8, the position +0xc, the display id +0x18, 19 item slots from +0x1c, the byte fields +0x68 and +0x6c, the guild +0x70, the flags +0x74 and the dynamic flags +0x78. The object adds 32 watcher lists of 12 bytes from +0x118 and the members +0x298 (the normal is cached), +0x29c (the character component), +0x2a0 to +0x2a8 (that normal, (0, 0, 1) at first), +0x2ac (submerged), +0x2b0 (the decal radius) and +0x2b4 (the loot sparkle).

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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