ClearSwingRecord
function · objectlayer · primitive
- Address
0x6263a0· 129 bytes, up to0x626420- Meaning
- Clears a swing record, setting its five schools to -1
- Confidence
- verified, proof one
- Finding
- objectlayer/unitcombat#the-attacker-state
Finding: The attacker state in objectlayer: unit combat
0x14a carries one swing. 0x625c60 reads it into a record: hit info, packed attacker, packed victim,
total damage and a byte count n of damage parts, each a school, a float, a damage, an absorb and a
resist; then the victim state, two u32 and a blocked amount. Hit info 0x1 adds a u32, eight floats,
five float pairs and a u32. A swing with no damage and a blocked amount becomes state 5. Nothing
bounds n: the parts are arrays of five, and a sixth part on writes into the fields after them.
The 24th part writes past the 0xec-byte record, and the 33rd reaches the handler's saved ebp.
The derivation is in the doc.
Callers 1
- HandleUnitCombatMessage objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.