//
// ssl3_put_cipher_by_char from 0x9a3180 to 0x9a31bc (60 bytes)
//
// 24 xrefs:
// > tls_construct_server_hello @ 0x9be9f4
// > ??> @ 0x73d9c
// > ??> @ 0xd155b8
// > ??> @ 0xd1562c
// > ??> @ 0xd156a0
// > ??> @ 0xd15714
// > ??> @ 0xd15788
// > ??> @ 0xd157fc
// > ??> @ 0xd15870
// > ??> @ 0xd158e4
// > ??> @ 0xd15958
// > ??> @ 0xd159cc
// > ??> @ 0xd15a40
// > ??> @ 0xd15ab4
// > ??> @ 0xd15b28
// > ??> @ 0xd15b9c
// > ??> @ 0xd15c10
// > ??> @ 0xd15c84
// > ??> @ 0xd15cf8
// > ??> @ 0xd15d6c
// > ??> @ 0xd15de0
// > ??> @ 0xd15e54
// > ??> @ 0xd15ec8
// > ??> @ 0xd15f3c
//
// 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:06:49 +0000
//
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;
}