RoundUpToQuantum
function · core · primitive
- Address
0x429320· 31 bytes, up to0x42933e- Signature
uint32_t __thiscall (void *this, uint32_t size, uint32_t quantum)- Meaning
- Rounds a size up to a multiple of a quantum
- Confidence
- verified, proof two
- Finding
- core/events#shared-arrays
Finding: Shared arrays in core: events
Growable arrays of dwords from these object files are used across the client. Their capacity rounds up to a multiple of a quantum: the largest power of two not above the size for sizes below 64, else 64, and 1 for size 0.
The derivation is in the doc.
Callers 9
- IEvtTimerProcess core
- IEvtTimerKill core
- 0x663ea0 storm
- 0x6654c0 storm
- SBigFromBinary storm
- M2SceneAdvance models
- M2SceneAnimateAndCollect models
- CM2Model::InitializeLoaded models
- CSimpleEditBox::RebuildLabel ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.