benilla-re systems structs docs

EditBox::SetMaxBytes

function · ui · primitive

Address
0x798f30 · 257 bytes, up to 0x799030
Signature
int __fastcall (lua_State *L)
Meaning
Implements the EditBox method SetMaxBytes, its pair in the table 0x87bb68
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/editbox#limits-from-lua

Finding: Limits from Lua in ui: EditBox

SetMaxBytes(n) keeps at most n − 1 bytes, room for the terminator, and n of 0 or less removes the limit; GetMaxBytes returns the limit plus 1, so 0 when there is none. SetMaxLetters(n) stores n as it is, 0 meaning none. Each takes exactly one argument, read as a number truncated toward zero.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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