//
// SSL_SRP_CTX_free from 0xfda598 to 0xfda660 (200 bytes)
//
// 2 xrefs:
// > ssl3_free @ 0xfb5d58
// > ??> @ 0xefe78
//
// 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_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;
}