//
// sub_10071B398 from 0x10071b398 to 0x10071b4f0 (344 bytes)
//
// 1 xrefs:
// > sub_100717D4C @ 0x100717d88
//
// 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:02 +0000
//
__int64 __fastcall sub_10071B398(__int64 a1, int a2)
{
unsigned __int8 *v3; // x0
unsigned __int8 *v4; // x19
__int64 v5; // x21
__int64 v6; // x22
unsigned __int8 *v7; // x25
unsigned __int8 *i; // x24
unsigned __int8 *v9; // x8
int v10; // w8
int v11; // w8
v3 = (unsigned __int8 *)sub_10072580C(a2, nullptr);
v4 = v3;
v5 = 0;
if ( !v3 )
return v5;
if ( !*v3 )
{
sub_1006AEDAC(v3);
return 1;
}
v6 = (__int64)(v3 + 1);
v7 = v3;
for ( i = v3 + 1; ; i = v9 )
{
v10 = *i;
if ( *i )
{
if ( v10 != 47 )
goto LABEL_16;
if ( (unsigned int)i[1] - 65 > 0x19 )
goto LABEL_4;
v11 = i[2];
if ( v11 != 61 && ((unsigned int)(v11 - 65) > 0x19 || i[3] != 61) )
goto LABEL_4;
}
if ( (unsigned int)sub_100700894(a1, v6, (unsigned int)((_DWORD)i - v6)) != (_DWORD)i - (_DWORD)v6 )
goto LABEL_19;
v6 = (__int64)(i + 1);
if ( *i )
break;
v10 = 0;
LABEL_16:
if ( !v10 )
{
v5 = 1;
goto LABEL_20;
}
LABEL_4:
v9 = v7 + 2;
v7 = i;
}
if ( (unsigned int)sub_100700894(a1, (__int64)", ", 2) == 2 )
{
v10 = *i;
goto LABEL_16;
}
LABEL_19:
sub_100706FB0(11, 117, 7, (__int64)"t_x509.c", 551);
v5 = 0;
LABEL_20:
sub_1006AEDAC(v4);
return v5;
}