benilla-re systems structs docs

s_duelFlagGuid

global · ui

Address
0xb73240 · 8 bytes, up to 0xb73247
Type
uint64_t
Meaning
Holds the GUID of the duel flag object of the current duel, or 0
Confidence
verified, proof one
Finding
ui/duel#a-challenge

Finding: A challenge in ui: duels

0x4d49d0 reads two GUIDs: the first (the flag object) is kept as the current duel at 0xb73240, the second is the challenger. When the challenger is the active player it shows ERR_DUEL_REQUESTED (309) and accepts at once. When the challenger is on the ignore list it cancels and clears the duel. Otherwise it signals DUEL_REQUESTED (380) with the challenger's name, when the player object is known. AcceptDuel() sends CMSG_DUEL_ACCEPTED (0x16c) and CancelDuel() CMSG_DUEL_CANCELLED (0x16d), each with the stored flag GUID and without a check that a duel exists.

The derivation is in the doc.