CGCorpse_C::IsDrawn
function · objectlayer · orchestration
- Address
0x5d67e0· 101 bytes, up to0x5d6844- Signature
uint32_t __thiscall (CGCorpse_C *this, uint32_t pass)- Meaning
- Tells whether the corpse draws in a pass: the base test, the submerged skeleton and the component update
- Confidence
- verified, proof one
- Finding
- objectlayer/corpses#the-pose
Finding: The pose in objectlayer: corpses
A corpse lies in animation 132 Drowned when it is submerged, else 6 Dead. The test, made once
when the corpse is created and again when its model loads, is 0x5d6540(node, position): the node
must hold liquid, and its liquid level must stand more than 2/3 above the corpse's height. The
result stays in +0x2ac and also decides whether a skeleton is drawn, through slot 16 below: the world frame's pass 0x4815d0 calls slot 16 with list at 0x4815ff and tests the result at 0x48161d, and a 0 skips the draw list.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- UpdateCharacterComponent charactermodel
- QueueCharacterComponent charactermodel
- CGObject_C::IsDrawable objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.