ReserveUint64Array
function · spell · primitive
- Address
0x6ed0c0· 240 bytes, up to0x6ed1af- Signature
void __thiscall (uint32_t *this, uint32_t extra, uint32_t rounded)- Meaning
- Grows a uint64 array to hold extra more, rounding to its quantum, by reallocation or copy
- Confidence
- verified, proof one
- Finding
- spell/visuals#list-and-array-helpers
Finding: List and array helpers in spell: visuals
A link is two dwords at the node's start: the previous link's address, and the next node or the
terminator's address with bit 0 set. Unlinking repairs both neighbours and zeroes the pair. A
chain's GUID and hop arrays hold capacity, count, data and a growth quantum. Growing to m with
rounding rounds m up to the quantum: the stored one, or for 0 the largest power of two not above
m when m is below 32 (16 for hops), else 32 (16), which is stored. The data is reallocated in
place, or allocated, copied and the old block freed.
The derivation is in the doc.
Callers 1
- CreateLightningObjects spell
Callees 3
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.