//
// SSL_get_srtp_profiles from 0x7b7460 to 0x7b748c (44 bytes)
//
// 6 xrefs:
// > ssl_add_clienthello_tlsext @ 0x7b1b18
// > sub_7B2438 @ 0x7b2bec
// > ssl_add_clienthello_use_srtp_ext @ 0x7b74a8
// > ssl_parse_clienthello_use_srtp_ext @ 0x7b7620
// > ssl_parse_serverhello_use_srtp_ext @ 0x7b7950
// > ??> @ 0x5d90c
//
// 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 SSL_get_srtp_profiles(int a1)
{
int result; // r0
int v3; // r3
if ( !a1 )
return 0;
result = *(_DWORD *)(a1 + 456);
if ( !result )
{
v3 = *(_DWORD *)(a1 + 276);
if ( v3 )
return *(_DWORD *)(v3 + 500);
}
return result;
}