CGUnit_C::ClearLowHealth
function · objectlayer · primitive
- Address
0x5fa700· 8 bytes, up to0x5fa707- Meaning
- Clears bit 0x2 of +0xc58, the low-health bit
- Confidence
- verified, proof one
- Finding
- objectlayer/unitbody#low-health-and-bleeding
Finding: Low health and bleeding in objectlayer: unit body each frame
UNIT_FIELD_HEALTH sets bit 0x2 of +0xc58 through 0x5fa710 when the unit has blood levels;
0x5fa700 clears it. While set, the tick's 0x60a260 reschedules +0xc40 2 to 5 seconds ahead.
Nothing else reads +0xc40: the timer draws from the client random and shows nothing.
The derivation is in the doc.
Callers 2
- CGUnit_C::Release objectlayer
- CGUnit_C::OnHealthFieldChanged objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.