playername
| rows | named | verified | proof two | tested | |
|---|---|---|---|---|---|
| functions | 108 | 108 (100%) | 107 (99%) | 0 (0%) | 12 (11%) |
| globals | 31 | 31 (100%) | 26 (83%) | 0 (0%) | – |
| structs | 5 | 5 (100%) | 5 (100%) | 0 (0%) | – |
| fields | 36 | 36 (100%) | 36 (100%) | 0 (0%) | – |
| all | 180 | 180 (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
- PlayerNameNoop playername
- WorldTextShutdownPools playername
- WTOBJECT::Create playername
- WTOBJECT::Destroy playername
- WTOBJECT::StartTrail playername
- PlayerNameInitialize playername
- PlayerNameShutdown playername
- CreatePlayerNameDesc playername
- DestroyPlayerNameDesc playername
- PlayerNameMarkColorDirty playername
- PlayerNameMarkAllColorDirty playername
- SubmitWorldText playername
- PlayerNameNextFrame playername
- PlayerNameReleaseStale playername
- PlayerNameMarkRebuild playername
- PlayerNameRender playername
- PlayerNameHasText playername
- WorldTextInitialize playername
- WorldTextShutdown playername
- WORLDTEXTSTRING::DeletingDestructor playername
- PlayerNameDrawCallback playername
- PLAYERNAMEDESC::AddWorldText playername
- WORLDTEXTSTRING::Create playername
Boundary
- SplatVector3 loadingscreen
- __ftol crt
- CStatus::~CStatus client
- UnscaleScreenXY screencoord
- DivideByScreenScaleX screencoord
- DivideByScreenScaleY screencoord
- MultiplyByScreenScaleX screencoord
- MultiplyByScreenScaleY screencoord
- HandleClose base
- OsGetAsyncTimeMs core
- TextureCreate gx
- GetTextureDeviceObject gx
- TextBlockGenerateFont unassigned
- TextBlockGetFontPtr unassigned
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetC8 objectlayer
- ProjectWorldPointToFrame ui
- FindRaidTargetSlot ui
- SeatWorldTextRect ui
- 0x50d390 uicamera
- SetDeviceLight gx
- SetDeviceLightEnabled gx
- GxRsSetWord gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GxBufLock gx
- GxBufUnlock gx
- GxBufCreate gx
- GxDeviceCaps gx
- GxCapsDrawRect gx
- GxVertexBufBind gx
- PassBufferToDevice gx
- GxPrimRenderOne gx
- CGxTexFlags::CGxTexFlags gx
- SetDeviceProjection gx
- SetDeviceView gx
- GetDeviceViewport gx
- GetDeviceProjection gx
- GetDeviceView gx
- 0x58b200 gx
- 0x58b220 gx
- GxXformSetTexture gx
- DeviceLightInitialize gx
- GxuFontCreateFont unassigned
- GxuFontDestroyFont unassigned
- GxuFontCreateString unassigned
- GxuFontDestroyString unassigned
- GxuFontCreateBatch unassigned
- GxuFontBatchAdd unassigned
- GxuFontBatchDraw unassigned
- GxuFontDestroyBatch unassigned
- GxuFontGetTextExtent unassigned
- GxuFontGetTextBlockHeight unassigned
- GxuStringSetColor unassigned
- GxuStringSetPosition unassigned
- GxuStringSetShadow unassigned
- BuildOrthoMatrix gxumath
- IsDeadOrGhost objectlayer
- CGUnit_C::ShouldShowName objectlayer
- CGUnit_C::AnimateQuestMarker objectlayer
- CGUnit_C::GetNamePosition objectlayer
- CGUnit_C::BuildNameText objectlayer
- CVar::Register cvar
- ConsoleCommandUnregister console
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
- SStrCopy storm
- SStrLen storm
- FrameScript_GetText ui
- FrameScript::GetVariable ui
- CM2Model::AddRef models
- HandleClose2 models
- CM2Model::IsReady models
- CM2Model::SetDrawCallback models
- floor crt
- FreeBlockPoolBlocks base
- GetBlockPoolData base
- CDataAllocator::PutData base
- CLayoutFrame::GetRect ui
- ExpandGrammarEscapes ui
- TransformPoint cmath
- MultiplyMatrix4InPlace cmath
- Determinant4 cmath
- InvertMatrix4WithDeterminant cmath
- TranslateMatrix cmath
Functions 108
| address | name | class | confidence | test | closure |
|---|---|---|---|---|---|
0x6c63e0 | InitPlayerNameInfinityThunk | orchestration | verified, proof one | ||
0x6c63f0 | InitPlayerNameInfinity | orchestration | verified, proof one | ||
0x6c6400 | InitSwingPoolThunk | orchestration | verified, proof one | ||
0x6c6410 | InitSwingPool | orchestration | verified, proof one | ||
0x6c6430 | RegisterDestroySwingPool | orchestration | verified, proof one | ||
0x6c6440 | DestroySwingPool | orchestration | verified, proof one | ||
0x6c6450 | InitTrailPoolThunk | orchestration | verified, proof one | ||
0x6c6460 | InitTrailPool | orchestration | verified, proof one | ||
0x6c6480 | RegisterDestroyTrailPool | orchestration | verified, proof one | ||
0x6c6490 | DestroyTrailPool | orchestration | verified, proof one | ||
0x6c64a0 | SWING::AppendPoint | primitive | verified, proof one | ||
0x6c64d0 | SWING::FillVertices | primitive | verified, proof one | ||
0x6c6540 | SWING::ClampTail | primitive | verified, proof one | ||
0x6c6560 | SWING::Step | primitive | verified, proof one | ✓ | |
0x6c6710 | WTOBJECT::Release | orchestration | verified, proof one | ✓ | |
0x6c6750 | WTOBJECT::SetTrail | orchestration | verified, proof one | ✓ | |
0x6c67f0 | WTOBJECT::DrawCallback | orchestration | verified, proof one | ||
0x6c68e0 | PlayerNameNoop | orchestration | inferred | ✓ | |
0x6c68f0 | WorldTextShutdownPools | orchestration | verified, proof one | ✓ | |
0x6c6920 | WTOBJECT::Create | orchestration | verified, proof one | ✓ | |
0x6c6970 | WTOBJECT::Destroy | orchestration | verified, proof one | ✓ | |
0x6c69a0 | WTOBJECT::FreeSwing | unreached | verified, proof one | ||
0x6c69c0 | WTOBJECT::StartTrail | orchestration | verified, proof one | ✓ | |
0x6c69e0 | InitPlayerNameInfinity2Thunk | orchestration | verified, proof one | ||
0x6c69f0 | InitPlayerNameInfinity2 | orchestration | verified, proof one | ||
0x6c6a00 | InitMarkerCornersThunk | orchestration | verified, proof one | ||
0x6c6a10 | InitMarkerCorners | primitive | verified, proof one | ||
0x6c6a90 | RegisterDestroyMarkerCorners | orchestration | verified, proof one | ||
0x6c6aa0 | DestroyMarkerCorners | orchestration | verified, proof one | ||
0x6c6ab0 | InitMarkerUVThunk | orchestration | verified, proof one | ||
0x6c6ac0 | InitMarkerUV | primitive | verified, proof one | ||
0x6c6b20 | RegisterDestroyMarkerUV | orchestration | verified, proof one | ||
0x6c6b30 | DestroyMarkerUV | orchestration | verified, proof one | ||
0x6c6b40 | InitNameListThunk | orchestration | verified, proof one | ||
0x6c6b50 | InitNameList | orchestration | verified, proof one | ||
0x6c6b80 | RegisterDestroyNameList | orchestration | verified, proof one | ||
0x6c6b90 | DestroyNameList | orchestration | verified, proof one | ||
0x6c6c40 | InitNamePoolThunk | orchestration | verified, proof one | ||
0x6c6c50 | InitNamePool | orchestration | verified, proof one | ||
0x6c6c70 | RegisterDestroyNamePool | orchestration | verified, proof one | ||
0x6c6c80 | DestroyNamePool | orchestration | verified, proof one | ||
0x6c6c90 | PLAYERNAMEDESC::PLAYERNAMEDESC | orchestration | verified, proof one | ✓ | |
0x6c6cd0 | PLAYERNAMEDESC::~PLAYERNAMEDESC | orchestration | verified, proof one | ✓ | |
0x6c6d40 | PLAYERNAMEDESC::DrawWorldTexts | orchestration | verified, proof one | ✓ | |
0x6c6e00 | PLAYERNAMEDESC::QueueIcons | orchestration | verified, proof one | ✓ | |
0x6c6e60 | PLAYERNAMEDESC::ReleaseWorldTexts | orchestration | verified, proof one | ✓ | |
0x6c6e90 | PLAYERNAMEDESC::UpdatePlate | primitive | verified, proof one | ✓ | ✓ |
0x6c73f0 | PLAYERNAMEDESC::AddWorldText | primitive | verified, proof one | ✓ | ✓ |
0x6c7470 | PlayerNameInitialize | orchestration | verified, proof one | ✓ | |
0x6c75c0 | PlayerNameCVarChanged | orchestration | verified, proof one | ||
0x6c7630 | PlayerNameShutdown | orchestration | verified, proof one | ✓ | |
0x6c76a0 | CreatePlayerNameDesc | orchestration | verified, proof one | ✓ | |
0x6c7780 | PlayerNameDrawCallback | orchestration | verified, proof one | ✓ | |
0x6c77d0 | DestroyPlayerNameDesc | orchestration | verified, proof one | ✓ | |
0x6c77f0 | PlayerNameMarkColorDirty | orchestration | verified, proof one | ✓ | |
0x6c7800 | PlayerNameMarkAllColorDirty | orchestration | verified, proof one | ✓ | |
0x6c7840 | SubmitWorldText | orchestration | verified, proof one | ✓ | |
0x6c78a0 | PlayerNameNextFrame | primitive | verified, proof one | ✓ | |
0x6c78b0 | PlayerNameReleaseStale | orchestration | verified, proof one | ✓ | |
0x6c78f0 | PlayerNameMarkRebuild | orchestration | verified, proof one | ✓ | |
0x6c7900 | PlayerNameRender | orchestration | verified, proof one | ✓ | |
0x6c7950 | PlayerNameHasText | orchestration | verified, proof one | ✓ | |
0x6c7970 | InitPlayerNameInfinity3Thunk | orchestration | verified, proof one | ||
0x6c7980 | InitPlayerNameInfinity3 | orchestration | verified, proof one | ||
0x6c7990 | InitCategoryTableThunk | orchestration | verified, proof one | ||
0x6c79a0 | InitCategoryTable | primitive | verified, proof one | ||
0x6c7b60 | WorldTextCategory::Init | primitive | verified, proof one | ||
0x6c7ba0 | RegisterDestroyCategoryTable | orchestration | verified, proof one | ||
0x6c7bb0 | DestroyCategoryTable | orchestration | verified, proof one | ||
0x6c7bc0 | InitTextPoolThunk | orchestration | verified, proof one | ||
0x6c7bd0 | InitTextPool | orchestration | verified, proof one | ||
0x6c7bf0 | RegisterDestroyTextPool | orchestration | verified, proof one | ||
0x6c7c00 | DestroyTextPool | orchestration | verified, proof one | ||
0x6c7c10 | InitShadowOffsetThunk | orchestration | verified, proof one | ||
0x6c7c20 | InitShadowOffset | primitive | verified, proof one | ||
0x6c7c40 | RegisterDestroyShadowOffset | orchestration | verified, proof one | ||
0x6c7c50 | DestroyShadowOffset | orchestration | verified, proof one | ||
0x6c7c60 | InitIconRingThunk | orchestration | verified, proof one | ||
0x6c7c70 | InitIconRing | orchestration | verified, proof one | ||
0x6c7c90 | RegisterDestroyIconRing | orchestration | verified, proof one | ||
0x6c7ca0 | DestroyIconRing | orchestration | verified, proof one | ||
0x6c7cc0 | WORLDTEXTSTRING::Draw | primitive | verified, proof one | ✓ | ✓ |
0x6c7f10 | WORLDTEXTSTRING::QueueIcon | primitive | verified, proof one | ✓ | ✓ |
0x6c8070 | WORLDTEXTSTRING::Rise | primitive | verified, proof one | ✓ | ✓ |
0x6c80b0 | WORLDTEXTSTRING::ScaleAt | primitive | verified, proof one | ✓ | ✓ |
0x6c81a0 | WORLDTEXTSTRING::Rebuild | orchestration | verified, proof one | ✓ | ✓ |
0x6c82c0 | WORLDTEXTSTRING::SetSize | primitive | verified, proof one | ✓ | ✓ |
0x6c82e0 | WORLDTEXTSTRING::Fade | primitive | verified, proof one | ✓ | ✓ |
0x6c8470 | WorldTextInitialize | orchestration | verified, proof one | ✓ | |
0x6c8520 | WorldTextShutdown | orchestration | verified, proof one | ✓ | |
0x6c8570 | WORLDTEXTSTRING::Create | orchestration | verified, proof one | ✓ | |
0x6c8650 | WORLDTEXTSTRING::DeletingDestructor | orchestration | verified, proof one | ✓ | |
0x6c8690 | WORLDTEXTSTRING::SetIcon | unreached | verified, proof one | ||
0x6c86a0 | WORLDTEXTSTRING::Release | orchestration | verified, proof one | ✓ | |
0x6c86c0 | WORLDTEXTSTRING::DrawIfSet | orchestration | verified, proof one | ✓ | |
0x6c86d0 | WORLDTEXTSTRING::QueueIconIfSet | orchestration | verified, proof one | ✓ | |
0x6c86e0 | InitIconQuadThunk | orchestration | verified, proof one | ||
0x6c86f0 | InitIconQuad | primitive | verified, proof one | ||
0x6c8770 | RegisterDestroyIconQuad | orchestration | verified, proof one | ||
0x6c8780 | DestroyIconQuad | orchestration | verified, proof one | ||
0x6c8790 | InitIconUVThunk | orchestration | verified, proof one | ||
0x6c87a0 | InitIconUV | primitive | verified, proof one | ||
0x6c8800 | RegisterDestroyIconUV | orchestration | verified, proof one | ||
0x6c8810 | DestroyIconUV | orchestration | verified, proof one | ||
0x6c8820 | WorldTextDrawIcons | orchestration | verified, proof one | ✓ | ✓ |
0x6c8d00 | WorldTextSetPixelProjection | primitive | verified, proof one | ✓ | ✓ |
0x6c8eb0 | SArray::GrowChunk | primitive | verified, proof one | ✓ | |
0x6c8ef0 | SArray::SetCapacity | host | verified, proof one | ✓ |
Globals 31
| address | name | type | confidence |
|---|---|---|---|
0x8112dc | s_keyframeTable | const float[12] | verified, proof one |
0x811314 | WORLDTEXTSTRING::vftable | void *[2] | verified, proof one |
0x86c668 | s_textUnitNamePlayerPVPTitle | char[23] | inferred |
0x86c680 | s_textUnitNamePlayerGuild | char[20] | inferred |
0x86c694 | s_textUnitNamePlayer | char[15] | inferred |
0x86c6a4 | s_textUnitNameNPC | char[12] | inferred |
0x86c6b0 | s_textUnitNameOwn | char[12] | inferred |
0xce86d4 | s_trailObjectCount | uint32_t | verified, proof one |
0xce86d8 | s_trailObjectPool | uint8_t[20] | verified, proof one |
0xce86ec | s_swingPool | uint8_t[20] | verified, proof one |
0xce8700 | s_playerNameInfinity | float | verified, proof one |
0xce870c | s_namePool | uint8_t[20] | verified, proof one |
0xce8720 | s_nameFlags | uint32_t | verified, proof one |
0xce8724 | s_frameTick | uint32_t | verified, proof one |
0xce8728 | s_nameList | uint32_t[3] | verified, proof one |
0xce8734 | s_nameBatch | void * | verified, proof one |
0xce8738 | s_nameFont | void * | verified, proof one |
0xce873c | s_markerUVOffsets | float[8] | verified, proof one |
0xce875c | s_markerCorners | float[12] | verified, proof one |
0xce878c | s_raidTargetTexture | void * | verified, proof one |
0xce8790 | s_playerNameInfinity2 | float | verified, proof one |
0xce87a0 | s_iconQuadUVs | float[8] | verified, proof one |
0xce87c0 | s_iconQuadPositions | float[12] | verified, proof one |
0xce87f0 | s_iconRing | uint32_t[4] | verified, proof one |
0xce8800 | s_textBatch | void * | verified, proof one |
0xce8804 | s_shadowOffset | float[2] | verified, proof one |
0xce880c | s_textPool | uint8_t[20] | verified, proof one |
0xce8820 | s_damageFont | void * | verified, proof one |
0xce8828 | s_categoryTable | uint32_t[42] | verified, proof one |
0xce88d0 | s_playerNameInfinity3 | float | verified, proof one |
0xce88dc | s_rankBadgeTextures | void *[15] | verified, proof one |