benilla-re systems structs docs

Script::TutorialsEnabled

function · ui · primitive

Address
0x4b5960 · 69 bytes, up to 0x4b59a4
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 when any byte of the acknowledged set is not 0xFF, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/tutorials#the-lua-functions

Finding: The Lua functions in ui: tutorials

TutorialsEnabled() pushes 1 when any byte of the acknowledged set differs from 0xFF, else nil; it pushes nil for an empty set. FlagTutorial(n) takes a number (Usage: FlagTutorial("tutorial") otherwise), truncates it and acknowledges n - 1; a result below 0 or above 49 does nothing and no error. ClearTutorials() cancels every queued node, fills both sets with ones and sends the empty message 0xFF. ResetTutorials() fills both sets with zeros, leaves the queue and sends the empty message 0x100. None of the four pushes a value but the first.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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