//
// sub_10F0740 from 0x10f0740 to 0x10f07d0 (144 bytes)
//
// 2 xrefs:
// > BIO_new_NDEF @ 0x10f0858
// > BIO_new_NDEF @ 0x10f0860
//
// 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:18:07 +0000
//
__int64 __fastcall sub_10F0740(__int64 a1, _QWORD *a2, _DWORD *a3, void **a4)
{
_QWORD *v7; // x21
if ( !a4 )
return 0;
v7 = *a4;
CRYPTO_free(*((void **)*a4 + 5), (__int64)"crypto/asn1/bio_ndef.c", 142);
v7[5] = 0;
*a2 = 0;
*a3 = 0;
CRYPTO_free(*a4, (__int64)"crypto/asn1/bio_ndef.c", 156);
*a4 = nullptr;
return 1;
}