//
// sub_1006F0654 from 0x1006f0654 to 0x1006f06f0 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bdae0
//
// 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 11:12:40 +0000
//
__int64 __fastcall sub_1006F0654(int a1, __int64 a2)
{
int v4; // [xsp+4h] [xbp-1Ch] BYREF
_BYTE v5[8]; // [xsp+8h] [xbp-18h] BYREF
if ( !(unsigned int)sub_100722708(0, v5, &v4, 0, a2) )
return 0;
if ( sub_1006F0438(0, (__int64)v5, v4) )
{
sub_10070F95C(a1);
return 1;
}
else
{
sub_100706FB0(4, 147, 4, "rsa_ameth.c", 119);
return 0;
}
}