benilla-re systems structs docs

MinigameReadSetup

function · minigame · primitive

Address
0x7285e0 · 86 bytes, up to 0x728635
Signature
void __thiscall (void *this, CDataStore *packet)
Meaning
Reads a setup packet into the object: status, two 64-bit values, 64 board bytes and a winner byte
Confidence
verified, proof one
Finding
minigame#setup-packet

Finding: Setup packet in minigame

Opcode 0x2f6, handler 0x4c4c70: a 64-bit game id, then a type byte; the old object is freed and replaced by 0x728560; 0x7285e0(packet) fills it from the rest; the Lua events 0x216 and 0x217 follow. The fill reads a status byte into +0xc, two 64-bit values into +0x18 and +0x20, 64 bytes into the board at +0x2a, and when the status is 2 a byte into +0x29.

The derivation is in the doc.

Callers 1

Callees 3

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