TryOnItemCached
function · ui · primitive
- Address
0x504ba0· 23 bytes, up to0x504bb6- Signature
void __fastcall (uint32_t arg1, uint32_t unused, uint32_t, uint8_t ok)- Meaning
- Tries the item on again when its record arrives
- Confidence
- verified, proof one
- Finding
- ui/dressup#trying-on-an-item
Finding: Trying on an item in ui: trying items on the dressing room model
TryOn(itemId) looks the item up in the item cache and does nothing while the record is missing (the cache calls
0x504ba0 back to try again), when the record has display id 0, or while the pane has no model. It then acts on the
record's inventory type:
| inventory type | action |
|---|---|
| 1 | clear and set component slot 0 |
| 3, 4, 5 and 20, 6, 7, 8, 9, 10 | component slots 1, 2, 3, 4, 5, 6, 7, 8 |
| 16 cloak | component slot 0xa |
| 19 tabard | component slot 9, with the guild emblem |
| 13, 14, 15, 17, 21, 22, 23, 25, 26 | the held-item lanes |
| 2, 11, 12, 28 | nothing |
| 18, 24, 27 and above 28 | ERR_NOT_EQUIPPABLE, nothing else |
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.