EditBox::GetMaxBytes
function · ui · primitive
- Address
0x799040· 201 bytes, up to0x799108- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the EditBox method GetMaxBytes, 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 6
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_pushnumber lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.