benilla-re systems structs docs

SendLotteryQuery

function · ui · unreached

Address
0x4c3eb0 · 132 bytes, up to 0x4c3f33
Signature
void __stdcall (uint32_t guid_lo, uint32_t guid_hi)
Meaning
Sets the interaction target to the kiosk GUID, stores it and sends opcode 0x334; nothing reaches it
Confidence
verified, proof one
Finding
ui/lottery#buying

Finding: Buying in ui: the lottery and minigame functions

GetLastLotteryNumbers() sends opcode 0x334 with no body. BuyRandomPicks(n) sends opcode 0x336 with n and 0 for n from 1 to 10, and raises Invalid number of randompicks otherwise; its argument is not checked to be a number. SubmitNumbers(a, b, c, d) converts four numbers, all of which must be from 1 to 31 and distinct, into a mask of one bit each (bit n - 1) and sends opcode 0x336 with 0 and the mask. With an invalid or repeated number it sends nothing and returns 1 without pushing a value, so Lua receives its fourth argument. CloseLottery() does nothing. The window's open, 0x4c3eb0, sends opcode 0x334 and has no caller (ui/loot#no-walk-away-leash).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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