//
// SSL_get_srtp_profiles from 0x9cc064 to 0x9cc090 (44 bytes)
//
// 6 xrefs:
// > ssl_add_clienthello_tlsext @ 0x9c671c
// > sub_9C703C @ 0x9c77f0
// > ssl_add_clienthello_use_srtp_ext @ 0x9cc0ac
// > ssl_parse_clienthello_use_srtp_ext @ 0x9cc224
// > ssl_parse_serverhello_use_srtp_ext @ 0x9cc554
// > ??> @ 0x7738c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:09 +0000
//
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;
}