//
// sub_7D3250 from 0x7d3250 to 0x7d32ec (156 bytes)
//
// 2 xrefs:
// > ??> @ 0xa30820
// > ??> @ 0xa30848
//
// 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_7D3250(_DWORD *a1)
{
int *v2; // r5
int v3; // r2
int v4; // r0
_DWORD *v5; // r4
if ( !a1 )
return 0;
if ( !a1[4] || !a1[3] )
return 1;
v2 = (int *)a1[8];
if ( !v2 )
return 1;
v3 = a1[5];
v4 = *v2;
if ( (v3 & 0x200) != 0 )
*(_DWORD *)(v4 + 4) = 0;
v5 = a1;
BUF_MEM_free(v4);
CRYPTO_free(v2[1], "crypto/bio/bss_mem.c", 153);
CRYPTO_free(v2, "crypto/bio/bss_mem.c", 154);
v5[8] = 0;
return 1;
}