//
// SSL_CTX_SRP_CTX_free from 0xd5c17c to 0xd5c244 (200 bytes)
//
// 2 xrefs:
// > SSL_CTX_free @ 0xd413dc
// > ??> @ 0x3f540
//
// 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_CTX_SRP_CTX_free(__int64 result)
{
__int64 v1; // x19
v1 = result;
if ( result )
{
CRYPTO_free(*(_QWORD *)(result + 616), "ssl/tls_srp.c", 22);
BN_free(*(_QWORD *)(v1 + 624));
BN_free(*(_QWORD *)(v1 + 632));
BN_free(*(_QWORD *)(v1 + 640));
BN_free(*(_QWORD *)(v1 + 648));
BN_free(*(_QWORD *)(v1 + 656));
BN_free(*(_QWORD *)(v1 + 664));
BN_free(*(_QWORD *)(v1 + 672));
BN_free(*(_QWORD *)(v1 + 680));
*(_QWORD *)(v1 + 592) = 0;
*(_QWORD *)(v1 + 584) = 0;
*(_QWORD *)(v1 + 600) = 0;
*(_QWORD *)(v1 + 608) = 0;
*(_QWORD *)(v1 + 624) = 0;
*(_QWORD *)(v1 + 632) = 0;
*(_QWORD *)(v1 + 640) = 0;
*(_QWORD *)(v1 + 648) = 0;
*(_QWORD *)(v1 + 656) = 0;
*(_QWORD *)(v1 + 664) = 0;
*(_QWORD *)(v1 + 672) = 0;
*(_QWORD *)(v1 + 680) = 0;
*(_QWORD *)(v1 + 616) = 0;
*(_QWORD *)(v1 + 688) = 0;
*(_DWORD *)(v1 + 696) = 1024;
*(_QWORD *)(v1 + 704) = 0;
return 1;
}
return result;
}