benilla-re systems structs docs

playername

rowsnamedverifiedproof twotested
functions108108 (100%)107 (99%)0 (0%)12 (11%)
globals3131 (100%)26 (83%)0 (0%)–
structs55 (100%)5 (100%)0 (0%)–
fields3636 (100%)36 (100%)0 (0%)–
all180180 (100%)174 (96%)0 (0%)12 (11%)

Docs

playername: the object file

PlayerName.cpp draws the text that floats over world objects: the name block over a unit with its raid-target marker, the combat numbers and words that rise over a unit, the honor rank icons beside them, and the weapon swing trails. Its code runs from 0x6c63e0 to its last function 0x6c8ef0. Its run in the initializer table is slots 0x82cd58 to 0x82cd90; the next run, from 0x82cd94, is the name filter. The loot currency code before it (0x6c6220 to 0x6c63a0) is a different file. The other topic docs are plates, worldtext and swing.

The client reaches the file at world entry (0x6c7470, 0x6c8470), once per frame (0x6c78a0, 0x6c78b0, 0x6c7900), from the unit code that creates and dirties name records (0x6c76a0, 0x6c77d0, 0x6c77f0, 0x6c7800, 0x6c78f0), from the combat code that submits text (0x6c7840) and from the model code that attaches trails (0x6c6920, 0x6c6970, 0x6c69c0).

playername: name records and plates

A name record (PLAYERNAMEDESC, 0x38 bytes) belongs to one unit. It owns the unit's name text, up to four world texts and the cached height of the name block. The unit code creates the record and the unit's model calls back into it each time the model draws. The name text is drawn through a font batch the plate update flushes itself.

playername: weapon swing trails

The trail behind a swinging weapon. The unit code attaches a trail object to a model with a colour and a lifetime; from then on the model's draw callback adds the weapon's two attachment points each frame to a ring and draws a fading triangle strip through them.

playername: world text

The floating combat text. The combat code submits a string over a unit; the string lives in a text record for a fixed time, rises, scales and fades by a per-category table, and is placed on the screen by projecting its world anchor. At most four texts exist per unit.

Closure

23 roots. A walk of direct calls and jumps from them reaches 45 of the 108 functions the system owns, and stops at 88 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 108

