//
// SSL_CTX_SRP_CTX_free from 0xfda4d0 to 0xfda598 (200 bytes)
//
// 2 xrefs:
// > SSL_CTX_free @ 0xfbf730
// > ??> @ 0x5b390
//
// 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:15:34 +0000
//
__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;
}