benilla-re systems structs docs

SetCameraTransport

function · uicamera · primitive

Address
0x511da0 · 237 bytes, up to 0x511e8c
Signature
void __thiscall (void *this, uint64_t transport)
Meaning
Stores the camera's transport GUID, turning the camera by the old and new transports' facings
Confidence
inferred
Finding
collision/world#camera-notices
Test
ui::glue_511_511da0_neg

Finding: Camera notices in collision: world

0x6309f0(guid, transport): when the active camera follows the object guid, it hands the camera the new transport GUID through 0x511da0, which turns the camera by the old transport's facing and back by the new one's when they differ. 0x630bd0(arg, guid): when the active camera follows the object guid, it reloads the world through 0x66fc80 and 0x615020 (collision/teleport#forced-position-reload). The active camera is 0x4818f0's return; the GUID it follows is its +0x88.

The derivation is in the doc.

Callers 5

Callees 3

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