benilla-re systems structs docs

MinigameCheckMove

function · minigame · orchestration

Address
0x728740 · 44 bytes, up to 0x72876b
Signature
bool __thiscall (void *this, uint8_t moveType, int cell)
Meaning
Returns whether a cell is empty, checking the move through 0x728b80
Confidence
verified, proof one
Finding
minigame#move-check

Finding: Move check in minigame

0x728b80(idx) (ecx = the object + 8; ret 4) returns true when 0 <= idx <= 9 and the byte at board[idx] is 0xFF. idx == 9 passes the bound and reads the byte after the ninth cell. Vtable slot 1, 0x728740(byte, idx), calls it with this + 8 and idx; the byte is not used.

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.