//
// sub_10655CC from 0x10655cc to 0x1065664 (152 bytes)
//
// 1 xrefs:
// > X509_STORE_free @ 0x1065b34
//
// 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:53 +0000
//
void __fastcall sub_10655CC(_QWORD *a1)
{
int v2; // w0
if ( a1 )
{
v2 = *(_DWORD *)a1;
if ( v2 == 1 )
{
X509_free(a1[1]);
CRYPTO_free(a1, (__int64)"crypto/x509/x509_lu.c", 187);
}
else
{
if ( v2 == 2 )
X509_CRL_free(a1[1]);
CRYPTO_free(a1, (__int64)"crypto/x509/x509_lu.c", 187);
}
}
}