benilla-re systems structs docs

PetTameFailure

function · spell · orchestration

Address
0x6e97e0 · 32 bytes, up to 0x6e97ff
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles opcode 0x173: reads the reason byte and shows it through 0x6e6a20
Confidence
verified, proof one
Name from
the community database (idb)
Finding
spell/failures#pet-tame-failure

Finding: Pet tame failure in spell: failures

SMSG_PET_TAME_FAILURE (0x173) is one u8 reason. 0x6e97e0 reads it and calls 0x6e6a20, which shows ERR_TAME_FAILED (0xee) with the GlobalStrings text of a PETTAME_ key: 1 INVALIDCREATURE, 2 TOOMANY, 3 CREATUREALREADYOWNED, 4 NOTTAMEABLE, 5 ANOTHERSUMMONACTIVE, 6 UNITSCANTTAME, 7 NOPETAVAILABLE, 8 INTERNALERROR, 9 TOOHIGHLEVEL, 10 DEAD, 11 NOTDEAD, any other byte UNKNOWNERROR. The client's own check calls 0x6e6a20 with 2 and then reports reason 0x17 to 0x6e1a00.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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