//
// sub_DA6060 from 0xda6060 to 0xda60bc (92 bytes)
//
// 6 xrefs:
// > ??> @ 0x12225c0
// > ??> @ 0x1222618
// > ??> @ 0x1222670
// > ??> @ 0x12226c8
// > ??> @ 0x1222720
// > ??> @ 0x1222778
//
// 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
//
__int64 __fastcall sub_DA6060(__int64 a1, int a2, __int64 a3, unsigned __int8 *a4)
{
if ( a2 != 6 )
return 0xFFFFFFFFLL;
if ( (int)RAND_bytes(a4, 8) <= 0 )
return 0;
DES_set_odd_parity(a4);
return 1;
}