//
// ssl_cipher_id_cmp from 0xd40b60 to 0xd40b7c (28 bytes)
//
// 2 xrefs:
// > j_ssl_cipher_id_cmp @ 0xd40b7c
// > ??> @ 0x8d408
//
// 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
//
__int64 __fastcall ssl_cipher_id_cmp(__int64 a1, __int64 a2)
{
unsigned int v2; // w2
__int64 result; // x0
unsigned int v4; // w1
v2 = *(_DWORD *)(a1 + 16);
result = 1;
v4 = *(_DWORD *)(a2 + 16);
if ( v2 <= v4 )
{
if ( v2 >= v4 )
return 0;
else
return 0xFFFFFFFFLL;
}
return result;
}