benilla-re systems structs docs

SendAccountData

function · net · orchestration

Address
0x5afae0 · 252 bytes, up to 0x5afbdb
Signature
void __fastcall (uint32_t index)
Meaning
Sends opcode 0x20b with a section index, its file size and the file compressed at level 1
Confidence
verified, proof one
Finding
net/accountdata#section-transfer

Finding: Section transfer in net: account data

0x5afbe0 sends CMSG_REQUEST_ACCOUNT_DATA (0x20a) with the section number and sets its pending byte. 0x5afae0 sends CMSG_UPDATE_ACCOUNT_DATA (0x20b): the section number, the file's size, and the file compressed with zlib level 1, to the end of the packet; nothing is sent when the file does not open. SMSG_UPDATE_ACCOUNT_DATA (0x20c) is a section number, a size and a zlib stream to the end of the packet: 0x5afc60 inflates it into a buffer of that size on the stack, overwrites the section file with the result unless the size is 0, clears the pending byte, and runs the saved read callback. It does not test the inflate's result or the section number, and the size is the server's.

The derivation is in the doc.

Callers 2

Callees 10

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