//
// ssl3_put_cipher_by_char from 0xd37c84 to 0xd37cc0 (60 bytes)
//
// 24 xrefs:
// > tls_construct_server_hello @ 0xd51848
// > ??> @ 0x8f0a0
// > ??> @ 0x121f248
// > ??> @ 0x121f328
// > ??> @ 0x121f408
// > ??> @ 0x121f4e8
// > ??> @ 0x121f5c8
// > ??> @ 0x121f6a8
// > ??> @ 0x121f788
// > ??> @ 0x121f868
// > ??> @ 0x121f948
// > ??> @ 0x121fa28
// > ??> @ 0x121fb08
// > ??> @ 0x121fbe8
// > ??> @ 0x121fcc8
// > ??> @ 0x121fda8
// > ??> @ 0x121fe88
// > ??> @ 0x121ff68
// > ??> @ 0x1220048
// > ??> @ 0x1220128
// > ??> @ 0x1220208
// > ??> @ 0x12202e8
// > ??> @ 0x12203c8
// > ??> @ 0x12204a8
//
// 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 ssl3_put_cipher_by_char(__int64 a1, _BYTE *a2)
{
int v2; // w2
__int64 result; // x0
if ( !a2 )
return 2;
v2 = *(_DWORD *)(a1 + 16);
result = 0;
if ( (v2 & 0xFF000000) == 0x3000000 )
{
a2[1] = v2;
*a2 = BYTE1(v2);
return 2;
}
return result;
}