benilla-re systems structs docs

Script::ShowingCloak

function · ui · primitive

Address
0x48ddc0 · 88 bytes, up to 0x48de17
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when the player's cloak is shown, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/serviceverbs#helm-cloak-and-enchants

Finding: Helm, cloak and enchants in ui: GM, service and item lookup verbs

ShowingHelm() and ShowingCloak() return 1 when the player's flags word is clear of bit 10 (0x400) and bit 11 (0x800), and nil with no player. ShowHelm([flag]) and ShowCloak([flag]) call the show method for a true flag, true when absent, and the hide method otherwise. BindEnchant() accepts the item enchant that waits on the bind confirmation, and ReplaceEnchant() binds the held item to the pending spell target (BindSpellTargetObject).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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