ObjectAllocNew
function · objectalloc
- Address
0x463a60· 147 bytes, up to0x463af2- Meaning
- Takes a block from a pool and returns its handle
- Confidence
- inferred
- Finding
- objectlayer/manager#allocating-and-reusing
Finding: Allocating and reusing in objectlayer: manager
A new object of type 1 to 7 comes from its type's pool. Before allocating, the manager takes the
oldest object off that type's reuse list, if any, unlinks it from the released table, runs its
vtable slot 0 with 0 and returns it to the pool; so a released object survives until the next
object of its type is created or the destroy message names it. The active player is allocated
from the heap: its 0x3178-byte members and fields, 4 bytes per watched field, and a 0x2550-byte
block it points to at +0x1c68.
The derivation is in the doc.
Callers 20
- ClntObjMgrAllocObject objectlayer
- NewCharacterComponent charactermodel
- TextureCacheEntryAlloc gx
- WDataStore::InternalFetchWrite net
- AllocPooledBuffer net
- NewMissile objectlayer
- AllocMapObj terrain
- AllocMapObjGroup terrain
- AllocMapLink terrain
- AllocArea terrain
- AllocChunk terrain
- AllocDoodadDef terrain
- AllocMapEntity terrain
- AllocMapLight terrain
- AllocCacheLight terrain
- AllocMapObjDefGroup terrain
- AllocMapObjDef terrain
- AllocChunkLiquid terrain
- AllocSoundEmitter terrain
- LcdPoolNew ui
Callees 4
- 0x463570 unassigned
- SErrSetLastError storm
- SCritSect::Enter storm
- SCritSect::Leave storm
Calls and jumps by a bare address, from tables/calls.tsv.