//
// sub_10074FD9C from 0x10074fd9c to 0x100750050 (692 bytes)
//
// 2 xrefs:
// > sub_10074EF68 @ 0x10074ef6c
// > sub_10074F870 @ 0x10074f874
//
// 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:13:29 +0000
//
__int64 __fastcall sub_10074FD9C(__int64 a1, unsigned int *a2, int a3, int a4)
{
int v7; // w0
__int64 v8; // x0
__int64 v9; // x8
__int64 v11; // x0
__int64 *v12; // x0
__int64 *v13; // x22
_QWORD *v14; // x24
_QWORD *v15; // x23
__int64 v16; // x0
_QWORD *v17; // x25
__int64 v18; // x0
__int64 v19; // x0
__int64 v20; // x0
__int64 v21; // x0
unsigned int v22; // w21
char *v23; // x0
if ( a4 != 2 )
{
if ( a4 < 1 )
goto LABEL_21;
goto LABEL_16;
}
if ( !(unsigned int)sub_100700B80(a1, a3, 128) )
return 0;
sub_100702BA8(a1, "Private key: ");
v7 = sub_10070FBA8(a2);
if ( v7 == 811 )
{
v8 = sub_10070F9B0((__int64)a2);
if ( !v8 )
{
LABEL_14:
sub_100702BA8(a1, "