//
// ENGINE_get_cipher from 0xa0d7f8 to 0xa0d868 (112 bytes)
//
// 2 xrefs:
// > EVP_CipherInit_ex @ 0xa17ba4
// > ??> @ 0x7c11c
//
// 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:07:44 +0000
//
int __fastcall ENGINE_get_cipher(int a1, int a2)
{
int (__fastcall *ciphers)(int, int *, _DWORD, int); // r12
int v6; // [sp+Ch] [bp-8h] BYREF
ciphers = (int (__fastcall *)(int, int *, _DWORD, int))ENGINE_get_ciphers(a1);
if ( ciphers && ciphers(a1, &v6, 0, a2) )
return v6;
ERR_put_error(38, 185, 146, "crypto/engine/tb_cipher.c", 74);
return 0;
}