benilla-re systems structs docs

GetDrawnWeapon

function · objectlayer · primitive

Address
0x625460 · 146 bytes, up to 0x6254f1
Meaning
Returns a hand's weapon while weapons are drawn, optionally only with its model loaded
Confidence
verified, proof one
Finding
objectlayer/unitcombat#weapon-and-sound-helpers

Finding: Weapon and sound helpers in objectlayer: unit combat

0x625400(block) returns the victim's parrying item: the main-hand weapon unless blocking, else an off-hand weapon or shield. 0x625460(offHand, loaded) returns a hand's weapon while weapons are drawn, with loaded only when its model is loaded. 0x625500 returns the unit's sound size: the display's +0x24, or the model data's +0xc when that is −1. 0x625c30 shakes the camera with the model data's +0x30.

The derivation is in the doc.

Callers 2

Callees 2

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