GxCapsDrawRect
function · gx · orchestration
- Address
0x58a240· 15 bytes, up to0x58a24e- Signature
void __fastcall (float *rect)- Meaning
- Writes the device's draw rectangle as four floats through slot +0x5c
- Confidence
- verified, proof one
- Finding
- gx/facade#draw-rectangle
Finding: Draw rectangle in gx: facade calls
0x58a240(rect) writes the device's draw rectangle +0x1ec to rect through slot +0x5c
(GetDrawRect), four floats {top, left, bottom, right}. Both backends' slots copy it through
0x5922e0. The window events store it with the window rectangle (0x5922f0, then 0x592340), so
after a WM_SIZE it is {0, 0, client height, client width} (window.md); while a render target
is bound it is the target's size instead (CGxDevice::SetRenderTarget, 0x592230). Twelve call
sites read it, the font layer's viewport 0x5c2b50 among them.
The derivation is in the doc.
Callers 12
- CGlueMgr::Initialize glue
- RenderWorldFrame ui
- GxuFontUpdateViewport unassigned
- ProjectPointsForDecal gxumath
- ProjectPointsToWindow gxumath
- AtlasPage::Dump font
- ConsoleScreenInitialize console
- Sand::DrawShader lighting
- WORLDTEXTSTRING::QueueIcon playername
- WorldTextSetPixelProjection playername
- BeginCurrentFfx ffxeffects
- ComputeTargetSizes ffxeffects
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.