//
// SSL_extension_supported from 0xfd2d5c to 0xfd2dd4 (120 bytes)
//
// 3 xrefs:
// > SSL_CTX_add_server_custom_ext @ 0xfd2e30
// > SSL_CTX_add_client_custom_ext @ 0xfd2fb4
// > ??> @ 0xa6480
//
// 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:30 +0000
//
bool __fastcall SSL_extension_supported(unsigned int a1)
{
if ( a1 == 18 )
return 1;
if ( a1 > 0x12 )
{
if ( a1 != 35 )
{
if ( a1 > 0x23 )
return a1 == 13172 || a1 == 65281;
if ( a1 - 21 > 1 )
return 0;
}
return 1;
}
if ( a1 == 5 )
return 1;
if ( a1 <= 5 )
return !a1;
return a1 - 10 <= 6;
}