benilla-re systems structs docs

NewWorldHandler

function · client

Address
0x401b00 · 189 bytes, up to 0x401bbc
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the new world's map, position and facing, checks the map, and posts the world-port executor with an ack
Confidence
verified, proof one
Name from
the community database (idb)
Finding
collision/teleport#far-transfer-handlers

Finding: Far transfer handlers in collision: teleport arrival

Four messages carry a far transfer, bound in one block at 0x401728. 0x3f (transfer pending) 0x401900 reads the destination map, cancels interaction and casts, and raises the loading screen, so it is up before the world arrives. 0x3e (new world) 0x401b00 reads the map, a position and a facing into globals, checks the map against the Map.dbc rows (0xc0daa8), and posts the world-port executor 0x401bc0 with sendAck 1 on the engine's timed queue at no delay; it neither loads nor acknowledges. 0x40 (transfer aborted) 0x4019a0 dismisses the screen. 0x236 (login verify world) 0x401de0 stages the same globals and calls the executor directly with sendAck 0, so a login load sends no acknowledgement.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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