//
// sub_1006F06F0 from 0x1006f06f0 to 0x1006f07a0 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bdae8
//
// 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_1006F06F0(__int64 a1, __int64 a2)
{
__int64 v3; // x20
char **v4; // x0
__int64 v6; // x4
__int64 v7; // [xsp+8h] [xbp-18h] BYREF
v7 = 0;
v3 = sub_1006F0444(*(_QWORD *)(a2 + 32), (__int64)&v7);
if ( (int)v3 <= 0 )
{
v6 = 138;
}
else
{
v4 = sub_1006B0D04(6u);
if ( (unsigned int)sub_100722624(a1, v4, 0, 5, 0, v7, v3) )
return 1;
v6 = 144;
}
sub_100706FB0(4, 138, 65, "rsa_ameth.c", v6);
return 0;
}