//
// sub_1006F04D4 from 0x1006f04d4 to 0x1006f0570 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bdac0
//
// 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_1006F04D4(int a1, __int64 a2)
{
int v4; // [xsp+4h] [xbp-1Ch] BYREF
_BYTE v5[8]; // [xsp+8h] [xbp-18h] BYREF
if ( !(unsigned int)sub_100718FCC(0, v5, &v4, 0, a2) )
return 0;
if ( sub_1006F0450(0, (__int64)v5, v4) )
{
sub_10070F95C(a1);
return 1;
}
else
{
sub_100706FB0(4, 139, 4, "rsa_ameth.c", 99);
return 0;
}
}