Log In
Sign Up
Game codeUnofficial name

ITEMDATABASE::_ITEMDATABASE_GET_ACQUIRE_COST

0x985DA88A988D57C3 ·RVA 0x03E8CFD0

Signature

BOOL _ITEMDATABASE_GET_ACQUIRE_COST(
    Hash key,
    int index,
    Any* outData,
    int p3,
    int p4
);

Parameters 5

#TypeNameNotes
0Hashkey –
1intindex –
2Any*outData –
3intp3 –
4intp4 –

Returns

BOOL

the game returns one byte.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p3 is not in RDR3's signature; the game reads it as a 32-bit integer.
  • p4 is not in RDR3's signature; the game reads it as a 32-bit integer.

Call it

// ITEMDATABASE::_ITEMDATABASE_GET_ACQUIRE_COST
auto result = invoke<BOOL>(0x985DA88A988D57C3, key, index, &outData, p3, 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.