benilla-re systems structs docs

ReadAttackerState

function · objectlayer · primitive

Address
0x625c60 · 444 bytes, up to 0x625e1b
Meaning
Reads an attacker state message into a swing record
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

Callees 7

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