benilla-re systems structs docs

ToggleHelmCommand

function · unassigned

Address
0x405250 · 147 bytes, up to 0x4052e2
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Sends opcode 0x2b9 with no body and returns 1
Confidence
verified, proof one
Finding
console/commands#helm-and-cloak-commands

Finding: Helm and cloak commands in console: commands

togglehelm sends opcode 0x2b9 and togglecloak 0x2ba, each with no body, whatever the arguments and whether or not a player exists, and returns 1. The client's flag is not consulted, unlike the interface's helm and cloak buttons (objectlayer/inventory, Helm and cloak).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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