Log In
Sign Up
RDR3 match

MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD

0x9CE61954D5D63565 ·RVA 0x03E85910

Signature

BOOL GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD(
    Vector3 pos,
    float* groundZ,
    Vector3* normal
);

The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).

Parameters 3

#TypeNameNotes
0Vector3pos –
1float*groundZ –
2Vector3*normal –

Returns

BOOL

Call it

// MISC::GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
auto result = invoke<BOOL>(0x9CE61954D5D63565, pos, &groundZ, &normal);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.