benilla-re systems structs docs

SMemAlloc

function · storm · boundary

Address
0x6462e0 · 61 bytes, up to 0x64631c
Meaning
Allocates size bytes tagged with a name and line through the allocator, zero-filled when flag bit 3 is set
Confidence
verified, proof one
Name from
the community database (idb)
Finding
core/threads#allocator-and-error-calls

Finding: Allocator and error calls in core: process entry and threads

SMemAlloc(size, name, line, flags) (0x6462e0) asks the allocator object for size bytes tagged with a name and line, and zero-fills them when bit 3 of the flags is set. SMemFree(pointer, name, line, flags) (0x646430) frees through the allocator and returns 1. SStrPrintf(buffer, size, format, ...) (0x64a7f0) raises error 0x57 and returns 0 for a null buffer or format, else formats through 0x64a820. SErrSetLastError(code) (0x64e850) stores the code in a global and calls SetLastError. 0x658890(mode) and 0x658b50(mode) enter and leave the read-write lock at ecx through 0x6588a0 and 0x658b60 with the mode in edx.

The derivation is in the doc.

Callers 1011

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.