benilla-re systems structs docs

GetSockaddrAddress

function · os · primitive

Address
0x43f4d0 · 32 bytes, up to 0x43f4ef
Signature
uint32_t __fastcall (const void *sockaddr, uint16_t *port)
Meaning
Returns a sockaddr_in's address and stores its port in host order through a non-null pointer
Confidence
verified, proof one
Finding
net/threads#random-address-draw
Test
net::address_random_pick

Finding: Random address draw in net: threads

The draw is the first output of a random state seeded with the clock's seconds, time(NULL), and advanced once with the steps of 0x4531e0 written inline (random). The chosen entry's address and its port, put in host order by 0x43f4d0, go to ClientLink::ConnectToAddress (0x5bc250).

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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