benilla-re systems structs docs

CWorld::LoadMap

function · terrain · orchestration

Address
0x66fbe0 · 72 bytes, up to 0x66fc27
Signature
void __fastcall (uint32_t mapId, void *arg, uint32_t arg3, uint32_t arg4)
Meaning
Sizes the area of interest, makes the previous window the new one and loads the map
Confidence
verified, proof one
Name from
the community database (idb)
Finding
terrain/world#map-load

Finding: Map load in terrain: world

0x66fbe0 sizes the area of interest at the given position, copies the four new window bounds to the previous ones, so the first frame after a load is not a teleport, and calls the map loader 0x6941f0 with the map id and its stack argument.

The derivation is in the doc.

Callers 2

Callees 2

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