//
// SSL_set_alpn_protos from 0xfbf4d8 to 0xfbf560 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xb8e58
//
// 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:20 +0000
//
__int64 __fastcall SSL_set_alpn_protos(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v6; // x0
CRYPTO_free(*(_QWORD *)(a1 + 776), "ssl/ssl_lib.c", 2247);
v6 = CRYPTO_memdup(a2, a3, "ssl/ssl_lib.c", 2248);
*(_QWORD *)(a1 + 776) = v6;
if ( v6 )
{
*(_DWORD *)(a1 + 784) = a3;
return 0;
}
else
{
ERR_put_error(20, 344, 65, "ssl/ssl_lib.c", 2250);
return 1;
}
}