//
// sub_7FF9D0 from 0x7ff9d0 to 0x7ffa14 (68 bytes)
//
// 6 xrefs:
// > ??> @ 0xab2918
// > ??> @ 0xab294c
// > ??> @ 0xab2980
// > ??> @ 0xab29b4
// > ??> @ 0xab29e8
// > ??> @ 0xab2a1c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_7FF9D0(int a1, int a2, int a3, unsigned __int8 *a4)
{
if ( a2 != 6 )
return -1;
if ( RAND_bytes(a4, 8) <= 0 )
return 0;
DES_set_odd_parity(a4);
return 1;
}