//
// ssl3_put_cipher_by_char from 0x78e57c to 0x78e5b8 (60 bytes)
//
// 24 xrefs:
// > tls_construct_server_hello @ 0x7a9df0
// > ??> @ 0x5a31c
// > ??> @ 0xab0edc
// > ??> @ 0xab0f50
// > ??> @ 0xab0fc4
// > ??> @ 0xab1038
// > ??> @ 0xab10ac
// > ??> @ 0xab1120
// > ??> @ 0xab1194
// > ??> @ 0xab1208
// > ??> @ 0xab127c
// > ??> @ 0xab12f0
// > ??> @ 0xab1364
// > ??> @ 0xab13d8
// > ??> @ 0xab144c
// > ??> @ 0xab14c0
// > ??> @ 0xab1534
// > ??> @ 0xab15a8
// > ??> @ 0xab161c
// > ??> @ 0xab1690
// > ??> @ 0xab1704
// > ??> @ 0xab1778
// > ??> @ 0xab17ec
// > ??> @ 0xab1860
//
// 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
//
int __fastcall ssl3_put_cipher_by_char(int a1, _BYTE *a2)
{
int v2; // r3
if ( !a2 )
return 2;
v2 = *(_DWORD *)(a1 + 8);
if ( (v2 & 0xFF000000) != 0x3000000 )
return 0;
a2[1] = v2;
*a2 = BYTE1(v2);
return 2;
}