//
// _CONF_free_data from 0x10a14f8 to 0x10a1560 (104 bytes)
//
// 3 xrefs:
// > sub_10A1C9C @ 0x10a1ca8
// > sub_10A1CF0 @ 0x10a1d04
// > ??> @ 0xf27a0
//
// 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:17:31 +0000
//
__int64 __fastcall CONF_free_data(__int64 result)
{
__int64 v1; // x19
if ( result )
{
if ( *(_QWORD *)(result + 16) )
{
v1 = result;
OPENSSL_LH_set_down_load(*(_QWORD *)(result + 16), 0);
OPENSSL_LH_doall_arg(
*(_QWORD *)(v1 + 16),
(__int64 (__fastcall *)(_QWORD, __int64))sub_10A117C,
*(_QWORD *)(v1 + 16));
OPENSSL_LH_doall(*(_QWORD *)(v1 + 16), (__int64 (__fastcall *)(_QWORD))sub_10A1208);
return OPENSSL_LH_free(*(_QWORD *)(v1 + 16));
}
}
return result;
}