//
// SSL_SRP_CTX_free from 0xd5c244 to 0xd5c30c (200 bytes)
//
// 2 xrefs:
// > ssl3_free @ 0xd37a04
// > ??> @ 0xb7cd8
//
// 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
//
__int64 __fastcall SSL_SRP_CTX_free(__int64 result)
{
__int64 v1; // x19
v1 = result;
if ( result )
{
CRYPTO_free(*(_QWORD *)(result + 824), "ssl/tls_srp.c", 54);
BN_free(*(_QWORD *)(v1 + 832));
BN_free(*(_QWORD *)(v1 + 840));
BN_free(*(_QWORD *)(v1 + 848));
BN_free(*(_QWORD *)(v1 + 856));
BN_free(*(_QWORD *)(v1 + 864));
BN_free(*(_QWORD *)(v1 + 872));
BN_free(*(_QWORD *)(v1 + 880));
BN_free(*(_QWORD *)(v1 + 888));
*(_QWORD *)(v1 + 800) = 0;
*(_QWORD *)(v1 + 792) = 0;
*(_QWORD *)(v1 + 808) = 0;
*(_QWORD *)(v1 + 816) = 0;
*(_QWORD *)(v1 + 832) = 0;
*(_QWORD *)(v1 + 840) = 0;
*(_QWORD *)(v1 + 848) = 0;
*(_QWORD *)(v1 + 856) = 0;
*(_QWORD *)(v1 + 864) = 0;
*(_QWORD *)(v1 + 872) = 0;
*(_QWORD *)(v1 + 880) = 0;
*(_QWORD *)(v1 + 888) = 0;
*(_QWORD *)(v1 + 824) = 0;
*(_QWORD *)(v1 + 896) = 0;
*(_DWORD *)(v1 + 904) = 1024;
*(_QWORD *)(v1 + 912) = 0;
return 1;
}
return result;
}