benilla-re systems structs docs

MeanInt5

function · cmath · unreached

Address
0x455ee0 · 29 bytes, up to 0x455efc
Signature
int32_t __fastcall (int32_t a, int32_t b, int32_t c, int32_t d, int32_t e)
Meaning
Returns the sum of 5 integers divided by 5
Confidence
verified, proof two
Finding
cmath/scalars#order-statistics

Finding: Order statistics in cmath: scalars

Fifteen routines take 3, 5 or 9 signed integers, the first two in ecx and edx and the rest on the stack, and return one: the minimum (0x455d20, 0x455e00, 0x455f00), the median (0x455d40, 0x455e30, 0x455f50), the maximum (0x455d70, 0x455e70, 0x4560e0), the range, maximum less minimum (0x455d90, 0x455ea0, 0x456130) and the mean (0x455de0, 0x455ee0, 0x456210). The mean of three is the sum through 0x455c90; the means of five and nine are the sum through 0x455cc0 and 0x455d00.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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