Developer knowledge network · moderated exchange

Супольнасць UnreliableCode

Супольнасць распрацоўшчыкаў даследаванняў, зваротнага праектавання і кадавання

Knowledge indexжыць
4Categories
919Threads
2.8KПаведамленні
Analysis

Understanding ViewRender and ViewMatrix pointer hierarchy in Apex

matrix_math_guy
Math Specialist
MEMBER
прадстаўнік: 105
Дата далучэння: Aug 2018
Паведамленні: 52
Дзякуй: 41
3 тыдняў таму · Jul 29, 2026 4:38 AM
#1

In Apex Legends, ViewMatrix is nested inside the ViewRender subsystem:

CPP
uintptr_t viewRender = Read<uintptr_t>(baseAddress + OFFSET_VIEWRENDER);
uintptr_t viewMatrixPtr = Read<uintptr_t>(viewRender + 0x1A10); // Offset to Matrix4x4
Matrix4x4 viewMatrix = Read<Matrix4x4>(viewMatrixPtr);

Matrix is updated every frame by the camera render pass. Reading this gives instantaneous camera rotation and field of view for screen projections.

apex_kraber_god
Member
MEMBER
прадстаўнік: 178
Дата далучэння: Jul 2022
Паведамленні: 7
Дзякуй: 86
3 тыдняў таму · Jul 29, 2026 6:52 AM
#2

ViewMatrix pointer chain is super stable across updates.

vtable_slayer
Senior Reverser
MEMBER
прадстаўнік: 215
Дата далучэння: Mar 2018
Паведамленні: 86
Дзякуй: 61
3 тыдняў таму · Jul 30, 2026 12:26 AM
#3

Confirmed working. Perfect alignment with in-game crosshair.