//
// sub_A0A114 from 0xa0a114 to 0xa0a20c (248 bytes)
//
// 1 xrefs:
// > ??> @ 0xc78210
//
// 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:42 +0000
//
bool __fastcall sub_A0A114(int a1, int a2, _DWORD *a3)
{
int v3; // r3
int v4; // r12
int v5; // r3
int v6; // r4
int v7; // r3
v3 = *(_DWORD *)(a1 + 8);
if ( v3 && (v4 = *(_DWORD *)(a1 + 12)) != 0 )
{
v5 = *(_DWORD *)(v3 + 20);
v6 = *(_DWORD *)(v4 + 20);
if ( v5 && (v7 = *(_DWORD *)(v5 + 32)) != 0 )
{
if ( v6 )
{
*a3 = 32;
return !a2 || X25519(a2, v7, v6) != 0;
}
else
{
ERR_put_error(16, 269, 133, "crypto/ec/ecx_meth.c", 348);
return 0;
}
}
else
{
ERR_put_error(16, 269, 123, "crypto/ec/ecx_meth.c", 344);
return 0;
}
}
else
{
ERR_put_error(16, 269, 140, "crypto/ec/ecx_meth.c", 338);
return 0;
}
}