benilla-re systems structs docs

MinigameMoveLegal

function · minigame · primitive

Address
0x728b80 · 48 bytes, up to 0x728baf
Signature
bool __fastcall (void *arg1, uint32_t unused, int index)
Meaning
Returns whether an index from 0 to 9 names a board byte equal to 0xFF
Confidence
verified, proof one
Finding
minigame#move-check
Test
minigame::minigame_move_legal_difftest

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 1

Callees 0

None by a direct call or jump.

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