//
// sub_10243C0 from 0x10243c0 to 0x102441c (92 bytes)
//
// 6 xrefs:
// > ??> @ 0x153a348
// > ??> @ 0x153a3a0
// > ??> @ 0x153a3f8
// > ??> @ 0x153a450
// > ??> @ 0x153a4a8
// > ??> @ 0x153a500
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:12 +0000
//
__int64 __fastcall sub_10243C0(__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;
}