//
// CRYPTO_set_mem_functions from 0xdb59d8 to 0xdb5a14 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0xa8630
//
// 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 CRYPTO_set_mem_functions(
__int64 (__fastcall *a1)(_QWORD, _QWORD, _QWORD),
__int64 (__fastcall *a2)(_QWORD, _QWORD, _QWORD, _QWORD),
__int64 (__fastcall *a3)(_QWORD, _QWORD, _QWORD))
{
__int64 result; // x0
result = (unsigned int)dword_1239030;
if ( dword_1239030 )
{
if ( a1 )
off_1239040 = a1;
if ( a2 )
off_1239048 = a2;
result = 1;
if ( a3 )
off_1239038 = a3;
}
return result;
}