MinigameMove
function · ui · orchestration
- Address
0x4c4d20· 20 bytes, up to0x4c4d33- Meaning
- Calls MinigameMakeMove on the minigame object with its two arguments when the object exists
- Confidence
- verified, proof one
- Finding
- ui/lottery#the-minigame
Finding: The minigame in ui: the lottery and minigame functions
GetMinigameType() returns one value, always nil: it pushes nil when there is no game object or its kind is not 1, and for kind 1 the
null slot 1 of the name table 0x848384 (minigame#lua-queries), which lua_pushstring turns into nil. MakeMinigameMove(moveType, param) needs two numbers
(Usage: MakeMinigameMove(moveType, param)), passes moveType - 1 and param - 1 to the game object, which sends opcode 0x2f8 with the game GUID, the move type byte and the
parameter when the object accepts the move, and returns nothing. GetMinigameState() calls the object's virtual at +8 with the Lua state and returns its result count, nothing with no game.
The derivation is in the doc.
Callers 1
Callees 1
- MinigameMakeMove minigame
Calls and jumps by a bare address, from tables/calls.tsv.