//
// sub_9E47E4 from 0x9e47e4 to 0x9e48bc (216 bytes)
//
// 1 xrefs:
// > ??> @ 0xc77a24
//
// 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:22 +0000
//
int __fastcall sub_9E47E4(_DWORD *a1)
{
_DWORD *v2; // r0
_DWORD *v3; // r6
int v4; // r4
int v5; // r5
v2 = (_DWORD *)CRYPTO_zalloc(32, "crypto/bio/bf_buff.c", 45);
v3 = v2;
if ( !v2 )
return 0;
*v2 = 4096;
v4 = CRYPTO_malloc(4096, "crypto/bio/bf_buff.c", 50);
v3[2] = v4;
if ( v4 )
{
v3[1] = 4096;
v5 = CRYPTO_malloc(4096, "crypto/bio/bf_buff.c", 56);
v3[5] = v5;
if ( v5 )
{
a1[8] = v3;
a1[3] = 1;
a1[5] = 0;
return 1;
}
else
{
CRYPTO_free(v3[2], "crypto/bio/bf_buff.c", 58);
CRYPTO_free(v3, "crypto/bio/bf_buff.c", 59);
return 0;
}
}
else
{
CRYPTO_free(v3, "crypto/bio/bf_buff.c", 52);
return 0;
}
}