FreeVector3Buffer
function · loadingscreen · orchestration
- Address
0x408400· 23 bytes, up to0x408416- Signature
void __thiscall (void *this)- Meaning
- Frees the buffer at +8 under the vector tag
- Confidence
- verified, proof one
- Finding
- loadingscreen/overview#growable-arrays
Finding: Growable arrays in loadingscreen: overview
The route vertices, the taxi paths, their leg lists and the pairs use one growable array: a
capacity, a count, a buffer and a granularity. A grow to count + n past the capacity, with its
second argument nonzero, rounds the request up to a multiple of the granularity. A granularity of
0 becomes the threshold (10 for vertices, 64 for the 4-byte lists, 16 for the outer array, 32 for
pairs) and is stored when the request reaches it; below it the largest power of two not above the
request serves that grow only.
The derivation is in the doc.
Callers 9
- BuildRouteVertices loadingscreen
- ObjectMovementBlock objectlayer
- CGxDevice::~CGxDevice gx
- ResizeShipPathLegs objectlayer
- ReallocShipPathLegs objectlayer
- DestroyTerrainZero20 terrain
- InitRipples terrain
- ResizeRipples terrain
- VertArrayFree models
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.