//
// sub_FF742C from 0xff742c to 0xff74c4 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x13ffa38
// > ??> @ 0x13ffa88
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:49 +0000
//
__int64 __fastcall sub_FF742C(__int64 result)
{
__int64 v1; // x19
int v2; // w1
__int64 *v3; // x20
__int64 v4; // x0
v1 = result;
if ( result )
{
v2 = *(_DWORD *)(result + 28);
result = 1;
if ( v2 )
{
if ( *(_DWORD *)(v1 + 24) )
{
v3 = *(__int64 **)(v1 + 48);
if ( v3 )
{
v4 = *v3;
if ( (*(_DWORD *)(v1 + 32) & 0x200) != 0 )
*(_QWORD *)(v4 + 8) = 0;
BUF_MEM_free(v4);
CRYPTO_free(v3[1], "crypto/bio/bss_mem.c", 153);
CRYPTO_free(v3, "crypto/bio/bss_mem.c", 154);
*(_QWORD *)(v1 + 48) = 0;
return 1;
}
}
}
}
return result;
}