benilla-re systems structs docs

Script::SetLookingForGroup

function · ui · primitive

Address
0x4e96b0 · 171 bytes, up to 0x4e975a
Signature
int __fastcall (lua_State *L)
Meaning
Stores up to three type and entry pairs and a comment and sends them when changed
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/lfg#setlookingforgroup

Finding: SetLookingForGroup in ui: looking for group

SetLookingForGroup(type1, entry1, type2, entry2, type3, entry3, comment) returns no value and never raises. For each of up to three pairs it reads the type (a number, else it stops), rejects a type above 5, reads the entry without a type check, rejects an entry not below the type's count, and stores a slot word. The first failing pair ends the loop; the slots after it keep 0. The comment is a string read from argument 7, and only when argument 4 is a number or a string. Then it calls 0x4e88c0(slots, comment).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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