benilla-re systems structs docs

CGUnit_C::GetVirtualItem

function · objectlayer · orchestration

Address
0x605e30 · 175 bytes, up to 0x605ede
Meaning
Returns a virtual item slot's info bytes, null without a display or for a weapon a disarm hides (slot 38)
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/unitdisplay#hand-items-and-weapons

Finding: Hand items and weapons in objectlayer: unit display

A creature's hands come from UNIT_VIRTUAL_ITEM_SLOT_DISPLAY (fields 37 to 39) and UNIT_VIRTUAL_ITEM_INFO (40 to 45). 0x605da0 hangs a slot's item model or clears it. 0x60b770 places a hand's item in the hand or its sheath by the sheathe state; 0x60b590 moves it between them; 0x611e10 hangs the ranged weapon and a bow's string. A disarmed unit hides its main-hand weapon. Each hand keeps a weapon trail.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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