//
// sub_8C6DBC from 0x8c6dbc to 0x8c6e24 (104 bytes)
//
// 3 xrefs:
// > BIO_new_NDEF @ 0x8c6eb8
// > BIO_new_NDEF @ 0x8c6ec0
// > ??> @ 0x8c6f98
//
// 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
//
int __fastcall sub_8C6DBC(int a1, _DWORD *a2, _DWORD *a3, int *a4)
{
int v4; // r9
void *v8; // r0
if ( !a4 )
return 0;
v4 = *a4;
CRYPTO_free(*(void **)(*a4 + 20), (int)"crypto/asn1/bio_ndef.c", 142);
*(_DWORD *)(v4 + 20) = 0;
*a2 = 0;
v8 = (void *)*a4;
*a3 = 0;
CRYPTO_free(v8, (int)"crypto/asn1/bio_ndef.c", 156);
*a4 = 0;
return 1;
}