benilla-re systems structs docs

ObjectUpdateHandler

function · objectlayer · primitive

Address
0x4651a0 · 370 bytes, up to 0x465311
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles SMSG_UPDATE_OBJECT: the out-of-range list, the flagged and other create passes, then the notify pass
Confidence
verified, proof two
Name from
the community database (idb)
Finding
objectlayer/update#update-packet
Test
objectlayer::update_handler_dispatch

Finding: Update packet in objectlayer: update

The packet is a u32 block count, a u8 flag, then the blocks, each a u8 type and its body. When the first block's type is 4 the client handles that out-of-range list first and starts the later passes at block 1. A nonzero flag runs a pass over the blocks whose GUID's top four bits are 6 or 8; a second pass handles every other GUID. Both passes start after the out-of-range block and end with the read position put back. The third pass rereads all blocks from block 0 and notifies. Then every object a pass reactivated is taken off the manager's list at +0xb0 and gets its vtable slot 3 (+0x0c). The handler returns 1.

The derivation is in the doc.

Callers 1

Callees 8

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