benilla-re systems structs docs

SStrToInt

function · storm · primitive

Address
0x64ac60 · 98 bytes, up to 0x64acc1
Signature
int32_t __stdcall (const char *string)
Meaning
Reads an optional minus and decimal digits in wrapping 32-bit arithmetic; 0 and error 0x57 for null
Confidence
verified, proof two
Name from
the community database (idb)
Finding
storm/strings#string-to-integer
Test
net::who_string_helpers, storm::sstrtoint_whole

Finding: String to integer in storm: string conversions

SStrToInt(s) (0x64ac60) reads one optional - and then decimal digits, as SStrToFloat tests them, accumulating v·10 + d in wrapping 32-bit arithmetic, and negates after a -. No digit gives 0; a null s sets error 0x57 and gives 0.

The derivation is in the doc.

Callers 82

Callees 1

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