//
// SSL_extension_supported from 0x9c1f6c to 0x9c1fe8 (124 bytes)
//
// 3 xrefs:
// > SSL_CTX_add_server_custom_ext @ 0x9c2028
// > SSL_CTX_add_client_custom_ext @ 0x9c2180
// > ??> @ 0x7725c
//
// 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:04 +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;
}