benilla-re systems structs docs

Script::ChangeRealm

function · glue · primitive

Address
0x46f0e0 · 264 bytes, up to 0x46f1e7
Signature
int __fastcall (lua_State *L)
Meaning
Resolves a realm as GetRealmInfo does, stores the category and hands the realm to the glue manager
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/realms#changerealm

Finding: ChangeRealm in glue: the realm list

ChangeRealm(category, index) with two numbers stores 0x46edf0(category − 1) in 0x837e98 before any range check. When a realm is found it sets 0x837e9c to 0 if it was −1 and passes the record in ecx to the glue manager's 0x46b210; none found does nothing more. The flat form stores no category. It returns no values.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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