Log In
Sign Up
Game code

SHAPETEST::GET_SHAPE_TEST_RESULT

0xAEF704E212175383 ·RVA 0x0445F390

Signature

int GET_SHAPE_TEST_RESULT(
    ScrHandle shapeTestHandle,
    BOOL* hit,
    Vector3* endCoords,
    Vector3* surfaceNormal,
    Entity* entityHit,
    BOOL p5
);

Parameters 6

#TypeNameNotes
0ScrHandleshapeTestHandle –
1BOOL*hit –
2Vector3*endCoords –
3Vector3*surfaceNormal –
4Entity*entityHit –
5BOOLp5 –

Returns

int

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p5 is not in RDR3's signature; the game reads it as a true/false value.

Call it

// SHAPETEST::GET_SHAPE_TEST_RESULT
auto result = invoke<int>(0xAEF704E212175383, shapeTestHandle, &hit, &endCoords, &surfaceNormal, &entityHit, p5);

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.