addressnameclassconfidencetestclosure
0x6c63e0InitPlayerNameInfinityThunkorchestrationverified, proof one
0x6c63f0InitPlayerNameInfinityorchestrationverified, proof one
0x6c6400InitSwingPoolThunkorchestrationverified, proof one
0x6c6410InitSwingPoolorchestrationverified, proof one
0x6c6430RegisterDestroySwingPoolorchestrationverified, proof one
0x6c6440DestroySwingPoolorchestrationverified, proof one
0x6c6450InitTrailPoolThunkorchestrationverified, proof one
0x6c6460InitTrailPoolorchestrationverified, proof one
0x6c6480RegisterDestroyTrailPoolorchestrationverified, proof one
0x6c6490DestroyTrailPoolorchestrationverified, proof one
0x6c64a0SWING::AppendPointprimitiveverified, proof one
0x6c64d0SWING::FillVerticesprimitiveverified, proof one
0x6c6540SWING::ClampTailprimitiveverified, proof one
0x6c6560SWING::Stepprimitiveverified, proof one✓
0x6c6710WTOBJECT::Releaseorchestrationverified, proof one✓
0x6c6750WTOBJECT::SetTrailorchestrationverified, proof one✓
0x6c67f0WTOBJECT::DrawCallbackorchestrationverified, proof one
0x6c68e0PlayerNameNooporchestrationinferred✓
0x6c68f0WorldTextShutdownPoolsorchestrationverified, proof one✓
0x6c6920WTOBJECT::Createorchestrationverified, proof one✓
0x6c6970WTOBJECT::Destroyorchestrationverified, proof one✓
0x6c69a0WTOBJECT::FreeSwingunreachedverified, proof one
0x6c69c0WTOBJECT::StartTrailorchestrationverified, proof one✓
0x6c69e0InitPlayerNameInfinity2Thunkorchestrationverified, proof one
0x6c69f0InitPlayerNameInfinity2orchestrationverified, proof one
0x6c6a00InitMarkerCornersThunkorchestrationverified, proof one
0x6c6a10InitMarkerCornersprimitiveverified, proof one
0x6c6a90RegisterDestroyMarkerCornersorchestrationverified, proof one
0x6c6aa0DestroyMarkerCornersorchestrationverified, proof one
0x6c6ab0InitMarkerUVThunkorchestrationverified, proof one
0x6c6ac0InitMarkerUVprimitiveverified, proof one
0x6c6b20RegisterDestroyMarkerUVorchestrationverified, proof one
0x6c6b30DestroyMarkerUVorchestrationverified, proof one
0x6c6b40InitNameListThunkorchestrationverified, proof one
0x6c6b50InitNameListorchestrationverified, proof one
0x6c6b80RegisterDestroyNameListorchestrationverified, proof one
0x6c6b90DestroyNameListorchestrationverified, proof one
0x6c6c40InitNamePoolThunkorchestrationverified, proof one
0x6c6c50InitNamePoolorchestrationverified, proof one
0x6c6c70RegisterDestroyNamePoolorchestrationverified, proof one
0x6c6c80DestroyNamePoolorchestrationverified, proof one
0x6c6c90PLAYERNAMEDESC::PLAYERNAMEDESCorchestrationverified, proof one✓
0x6c6cd0PLAYERNAMEDESC::~PLAYERNAMEDESCorchestrationverified, proof one✓
0x6c6d40PLAYERNAMEDESC::DrawWorldTextsorchestrationverified, proof one✓
0x6c6e00PLAYERNAMEDESC::QueueIconsorchestrationverified, proof one✓
0x6c6e60PLAYERNAMEDESC::ReleaseWorldTextsorchestrationverified, proof one✓
0x6c6e90PLAYERNAMEDESC::UpdatePlateprimitiveverified, proof one✓✓
0x6c73f0PLAYERNAMEDESC::AddWorldTextprimitiveverified, proof one✓✓
0x6c7470PlayerNameInitializeorchestrationverified, proof one✓
0x6c75c0PlayerNameCVarChangedorchestrationverified, proof one
0x6c7630PlayerNameShutdownorchestrationverified, proof one✓
0x6c76a0CreatePlayerNameDescorchestrationverified, proof one✓
0x6c7780PlayerNameDrawCallbackorchestrationverified, proof one✓
0x6c77d0DestroyPlayerNameDescorchestrationverified, proof one✓
0x6c77f0PlayerNameMarkColorDirtyorchestrationverified, proof one✓
0x6c7800PlayerNameMarkAllColorDirtyorchestrationverified, proof one✓
0x6c7840SubmitWorldTextorchestrationverified, proof one✓
0x6c78a0PlayerNameNextFrameprimitiveverified, proof one✓
0x6c78b0PlayerNameReleaseStaleorchestrationverified, proof one✓
0x6c78f0PlayerNameMarkRebuildorchestrationverified, proof one✓
0x6c7900PlayerNameRenderorchestrationverified, proof one✓
0x6c7950PlayerNameHasTextorchestrationverified, proof one✓
0x6c7970InitPlayerNameInfinity3Thunkorchestrationverified, proof one
0x6c7980InitPlayerNameInfinity3orchestrationverified, proof one
0x6c7990InitCategoryTableThunkorchestrationverified, proof one
0x6c79a0InitCategoryTableprimitiveverified, proof one
0x6c7b60WorldTextCategory::Initprimitiveverified, proof one
0x6c7ba0RegisterDestroyCategoryTableorchestrationverified, proof one
0x6c7bb0DestroyCategoryTableorchestrationverified, proof one
0x6c7bc0InitTextPoolThunkorchestrationverified, proof one
0x6c7bd0InitTextPoolorchestrationverified, proof one
0x6c7bf0RegisterDestroyTextPoolorchestrationverified, proof one
0x6c7c00DestroyTextPoolorchestrationverified, proof one
0x6c7c10InitShadowOffsetThunkorchestrationverified, proof one
0x6c7c20InitShadowOffsetprimitiveverified, proof one
0x6c7c40RegisterDestroyShadowOffsetorchestrationverified, proof one
0x6c7c50DestroyShadowOffsetorchestrationverified, proof one
0x6c7c60InitIconRingThunkorchestrationverified, proof one
0x6c7c70InitIconRingorchestrationverified, proof one
0x6c7c90RegisterDestroyIconRingorchestrationverified, proof one
0x6c7ca0DestroyIconRingorchestrationverified, proof one
0x6c7cc0WORLDTEXTSTRING::Drawprimitiveverified, proof one✓✓
0x6c7f10WORLDTEXTSTRING::QueueIconprimitiveverified, proof one✓✓
0x6c8070WORLDTEXTSTRING::Riseprimitiveverified, proof one✓✓
0x6c80b0WORLDTEXTSTRING::ScaleAtprimitiveverified, proof one✓✓
0x6c81a0WORLDTEXTSTRING::Rebuildorchestrationverified, proof one✓✓
0x6c82c0WORLDTEXTSTRING::SetSizeprimitiveverified, proof one✓✓
0x6c82e0WORLDTEXTSTRING::Fadeprimitiveverified, proof one✓✓
0x6c8470WorldTextInitializeorchestrationverified, proof one✓
0x6c8520WorldTextShutdownorchestrationverified, proof one✓
0x6c8570WORLDTEXTSTRING::Createorchestrationverified, proof one✓
0x6c8650WORLDTEXTSTRING::DeletingDestructororchestrationverified, proof one✓
0x6c8690WORLDTEXTSTRING::SetIconunreachedverified, proof one
0x6c86a0WORLDTEXTSTRING::Releaseorchestrationverified, proof one✓
0x6c86c0WORLDTEXTSTRING::DrawIfSetorchestrationverified, proof one✓
0x6c86d0WORLDTEXTSTRING::QueueIconIfSetorchestrationverified, proof one✓
0x6c86e0InitIconQuadThunkorchestrationverified, proof one
0x6c86f0InitIconQuadprimitiveverified, proof one
0x6c8770RegisterDestroyIconQuadorchestrationverified, proof one
0x6c8780DestroyIconQuadorchestrationverified, proof one
0x6c8790InitIconUVThunkorchestrationverified, proof one
0x6c87a0InitIconUVprimitiveverified, proof one
0x6c8800RegisterDestroyIconUVorchestrationverified, proof one
0x6c8810DestroyIconUVorchestrationverified, proof one
0x6c8820WorldTextDrawIconsorchestrationverified, proof one✓✓
0x6c8d00WorldTextSetPixelProjectionprimitiveverified, proof one✓✓
0x6c8eb0SArray::GrowChunkprimitiveverified, proof one✓
0x6c8ef0SArray::SetCapacityhostverified, proof one✓

