Log In
Sign Up
RDR3 match

ENTITY::WOULD_ENTITY_BE_OCCLUDED

0x6C00D67ECAB9054D ·RVA 0x03C18650

Signature

BOOL WOULD_ENTITY_BE_OCCLUDED(
    Hash64 entityModelHash,
    Vector3 pos,
    BOOL p4
);

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
0Hash64entityModelHash RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address).
1Vector3pos –
2BOOLp4 the game doesn't read it.

Returns

BOOL

Call it

// ENTITY::WOULD_ENTITY_BE_OCCLUDED
auto result = invoke<BOOL>(0x6C00D67ECAB9054D, entityModelHash, pos, p4);

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.