//
// SSL_get_current_cipher from 0x9ae294 to 0x9ae2a4 (16 bytes)
//
// 2 xrefs:
// > sub_851FF8 @ 0x85218c
// > ??> @ 0x67b0c
//
// 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:55 +0000
//
int __fastcall SSL_get_current_cipher(int a1)
{
int result; // r0
result = *(_DWORD *)(a1 + 240);
if ( result )
return *(_DWORD *)(result + 172);
return result;
}