HasGeosetGroup
function · charactermodel · primitive
- Address
0x4774f0· 33 bytes, up to0x477510- Signature
bool __thiscall (void *this, void *record, uint32_t group)- Meaning
- Returns whether an item record has a nonzero value for a geoset group
- Confidence
- verified, proof one
- Finding
- charactermodel/geosets#geoset-pass
- Test
charactermodel::occupancy
Finding: Geoset pass in charactermodel: geosets
0x477520 runs when +0x0a is set. It hides ids 0 to 0x6a4, shows id 0 and every base, and then shows or hides ranges for the worn items (an item record has three geoset group values at +0x18, +0x1c and +0x20; "has group n" is record != 0 and value n nonzero). The
pass ends by rebuilding the model's batches and clearing +0x0a.
| item | condition | effect |
|---|---|---|
| hands | group 0 | hide 0x191..0x1f3, show 0x191 + value |
| chest | no hands group 0, group 0 | show 0x321 + value |
| shirt | group 0, and row 1 columns 1 to 6 empty | show 0x321 + value |
| chest or legs | group 2 (a robe) | hide 0x1f5..0x257, 0x386..0x3e7, 0x44c..0x4af, 0x514..0x577; show 0x515 plus the chest's value 2, else the legs' |
| feet | no robe, group 0 | hide 0x1f5..0x257, show 0x385 and 0x1f5 + value |
| legs | no robe or feet group 0 | show 0x385 + value 1 if group 1, else 0x385 |
| tabard | no robe, group 0 | show 0x4b1 + value |
| tabard preview | +0x0c | show 0x4b1, and 0x4b2 unless a robe |
| shirt, legs | chest not a robe, no tabard group 0 | show 0x3e9 + shirt value 1 and 0x44e + legs value |
| cloak | group 0 | hide 0x5dc..0x63f, show 0x5dd + value |
The derivation is in the doc.
Callers 3
- SelectGeosets charactermodel
- ChooseArmLowerCell charactermodel
- ChooseLegLowerCell charactermodel
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.