benilla-re systems structs docs

HasGeosetGroup

function · charactermodel · primitive

Address
0x4774f0 · 33 bytes, up to 0x477510
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.

itemconditioneffect
handsgroup 0hide 0x191..0x1f3, show 0x191 + value
chestno hands group 0, group 0show 0x321 + value
shirtgroup 0, and row 1 columns 1 to 6 emptyshow 0x321 + value
chest or legsgroup 2 (a robe)hide 0x1f5..0x257, 0x386..0x3e7, 0x44c..0x4af, 0x514..0x577; show 0x515 plus the chest's value 2, else the legs'
feetno robe, group 0hide 0x1f5..0x257, show 0x385 and 0x1f5 + value
legsno robe or feet group 0show 0x385 + value 1 if group 1, else 0x385
tabardno robe, group 0show 0x4b1 + value
tabard preview+0x0cshow 0x4b1, and 0x4b2 unless a robe
shirt, legschest not a robe, no tabard group 0show 0x3e9 + shirt value 1 and 0x44e + legs value
cloakgroup 0hide 0x5dc..0x63f, show 0x5dd + value

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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