Globals 31

addressnametypeconfidence
0x8112dcs_keyframeTableconst float[12]verified, proof one
0x811314WORLDTEXTSTRING::vftablevoid *[2]verified, proof one
0x86c668s_textUnitNamePlayerPVPTitlechar[23]inferred
0x86c680s_textUnitNamePlayerGuildchar[20]inferred
0x86c694s_textUnitNamePlayerchar[15]inferred
0x86c6a4s_textUnitNameNPCchar[12]inferred
0x86c6b0s_textUnitNameOwnchar[12]inferred
0xce86d4s_trailObjectCountuint32_tverified, proof one
0xce86d8s_trailObjectPooluint8_t[20]verified, proof one
0xce86ecs_swingPooluint8_t[20]verified, proof one
0xce8700s_playerNameInfinityfloatverified, proof one
0xce870cs_namePooluint8_t[20]verified, proof one
0xce8720s_nameFlagsuint32_tverified, proof one
0xce8724s_frameTickuint32_tverified, proof one
0xce8728s_nameListuint32_t[3]verified, proof one
0xce8734s_nameBatchvoid *verified, proof one
0xce8738s_nameFontvoid *verified, proof one
0xce873cs_markerUVOffsetsfloat[8]verified, proof one
0xce875cs_markerCornersfloat[12]verified, proof one
0xce878cs_raidTargetTexturevoid *verified, proof one
0xce8790s_playerNameInfinity2floatverified, proof one
0xce87a0s_iconQuadUVsfloat[8]verified, proof one
0xce87c0s_iconQuadPositionsfloat[12]verified, proof one
0xce87f0s_iconRinguint32_t[4]verified, proof one
0xce8800s_textBatchvoid *verified, proof one
0xce8804s_shadowOffsetfloat[2]verified, proof one
0xce880cs_textPooluint8_t[20]verified, proof one
0xce8820s_damageFontvoid *verified, proof one
0xce8828s_categoryTableuint32_t[42]verified, proof one
0xce88d0s_playerNameInfinity3floatverified, proof one
0xce88dcs_rankBadgeTexturesvoid *[15]verified, proof one

Structs