CGUnit_C::UpdateBleed
function · objectlayer · primitive
- Address
0x60a260· 296 bytes, up to0x60a387- Meaning
- Reschedules the bleed time +0xc40 2 to 5 s ahead from the client random; nothing else reads it
- 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 1
- CGUnit_C::Tick objectlayer
Callees 3
- NTempest::CRandom::uint32 random
- MulHigh32 cmath
- CGUnit_C::GetBloodRecord objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.