s_entityFacetCallback
global · terrain
- Address
0xc91f54· 4 bytes, up to0xc91f57- Type
void *- Meaning
- Holds the callback 0x483340 that resolves an entity record to a game object model and box
- Confidence
- verified, proof one
- Finding
- terrain/entities#entity-gather
Finding: Entity gather in terrain: entity facets
A game object's collision mesh is solid to the mover. The entity leg of the gather, 0x6abe60, runs
when the query class has any bit of 0xf00000 (the mover's does), walks a chunk's or placement's list
of entity records and calls the callback 0xc91f54 for each whose box overlaps the query box. The
callback is 0x483340: it finds the object by GUID, asks its vtable slot +0x50 with the class
word, requires a game object type, and returns the model and box. 0x6abfb0 then runs the model's
collision-mesh gather 0x7137c0, which appends a 52-byte facet per triangle to the same list as
terrain and map objects, and tags each new facet with the object's GUID in the owner array.
The derivation is in the doc.