Script::AcceptDuel
function · ui · orchestration
- Address
0x4d4ce0· 8 bytes, up to0x4d4ce7- Signature
int __fastcall (lua_State *L)- Meaning
- Accepts the duel challenge
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.