benilla-re systems structs docs

MinigameCreate

function · minigame · primitive

Address
0x728560 · 119 bytes, up to 0x7285d6
Signature
MinigameObject * __fastcall (int type, uint32_t unused, uint32_t idHigh, uint32_t arg4)
Meaning
Allocates the 0x70-byte minigame object for type 1 and returns it, or null for any other type
Confidence
verified, proof one
Finding
minigame#the-object

Finding: The object in minigame

0x728560(type, idLow, idHigh) (ecx = type, ret 8) returns null unless type == 1; otherwise it allocates 0x70 bytes (file tag 0x874020, line 0x22) and returns it. The vtable 0x8126b4 is at +0, the type 1 at +8, the 64-bit game id at +0x10; every other field is 0: +0xc a status byte, +0x18 and +0x20 two 64-bit values, +0x28 and +0x29 bytes, and a 64-byte board from +0x2a. The vtable's slots are 0x728700, 0x728740 and 0x728770. The singleton pointer is 0xb71e5c.

The derivation is in the doc.

Callers 1

Callees 1

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