benilla-re systems structs docs

ScriptSetNumberField

function · ui · orchestration

Address
0x703540 · 44 bytes, up to 0x70356b
Signature
void __fastcall (lua_State *L, const char *name, int value)
Meaning
Sets a number field of the table at the top, the value taken from the stack
Confidence
verified, proof two
Finding
ui/luabase#date

Finding: Date in ui: the Lua base library

date([format [, time]]) takes %c and −1 as defaults, uses the current C time for −1, and breaks the time down as UTC when the format starts with !, local otherwise. The format *t answers a table of sec, min, hour, day, month (+1), year (+1900), wday (+1), yday (+1) and isdst; any other format goes to strftime with a 256-byte buffer, and a 0 result raises `date' format too long. An empty result is also 0, so date("") raises it too.

The derivation is in the doc.

Callers 1

Callees 3

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